Codebase list xrdp / ecee2cb
Update upstream source from tag 'upstream/0.9.21.1' Update to upstream version '0.9.21.1' with Debian dir 016eaa5bd3fe53cbe2a158f1d698ce4308a2aed7 Dominik George 1 year, 4 months ago
133 changed file(s) with 13318 addition(s) and 9428 deletion(s). Raw diff Collapse all Expand all
245245 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
246246 FDKAAC_LIBS = @FDKAAC_LIBS@
247247 FGREP = @FGREP@
248 FILECMD = @FILECMD@
248249 FREERDP_CFLAGS = @FREERDP_CFLAGS@
249250 FREERDP_LIBS = @FREERDP_LIBS@
250251 FUSE_CFLAGS = @FUSE_CFLAGS@
351352 prefix = @prefix@
352353 program_transform_name = @program_transform_name@
353354 psdir = @psdir@
355 runstatedir = @runstatedir@
354356 sbindir = @sbindir@
355357 sharedstatedir = @sharedstatedir@
356358 socketdir = @socketdir@
0 # Release notes for xrdp v0.9.21.1 (2022/12/13)
1
2 This release only includes following fix for packagers. Packagers try to build xrdp on distributions _other than_ Arch Linux, Debian, SUSE, Red Hat(ish), FreeBSD and macOS may be required to use this release.
3
4 ## Changes for packagers or developers
5 * Add missing xrdp-sesman.system to distributed tarball (#2466 #2468)
6
7 -----------------------
8
9 # Release notes for xrdp v0.9.21 (2022/12/10)
10
11 ## General announcements
12 * Running xrdp and xrdp-sesman on separate hosts is still supported by this release, but is now deprecated. This is not secure. A future v1.0 release will replace the TCP socket used between these processes with a Unix Domain Socket, and then cross-host running will not be possible.
13
14 ## Security fixes
15
16 This update is recommended for all xrdp users and provides following important security fixes:
17
18 * [CVE-2022-23468](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23468)
19 * [CVE-2022-23477](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23477)
20 * [CVE-2022-23478](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23478)
21 * [CVE-2022-23479](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23479)
22 * [CVE-2022-23480](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23480)
23 * [CVE-2022-23481](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23481)
24 * [CVE-2022-23483](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23483)
25 * [CVE-2022-23482](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23482)
26 * [CVE-2022-23484](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23484)
27 * [CVE-2022-23493](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23493)
28
29 These security issues are reported by [Team BT5 (BoB 11th)](https://github.com/Team-BT5). We appreciate their great help with making and reviewing patches.
30
31 ## New features
32 * openSuSE Tumbleweed move to /usr/lib/pam.d is now supported in the installation scripts (#2413)
33 * VNC backend session now supports extra mouse buttons 6, 7 and 8 (#2426)
34
35 ## Bug fixes
36 * Passwords are no longer left on the heap in sesman (#1599 #2439)
37 * Set permissions on pcsc socket dir to owner only (#2454 #2460)
38
39 ## Internal changes
40 * CI updates to cope with github upgrades (#2395)
41
42 ## Changes for packagers or developers
43 Nothing this time.
44
45 ## Known issues
46
47 * On-the-fly resolution change requires the Microsoft Store version of Remote Desktop client but sometimes crashes on connect (#1869)
48 * xrdp's login dialog is not relocated at the center of the new resolution after on-the-fly resolution change happens (#1867)
49
50 -----------------------
51
52 # Release notes for xrdp v0.9.20 (2022/09/15)
53
54 ## General announcements
55 * Running xrdp and xrdp-sesman on separate hosts is still supported by this release, but is now deprecated. This is not secure. A future v1.0 release will replace the TCP socket used between these processes with a Unix Domain Socket, and then cross-host running will not be possible.
56
57 ## New features
58 * Mitigation for too fast vertical scroll has been implemented. This is actually not a new feature of xrdp so see also [xorgxrdp v0.9.19 release note](https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.9.19).
59
60 ## Bug fixes
61 * Windows RDS compatibility has been improved, so some old clients (e.g. Wyse Sx0) can now be used again with xrdp in non-TLS mode (#2273)
62 * Update xrdpapi simple example to work with new logging (#2276)
63 * sesman: fix spacing in log (#2282)
64 * Fix MSTSC crashes when resolution is changed by maximizing on a different monitor (#2292 #1928)
65 * Mark count with unused attribute (#2353)
66 * Simple maintenance improvements (#2354)
67
68 ## Internal changes
69 * FreeBSD version for CI bumped to 12-3 (#2226)
70 * cppcheck version used for CI bumped to 2.9 (#2351)
71
72 ## Changes for packagers or developers
73
74 Nothing this time.
75
76 ## Known issues
77
78 * On-the-fly resolution change requires the Microsoft Store version of Remote Desktop client but sometimes crashes on connect (#1869)
79 * xrdp's login dialog is not relocated at the center of the new resolution after on-the-fly resolution change happens (#1867)
80
81 -----------------------
82
083 # Release notes for xrdp v0.9.19 (2022/03/17)
184
285 ## General announcements
246329 * Minor manpage fixes #1611
247330
248331 ## Other changes
249 * CI error fixes
332 * CI error fixes
250333 * Introduce cppcheck
251334
252335 ## Known issues
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'.])])
257257 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
258258 FDKAAC_LIBS = @FDKAAC_LIBS@
259259 FGREP = @FGREP@
260 FILECMD = @FILECMD@
260261 FREERDP_CFLAGS = @FREERDP_CFLAGS@
261262 FREERDP_LIBS = @FREERDP_LIBS@
262263 FUSE_CFLAGS = @FUSE_CFLAGS@
363364 prefix = @prefix@
364365 program_transform_name = @program_transform_name@
365366 psdir = @psdir@
367 runstatedir = @runstatedir@
366368 sbindir = @sbindir@
367369 sharedstatedir = @sharedstatedir@
368370 socketdir = @socketdir@
3131 * Values for invalid and padding characters, used in the charmap
3232 * for converting base64 to binary
3333 *
34 * Thse value are specially chosen to make it easy to detect padding or
34 * These values are specially chosen to make it easy to detect padding or
3535 * invalid characters by or-ing together the values looked up in
3636 * a base64 quantum */
3737 #define E_INVALID 0x40
8080 * @brief Logging macro for messages that are for an XRDP developer to
8181 * understand and debug XRDP code.
8282 *
83 * Note: all log levels are relavant to help a developer understand XRDP at
83 * Note: all log levels are relevant to help a developer understand XRDP at
8484 * different levels of granularity.
8585 *
8686 * Note: the logging function calls are removed when USE_DEVEL_LOGGING is
106106 log_message_with_location(__func__, __FILE__, __LINE__, log_level, args)
107107
108108 /**
109 * @brief Logging macro for messages that are for a systeam administrator to
109 * @brief Logging macro for messages that are for a system administrator to
110110 * configure and run XRDP on their machine.
111111 *
112112 * Note: the logging function calls contain additional code location info when
296296 const enum logLevels override_log_level);
297297
298298 /**
299 * @param function_name, the function name (typicaly the __func__ macro)
300 * @param file_name, the file name (typicaly the __FILE__ macro)
299 * @param function_name, the function name (typically the __func__ macro)
300 * @param file_name, the file name (typically the __FILE__ macro)
301301 * @param[out] log_level_return, the log level to use instead of the destination log level
302302 * @return true if the logger location overrides the destination log levels
303303 */
401401 *
402402 * Please prefer to use the LOG and LOG_DEVEL macros instead of this function directly.
403403 *
404 * @param function_name, the function name (typicaly the __func__ macro)
405 * @param file_name, the file name (typicaly the __FILE__ macro)
406 * @param line_number, the line number in the file (typicaly the __LINE__ macro)
404 * @param function_name, the function name (typically the __func__ macro)
405 * @param file_name, the file name (typically the __FILE__ macro)
406 * @param line_number, the line number in the file (typically the __LINE__ macro)
407407 * @param lvl, the loglevel
408408 * @param msg, the logtext.
409409 * @param ...
2323
2424 /* LicensingMessage (MS-RDPELE 2.2.2) */
2525 /* TODO: to be renamed */
26 #define LICENCE_TAG_DEMAND 0x01 /* LICNSE_REQUEST */
26 #define LICENCE_TAG_DEMAND 0x01 /* LICENSE_REQUEST */
2727 #define LICENCE_TAG_AUTHREQ 0x02 /* PLATFORM_CHALLENGE */
2828 #define LICENCE_TAG_ISSUE 0x03 /* NEW_LICENSE */
2929 #define LICENCE_TAG_REISSUE 0x04 /* UPGRADE_LICENSE */
26942694 g_strnjoin(args_str, ARGS_STR_LEN, " ", (const char **) args, args_len);
26952695
26962696 LOG(LOG_LEVEL_DEBUG,
2697 "Calling exec (excutable: %s, arguments: %s)",
2697 "Calling exec (executable: %s, arguments: %s)",
26982698 p1, args_str);
26992699
27002700 g_rm_temp_dir();
27022702
27032703 /* should not get here */
27042704 LOG(LOG_LEVEL_ERROR,
2705 "Error calling exec (excutable: %s, arguments: %s) "
2705 "Error calling exec (executable: %s, arguments: %s) "
27062706 "returned errno: %d, description: %s",
27072707 p1, args_str, g_get_errno(), g_get_strerror());
27082708
27262726 g_strnjoin(args_str, ARGS_STR_LEN, " ", args, 2);
27272727
27282728 LOG(LOG_LEVEL_DEBUG,
2729 "Calling exec (excutable: %s, arguments: %s)",
2729 "Calling exec (executable: %s, arguments: %s)",
27302730 a1, args_str);
27312731
27322732 g_rm_temp_dir();
27342734
27352735 /* should not get here */
27362736 LOG(LOG_LEVEL_ERROR,
2737 "Error calling exec (excutable: %s, arguments: %s) "
2737 "Error calling exec (executable: %s, arguments: %s) "
27382738 "returned errno: %d, description: %s",
27392739 a1, args_str, g_get_errno(), g_get_strerror());
27402740
16511651 *
16521652 * Side Effects:
16531653 * The passed-in ``region'' may be modified.
1654 * overlap set to TRUE if any retangles overlapped,
1654 * overlap set to TRUE if any rectangles overlapped,
16551655 * else FALSE;
16561656 *
16571657 * Strategy:
336336 #else
337337 if (sha1_info != NULL)
338338 {
339 EVP_DigestInit_ex(sha1_info, g_md_sha1, NULL);
339 EVP_DigestInit_ex((EVP_MD_CTX *)sha1_info, g_md_sha1, NULL);
340340 }
341341 #endif
342342 }
416416 #else
417417 if (md5_info != NULL)
418418 {
419 EVP_DigestInit_ex(md5_info, g_md_md5, NULL);
419 EVP_DigestInit_ex((EVP_MD_CTX *)md5_info, g_md_md5, NULL);
420420 }
421421 #endif
422422 }
2626 * Map a character to a string value
2727 *
2828 * This structure is used by g_format_info_string() to specify the
29 * string which chould be output for %'ch', where ch is a character
29 * string which could be output for %'ch', where ch is a character
3030 */
3131 struct info_string_tag
3232 {
116116 * @param[in] src An array of strings to join. The array must be non-null.
117117 * Array items may be NULL and are processed as zero length strings.
118118 * @param[in] src_len The number of strings to join in the src array. Must be > 0
119 * @return A pointer to the begining of the joined string (ie. returns dest).
119 * @return A pointer to the beginning of the joined string (ie. returns dest).
120120 */
121121 char *
122122 g_strnjoin(char *dest, int dest_len, const char *joiner, const char *src[], int src_len);
296296 tbus in_sck = (tbus) 0;
297297 struct trans *in_trans = (struct trans *) NULL;
298298 int read_bytes = 0;
299 int to_read = 0;
300 int read_so_far = 0;
299 unsigned int to_read = 0;
300 unsigned int read_so_far = 0;
301301 int rv = 0;
302302 enum xrdp_source cur_source;
303303
368368 }
369369 else if (self->trans_can_recv(self, self->sck, 0))
370370 {
371 /* CVE-2022-23479 - check a malicious caller hasn't managed
372 * to set the header_size to an unreasonable value */
373 if (self->header_size > (unsigned int)self->in_s->size)
374 {
375 LOG(LOG_LEVEL_ERROR,
376 "trans_check_wait_objs: Reading %u bytes beyond buffer",
377 self->header_size - (unsigned int)self->in_s->size);
378 self->status = TRANS_STATUS_DOWN;
379 return 1;
380 }
381
371382 cur_source = XRDP_SOURCE_NONE;
372383 if (self->si != 0)
373384 {
374385 cur_source = self->si->cur_source;
375386 self->si->cur_source = self->my_source;
376387 }
377 read_so_far = (int) (self->in_s->end - self->in_s->data);
388 read_so_far = self->in_s->end - self->in_s->data;
378389 to_read = self->header_size - read_so_far;
379390
380391 if (to_read > 0)
414425 }
415426 }
416427
417 read_so_far = (int) (self->in_s->end - self->in_s->data);
428 read_so_far = self->in_s->end - self->in_s->data;
418429
419430 if (read_so_far == self->header_size)
420431 {
6868 * While input is being read from a 'struct trans' and processed, the
6969 * cur_source member is set to the my_source member from the transport.
7070 * During this processing, trans_write_copy() may be called to send output
71 * on another struct trans. If this happens, and the ouput needs to be
71 * on another struct trans. If this happens, and the output needs to be
7272 * buffered, trans_write_copy() can add the number of bytes generated by
7373 * the input trans to the source field for the cur_source. This allows us to
7474 * see how much output has been buffered for each input source.
9797 ttrans_data_in trans_data_in;
9898 ttrans_conn_in trans_conn_in;
9999 void *callback_data;
100 int header_size;
100 unsigned int header_size;
101101 struct stream *in_s;
102102 struct stream *out_s;
103103 char *listen_filename;
2828 *
2929 * xrdp constants
3030 *
31 * Constants defined in publically available Microsoft documents are not
31 * Constants defined in publicly available Microsoft documents are not
3232 * stored here, but are stored in the include files ms-*.h, where the name
3333 * of the file is the name of the document defining the constant.
3434 *
1717 /* Define to 1 if you have the <linux/vm_sockets.h> header file. */
1818 #undef HAVE_LINUX_VM_SOCKETS_H
1919
20 /* Define to 1 if you have the <memory.h> header file. */
21 #undef HAVE_MEMORY_H
22
2320 /* Using OpenPAM */
2421 #undef HAVE_PAM_CONSTANTS_H
2522
2623 /* Define to 1 if you have the <stdint.h> header file. */
2724 #undef HAVE_STDINT_H
25
26 /* Define to 1 if you have the <stdio.h> header file. */
27 #undef HAVE_STDIO_H
2828
2929 /* Define to 1 if you have the <stdlib.h> header file. */
3030 #undef HAVE_STDLIB_H
7474 /* Define to the version of this package. */
7575 #undef PACKAGE_VERSION
7676
77 /* Define to 1 if you have the ANSI C header files. */
77 /* Define to 1 if all of the C90 standard headers exist (not just the ones
78 required in a freestanding environment). This macro is provided for
79 backward compatibility; new code need not use it. */
7880 #undef STDC_HEADERS
7981
8082 /* Enable development logging */
+3884
-2997
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for xrdp 0.9.19.
2 # Generated by GNU Autoconf 2.71 for xrdp 0.9.21.1.
33 #
44 # Report bugs to <xrdp-devel@googlegroups.com>.
55 #
66 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8 # Inc.
89 #
910 #
1011 # This configure script is free software; the Free Software Foundation
1516
1617 # Be more Bourne compatible
1718 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 as_nop=:
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
1922 emulate sh
2023 NULLCMD=:
2124 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2225 # is contrary to our usage. Disable this feature.
2326 alias -g '${1+"$@"}'='"$@"'
2427 setopt NO_GLOB_SUBST
25 else
28 else $as_nop
2629 case `(set -o) 2>/dev/null` in #(
2730 *posix*) :
2831 set -o posix ;; #(
3235 fi
3336
3437
38
39 # Reset variables that may have inherited troublesome values from
40 # the environment.
41
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
3546 as_nl='
3647 '
3748 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
49 IFS=" "" $as_nl"
50
51 PS1='$ '
52 PS2='> '
53 PS4='+ '
54
55 # Ensure predictable behavior from utilities with locale-dependent output.
56 LC_ALL=C
57 export LC_ALL
58 LANGUAGE=C
59 export LANGUAGE
60
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69 done
70
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7275
7376 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
77 if ${PATH_SEPARATOR+false} :; then
7578 PATH_SEPARATOR=:
7679 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7982 }
8083 fi
8184
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
8985
9086 # Find who we are. Look in the path if we contain no directory separator.
9187 as_myself=
9591 for as_dir in $PATH
9692 do
9793 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94 case $as_dir in #(((
95 '') as_dir=./ ;;
96 */) ;;
97 *) as_dir=$as_dir/ ;;
98 esac
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100100 done
101101 IFS=$as_save_IFS
102102
108108 as_myself=$0
109109 fi
110110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112112 exit 1
113113 fi
114114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135115
136116 # Use a proper internal environment variable to ensure we don't fall
137117 # into an infinite loop, continuously re-executing ourselves.
153133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154134 # Admittedly, this is quite paranoid, since all the known shells bail
155135 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137 exit 255
158138 fi
159139 # We don't want this to propagate to other subprocesses.
160140 { _as_can_reexec=; unset _as_can_reexec;}
161141 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
163145 emulate sh
164146 NULLCMD=:
165147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166148 # is contrary to our usage. Disable this feature.
167149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168150 setopt NO_GLOB_SUBST
169 else
151 else \$as_nop
170152 case \`(set -o) 2>/dev/null\` in #(
171153 *posix*) :
172154 set -o posix ;; #(
186168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172 then :
173
174 else \$as_nop
192175 exitcode=1; echo positional parameters were not saved.
193176 fi
194177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
195180 test -x / || exit 1"
196181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
206191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
208193 test \$(( 1 + 1 )) = 2 || exit 1"
209 if (eval "$as_required") 2>/dev/null; then :
194 if (eval "$as_required") 2>/dev/null
195 then :
210196 as_have_required=yes
211 else
197 else $as_nop
212198 as_have_required=no
213199 fi
214 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215
216 else
200 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
201 then :
202
203 else $as_nop
217204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218205 as_found=false
219206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220207 do
221208 IFS=$as_save_IFS
222 test -z "$as_dir" && as_dir=.
209 case $as_dir in #(((
210 '') as_dir=./ ;;
211 */) ;;
212 *) as_dir=$as_dir/ ;;
213 esac
223214 as_found=:
224215 case $as_dir in #(
225216 /*)
226217 for as_base in sh bash ksh sh5; do
227218 # Try only shells that exist, to save several forks.
228 as_shell=$as_dir/$as_base
219 as_shell=$as_dir$as_base
229220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
230 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
222 then :
231223 CONFIG_SHELL=$as_shell as_have_required=yes
232 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
225 then :
233226 break 2
234227 fi
235228 fi
237230 esac
238231 as_found=false
239232 done
240 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 IFS=$as_save_IFS
234 if $as_found
235 then :
236
237 else $as_nop
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
240 then :
242241 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi; }
244 IFS=$as_save_IFS
245
246
247 if test "x$CONFIG_SHELL" != x; then :
242 fi
243 fi
244
245
246 if test "x$CONFIG_SHELL" != x
247 then :
248248 export CONFIG_SHELL
249249 # We cannot yet assume a decent shell, so we have to provide a
250250 # neutralization value for shells without unset; and this also
262262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263263 # Admittedly, this is quite paranoid, since all the known shells bail
264264 # out after a failed `exec'.
265 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
266266 exit 255
267267 fi
268268
269 if test x$as_have_required = xno; then :
270 $as_echo "$0: This script requires a shell more modern than all"
271 $as_echo "$0: the shells that I found on your system."
272 if test x${ZSH_VERSION+set} = xset ; then
273 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 if test x$as_have_required = xno
270 then :
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
275276 else
276 $as_echo "$0: Please tell bug-autoconf@gnu.org and
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
277278 $0: xrdp-devel@googlegroups.com about your system,
278279 $0: including any error possibly output before this
279280 $0: message. Then install a modern shell, or manually run
301302 }
302303 as_unset=as_fn_unset
303304
305
304306 # as_fn_set_status STATUS
305307 # -----------------------
306308 # Set $? to STATUS, without forking.
318320 as_fn_set_status $1
319321 exit $1
320322 } # as_fn_exit
323 # as_fn_nop
324 # ---------
325 # Do nothing but, unlike ":", preserve the value of $?.
326 as_fn_nop ()
327 {
328 return $?
329 }
330 as_nop=as_fn_nop
321331
322332 # as_fn_mkdir_p
323333 # -------------
332342 as_dirs=
333343 while :; do
334344 case $as_dir in #(
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
345 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336346 *) as_qdir=$as_dir;;
337347 esac
338348 as_dirs="'$as_qdir' $as_dirs"
341351 X"$as_dir" : 'X\(//\)[^/]' \| \
342352 X"$as_dir" : 'X\(//\)$' \| \
343353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
354 printf "%s\n" X"$as_dir" |
345355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346356 s//\1/
347357 q
380390 # advantage of any shell optimizations that allow amortized linear growth over
381391 # repeated appends, instead of the typical quadratic growth present in naive
382392 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
394 then :
384395 eval 'as_fn_append ()
385396 {
386397 eval $1+=\$2
387398 }'
388 else
399 else $as_nop
389400 as_fn_append ()
390401 {
391402 eval $1=\$$1\$2
397408 # Perform arithmetic evaluation on the ARGs, and store the result in the
398409 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399410 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 then :
401413 eval 'as_fn_arith ()
402414 {
403415 as_val=$(( $* ))
404416 }'
405 else
417 else $as_nop
406418 as_fn_arith ()
407419 {
408420 as_val=`expr "$@" || test $? -eq 1`
409421 }
410422 fi # as_fn_arith
411423
424 # as_fn_nop
425 # ---------
426 # Do nothing but, unlike ":", preserve the value of $?.
427 as_fn_nop ()
428 {
429 return $?
430 }
431 as_nop=as_fn_nop
412432
413433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414434 # ----------------------------------------
420440 as_status=$1; test $as_status -eq 0 && as_status=1
421441 if test "$4"; then
422442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424444 fi
425 $as_echo "$as_me: error: $2" >&2
445 printf "%s\n" "$as_me: error: $2" >&2
426446 as_fn_exit $as_status
427447 } # as_fn_error
428448
449469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450470 X"$0" : 'X\(//\)$' \| \
451471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
472 printf "%s\n" X/"$0" |
453473 sed '/^.*\/\([^/][^/]*\)\/*$/{
454474 s//\1/
455475 q
493513 s/-\n.*//
494514 ' >$as_me.lineno &&
495515 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497517
498518 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499519 # already done that, so ensure we don't try to do so again and fall
507527 exit
508528 }
509529
530
531 # Determine whether it's possible to make 'echo' print without a newline.
532 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
533 # for compatibility with existing Makefiles.
510534 ECHO_C= ECHO_N= ECHO_T=
511535 case `echo -n x` in #(((((
512536 -n*)
519543 *)
520544 ECHO_N='-n';;
521545 esac
546
547 # For backward compatibility with old third-party macros, we provide
548 # the shell variables $as_echo and $as_echo_n. New code should use
549 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
550 as_echo='printf %s\n'
551 as_echo_n='printf %s'
552
522553
523554 rm -f conf$$ conf$$.exe conf$$.file
524555 if test -d conf$$.dir; then
589620 # Identity of this package.
590621 PACKAGE_NAME='xrdp'
591622 PACKAGE_TARNAME='xrdp'
592 PACKAGE_VERSION='0.9.19'
593 PACKAGE_STRING='xrdp 0.9.19'
623 PACKAGE_VERSION='0.9.21.1'
624 PACKAGE_STRING='xrdp 0.9.21.1'
594625 PACKAGE_BUGREPORT='xrdp-devel@googlegroups.com'
595626 PACKAGE_URL=''
596627
597628 # Factoring default headers for most tests.
598629 ac_includes_default="\
599 #include <stdio.h>
600 #ifdef HAVE_SYS_TYPES_H
601 # include <sys/types.h>
630 #include <stddef.h>
631 #ifdef HAVE_STDIO_H
632 # include <stdio.h>
602633 #endif
603 #ifdef HAVE_SYS_STAT_H
604 # include <sys/stat.h>
605 #endif
606 #ifdef STDC_HEADERS
634 #ifdef HAVE_STDLIB_H
607635 # include <stdlib.h>
608 # include <stddef.h>
609 #else
610 # ifdef HAVE_STDLIB_H
611 # include <stdlib.h>
612 # endif
613636 #endif
614637 #ifdef HAVE_STRING_H
615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
616 # include <memory.h>
617 # endif
618638 # include <string.h>
619 #endif
620 #ifdef HAVE_STRINGS_H
621 # include <strings.h>
622639 #endif
623640 #ifdef HAVE_INTTYPES_H
624641 # include <inttypes.h>
626643 #ifdef HAVE_STDINT_H
627644 # include <stdint.h>
628645 #endif
646 #ifdef HAVE_STRINGS_H
647 # include <strings.h>
648 #endif
649 #ifdef HAVE_SYS_TYPES_H
650 # include <sys/types.h>
651 #endif
652 #ifdef HAVE_SYS_STAT_H
653 # include <sys/stat.h>
654 #endif
629655 #ifdef HAVE_UNISTD_H
630656 # include <unistd.h>
631657 #endif"
632658
659 ac_header_c_list=
633660 enable_option_checking=no
634661 ac_subst_vars='am__EXEEXT_FALSE
635662 am__EXEEXT_TRUE
643670 X_LIBS
644671 X_PRE_LIBS
645672 X_CFLAGS
673 CPP
646674 XMKMF
647675 TurboJpegLibDir
648676 TurboJpegIncDir
713741 PKG_CONFIG_LIBDIR
714742 PKG_CONFIG_PATH
715743 PKG_CONFIG
716 CPP
717744 LT_SYS_LIBRARY_PATH
718745 OTOOL64
719746 OTOOL
726753 AR
727754 DLLTOOL
728755 OBJDUMP
756 FILECMD
729757 LN_S
730758 NM
731759 ac_ct_DUMPBIN
809837 docdir
810838 oldincludedir
811839 includedir
840 runstatedir
812841 localstatedir
813842 sharedstatedir
814843 sysconfdir
884913 LIBS
885914 CPPFLAGS
886915 LT_SYS_LIBRARY_PATH
887 CPP
888916 PKG_CONFIG
889917 PKG_CONFIG_PATH
890918 PKG_CONFIG_LIBDIR
901929 PIXMAN_CFLAGS
902930 PIXMAN_LIBS
903931 XMKMF
932 CPP
904933 CHECK_CFLAGS
905934 CHECK_LIBS'
906935 ac_subdirs_all='libpainter librfxcodec'
941970 sysconfdir='${prefix}/etc'
942971 sharedstatedir='${prefix}/com'
943972 localstatedir='${prefix}/var'
973 runstatedir='${localstatedir}/run'
944974 includedir='${prefix}/include'
945975 oldincludedir='/usr/include'
946976 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
9701000 *) ac_optarg=yes ;;
9711001 esac
9721002
973 # Accept the important Cygnus configure options, so we can diagnose typos.
974
9751003 case $ac_dashdash$ac_option in
9761004 --)
9771005 ac_dashdash=yes ;;
10121040 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10131041 # Reject names that are not valid shell variable names.
10141042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid feature name: $ac_useropt"
1043 as_fn_error $? "invalid feature name: \`$ac_useropt'"
10161044 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10181046 case $ac_user_opts in
10191047 *"
10201048 "enable_$ac_useropt"
10381066 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10391067 # Reject names that are not valid shell variable names.
10401068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid feature name: $ac_useropt"
1069 as_fn_error $? "invalid feature name: \`$ac_useropt'"
10421070 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10441072 case $ac_user_opts in
10451073 *"
10461074 "enable_$ac_useropt"
11931221 | -silent | --silent | --silen | --sile | --sil)
11941222 silent=yes ;;
11951223
1224 -runstatedir | --runstatedir | --runstatedi | --runstated \
1225 | --runstate | --runstat | --runsta | --runst | --runs \
1226 | --run | --ru | --r)
1227 ac_prev=runstatedir ;;
1228 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1229 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1230 | --run=* | --ru=* | --r=*)
1231 runstatedir=$ac_optarg ;;
1232
11961233 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11971234 ac_prev=sbindir ;;
11981235 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
12421279 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12431280 # Reject names that are not valid shell variable names.
12441281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 as_fn_error $? "invalid package name: $ac_useropt"
1282 as_fn_error $? "invalid package name: \`$ac_useropt'"
12461283 ac_useropt_orig=$ac_useropt
1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
12481285 case $ac_user_opts in
12491286 *"
12501287 "with_$ac_useropt"
12581295 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12591296 # Reject names that are not valid shell variable names.
12601297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error $? "invalid package name: $ac_useropt"
1298 as_fn_error $? "invalid package name: \`$ac_useropt'"
12621299 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
12641301 case $ac_user_opts in
12651302 *"
12661303 "with_$ac_useropt"
13041341
13051342 *)
13061343 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1344 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
13081345 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1346 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
13101347 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
13111348 ;;
13121349
13221359 case $enable_option_checking in
13231360 no) ;;
13241361 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
13261363 esac
13271364 fi
13281365
13301367 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
13311368 datadir sysconfdir sharedstatedir localstatedir includedir \
13321369 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1370 libdir localedir mandir runstatedir
13341371 do
13351372 eval ac_val=\$$ac_var
13361373 # Remove trailing slashes.
13861423 X"$as_myself" : 'X\(//\)[^/]' \| \
13871424 X"$as_myself" : 'X\(//\)$' \| \
13881425 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1426 printf "%s\n" X"$as_myself" |
13901427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13911428 s//\1/
13921429 q
14431480 # Omit some internal or obsolete options to make the list less imposing.
14441481 # This message is too long to be a string in the A/UX 3.1 sh.
14451482 cat <<_ACEOF
1446 \`configure' configures xrdp 0.9.19 to adapt to many kinds of systems.
1483 \`configure' configures xrdp 0.9.21.1 to adapt to many kinds of systems.
14471484
14481485 Usage: $0 [OPTION]... [VAR=VALUE]...
14491486
14831520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
14841521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
14851522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
14861524 --libdir=DIR object code libraries [EPREFIX/lib]
14871525 --includedir=DIR C header files [PREFIX/include]
14881526 --oldincludedir=DIR C header files for non-gcc [/usr/include]
15171555
15181556 if test -n "$ac_init_help"; then
15191557 case $ac_init_help in
1520 short | recursive ) echo "Configuration of xrdp 0.9.19:";;
1558 short | recursive ) echo "Configuration of xrdp 0.9.21.1:";;
15211559 esac
15221560 cat <<\_ACEOF
15231561
16051643 you have headers in a nonstandard directory <include dir>
16061644 LT_SYS_LIBRARY_PATH
16071645 User-defined run-time library search path.
1608 CPP C preprocessor
16091646 PKG_CONFIG path to pkg-config utility
16101647 PKG_CONFIG_PATH
16111648 directories to add to pkg-config's search path
16311668 C compiler flags for PIXMAN, overriding pkg-config
16321669 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
16331670 XMKMF Path to xmkmf, Makefile generator for X Window System
1671 CPP C preprocessor
16341672 CHECK_CFLAGS
16351673 C compiler flags for CHECK, overriding pkg-config
16361674 CHECK_LIBS linker flags for CHECK, overriding pkg-config
16541692 case "$ac_dir" in
16551693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16561694 *)
1657 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1695 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
16581696 # A ".." for each directory in $ac_dir_suffix.
1659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1697 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16601698 case $ac_top_builddir_sub in
16611699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16621700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16841722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16851723
16861724 cd "$ac_dir" || { ac_status=$?; continue; }
1687 # Check for guested configure.
1725 # Check for configure.gnu first; this name is used for a wrapper for
1726 # Metaconfig's "Configure" on case-insensitive file systems.
16881727 if test -f "$ac_srcdir/configure.gnu"; then
16891728 echo &&
16901729 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
16921731 echo &&
16931732 $SHELL "$ac_srcdir/configure" --help=recursive
16941733 else
1695 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1734 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
16961735 fi || ac_status=$?
16971736 cd "$ac_pwd" || { ac_status=$?; break; }
16981737 done
17011740 test -n "$ac_init_help" && exit $ac_status
17021741 if $ac_init_version; then
17031742 cat <<\_ACEOF
1704 xrdp configure 0.9.19
1705 generated by GNU Autoconf 2.69
1706
1707 Copyright (C) 2012 Free Software Foundation, Inc.
1743 xrdp configure 0.9.21.1
1744 generated by GNU Autoconf 2.71
1745
1746 Copyright (C) 2021 Free Software Foundation, Inc.
17081747 This configure script is free software; the Free Software Foundation
17091748 gives unlimited permission to copy, distribute and modify it.
17101749 _ACEOF
17211760 ac_fn_c_try_compile ()
17221761 {
17231762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext
1763 rm -f conftest.$ac_objext conftest.beam
17251764 if { { ac_try="$ac_compile"
17261765 case "(($ac_try" in
17271766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281767 *) ac_try_echo=$ac_try;;
17291768 esac
17301769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1770 printf "%s\n" "$ac_try_echo"; } >&5
17321771 (eval "$ac_compile") 2>conftest.err
17331772 ac_status=$?
17341773 if test -s conftest.err; then
17361775 cat conftest.er1 >&5
17371776 mv -f conftest.er1 conftest.err
17381777 fi
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17401779 test $ac_status = 0; } && {
17411780 test -z "$ac_c_werror_flag" ||
17421781 test ! -s conftest.err
1743 } && test -s conftest.$ac_objext; then :
1782 } && test -s conftest.$ac_objext
1783 then :
17441784 ac_retval=0
1745 else
1746 $as_echo "$as_me: failed program was:" >&5
1785 else $as_nop
1786 printf "%s\n" "$as_me: failed program was:" >&5
17471787 sed 's/^/| /' conftest.$ac_ext >&5
17481788
17491789 ac_retval=1
17591799 ac_fn_c_try_link ()
17601800 {
17611801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 rm -f conftest.$ac_objext conftest$ac_exeext
1802 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
17631803 if { { ac_try="$ac_link"
17641804 case "(($ac_try" in
17651805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661806 *) ac_try_echo=$ac_try;;
17671807 esac
17681808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1809 printf "%s\n" "$ac_try_echo"; } >&5
17701810 (eval "$ac_link") 2>conftest.err
17711811 ac_status=$?
17721812 if test -s conftest.err; then
17741814 cat conftest.er1 >&5
17751815 mv -f conftest.er1 conftest.err
17761816 fi
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17781818 test $ac_status = 0; } && {
17791819 test -z "$ac_c_werror_flag" ||
17801820 test ! -s conftest.err
17811821 } && test -s conftest$ac_exeext && {
17821822 test "$cross_compiling" = yes ||
17831823 test -x conftest$ac_exeext
1784 }; then :
1824 }
1825 then :
17851826 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1827 else $as_nop
1828 printf "%s\n" "$as_me: failed program was:" >&5
17881829 sed 's/^/| /' conftest.$ac_ext >&5
17891830
17901831 ac_retval=1
18061847 ac_fn_c_check_header_compile ()
18071848 {
18081849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval \${$3+:} false; then :
1812 $as_echo_n "(cached) " >&6
1813 else
1850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 printf %s "checking for $2... " >&6; }
1852 if eval test \${$3+y}
1853 then :
1854 printf %s "(cached) " >&6
1855 else $as_nop
18141856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151857 /* end confdefs.h. */
18161858 $4
18171859 #include <$2>
18181860 _ACEOF
1819 if ac_fn_c_try_compile "$LINENO"; then :
1861 if ac_fn_c_try_compile "$LINENO"
1862 then :
18201863 eval "$3=yes"
1821 else
1864 else $as_nop
18221865 eval "$3=no"
18231866 fi
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18251868 fi
18261869 eval ac_res=\$$3
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 printf "%s\n" "$ac_res" >&6; }
18291872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18301873
18311874 } # ac_fn_c_check_header_compile
1832
1833 # ac_fn_c_try_cpp LINENO
1834 # ----------------------
1835 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_c_try_cpp ()
1837 {
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 if { { ac_try="$ac_cpp conftest.$ac_ext"
1840 case "(($ac_try" in
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1847 ac_status=$?
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1852 fi
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } > conftest.i && {
1855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 }; then :
1858 ac_retval=0
1859 else
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863 ac_retval=1
1864 fi
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1867
1868 } # ac_fn_c_try_cpp
1869
1870 # ac_fn_c_try_run LINENO
1871 # ----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1873 # that executables *can* be run.
1874 ac_fn_c_try_run ()
1875 {
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 if { { ac_try="$ac_link"
1878 case "(($ac_try" in
1879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1881 esac
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>&5
1885 ac_status=$?
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1888 { { case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_try") 2>&5
1895 ac_status=$?
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; }; }; then :
1898 ac_retval=0
1899 else
1900 $as_echo "$as_me: program exited with status $ac_status" >&5
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904 ac_retval=$ac_status
1905 fi
1906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 as_fn_set_status $ac_retval
1909
1910 } # ac_fn_c_try_run
19111875
19121876 # ac_fn_c_check_func LINENO FUNC VAR
19131877 # ----------------------------------
19151879 ac_fn_c_check_func ()
19161880 {
19171881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if eval \${$3+:} false; then :
1921 $as_echo_n "(cached) " >&6
1922 else
1882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 printf %s "checking for $2... " >&6; }
1884 if eval test \${$3+y}
1885 then :
1886 printf %s "(cached) " >&6
1887 else $as_nop
19231888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241889 /* end confdefs.h. */
19251890 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
19271892 #define $2 innocuous_$2
19281893
19291894 /* System header to define __stub macros and hopefully few prototypes,
1930 which can conflict with char $2 (); below.
1931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1932 <limits.h> exists even on freestanding compilers. */
1933
1934 #ifdef __STDC__
1935 # include <limits.h>
1936 #else
1937 # include <assert.h>
1938 #endif
1939
1895 which can conflict with char $2 (); below. */
1896
1897 #include <limits.h>
19401898 #undef $2
19411899
19421900 /* Override any GCC internal prototype to avoid an error.
19541912 #endif
19551913
19561914 int
1957 main ()
1915 main (void)
19581916 {
19591917 return $2 ();
19601918 ;
19611919 return 0;
19621920 }
19631921 _ACEOF
1964 if ac_fn_c_try_link "$LINENO"; then :
1922 if ac_fn_c_try_link "$LINENO"
1923 then :
19651924 eval "$3=yes"
1966 else
1925 else $as_nop
19671926 eval "$3=no"
19681927 fi
1969 rm -f core conftest.err conftest.$ac_objext \
1928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19701929 conftest$ac_exeext conftest.$ac_ext
19711930 fi
19721931 eval ac_res=\$$3
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 printf "%s\n" "$ac_res" >&6; }
19751934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19761935
19771936 } # ac_fn_c_check_func
19781937
1979 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1980 # -------------------------------------------------------
1981 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1982 # the include files in INCLUDES and setting the cache variable VAR
1983 # accordingly.
1984 ac_fn_c_check_header_mongrel ()
1938 # ac_fn_c_try_cpp LINENO
1939 # ----------------------
1940 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_c_try_cpp ()
19851942 {
19861943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if eval \${$3+:} false; then :
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991 $as_echo_n "(cached) " >&6
1992 fi
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 else
1997 # Is the header compilable?
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1999 $as_echo_n "checking $2 usability... " >&6; }
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2002 $4
2003 #include <$2>
2004 _ACEOF
2005 if ac_fn_c_try_compile "$LINENO"; then :
2006 ac_header_compiler=yes
2007 else
2008 ac_header_compiler=no
2009 fi
2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2012 $as_echo "$ac_header_compiler" >&6; }
2013
2014 # Is the header present?
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2016 $as_echo_n "checking $2 presence... " >&6; }
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2019 #include <$2>
2020 _ACEOF
2021 if ac_fn_c_try_cpp "$LINENO"; then :
2022 ac_header_preproc=yes
2023 else
2024 ac_header_preproc=no
2025 fi
2026 rm -f conftest.err conftest.i conftest.$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2028 $as_echo "$ac_header_preproc" >&6; }
2029
2030 # So? What about this header?
2031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2032 yes:no: )
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2034 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037 ;;
2038 no:yes:* )
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2040 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2042 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2044 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2046 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049 ( $as_echo "## ------------------------------------------ ##
2050 ## Report this to xrdp-devel@googlegroups.com ##
2051 ## ------------------------------------------ ##"
2052 ) | sed "s/^/$as_me: WARNING: /" >&2
2053 ;;
1944 if { { ac_try="$ac_cpp conftest.$ac_ext"
1945 case "(($ac_try" in
1946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
20541948 esac
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2059 else
2060 eval "$3=\$ac_header_compiler"
2061 fi
2062 eval ac_res=\$$3
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064 $as_echo "$ac_res" >&6; }
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 printf "%s\n" "$ac_try_echo"; } >&5
1951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1952 ac_status=$?
1953 if test -s conftest.err; then
1954 grep -v '^ *+' conftest.err >conftest.er1
1955 cat conftest.er1 >&5
1956 mv -f conftest.er1 conftest.err
1957 fi
1958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } > conftest.i && {
1960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1961 test ! -s conftest.err
1962 }
1963 then :
1964 ac_retval=0
1965 else $as_nop
1966 printf "%s\n" "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969 ac_retval=1
20651970 fi
20661971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067
2068 } # ac_fn_c_check_header_mongrel
1972 as_fn_set_status $ac_retval
1973
1974 } # ac_fn_c_try_cpp
1975 ac_configure_args_raw=
1976 for ac_arg
1977 do
1978 case $ac_arg in
1979 *\'*)
1980 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1981 esac
1982 as_fn_append ac_configure_args_raw " '$ac_arg'"
1983 done
1984
1985 case $ac_configure_args_raw in
1986 *$as_nl*)
1987 ac_safe_unquote= ;;
1988 *)
1989 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1990 ac_unsafe_a="$ac_unsafe_z#~"
1991 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1992 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1993 esac
1994
20691995 cat >config.log <<_ACEOF
20701996 This file contains any messages produced by compilers while
20711997 running configure, to aid debugging if configure makes a mistake.
20721998
2073 It was created by xrdp $as_me 0.9.19, which was
2074 generated by GNU Autoconf 2.69. Invocation command line was
2075
2076 $ $0 $@
1999 It was created by xrdp $as_me 0.9.21.1, which was
2000 generated by GNU Autoconf 2.71. Invocation command line was
2001
2002 $ $0$ac_configure_args_raw
20772003
20782004 _ACEOF
20792005 exec 5>>config.log
21062032 for as_dir in $PATH
21072033 do
21082034 IFS=$as_save_IFS
2109 test -z "$as_dir" && as_dir=.
2110 $as_echo "PATH: $as_dir"
2035 case $as_dir in #(((
2036 '') as_dir=./ ;;
2037 */) ;;
2038 *) as_dir=$as_dir/ ;;
2039 esac
2040 printf "%s\n" "PATH: $as_dir"
21112041 done
21122042 IFS=$as_save_IFS
21132043
21422072 | -silent | --silent | --silen | --sile | --sil)
21432073 continue ;;
21442074 *\'*)
2145 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21462076 esac
21472077 case $ac_pass in
21482078 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
21772107 # WARNING: Use '\'' to represent an apostrophe within the trap.
21782108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
21792109 trap 'exit_status=$?
2110 # Sanitize IFS.
2111 IFS=" "" $as_nl"
21802112 # Save into config.log some information that might help in debugging.
21812113 {
21822114 echo
21832115
2184 $as_echo "## ---------------- ##
2116 printf "%s\n" "## ---------------- ##
21852117 ## Cache variables. ##
21862118 ## ---------------- ##"
21872119 echo
21922124 case $ac_val in #(
21932125 *${as_nl}*)
21942126 case $ac_var in #(
2195 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2127 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2128 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21972129 esac
21982130 case $ac_var in #(
21992131 _ | IFS | as_nl) ;; #(
22172149 )
22182150 echo
22192151
2220 $as_echo "## ----------------- ##
2152 printf "%s\n" "## ----------------- ##
22212153 ## Output variables. ##
22222154 ## ----------------- ##"
22232155 echo
22252157 do
22262158 eval ac_val=\$$ac_var
22272159 case $ac_val in
2228 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22292161 esac
2230 $as_echo "$ac_var='\''$ac_val'\''"
2162 printf "%s\n" "$ac_var='\''$ac_val'\''"
22312163 done | sort
22322164 echo
22332165
22342166 if test -n "$ac_subst_files"; then
2235 $as_echo "## ------------------- ##
2167 printf "%s\n" "## ------------------- ##
22362168 ## File substitutions. ##
22372169 ## ------------------- ##"
22382170 echo
22402172 do
22412173 eval ac_val=\$$ac_var
22422174 case $ac_val in
2243 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22442176 esac
2245 $as_echo "$ac_var='\''$ac_val'\''"
2177 printf "%s\n" "$ac_var='\''$ac_val'\''"
22462178 done | sort
22472179 echo
22482180 fi
22492181
22502182 if test -s confdefs.h; then
2251 $as_echo "## ----------- ##
2183 printf "%s\n" "## ----------- ##
22522184 ## confdefs.h. ##
22532185 ## ----------- ##"
22542186 echo
22562188 echo
22572189 fi
22582190 test "$ac_signal" != 0 &&
2259 $as_echo "$as_me: caught signal $ac_signal"
2260 $as_echo "$as_me: exit $exit_status"
2191 printf "%s\n" "$as_me: caught signal $ac_signal"
2192 printf "%s\n" "$as_me: exit $exit_status"
22612193 } >&5
22622194 rm -f core *.core core.conftest.* &&
22632195 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
22712203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
22722204 rm -f -r conftest* confdefs.h
22732205
2274 $as_echo "/* confdefs.h */" > confdefs.h
2206 printf "%s\n" "/* confdefs.h */" > confdefs.h
22752207
22762208 # Predefined preprocessor variables.
22772209
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_STRING "$PACKAGE_STRING"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_URL "$PACKAGE_URL"
2300 _ACEOF
2210 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2211
2212 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2213
2214 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2215
2216 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2217
2218 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2219
2220 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
23012221
23022222
23032223 # Let the site file select an alternate cache file if it wants to.
23042224 # Prefer an explicitly selected file to automatically selected ones.
2305 ac_site_file1=NONE
2306 ac_site_file2=NONE
23072225 if test -n "$CONFIG_SITE"; then
2308 # We do not want a PATH search for config.site.
2309 case $CONFIG_SITE in #((
2310 -*) ac_site_file1=./$CONFIG_SITE;;
2311 */*) ac_site_file1=$CONFIG_SITE;;
2312 *) ac_site_file1=./$CONFIG_SITE;;
2313 esac
2226 ac_site_files="$CONFIG_SITE"
23142227 elif test "x$prefix" != xNONE; then
2315 ac_site_file1=$prefix/share/config.site
2316 ac_site_file2=$prefix/etc/config.site
2317 else
2318 ac_site_file1=$ac_default_prefix/share/config.site
2319 ac_site_file2=$ac_default_prefix/etc/config.site
2320 fi
2321 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2228 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2229 else
2230 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2231 fi
2232
2233 for ac_site_file in $ac_site_files
23222234 do
2323 test "x$ac_site_file" = xNONE && continue
2324 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2326 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2235 case $ac_site_file in #(
2236 */*) :
2237 ;; #(
2238 *) :
2239 ac_site_file=./$ac_site_file ;;
2240 esac
2241 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2243 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
23272244 sed 's/^/| /' "$ac_site_file" >&5
23282245 . "$ac_site_file" \
2329 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23312248 as_fn_error $? "failed to load site script $ac_site_file
23322249 See \`config.log' for more details" "$LINENO" 5; }
23332250 fi
23372254 # Some versions of bash will fail to source /dev/null (special files
23382255 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
23392256 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2341 $as_echo "$as_me: loading cache $cache_file" >&6;}
2257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2258 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
23422259 case $cache_file in
23432260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23442261 *) . "./$cache_file";;
23452262 esac
23462263 fi
23472264 else
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2349 $as_echo "$as_me: creating cache $cache_file" >&6;}
2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2266 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
23502267 >$cache_file
2268 fi
2269
2270 # Test code for whether the C compiler supports C89 (global declarations)
2271 ac_c_conftest_c89_globals='
2272 /* Does the compiler advertise C89 conformance?
2273 Do not test the value of __STDC__, because some compilers set it to 0
2274 while being otherwise adequately conformant. */
2275 #if !defined __STDC__
2276 # error "Compiler does not advertise C89 conformance"
2277 #endif
2278
2279 #include <stddef.h>
2280 #include <stdarg.h>
2281 struct stat;
2282 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2283 struct buf { int x; };
2284 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2285 static char *e (p, i)
2286 char **p;
2287 int i;
2288 {
2289 return p[i];
2290 }
2291 static char *f (char * (*g) (char **, int), char **p, ...)
2292 {
2293 char *s;
2294 va_list v;
2295 va_start (v,p);
2296 s = g (p, va_arg (v,int));
2297 va_end (v);
2298 return s;
2299 }
2300
2301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2302 function prototypes and stuff, but not \xHH hex character constants.
2303 These do not provoke an error unfortunately, instead are silently treated
2304 as an "x". The following induces an error, until -std is added to get
2305 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2306 array size at least. It is necessary to write \x00 == 0 to get something
2307 that is true only with -std. */
2308 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2309
2310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2311 inside strings and character constants. */
2312 #define FOO(x) '\''x'\''
2313 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2314
2315 int test (int i, double x);
2316 struct s1 {int (*f) (int a);};
2317 struct s2 {int (*f) (double a);};
2318 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2319 int, int);'
2320
2321 # Test code for whether the C compiler supports C89 (body of main).
2322 ac_c_conftest_c89_main='
2323 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2324 '
2325
2326 # Test code for whether the C compiler supports C99 (global declarations)
2327 ac_c_conftest_c99_globals='
2328 // Does the compiler advertise C99 conformance?
2329 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2330 # error "Compiler does not advertise C99 conformance"
2331 #endif
2332
2333 #include <stdbool.h>
2334 extern int puts (const char *);
2335 extern int printf (const char *, ...);
2336 extern int dprintf (int, const char *, ...);
2337 extern void *malloc (size_t);
2338
2339 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2340 // dprintf is used instead of fprintf to avoid needing to declare
2341 // FILE and stderr.
2342 #define debug(...) dprintf (2, __VA_ARGS__)
2343 #define showlist(...) puts (#__VA_ARGS__)
2344 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2345 static void
2346 test_varargs_macros (void)
2347 {
2348 int x = 1234;
2349 int y = 5678;
2350 debug ("Flag");
2351 debug ("X = %d\n", x);
2352 showlist (The first, second, and third items.);
2353 report (x>y, "x is %d but y is %d", x, y);
2354 }
2355
2356 // Check long long types.
2357 #define BIG64 18446744073709551615ull
2358 #define BIG32 4294967295ul
2359 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2360 #if !BIG_OK
2361 #error "your preprocessor is broken"
2362 #endif
2363 #if BIG_OK
2364 #else
2365 #error "your preprocessor is broken"
2366 #endif
2367 static long long int bignum = -9223372036854775807LL;
2368 static unsigned long long int ubignum = BIG64;
2369
2370 struct incomplete_array
2371 {
2372 int datasize;
2373 double data[];
2374 };
2375
2376 struct named_init {
2377 int number;
2378 const wchar_t *name;
2379 double average;
2380 };
2381
2382 typedef const char *ccp;
2383
2384 static inline int
2385 test_restrict (ccp restrict text)
2386 {
2387 // See if C++-style comments work.
2388 // Iterate through items via the restricted pointer.
2389 // Also check for declarations in for loops.
2390 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2391 continue;
2392 return 0;
2393 }
2394
2395 // Check varargs and va_copy.
2396 static bool
2397 test_varargs (const char *format, ...)
2398 {
2399 va_list args;
2400 va_start (args, format);
2401 va_list args_copy;
2402 va_copy (args_copy, args);
2403
2404 const char *str = "";
2405 int number = 0;
2406 float fnumber = 0;
2407
2408 while (*format)
2409 {
2410 switch (*format++)
2411 {
2412 case '\''s'\'': // string
2413 str = va_arg (args_copy, const char *);
2414 break;
2415 case '\''d'\'': // int
2416 number = va_arg (args_copy, int);
2417 break;
2418 case '\''f'\'': // float
2419 fnumber = va_arg (args_copy, double);
2420 break;
2421 default:
2422 break;
2423 }
2424 }
2425 va_end (args_copy);
2426 va_end (args);
2427
2428 return *str && number && fnumber;
2429 }
2430 '
2431
2432 # Test code for whether the C compiler supports C99 (body of main).
2433 ac_c_conftest_c99_main='
2434 // Check bool.
2435 _Bool success = false;
2436 success |= (argc != 0);
2437
2438 // Check restrict.
2439 if (test_restrict ("String literal") == 0)
2440 success = true;
2441 char *restrict newvar = "Another string";
2442
2443 // Check varargs.
2444 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2445 test_varargs_macros ();
2446
2447 // Check flexible array members.
2448 struct incomplete_array *ia =
2449 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2450 ia->datasize = 10;
2451 for (int i = 0; i < ia->datasize; ++i)
2452 ia->data[i] = i * 1.234;
2453
2454 // Check named initializers.
2455 struct named_init ni = {
2456 .number = 34,
2457 .name = L"Test wide string",
2458 .average = 543.34343,
2459 };
2460
2461 ni.number = 58;
2462
2463 int dynamic_array[ni.number];
2464 dynamic_array[0] = argv[0][0];
2465 dynamic_array[ni.number - 1] = 543;
2466
2467 // work around unused variable warnings
2468 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2469 || dynamic_array[ni.number - 1] != 543);
2470 '
2471
2472 # Test code for whether the C compiler supports C11 (global declarations)
2473 ac_c_conftest_c11_globals='
2474 // Does the compiler advertise C11 conformance?
2475 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2476 # error "Compiler does not advertise C11 conformance"
2477 #endif
2478
2479 // Check _Alignas.
2480 char _Alignas (double) aligned_as_double;
2481 char _Alignas (0) no_special_alignment;
2482 extern char aligned_as_int;
2483 char _Alignas (0) _Alignas (int) aligned_as_int;
2484
2485 // Check _Alignof.
2486 enum
2487 {
2488 int_alignment = _Alignof (int),
2489 int_array_alignment = _Alignof (int[100]),
2490 char_alignment = _Alignof (char)
2491 };
2492 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2493
2494 // Check _Noreturn.
2495 int _Noreturn does_not_return (void) { for (;;) continue; }
2496
2497 // Check _Static_assert.
2498 struct test_static_assert
2499 {
2500 int x;
2501 _Static_assert (sizeof (int) <= sizeof (long int),
2502 "_Static_assert does not work in struct");
2503 long int y;
2504 };
2505
2506 // Check UTF-8 literals.
2507 #define u8 syntax error!
2508 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2509
2510 // Check duplicate typedefs.
2511 typedef long *long_ptr;
2512 typedef long int *long_ptr;
2513 typedef long_ptr long_ptr;
2514
2515 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2516 struct anonymous
2517 {
2518 union {
2519 struct { int i; int j; };
2520 struct { int k; long int l; } w;
2521 };
2522 int m;
2523 } v1;
2524 '
2525
2526 # Test code for whether the C compiler supports C11 (body of main).
2527 ac_c_conftest_c11_main='
2528 _Static_assert ((offsetof (struct anonymous, i)
2529 == offsetof (struct anonymous, w.k)),
2530 "Anonymous union alignment botch");
2531 v1.i = 2;
2532 v1.w.k = 5;
2533 ok |= v1.i != 5;
2534 '
2535
2536 # Test code for whether the C compiler supports C11 (complete).
2537 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2538 ${ac_c_conftest_c99_globals}
2539 ${ac_c_conftest_c11_globals}
2540
2541 int
2542 main (int argc, char **argv)
2543 {
2544 int ok = 0;
2545 ${ac_c_conftest_c89_main}
2546 ${ac_c_conftest_c99_main}
2547 ${ac_c_conftest_c11_main}
2548 return ok;
2549 }
2550 "
2551
2552 # Test code for whether the C compiler supports C99 (complete).
2553 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2554 ${ac_c_conftest_c99_globals}
2555
2556 int
2557 main (int argc, char **argv)
2558 {
2559 int ok = 0;
2560 ${ac_c_conftest_c89_main}
2561 ${ac_c_conftest_c99_main}
2562 return ok;
2563 }
2564 "
2565
2566 # Test code for whether the C compiler supports C89 (complete).
2567 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2568
2569 int
2570 main (int argc, char **argv)
2571 {
2572 int ok = 0;
2573 ${ac_c_conftest_c89_main}
2574 return ok;
2575 }
2576 "
2577
2578 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2579 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2580 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2581 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2582 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2583 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2584 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2585 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2586 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2587
2588 # Auxiliary files required by this configure script.
2589 ac_aux_files="tap-driver.sh config.guess config.sub ltmain.sh compile missing install-sh"
2590
2591 # Locations in which to look for auxiliary files.
2592 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2593
2594 # Search for a directory containing all of the required auxiliary files,
2595 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2596 # If we don't find one directory that contains all the files we need,
2597 # we report the set of missing files from the *first* directory in
2598 # $ac_aux_dir_candidates and give up.
2599 ac_missing_aux_files=""
2600 ac_first_candidate=:
2601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 as_found=false
2604 for as_dir in $ac_aux_dir_candidates
2605 do
2606 IFS=$as_save_IFS
2607 case $as_dir in #(((
2608 '') as_dir=./ ;;
2609 */) ;;
2610 *) as_dir=$as_dir/ ;;
2611 esac
2612 as_found=:
2613
2614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2615 ac_aux_dir_found=yes
2616 ac_install_sh=
2617 for ac_aux in $ac_aux_files
2618 do
2619 # As a special case, if "install-sh" is required, that requirement
2620 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2621 # and $ac_install_sh is set appropriately for whichever one is found.
2622 if test x"$ac_aux" = x"install-sh"
2623 then
2624 if test -f "${as_dir}install-sh"; then
2625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2626 ac_install_sh="${as_dir}install-sh -c"
2627 elif test -f "${as_dir}install.sh"; then
2628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2629 ac_install_sh="${as_dir}install.sh -c"
2630 elif test -f "${as_dir}shtool"; then
2631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2632 ac_install_sh="${as_dir}shtool install -c"
2633 else
2634 ac_aux_dir_found=no
2635 if $ac_first_candidate; then
2636 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2637 else
2638 break
2639 fi
2640 fi
2641 else
2642 if test -f "${as_dir}${ac_aux}"; then
2643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2644 else
2645 ac_aux_dir_found=no
2646 if $ac_first_candidate; then
2647 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2648 else
2649 break
2650 fi
2651 fi
2652 fi
2653 done
2654 if test "$ac_aux_dir_found" = yes; then
2655 ac_aux_dir="$as_dir"
2656 break
2657 fi
2658 ac_first_candidate=false
2659
2660 as_found=false
2661 done
2662 IFS=$as_save_IFS
2663 if $as_found
2664 then :
2665
2666 else $as_nop
2667 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2668 fi
2669
2670
2671 # These three variables are undocumented and unsupported,
2672 # and are intended to be withdrawn in a future Autoconf release.
2673 # They can cause serious problems if a builder's source tree is in a directory
2674 # whose full name contains unusual characters.
2675 if test -f "${ac_aux_dir}config.guess"; then
2676 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2677 fi
2678 if test -f "${ac_aux_dir}config.sub"; then
2679 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2680 fi
2681 if test -f "$ac_aux_dir/configure"; then
2682 ac_configure="$SHELL ${ac_aux_dir}configure"
23512683 fi
23522684
23532685 # Check that the precious variables saved in the cache have kept the same
23602692 eval ac_new_val=\$ac_env_${ac_var}_value
23612693 case $ac_old_set,$ac_new_set in
23622694 set,)
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2696 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
23652697 ac_cache_corrupted=: ;;
23662698 ,set)
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2700 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
23692701 ac_cache_corrupted=: ;;
23702702 ,);;
23712703 *)
23742706 ac_old_val_w=`echo x $ac_old_val`
23752707 ac_new_val_w=`echo x $ac_new_val`
23762708 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2378 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2710 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
23792711 ac_cache_corrupted=:
23802712 else
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2382 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2714 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
23832715 eval $ac_var=\$ac_old_val
23842716 fi
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2386 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2388 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2718 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2720 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
23892721 fi;;
23902722 esac
23912723 # Pass precious variables to config.status.
23922724 if test "$ac_new_set" = set; then
23932725 case $ac_new_val in
2394 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2726 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
23952727 *) ac_arg=$ac_var=$ac_new_val ;;
23962728 esac
23972729 case " $ac_configure_args " in
24012733 fi
24022734 done
24032735 if $ac_cache_corrupted; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2407 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2408 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2737 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2739 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2740 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2741 and start over" "$LINENO" 5
24092742 fi
24102743 ## -------------------- ##
24112744 ## Main body of script. ##
24222755
24232756 am__api_version='1.16'
24242757
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Find a good install program. We prefer a C program (faster),
2758
2759
2760 # Find a good install program. We prefer a C program (faster),
24552761 # so one script is as good as another. But avoid the broken or
24562762 # incompatible versions:
24572763 # SysV /etc/install, /usr/sbin/install
24652771 # OS/2's system install, which has a completely different semantic
24662772 # ./install, which can be erroneously created by make from ./install.sh.
24672773 # Reject install programs that cannot install multiple files.
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2775 printf %s "checking for a BSD-compatible install... " >&6; }
24702776 if test -z "$INSTALL"; then
2471 if ${ac_cv_path_install+:} false; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2777 if test ${ac_cv_path_install+y}
2778 then :
2779 printf %s "(cached) " >&6
2780 else $as_nop
24742781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24752782 for as_dir in $PATH
24762783 do
24772784 IFS=$as_save_IFS
2478 test -z "$as_dir" && as_dir=.
2479 # Account for people who put trailing slashes in PATH elements.
2480 case $as_dir/ in #((
2481 ./ | .// | /[cC]/* | \
2785 case $as_dir in #(((
2786 '') as_dir=./ ;;
2787 */) ;;
2788 *) as_dir=$as_dir/ ;;
2789 esac
2790 # Account for fact that we put trailing slashes in our PATH walk.
2791 case $as_dir in #((
2792 ./ | /[cC]/* | \
24822793 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
24832794 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
24842795 /usr/ucb/* ) ;;
24882799 # by default.
24892800 for ac_prog in ginstall scoinst install; do
24902801 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2802 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
24922803 if test $ac_prog = install &&
2493 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2804 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24942805 # AIX install. It has an incompatible calling convention.
24952806 :
24962807 elif test $ac_prog = install &&
2497 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2808 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
24982809 # program-specific install script used by HP pwplus--don't use.
24992810 :
25002811 else
25022813 echo one > conftest.one
25032814 echo two > conftest.two
25042815 mkdir conftest.dir
2505 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2816 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
25062817 test -s conftest.one && test -s conftest.two &&
25072818 test -s conftest.dir/conftest.one &&
25082819 test -s conftest.dir/conftest.two
25092820 then
2510 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2821 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
25112822 break 3
25122823 fi
25132824 fi
25232834 rm -rf conftest.one conftest.two conftest.dir
25242835
25252836 fi
2526 if test "${ac_cv_path_install+set}" = set; then
2837 if test ${ac_cv_path_install+y}; then
25272838 INSTALL=$ac_cv_path_install
25282839 else
25292840 # As a last resort, use the slow shell script. Don't cache a
25332844 INSTALL=$ac_install_sh
25342845 fi
25352846 fi
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537 $as_echo "$INSTALL" >&6; }
2847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2848 printf "%s\n" "$INSTALL" >&6; }
25382849
25392850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25402851 # It thinks the first close brace ends the variable substitution.
25442855
25452856 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25462857
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2548 $as_echo_n "checking whether build environment is sane... " >&6; }
2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2859 printf %s "checking whether build environment is sane... " >&6; }
25492860 # Reject unsafe characters in $srcdir or the absolute working directory
25502861 # name. Accept space and tab only in the latter.
25512862 am_lf='
25992910 as_fn_error $? "newly created file is older than distributed files!
26002911 Check your system clock" "$LINENO" 5
26012912 fi
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2603 $as_echo "yes" >&6; }
2913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2914 printf "%s\n" "yes" >&6; }
26042915 # If we didn't sleep, we still need to ensure time stamps of config.status and
26052916 # generated files are strictly newer.
26062917 am_sleep_pid=
26192930 # Double any \ or $.
26202931 # By default was `s,x,x', remove it if useless.
26212932 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2622 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2933 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2934
26232935
26242936 # Expand $ac_aux_dir to an absolute path.
26252937 am_aux_dir=`cd "$ac_aux_dir" && pwd`
26262938
2627 if test x"${MISSING+set}" != xset; then
2939
2940 if test x"${MISSING+set}" != xset; then
26282941 MISSING="\${SHELL} '$am_aux_dir/missing'"
26292942 fi
26302943 # Use eval to expand $SHELL
26322945 am_missing_run="$MISSING "
26332946 else
26342947 am_missing_run=
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2949 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
26372950 fi
26382951
26392952 if test x"${install_sh+set}" != xset; then
26532966 if test -n "$ac_tool_prefix"; then
26542967 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
26552968 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659 $as_echo_n "(cached) " >&6
2660 else
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 printf %s "checking for $ac_word... " >&6; }
2971 if test ${ac_cv_prog_STRIP+y}
2972 then :
2973 printf %s "(cached) " >&6
2974 else $as_nop
26612975 if test -n "$STRIP"; then
26622976 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
26632977 else
26652979 for as_dir in $PATH
26662980 do
26672981 IFS=$as_save_IFS
2668 test -z "$as_dir" && as_dir=.
2982 case $as_dir in #(((
2983 '') as_dir=./ ;;
2984 */) ;;
2985 *) as_dir=$as_dir/ ;;
2986 esac
26692987 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26712989 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26732991 break 2
26742992 fi
26752993 done
26802998 fi
26812999 STRIP=$ac_cv_prog_STRIP
26823000 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2685 else
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3002 printf "%s\n" "$STRIP" >&6; }
3003 else
3004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 printf "%s\n" "no" >&6; }
26883006 fi
26893007
26903008
26933011 ac_ct_STRIP=$STRIP
26943012 # Extract the first word of "strip", so it can be a program name with args.
26953013 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
3014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 printf %s "checking for $ac_word... " >&6; }
3016 if test ${ac_cv_prog_ac_ct_STRIP+y}
3017 then :
3018 printf %s "(cached) " >&6
3019 else $as_nop
27013020 if test -n "$ac_ct_STRIP"; then
27023021 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
27033022 else
27053024 for as_dir in $PATH
27063025 do
27073026 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
3027 case $as_dir in #(((
3028 '') as_dir=./ ;;
3029 */) ;;
3030 *) as_dir=$as_dir/ ;;
3031 esac
27093032 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27113034 ac_cv_prog_ac_ct_STRIP="strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27133036 break 2
27143037 fi
27153038 done
27203043 fi
27213044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
27223045 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2725 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3047 printf "%s\n" "$ac_ct_STRIP" >&6; }
3048 else
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 printf "%s\n" "no" >&6; }
27283051 fi
27293052
27303053 if test "x$ac_ct_STRIP" = x; then
27323055 else
27333056 case $cross_compiling:$ac_tool_warned in
27343057 yes:)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3059 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27373060 ac_tool_warned=yes ;;
27383061 esac
27393062 STRIP=$ac_ct_STRIP
27453068 fi
27463069 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
27473070
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3071
3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3073 printf %s "checking for a race-free mkdir -p... " >&6; }
27503074 if test -z "$MKDIR_P"; then
2751 if ${ac_cv_path_mkdir+:} false; then :
2752 $as_echo_n "(cached) " >&6
2753 else
3075 if test ${ac_cv_path_mkdir+y}
3076 then :
3077 printf %s "(cached) " >&6
3078 else $as_nop
27543079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27553080 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27563081 do
27573082 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=.
3083 case $as_dir in #(((
3084 '') as_dir=./ ;;
3085 */) ;;
3086 *) as_dir=$as_dir/ ;;
3087 esac
27593088 for ac_prog in mkdir gmkdir; do
27603089 for ac_exec_ext in '' $ac_executable_extensions; do
2761 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
3090 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3091 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3092 'mkdir ('*'coreutils) '* | \
3093 'BusyBox '* | \
27653094 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3095 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
27673096 break 3;;
27683097 esac
27693098 done
27743103 fi
27753104
27763105 test -d ./--version && rmdir ./--version
2777 if test "${ac_cv_path_mkdir+set}" = set; then
3106 if test ${ac_cv_path_mkdir+y}; then
27783107 MKDIR_P="$ac_cv_path_mkdir -p"
27793108 else
27803109 # As a last resort, use the slow shell script. Don't cache a
27843113 MKDIR_P="$ac_install_sh -d"
27853114 fi
27863115 fi
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3117 printf "%s\n" "$MKDIR_P" >&6; }
27893118
27903119 for ac_prog in gawk mawk nawk awk
27913120 do
27923121 # Extract the first word of "$ac_prog", so it can be a program name with args.
27933122 set dummy $ac_prog; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_AWK+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 printf %s "checking for $ac_word... " >&6; }
3125 if test ${ac_cv_prog_AWK+y}
3126 then :
3127 printf %s "(cached) " >&6
3128 else $as_nop
27993129 if test -n "$AWK"; then
28003130 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28013131 else
28033133 for as_dir in $PATH
28043134 do
28053135 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
3136 case $as_dir in #(((
3137 '') as_dir=./ ;;
3138 */) ;;
3139 *) as_dir=$as_dir/ ;;
3140 esac
28073141 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28093143 ac_cv_prog_AWK="$ac_prog"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28113145 break 2
28123146 fi
28133147 done
28183152 fi
28193153 AWK=$ac_cv_prog_AWK
28203154 if test -n "$AWK"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2822 $as_echo "$AWK" >&6; }
2823 else
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3156 printf "%s\n" "$AWK" >&6; }
3157 else
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 printf "%s\n" "no" >&6; }
28263160 fi
28273161
28283162
28293163 test -n "$AWK" && break
28303164 done
28313165
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3167 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
28343168 set x ${MAKE-make}
2835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
3169 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3170 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3171 then :
3172 printf %s "(cached) " >&6
3173 else $as_nop
28393174 cat >conftest.make <<\_ACEOF
28403175 SHELL = /bin/sh
28413176 all:
28513186 rm -f conftest.make
28523187 fi
28533188 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2855 $as_echo "yes" >&6; }
3189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3190 printf "%s\n" "yes" >&6; }
28563191 SET_MAKE=
28573192 else
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 printf "%s\n" "no" >&6; }
28603195 SET_MAKE="MAKE=${MAKE-make}"
28613196 fi
28623197
28703205 rmdir .tst 2>/dev/null
28713206
28723207 # Check whether --enable-silent-rules was given.
2873 if test "${enable_silent_rules+set}" = set; then :
3208 if test ${enable_silent_rules+y}
3209 then :
28743210 enableval=$enable_silent_rules;
28753211 fi
28763212
28803216 *) AM_DEFAULT_VERBOSITY=1;;
28813217 esac
28823218 am_make=${MAKE-make}
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2884 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2885 if ${am_cv_make_support_nested_variables+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 if $as_echo 'TRUE=$(BAR$(V))
3219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3220 printf %s "checking whether $am_make supports nested variables... " >&6; }
3221 if test ${am_cv_make_support_nested_variables+y}
3222 then :
3223 printf %s "(cached) " >&6
3224 else $as_nop
3225 if printf "%s\n" 'TRUE=$(BAR$(V))
28893226 BAR0=false
28903227 BAR1=true
28913228 V=1
28973234 am_cv_make_support_nested_variables=no
28983235 fi
28993236 fi
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2901 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3238 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
29023239 if test $am_cv_make_support_nested_variables = yes; then
29033240 AM_V='$(V)'
29043241 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
29303267
29313268 # Define the identity of the package.
29323269 PACKAGE='xrdp'
2933 VERSION='0.9.19'
2934
2935
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2938 _ACEOF
2939
2940
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2943 _ACEOF
3270 VERSION='0.9.21.1'
3271
3272
3273 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3274
3275
3276 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
29443277
29453278 # Some tools Automake needs.
29463279
30383371 fi
30393372
30403373
3374
3375
3376
3377
3378
3379
3380
3381
3382
30413383 ac_ext=c
30423384 ac_cpp='$CPP $CPPFLAGS'
30433385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463388 if test -n "$ac_tool_prefix"; then
30473389 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
30483390 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_CC+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 printf %s "checking for $ac_word... " >&6; }
3393 if test ${ac_cv_prog_CC+y}
3394 then :
3395 printf %s "(cached) " >&6
3396 else $as_nop
30543397 if test -n "$CC"; then
30553398 ac_cv_prog_CC="$CC" # Let the user override the test.
30563399 else
30583401 for as_dir in $PATH
30593402 do
30603403 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3404 case $as_dir in #(((
3405 '') as_dir=./ ;;
3406 */) ;;
3407 *) as_dir=$as_dir/ ;;
3408 esac
30623409 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30643411 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30663413 break 2
30673414 fi
30683415 done
30733420 fi
30743421 CC=$ac_cv_prog_CC
30753422 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3424 printf "%s\n" "$CC" >&6; }
3425 else
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 printf "%s\n" "no" >&6; }
30813428 fi
30823429
30833430
30863433 ac_ct_CC=$CC
30873434 # Extract the first word of "gcc", so it can be a program name with args.
30883435 set dummy gcc; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 printf %s "checking for $ac_word... " >&6; }
3438 if test ${ac_cv_prog_ac_ct_CC+y}
3439 then :
3440 printf %s "(cached) " >&6
3441 else $as_nop
30943442 if test -n "$ac_ct_CC"; then
30953443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30963444 else
30983446 for as_dir in $PATH
30993447 do
31003448 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3449 case $as_dir in #(((
3450 '') as_dir=./ ;;
3451 */) ;;
3452 *) as_dir=$as_dir/ ;;
3453 esac
31023454 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31043456 ac_cv_prog_ac_ct_CC="gcc"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31063458 break 2
31073459 fi
31083460 done
31133465 fi
31143466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
31153467 if test -n "$ac_ct_CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3117 $as_echo "$ac_ct_CC" >&6; }
3118 else
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3469 printf "%s\n" "$ac_ct_CC" >&6; }
3470 else
3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3472 printf "%s\n" "no" >&6; }
31213473 fi
31223474
31233475 if test "x$ac_ct_CC" = x; then
31253477 else
31263478 case $cross_compiling:$ac_tool_warned in
31273479 yes:)
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3481 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
31303482 ac_tool_warned=yes ;;
31313483 esac
31323484 CC=$ac_ct_CC
31393491 if test -n "$ac_tool_prefix"; then
31403492 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
31413493 set dummy ${ac_tool_prefix}cc; ac_word=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if ${ac_cv_prog_CC+:} false; then :
3145 $as_echo_n "(cached) " >&6
3146 else
3494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 printf %s "checking for $ac_word... " >&6; }
3496 if test ${ac_cv_prog_CC+y}
3497 then :
3498 printf %s "(cached) " >&6
3499 else $as_nop
31473500 if test -n "$CC"; then
31483501 ac_cv_prog_CC="$CC" # Let the user override the test.
31493502 else
31513504 for as_dir in $PATH
31523505 do
31533506 IFS=$as_save_IFS
3154 test -z "$as_dir" && as_dir=.
3507 case $as_dir in #(((
3508 '') as_dir=./ ;;
3509 */) ;;
3510 *) as_dir=$as_dir/ ;;
3511 esac
31553512 for ac_exec_ext in '' $ac_executable_extensions; do
3156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31573514 ac_cv_prog_CC="${ac_tool_prefix}cc"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31593516 break 2
31603517 fi
31613518 done
31663523 fi
31673524 CC=$ac_cv_prog_CC
31683525 if test -n "$CC"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170 $as_echo "$CC" >&6; }
3171 else
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3527 printf "%s\n" "$CC" >&6; }
3528 else
3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 printf "%s\n" "no" >&6; }
31743531 fi
31753532
31763533
31793536 if test -z "$CC"; then
31803537 # Extract the first word of "cc", so it can be a program name with args.
31813538 set dummy cc; ac_word=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if ${ac_cv_prog_CC+:} false; then :
3185 $as_echo_n "(cached) " >&6
3186 else
3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 printf %s "checking for $ac_word... " >&6; }
3541 if test ${ac_cv_prog_CC+y}
3542 then :
3543 printf %s "(cached) " >&6
3544 else $as_nop
31873545 if test -n "$CC"; then
31883546 ac_cv_prog_CC="$CC" # Let the user override the test.
31893547 else
31923550 for as_dir in $PATH
31933551 do
31943552 IFS=$as_save_IFS
3195 test -z "$as_dir" && as_dir=.
3553 case $as_dir in #(((
3554 '') as_dir=./ ;;
3555 */) ;;
3556 *) as_dir=$as_dir/ ;;
3557 esac
31963558 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3198 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3560 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31993561 ac_prog_rejected=yes
32003562 continue
32013563 fi
32023564 ac_cv_prog_CC="cc"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32043566 break 2
32053567 fi
32063568 done
32163578 # However, it has the same basename, so the bogon will be chosen
32173579 # first if we set CC to just the basename; use the full file name.
32183580 shift
3219 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3581 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
32203582 fi
32213583 fi
32223584 fi
32233585 fi
32243586 CC=$ac_cv_prog_CC
32253587 if test -n "$CC"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3227 $as_echo "$CC" >&6; }
3228 else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 printf "%s\n" "$CC" >&6; }
3590 else
3591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 printf "%s\n" "no" >&6; }
32313593 fi
32323594
32333595
32383600 do
32393601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
32403602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_CC+:} false; then :
3244 $as_echo_n "(cached) " >&6
3245 else
3603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 printf %s "checking for $ac_word... " >&6; }
3605 if test ${ac_cv_prog_CC+y}
3606 then :
3607 printf %s "(cached) " >&6
3608 else $as_nop
32463609 if test -n "$CC"; then
32473610 ac_cv_prog_CC="$CC" # Let the user override the test.
32483611 else
32503613 for as_dir in $PATH
32513614 do
32523615 IFS=$as_save_IFS
3253 test -z "$as_dir" && as_dir=.
3616 case $as_dir in #(((
3617 '') as_dir=./ ;;
3618 */) ;;
3619 *) as_dir=$as_dir/ ;;
3620 esac
32543621 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32563623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32583625 break 2
32593626 fi
32603627 done
32653632 fi
32663633 CC=$ac_cv_prog_CC
32673634 if test -n "$CC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3269 $as_echo "$CC" >&6; }
3270 else
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 printf "%s\n" "$CC" >&6; }
3637 else
3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 printf "%s\n" "no" >&6; }
32733640 fi
32743641
32753642
32823649 do
32833650 # Extract the first word of "$ac_prog", so it can be a program name with args.
32843651 set dummy $ac_prog; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289 else
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 printf %s "checking for $ac_word... " >&6; }
3654 if test ${ac_cv_prog_ac_ct_CC+y}
3655 then :
3656 printf %s "(cached) " >&6
3657 else $as_nop
32903658 if test -n "$ac_ct_CC"; then
32913659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
32923660 else
32943662 for as_dir in $PATH
32953663 do
32963664 IFS=$as_save_IFS
3297 test -z "$as_dir" && as_dir=.
3665 case $as_dir in #(((
3666 '') as_dir=./ ;;
3667 */) ;;
3668 *) as_dir=$as_dir/ ;;
3669 esac
32983670 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
33003672 ac_cv_prog_ac_ct_CC="$ac_prog"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33023674 break 2
33033675 fi
33043676 done
33093681 fi
33103682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
33113683 if test -n "$ac_ct_CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3313 $as_echo "$ac_ct_CC" >&6; }
3314 else
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3685 printf "%s\n" "$ac_ct_CC" >&6; }
3686 else
3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 printf "%s\n" "no" >&6; }
33173689 fi
33183690
33193691
33253697 else
33263698 case $cross_compiling:$ac_tool_warned in
33273699 yes:)
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33303702 ac_tool_warned=yes ;;
33313703 esac
33323704 CC=$ac_ct_CC
33343706 fi
33353707
33363708 fi
3337
3338
3339 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 if test -z "$CC"; then
3710 if test -n "$ac_tool_prefix"; then
3711 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3712 set dummy ${ac_tool_prefix}clang; ac_word=$2
3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 printf %s "checking for $ac_word... " >&6; }
3715 if test ${ac_cv_prog_CC+y}
3716 then :
3717 printf %s "(cached) " >&6
3718 else $as_nop
3719 if test -n "$CC"; then
3720 ac_cv_prog_CC="$CC" # Let the user override the test.
3721 else
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH
3724 do
3725 IFS=$as_save_IFS
3726 case $as_dir in #(((
3727 '') as_dir=./ ;;
3728 */) ;;
3729 *) as_dir=$as_dir/ ;;
3730 esac
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_CC="${ac_tool_prefix}clang"
3734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3735 break 2
3736 fi
3737 done
3738 done
3739 IFS=$as_save_IFS
3740
3741 fi
3742 fi
3743 CC=$ac_cv_prog_CC
3744 if test -n "$CC"; then
3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 printf "%s\n" "$CC" >&6; }
3747 else
3748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 printf "%s\n" "no" >&6; }
3750 fi
3751
3752
3753 fi
3754 if test -z "$ac_cv_prog_CC"; then
3755 ac_ct_CC=$CC
3756 # Extract the first word of "clang", so it can be a program name with args.
3757 set dummy clang; ac_word=$2
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 printf %s "checking for $ac_word... " >&6; }
3760 if test ${ac_cv_prog_ac_ct_CC+y}
3761 then :
3762 printf %s "(cached) " >&6
3763 else $as_nop
3764 if test -n "$ac_ct_CC"; then
3765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3766 else
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3769 do
3770 IFS=$as_save_IFS
3771 case $as_dir in #(((
3772 '') as_dir=./ ;;
3773 */) ;;
3774 *) as_dir=$as_dir/ ;;
3775 esac
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_ac_ct_CC="clang"
3779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3780 break 2
3781 fi
3782 done
3783 done
3784 IFS=$as_save_IFS
3785
3786 fi
3787 fi
3788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3789 if test -n "$ac_ct_CC"; then
3790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3791 printf "%s\n" "$ac_ct_CC" >&6; }
3792 else
3793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 printf "%s\n" "no" >&6; }
3795 fi
3796
3797 if test "x$ac_ct_CC" = x; then
3798 CC=""
3799 else
3800 case $cross_compiling:$ac_tool_warned in
3801 yes:)
3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3803 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3804 ac_tool_warned=yes ;;
3805 esac
3806 CC=$ac_ct_CC
3807 fi
3808 else
3809 CC="$ac_cv_prog_CC"
3810 fi
3811
3812 fi
3813
3814
3815 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33413817 as_fn_error $? "no acceptable C compiler found in \$PATH
33423818 See \`config.log' for more details" "$LINENO" 5; }
33433819
33443820 # Provide some information about the compiler.
3345 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
33463822 set X $ac_compile
33473823 ac_compiler=$2
3348 for ac_option in --version -v -V -qversion; do
3824 for ac_option in --version -v -V -qversion -version; do
33493825 { { ac_try="$ac_compiler $ac_option >&5"
33503826 case "(($ac_try" in
33513827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33523828 *) ac_try_echo=$ac_try;;
33533829 esac
33543830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355 $as_echo "$ac_try_echo"; } >&5
3831 printf "%s\n" "$ac_try_echo"; } >&5
33563832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
33573833 ac_status=$?
33583834 if test -s conftest.err; then
33623838 cat conftest.er1 >&5
33633839 fi
33643840 rm -f conftest.er1 conftest.err
3365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33663842 test $ac_status = 0; }
33673843 done
33683844
33703846 /* end confdefs.h. */
33713847
33723848 int
3373 main ()
3849 main (void)
33743850 {
33753851
33763852 ;
33823858 # Try to create an executable without -o first, disregard a.out.
33833859 # It will help us diagnose broken compilers, and finding out an intuition
33843860 # of exeext.
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3386 $as_echo_n "checking whether the C compiler works... " >&6; }
3387 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3862 printf %s "checking whether the C compiler works... " >&6; }
3863 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
33883864
33893865 # The possible output files:
33903866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
34053881 *) ac_try_echo=$ac_try;;
34063882 esac
34073883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3884 printf "%s\n" "$ac_try_echo"; } >&5
34093885 (eval "$ac_link_default") 2>&5
34103886 ac_status=$?
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }; then :
3887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 then :
34133890 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
34143891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
34153892 # in a Makefile. We should not override ac_cv_exeext if it was cached,
34263903 # certainly right.
34273904 break;;
34283905 *.* )
3429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3906 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
34303907 then :; else
34313908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
34323909 fi
34423919 done
34433920 test "$ac_cv_exeext" = no && ac_cv_exeext=
34443921
3445 else
3922 else $as_nop
34463923 ac_file=''
34473924 fi
3448 if test -z "$ac_file"; then :
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3451 $as_echo "$as_me: failed program was:" >&5
3925 if test -z "$ac_file"
3926 then :
3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 printf "%s\n" "no" >&6; }
3929 printf "%s\n" "$as_me: failed program was:" >&5
34523930 sed 's/^/| /' conftest.$ac_ext >&5
34533931
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
34563934 as_fn_error 77 "C compiler cannot create executables
34573935 See \`config.log' for more details" "$LINENO" 5; }
3458 else
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3460 $as_echo "yes" >&6; }
3461 fi
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3463 $as_echo_n "checking for C compiler default output file name... " >&6; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3465 $as_echo "$ac_file" >&6; }
3936 else $as_nop
3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3938 printf "%s\n" "yes" >&6; }
3939 fi
3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3941 printf %s "checking for C compiler default output file name... " >&6; }
3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3943 printf "%s\n" "$ac_file" >&6; }
34663944 ac_exeext=$ac_cv_exeext
34673945
34683946 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
34693947 ac_clean_files=$ac_clean_files_save
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3471 $as_echo_n "checking for suffix of executables... " >&6; }
3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3949 printf %s "checking for suffix of executables... " >&6; }
34723950 if { { ac_try="$ac_link"
34733951 case "(($ac_try" in
34743952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34753953 *) ac_try_echo=$ac_try;;
34763954 esac
34773955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3956 printf "%s\n" "$ac_try_echo"; } >&5
34793957 (eval "$ac_link") 2>&5
34803958 ac_status=$?
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; then :
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3960 test $ac_status = 0; }
3961 then :
34833962 # If both `conftest.exe' and `conftest' are `present' (well, observable)
34843963 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
34853964 # work properly (i.e., refer to `conftest.exe'), while it won't with
34933972 * ) break;;
34943973 esac
34953974 done
3496 else
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3975 else $as_nop
3976 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
34993978 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
35003979 See \`config.log' for more details" "$LINENO" 5; }
35013980 fi
35023981 rm -f conftest conftest$ac_cv_exeext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3504 $as_echo "$ac_cv_exeext" >&6; }
3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3983 printf "%s\n" "$ac_cv_exeext" >&6; }
35053984
35063985 rm -f conftest.$ac_ext
35073986 EXEEXT=$ac_cv_exeext
35103989 /* end confdefs.h. */
35113990 #include <stdio.h>
35123991 int
3513 main ()
3992 main (void)
35143993 {
35153994 FILE *f = fopen ("conftest.out", "w");
35163995 return ferror (f) || fclose (f) != 0;
35224001 ac_clean_files="$ac_clean_files conftest.out"
35234002 # Check that the compiler produces executables we can run. If not, either
35244003 # the compiler is broken, or we cross compile.
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3526 $as_echo_n "checking whether we are cross compiling... " >&6; }
4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4005 printf %s "checking whether we are cross compiling... " >&6; }
35274006 if test "$cross_compiling" != yes; then
35284007 { { ac_try="$ac_link"
35294008 case "(($ac_try" in
35314010 *) ac_try_echo=$ac_try;;
35324011 esac
35334012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
4013 printf "%s\n" "$ac_try_echo"; } >&5
35354014 (eval "$ac_link") 2>&5
35364015 ac_status=$?
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35384017 test $ac_status = 0; }
35394018 if { ac_try='./conftest$ac_cv_exeext'
35404019 { { case "(($ac_try" in
35424021 *) ac_try_echo=$ac_try;;
35434022 esac
35444023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 $as_echo "$ac_try_echo"; } >&5
4024 printf "%s\n" "$ac_try_echo"; } >&5
35464025 (eval "$ac_try") 2>&5
35474026 ac_status=$?
3548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35494028 test $ac_status = 0; }; }; then
35504029 cross_compiling=no
35514030 else
35524031 if test "$cross_compiling" = maybe; then
35534032 cross_compiling=yes
35544033 else
3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557 as_fn_error $? "cannot run C compiled programs.
4034 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error 77 "cannot run C compiled programs.
35584037 If you meant to cross compile, use \`--host'.
35594038 See \`config.log' for more details" "$LINENO" 5; }
35604039 fi
35614040 fi
35624041 fi
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3564 $as_echo "$cross_compiling" >&6; }
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4043 printf "%s\n" "$cross_compiling" >&6; }
35654044
35664045 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
35674046 ac_clean_files=$ac_clean_files_save
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3569 $as_echo_n "checking for suffix of object files... " >&6; }
3570 if ${ac_cv_objext+:} false; then :
3571 $as_echo_n "(cached) " >&6
3572 else
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4048 printf %s "checking for suffix of object files... " >&6; }
4049 if test ${ac_cv_objext+y}
4050 then :
4051 printf %s "(cached) " >&6
4052 else $as_nop
35734053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35744054 /* end confdefs.h. */
35754055
35764056 int
3577 main ()
4057 main (void)
35784058 {
35794059
35804060 ;
35884068 *) ac_try_echo=$ac_try;;
35894069 esac
35904070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591 $as_echo "$ac_try_echo"; } >&5
4071 printf "%s\n" "$ac_try_echo"; } >&5
35924072 (eval "$ac_compile") 2>&5
35934073 ac_status=$?
3594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595 test $ac_status = 0; }; then :
4074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }
4076 then :
35964077 for ac_file in conftest.o conftest.obj conftest.*; do
35974078 test -f "$ac_file" || continue;
35984079 case $ac_file in
36014082 break;;
36024083 esac
36034084 done
3604 else
3605 $as_echo "$as_me: failed program was:" >&5
4085 else $as_nop
4086 printf "%s\n" "$as_me: failed program was:" >&5
36064087 sed 's/^/| /' conftest.$ac_ext >&5
36074088
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
36104091 as_fn_error $? "cannot compute suffix of object files: cannot compile
36114092 See \`config.log' for more details" "$LINENO" 5; }
36124093 fi
36134094 rm -f conftest.$ac_cv_objext conftest.$ac_ext
36144095 fi
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3616 $as_echo "$ac_cv_objext" >&6; }
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4097 printf "%s\n" "$ac_cv_objext" >&6; }
36174098 OBJEXT=$ac_cv_objext
36184099 ac_objext=$OBJEXT
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3620 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3621 if ${ac_cv_c_compiler_gnu+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4101 printf %s "checking whether the compiler supports GNU C... " >&6; }
4102 if test ${ac_cv_c_compiler_gnu+y}
4103 then :
4104 printf %s "(cached) " >&6
4105 else $as_nop
36244106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36254107 /* end confdefs.h. */
36264108
36274109 int
3628 main ()
4110 main (void)
36294111 {
36304112 #ifndef __GNUC__
36314113 choke me
36354117 return 0;
36364118 }
36374119 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
4120 if ac_fn_c_try_compile "$LINENO"
4121 then :
36394122 ac_compiler_gnu=yes
3640 else
4123 else $as_nop
36414124 ac_compiler_gnu=no
36424125 fi
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36444127 ac_cv_c_compiler_gnu=$ac_compiler_gnu
36454128
36464129 fi
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3648 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4131 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133
36494134 if test $ac_compiler_gnu = yes; then
36504135 GCC=yes
36514136 else
36524137 GCC=
36534138 fi
3654 ac_test_CFLAGS=${CFLAGS+set}
4139 ac_test_CFLAGS=${CFLAGS+y}
36554140 ac_save_CFLAGS=$CFLAGS
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3657 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3658 if ${ac_cv_prog_cc_g+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4142 printf %s "checking whether $CC accepts -g... " >&6; }
4143 if test ${ac_cv_prog_cc_g+y}
4144 then :
4145 printf %s "(cached) " >&6
4146 else $as_nop
36614147 ac_save_c_werror_flag=$ac_c_werror_flag
36624148 ac_c_werror_flag=yes
36634149 ac_cv_prog_cc_g=no
36664152 /* end confdefs.h. */
36674153
36684154 int
3669 main ()
4155 main (void)
36704156 {
36714157
36724158 ;
36734159 return 0;
36744160 }
36754161 _ACEOF
3676 if ac_fn_c_try_compile "$LINENO"; then :
4162 if ac_fn_c_try_compile "$LINENO"
4163 then :
36774164 ac_cv_prog_cc_g=yes
3678 else
4165 else $as_nop
36794166 CFLAGS=""
36804167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36814168 /* end confdefs.h. */
36824169
36834170 int
3684 main ()
4171 main (void)
36854172 {
36864173
36874174 ;
36884175 return 0;
36894176 }
36904177 _ACEOF
3691 if ac_fn_c_try_compile "$LINENO"; then :
3692
3693 else
4178 if ac_fn_c_try_compile "$LINENO"
4179 then :
4180
4181 else $as_nop
36944182 ac_c_werror_flag=$ac_save_c_werror_flag
36954183 CFLAGS="-g"
36964184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36974185 /* end confdefs.h. */
36984186
36994187 int
3700 main ()
4188 main (void)
37014189 {
37024190
37034191 ;
37044192 return 0;
37054193 }
37064194 _ACEOF
3707 if ac_fn_c_try_compile "$LINENO"; then :
4195 if ac_fn_c_try_compile "$LINENO"
4196 then :
37084197 ac_cv_prog_cc_g=yes
37094198 fi
3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 fi
3712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 fi
3714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4200 fi
4201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4202 fi
4203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37154204 ac_c_werror_flag=$ac_save_c_werror_flag
37164205 fi
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3718 $as_echo "$ac_cv_prog_cc_g" >&6; }
3719 if test "$ac_test_CFLAGS" = set; then
4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4207 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4208 if test $ac_test_CFLAGS; then
37204209 CFLAGS=$ac_save_CFLAGS
37214210 elif test $ac_cv_prog_cc_g = yes; then
37224211 if test "$GCC" = yes; then
37314220 CFLAGS=
37324221 fi
37334222 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3735 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3736 if ${ac_cv_prog_cc_c89+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
4223 ac_prog_cc_stdc=no
4224 if test x$ac_prog_cc_stdc = xno
4225 then :
4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4227 printf %s "checking for $CC option to enable C11 features... " >&6; }
4228 if test ${ac_cv_prog_cc_c11+y}
4229 then :
4230 printf %s "(cached) " >&6
4231 else $as_nop
4232 ac_cv_prog_cc_c11=no
4233 ac_save_CC=$CC
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4236 $ac_c_conftest_c11_program
4237 _ACEOF
4238 for ac_arg in '' -std=gnu11
4239 do
4240 CC="$ac_save_CC $ac_arg"
4241 if ac_fn_c_try_compile "$LINENO"
4242 then :
4243 ac_cv_prog_cc_c11=$ac_arg
4244 fi
4245 rm -f core conftest.err conftest.$ac_objext conftest.beam
4246 test "x$ac_cv_prog_cc_c11" != "xno" && break
4247 done
4248 rm -f conftest.$ac_ext
4249 CC=$ac_save_CC
4250 fi
4251
4252 if test "x$ac_cv_prog_cc_c11" = xno
4253 then :
4254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4255 printf "%s\n" "unsupported" >&6; }
4256 else $as_nop
4257 if test "x$ac_cv_prog_cc_c11" = x
4258 then :
4259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4260 printf "%s\n" "none needed" >&6; }
4261 else $as_nop
4262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4263 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4264 CC="$CC $ac_cv_prog_cc_c11"
4265 fi
4266 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4267 ac_prog_cc_stdc=c11
4268 fi
4269 fi
4270 if test x$ac_prog_cc_stdc = xno
4271 then :
4272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4273 printf %s "checking for $CC option to enable C99 features... " >&6; }
4274 if test ${ac_cv_prog_cc_c99+y}
4275 then :
4276 printf %s "(cached) " >&6
4277 else $as_nop
4278 ac_cv_prog_cc_c99=no
4279 ac_save_CC=$CC
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4282 $ac_c_conftest_c99_program
4283 _ACEOF
4284 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4285 do
4286 CC="$ac_save_CC $ac_arg"
4287 if ac_fn_c_try_compile "$LINENO"
4288 then :
4289 ac_cv_prog_cc_c99=$ac_arg
4290 fi
4291 rm -f core conftest.err conftest.$ac_objext conftest.beam
4292 test "x$ac_cv_prog_cc_c99" != "xno" && break
4293 done
4294 rm -f conftest.$ac_ext
4295 CC=$ac_save_CC
4296 fi
4297
4298 if test "x$ac_cv_prog_cc_c99" = xno
4299 then :
4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4301 printf "%s\n" "unsupported" >&6; }
4302 else $as_nop
4303 if test "x$ac_cv_prog_cc_c99" = x
4304 then :
4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4306 printf "%s\n" "none needed" >&6; }
4307 else $as_nop
4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4309 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4310 CC="$CC $ac_cv_prog_cc_c99"
4311 fi
4312 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4313 ac_prog_cc_stdc=c99
4314 fi
4315 fi
4316 if test x$ac_prog_cc_stdc = xno
4317 then :
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4319 printf %s "checking for $CC option to enable C89 features... " >&6; }
4320 if test ${ac_cv_prog_cc_c89+y}
4321 then :
4322 printf %s "(cached) " >&6
4323 else $as_nop
37394324 ac_cv_prog_cc_c89=no
37404325 ac_save_CC=$CC
37414326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37424327 /* end confdefs.h. */
3743 #include <stdarg.h>
3744 #include <stdio.h>
3745 struct stat;
3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3747 struct buf { int x; };
3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3749 static char *e (p, i)
3750 char **p;
3751 int i;
3752 {
3753 return p[i];
3754 }
3755 static char *f (char * (*g) (char **, int), char **p, ...)
3756 {
3757 char *s;
3758 va_list v;
3759 va_start (v,p);
3760 s = g (p, va_arg (v,int));
3761 va_end (v);
3762 return s;
3763 }
3764
3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3766 function prototypes and stuff, but not '\xHH' hex character constants.
3767 These don't provoke an error unfortunately, instead are silently treated
3768 as 'x'. The following induces an error, until -std is added to get
3769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3770 array size at least. It's necessary to write '\x00'==0 to get something
3771 that's true only with -std. */
3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3773
3774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3775 inside strings and character constants. */
3776 #define FOO(x) 'x'
3777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3778
3779 int test (int i, double x);
3780 struct s1 {int (*f) (int a);};
3781 struct s2 {int (*f) (double a);};
3782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3783 int argc;
3784 char **argv;
3785 int
3786 main ()
3787 {
3788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3789 ;
3790 return 0;
3791 }
4328 $ac_c_conftest_c89_program
37924329 _ACEOF
3793 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3794 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37954331 do
37964332 CC="$ac_save_CC $ac_arg"
3797 if ac_fn_c_try_compile "$LINENO"; then :
4333 if ac_fn_c_try_compile "$LINENO"
4334 then :
37984335 ac_cv_prog_cc_c89=$ac_arg
37994336 fi
3800 rm -f core conftest.err conftest.$ac_objext
4337 rm -f core conftest.err conftest.$ac_objext conftest.beam
38014338 test "x$ac_cv_prog_cc_c89" != "xno" && break
38024339 done
38034340 rm -f conftest.$ac_ext
38044341 CC=$ac_save_CC
3805
3806 fi
3807 # AC_CACHE_VAL
3808 case "x$ac_cv_prog_cc_c89" in
3809 x)
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3811 $as_echo "none needed" >&6; } ;;
3812 xno)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3814 $as_echo "unsupported" >&6; } ;;
3815 *)
3816 CC="$CC $ac_cv_prog_cc_c89"
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3818 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3819 esac
3820 if test "x$ac_cv_prog_cc_c89" != xno; then :
3821
4342 fi
4343
4344 if test "x$ac_cv_prog_cc_c89" = xno
4345 then :
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 printf "%s\n" "unsupported" >&6; }
4348 else $as_nop
4349 if test "x$ac_cv_prog_cc_c89" = x
4350 then :
4351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4352 printf "%s\n" "none needed" >&6; }
4353 else $as_nop
4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4355 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4356 CC="$CC $ac_cv_prog_cc_c89"
4357 fi
4358 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4359 ac_prog_cc_stdc=c89
4360 fi
38224361 fi
38234362
38244363 ac_ext=c
38274366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38284367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38294368
3830 ac_ext=c
4369
4370 ac_ext=c
38314371 ac_cpp='$CPP $CPPFLAGS'
38324372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3836 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3837 if ${am_cv_prog_cc_c_o+:} false; then :
3838 $as_echo_n "(cached) " >&6
3839 else
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4376 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4377 if test ${am_cv_prog_cc_c_o+y}
4378 then :
4379 printf %s "(cached) " >&6
4380 else $as_nop
38404381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414382 /* end confdefs.h. */
38424383
38434384 int
3844 main ()
4385 main (void)
38454386 {
38464387
38474388 ;
38694410 rm -f core conftest*
38704411 unset am_i
38714412 fi
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3873 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4414 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
38744415 if test "$am_cv_prog_cc_c_o" != yes; then
38754416 # Losing compiler, so override with the script.
38764417 # FIXME: It is wrong to rewrite CC.
38894430
38904431 ac_config_commands="$ac_config_commands depfiles"
38914432
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3893 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4434 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
38944435 cat > confinc.mk << 'END'
38954436 am__doit:
38964437 @echo this is the am__doit target >confinc.out
39264467 fi
39274468 done
39284469 rm -f confinc.* confmf.*
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3930 $as_echo "${_am_result}" >&6; }
4470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4471 printf "%s\n" "${_am_result}" >&6; }
39314472
39324473 # Check whether --enable-dependency-tracking was given.
3933 if test "${enable_dependency_tracking+set}" = set; then :
4474 if test ${enable_dependency_tracking+y}
4475 then :
39344476 enableval=$enable_dependency_tracking;
39354477 fi
39364478
39514493
39524494 depcc="$CC" am_compiler_list=
39534495
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3955 $as_echo_n "checking dependency style of $depcc... " >&6; }
3956 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4497 printf %s "checking dependency style of $depcc... " >&6; }
4498 if test ${am_cv_CC_dependencies_compiler_type+y}
4499 then :
4500 printf %s "(cached) " >&6
4501 else $as_nop
39594502 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
39604503 # We make a subdir and do the tests there. Otherwise we can end up
39614504 # making bogus files that we don't know about and never remove. For
40624605 fi
40634606
40644607 fi
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4066 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4609 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
40674610 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
40684611
40694612 if
40784621
40794622
40804623
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4082 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4083 if ${ac_cv_c_const+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4625 printf %s "checking for an ANSI C-conforming const... " >&6; }
4626 if test ${ac_cv_c_const+y}
4627 then :
4628 printf %s "(cached) " >&6
4629 else $as_nop
40864630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40874631 /* end confdefs.h. */
40884632
40894633 int
4090 main ()
4634 main (void)
40914635 {
40924636
40934637 #ifndef __cplusplus
41004644 /* NEC SVR4.0.2 mips cc rejects this. */
41014645 struct point {int x, y;};
41024646 static struct point const zero = {0,0};
4103 /* AIX XL C 1.02.0.0 rejects this.
4647 /* IBM XL C 1.02.0.0 rejects this.
41044648 It does not let you subtract one const X* pointer from another in
41054649 an arm of an if-expression whose if-part is not a constant
41064650 expression */
41284672 iptr p = 0;
41294673 ++p;
41304674 }
4131 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4675 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
41324676 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
41334677 struct s { int j; const int *ap[3]; } bx;
41344678 struct s *b = &bx; b->j = 5;
41444688 return 0;
41454689 }
41464690 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4691 if ac_fn_c_try_compile "$LINENO"
4692 then :
41484693 ac_cv_c_const=yes
4149 else
4694 else $as_nop
41504695 ac_cv_c_const=no
41514696 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4155 $as_echo "$ac_cv_c_const" >&6; }
4697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4698 fi
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4700 printf "%s\n" "$ac_cv_c_const" >&6; }
41564701 if test $ac_cv_c_const = no; then
41574702
4158 $as_echo "#define const /**/" >>confdefs.h
4703 printf "%s\n" "#define const /**/" >>confdefs.h
41594704
41604705 fi
41614706
41624707 case `pwd` in
41634708 *\ * | *\ *)
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4165 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4710 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
41664711 esac
41674712
41684713
41694714
4170 macro_version='2.4.6'
4171 macro_revision='2.4.6'
4715 macro_version='2.4.7'
4716 macro_revision='2.4.7'
4717
41724718
41734719
41744720
41844730
41854731 ltmain=$ac_aux_dir/ltmain.sh
41864732
4187 # Make sure we can run config.sub.
4188 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4189 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4190
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4192 $as_echo_n "checking build system type... " >&6; }
4193 if ${ac_cv_build+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4733
4734
4735 # Make sure we can run config.sub.
4736 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4737 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4738
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4740 printf %s "checking build system type... " >&6; }
4741 if test ${ac_cv_build+y}
4742 then :
4743 printf %s "(cached) " >&6
4744 else $as_nop
41964745 ac_build_alias=$build_alias
41974746 test "x$ac_build_alias" = x &&
4198 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4747 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
41994748 test "x$ac_build_alias" = x &&
42004749 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4201 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4202 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4203
4204 fi
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4206 $as_echo "$ac_cv_build" >&6; }
4750 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4751 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4752
4753 fi
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4755 printf "%s\n" "$ac_cv_build" >&6; }
42074756 case $ac_cv_build in
42084757 *-*-*) ;;
42094758 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
42224771 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
42234772
42244773
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4226 $as_echo_n "checking host system type... " >&6; }
4227 if ${ac_cv_host+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4775 printf %s "checking host system type... " >&6; }
4776 if test ${ac_cv_host+y}
4777 then :
4778 printf %s "(cached) " >&6
4779 else $as_nop
42304780 if test "x$host_alias" = x; then
42314781 ac_cv_host=$ac_cv_build
42324782 else
4233 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4234 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4235 fi
4236
4237 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4239 $as_echo "$ac_cv_host" >&6; }
4783 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4784 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4785 fi
4786
4787 fi
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4789 printf "%s\n" "$ac_cv_host" >&6; }
42404790 case $ac_cv_host in
42414791 *-*-*) ;;
42424792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
42764826 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
42774827 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
42784828
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4280 $as_echo_n "checking how to print strings... " >&6; }
4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4830 printf %s "checking how to print strings... " >&6; }
42814831 # Test print first, because it will be a builtin if present.
42824832 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
42834833 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
43034853 }
43044854
43054855 case $ECHO in
4306 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4307 $as_echo "printf" >&6; } ;;
4308 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4309 $as_echo "print -r" >&6; } ;;
4310 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4311 $as_echo "cat" >&6; } ;;
4856 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4857 printf "%s\n" "printf" >&6; } ;;
4858 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4859 printf "%s\n" "print -r" >&6; } ;;
4860 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4861 printf "%s\n" "cat" >&6; } ;;
43124862 esac
43134863
43144864
43244874
43254875
43264876
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4328 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4329 if ${ac_cv_path_SED+:} false; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4878 printf %s "checking for a sed that does not truncate output... " >&6; }
4879 if test ${ac_cv_path_SED+y}
4880 then :
4881 printf %s "(cached) " >&6
4882 else $as_nop
43324883 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
43334884 for ac_i in 1 2 3 4 5 6 7; do
43344885 ac_script="$ac_script$as_nl$ac_script"
43424893 for as_dir in $PATH
43434894 do
43444895 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_prog in sed gsed; do
4896 case $as_dir in #(((
4897 '') as_dir=./ ;;
4898 */) ;;
4899 *) as_dir=$as_dir/ ;;
4900 esac
4901 for ac_prog in sed gsed
4902 do
43474903 for ac_exec_ext in '' $ac_executable_extensions; do
4348 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4904 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
43494905 as_fn_executable_p "$ac_path_SED" || continue
43504906 # Check for GNU ac_path_SED and select it if it is found.
43514907 # Check for GNU $ac_path_SED
43544910 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
43554911 *)
43564912 ac_count=0
4357 $as_echo_n 0123456789 >"conftest.in"
4913 printf %s 0123456789 >"conftest.in"
43584914 while :
43594915 do
43604916 cat "conftest.in" "conftest.in" >"conftest.tmp"
43614917 mv "conftest.tmp" "conftest.in"
43624918 cp "conftest.in" "conftest.nl"
4363 $as_echo '' >> "conftest.nl"
4919 printf "%s\n" '' >> "conftest.nl"
43644920 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
43654921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
43664922 as_fn_arith $ac_count + 1 && ac_count=$as_val
43884944 fi
43894945
43904946 fi
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4392 $as_echo "$ac_cv_path_SED" >&6; }
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4948 printf "%s\n" "$ac_cv_path_SED" >&6; }
43934949 SED="$ac_cv_path_SED"
43944950 rm -f conftest.sed
43954951
44064962
44074963
44084964
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4410 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4411 if ${ac_cv_path_GREP+:} false; then :
4412 $as_echo_n "(cached) " >&6
4413 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4966 printf %s "checking for grep that handles long lines and -e... " >&6; }
4967 if test ${ac_cv_path_GREP+y}
4968 then :
4969 printf %s "(cached) " >&6
4970 else $as_nop
44144971 if test -z "$GREP"; then
44154972 ac_path_GREP_found=false
44164973 # Loop through the user's path and test for each of PROGNAME-LIST
44184975 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
44194976 do
44204977 IFS=$as_save_IFS
4421 test -z "$as_dir" && as_dir=.
4422 for ac_prog in grep ggrep; do
4978 case $as_dir in #(((
4979 '') as_dir=./ ;;
4980 */) ;;
4981 *) as_dir=$as_dir/ ;;
4982 esac
4983 for ac_prog in grep ggrep
4984 do
44234985 for ac_exec_ext in '' $ac_executable_extensions; do
4424 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4986 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
44254987 as_fn_executable_p "$ac_path_GREP" || continue
44264988 # Check for GNU ac_path_GREP and select it if it is found.
44274989 # Check for GNU $ac_path_GREP
44304992 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
44314993 *)
44324994 ac_count=0
4433 $as_echo_n 0123456789 >"conftest.in"
4995 printf %s 0123456789 >"conftest.in"
44344996 while :
44354997 do
44364998 cat "conftest.in" "conftest.in" >"conftest.tmp"
44374999 mv "conftest.tmp" "conftest.in"
44385000 cp "conftest.in" "conftest.nl"
4439 $as_echo 'GREP' >> "conftest.nl"
5001 printf "%s\n" 'GREP' >> "conftest.nl"
44405002 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44415003 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
44425004 as_fn_arith $ac_count + 1 && ac_count=$as_val
44645026 fi
44655027
44665028 fi
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4468 $as_echo "$ac_cv_path_GREP" >&6; }
5029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5030 printf "%s\n" "$ac_cv_path_GREP" >&6; }
44695031 GREP="$ac_cv_path_GREP"
44705032
44715033
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4473 $as_echo_n "checking for egrep... " >&6; }
4474 if ${ac_cv_path_EGREP+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5035 printf %s "checking for egrep... " >&6; }
5036 if test ${ac_cv_path_EGREP+y}
5037 then :
5038 printf %s "(cached) " >&6
5039 else $as_nop
44775040 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
44785041 then ac_cv_path_EGREP="$GREP -E"
44795042 else
44845047 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
44855048 do
44865049 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_prog in egrep; do
5050 case $as_dir in #(((
5051 '') as_dir=./ ;;
5052 */) ;;
5053 *) as_dir=$as_dir/ ;;
5054 esac
5055 for ac_prog in egrep
5056 do
44895057 for ac_exec_ext in '' $ac_executable_extensions; do
4490 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5058 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
44915059 as_fn_executable_p "$ac_path_EGREP" || continue
44925060 # Check for GNU ac_path_EGREP and select it if it is found.
44935061 # Check for GNU $ac_path_EGREP
44965064 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
44975065 *)
44985066 ac_count=0
4499 $as_echo_n 0123456789 >"conftest.in"
5067 printf %s 0123456789 >"conftest.in"
45005068 while :
45015069 do
45025070 cat "conftest.in" "conftest.in" >"conftest.tmp"
45035071 mv "conftest.tmp" "conftest.in"
45045072 cp "conftest.in" "conftest.nl"
4505 $as_echo 'EGREP' >> "conftest.nl"
5073 printf "%s\n" 'EGREP' >> "conftest.nl"
45065074 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
45075075 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45085076 as_fn_arith $ac_count + 1 && ac_count=$as_val
45315099
45325100 fi
45335101 fi
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4535 $as_echo "$ac_cv_path_EGREP" >&6; }
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5103 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
45365104 EGREP="$ac_cv_path_EGREP"
45375105
45385106
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4540 $as_echo_n "checking for fgrep... " >&6; }
4541 if ${ac_cv_path_FGREP+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5108 printf %s "checking for fgrep... " >&6; }
5109 if test ${ac_cv_path_FGREP+y}
5110 then :
5111 printf %s "(cached) " >&6
5112 else $as_nop
45445113 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
45455114 then ac_cv_path_FGREP="$GREP -F"
45465115 else
45515120 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
45525121 do
45535122 IFS=$as_save_IFS
4554 test -z "$as_dir" && as_dir=.
4555 for ac_prog in fgrep; do
5123 case $as_dir in #(((
5124 '') as_dir=./ ;;
5125 */) ;;
5126 *) as_dir=$as_dir/ ;;
5127 esac
5128 for ac_prog in fgrep
5129 do
45565130 for ac_exec_ext in '' $ac_executable_extensions; do
4557 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5131 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
45585132 as_fn_executable_p "$ac_path_FGREP" || continue
45595133 # Check for GNU ac_path_FGREP and select it if it is found.
45605134 # Check for GNU $ac_path_FGREP
45635137 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
45645138 *)
45655139 ac_count=0
4566 $as_echo_n 0123456789 >"conftest.in"
5140 printf %s 0123456789 >"conftest.in"
45675141 while :
45685142 do
45695143 cat "conftest.in" "conftest.in" >"conftest.tmp"
45705144 mv "conftest.tmp" "conftest.in"
45715145 cp "conftest.in" "conftest.nl"
4572 $as_echo 'FGREP' >> "conftest.nl"
5146 printf "%s\n" 'FGREP' >> "conftest.nl"
45735147 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
45745148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45755149 as_fn_arith $ac_count + 1 && ac_count=$as_val
45985172
45995173 fi
46005174 fi
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4602 $as_echo "$ac_cv_path_FGREP" >&6; }
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5176 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
46035177 FGREP="$ac_cv_path_FGREP"
46045178
46055179
46245198
46255199
46265200 # Check whether --with-gnu-ld was given.
4627 if test "${with_gnu_ld+set}" = set; then :
5201 if test ${with_gnu_ld+y}
5202 then :
46285203 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4629 else
5204 else $as_nop
46305205 with_gnu_ld=no
46315206 fi
46325207
46335208 ac_prog=ld
46345209 if test yes = "$GCC"; then
46355210 # Check if gcc -print-prog-name=ld gives a path.
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4637 $as_echo_n "checking for ld used by $CC... " >&6; }
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5212 printf %s "checking for ld used by $CC... " >&6; }
46385213 case $host in
46395214 *-*-mingw*)
46405215 # gcc leaves a trailing carriage return, which upsets mingw
46635238 ;;
46645239 esac
46655240 elif test yes = "$with_gnu_ld"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4667 $as_echo_n "checking for GNU ld... " >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4670 $as_echo_n "checking for non-GNU ld... " >&6; }
4671 fi
4672 if ${lt_cv_path_LD+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
5241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5242 printf %s "checking for GNU ld... " >&6; }
5243 else
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5245 printf %s "checking for non-GNU ld... " >&6; }
5246 fi
5247 if test ${lt_cv_path_LD+y}
5248 then :
5249 printf %s "(cached) " >&6
5250 else $as_nop
46755251 if test -z "$LD"; then
46765252 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
46775253 for ac_dir in $PATH; do
47005276
47015277 LD=$lt_cv_path_LD
47025278 if test -n "$LD"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4704 $as_echo "$LD" >&6; }
4705 else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5280 printf "%s\n" "$LD" >&6; }
5281 else
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 printf "%s\n" "no" >&6; }
47085284 fi
47095285 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4711 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4712 if ${lt_cv_prog_gnu_ld+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714 else
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5287 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5288 if test ${lt_cv_prog_gnu_ld+y}
5289 then :
5290 printf %s "(cached) " >&6
5291 else $as_nop
47155292 # I'd rather use --version here, but apparently some GNU lds only accept -v.
47165293 case `$LD -v 2>&1 </dev/null` in
47175294 *GNU* | *'with BFD'*)
47225299 ;;
47235300 esac
47245301 fi
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4726 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5303 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
47275304 with_gnu_ld=$lt_cv_prog_gnu_ld
47285305
47295306
47345311
47355312
47365313
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4738 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4739 if ${lt_cv_path_NM+:} false; then :
4740 $as_echo_n "(cached) " >&6
4741 else
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5315 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5316 if test ${lt_cv_path_NM+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else $as_nop
47425320 if test -n "$NM"; then
47435321 # Let the user override the test.
47445322 lt_cv_path_NM=$NM
47635341 mingw*) lt_bad_file=conftest.nm/nofile ;;
47645342 *) lt_bad_file=/dev/null ;;
47655343 esac
4766 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5344 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
47675345 *$lt_bad_file* | *'Invalid file or object type'*)
47685346 lt_cv_path_NM="$tmp_nm -B"
47695347 break 2
47705348 ;;
47715349 *)
4772 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5350 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
47735351 */dev/null*)
47745352 lt_cv_path_NM="$tmp_nm -p"
47755353 break 2
47885366 : ${lt_cv_path_NM=no}
47895367 fi
47905368 fi
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4792 $as_echo "$lt_cv_path_NM" >&6; }
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5370 printf "%s\n" "$lt_cv_path_NM" >&6; }
47935371 if test no != "$lt_cv_path_NM"; then
47945372 NM=$lt_cv_path_NM
47955373 else
48025380 do
48035381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
48045382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if ${ac_cv_prog_DUMPBIN+:} false; then :
4808 $as_echo_n "(cached) " >&6
4809 else
5383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 printf %s "checking for $ac_word... " >&6; }
5385 if test ${ac_cv_prog_DUMPBIN+y}
5386 then :
5387 printf %s "(cached) " >&6
5388 else $as_nop
48105389 if test -n "$DUMPBIN"; then
48115390 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
48125391 else
48145393 for as_dir in $PATH
48155394 do
48165395 IFS=$as_save_IFS
4817 test -z "$as_dir" && as_dir=.
5396 case $as_dir in #(((
5397 '') as_dir=./ ;;
5398 */) ;;
5399 *) as_dir=$as_dir/ ;;
5400 esac
48185401 for ac_exec_ext in '' $ac_executable_extensions; do
4819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
48205403 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
48225405 break 2
48235406 fi
48245407 done
48295412 fi
48305413 DUMPBIN=$ac_cv_prog_DUMPBIN
48315414 if test -n "$DUMPBIN"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4833 $as_echo "$DUMPBIN" >&6; }
4834 else
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
5415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5416 printf "%s\n" "$DUMPBIN" >&6; }
5417 else
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 printf "%s\n" "no" >&6; }
48375420 fi
48385421
48395422
48465429 do
48475430 # Extract the first word of "$ac_prog", so it can be a program name with args.
48485431 set dummy $ac_prog; ac_word=$2
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4852 $as_echo_n "(cached) " >&6
4853 else
5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 printf %s "checking for $ac_word... " >&6; }
5434 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5435 then :
5436 printf %s "(cached) " >&6
5437 else $as_nop
48545438 if test -n "$ac_ct_DUMPBIN"; then
48555439 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
48565440 else
48585442 for as_dir in $PATH
48595443 do
48605444 IFS=$as_save_IFS
4861 test -z "$as_dir" && as_dir=.
5445 case $as_dir in #(((
5446 '') as_dir=./ ;;
5447 */) ;;
5448 *) as_dir=$as_dir/ ;;
5449 esac
48625450 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
48645452 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
48665454 break 2
48675455 fi
48685456 done
48735461 fi
48745462 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
48755463 if test -n "$ac_ct_DUMPBIN"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4877 $as_echo "$ac_ct_DUMPBIN" >&6; }
4878 else
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5465 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5466 else
5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 printf "%s\n" "no" >&6; }
48815469 fi
48825470
48835471
48895477 else
48905478 case $cross_compiling:$ac_tool_warned in
48915479 yes:)
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48945482 ac_tool_warned=yes ;;
48955483 esac
48965484 DUMPBIN=$ac_ct_DUMPBIN
48975485 fi
48985486 fi
48995487
4900 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5488 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
49015489 *COFF*)
49025490 DUMPBIN="$DUMPBIN -symbols -headers"
49035491 ;;
49185506
49195507
49205508
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4922 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4923 if ${lt_cv_nm_interface+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5510 printf %s "checking the name lister ($NM) interface... " >&6; }
5511 if test ${lt_cv_nm_interface+y}
5512 then :
5513 printf %s "(cached) " >&6
5514 else $as_nop
49265515 lt_cv_nm_interface="BSD nm"
49275516 echo "int some_variable = 0;" > conftest.$ac_ext
49285517 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
49385527 fi
49395528 rm -f conftest*
49405529 fi
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4942 $as_echo "$lt_cv_nm_interface" >&6; }
4943
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4945 $as_echo_n "checking whether ln -s works... " >&6; }
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5531 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5532
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5534 printf %s "checking whether ln -s works... " >&6; }
49465535 LN_S=$as_ln_s
49475536 if test "$LN_S" = "ln -s"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4952 $as_echo "no, using $LN_S" >&6; }
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5538 printf "%s\n" "yes" >&6; }
5539 else
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5541 printf "%s\n" "no, using $LN_S" >&6; }
49535542 fi
49545543
49555544 # find the maximum length of command line arguments
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4957 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4958 if ${lt_cv_sys_max_cmd_len+:} false; then :
4959 $as_echo_n "(cached) " >&6
4960 else
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5546 printf %s "checking the maximum length of command line arguments... " >&6; }
5547 if test ${lt_cv_sys_max_cmd_len+y}
5548 then :
5549 printf %s "(cached) " >&6
5550 else $as_nop
49615551 i=0
49625552 teststring=ABCD
49635553
49995589 lt_cv_sys_max_cmd_len=8192;
50005590 ;;
50015591
5002 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5592 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
50035593 # This has been around since 386BSD, at least. Likely further.
50045594 if test -x /sbin/sysctl; then
50055595 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
50425632 sysv5* | sco5v6* | sysv4.2uw2*)
50435633 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
50445634 if test -n "$kargmax"; then
5045 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5635 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
50465636 else
50475637 lt_cv_sys_max_cmd_len=32768
50485638 fi
50845674 fi
50855675
50865676 if test -n "$lt_cv_sys_max_cmd_len"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5091 $as_echo "none" >&6; }
5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5678 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5679 else
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5681 printf "%s\n" "none" >&6; }
50925682 fi
50935683 max_cmd_len=$lt_cv_sys_max_cmd_len
50945684
51325722
51335723
51345724
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5136 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5137 if ${lt_cv_to_host_file_cmd+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5726 printf %s "checking how to convert $build file names to $host format... " >&6; }
5727 if test ${lt_cv_to_host_file_cmd+y}
5728 then :
5729 printf %s "(cached) " >&6
5730 else $as_nop
51405731 case $host in
51415732 *-*-mingw* )
51425733 case $build in
51725763 fi
51735764
51745765 to_host_file_cmd=$lt_cv_to_host_file_cmd
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5176 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5177
5178
5179
5180
5181
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5183 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5184 if ${lt_cv_to_tool_file_cmd+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5767 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5768
5769
5770
5771
5772
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5774 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5775 if test ${lt_cv_to_tool_file_cmd+y}
5776 then :
5777 printf %s "(cached) " >&6
5778 else $as_nop
51875779 #assume ordinary cross tools, or native build.
51885780 lt_cv_to_tool_file_cmd=func_convert_file_noop
51895781 case $host in
51995791 fi
52005792
52015793 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5203 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5204
5205
5206
5207
5208
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5210 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5211 if ${lt_cv_ld_reload_flag+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5795 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5796
5797
5798
5799
5800
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5802 printf %s "checking for $LD option to reload object files... " >&6; }
5803 if test ${lt_cv_ld_reload_flag+y}
5804 then :
5805 printf %s "(cached) " >&6
5806 else $as_nop
52145807 lt_cv_ld_reload_flag='-r'
52155808 fi
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5217 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5810 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
52185811 reload_flag=$lt_cv_ld_reload_flag
52195812 case $reload_flag in
52205813 "" | " "*) ;;
52455838
52465839
52475840 if test -n "$ac_tool_prefix"; then
5248 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5249 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_OBJDUMP+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$OBJDUMP"; then
5256 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5841 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
5842 set dummy ${ac_tool_prefix}file; ac_word=$2
5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 printf %s "checking for $ac_word... " >&6; }
5845 if test ${ac_cv_prog_FILECMD+y}
5846 then :
5847 printf %s "(cached) " >&6
5848 else $as_nop
5849 if test -n "$FILECMD"; then
5850 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
52575851 else
52585852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52595853 for as_dir in $PATH
52605854 do
52615855 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5856 case $as_dir in #(((
5857 '') as_dir=./ ;;
5858 */) ;;
5859 *) as_dir=$as_dir/ ;;
5860 esac
52635861 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
5864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
52675865 break 2
52685866 fi
52695867 done
52725870
52735871 fi
52745872 fi
5275 OBJDUMP=$ac_cv_prog_OBJDUMP
5276 if test -n "$OBJDUMP"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5278 $as_echo "$OBJDUMP" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5282 fi
5283
5284
5285 fi
5286 if test -z "$ac_cv_prog_OBJDUMP"; then
5287 ac_ct_OBJDUMP=$OBJDUMP
5288 # Extract the first word of "objdump", so it can be a program name with args.
5289 set dummy objdump; ac_word=$2
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5291 $as_echo_n "checking for $ac_word... " >&6; }
5292 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 if test -n "$ac_ct_OBJDUMP"; then
5296 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5873 FILECMD=$ac_cv_prog_FILECMD
5874 if test -n "$FILECMD"; then
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
5876 printf "%s\n" "$FILECMD" >&6; }
5877 else
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 printf "%s\n" "no" >&6; }
5880 fi
5881
5882
5883 fi
5884 if test -z "$ac_cv_prog_FILECMD"; then
5885 ac_ct_FILECMD=$FILECMD
5886 # Extract the first word of "file", so it can be a program name with args.
5887 set dummy file; ac_word=$2
5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 printf %s "checking for $ac_word... " >&6; }
5890 if test ${ac_cv_prog_ac_ct_FILECMD+y}
5891 then :
5892 printf %s "(cached) " >&6
5893 else $as_nop
5894 if test -n "$ac_ct_FILECMD"; then
5895 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
52975896 else
52985897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52995898 for as_dir in $PATH
53005899 do
53015900 IFS=$as_save_IFS
5302 test -z "$as_dir" && as_dir=.
5901 case $as_dir in #(((
5902 '') as_dir=./ ;;
5903 */) ;;
5904 *) as_dir=$as_dir/ ;;
5905 esac
53035906 for ac_exec_ext in '' $ac_executable_extensions; do
5304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5305 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_ac_ct_FILECMD="file"
5909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
53075910 break 2
53085911 fi
53095912 done
53125915
53135916 fi
53145917 fi
5918 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
5919 if test -n "$ac_ct_FILECMD"; then
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
5921 printf "%s\n" "$ac_ct_FILECMD" >&6; }
5922 else
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 printf "%s\n" "no" >&6; }
5925 fi
5926
5927 if test "x$ac_ct_FILECMD" = x; then
5928 FILECMD=":"
5929 else
5930 case $cross_compiling:$ac_tool_warned in
5931 yes:)
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934 ac_tool_warned=yes ;;
5935 esac
5936 FILECMD=$ac_ct_FILECMD
5937 fi
5938 else
5939 FILECMD="$ac_cv_prog_FILECMD"
5940 fi
5941
5942
5943
5944
5945
5946
5947
5948 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5950 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 printf %s "checking for $ac_word... " >&6; }
5953 if test ${ac_cv_prog_OBJDUMP+y}
5954 then :
5955 printf %s "(cached) " >&6
5956 else $as_nop
5957 if test -n "$OBJDUMP"; then
5958 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5962 do
5963 IFS=$as_save_IFS
5964 case $as_dir in #(((
5965 '') as_dir=./ ;;
5966 */) ;;
5967 *) as_dir=$as_dir/ ;;
5968 esac
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5973 break 2
5974 fi
5975 done
5976 done
5977 IFS=$as_save_IFS
5978
5979 fi
5980 fi
5981 OBJDUMP=$ac_cv_prog_OBJDUMP
5982 if test -n "$OBJDUMP"; then
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5984 printf "%s\n" "$OBJDUMP" >&6; }
5985 else
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 printf "%s\n" "no" >&6; }
5988 fi
5989
5990
5991 fi
5992 if test -z "$ac_cv_prog_OBJDUMP"; then
5993 ac_ct_OBJDUMP=$OBJDUMP
5994 # Extract the first word of "objdump", so it can be a program name with args.
5995 set dummy objdump; ac_word=$2
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 printf %s "checking for $ac_word... " >&6; }
5998 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5999 then :
6000 printf %s "(cached) " >&6
6001 else $as_nop
6002 if test -n "$ac_ct_OBJDUMP"; then
6003 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6007 do
6008 IFS=$as_save_IFS
6009 case $as_dir in #(((
6010 '') as_dir=./ ;;
6011 */) ;;
6012 *) as_dir=$as_dir/ ;;
6013 esac
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6018 break 2
6019 fi
6020 done
6021 done
6022 IFS=$as_save_IFS
6023
6024 fi
6025 fi
53156026 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
53166027 if test -n "$ac_ct_OBJDUMP"; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5318 $as_echo "$ac_ct_OBJDUMP" >&6; }
5319 else
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 $as_echo "no" >&6; }
6028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6029 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6030 else
6031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 printf "%s\n" "no" >&6; }
53226033 fi
53236034
53246035 if test "x$ac_ct_OBJDUMP" = x; then
53266037 else
53276038 case $cross_compiling:$ac_tool_warned in
53286039 yes:)
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6041 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
53316042 ac_tool_warned=yes ;;
53326043 esac
53336044 OBJDUMP=$ac_ct_OBJDUMP
53466057
53476058
53486059
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5350 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5351 if ${lt_cv_deplibs_check_method+:} false; then :
5352 $as_echo_n "(cached) " >&6
5353 else
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6061 printf %s "checking how to recognize dependent libraries... " >&6; }
6062 if test ${lt_cv_deplibs_check_method+y}
6063 then :
6064 printf %s "(cached) " >&6
6065 else $as_nop
53546066 lt_cv_file_magic_cmd='$MAGIC_CMD'
53556067 lt_cv_file_magic_test_file=
53566068 lt_cv_deplibs_check_method='unknown'
53766088
53776089 bsdi[45]*)
53786090 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5379 lt_cv_file_magic_cmd='/usr/bin/file -L'
6091 lt_cv_file_magic_cmd='$FILECMD -L'
53806092 lt_cv_file_magic_test_file=/shlib/libc.so
53816093 ;;
53826094
54106122 lt_cv_deplibs_check_method=pass_all
54116123 ;;
54126124
5413 freebsd* | dragonfly*)
6125 freebsd* | dragonfly* | midnightbsd*)
54146126 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
54156127 case $host_cpu in
54166128 i*86 )
54176129 # Not sure whether the presence of OpenBSD here was a mistake.
54186130 # Let's accept both of them until this is cleared up.
54196131 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5420 lt_cv_file_magic_cmd=/usr/bin/file
6132 lt_cv_file_magic_cmd=$FILECMD
54216133 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
54226134 ;;
54236135 esac
54316143 ;;
54326144
54336145 hpux10.20* | hpux11*)
5434 lt_cv_file_magic_cmd=/usr/bin/file
6146 lt_cv_file_magic_cmd=$FILECMD
54356147 case $host_cpu in
54366148 ia64*)
54376149 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
54786190
54796191 newos6*)
54806192 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5481 lt_cv_file_magic_cmd=/usr/bin/file
6193 lt_cv_file_magic_cmd=$FILECMD
54826194 lt_cv_file_magic_test_file=/usr/lib/libnls.so
54836195 ;;
54846196
55466258 esac
55476259
55486260 fi
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5550 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6262 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
55516263
55526264 file_magic_glob=
55536265 want_nocaseglob=no
55916303 if test -n "$ac_tool_prefix"; then
55926304 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
55936305 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_DLLTOOL+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 printf %s "checking for $ac_word... " >&6; }
6308 if test ${ac_cv_prog_DLLTOOL+y}
6309 then :
6310 printf %s "(cached) " >&6
6311 else $as_nop
55996312 if test -n "$DLLTOOL"; then
56006313 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
56016314 else
56036316 for as_dir in $PATH
56046317 do
56056318 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
6319 case $as_dir in #(((
6320 '') as_dir=./ ;;
6321 */) ;;
6322 *) as_dir=$as_dir/ ;;
6323 esac
56076324 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
56096326 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
56116328 break 2
56126329 fi
56136330 done
56186335 fi
56196336 DLLTOOL=$ac_cv_prog_DLLTOOL
56206337 if test -n "$DLLTOOL"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5622 $as_echo "$DLLTOOL" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6339 printf "%s\n" "$DLLTOOL" >&6; }
6340 else
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 printf "%s\n" "no" >&6; }
56266343 fi
56276344
56286345
56316348 ac_ct_DLLTOOL=$DLLTOOL
56326349 # Extract the first word of "dlltool", so it can be a program name with args.
56336350 set dummy dlltool; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 printf %s "checking for $ac_word... " >&6; }
6353 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6354 then :
6355 printf %s "(cached) " >&6
6356 else $as_nop
56396357 if test -n "$ac_ct_DLLTOOL"; then
56406358 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
56416359 else
56436361 for as_dir in $PATH
56446362 do
56456363 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
6364 case $as_dir in #(((
6365 '') as_dir=./ ;;
6366 */) ;;
6367 *) as_dir=$as_dir/ ;;
6368 esac
56476369 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6370 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
56496371 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
56516373 break 2
56526374 fi
56536375 done
56586380 fi
56596381 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
56606382 if test -n "$ac_ct_DLLTOOL"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5662 $as_echo "$ac_ct_DLLTOOL" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6384 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6385 else
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387 printf "%s\n" "no" >&6; }
56666388 fi
56676389
56686390 if test "x$ac_ct_DLLTOOL" = x; then
56706392 else
56716393 case $cross_compiling:$ac_tool_warned in
56726394 yes:)
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
56756397 ac_tool_warned=yes ;;
56766398 esac
56776399 DLLTOOL=$ac_ct_DLLTOOL
56916413
56926414
56936415
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5695 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5696 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6417 printf %s "checking how to associate runtime and link libraries... " >&6; }
6418 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6419 then :
6420 printf %s "(cached) " >&6
6421 else $as_nop
56996422 lt_cv_sharedlib_from_linklib_cmd='unknown'
57006423
57016424 case $host_os in
57186441 esac
57196442
57206443 fi
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5722 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6445 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
57236446 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
57246447 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
57256448
57346457 do
57356458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
57366459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_AR+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 printf %s "checking for $ac_word... " >&6; }
6462 if test ${ac_cv_prog_AR+y}
6463 then :
6464 printf %s "(cached) " >&6
6465 else $as_nop
57426466 if test -n "$AR"; then
57436467 ac_cv_prog_AR="$AR" # Let the user override the test.
57446468 else
57466470 for as_dir in $PATH
57476471 do
57486472 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
6473 case $as_dir in #(((
6474 '') as_dir=./ ;;
6475 */) ;;
6476 *) as_dir=$as_dir/ ;;
6477 esac
57506478 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57526480 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57546482 break 2
57556483 fi
57566484 done
57616489 fi
57626490 AR=$ac_cv_prog_AR
57636491 if test -n "$AR"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5765 $as_echo "$AR" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6493 printf "%s\n" "$AR" >&6; }
6494 else
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 printf "%s\n" "no" >&6; }
57696497 fi
57706498
57716499
57786506 do
57796507 # Extract the first word of "$ac_prog", so it can be a program name with args.
57806508 set dummy $ac_prog; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 printf %s "checking for $ac_word... " >&6; }
6511 if test ${ac_cv_prog_ac_ct_AR+y}
6512 then :
6513 printf %s "(cached) " >&6
6514 else $as_nop
57866515 if test -n "$ac_ct_AR"; then
57876516 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
57886517 else
57906519 for as_dir in $PATH
57916520 do
57926521 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
6522 case $as_dir in #(((
6523 '') as_dir=./ ;;
6524 */) ;;
6525 *) as_dir=$as_dir/ ;;
6526 esac
57946527 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57966529 ac_cv_prog_ac_ct_AR="$ac_prog"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57986531 break 2
57996532 fi
58006533 done
58056538 fi
58066539 ac_ct_AR=$ac_cv_prog_ac_ct_AR
58076540 if test -n "$ac_ct_AR"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5809 $as_echo "$ac_ct_AR" >&6; }
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6542 printf "%s\n" "$ac_ct_AR" >&6; }
6543 else
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 printf "%s\n" "no" >&6; }
58136546 fi
58146547
58156548
58216554 else
58226555 case $cross_compiling:$ac_tool_warned in
58236556 yes:)
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6558 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
58266559 ac_tool_warned=yes ;;
58276560 esac
58286561 AR=$ac_ct_AR
58306563 fi
58316564
58326565 : ${AR=ar}
5833 : ${AR_FLAGS=cru}
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5846 $as_echo_n "checking for archiver @FILE support... " >&6; }
5847 if ${lt_cv_ar_at_file+:} false; then :
5848 $as_echo_n "(cached) " >&6
5849 else
6566
6567
6568
6569
6570
6571
6572 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6573 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6574 # higher priority because thats what people were doing historically (setting
6575 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6576 # variable obsoleted/removed.
6577
6578 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6579 lt_ar_flags=$AR_FLAGS
6580
6581
6582
6583
6584
6585
6586 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6587 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6588
6589
6590
6591
6592
6593
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6595 printf %s "checking for archiver @FILE support... " >&6; }
6596 if test ${lt_cv_ar_at_file+y}
6597 then :
6598 printf %s "(cached) " >&6
6599 else $as_nop
58506600 lt_cv_ar_at_file=no
58516601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58526602 /* end confdefs.h. */
58536603
58546604 int
5855 main ()
6605 main (void)
58566606 {
58576607
58586608 ;
58596609 return 0;
58606610 }
58616611 _ACEOF
5862 if ac_fn_c_try_compile "$LINENO"; then :
6612 if ac_fn_c_try_compile "$LINENO"
6613 then :
58636614 echo conftest.$ac_objext > conftest.lst
58646615 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
58656616 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
58666617 (eval $lt_ar_try) 2>&5
58676618 ac_status=$?
5868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
58696620 test $ac_status = 0; }
58706621 if test 0 -eq "$ac_status"; then
58716622 # Ensure the archiver fails upon bogus file names.
58736624 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
58746625 (eval $lt_ar_try) 2>&5
58756626 ac_status=$?
5876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
58776628 test $ac_status = 0; }
58786629 if test 0 -ne "$ac_status"; then
58796630 lt_cv_ar_at_file=@
58826633 rm -f conftest.* libconftest.a
58836634
58846635 fi
5885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5886
5887 fi
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5889 $as_echo "$lt_cv_ar_at_file" >&6; }
6636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6637
6638 fi
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6640 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
58906641
58916642 if test no = "$lt_cv_ar_at_file"; then
58926643 archiver_list_spec=
59036654 if test -n "$ac_tool_prefix"; then
59046655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
59056656 set dummy ${ac_tool_prefix}strip; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_STRIP+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 printf %s "checking for $ac_word... " >&6; }
6659 if test ${ac_cv_prog_STRIP+y}
6660 then :
6661 printf %s "(cached) " >&6
6662 else $as_nop
59116663 if test -n "$STRIP"; then
59126664 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
59136665 else
59156667 for as_dir in $PATH
59166668 do
59176669 IFS=$as_save_IFS
5918 test -z "$as_dir" && as_dir=.
6670 case $as_dir in #(((
6671 '') as_dir=./ ;;
6672 */) ;;
6673 *) as_dir=$as_dir/ ;;
6674 esac
59196675 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
59216677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
59236679 break 2
59246680 fi
59256681 done
59306686 fi
59316687 STRIP=$ac_cv_prog_STRIP
59326688 if test -n "$STRIP"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5934 $as_echo "$STRIP" >&6; }
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6690 printf "%s\n" "$STRIP" >&6; }
6691 else
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 printf "%s\n" "no" >&6; }
59386694 fi
59396695
59406696
59436699 ac_ct_STRIP=$STRIP
59446700 # Extract the first word of "strip", so it can be a program name with args.
59456701 set dummy strip; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 printf %s "checking for $ac_word... " >&6; }
6704 if test ${ac_cv_prog_ac_ct_STRIP+y}
6705 then :
6706 printf %s "(cached) " >&6
6707 else $as_nop
59516708 if test -n "$ac_ct_STRIP"; then
59526709 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
59536710 else
59556712 for as_dir in $PATH
59566713 do
59576714 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
6715 case $as_dir in #(((
6716 '') as_dir=./ ;;
6717 */) ;;
6718 *) as_dir=$as_dir/ ;;
6719 esac
59596720 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
59616722 ac_cv_prog_ac_ct_STRIP="strip"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
59636724 break 2
59646725 fi
59656726 done
59706731 fi
59716732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
59726733 if test -n "$ac_ct_STRIP"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5974 $as_echo "$ac_ct_STRIP" >&6; }
5975 else
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6735 printf "%s\n" "$ac_ct_STRIP" >&6; }
6736 else
6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 printf "%s\n" "no" >&6; }
59786739 fi
59796740
59806741 if test "x$ac_ct_STRIP" = x; then
59826743 else
59836744 case $cross_compiling:$ac_tool_warned in
59846745 yes:)
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
59876748 ac_tool_warned=yes ;;
59886749 esac
59896750 STRIP=$ac_ct_STRIP
60026763 if test -n "$ac_tool_prefix"; then
60036764 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
60046765 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_RANLIB+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 printf %s "checking for $ac_word... " >&6; }
6768 if test ${ac_cv_prog_RANLIB+y}
6769 then :
6770 printf %s "(cached) " >&6
6771 else $as_nop
60106772 if test -n "$RANLIB"; then
60116773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
60126774 else
60146776 for as_dir in $PATH
60156777 do
60166778 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6779 case $as_dir in #(((
6780 '') as_dir=./ ;;
6781 */) ;;
6782 *) as_dir=$as_dir/ ;;
6783 esac
60186784 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
60206786 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
60226788 break 2
60236789 fi
60246790 done
60296795 fi
60306796 RANLIB=$ac_cv_prog_RANLIB
60316797 if test -n "$RANLIB"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6033 $as_echo "$RANLIB" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6799 printf "%s\n" "$RANLIB" >&6; }
6800 else
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 printf "%s\n" "no" >&6; }
60376803 fi
60386804
60396805
60426808 ac_ct_RANLIB=$RANLIB
60436809 # Extract the first word of "ranlib", so it can be a program name with args.
60446810 set dummy ranlib; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s "checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6814 then :
6815 printf %s "(cached) " >&6
6816 else $as_nop
60506817 if test -n "$ac_ct_RANLIB"; then
60516818 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
60526819 else
60546821 for as_dir in $PATH
60556822 do
60566823 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6824 case $as_dir in #(((
6825 '') as_dir=./ ;;
6826 */) ;;
6827 *) as_dir=$as_dir/ ;;
6828 esac
60586829 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
60606831 ac_cv_prog_ac_ct_RANLIB="ranlib"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
60626833 break 2
60636834 fi
60646835 done
60696840 fi
60706841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
60716842 if test -n "$ac_ct_RANLIB"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6073 $as_echo "$ac_ct_RANLIB" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6844 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6845 else
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
60776848 fi
60786849
60796850 if test "x$ac_ct_RANLIB" = x; then
60816852 else
60826853 case $cross_compiling:$ac_tool_warned in
60836854 yes:)
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
60866857 ac_tool_warned=yes ;;
60876858 esac
60886859 RANLIB=$ac_ct_RANLIB
61716942
61726943
61736944 # Check for command to grab the raw symbol name followed by C symbol from nm.
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6175 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6176 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6946 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6947 if test ${lt_cv_sys_global_symbol_pipe+y}
6948 then :
6949 printf %s "(cached) " >&6
6950 else $as_nop
61796951
61806952 # These are sane defaults that work on at least a few old systems.
61816953 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
62307002
62317003 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
62327004 # Gets list of data symbols to import.
6233 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7005 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
62347006 # Adjust the below global symbol transforms to fixup imported variables.
62357007 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
62367008 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
62487020 # Transform an extracted symbol line into a proper C declaration.
62497021 # Some systems (esp. on ia64) link data and code symbols differently,
62507022 # so use this general approach.
6251 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7023 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
62527024 $lt_cdecl_hook\
62537025 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
62547026 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
62557027
62567028 # Transform an extracted symbol line into symbol name and symbol address
6257 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7029 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
62587030 $lt_c_name_hook\
62597031 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
62607032 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
62617033
62627034 # Transform an extracted symbol line into symbol name with lib prefix and
62637035 # symbol address.
6264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7036 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
62657037 $lt_c_name_lib_hook\
62667038 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
62677039 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
62857057 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
62867058 # Fake it for dumpbin and say T for any non-static function,
62877059 # D for any global variable and I for any imported variable.
6288 # Also find C++ and __fastcall symbols from MSVC++,
7060 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
62897061 # which start with @ or ?.
62907062 lt_cv_sys_global_symbol_pipe="$AWK '"\
62917063 " {last_section=section; section=\$ 3};"\
63037075 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
63047076 " ' prfx=^$ac_symprfx"
63057077 else
6306 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7078 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
63077079 fi
6308 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7080 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
63097081
63107082 # Check to see that the pipe works correctly.
63117083 pipe_works=no
63277099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
63287100 (eval $ac_compile) 2>&5
63297101 ac_status=$?
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63317103 test $ac_status = 0; }; then
63327104 # Now try to grab the symbols.
63337105 nlist=conftest.nm
63347106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
63357107 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
63367108 ac_status=$?
6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63387110 test $ac_status = 0; } && test -s "$nlist"; then
63397111 # Try sorting and uniquifying the output.
63407112 if sort "$nlist" | uniq > "$nlist"T; then
64037175 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
64047176 (eval $ac_link) 2>&5
64057177 ac_status=$?
6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64077179 test $ac_status = 0; } && test -s conftest$ac_exeext; then
64087180 pipe_works=yes
64097181 fi
64387210 lt_cv_sys_global_symbol_to_cdecl=
64397211 fi
64407212 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6442 $as_echo "failed" >&6; }
6443 else
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6445 $as_echo "ok" >&6; }
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7214 printf "%s\n" "failed" >&6; }
7215 else
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7217 printf "%s\n" "ok" >&6; }
64467218 fi
64477219
64487220 # Response file support.
64887260
64897261
64907262
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6492 $as_echo_n "checking for sysroot... " >&6; }
7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7264 printf %s "checking for sysroot... " >&6; }
64937265
64947266 # Check whether --with-sysroot was given.
6495 if test "${with_sysroot+set}" = set; then :
7267 if test ${with_sysroot+y}
7268 then :
64967269 withval=$with_sysroot;
6497 else
7270 else $as_nop
64987271 with_sysroot=no
64997272 fi
65007273
65077280 fi
65087281 ;; #(
65097282 /*)
6510 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7283 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
65117284 ;; #(
65127285 no|'')
65137286 ;; #(
65147287 *)
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6516 $as_echo "$with_sysroot" >&6; }
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7289 printf "%s\n" "$with_sysroot" >&6; }
65177290 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
65187291 ;;
65197292 esac
65207293
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6522 $as_echo "${lt_sysroot:-no}" >&6; }
6523
6524
6525
6526
6527
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6529 $as_echo_n "checking for a working dd... " >&6; }
6530 if ${ac_cv_path_lt_DD+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7295 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7296
7297
7298
7299
7300
7301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7302 printf %s "checking for a working dd... " >&6; }
7303 if test ${ac_cv_path_lt_DD+y}
7304 then :
7305 printf %s "(cached) " >&6
7306 else $as_nop
65337307 printf 0123456789abcdef0123456789abcdef >conftest.i
65347308 cat conftest.i conftest.i >conftest2.i
65357309 : ${lt_DD:=$DD}
65407314 for as_dir in $PATH
65417315 do
65427316 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_prog in dd; do
7317 case $as_dir in #(((
7318 '') as_dir=./ ;;
7319 */) ;;
7320 *) as_dir=$as_dir/ ;;
7321 esac
7322 for ac_prog in dd
7323 do
65457324 for ac_exec_ext in '' $ac_executable_extensions; do
6546 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7325 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
65477326 as_fn_executable_p "$ac_path_lt_DD" || continue
65487327 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
65497328 cmp -s conftest.i conftest.out \
65637342
65647343 rm -f conftest.i conftest2.i conftest.out
65657344 fi
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6567 $as_echo "$ac_cv_path_lt_DD" >&6; }
6568
6569
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6571 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6572 if ${lt_cv_truncate_bin+:} false; then :
6573 $as_echo_n "(cached) " >&6
6574 else
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7346 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7347
7348
7349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7350 printf %s "checking how to truncate binary pipes... " >&6; }
7351 if test ${lt_cv_truncate_bin+y}
7352 then :
7353 printf %s "(cached) " >&6
7354 else $as_nop
65757355 printf 0123456789abcdef0123456789abcdef >conftest.i
65767356 cat conftest.i conftest.i >conftest2.i
65777357 lt_cv_truncate_bin=
65827362 rm -f conftest.i conftest2.i conftest.out
65837363 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
65847364 fi
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6586 $as_echo "$lt_cv_truncate_bin" >&6; }
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7366 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
65877367
65887368
65897369
66067386 }
66077387
66087388 # Check whether --enable-libtool-lock was given.
6609 if test "${enable_libtool_lock+set}" = set; then :
7389 if test ${enable_libtool_lock+y}
7390 then :
66107391 enableval=$enable_libtool_lock;
66117392 fi
66127393
66227403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
66237404 (eval $ac_compile) 2>&5
66247405 ac_status=$?
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66267407 test $ac_status = 0; }; then
6627 case `/usr/bin/file conftest.$ac_objext` in
7408 case `$FILECMD conftest.$ac_objext` in
66287409 *ELF-32*)
66297410 HPUX_IA64_MODE=32
66307411 ;;
66427423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
66437424 (eval $ac_compile) 2>&5
66447425 ac_status=$?
6645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66467427 test $ac_status = 0; }; then
66477428 if test yes = "$lt_cv_prog_gnu_ld"; then
6648 case `/usr/bin/file conftest.$ac_objext` in
7429 case `$FILECMD conftest.$ac_objext` in
66497430 *32-bit*)
66507431 LD="${LD-ld} -melf32bsmip"
66517432 ;;
66577438 ;;
66587439 esac
66597440 else
6660 case `/usr/bin/file conftest.$ac_objext` in
7441 case `$FILECMD conftest.$ac_objext` in
66617442 *32-bit*)
66627443 LD="${LD-ld} -32"
66637444 ;;
66807461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
66817462 (eval $ac_compile) 2>&5
66827463 ac_status=$?
6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66847465 test $ac_status = 0; }; then
66857466 emul=elf
6686 case `/usr/bin/file conftest.$ac_objext` in
7467 case `$FILECMD conftest.$ac_objext` in
66877468 *32-bit*)
66887469 emul="${emul}32"
66897470 ;;
66917472 emul="${emul}64"
66927473 ;;
66937474 esac
6694 case `/usr/bin/file conftest.$ac_objext` in
7475 case `$FILECMD conftest.$ac_objext` in
66957476 *MSB*)
66967477 emul="${emul}btsmip"
66977478 ;;
66997480 emul="${emul}ltsmip"
67007481 ;;
67017482 esac
6702 case `/usr/bin/file conftest.$ac_objext` in
7483 case `$FILECMD conftest.$ac_objext` in
67037484 *N32*)
67047485 emul="${emul}n32"
67057486 ;;
67217502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
67227503 (eval $ac_compile) 2>&5
67237504 ac_status=$?
6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67257506 test $ac_status = 0; }; then
6726 case `/usr/bin/file conftest.o` in
7507 case `$FILECMD conftest.o` in
67277508 *32-bit*)
67287509 case $host in
67297510 x86_64-*kfreebsd*-gnu)
67307511 LD="${LD-ld} -m elf_i386_fbsd"
67317512 ;;
67327513 x86_64-*linux*)
6733 case `/usr/bin/file conftest.o` in
7514 case `$FILECMD conftest.o` in
67347515 *x86-64*)
67357516 LD="${LD-ld} -m elf32_x86_64"
67367517 ;;
67847565 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
67857566 SAVE_CFLAGS=$CFLAGS
67867567 CFLAGS="$CFLAGS -belf"
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6788 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6789 if ${lt_cv_cc_needs_belf+:} false; then :
6790 $as_echo_n "(cached) " >&6
6791 else
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7569 printf %s "checking whether the C compiler needs -belf... " >&6; }
7570 if test ${lt_cv_cc_needs_belf+y}
7571 then :
7572 printf %s "(cached) " >&6
7573 else $as_nop
67927574 ac_ext=c
67937575 ac_cpp='$CPP $CPPFLAGS'
67947576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997581 /* end confdefs.h. */
68007582
68017583 int
6802 main ()
7584 main (void)
68037585 {
68047586
68057587 ;
68067588 return 0;
68077589 }
68087590 _ACEOF
6809 if ac_fn_c_try_link "$LINENO"; then :
7591 if ac_fn_c_try_link "$LINENO"
7592 then :
68107593 lt_cv_cc_needs_belf=yes
6811 else
7594 else $as_nop
68127595 lt_cv_cc_needs_belf=no
68137596 fi
6814 rm -f core conftest.err conftest.$ac_objext \
7597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
68157598 conftest$ac_exeext conftest.$ac_ext
68167599 ac_ext=c
68177600 ac_cpp='$CPP $CPPFLAGS'
68207603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68217604
68227605 fi
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6824 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7607 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
68257608 if test yes != "$lt_cv_cc_needs_belf"; then
68267609 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
68277610 CFLAGS=$SAVE_CFLAGS
68347617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
68357618 (eval $ac_compile) 2>&5
68367619 ac_status=$?
6837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68387621 test $ac_status = 0; }; then
6839 case `/usr/bin/file conftest.o` in
7622 case `$FILECMD conftest.o` in
68407623 *64-bit*)
68417624 case $lt_cv_prog_gnu_ld in
68427625 yes*)
68717654 if test -n "$ac_tool_prefix"; then
68727655 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
68737656 set dummy ${ac_tool_prefix}mt; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6877 $as_echo_n "(cached) " >&6
6878 else
7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 printf %s "checking for $ac_word... " >&6; }
7659 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7660 then :
7661 printf %s "(cached) " >&6
7662 else $as_nop
68797663 if test -n "$MANIFEST_TOOL"; then
68807664 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
68817665 else
68837667 for as_dir in $PATH
68847668 do
68857669 IFS=$as_save_IFS
6886 test -z "$as_dir" && as_dir=.
7670 case $as_dir in #(((
7671 '') as_dir=./ ;;
7672 */) ;;
7673 *) as_dir=$as_dir/ ;;
7674 esac
68877675 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
68897677 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
68917679 break 2
68927680 fi
68937681 done
68987686 fi
68997687 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
69007688 if test -n "$MANIFEST_TOOL"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6902 $as_echo "$MANIFEST_TOOL" >&6; }
6903 else
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7690 printf "%s\n" "$MANIFEST_TOOL" >&6; }
7691 else
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7693 printf "%s\n" "no" >&6; }
69067694 fi
69077695
69087696
69117699 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
69127700 # Extract the first word of "mt", so it can be a program name with args.
69137701 set dummy mt; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915 $as_echo_n "checking for $ac_word... " >&6; }
6916 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6917 $as_echo_n "(cached) " >&6
6918 else
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7703 printf %s "checking for $ac_word... " >&6; }
7704 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7705 then :
7706 printf %s "(cached) " >&6
7707 else $as_nop
69197708 if test -n "$ac_ct_MANIFEST_TOOL"; then
69207709 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
69217710 else
69237712 for as_dir in $PATH
69247713 do
69257714 IFS=$as_save_IFS
6926 test -z "$as_dir" && as_dir=.
7715 case $as_dir in #(((
7716 '') as_dir=./ ;;
7717 */) ;;
7718 *) as_dir=$as_dir/ ;;
7719 esac
69277720 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69297722 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69317724 break 2
69327725 fi
69337726 done
69387731 fi
69397732 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
69407733 if test -n "$ac_ct_MANIFEST_TOOL"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6942 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6943 else
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 $as_echo "no" >&6; }
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7735 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7736 else
7737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 printf "%s\n" "no" >&6; }
69467739 fi
69477740
69487741 if test "x$ac_ct_MANIFEST_TOOL" = x; then
69507743 else
69517744 case $cross_compiling:$ac_tool_warned in
69527745 yes:)
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
69557748 ac_tool_warned=yes ;;
69567749 esac
69577750 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
69617754 fi
69627755
69637756 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6965 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6966 if ${lt_cv_path_mainfest_tool+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968 else
7757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7758 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7759 if test ${lt_cv_path_mainfest_tool+y}
7760 then :
7761 printf %s "(cached) " >&6
7762 else $as_nop
69697763 lt_cv_path_mainfest_tool=no
69707764 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
69717765 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
69757769 fi
69767770 rm -f conftest*
69777771 fi
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6979 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7773 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
69807774 if test yes != "$lt_cv_path_mainfest_tool"; then
69817775 MANIFEST_TOOL=:
69827776 fi
69917785 if test -n "$ac_tool_prefix"; then
69927786 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
69937787 set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
7788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 printf %s "checking for $ac_word... " >&6; }
7790 if test ${ac_cv_prog_DSYMUTIL+y}
7791 then :
7792 printf %s "(cached) " >&6
7793 else $as_nop
69997794 if test -n "$DSYMUTIL"; then
70007795 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
70017796 else
70037798 for as_dir in $PATH
70047799 do
70057800 IFS=$as_save_IFS
7006 test -z "$as_dir" && as_dir=.
7801 case $as_dir in #(((
7802 '') as_dir=./ ;;
7803 */) ;;
7804 *) as_dir=$as_dir/ ;;
7805 esac
70077806 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70097808 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70117810 break 2
70127811 fi
70137812 done
70187817 fi
70197818 DSYMUTIL=$ac_cv_prog_DSYMUTIL
70207819 if test -n "$DSYMUTIL"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7022 $as_echo "$DSYMUTIL" >&6; }
7023 else
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7821 printf "%s\n" "$DSYMUTIL" >&6; }
7822 else
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 printf "%s\n" "no" >&6; }
70267825 fi
70277826
70287827
70317830 ac_ct_DSYMUTIL=$DSYMUTIL
70327831 # Extract the first word of "dsymutil", so it can be a program name with args.
70337832 set dummy dsymutil; 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_DSYMUTIL+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 printf %s "checking for $ac_word... " >&6; }
7835 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7836 then :
7837 printf %s "(cached) " >&6
7838 else $as_nop
70397839 if test -n "$ac_ct_DSYMUTIL"; then
70407840 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
70417841 else
70437843 for as_dir in $PATH
70447844 do
70457845 IFS=$as_save_IFS
7046 test -z "$as_dir" && as_dir=.
7846 case $as_dir in #(((
7847 '') as_dir=./ ;;
7848 */) ;;
7849 *) as_dir=$as_dir/ ;;
7850 esac
70477851 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70497853 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70517855 break 2
70527856 fi
70537857 done
70587862 fi
70597863 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
70607864 if test -n "$ac_ct_DSYMUTIL"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7062 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7063 else
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7866 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7867 else
7868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869 printf "%s\n" "no" >&6; }
70667870 fi
70677871
70687872 if test "x$ac_ct_DSYMUTIL" = x; then
70707874 else
70717875 case $cross_compiling:$ac_tool_warned in
70727876 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;}
7877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
70757879 ac_tool_warned=yes ;;
70767880 esac
70777881 DSYMUTIL=$ac_ct_DSYMUTIL
70837887 if test -n "$ac_tool_prefix"; then
70847888 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
70857889 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_prog_NMEDIT+:} false; then :
7089 $as_echo_n "(cached) " >&6
7090 else
7890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 printf %s "checking for $ac_word... " >&6; }
7892 if test ${ac_cv_prog_NMEDIT+y}
7893 then :
7894 printf %s "(cached) " >&6
7895 else $as_nop
70917896 if test -n "$NMEDIT"; then
70927897 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
70937898 else
70957900 for as_dir in $PATH
70967901 do
70977902 IFS=$as_save_IFS
7098 test -z "$as_dir" && as_dir=.
7903 case $as_dir in #(((
7904 '') as_dir=./ ;;
7905 */) ;;
7906 *) as_dir=$as_dir/ ;;
7907 esac
70997908 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71017910 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71037912 break 2
71047913 fi
71057914 done
71107919 fi
71117920 NMEDIT=$ac_cv_prog_NMEDIT
71127921 if test -n "$NMEDIT"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7114 $as_echo "$NMEDIT" >&6; }
7115 else
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7923 printf "%s\n" "$NMEDIT" >&6; }
7924 else
7925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 printf "%s\n" "no" >&6; }
71187927 fi
71197928
71207929
71237932 ac_ct_NMEDIT=$NMEDIT
71247933 # Extract the first word of "nmedit", so it can be a program name with args.
71257934 set dummy nmedit; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 printf %s "checking for $ac_word... " >&6; }
7937 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7938 then :
7939 printf %s "(cached) " >&6
7940 else $as_nop
71317941 if test -n "$ac_ct_NMEDIT"; then
71327942 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
71337943 else
71357945 for as_dir in $PATH
71367946 do
71377947 IFS=$as_save_IFS
7138 test -z "$as_dir" && as_dir=.
7948 case $as_dir in #(((
7949 '') as_dir=./ ;;
7950 */) ;;
7951 *) as_dir=$as_dir/ ;;
7952 esac
71397953 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71417955 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71437957 break 2
71447958 fi
71457959 done
71507964 fi
71517965 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
71527966 if test -n "$ac_ct_NMEDIT"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7154 $as_echo "$ac_ct_NMEDIT" >&6; }
7155 else
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7968 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7969 else
7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 printf "%s\n" "no" >&6; }
71587972 fi
71597973
71607974 if test "x$ac_ct_NMEDIT" = x; then
71627976 else
71637977 case $cross_compiling:$ac_tool_warned in
71647978 yes:)
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7980 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
71677981 ac_tool_warned=yes ;;
71687982 esac
71697983 NMEDIT=$ac_ct_NMEDIT
71757989 if test -n "$ac_tool_prefix"; then
71767990 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
71777991 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if ${ac_cv_prog_LIPO+:} false; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7993 printf %s "checking for $ac_word... " >&6; }
7994 if test ${ac_cv_prog_LIPO+y}
7995 then :
7996 printf %s "(cached) " >&6
7997 else $as_nop
71837998 if test -n "$LIPO"; then
71847999 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
71858000 else
71878002 for as_dir in $PATH
71888003 do
71898004 IFS=$as_save_IFS
7190 test -z "$as_dir" && as_dir=.
8005 case $as_dir in #(((
8006 '') as_dir=./ ;;
8007 */) ;;
8008 *) as_dir=$as_dir/ ;;
8009 esac
71918010 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71938012 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71958014 break 2
71968015 fi
71978016 done
72028021 fi
72038022 LIPO=$ac_cv_prog_LIPO
72048023 if test -n "$LIPO"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7206 $as_echo "$LIPO" >&6; }
7207 else
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
8024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8025 printf "%s\n" "$LIPO" >&6; }
8026 else
8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 printf "%s\n" "no" >&6; }
72108029 fi
72118030
72128031
72158034 ac_ct_LIPO=$LIPO
72168035 # Extract the first word of "lipo", so it can be a program name with args.
72178036 set dummy lipo; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
8037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 printf %s "checking for $ac_word... " >&6; }
8039 if test ${ac_cv_prog_ac_ct_LIPO+y}
8040 then :
8041 printf %s "(cached) " >&6
8042 else $as_nop
72238043 if test -n "$ac_ct_LIPO"; then
72248044 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
72258045 else
72278047 for as_dir in $PATH
72288048 do
72298049 IFS=$as_save_IFS
7230 test -z "$as_dir" && as_dir=.
8050 case $as_dir in #(((
8051 '') as_dir=./ ;;
8052 */) ;;
8053 *) as_dir=$as_dir/ ;;
8054 esac
72318055 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
72338057 ac_cv_prog_ac_ct_LIPO="lipo"
7234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
72358059 break 2
72368060 fi
72378061 done
72428066 fi
72438067 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
72448068 if test -n "$ac_ct_LIPO"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7246 $as_echo "$ac_ct_LIPO" >&6; }
7247 else
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
8069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8070 printf "%s\n" "$ac_ct_LIPO" >&6; }
8071 else
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 printf "%s\n" "no" >&6; }
72508074 fi
72518075
72528076 if test "x$ac_ct_LIPO" = x; then
72548078 else
72558079 case $cross_compiling:$ac_tool_warned in
72568080 yes:)
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
72598083 ac_tool_warned=yes ;;
72608084 esac
72618085 LIPO=$ac_ct_LIPO
72678091 if test -n "$ac_tool_prefix"; then
72688092 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
72698093 set dummy ${ac_tool_prefix}otool; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if ${ac_cv_prog_OTOOL+:} false; then :
7273 $as_echo_n "(cached) " >&6
7274 else
8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 printf %s "checking for $ac_word... " >&6; }
8096 if test ${ac_cv_prog_OTOOL+y}
8097 then :
8098 printf %s "(cached) " >&6
8099 else $as_nop
72758100 if test -n "$OTOOL"; then
72768101 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
72778102 else
72798104 for as_dir in $PATH
72808105 do
72818106 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
8107 case $as_dir in #(((
8108 '') as_dir=./ ;;
8109 */) ;;
8110 *) as_dir=$as_dir/ ;;
8111 esac
72838112 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8113 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
72858114 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
72878116 break 2
72888117 fi
72898118 done
72948123 fi
72958124 OTOOL=$ac_cv_prog_OTOOL
72968125 if test -n "$OTOOL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7298 $as_echo "$OTOOL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
8126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8127 printf "%s\n" "$OTOOL" >&6; }
8128 else
8129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130 printf "%s\n" "no" >&6; }
73028131 fi
73038132
73048133
73078136 ac_ct_OTOOL=$OTOOL
73088137 # Extract the first word of "otool", so it can be a program name with args.
73098138 set dummy otool; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7313 $as_echo_n "(cached) " >&6
7314 else
8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 printf %s "checking for $ac_word... " >&6; }
8141 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8142 then :
8143 printf %s "(cached) " >&6
8144 else $as_nop
73158145 if test -n "$ac_ct_OTOOL"; then
73168146 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
73178147 else
73198149 for as_dir in $PATH
73208150 do
73218151 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
8152 case $as_dir in #(((
8153 '') as_dir=./ ;;
8154 */) ;;
8155 *) as_dir=$as_dir/ ;;
8156 esac
73238157 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
73258159 ac_cv_prog_ac_ct_OTOOL="otool"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
73278161 break 2
73288162 fi
73298163 done
73348168 fi
73358169 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
73368170 if test -n "$ac_ct_OTOOL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7338 $as_echo "$ac_ct_OTOOL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
8171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8172 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8173 else
8174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 printf "%s\n" "no" >&6; }
73428176 fi
73438177
73448178 if test "x$ac_ct_OTOOL" = x; then
73468180 else
73478181 case $cross_compiling:$ac_tool_warned in
73488182 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8184 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
73518185 ac_tool_warned=yes ;;
73528186 esac
73538187 OTOOL=$ac_ct_OTOOL
73598193 if test -n "$ac_tool_prefix"; then
73608194 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
73618195 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_OTOOL64+:} false; then :
7365 $as_echo_n "(cached) " >&6
7366 else
8196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8197 printf %s "checking for $ac_word... " >&6; }
8198 if test ${ac_cv_prog_OTOOL64+y}
8199 then :
8200 printf %s "(cached) " >&6
8201 else $as_nop
73678202 if test -n "$OTOOL64"; then
73688203 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
73698204 else
73718206 for as_dir in $PATH
73728207 do
73738208 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
8209 case $as_dir in #(((
8210 '') as_dir=./ ;;
8211 */) ;;
8212 *) as_dir=$as_dir/ ;;
8213 esac
73758214 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
73778216 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
73798218 break 2
73808219 fi
73818220 done
73868225 fi
73878226 OTOOL64=$ac_cv_prog_OTOOL64
73888227 if test -n "$OTOOL64"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7390 $as_echo "$OTOOL64" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8229 printf "%s\n" "$OTOOL64" >&6; }
8230 else
8231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 printf "%s\n" "no" >&6; }
73948233 fi
73958234
73968235
73998238 ac_ct_OTOOL64=$OTOOL64
74008239 # Extract the first word of "otool64", so it can be a program name with args.
74018240 set dummy otool64; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7405 $as_echo_n "(cached) " >&6
7406 else
8241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 printf %s "checking for $ac_word... " >&6; }
8243 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8244 then :
8245 printf %s "(cached) " >&6
8246 else $as_nop
74078247 if test -n "$ac_ct_OTOOL64"; then
74088248 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
74098249 else
74118251 for as_dir in $PATH
74128252 do
74138253 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
8254 case $as_dir in #(((
8255 '') as_dir=./ ;;
8256 */) ;;
8257 *) as_dir=$as_dir/ ;;
8258 esac
74158259 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
74178261 ac_cv_prog_ac_ct_OTOOL64="otool64"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
74198263 break 2
74208264 fi
74218265 done
74268270 fi
74278271 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
74288272 if test -n "$ac_ct_OTOOL64"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7430 $as_echo "$ac_ct_OTOOL64" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8274 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8275 else
8276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 printf "%s\n" "no" >&6; }
74348278 fi
74358279
74368280 if test "x$ac_ct_OTOOL64" = x; then
74388282 else
74398283 case $cross_compiling:$ac_tool_warned in
74408284 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8286 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
74438287 ac_tool_warned=yes ;;
74448288 esac
74458289 OTOOL64=$ac_ct_OTOOL64
74748318
74758319
74768320
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7478 $as_echo_n "checking for -single_module linker flag... " >&6; }
7479 if ${lt_cv_apple_cc_single_mod+:} false; then :
7480 $as_echo_n "(cached) " >&6
7481 else
8321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8322 printf %s "checking for -single_module linker flag... " >&6; }
8323 if test ${lt_cv_apple_cc_single_mod+y}
8324 then :
8325 printf %s "(cached) " >&6
8326 else $as_nop
74828327 lt_cv_apple_cc_single_mod=no
74838328 if test -z "$LT_MULTI_MODULE"; then
74848329 # By default we will add the -single_module flag. You can override
75078352 rm -f conftest.*
75088353 fi
75098354 fi
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7511 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7512
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7514 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7515 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7516 $as_echo_n "(cached) " >&6
7517 else
8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8356 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8357
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8359 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8360 if test ${lt_cv_ld_exported_symbols_list+y}
8361 then :
8362 printf %s "(cached) " >&6
8363 else $as_nop
75188364 lt_cv_ld_exported_symbols_list=no
75198365 save_LDFLAGS=$LDFLAGS
75208366 echo "_main" > conftest.sym
75238369 /* end confdefs.h. */
75248370
75258371 int
7526 main ()
8372 main (void)
75278373 {
75288374
75298375 ;
75308376 return 0;
75318377 }
75328378 _ACEOF
7533 if ac_fn_c_try_link "$LINENO"; then :
8379 if ac_fn_c_try_link "$LINENO"
8380 then :
75348381 lt_cv_ld_exported_symbols_list=yes
7535 else
8382 else $as_nop
75368383 lt_cv_ld_exported_symbols_list=no
75378384 fi
7538 rm -f core conftest.err conftest.$ac_objext \
8385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
75398386 conftest$ac_exeext conftest.$ac_ext
75408387 LDFLAGS=$save_LDFLAGS
75418388
75428389 fi
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7544 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7545
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7547 $as_echo_n "checking for -force_load linker flag... " >&6; }
7548 if ${lt_cv_ld_force_load+:} false; then :
7549 $as_echo_n "(cached) " >&6
7550 else
8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8391 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8392
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8394 printf %s "checking for -force_load linker flag... " >&6; }
8395 if test ${lt_cv_ld_force_load+y}
8396 then :
8397 printf %s "(cached) " >&6
8398 else $as_nop
75518399 lt_cv_ld_force_load=no
75528400 cat > conftest.c << _LT_EOF
75538401 int forced_loaded() { return 2;}
75548402 _LT_EOF
75558403 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
75568404 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7557 echo "$AR cru libconftest.a conftest.o" >&5
7558 $AR cru libconftest.a conftest.o 2>&5
8405 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8406 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
75598407 echo "$RANLIB libconftest.a" >&5
75608408 $RANLIB libconftest.a 2>&5
75618409 cat > conftest.c << _LT_EOF
75758423 rm -rf conftest.dSYM
75768424
75778425 fi
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7579 $as_echo "$lt_cv_ld_force_load" >&6; }
8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8427 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
75808428 case $host_os in
75818429 rhapsody* | darwin1.[012])
75828430 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
75838431 darwin1.*)
75848432 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7585 darwin*) # darwin 5.x on
7586 # if running on 10.5 or later, the deployment target defaults
7587 # to the OS version, if on x86, and 10.4, the deployment
7588 # target defaults to 10.4. Don't you love it?
7589 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7590 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7591 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7592 10.[012][,.]*)
7593 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7594 10.*)
7595 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8433 darwin*)
8434 case $MACOSX_DEPLOYMENT_TARGET,$host in
8435 10.[012],*|,*powerpc*-darwin[5-8]*)
8436 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8437 *)
8438 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
75968439 esac
75978440 ;;
75988441 esac
76478490 esac
76488491 }
76498492
7650 ac_ext=c
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7656 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7657 # On Suns, sometimes $CPP names a directory.
7658 if test -n "$CPP" && test -d "$CPP"; then
7659 CPP=
7660 fi
7661 if test -z "$CPP"; then
7662 if ${ac_cv_prog_CPP+:} false; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 # Double quotes because CPP needs to be expanded
7666 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7667 do
7668 ac_preproc_ok=false
7669 for ac_c_preproc_warn_flag in '' yes
8493 ac_header= ac_cache=
8494 for ac_item in $ac_header_c_list
76708495 do
7671 # Use a header file that comes with gcc, so configuring glibc
7672 # with a fresh cross-compiler works.
7673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7674 # <limits.h> exists even on freestanding compilers.
7675 # On the NeXT, cc -E runs the code through the compiler's parser,
7676 # not just through cpp. "Syntax error" is here to catch this case.
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #ifdef __STDC__
7680 # include <limits.h>
7681 #else
7682 # include <assert.h>
7683 #endif
7684 Syntax error
7685 _ACEOF
7686 if ac_fn_c_try_cpp "$LINENO"; then :
7687
7688 else
7689 # Broken: fails on valid input.
7690 continue
7691 fi
7692 rm -f conftest.err conftest.i conftest.$ac_ext
7693
7694 # OK, works on sane cases. Now check whether nonexistent headers
7695 # can be detected and how.
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <ac_nonexistent.h>
7699 _ACEOF
7700 if ac_fn_c_try_cpp "$LINENO"; then :
7701 # Broken: success on invalid input.
7702 continue
7703 else
7704 # Passes both tests.
7705 ac_preproc_ok=:
7706 break
7707 fi
7708 rm -f conftest.err conftest.i conftest.$ac_ext
7709
8496 if test $ac_cache; then
8497 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8498 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8499 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8500 fi
8501 ac_header= ac_cache=
8502 elif test $ac_header; then
8503 ac_cache=$ac_item
8504 else
8505 ac_header=$ac_item
8506 fi
77108507 done
7711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7712 rm -f conftest.i conftest.err conftest.$ac_ext
7713 if $ac_preproc_ok; then :
7714 break
7715 fi
7716
7717 done
7718 ac_cv_prog_CPP=$CPP
7719
7720 fi
7721 CPP=$ac_cv_prog_CPP
7722 else
7723 ac_cv_prog_CPP=$CPP
7724 fi
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7726 $as_echo "$CPP" >&6; }
7727 ac_preproc_ok=false
7728 for ac_c_preproc_warn_flag in '' yes
7729 do
7730 # Use a header file that comes with gcc, so configuring glibc
7731 # with a fresh cross-compiler works.
7732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7733 # <limits.h> exists even on freestanding compilers.
7734 # On the NeXT, cc -E runs the code through the compiler's parser,
7735 # not just through cpp. "Syntax error" is here to catch this case.
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7738 #ifdef __STDC__
7739 # include <limits.h>
7740 #else
7741 # include <assert.h>
7742 #endif
7743 Syntax error
7744 _ACEOF
7745 if ac_fn_c_try_cpp "$LINENO"; then :
7746
7747 else
7748 # Broken: fails on valid input.
7749 continue
7750 fi
7751 rm -f conftest.err conftest.i conftest.$ac_ext
7752
7753 # OK, works on sane cases. Now check whether nonexistent headers
7754 # can be detected and how.
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #include <ac_nonexistent.h>
7758 _ACEOF
7759 if ac_fn_c_try_cpp "$LINENO"; then :
7760 # Broken: success on invalid input.
7761 continue
7762 else
7763 # Passes both tests.
7764 ac_preproc_ok=:
7765 break
7766 fi
7767 rm -f conftest.err conftest.i conftest.$ac_ext
7768
7769 done
7770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7771 rm -f conftest.i conftest.err conftest.$ac_ext
7772 if $ac_preproc_ok; then :
7773
7774 else
7775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7777 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7778 See \`config.log' for more details" "$LINENO" 5; }
7779 fi
7780
7781 ac_ext=c
7782 ac_cpp='$CPP $CPPFLAGS'
7783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786
7787
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7789 $as_echo_n "checking for ANSI C header files... " >&6; }
7790 if ${ac_cv_header_stdc+:} false; then :
7791 $as_echo_n "(cached) " >&6
7792 else
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #include <stdlib.h>
7796 #include <stdarg.h>
7797 #include <string.h>
7798 #include <float.h>
7799
7800 int
7801 main ()
7802 {
7803
7804 ;
7805 return 0;
7806 }
7807 _ACEOF
7808 if ac_fn_c_try_compile "$LINENO"; then :
7809 ac_cv_header_stdc=yes
7810 else
7811 ac_cv_header_stdc=no
7812 fi
7813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7814
7815 if test $ac_cv_header_stdc = yes; then
7816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7818 /* end confdefs.h. */
7819 #include <string.h>
7820
7821 _ACEOF
7822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7823 $EGREP "memchr" >/dev/null 2>&1; then :
7824
7825 else
7826 ac_cv_header_stdc=no
7827 fi
7828 rm -f conftest*
7829
7830 fi
7831
7832 if test $ac_cv_header_stdc = yes; then
7833 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 #include <stdlib.h>
7837
7838 _ACEOF
7839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7840 $EGREP "free" >/dev/null 2>&1; then :
7841
7842 else
7843 ac_cv_header_stdc=no
7844 fi
7845 rm -f conftest*
7846
7847 fi
7848
7849 if test $ac_cv_header_stdc = yes; then
7850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7851 if test "$cross_compiling" = yes; then :
7852 :
7853 else
7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h. */
7856 #include <ctype.h>
7857 #include <stdlib.h>
7858 #if ((' ' & 0x0FF) == 0x020)
7859 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7860 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7861 #else
7862 # define ISLOWER(c) \
7863 (('a' <= (c) && (c) <= 'i') \
7864 || ('j' <= (c) && (c) <= 'r') \
7865 || ('s' <= (c) && (c) <= 'z'))
7866 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7867 #endif
7868
7869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7870 int
7871 main ()
7872 {
7873 int i;
7874 for (i = 0; i < 256; i++)
7875 if (XOR (islower (i), ISLOWER (i))
7876 || toupper (i) != TOUPPER (i))
7877 return 2;
7878 return 0;
7879 }
7880 _ACEOF
7881 if ac_fn_c_try_run "$LINENO"; then :
7882
7883 else
7884 ac_cv_header_stdc=no
7885 fi
7886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7887 conftest.$ac_objext conftest.beam conftest.$ac_ext
7888 fi
7889
7890 fi
7891 fi
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7893 $as_echo "$ac_cv_header_stdc" >&6; }
7894 if test $ac_cv_header_stdc = yes; then
7895
7896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7897
7898 fi
7899
7900 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7901 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7902 inttypes.h stdint.h unistd.h
7903 do :
7904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8508
8509
8510
8511
8512
8513
8514
8515
8516 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8517 then :
8518
8519 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8520
8521 fi
8522 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
79068523 "
7907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7910 _ACEOF
7911
7912 fi
7913
7914 done
7915
7916
7917 for ac_header in dlfcn.h
7918 do :
7919 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7920 "
7921 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7922 cat >>confdefs.h <<_ACEOF
7923 #define HAVE_DLFCN_H 1
7924 _ACEOF
7925
7926 fi
7927
7928 done
8524 if test "x$ac_cv_header_dlfcn_h" = xyes
8525 then :
8526 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8527
8528 fi
79298529
79308530
79318531
79428542
79438543
79448544 # Check whether --enable-shared was given.
7945 if test "${enable_shared+set}" = set; then :
8545 if test ${enable_shared+y}
8546 then :
79468547 enableval=$enable_shared; p=${PACKAGE-default}
79478548 case $enableval in
79488549 yes) enable_shared=yes ;;
79608561 IFS=$lt_save_ifs
79618562 ;;
79628563 esac
7963 else
8564 else $as_nop
79648565 enable_shared=yes
79658566 fi
79668567
79738574
79748575
79758576 # Check whether --enable-static was given.
7976 if test "${enable_static+set}" = set; then :
8577 if test ${enable_static+y}
8578 then :
79778579 enableval=$enable_static; p=${PACKAGE-default}
79788580 case $enableval in
79798581 yes) enable_static=yes ;;
79918593 IFS=$lt_save_ifs
79928594 ;;
79938595 esac
7994 else
8596 else $as_nop
79958597 enable_static=yes
79968598 fi
79978599
80058607
80068608
80078609 # Check whether --with-pic was given.
8008 if test "${with_pic+set}" = set; then :
8610 if test ${with_pic+y}
8611 then :
80098612 withval=$with_pic; lt_p=${PACKAGE-default}
80108613 case $withval in
80118614 yes|no) pic_mode=$withval ;;
80228625 IFS=$lt_save_ifs
80238626 ;;
80248627 esac
8025 else
8628 else $as_nop
80268629 pic_mode=default
80278630 fi
80288631
80348637
80358638
80368639 # Check whether --enable-fast-install was given.
8037 if test "${enable_fast_install+set}" = set; then :
8640 if test ${enable_fast_install+y}
8641 then :
80388642 enableval=$enable_fast_install; p=${PACKAGE-default}
80398643 case $enableval in
80408644 yes) enable_fast_install=yes ;;
80528656 IFS=$lt_save_ifs
80538657 ;;
80548658 esac
8055 else
8659 else $as_nop
80568660 enable_fast_install=yes
80578661 fi
80588662
80668670 shared_archive_member_spec=
80678671 case $host,$enable_shared in
80688672 power*-*-aix[5-9]*,yes)
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8070 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8674 printf %s "checking which variant of shared library versioning to provide... " >&6; }
80718675
80728676 # Check whether --with-aix-soname was given.
8073 if test "${with_aix_soname+set}" = set; then :
8677 if test ${with_aix_soname+y}
8678 then :
80748679 withval=$with_aix_soname; case $withval in
80758680 aix|svr4|both)
80768681 ;;
80798684 ;;
80808685 esac
80818686 lt_cv_with_aix_soname=$with_aix_soname
8082 else
8083 if ${lt_cv_with_aix_soname+:} false; then :
8084 $as_echo_n "(cached) " >&6
8085 else
8687 else $as_nop
8688 if test ${lt_cv_with_aix_soname+y}
8689 then :
8690 printf %s "(cached) " >&6
8691 else $as_nop
80868692 lt_cv_with_aix_soname=aix
80878693 fi
80888694
80898695 with_aix_soname=$lt_cv_with_aix_soname
80908696 fi
80918697
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8093 $as_echo "$with_aix_soname" >&6; }
8698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8699 printf "%s\n" "$with_aix_soname" >&6; }
80948700 if test aix != "$with_aix_soname"; then
80958701 # For the AIX way of multilib, we name the shared archive member
80968702 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
81728778 setopt NO_GLOB_SUBST
81738779 fi
81748780
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8176 $as_echo_n "checking for objdir... " >&6; }
8177 if ${lt_cv_objdir+:} false; then :
8178 $as_echo_n "(cached) " >&6
8179 else
8781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8782 printf %s "checking for objdir... " >&6; }
8783 if test ${lt_cv_objdir+y}
8784 then :
8785 printf %s "(cached) " >&6
8786 else $as_nop
81808787 rm -f .libs 2>/dev/null
81818788 mkdir .libs 2>/dev/null
81828789 if test -d .libs; then
81878794 fi
81888795 rmdir .libs 2>/dev/null
81898796 fi
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8191 $as_echo "$lt_cv_objdir" >&6; }
8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8798 printf "%s\n" "$lt_cv_objdir" >&6; }
81928799 objdir=$lt_cv_objdir
81938800
81948801
81958802
81968803
81978804
8198 cat >>confdefs.h <<_ACEOF
8199 #define LT_OBJDIR "$lt_cv_objdir/"
8200 _ACEOF
8805 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
82018806
82028807
82038808
82188823 ofile=libtool
82198824 can_build_shared=yes
82208825
8221 # All known linkers require a '.a' archive for static linking (except MSVC,
8222 # which needs '.lib').
8826 # All known linkers require a '.a' archive for static linking (except MSVC and
8827 # ICC, which need '.lib').
82238828 libext=a
82248829
82258830 with_gnu_ld=$lt_cv_prog_gnu_ld
82438848 case $deplibs_check_method in
82448849 file_magic*)
82458850 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8247 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8248 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8852 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8853 if test ${lt_cv_path_MAGIC_CMD+y}
8854 then :
8855 printf %s "(cached) " >&6
8856 else $as_nop
82518857 case $MAGIC_CMD in
82528858 [\\/*] | ?:[\\/]*)
82538859 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
82968902
82978903 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
82988904 if test -n "$MAGIC_CMD"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8300 $as_echo "$MAGIC_CMD" >&6; }
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8906 printf "%s\n" "$MAGIC_CMD" >&6; }
8907 else
8908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 printf "%s\n" "no" >&6; }
83048910 fi
83058911
83068912
83098915
83108916 if test -z "$lt_cv_path_MAGIC_CMD"; then
83118917 if test -n "$ac_tool_prefix"; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8313 $as_echo_n "checking for file... " >&6; }
8314 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8919 printf %s "checking for file... " >&6; }
8920 if test ${lt_cv_path_MAGIC_CMD+y}
8921 then :
8922 printf %s "(cached) " >&6
8923 else $as_nop
83178924 case $MAGIC_CMD in
83188925 [\\/*] | ?:[\\/]*)
83198926 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
83628969
83638970 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
83648971 if test -n "$MAGIC_CMD"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8366 $as_echo "$MAGIC_CMD" >&6; }
8367 else
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8973 printf "%s\n" "$MAGIC_CMD" >&6; }
8974 else
8975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8976 printf "%s\n" "no" >&6; }
83708977 fi
83718978
83728979
84519058 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
84529059 esac
84539060
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8455 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8456 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9062 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9063 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9064 then :
9065 printf %s "(cached) " >&6
9066 else $as_nop
84599067 lt_cv_prog_compiler_rtti_exceptions=no
84609068 ac_outfile=conftest.$ac_objext
84619069 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
84869094 $RM conftest*
84879095
84889096 fi
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8490 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9098 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
84919099
84929100 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
84939101 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
87289336 lt_prog_compiler_static='-qstaticlink'
87299337 ;;
87309338 *)
8731 case `$CC -V 2>&1 | sed 5q` in
9339 case `$CC -V 2>&1 | $SED 5q` in
87329340 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
87339341 # Sun Fortran 8.3 passes all unrecognized flags to the linker
87349342 lt_prog_compiler_pic='-KPIC'
88449452 ;;
88459453 esac
88469454
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8849 if ${lt_cv_prog_compiler_pic+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9456 printf %s "checking for $compiler option to produce PIC... " >&6; }
9457 if test ${lt_cv_prog_compiler_pic+y}
9458 then :
9459 printf %s "(cached) " >&6
9460 else $as_nop
88529461 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
88539462 fi
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8855 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9464 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
88569465 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
88579466
88589467 #
88599468 # Check to make sure the PIC flag actually works.
88609469 #
88619470 if test -n "$lt_prog_compiler_pic"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8863 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8864 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9472 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9473 if test ${lt_cv_prog_compiler_pic_works+y}
9474 then :
9475 printf %s "(cached) " >&6
9476 else $as_nop
88679477 lt_cv_prog_compiler_pic_works=no
88689478 ac_outfile=conftest.$ac_objext
88699479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
88949504 $RM conftest*
88959505
88969506 fi
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8898 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9508 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
88999509
89009510 if test yes = "$lt_cv_prog_compiler_pic_works"; then
89019511 case $lt_prog_compiler_pic in
89239533 # Check to make sure the static flag actually works.
89249534 #
89259535 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8927 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8928 if ${lt_cv_prog_compiler_static_works+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
9536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9537 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9538 if test ${lt_cv_prog_compiler_static_works+y}
9539 then :
9540 printf %s "(cached) " >&6
9541 else $as_nop
89319542 lt_cv_prog_compiler_static_works=no
89329543 save_LDFLAGS=$LDFLAGS
89339544 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
89519562 LDFLAGS=$save_LDFLAGS
89529563
89539564 fi
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8955 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9566 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
89569567
89579568 if test yes = "$lt_cv_prog_compiler_static_works"; then
89589569 :
89669577
89679578
89689579
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8971 if ${lt_cv_prog_compiler_c_o+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9581 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9582 if test ${lt_cv_prog_compiler_c_o+y}
9583 then :
9584 printf %s "(cached) " >&6
9585 else $as_nop
89749586 lt_cv_prog_compiler_c_o=no
89759587 $RM -r conftest 2>/dev/null
89769588 mkdir conftest
90139625 $RM conftest*
90149626
90159627 fi
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9018
9019
9020
9021
9022
9023
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9026 if ${lt_cv_prog_compiler_c_o+:} false; then :
9027 $as_echo_n "(cached) " >&6
9028 else
9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9629 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9630
9631
9632
9633
9634
9635
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9637 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9638 if test ${lt_cv_prog_compiler_c_o+y}
9639 then :
9640 printf %s "(cached) " >&6
9641 else $as_nop
90299642 lt_cv_prog_compiler_c_o=no
90309643 $RM -r conftest 2>/dev/null
90319644 mkdir conftest
90689681 $RM conftest*
90699682
90709683 fi
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9685 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
90739686
90749687
90759688
90779690 hard_links=nottested
90789691 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
90799692 # do not overwrite the value of need_locks provided by the user
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9081 $as_echo_n "checking if we can lock with hard links... " >&6; }
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9694 printf %s "checking if we can lock with hard links... " >&6; }
90829695 hard_links=yes
90839696 $RM conftest*
90849697 ln conftest.a conftest.b 2>/dev/null && hard_links=no
90859698 touch conftest.a
90869699 ln conftest.a conftest.b 2>&5 || hard_links=no
90879700 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9089 $as_echo "$hard_links" >&6; }
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9702 printf "%s\n" "$hard_links" >&6; }
90909703 if test no = "$hard_links"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9092 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9705 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
90939706 need_locks=warn
90949707 fi
90959708 else
91019714
91029715
91039716
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9718 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
91069719
91079720 runpath_var=
91089721 allow_undefined_flag=
91469759
91479760 case $host_os in
91489761 cygwin* | mingw* | pw32* | cegcc*)
9149 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9762 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
91509763 # When not using gcc, we currently assume that we are using
9151 # Microsoft Visual C++.
9764 # Microsoft Visual C++ or Intel C++ Compiler.
91529765 if test yes != "$GCC"; then
91539766 with_gnu_ld=no
91549767 fi
91559768 ;;
91569769 interix*)
9157 # we just hope/assume this is gcc and not c89 (= MSVC++)
9770 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
91589771 with_gnu_ld=yes
91599772 ;;
91609773 openbsd* | bitrig*)
92069819 whole_archive_flag_spec=
92079820 fi
92089821 supports_anon_versioning=no
9209 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9822 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
92109823 *GNU\ gold*) supports_anon_versioning=yes ;;
92119824 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
92129825 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
93189931 emximp -o $lib $output_objdir/$libname.def'
93199932 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
93209933 enable_shared_with_static_runtimes=yes
9934 file_list_spec='@'
93219935 ;;
93229936
93239937 interix[3-9]*)
93329946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
93339947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
93349948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9335 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'
9949 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'
93369950 ;;
93379951
93389952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
93759989 compiler_needs_object=yes
93769990 ;;
93779991 esac
9378 case `$CC -V 2>&1 | sed 5q` in
9992 case `$CC -V 2>&1 | $SED 5q` in
93799993 *Sun\ C*) # Sun C 5.9
93809994 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'
93819995 compiler_needs_object=yes
938710001
938810002 if test yes = "$supports_anon_versioning"; then
938910003 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9390 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10004 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
939110005 echo "local: *; };" >> $output_objdir/$libname.ver~
939210006 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
939310007 fi
940310017 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
940410018 if test yes = "$supports_anon_versioning"; then
940510019 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9406 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10020 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
940710021 echo "local: *; };" >> $output_objdir/$libname.ver~
940810022 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
940910023 fi
953510149 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
953610150 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'
953710151 else
9538 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'
10152 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'
953910153 fi
954010154 aix_use_runtimelinking=no
954110155
965710271 if test set = "${lt_cv_aix_libpath+set}"; then
965810272 aix_libpath=$lt_cv_aix_libpath
965910273 else
9660 if ${lt_cv_aix_libpath_+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
10274 if test ${lt_cv_aix_libpath_+y}
10275 then :
10276 printf %s "(cached) " >&6
10277 else $as_nop
966310278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
966410279 /* end confdefs.h. */
966510280
966610281 int
9667 main ()
10282 main (void)
966810283 {
966910284
967010285 ;
967110286 return 0;
967210287 }
967310288 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
10289 if ac_fn_c_try_link "$LINENO"
10290 then :
967510291
967610292 lt_aix_libpath_sed='
967710293 /Import File Strings/,/^$/ {
968610302 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
968710303 fi
968810304 fi
9689 rm -f core conftest.err conftest.$ac_objext \
10305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
969010306 conftest$ac_exeext conftest.$ac_ext
969110307 if test -z "$lt_cv_aix_libpath_"; then
969210308 lt_cv_aix_libpath_=/usr/lib:/lib
971010326 if test set = "${lt_cv_aix_libpath+set}"; then
971110327 aix_libpath=$lt_cv_aix_libpath
971210328 else
9713 if ${lt_cv_aix_libpath_+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
10329 if test ${lt_cv_aix_libpath_+y}
10330 then :
10331 printf %s "(cached) " >&6
10332 else $as_nop
971610333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
971710334 /* end confdefs.h. */
971810335
971910336 int
9720 main ()
10337 main (void)
972110338 {
972210339
972310340 ;
972410341 return 0;
972510342 }
972610343 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
10344 if ac_fn_c_try_link "$LINENO"
10345 then :
972810346
972910347 lt_aix_libpath_sed='
973010348 /Import File Strings/,/^$/ {
973910357 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
974010358 fi
974110359 fi
9742 rm -f core conftest.err conftest.$ac_objext \
10360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
974310361 conftest$ac_exeext conftest.$ac_ext
974410362 if test -z "$lt_cv_aix_libpath_"; then
974510363 lt_cv_aix_libpath_=/usr/lib:/lib
980210420
980310421 cygwin* | mingw* | pw32* | cegcc*)
980410422 # When not using gcc, we currently assume that we are using
9805 # Microsoft Visual C++.
10423 # Microsoft Visual C++ or Intel C++ Compiler.
980610424 # hardcode_libdir_flag_spec is actually meaningless, as there is
980710425 # no search path for DLLs.
980810426 case $cc_basename in
9809 cl*)
9810 # Native MSVC
10427 cl* | icl*)
10428 # Native MSVC or ICC
981110429 hardcode_libdir_flag_spec=' '
981210430 allow_undefined_flag=unsupported
981310431 always_export_symbols=yes
984810466 fi'
984910467 ;;
985010468 *)
9851 # Assume MSVC wrapper
10469 # Assume MSVC and ICC wrapper
985210470 hardcode_libdir_flag_spec=' '
985310471 allow_undefined_flag=unsupported
985410472 # Tell ltmain to make .lib files, not .a files.
988910507 output_verbose_link_cmd=func_echo_all
989010508 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
989110509 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9892 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"
9893 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"
10510 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"
10511 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"
989410512
989510513 else
989610514 ld_shlibs=no
992410542 ;;
992510543
992610544 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9927 freebsd* | dragonfly*)
10545 freebsd* | dragonfly* | midnightbsd*)
992810546 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
992910547 hardcode_libdir_flag_spec='-R$libdir'
993010548 hardcode_direct=yes
999010608
999110609 # Older versions of the 11.00 compiler do not understand -b yet
999210610 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9994 $as_echo_n "checking if $CC understands -b... " >&6; }
9995 if ${lt_cv_prog_compiler__b+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10612 printf %s "checking if $CC understands -b... " >&6; }
10613 if test ${lt_cv_prog_compiler__b+y}
10614 then :
10615 printf %s "(cached) " >&6
10616 else $as_nop
999810617 lt_cv_prog_compiler__b=no
999910618 save_LDFLAGS=$LDFLAGS
1000010619 LDFLAGS="$LDFLAGS -b"
1001810637 LDFLAGS=$save_LDFLAGS
1001910638
1002010639 fi
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10022 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10641 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1002310642
1002410643 if test yes = "$lt_cv_prog_compiler__b"; then
1002510644 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1005910678 # work, assume that -exports_file does not work either and
1006010679 # implicitly export all symbols.
1006110680 # This should be the same for all languages, so no per-tag cache variable.
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10063 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10064 if ${lt_cv_irix_exported_symbol+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10682 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10683 if test ${lt_cv_irix_exported_symbol+y}
10684 then :
10685 printf %s "(cached) " >&6
10686 else $as_nop
1006710687 save_LDFLAGS=$LDFLAGS
1006810688 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1006910689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1007010690 /* end confdefs.h. */
1007110691 int foo (void) { return 0; }
1007210692 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10693 if ac_fn_c_try_link "$LINENO"
10694 then :
1007410695 lt_cv_irix_exported_symbol=yes
10075 else
10696 else $as_nop
1007610697 lt_cv_irix_exported_symbol=no
1007710698 fi
10078 rm -f core conftest.err conftest.$ac_objext \
10699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1007910700 conftest$ac_exeext conftest.$ac_ext
1008010701 LDFLAGS=$save_LDFLAGS
1008110702 fi
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10083 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10704 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
1008410705 if test yes = "$lt_cv_irix_exported_symbol"; then
1008510706 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'
1008610707 fi
1017210793 emximp -o $lib $output_objdir/$libname.def'
1017310794 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
1017410795 enable_shared_with_static_runtimes=yes
10796 file_list_spec='@'
1017510797 ;;
1017610798
1017710799 osf3*)
1036010982 fi
1036110983 fi
1036210984
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10364 $as_echo "$ld_shlibs" >&6; }
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10986 printf "%s\n" "$ld_shlibs" >&6; }
1036510987 test no = "$ld_shlibs" && can_build_shared=no
1036610988
1036710989 with_gnu_ld=$with_gnu_ld
1039711019 # Test whether the compiler implicitly links with -lc since on some
1039811020 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1039911021 # to ld, don't add -lc before -lgcc.
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10402 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11023 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11024 if test ${lt_cv_archive_cmds_need_lc+y}
11025 then :
11026 printf %s "(cached) " >&6
11027 else $as_nop
1040511028 $RM conftest*
1040611029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1040711030
1040811031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1040911032 (eval $ac_compile) 2>&5
1041011033 ac_status=$?
10411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1041211035 test $ac_status = 0; } 2>conftest.err; then
1041311036 soname=conftest
1041411037 lib=conftest
1042611049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1042711050 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1042811051 ac_status=$?
10429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1043011053 test $ac_status = 0; }
1043111054 then
1043211055 lt_cv_archive_cmds_need_lc=no
1044011063 $RM conftest*
1044111064
1044211065 fi
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10444 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11067 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1044511068 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1044611069 ;;
1044711070 esac
1060011223
1060111224
1060211225
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10604 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11227 printf %s "checking dynamic linker characteristics... " >&6; }
1060511228
1060611229 if test yes = "$GCC"; then
1060711230 case $host_os in
1086311486 case $host_os in
1086411487 cygwin*)
1086511488 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10866 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11489 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1086711490
1086811491 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1086911492 ;;
1087311496 ;;
1087411497 pw32*)
1087511498 # pw32 DLLs use 'pw' prefix rather than 'lib'
10876 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11499 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1087711500 ;;
1087811501 esac
1087911502 dynamic_linker='Win32 ld.exe'
1088011503 ;;
1088111504
10882 *,cl*)
10883 # Native MSVC
11505 *,cl* | *,icl*)
11506 # Native MSVC or ICC
1088411507 libname_spec='$name'
1088511508 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1088611509 library_names_spec='$libname.dll.lib'
1089911522 done
1090011523 IFS=$lt_save_ifs
1090111524 # Convert to MSYS style.
10902 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11525 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1090311526 ;;
1090411527 cygwin*)
1090511528 # Convert to unix form, then to dos form, then back to unix form
1093611559 ;;
1093711560
1093811561 *)
10939 # Assume MSVC wrapper
11562 # Assume MSVC and ICC wrapper
1094011563 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1094111564 dynamic_linker='Win32 ld.exe'
1094211565 ;;
1096911592 shlibpath_var=LD_LIBRARY_PATH
1097011593 ;;
1097111594
10972 freebsd* | dragonfly*)
11595 freebsd* | dragonfly* | midnightbsd*)
1097311596 # DragonFly does not have aout. When/if they implement a new
1097411597 # versioning mechanism, adjust this.
1097511598 if test -x /usr/bin/objformat; then
1116211785 shlibpath_overrides_runpath=no
1116311786
1116411787 # Some binutils ld are patched to set DT_RUNPATH
11165 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11166 $as_echo_n "(cached) " >&6
11167 else
11788 if test ${lt_cv_shlibpath_overrides_runpath+y}
11789 then :
11790 printf %s "(cached) " >&6
11791 else $as_nop
1116811792 lt_cv_shlibpath_overrides_runpath=no
1116911793 save_LDFLAGS=$LDFLAGS
1117011794 save_libdir=$libdir
1117411798 /* end confdefs.h. */
1117511799
1117611800 int
11177 main ()
11801 main (void)
1117811802 {
1117911803
1118011804 ;
1118111805 return 0;
1118211806 }
1118311807 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11808 if ac_fn_c_try_link "$LINENO"
11809 then :
11810 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11811 then :
1118611812 lt_cv_shlibpath_overrides_runpath=yes
1118711813 fi
1118811814 fi
11189 rm -f core conftest.err conftest.$ac_objext \
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1119011816 conftest$ac_exeext conftest.$ac_ext
1119111817 LDFLAGS=$save_LDFLAGS
1119211818 libdir=$save_libdir
1141812044 dynamic_linker=no
1141912045 ;;
1142012046 esac
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11422 $as_echo "$dynamic_linker" >&6; }
12047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12048 printf "%s\n" "$dynamic_linker" >&6; }
1142312049 test no = "$dynamic_linker" && can_build_shared=no
1142412050
1142512051 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1154012166
1154112167
1154212168
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12170 printf %s "checking how to hardcode library paths into programs... " >&6; }
1154512171 hardcode_action=
1154612172 if test -n "$hardcode_libdir_flag_spec" ||
1154712173 test -n "$runpath_var" ||
1156512191 # directories.
1156612192 hardcode_action=unsupported
1156712193 fi
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11569 $as_echo "$hardcode_action" >&6; }
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12195 printf "%s\n" "$hardcode_action" >&6; }
1157012196
1157112197 if test relink = "$hardcode_action" ||
1157212198 test yes = "$inherit_rpath"; then
1161012236
1161112237 darwin*)
1161212238 # if libdl is installed we need to link against it
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11614 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11615 if ${ac_cv_lib_dl_dlopen+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12240 printf %s "checking for dlopen in -ldl... " >&6; }
12241 if test ${ac_cv_lib_dl_dlopen+y}
12242 then :
12243 printf %s "(cached) " >&6
12244 else $as_nop
1161812245 ac_check_lib_save_LIBS=$LIBS
1161912246 LIBS="-ldl $LIBS"
1162012247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1162312250 /* Override any GCC internal prototype to avoid an error.
1162412251 Use char because int might match the return type of a GCC
1162512252 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
1162912253 char dlopen ();
1163012254 int
11631 main ()
12255 main (void)
1163212256 {
1163312257 return dlopen ();
1163412258 ;
1163512259 return 0;
1163612260 }
1163712261 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
12262 if ac_fn_c_try_link "$LINENO"
12263 then :
1163912264 ac_cv_lib_dl_dlopen=yes
11640 else
12265 else $as_nop
1164112266 ac_cv_lib_dl_dlopen=no
1164212267 fi
11643 rm -f core conftest.err conftest.$ac_objext \
12268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1164412269 conftest$ac_exeext conftest.$ac_ext
1164512270 LIBS=$ac_check_lib_save_LIBS
1164612271 fi
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11648 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11649 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12273 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12274 if test "x$ac_cv_lib_dl_dlopen" = xyes
12275 then :
1165012276 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11651 else
12277 else $as_nop
1165212278
1165312279 lt_cv_dlopen=dyld
1165412280 lt_cv_dlopen_libs=
1166812294
1166912295 *)
1167012296 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11671 if test "x$ac_cv_func_shl_load" = xyes; then :
12297 if test "x$ac_cv_func_shl_load" = xyes
12298 then :
1167212299 lt_cv_dlopen=shl_load
11673 else
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11675 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11676 if ${ac_cv_lib_dld_shl_load+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
12300 else $as_nop
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12302 printf %s "checking for shl_load in -ldld... " >&6; }
12303 if test ${ac_cv_lib_dld_shl_load+y}
12304 then :
12305 printf %s "(cached) " >&6
12306 else $as_nop
1167912307 ac_check_lib_save_LIBS=$LIBS
1168012308 LIBS="-ldld $LIBS"
1168112309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1168412312 /* Override any GCC internal prototype to avoid an error.
1168512313 Use char because int might match the return type of a GCC
1168612314 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
1169012315 char shl_load ();
1169112316 int
11692 main ()
12317 main (void)
1169312318 {
1169412319 return shl_load ();
1169512320 ;
1169612321 return 0;
1169712322 }
1169812323 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
12324 if ac_fn_c_try_link "$LINENO"
12325 then :
1170012326 ac_cv_lib_dld_shl_load=yes
11701 else
12327 else $as_nop
1170212328 ac_cv_lib_dld_shl_load=no
1170312329 fi
11704 rm -f core conftest.err conftest.$ac_objext \
12330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1170512331 conftest$ac_exeext conftest.$ac_ext
1170612332 LIBS=$ac_check_lib_save_LIBS
1170712333 fi
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11709 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11710 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12335 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12336 if test "x$ac_cv_lib_dld_shl_load" = xyes
12337 then :
1171112338 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11712 else
12339 else $as_nop
1171312340 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11714 if test "x$ac_cv_func_dlopen" = xyes; then :
12341 if test "x$ac_cv_func_dlopen" = xyes
12342 then :
1171512343 lt_cv_dlopen=dlopen
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11718 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11719 if ${ac_cv_lib_dl_dlopen+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
12344 else $as_nop
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12346 printf %s "checking for dlopen in -ldl... " >&6; }
12347 if test ${ac_cv_lib_dl_dlopen+y}
12348 then :
12349 printf %s "(cached) " >&6
12350 else $as_nop
1172212351 ac_check_lib_save_LIBS=$LIBS
1172312352 LIBS="-ldl $LIBS"
1172412353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1172712356 /* Override any GCC internal prototype to avoid an error.
1172812357 Use char because int might match the return type of a GCC
1172912358 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
1173312359 char dlopen ();
1173412360 int
11735 main ()
12361 main (void)
1173612362 {
1173712363 return dlopen ();
1173812364 ;
1173912365 return 0;
1174012366 }
1174112367 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
12368 if ac_fn_c_try_link "$LINENO"
12369 then :
1174312370 ac_cv_lib_dl_dlopen=yes
11744 else
12371 else $as_nop
1174512372 ac_cv_lib_dl_dlopen=no
1174612373 fi
11747 rm -f core conftest.err conftest.$ac_objext \
12374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1174812375 conftest$ac_exeext conftest.$ac_ext
1174912376 LIBS=$ac_check_lib_save_LIBS
1175012377 fi
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11752 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11753 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12379 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12380 if test "x$ac_cv_lib_dl_dlopen" = xyes
12381 then :
1175412382 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11757 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11758 if ${ac_cv_lib_svld_dlopen+:} false; then :
11759 $as_echo_n "(cached) " >&6
11760 else
12383 else $as_nop
12384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12385 printf %s "checking for dlopen in -lsvld... " >&6; }
12386 if test ${ac_cv_lib_svld_dlopen+y}
12387 then :
12388 printf %s "(cached) " >&6
12389 else $as_nop
1176112390 ac_check_lib_save_LIBS=$LIBS
1176212391 LIBS="-lsvld $LIBS"
1176312392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1176612395 /* Override any GCC internal prototype to avoid an error.
1176712396 Use char because int might match the return type of a GCC
1176812397 builtin and then its argument prototype would still apply. */
11769 #ifdef __cplusplus
11770 extern "C"
11771 #endif
1177212398 char dlopen ();
1177312399 int
11774 main ()
12400 main (void)
1177512401 {
1177612402 return dlopen ();
1177712403 ;
1177812404 return 0;
1177912405 }
1178012406 _ACEOF
11781 if ac_fn_c_try_link "$LINENO"; then :
12407 if ac_fn_c_try_link "$LINENO"
12408 then :
1178212409 ac_cv_lib_svld_dlopen=yes
11783 else
12410 else $as_nop
1178412411 ac_cv_lib_svld_dlopen=no
1178512412 fi
11786 rm -f core conftest.err conftest.$ac_objext \
12413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1178712414 conftest$ac_exeext conftest.$ac_ext
1178812415 LIBS=$ac_check_lib_save_LIBS
1178912416 fi
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11791 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11792 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12418 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12419 if test "x$ac_cv_lib_svld_dlopen" = xyes
12420 then :
1179312421 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11794 else
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11796 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11797 if ${ac_cv_lib_dld_dld_link+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
12422 else $as_nop
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12424 printf %s "checking for dld_link in -ldld... " >&6; }
12425 if test ${ac_cv_lib_dld_dld_link+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
1180012429 ac_check_lib_save_LIBS=$LIBS
1180112430 LIBS="-ldld $LIBS"
1180212431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1180512434 /* Override any GCC internal prototype to avoid an error.
1180612435 Use char because int might match the return type of a GCC
1180712436 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
1181112437 char dld_link ();
1181212438 int
11813 main ()
12439 main (void)
1181412440 {
1181512441 return dld_link ();
1181612442 ;
1181712443 return 0;
1181812444 }
1181912445 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
12446 if ac_fn_c_try_link "$LINENO"
12447 then :
1182112448 ac_cv_lib_dld_dld_link=yes
11822 else
12449 else $as_nop
1182312450 ac_cv_lib_dld_dld_link=no
1182412451 fi
11825 rm -f core conftest.err conftest.$ac_objext \
12452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1182612453 conftest$ac_exeext conftest.$ac_ext
1182712454 LIBS=$ac_check_lib_save_LIBS
1182812455 fi
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11830 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11831 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12457 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12458 if test "x$ac_cv_lib_dld_dld_link" = xyes
12459 then :
1183212460 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1183312461 fi
1183412462
1186712495 save_LIBS=$LIBS
1186812496 LIBS="$lt_cv_dlopen_libs $LIBS"
1186912497
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11871 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11872 if ${lt_cv_dlopen_self+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12499 printf %s "checking whether a program can dlopen itself... " >&6; }
12500 if test ${lt_cv_dlopen_self+y}
12501 then :
12502 printf %s "(cached) " >&6
12503 else $as_nop
1187512504 if test yes = "$cross_compiling"; then :
1187612505 lt_cv_dlopen_self=cross
1187712506 else
1195012579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1195112580 (eval $ac_link) 2>&5
1195212581 ac_status=$?
11953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1195412583 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1195512584 (./conftest; exit; ) >&5 2>/dev/null
1195612585 lt_status=$?
1196812597
1196912598
1197012599 fi
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11972 $as_echo "$lt_cv_dlopen_self" >&6; }
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12601 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1197312602
1197412603 if test yes = "$lt_cv_dlopen_self"; then
1197512604 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11977 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11978 if ${lt_cv_dlopen_self_static+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
12605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12606 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12607 if test ${lt_cv_dlopen_self_static+y}
12608 then :
12609 printf %s "(cached) " >&6
12610 else $as_nop
1198112611 if test yes = "$cross_compiling"; then :
1198212612 lt_cv_dlopen_self_static=cross
1198312613 else
1205612686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1205712687 (eval $ac_link) 2>&5
1205812688 ac_status=$?
12059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1206012690 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1206112691 (./conftest; exit; ) >&5 2>/dev/null
1206212692 lt_status=$?
1207412704
1207512705
1207612706 fi
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12078 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12708 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1207912709 fi
1208012710
1208112711 CPPFLAGS=$save_CPPFLAGS
1211312743
1211412744 striplib=
1211512745 old_striplib=
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12117 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12118 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12119 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12120 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12122 $as_echo "yes" >&6; }
12123 else
12124 # FIXME - insert some real tests, host_os isn't really good enough
12125 case $host_os in
12126 darwin*)
12127 if test -n "$STRIP"; then
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12747 printf %s "checking whether stripping libraries is possible... " >&6; }
12748 if test -z "$STRIP"; then
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12750 printf "%s\n" "no" >&6; }
12751 else
12752 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12753 old_striplib="$STRIP --strip-debug"
12754 striplib="$STRIP --strip-unneeded"
12755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12756 printf "%s\n" "yes" >&6; }
12757 else
12758 case $host_os in
12759 darwin*)
12760 # FIXME - insert some real tests, host_os isn't really good enough
1212812761 striplib="$STRIP -x"
1212912762 old_striplib="$STRIP -S"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12131 $as_echo "yes" >&6; }
12132 else
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12134 $as_echo "no" >&6; }
12135 fi
12136 ;;
12137 *)
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 ;;
12141 esac
12763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12764 printf "%s\n" "yes" >&6; }
12765 ;;
12766 freebsd*)
12767 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12768 old_striplib="$STRIP --strip-debug"
12769 striplib="$STRIP --strip-unneeded"
12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12771 printf "%s\n" "yes" >&6; }
12772 else
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 printf "%s\n" "no" >&6; }
12775 fi
12776 ;;
12777 *)
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12779 printf "%s\n" "no" >&6; }
12780 ;;
12781 esac
12782 fi
1214212783 fi
1214312784
1214412785
1215312794
1215412795
1215512796 # Report what library types will actually be built
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12157 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12159 $as_echo "$can_build_shared" >&6; }
12160
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12162 $as_echo_n "checking whether to build shared libraries... " >&6; }
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12798 printf %s "checking if libtool supports shared libraries... " >&6; }
12799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12800 printf "%s\n" "$can_build_shared" >&6; }
12801
12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12803 printf %s "checking whether to build shared libraries... " >&6; }
1216312804 test no = "$can_build_shared" && enable_shared=no
1216412805
1216512806 # On AIX, shared libraries and static libraries use the same namespace, and
1218312824 fi
1218412825 ;;
1218512826 esac
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12187 $as_echo "$enable_shared" >&6; }
12188
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12190 $as_echo_n "checking whether to build static libraries... " >&6; }
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12828 printf "%s\n" "$enable_shared" >&6; }
12829
12830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12831 printf %s "checking whether to build static libraries... " >&6; }
1219112832 # Make sure either enable_shared or enable_static is yes.
1219212833 test yes = "$enable_shared" || enable_static=yes
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12194 $as_echo "$enable_static" >&6; }
12834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12835 printf "%s\n" "$enable_static" >&6; }
1219512836
1219612837
1219712838
1223912880 if test -n "$ac_tool_prefix"; then
1224012881 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1224112882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12243 $as_echo_n "checking for $ac_word... " >&6; }
12244 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12884 printf %s "checking for $ac_word... " >&6; }
12885 if test ${ac_cv_path_PKG_CONFIG+y}
12886 then :
12887 printf %s "(cached) " >&6
12888 else $as_nop
1224712889 case $PKG_CONFIG in
1224812890 [\\/]* | ?:[\\/]*)
1224912891 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1225312895 for as_dir in $PATH
1225412896 do
1225512897 IFS=$as_save_IFS
12256 test -z "$as_dir" && as_dir=.
12898 case $as_dir in #(((
12899 '') as_dir=./ ;;
12900 */) ;;
12901 *) as_dir=$as_dir/ ;;
12902 esac
1225712903 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12259 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12904 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12905 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
12906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1226112907 break 2
1226212908 fi
1226312909 done
1226912915 fi
1227012916 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1227112917 if test -n "$PKG_CONFIG"; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12273 $as_echo "$PKG_CONFIG" >&6; }
12274 else
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12276 $as_echo "no" >&6; }
12918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12919 printf "%s\n" "$PKG_CONFIG" >&6; }
12920 else
12921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12922 printf "%s\n" "no" >&6; }
1227712923 fi
1227812924
1227912925
1228212928 ac_pt_PKG_CONFIG=$PKG_CONFIG
1228312929 # Extract the first word of "pkg-config", so it can be a program name with args.
1228412930 set dummy pkg-config; ac_word=$2
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12286 $as_echo_n "checking for $ac_word... " >&6; }
12287 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12932 printf %s "checking for $ac_word... " >&6; }
12933 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
12934 then :
12935 printf %s "(cached) " >&6
12936 else $as_nop
1229012937 case $ac_pt_PKG_CONFIG in
1229112938 [\\/]* | ?:[\\/]*)
1229212939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1229612943 for as_dir in $PATH
1229712944 do
1229812945 IFS=$as_save_IFS
12299 test -z "$as_dir" && as_dir=.
12946 case $as_dir in #(((
12947 '') as_dir=./ ;;
12948 */) ;;
12949 *) as_dir=$as_dir/ ;;
12950 esac
1230012951 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12952 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12953 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
12954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1230412955 break 2
1230512956 fi
1230612957 done
1231212963 fi
1231312964 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1231412965 if test -n "$ac_pt_PKG_CONFIG"; then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12316 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12317 else
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 $as_echo "no" >&6; }
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12967 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
12968 else
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12970 printf "%s\n" "no" >&6; }
1232012971 fi
1232112972
1232212973 if test "x$ac_pt_PKG_CONFIG" = x; then
1232412975 else
1232512976 case $cross_compiling:$ac_tool_warned in
1232612977 yes:)
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1232912980 ac_tool_warned=yes ;;
1233012981 esac
1233112982 PKG_CONFIG=$ac_pt_PKG_CONFIG
1233712988 fi
1233812989 if test -n "$PKG_CONFIG"; then
1233912990 _pkg_min_version=0.9.0
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12341 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12992 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
1234212993 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12344 $as_echo "yes" >&6; }
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12995 printf "%s\n" "yes" >&6; }
1234512996 else
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12998 printf "%s\n" "no" >&6; }
1234812999 PKG_CONFIG=""
1234913000 fi
1235013001 fi
1235913010
1236013011 # Use silent rules by default if supported by Automake
1236113012 # Check whether --enable-silent-rules was given.
12362 if test "${enable_silent_rules+set}" = set; then :
13013 if test ${enable_silent_rules+y}
13014 then :
1236313015 enableval=$enable_silent_rules;
1236413016 fi
1236513017
1236913021 *) AM_DEFAULT_VERBOSITY=0;;
1237013022 esac
1237113023 am_make=${MAKE-make}
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12373 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12374 if ${am_cv_make_support_nested_variables+:} false; then :
12375 $as_echo_n "(cached) " >&6
12376 else
12377 if $as_echo 'TRUE=$(BAR$(V))
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13025 printf %s "checking whether $am_make supports nested variables... " >&6; }
13026 if test ${am_cv_make_support_nested_variables+y}
13027 then :
13028 printf %s "(cached) " >&6
13029 else $as_nop
13030 if printf "%s\n" 'TRUE=$(BAR$(V))
1237813031 BAR0=false
1237913032 BAR1=true
1238013033 V=1
1238613039 am_cv_make_support_nested_variables=no
1238713040 fi
1238813041 fi
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12390 $as_echo "$am_cv_make_support_nested_variables" >&6; }
13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13043 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
1239113044 if test $am_cv_make_support_nested_variables = yes; then
1239213045 AM_V='$(V)'
1239313046 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1246213115
1246313116
1246413117 # Check whether --with-socketdir was given.
12465 if test "${with_socketdir+set}" = set; then :
13118 if test ${with_socketdir+y}
13119 then :
1246613120 withval=$with_socketdir;
12467 else
13121 else $as_nop
1246813122 with_socketdir="/tmp/.xrdp"
1246913123 fi
1247013124
1247313127
1247413128
1247513129 # Check whether --with-systemdsystemunitdir was given.
12476 if test "${with_systemdsystemunitdir+set}" = set; then :
13130 if test ${with_systemdsystemunitdir+y}
13131 then :
1247713132 withval=$with_systemdsystemunitdir;
12478 else
13133 else $as_nop
1247913134
1248013135 if test "x$linux" = xyes; then
1248113136 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
1249813153
1249913154
1250013155 # Check whether --enable-tests was given.
12501 if test "${enable_tests+set}" = set; then :
13156 if test ${enable_tests+y}
13157 then :
1250213158 enableval=$enable_tests; ensure_tests_deps=yes
1250313159 fi
1250413160
1250513161 # Check whether --enable-pam was given.
12506 if test "${enable_pam+set}" = set; then :
13162 if test ${enable_pam+y}
13163 then :
1250713164 enableval=$enable_pam;
12508 else
13165 else $as_nop
1250913166 enable_pam=yes
1251013167 fi
1251113168
1251813175 fi
1251913176
1252013177 # Check whether --enable-vsock was given.
12521 if test "${enable_vsock+set}" = set; then :
13178 if test ${enable_vsock+y}
13179 then :
1252213180 enableval=$enable_vsock;
12523 else
13181 else $as_nop
1252413182 enable_vsock=no
1252513183 fi
1252613184
1252713185 # Check whether --enable-ipv6 was given.
12528 if test "${enable_ipv6+set}" = set; then :
13186 if test ${enable_ipv6+y}
13187 then :
1252913188 enableval=$enable_ipv6;
12530 else
13189 else $as_nop
1253113190 enable_ipv6=no
1253213191 fi
1253313192
1253413193 # Check whether --enable-ipv6only was given.
12535 if test "${enable_ipv6only+set}" = set; then :
13194 if test ${enable_ipv6only+y}
13195 then :
1253613196 enableval=$enable_ipv6only;
12537 else
13197 else $as_nop
1253813198 enable_ipv6only=no
1253913199 fi
1254013200
1254113201 # Check whether --enable-kerberos was given.
12542 if test "${enable_kerberos+set}" = set; then :
13202 if test ${enable_kerberos+y}
13203 then :
1254313204 enableval=$enable_kerberos;
12544 else
13205 else $as_nop
1254513206 enable_kerberos=no
1254613207 fi
1254713208
1254813209 # Check whether --enable-bsd was given.
12549 if test "${enable_bsd+set}" = set; then :
13210 if test ${enable_bsd+y}
13211 then :
1255013212 enableval=$enable_bsd; bsd=true
12551 else
13213 else $as_nop
1255213214 bsd=false
1255313215 fi
1255413216
1256913231 fi
1257013232
1257113233 # Check whether --enable-pamuserpass was given.
12572 if test "${enable_pamuserpass+set}" = set; then :
13234 if test ${enable_pamuserpass+y}
13235 then :
1257313236 enableval=$enable_pamuserpass;
12574 else
13237 else $as_nop
1257513238 enable_pamuserpass=no
1257613239 fi
1257713240
1258413247 fi
1258513248
1258613249 # Check whether --enable-pam-config was given.
12587 if test "${enable_pam_config+set}" = set; then :
13250 if test ${enable_pam_config+y}
13251 then :
1258813252 enableval=$enable_pam_config;
1258913253 fi
1259013254
1259213256 # Development options. devel_all is first as this provides a default for
1259313257 # the others
1259413258 # Check whether --enable-devel_all was given.
12595 if test "${enable_devel_all+set}" = set; then :
13259 if test ${enable_devel_all+y}
13260 then :
1259613261 enableval=$enable_devel_all; devel_all=$enableval
12597 else
13262 else $as_nop
1259813263 devel_all=no
1259913264 fi
1260013265
1260113266 # Check whether --enable-devel_debug was given.
12602 if test "${enable_devel_debug+set}" = set; then :
13267 if test ${enable_devel_debug+y}
13268 then :
1260313269 enableval=$enable_devel_debug; devel_debug=$enableval
12604 else
13270 else $as_nop
1260513271 devel_debug=$devel_all
1260613272 fi
1260713273
1261413280 fi
1261513281
1261613282 # Check whether --enable-devel_logging was given.
12617 if test "${enable_devel_logging+set}" = set; then :
13283 if test ${enable_devel_logging+y}
13284 then :
1261813285 enableval=$enable_devel_logging; devel_logging=$enableval
12619 else
13286 else $as_nop
1262013287 devel_logging=$devel_all
1262113288 fi
1262213289
1262313290 # Check whether --enable-devel_streamcheck was given.
12624 if test "${enable_devel_streamcheck+set}" = set; then :
13291 if test ${enable_devel_streamcheck+y}
13292 then :
1262513293 enableval=$enable_devel_streamcheck; devel_streamcheck=$enableval
12626 else
13294 else $as_nop
1262713295 devel_streamcheck=$devel_all
1262813296 fi
1262913297
1263013298
1263113299 # Check whether --enable-neutrinordp was given.
12632 if test "${enable_neutrinordp+set}" = set; then :
13300 if test ${enable_neutrinordp+y}
13301 then :
1263313302 enableval=$enable_neutrinordp;
12634 else
13303 else $as_nop
1263513304 enable_neutrinordp=no
1263613305 fi
1263713306
1264413313 fi
1264513314
1264613315 # Check whether --enable-jpeg was given.
12647 if test "${enable_jpeg+set}" = set; then :
13316 if test ${enable_jpeg+y}
13317 then :
1264813318 enableval=$enable_jpeg;
12649 else
13319 else $as_nop
1265013320 enable_jpeg=no
1265113321 fi
1265213322
1265913329 fi
1266013330
1266113331 # Check whether --enable-tjpeg was given.
12662 if test "${enable_tjpeg+set}" = set; then :
13332 if test ${enable_tjpeg+y}
13333 then :
1266313334 enableval=$enable_tjpeg;
12664 else
13335 else $as_nop
1266513336 enable_tjpeg=no
1266613337 fi
1266713338
1267413345 fi
1267513346
1267613347 # Check whether --enable-fuse was given.
12677 if test "${enable_fuse+set}" = set; then :
13348 if test ${enable_fuse+y}
13349 then :
1267813350 enableval=$enable_fuse;
12679 else
13351 else $as_nop
1268013352 enable_fuse=no
1268113353 fi
1268213354
1268913361 fi
1269013362
1269113363 # Check whether --enable-xrdpvr was given.
12692 if test "${enable_xrdpvr+set}" = set; then :
13364 if test ${enable_xrdpvr+y}
13365 then :
1269313366 enableval=$enable_xrdpvr;
12694 else
13367 else $as_nop
1269513368 enable_xrdpvr=no
1269613369 fi
1269713370
1270413377 fi
1270513378
1270613379 # Check whether --enable-fdkaac was given.
12707 if test "${enable_fdkaac+set}" = set; then :
13380 if test ${enable_fdkaac+y}
13381 then :
1270813382 enableval=$enable_fdkaac;
12709 else
13383 else $as_nop
1271013384 enable_fdkaac=no
1271113385 fi
1271213386
1271913393 fi
1272013394
1272113395 # Check whether --enable-opus was given.
12722 if test "${enable_opus+set}" = set; then :
13396 if test ${enable_opus+y}
13397 then :
1272313398 enableval=$enable_opus;
12724 else
13399 else $as_nop
1272513400 enable_opus=no
1272613401 fi
1272713402
1273413409 fi
1273513410
1273613411 # Check whether --enable-mp3lame was given.
12737 if test "${enable_mp3lame+set}" = set; then :
13412 if test ${enable_mp3lame+y}
13413 then :
1273813414 enableval=$enable_mp3lame;
12739 else
13415 else $as_nop
1274013416 enable_mp3lame=no
1274113417 fi
1274213418
1274913425 fi
1275013426
1275113427 # Check whether --enable-pixman was given.
12752 if test "${enable_pixman+set}" = set; then :
13428 if test ${enable_pixman+y}
13429 then :
1275313430 enableval=$enable_pixman;
12754 else
13431 else $as_nop
1275513432 enable_pixman=no
1275613433 fi
1275713434
1276513442
1276613443
1276713444 # Check whether --enable-painter was given.
12768 if test "${enable_painter+set}" = set; then :
13445 if test ${enable_painter+y}
13446 then :
1276913447 enableval=$enable_painter;
12770 else
13448 else $as_nop
1277113449 enable_painter=yes
1277213450 fi
1277313451
1278113459
1278213460
1278313461 # Check whether --enable-rfxcodec was given.
12784 if test "${enable_rfxcodec+set}" = set; then :
13462 if test ${enable_rfxcodec+y}
13463 then :
1278513464 enableval=$enable_rfxcodec;
12786 else
13465 else $as_nop
1278713466 enable_rfxcodec=yes
1278813467 fi
1278913468
1279713476
1279813477
1279913478 # Check whether --enable-rdpsndaudin was given.
12800 if test "${enable_rdpsndaudin+set}" = set; then :
13479 if test ${enable_rdpsndaudin+y}
13480 then :
1280113481 enableval=$enable_rdpsndaudin;
12802 else
13482 else $as_nop
1280313483 enable_rdpsndaudin=no
1280413484 fi
1280513485
1281413494
1281513495
1281613496 # Check whether --with-imlib2 was given.
12817 if test "${with_imlib2+set}" = set; then :
13497 if test ${with_imlib2+y}
13498 then :
1281813499 withval=$with_imlib2;
1281913500 fi
1282013501
1282113502
1282213503 # Obsolete options
1282313504 # Check whether --enable-xrdpdebug was given.
12824 if test "${enable_xrdpdebug+set}" = set; then :
13505 if test ${enable_xrdpdebug+y}
13506 then :
1282513507 enableval=$enable_xrdpdebug;
1282613508 fi
1282713509
1283413516
1283513517
1283613518
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((format))" >&5
12838 $as_echo_n "checking for __attribute__((format))... " >&6; }
12839 if ${ax_cv_have_func_attribute_format+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((format))" >&5
13520 printf %s "checking for __attribute__((format))... " >&6; }
13521 if test ${ax_cv_have_func_attribute_format+y}
13522 then :
13523 printf %s "(cached) " >&6
13524 else $as_nop
1284213525
1284313526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1284413527 /* end confdefs.h. */
1284713530 int foo(const char *p, ...) __attribute__((format(printf, 1, 2)));
1284813531
1284913532 int
12850 main ()
13533 main (void)
1285113534 {
1285213535
1285313536 ;
1285513538 }
1285613539
1285713540 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 if test -s conftest.err; then :
13541 if ac_fn_c_try_link "$LINENO"
13542 then :
13543 if test -s conftest.err
13544 then :
1286013545 ax_cv_have_func_attribute_format=no
12861 else
13546 else $as_nop
1286213547 ax_cv_have_func_attribute_format=yes
1286313548 fi
12864 else
13549 else $as_nop
1286513550 ax_cv_have_func_attribute_format=no
1286613551 fi
12867 rm -f core conftest.err conftest.$ac_objext \
13552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1286813553 conftest$ac_exeext conftest.$ac_ext
1286913554
1287013555 fi
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_format" >&5
12872 $as_echo "$ax_cv_have_func_attribute_format" >&6; }
12873
12874 if test yes = $ax_cv_have_func_attribute_format; then :
12875
12876 cat >>confdefs.h <<_ACEOF
12877 #define HAVE_FUNC_ATTRIBUTE_FORMAT 1
12878 _ACEOF
12879
12880 fi
12881
12882
12883
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
12885 $as_echo_n "checking for socklen_t... " >&6; }
12886 if ${ac_cv_ax_type_socklen_t+:} false; then :
12887 $as_echo_n "(cached) " >&6
12888 else
13556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_format" >&5
13557 printf "%s\n" "$ax_cv_have_func_attribute_format" >&6; }
13558
13559 if test yes = $ax_cv_have_func_attribute_format
13560 then :
13561
13562 printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_FORMAT 1" >>confdefs.h
13563
13564 fi
13565
13566
13567
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
13569 printf %s "checking for socklen_t... " >&6; }
13570 if test ${ac_cv_ax_type_socklen_t+y}
13571 then :
13572 printf %s "(cached) " >&6
13573 else $as_nop
1288913574
1289013575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1289113576 /* end confdefs.h. */
1289213577 #include <sys/types.h>
1289313578 #include <sys/socket.h>
1289413579 int
12895 main ()
13580 main (void)
1289613581 {
1289713582 socklen_t len = (socklen_t) 42; return (!len);
1289813583 ;
1289913584 return 0;
1290013585 }
1290113586 _ACEOF
12902 if ac_fn_c_try_compile "$LINENO"; then :
13587 if ac_fn_c_try_compile "$LINENO"
13588 then :
1290313589 ac_cv_ax_type_socklen_t=yes
12904 else
13590 else $as_nop
1290513591 ac_cv_ax_type_socklen_t=no
1290613592 fi
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908
12909 fi
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ax_type_socklen_t" >&5
12911 $as_echo "$ac_cv_ax_type_socklen_t" >&6; }
13593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13594
13595 fi
13596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ax_type_socklen_t" >&5
13597 printf "%s\n" "$ac_cv_ax_type_socklen_t" >&6; }
1291213598 if test $ac_cv_ax_type_socklen_t != yes; then
1291313599
12914 $as_echo "#define socklen_t int" >>confdefs.h
13600 printf "%s\n" "#define socklen_t int" >>confdefs.h
1291513601
1291613602 fi
1291713603
1292113607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292213608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1292313609
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
12925 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
12926 if ${ac_cv_cflags_warn_all+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
13610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
13611 printf %s "checking CFLAGS for maximum warnings... " >&6; }
13612 if test ${ac_cv_cflags_warn_all+y}
13613 then :
13614 printf %s "(cached) " >&6
13615 else $as_nop
1292913616 ac_cv_cflags_warn_all="no, unknown"
1293013617 ac_save_CFLAGS="$CFLAGS"
1293113618 for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
1293413621 /* end confdefs.h. */
1293513622
1293613623 int
12937 main ()
13624 main (void)
1293813625 {
1293913626
1294013627 ;
1294113628 return 0;
1294213629 }
1294313630 _ACEOF
12944 if ac_fn_c_try_compile "$LINENO"; then :
13631 if ac_fn_c_try_compile "$LINENO"
13632 then :
1294513633 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
1294613634 fi
12947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1294813636 done
1294913637 CFLAGS="$ac_save_CFLAGS"
1295013638
1295113639 fi
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12953 $as_echo "$ac_cv_cflags_warn_all" >&6; }
13640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
13641 printf "%s\n" "$ac_cv_cflags_warn_all" >&6; }
1295413642
1295513643
1295613644 case ".$ac_cv_cflags_warn_all" in
1295713645 .ok|.ok,*) ;;
1295813646 .|.no|.no,*) ;;
1295913647 *)
12960 if ${CFLAGS+:} false; then :
13648 if test ${CFLAGS+y}
13649 then :
1296113650
1296213651 case " $CFLAGS " in #(
1296313652 *" $ac_cv_cflags_warn_all "*) :
12964 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
13653 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
1296513654 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
1296613655 ac_status=$?
12967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1296813657 test $ac_status = 0; } ;; #(
1296913658 *) :
1297013659
1297113660 as_fn_append CFLAGS " $ac_cv_cflags_warn_all"
12972 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13661 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1297313662 (: CFLAGS="$CFLAGS") 2>&5
1297413663 ac_status=$?
12975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1297613665 test $ac_status = 0; }
1297713666 ;;
1297813667 esac
1297913668
12980 else
13669 else $as_nop
1298113670
1298213671 CFLAGS=$ac_cv_cflags_warn_all
12983 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13672 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1298413673 (: CFLAGS="$CFLAGS") 2>&5
1298513674 ac_status=$?
12986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1298713676 test $ac_status = 0; }
1298813677
1298913678 fi
1300213691
1300313692
1300413693 for flag in -Wwrite-strings; do
13005 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13007 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13008 if eval \${$as_CACHEVAR+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13694 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13696 printf %s "checking whether C compiler accepts $flag... " >&6; }
13697 if eval test \${$as_CACHEVAR+y}
13698 then :
13699 printf %s "(cached) " >&6
13700 else $as_nop
1301113701
1301213702 ax_check_save_flags=$CFLAGS
1301313703 CFLAGS="$CFLAGS $flag"
1301513705 /* end confdefs.h. */
1301613706
1301713707 int
13018 main ()
13708 main (void)
1301913709 {
1302013710
1302113711 ;
1302213712 return 0;
1302313713 }
1302413714 _ACEOF
13025 if ac_fn_c_try_compile "$LINENO"; then :
13715 if ac_fn_c_try_compile "$LINENO"
13716 then :
1302613717 eval "$as_CACHEVAR=yes"
13027 else
13718 else $as_nop
1302813719 eval "$as_CACHEVAR=no"
1302913720 fi
13030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1303113722 CFLAGS=$ax_check_save_flags
1303213723 fi
1303313724 eval ac_res=\$$as_CACHEVAR
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13035 $as_echo "$ac_res" >&6; }
13036 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13037
13038 if ${CFLAGS+:} false; then :
13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13726 printf "%s\n" "$ac_res" >&6; }
13727 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13728 then :
13729
13730 if test ${CFLAGS+y}
13731 then :
1303913732
1304013733 case " $CFLAGS " in #(
1304113734 *" $flag "*) :
13042 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13735 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1304313736 (: CFLAGS already contains $flag) 2>&5
1304413737 ac_status=$?
13045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1304613739 test $ac_status = 0; } ;; #(
1304713740 *) :
1304813741
1304913742 as_fn_append CFLAGS " $flag"
13050 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13743 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1305113744 (: CFLAGS="$CFLAGS") 2>&5
1305213745 ac_status=$?
13053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1305413747 test $ac_status = 0; }
1305513748 ;;
1305613749 esac
1305713750
13058 else
13751 else $as_nop
1305913752
1306013753 CFLAGS=$flag
13061 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13754 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1306213755 (: CFLAGS="$CFLAGS") 2>&5
1306313756 ac_status=$?
13064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1306513758 test $ac_status = 0; }
1306613759
1306713760 fi
1306813761
13069 else
13762 else $as_nop
1307013763 :
1307113764 fi
1307213765
1307913772
1308013773
1308113774 for flag in -Werror; do
13082 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13084 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13085 if eval \${$as_CACHEVAR+:} false; then :
13086 $as_echo_n "(cached) " >&6
13087 else
13775 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13777 printf %s "checking whether C compiler accepts $flag... " >&6; }
13778 if eval test \${$as_CACHEVAR+y}
13779 then :
13780 printf %s "(cached) " >&6
13781 else $as_nop
1308813782
1308913783 ax_check_save_flags=$CFLAGS
1309013784 CFLAGS="$CFLAGS $flag"
1309213786 /* end confdefs.h. */
1309313787
1309413788 int
13095 main ()
13789 main (void)
1309613790 {
1309713791
1309813792 ;
1309913793 return 0;
1310013794 }
1310113795 _ACEOF
13102 if ac_fn_c_try_compile "$LINENO"; then :
13796 if ac_fn_c_try_compile "$LINENO"
13797 then :
1310313798 eval "$as_CACHEVAR=yes"
13104 else
13799 else $as_nop
1310513800 eval "$as_CACHEVAR=no"
1310613801 fi
13107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1310813803 CFLAGS=$ax_check_save_flags
1310913804 fi
1311013805 eval ac_res=\$$as_CACHEVAR
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13112 $as_echo "$ac_res" >&6; }
13113 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13114
13115 if ${CFLAGS+:} false; then :
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13807 printf "%s\n" "$ac_res" >&6; }
13808 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13809 then :
13810
13811 if test ${CFLAGS+y}
13812 then :
1311613813
1311713814 case " $CFLAGS " in #(
1311813815 *" $flag "*) :
13119 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13816 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1312013817 (: CFLAGS already contains $flag) 2>&5
1312113818 ac_status=$?
13122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1312313820 test $ac_status = 0; } ;; #(
1312413821 *) :
1312513822
1312613823 as_fn_append CFLAGS " $flag"
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13824 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1312813825 (: CFLAGS="$CFLAGS") 2>&5
1312913826 ac_status=$?
13130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1313113828 test $ac_status = 0; }
1313213829 ;;
1313313830 esac
1313413831
13135 else
13832 else $as_nop
1313613833
1313713834 CFLAGS=$flag
13138 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13835 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1313913836 (: CFLAGS="$CFLAGS") 2>&5
1314013837 ac_status=$?
13141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1314213839 test $ac_status = 0; }
1314313840
1314413841 fi
1314513842
13146 else
13843 else $as_nop
1314713844 :
1314813845 fi
1314913846
1315713854
1315813855
1315913856 for flag in -g -O0; do
13160 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13162 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13163 if eval \${$as_CACHEVAR+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13857 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13859 printf %s "checking whether C compiler accepts $flag... " >&6; }
13860 if eval test \${$as_CACHEVAR+y}
13861 then :
13862 printf %s "(cached) " >&6
13863 else $as_nop
1316613864
1316713865 ax_check_save_flags=$CFLAGS
1316813866 CFLAGS="$CFLAGS $flag"
1317013868 /* end confdefs.h. */
1317113869
1317213870 int
13173 main ()
13871 main (void)
1317413872 {
1317513873
1317613874 ;
1317713875 return 0;
1317813876 }
1317913877 _ACEOF
13180 if ac_fn_c_try_compile "$LINENO"; then :
13878 if ac_fn_c_try_compile "$LINENO"
13879 then :
1318113880 eval "$as_CACHEVAR=yes"
13182 else
13881 else $as_nop
1318313882 eval "$as_CACHEVAR=no"
1318413883 fi
13185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1318613885 CFLAGS=$ax_check_save_flags
1318713886 fi
1318813887 eval ac_res=\$$as_CACHEVAR
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13190 $as_echo "$ac_res" >&6; }
13191 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13192
13193 if ${CFLAGS+:} false; then :
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13889 printf "%s\n" "$ac_res" >&6; }
13890 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13891 then :
13892
13893 if test ${CFLAGS+y}
13894 then :
1319413895
1319513896 case " $CFLAGS " in #(
1319613897 *" $flag "*) :
13197 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13898 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1319813899 (: CFLAGS already contains $flag) 2>&5
1319913900 ac_status=$?
13200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1320113902 test $ac_status = 0; } ;; #(
1320213903 *) :
1320313904
1320413905 as_fn_append CFLAGS " $flag"
13205 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13906 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1320613907 (: CFLAGS="$CFLAGS") 2>&5
1320713908 ac_status=$?
13208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1320913910 test $ac_status = 0; }
1321013911 ;;
1321113912 esac
1321213913
13213 else
13914 else $as_nop
1321413915
1321513916 CFLAGS=$flag
13216 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13917 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1321713918 (: CFLAGS="$CFLAGS") 2>&5
1321813919 ac_status=$?
13219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1322013921 test $ac_status = 0; }
1322113922
1322213923 fi
1322313924
13224 else
13925 else $as_nop
1322513926 :
1322613927 fi
1322713928
1323313934
1323413935
1323513936 for flag in -O2; do
13236 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13238 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13239 if eval \${$as_CACHEVAR+:} false; then :
13240 $as_echo_n "(cached) " >&6
13241 else
13937 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13939 printf %s "checking whether C compiler accepts $flag... " >&6; }
13940 if eval test \${$as_CACHEVAR+y}
13941 then :
13942 printf %s "(cached) " >&6
13943 else $as_nop
1324213944
1324313945 ax_check_save_flags=$CFLAGS
1324413946 CFLAGS="$CFLAGS $flag"
1324613948 /* end confdefs.h. */
1324713949
1324813950 int
13249 main ()
13951 main (void)
1325013952 {
1325113953
1325213954 ;
1325313955 return 0;
1325413956 }
1325513957 _ACEOF
13256 if ac_fn_c_try_compile "$LINENO"; then :
13958 if ac_fn_c_try_compile "$LINENO"
13959 then :
1325713960 eval "$as_CACHEVAR=yes"
13258 else
13961 else $as_nop
1325913962 eval "$as_CACHEVAR=no"
1326013963 fi
13261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1326213965 CFLAGS=$ax_check_save_flags
1326313966 fi
1326413967 eval ac_res=\$$as_CACHEVAR
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13266 $as_echo "$ac_res" >&6; }
13267 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13268
13269 if ${CFLAGS+:} false; then :
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13969 printf "%s\n" "$ac_res" >&6; }
13970 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13971 then :
13972
13973 if test ${CFLAGS+y}
13974 then :
1327013975
1327113976 case " $CFLAGS " in #(
1327213977 *" $flag "*) :
13273 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13978 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1327413979 (: CFLAGS already contains $flag) 2>&5
1327513980 ac_status=$?
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1327713982 test $ac_status = 0; } ;; #(
1327813983 *) :
1327913984
1328013985 as_fn_append CFLAGS " $flag"
13281 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13986 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1328213987 (: CFLAGS="$CFLAGS") 2>&5
1328313988 ac_status=$?
13284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1328513990 test $ac_status = 0; }
1328613991 ;;
1328713992 esac
1328813993
13289 else
13994 else $as_nop
1329013995
1329113996 CFLAGS=$flag
13292 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13997 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1329313998 (: CFLAGS="$CFLAGS") 2>&5
1329413999 ac_status=$?
13295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1329614001 test $ac_status = 0; }
1329714002
1329814003 fi
1329914004
13300 else
14005 else $as_nop
1330114006 :
1330214007 fi
1330314008
1331414019 # Check if -ldl is needed to use dlopen()
1331514020 DLOPEN_LIBS=
1331614021 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13317 if test "x$ac_cv_func_dlopen" = xyes; then :
13318
13319 else
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13321 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13322 if ${ac_cv_lib_dl_dlopen+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
14022 if test "x$ac_cv_func_dlopen" = xyes
14023 then :
14024
14025 else $as_nop
14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14027 printf %s "checking for dlopen in -ldl... " >&6; }
14028 if test ${ac_cv_lib_dl_dlopen+y}
14029 then :
14030 printf %s "(cached) " >&6
14031 else $as_nop
1332514032 ac_check_lib_save_LIBS=$LIBS
1332614033 LIBS="-ldl $LIBS"
1332714034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1333014037 /* Override any GCC internal prototype to avoid an error.
1333114038 Use char because int might match the return type of a GCC
1333214039 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
1333614040 char dlopen ();
1333714041 int
13338 main ()
14042 main (void)
1333914043 {
1334014044 return dlopen ();
1334114045 ;
1334214046 return 0;
1334314047 }
1334414048 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
14049 if ac_fn_c_try_link "$LINENO"
14050 then :
1334614051 ac_cv_lib_dl_dlopen=yes
13347 else
14052 else $as_nop
1334814053 ac_cv_lib_dl_dlopen=no
1334914054 fi
13350 rm -f core conftest.err conftest.$ac_objext \
14055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1335114056 conftest$ac_exeext conftest.$ac_ext
1335214057 LIBS=$ac_check_lib_save_LIBS
1335314058 fi
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13355 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13356 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14060 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
14061 if test "x$ac_cv_lib_dl_dlopen" = xyes
14062 then :
1335714063 DLOPEN_LIBS=-ldl
1335814064 fi
1335914065
1336414070 # checking for openssl
1336514071
1336614072 pkg_failed=no
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13368 $as_echo_n "checking for OPENSSL... " >&6; }
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
14074 printf %s "checking for OPENSSL... " >&6; }
1336914075
1337014076 if test -n "$OPENSSL_CFLAGS"; then
1337114077 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
1337214078 elif test -n "$PKG_CONFIG"; then
1337314079 if test -n "$PKG_CONFIG" && \
13374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.8\""; } >&5
14080 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.8\""; } >&5
1337514081 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.8") 2>&5
1337614082 ac_status=$?
13377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1337814084 test $ac_status = 0; }; then
1337914085 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.8" 2>/dev/null`
1338014086 test "x$?" != "x0" && pkg_failed=yes
1338814094 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
1338914095 elif test -n "$PKG_CONFIG"; then
1339014096 if test -n "$PKG_CONFIG" && \
13391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.8\""; } >&5
14097 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.8\""; } >&5
1339214098 ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.8") 2>&5
1339314099 ac_status=$?
13394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1339514101 test $ac_status = 0; }; then
1339614102 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.8" 2>/dev/null`
1339714103 test "x$?" != "x0" && pkg_failed=yes
1340514111
1340614112
1340714113 if test $pkg_failed = yes; then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
14114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14115 printf "%s\n" "no" >&6; }
1341014116
1341114117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1341214118 _pkg_short_errors_supported=yes
1342314129
1342414130 as_fn_error $? "please install libssl-dev or openssl-devel" "$LINENO" 5
1342514131 elif test $pkg_failed = untried; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133 printf "%s\n" "no" >&6; }
1342814134 as_fn_error $? "please install libssl-dev or openssl-devel" "$LINENO" 5
1342914135 else
1343014136 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
1343114137 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13433 $as_echo "yes" >&6; }
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14139 printf "%s\n" "yes" >&6; }
1343414140
1343514141 fi
1343614142
1344014146 do
1344114147 # Extract the first word of "$ac_prog", so it can be a program name with args.
1344214148 set dummy $ac_prog; ac_word=$2
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444 $as_echo_n "checking for $ac_word... " >&6; }
13445 if ${ac_cv_path_OPENSSL+:} false; then :
13446 $as_echo_n "(cached) " >&6
13447 else
14149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14150 printf %s "checking for $ac_word... " >&6; }
14151 if test ${ac_cv_path_OPENSSL+y}
14152 then :
14153 printf %s "(cached) " >&6
14154 else $as_nop
1344814155 case $OPENSSL in
1344914156 [\\/]* | ?:[\\/]*)
1345014157 ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
1345514162 for as_dir in $as_dummy
1345614163 do
1345714164 IFS=$as_save_IFS
13458 test -z "$as_dir" && as_dir=.
14165 case $as_dir in #(((
14166 '') as_dir=./ ;;
14167 */) ;;
14168 *) as_dir=$as_dir/ ;;
14169 esac
1345914170 for ac_exec_ext in '' $ac_executable_extensions; do
13460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13461 ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
13462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14172 ac_cv_path_OPENSSL="$as_dir$ac_word$ac_exec_ext"
14173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1346314174 break 2
1346414175 fi
1346514176 done
1347114182 fi
1347214183 OPENSSL=$ac_cv_path_OPENSSL
1347314184 if test -n "$OPENSSL"; then
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL" >&5
13475 $as_echo "$OPENSSL" >&6; }
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478 $as_echo "no" >&6; }
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPENSSL" >&5
14186 printf "%s\n" "$OPENSSL" >&6; }
14187 else
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14189 printf "%s\n" "no" >&6; }
1347914190 fi
1348014191
1348114192
1348814199 # Linux-PAM is used in Linux systems
1348914200 # OpenPAM is used by FreeBSD, NetBSD, DragonFly BSD and OS X
1349014201 # OpenBSD uses BSD Authentication rather than both PAMs
13491 ac_fn_c_check_header_mongrel "$LINENO" "security/_pam_types.h" "ac_cv_header_security__pam_types_h" "$ac_includes_default"
13492 if test "x$ac_cv_header_security__pam_types_h" = xyes; then :
13493
13494 $as_echo "#define HAVE__PAM_TYPES_H 1" >>confdefs.h
13495
13496 fi
13497
13498
13499 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_constants.h" "ac_cv_header_security_pam_constants_h" "$ac_includes_default"
13500 if test "x$ac_cv_header_security_pam_constants_h" = xyes; then :
13501
13502 $as_echo "#define HAVE_PAM_CONSTANTS_H 1" >>confdefs.h
13503
13504 fi
13505
14202 ac_fn_c_check_header_compile "$LINENO" "security/_pam_types.h" "ac_cv_header_security__pam_types_h" "$ac_includes_default"
14203 if test "x$ac_cv_header_security__pam_types_h" = xyes
14204 then :
14205
14206 printf "%s\n" "#define HAVE__PAM_TYPES_H 1" >>confdefs.h
14207
14208 fi
14209
14210 ac_fn_c_check_header_compile "$LINENO" "security/pam_constants.h" "ac_cv_header_security_pam_constants_h" "$ac_includes_default"
14211 if test "x$ac_cv_header_security_pam_constants_h" = xyes
14212 then :
14213
14214 printf "%s\n" "#define HAVE_PAM_CONSTANTS_H 1" >>confdefs.h
14215
14216 fi
1350614217
1350714218
1350814219 # Find imlib2
1350914220 case "$with_imlib2" in
13510 '' | no) { $as_echo "$as_me:${as_lineno-$LINENO}: imlib2 will not be supported" >&5
13511 $as_echo "$as_me: imlib2 will not be supported" >&6;}
14221 '' | no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: imlib2 will not be supported" >&5
14222 printf "%s\n" "$as_me: imlib2 will not be supported" >&6;}
1351214223 use_imlib2=no
1351314224 ;;
1351414225 yes)
1351514226
1351614227 pkg_failed=no
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB2" >&5
13518 $as_echo_n "checking for IMLIB2... " >&6; }
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IMLIB2" >&5
14229 printf %s "checking for IMLIB2... " >&6; }
1351914230
1352014231 if test -n "$IMLIB2_CFLAGS"; then
1352114232 pkg_cv_IMLIB2_CFLAGS="$IMLIB2_CFLAGS"
1352214233 elif test -n "$PKG_CONFIG"; then
1352314234 if test -n "$PKG_CONFIG" && \
13524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.4.5\""; } >&5
14235 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.4.5\""; } >&5
1352514236 ($PKG_CONFIG --exists --print-errors "imlib2 >= 1.4.5") 2>&5
1352614237 ac_status=$?
13527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1352814239 test $ac_status = 0; }; then
1352914240 pkg_cv_IMLIB2_CFLAGS=`$PKG_CONFIG --cflags "imlib2 >= 1.4.5" 2>/dev/null`
1353014241 test "x$?" != "x0" && pkg_failed=yes
1353814249 pkg_cv_IMLIB2_LIBS="$IMLIB2_LIBS"
1353914250 elif test -n "$PKG_CONFIG"; then
1354014251 if test -n "$PKG_CONFIG" && \
13541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.4.5\""; } >&5
14252 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2 >= 1.4.5\""; } >&5
1354214253 ($PKG_CONFIG --exists --print-errors "imlib2 >= 1.4.5") 2>&5
1354314254 ac_status=$?
13544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1354514256 test $ac_status = 0; }; then
1354614257 pkg_cv_IMLIB2_LIBS=`$PKG_CONFIG --libs "imlib2 >= 1.4.5" 2>/dev/null`
1354714258 test "x$?" != "x0" && pkg_failed=yes
1355514266
1355614267
1355714268 if test $pkg_failed = yes; then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13559 $as_echo "no" >&6; }
14269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14270 printf "%s\n" "no" >&6; }
1356014271
1356114272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1356214273 _pkg_short_errors_supported=yes
1357314284
1357414285 as_fn_error $? "please install libimlib2-dev or imlib2-devel" "$LINENO" 5
1357514286 elif test $pkg_failed = untried; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13577 $as_echo "no" >&6; }
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14288 printf "%s\n" "no" >&6; }
1357814289 as_fn_error $? "please install libimlib2-dev or imlib2-devel" "$LINENO" 5
1357914290 else
1358014291 IMLIB2_CFLAGS=$pkg_cv_IMLIB2_CFLAGS
1358114292 IMLIB2_LIBS=$pkg_cv_IMLIB2_LIBS
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13583 $as_echo "yes" >&6; }
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14294 printf "%s\n" "yes" >&6; }
1358414295 use_imlib2=yes
1358514296 fi
1358614297 ;;
13587 /*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for imlib2 in $with_imlib2" >&5
13588 $as_echo_n "checking for imlib2 in $with_imlib2... " >&6; }
14298 /*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for imlib2 in $with_imlib2" >&5
14299 printf %s "checking for imlib2 in $with_imlib2... " >&6; }
1358914300 if test -d $with_imlib2/lib; then
1359014301 IMLIB2_LIBS="-L$with_imlib2/lib -lImlib2"
1359114302 elif test -d $with_imlib2/lib64; then
1359214303 IMLIB2_LIBS="-L$with_imlib2/lib64 -lImlib2"
1359314304 else
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13595 $as_echo "no" >&6; }
14305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14306 printf "%s\n" "no" >&6; }
1359614307 as_fn_error $? "Can't find libImlib2 in $with_imlib2" "$LINENO" 5
1359714308 fi
1359814309
1359914310 if test -f $with_imlib2/include/Imlib2.h; then
1360014311 IMLIB2_CFLAGS="-I $with_imlib2/include"
1360114312 else
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13603 $as_echo "no" >&6; }
14313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14314 printf "%s\n" "no" >&6; }
1360414315 as_fn_error $? "Can't find $with_imlib2/include/Imlib2.h" "$LINENO" 5
1360514316 fi
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13607 $as_echo "yes" >&6; }
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14318 printf "%s\n" "yes" >&6; }
1360814319
1360914320
1361014321 use_imlib2=yes
1361414325
1361514326 if test x$use_imlib2 = xyes; then
1361614327
13617 $as_echo "#define USE_IMLIB2 1" >>confdefs.h
14328 printf "%s\n" "#define USE_IMLIB2 1" >>confdefs.h
1361814329
1361914330 fi
1362014331
1365214363 then
1365314364 if test -z "$enable_bsd"
1365414365 then
13655 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13656 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13657
13658 else
14366 ac_fn_c_check_header_compile "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
14367 if test "x$ac_cv_header_security_pam_appl_h" = xyes
14368 then :
14369
14370 else $as_nop
1365914371 as_fn_error $? "please install libpam0g-dev or pam-devel" "$LINENO" 5
1366014372 fi
13661
1366214373
1366314374 fi
1366414375 if test "x$enable_pam_config" = "x"; then
1367714388
1367814389 # Add define for development options to config_ac.h
1367914390
13680 $as_echo "#define CONFIG_AC_H 1" >>confdefs.h
14391 printf "%s\n" "#define CONFIG_AC_H 1" >>confdefs.h
1368114392
1368214393 if test x$devel_logging = xyes
1368314394 then
1368414395
13685 $as_echo "#define USE_DEVEL_LOGGING 1" >>confdefs.h
14396 printf "%s\n" "#define USE_DEVEL_LOGGING 1" >>confdefs.h
1368614397
1368714398 fi
1368814399
1368914400 if test x$devel_streamcheck = xyes
1369014401 then
1369114402
13692 $as_echo "#define USE_DEVEL_STREAMCHECK 1" >>confdefs.h
14403 printf "%s\n" "#define USE_DEVEL_STREAMCHECK 1" >>confdefs.h
1369314404
1369414405 fi
1369514406
1369614407 if test "x$enable_vsock" = "xyes"
1369714408 then
1369814409 enable_vsock=yes
13699 for ac_header in linux/socket.h linux/vm_sockets.h
14410 for ac_header in linux/socket.h linux/vm_sockets.h
1370014411 do :
13701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14412 as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh`
1370214413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/socket.h>
1370314414 "
13704 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14415 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14416 then :
1370514417 cat >>confdefs.h <<_ACEOF
13706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14418 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1
1370714419 _ACEOF
1370814420
13709 $as_echo "#define XRDP_ENABLE_VSOCK 1" >>confdefs.h
14421 printf "%s\n" "#define XRDP_ENABLE_VSOCK 1" >>confdefs.h
1371014422
1371114423 fi
1371214424
1371314425 done
13714
1371514426 fi
1371614427
1371714428 if test "x$enable_ipv6only" = "xyes"
1371814429 then
1371914430 enable_ipv6=yes
1372014431
13721 $as_echo "#define XRDP_ENABLE_IPV6ONLY 1" >>confdefs.h
14432 printf "%s\n" "#define XRDP_ENABLE_IPV6ONLY 1" >>confdefs.h
1372214433
1372314434 fi
1372414435
1372514436 if test "x$enable_ipv6" = "xyes"
1372614437 then
1372714438
13728 $as_echo "#define XRDP_ENABLE_IPV6 1" >>confdefs.h
14439 printf "%s\n" "#define XRDP_ENABLE_IPV6 1" >>confdefs.h
1372914440
1373014441 fi
1373114442
1373214443 if test "x$enable_pam" = "xyes"
1373314444 then
1373414445
13735 $as_echo "#define USE_PAM 1" >>confdefs.h
13736
13737 fi
13738
13739 if test "x$enable_neutrinordp" = "xyes" ; then :
14446 printf "%s\n" "#define USE_PAM 1" >>confdefs.h
14447
14448 fi
14449
14450 if test "x$enable_neutrinordp" = "xyes"
14451 then :
1374014452
1374114453 pkg_failed=no
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5
13743 $as_echo_n "checking for FREERDP... " >&6; }
14454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREERDP" >&5
14455 printf %s "checking for FREERDP... " >&6; }
1374414456
1374514457 if test -n "$FREERDP_CFLAGS"; then
1374614458 pkg_cv_FREERDP_CFLAGS="$FREERDP_CFLAGS"
1374714459 elif test -n "$PKG_CONFIG"; then
1374814460 if test -n "$PKG_CONFIG" && \
13749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.0\""; } >&5
14461 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.0\""; } >&5
1375014462 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.0") 2>&5
1375114463 ac_status=$?
13752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1375314465 test $ac_status = 0; }; then
1375414466 pkg_cv_FREERDP_CFLAGS=`$PKG_CONFIG --cflags "freerdp >= 1.0.0" 2>/dev/null`
1375514467 test "x$?" != "x0" && pkg_failed=yes
1376314475 pkg_cv_FREERDP_LIBS="$FREERDP_LIBS"
1376414476 elif test -n "$PKG_CONFIG"; then
1376514477 if test -n "$PKG_CONFIG" && \
13766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.0\""; } >&5
14478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.0.0\""; } >&5
1376714479 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.0.0") 2>&5
1376814480 ac_status=$?
13769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1377014482 test $ac_status = 0; }; then
1377114483 pkg_cv_FREERDP_LIBS=`$PKG_CONFIG --libs "freerdp >= 1.0.0" 2>/dev/null`
1377214484 test "x$?" != "x0" && pkg_failed=yes
1378014492
1378114493
1378214494 if test $pkg_failed = yes; then
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13784 $as_echo "no" >&6; }
14495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 printf "%s\n" "no" >&6; }
1378514497
1378614498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1378714499 _pkg_short_errors_supported=yes
1380714519 and FREERDP_LIBS to avoid the need to call pkg-config.
1380814520 See the pkg-config man page for more details." "$LINENO" 5
1380914521 elif test $pkg_failed = untried; then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13811 $as_echo "no" >&6; }
13812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 printf "%s\n" "no" >&6; }
14524 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14525 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1381414526 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1381514527 is in your PATH or set the PKG_CONFIG environment variable to the full
1381614528 path to pkg-config.
1382414536 else
1382514537 FREERDP_CFLAGS=$pkg_cv_FREERDP_CFLAGS
1382614538 FREERDP_LIBS=$pkg_cv_FREERDP_LIBS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13828 $as_echo "yes" >&6; }
14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14540 printf "%s\n" "yes" >&6; }
1382914541
1383014542 fi
1383114543 fi
1383314545 # checking for libjpeg
1383414546 if test "x$enable_jpeg" = "xyes"
1383514547 then
13836 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13837 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13838
13839 else
14548 ac_fn_c_check_header_compile "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14549 if test "x$ac_cv_header_jpeglib_h" = xyes
14550 then :
14551
14552 else $as_nop
1384014553 as_fn_error $? "please install libjpeg-dev or libjpeg-devel" "$LINENO" 5
1384114554 fi
13842
1384314555
1384414556 fi
1384514557
1384814560 then
1384914561
1385014562 pkg_failed=no
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
13852 $as_echo_n "checking for FUSE... " >&6; }
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FUSE" >&5
14564 printf %s "checking for FUSE... " >&6; }
1385314565
1385414566 if test -n "$FUSE_CFLAGS"; then
1385514567 pkg_cv_FUSE_CFLAGS="$FUSE_CFLAGS"
1385614568 elif test -n "$PKG_CONFIG"; then
1385714569 if test -n "$PKG_CONFIG" && \
13858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
14570 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
1385914571 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
1386014572 ac_status=$?
13861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1386214574 test $ac_status = 0; }; then
1386314575 pkg_cv_FUSE_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null`
1386414576 test "x$?" != "x0" && pkg_failed=yes
1387214584 pkg_cv_FUSE_LIBS="$FUSE_LIBS"
1387314585 elif test -n "$PKG_CONFIG"; then
1387414586 if test -n "$PKG_CONFIG" && \
13875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
14587 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5
1387614588 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5
1387714589 ac_status=$?
13878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1387914591 test $ac_status = 0; }; then
1388014592 pkg_cv_FUSE_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null`
1388114593 test "x$?" != "x0" && pkg_failed=yes
1388914601
1389014602
1389114603 if test $pkg_failed = yes; then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
14604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14605 printf "%s\n" "no" >&6; }
1389414606
1389514607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1389614608 _pkg_short_errors_supported=yes
1390714619
1390814620 as_fn_error $? "please install libfuse-dev or fuse-devel" "$LINENO" 5
1390914621 elif test $pkg_failed = untried; then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13911 $as_echo "no" >&6; }
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14623 printf "%s\n" "no" >&6; }
1391214624 as_fn_error $? "please install libfuse-dev or fuse-devel" "$LINENO" 5
1391314625 else
1391414626 FUSE_CFLAGS=$pkg_cv_FUSE_CFLAGS
1391514627 FUSE_LIBS=$pkg_cv_FUSE_LIBS
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13917 $as_echo "yes" >&6; }
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14629 printf "%s\n" "yes" >&6; }
1391814630
1391914631 fi
1392014632 fi
1392414636 then
1392514637
1392614638 pkg_failed=no
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5
13928 $as_echo_n "checking for FDKAAC... " >&6; }
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FDKAAC" >&5
14640 printf %s "checking for FDKAAC... " >&6; }
1392914641
1393014642 if test -n "$FDKAAC_CFLAGS"; then
1393114643 pkg_cv_FDKAAC_CFLAGS="$FDKAAC_CFLAGS"
1393214644 elif test -n "$PKG_CONFIG"; then
1393314645 if test -n "$PKG_CONFIG" && \
13934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac >= 0.1.0\""; } >&5
14646 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac >= 0.1.0\""; } >&5
1393514647 ($PKG_CONFIG --exists --print-errors "fdk-aac >= 0.1.0") 2>&5
1393614648 ac_status=$?
13937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393814650 test $ac_status = 0; }; then
1393914651 pkg_cv_FDKAAC_CFLAGS=`$PKG_CONFIG --cflags "fdk-aac >= 0.1.0" 2>/dev/null`
1394014652 test "x$?" != "x0" && pkg_failed=yes
1394814660 pkg_cv_FDKAAC_LIBS="$FDKAAC_LIBS"
1394914661 elif test -n "$PKG_CONFIG"; then
1395014662 if test -n "$PKG_CONFIG" && \
13951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac >= 0.1.0\""; } >&5
14663 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fdk-aac >= 0.1.0\""; } >&5
1395214664 ($PKG_CONFIG --exists --print-errors "fdk-aac >= 0.1.0") 2>&5
1395314665 ac_status=$?
13954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1395514667 test $ac_status = 0; }; then
1395614668 pkg_cv_FDKAAC_LIBS=`$PKG_CONFIG --libs "fdk-aac >= 0.1.0" 2>/dev/null`
1395714669 test "x$?" != "x0" && pkg_failed=yes
1396514677
1396614678
1396714679 if test $pkg_failed = yes; then
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13969 $as_echo "no" >&6; }
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14681 printf "%s\n" "no" >&6; }
1397014682
1397114683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1397214684 _pkg_short_errors_supported=yes
1398314695
1398414696 as_fn_error $? "please install libfdk-aac-dev or fdk-aac-devel" "$LINENO" 5
1398514697 elif test $pkg_failed = untried; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13987 $as_echo "no" >&6; }
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 printf "%s\n" "no" >&6; }
1398814700 as_fn_error $? "please install libfdk-aac-dev or fdk-aac-devel" "$LINENO" 5
1398914701 else
1399014702 FDKAAC_CFLAGS=$pkg_cv_FDKAAC_CFLAGS
1399114703 FDKAAC_LIBS=$pkg_cv_FDKAAC_LIBS
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13993 $as_echo "yes" >&6; }
14704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14705 printf "%s\n" "yes" >&6; }
1399414706
1399514707 fi
1399614708 fi
1399814710 # checking for opus
1399914711 if test "x$enable_opus" = "xyes"
1400014712 then
14001 ac_fn_c_check_header_mongrel "$LINENO" "opus/opus.h" "ac_cv_header_opus_opus_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_opus_opus_h" = xyes; then :
14003
14004 else
14713 ac_fn_c_check_header_compile "$LINENO" "opus/opus.h" "ac_cv_header_opus_opus_h" "$ac_includes_default"
14714 if test "x$ac_cv_header_opus_opus_h" = xyes
14715 then :
14716
14717 else $as_nop
1400514718 as_fn_error $? "please install libopus-dev or opus-devel" "$LINENO" 5
1400614719 fi
14007
1400814720
1400914721 fi
1401014722
1401114723 # checking for lame mp3
1401214724 if test "x$enable_mp3lame" = "xyes"
1401314725 then
14014 ac_fn_c_check_header_mongrel "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
14015 if test "x$ac_cv_header_lame_lame_h" = xyes; then :
14016
14017 else
14726 ac_fn_c_check_header_compile "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
14727 if test "x$ac_cv_header_lame_lame_h" = xyes
14728 then :
14729
14730 else $as_nop
1401814731 as_fn_error $? "please install libmp3lame-dev or lamemp3-devel" "$LINENO" 5
1401914732 fi
1402014733
14021
14022 fi
14023
14024 if test "x$enable_pixman" = "xyes" ; then :
14734 fi
14735
14736 if test "x$enable_pixman" = "xyes"
14737 then :
1402514738
1402614739 pkg_failed=no
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
14028 $as_echo_n "checking for PIXMAN... " >&6; }
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
14741 printf %s "checking for PIXMAN... " >&6; }
1402914742
1403014743 if test -n "$PIXMAN_CFLAGS"; then
1403114744 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
1403214745 elif test -n "$PKG_CONFIG"; then
1403314746 if test -n "$PKG_CONFIG" && \
14034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.1.0\""; } >&5
14747 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.1.0\""; } >&5
1403514748 ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.1.0") 2>&5
1403614749 ac_status=$?
14037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1403814751 test $ac_status = 0; }; then
1403914752 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.1.0" 2>/dev/null`
1404014753 test "x$?" != "x0" && pkg_failed=yes
1404814761 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
1404914762 elif test -n "$PKG_CONFIG"; then
1405014763 if test -n "$PKG_CONFIG" && \
14051 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.1.0\""; } >&5
14764 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.1.0\""; } >&5
1405214765 ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.1.0") 2>&5
1405314766 ac_status=$?
14054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1405514768 test $ac_status = 0; }; then
1405614769 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1 >= 0.1.0" 2>/dev/null`
1405714770 test "x$?" != "x0" && pkg_failed=yes
1406514778
1406614779
1406714780 if test $pkg_failed = yes; then
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14069 $as_echo "no" >&6; }
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14782 printf "%s\n" "no" >&6; }
1407014783
1407114784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1407214785 _pkg_short_errors_supported=yes
1409214805 and PIXMAN_LIBS to avoid the need to call pkg-config.
1409314806 See the pkg-config man page for more details." "$LINENO" 5
1409414807 elif test $pkg_failed = untried; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14096 $as_echo "no" >&6; }
14097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14809 printf "%s\n" "no" >&6; }
14810 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14811 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1409914812 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1410014813 is in your PATH or set the PKG_CONFIG environment variable to the full
1410114814 path to pkg-config.
1410914822 else
1411014823 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
1411114824 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14113 $as_echo "yes" >&6; }
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14826 printf "%s\n" "yes" >&6; }
1411414827
1411514828 fi
1411614829 fi
1412114834 if test ! -z "$TURBOJPEG_PATH"
1412214835 then
1412314836 # env var TURBOJPEG_PATH has been defined, use that
14124 as_ac_Header=`$as_echo "ac_cv_header_$TURBOJPEG_PATH/include/turbojpeg.h" | $as_tr_sh`
14125 ac_fn_c_check_header_mongrel "$LINENO" "$TURBOJPEG_PATH/include/turbojpeg.h" "$as_ac_Header" "$ac_includes_default"
14126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14127
14128 else
14837 as_ac_Header=`printf "%s\n" "ac_cv_header_$TURBOJPEG_PATH/include/turbojpeg.h" | $as_tr_sh`
14838 ac_fn_c_check_header_compile "$LINENO" "$TURBOJPEG_PATH/include/turbojpeg.h" "$as_ac_Header" "$ac_includes_default"
14839 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14840 then :
14841
14842 else $as_nop
1412914843 as_fn_error $? "could not find TurboJPEG in dir specified by env variable TURBOJPEG_PATH ($TURBOJPEG_PATH)" "$LINENO" 5
1413014844 fi
14131
1413214845
1413314846
1413414847 TurboJpegIncDir="-I$TURBOJPEG_PATH/include"
1415114864
1415214865 else
1415314866 # check in default location
14154 ac_fn_c_check_header_mongrel "$LINENO" "/usr/include/turbojpeg.h" "ac_cv_header__usr_include_turbojpeg_h" "$ac_includes_default"
14155 if test "x$ac_cv_header__usr_include_turbojpeg_h" = xyes; then :
14156
14157 else
14867 ac_fn_c_check_header_compile "$LINENO" "/usr/include/turbojpeg.h" "ac_cv_header__usr_include_turbojpeg_h" "$ac_includes_default"
14868 if test "x$ac_cv_header__usr_include_turbojpeg_h" = xyes
14869 then :
14870
14871 else $as_nop
1415814872 as_fn_error $? "please install TurboJPEG " "$LINENO" 5
1415914873 fi
1416014874
14161
1416214875 TurboJpegIncDir=""
1416314876
1416414877 TurboJpegLibDir=""
1416614879 fi
1416714880 fi
1416814881
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14170 $as_echo_n "checking for X... " >&6; }
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
14888 printf %s "checking how to run the C preprocessor... " >&6; }
14889 # On Suns, sometimes $CPP names a directory.
14890 if test -n "$CPP" && test -d "$CPP"; then
14891 CPP=
14892 fi
14893 if test -z "$CPP"; then
14894 if test ${ac_cv_prog_CPP+y}
14895 then :
14896 printf %s "(cached) " >&6
14897 else $as_nop
14898 # Double quotes because $CC needs to be expanded
14899 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
14900 do
14901 ac_preproc_ok=false
14902 for ac_c_preproc_warn_flag in '' yes
14903 do
14904 # Use a header file that comes with gcc, so configuring glibc
14905 # with a fresh cross-compiler works.
14906 # On the NeXT, cc -E runs the code through the compiler's parser,
14907 # not just through cpp. "Syntax error" is here to catch this case.
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 #include <limits.h>
14911 Syntax error
14912 _ACEOF
14913 if ac_fn_c_try_cpp "$LINENO"
14914 then :
14915
14916 else $as_nop
14917 # Broken: fails on valid input.
14918 continue
14919 fi
14920 rm -f conftest.err conftest.i conftest.$ac_ext
14921
14922 # OK, works on sane cases. Now check whether nonexistent headers
14923 # can be detected and how.
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 #include <ac_nonexistent.h>
14927 _ACEOF
14928 if ac_fn_c_try_cpp "$LINENO"
14929 then :
14930 # Broken: success on invalid input.
14931 continue
14932 else $as_nop
14933 # Passes both tests.
14934 ac_preproc_ok=:
14935 break
14936 fi
14937 rm -f conftest.err conftest.i conftest.$ac_ext
14938
14939 done
14940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14941 rm -f conftest.i conftest.err conftest.$ac_ext
14942 if $ac_preproc_ok
14943 then :
14944 break
14945 fi
14946
14947 done
14948 ac_cv_prog_CPP=$CPP
14949
14950 fi
14951 CPP=$ac_cv_prog_CPP
14952 else
14953 ac_cv_prog_CPP=$CPP
14954 fi
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
14956 printf "%s\n" "$CPP" >&6; }
14957 ac_preproc_ok=false
14958 for ac_c_preproc_warn_flag in '' yes
14959 do
14960 # Use a header file that comes with gcc, so configuring glibc
14961 # with a fresh cross-compiler works.
14962 # On the NeXT, cc -E runs the code through the compiler's parser,
14963 # not just through cpp. "Syntax error" is here to catch this case.
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #include <limits.h>
14967 Syntax error
14968 _ACEOF
14969 if ac_fn_c_try_cpp "$LINENO"
14970 then :
14971
14972 else $as_nop
14973 # Broken: fails on valid input.
14974 continue
14975 fi
14976 rm -f conftest.err conftest.i conftest.$ac_ext
14977
14978 # OK, works on sane cases. Now check whether nonexistent headers
14979 # can be detected and how.
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 #include <ac_nonexistent.h>
14983 _ACEOF
14984 if ac_fn_c_try_cpp "$LINENO"
14985 then :
14986 # Broken: success on invalid input.
14987 continue
14988 else $as_nop
14989 # Passes both tests.
14990 ac_preproc_ok=:
14991 break
14992 fi
14993 rm -f conftest.err conftest.i conftest.$ac_ext
14994
14995 done
14996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14997 rm -f conftest.i conftest.err conftest.$ac_ext
14998 if $ac_preproc_ok
14999 then :
15000
15001 else $as_nop
15002 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15003 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15004 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
15005 See \`config.log' for more details" "$LINENO" 5; }
15006 fi
15007
15008 ac_ext=c
15009 ac_cpp='$CPP $CPPFLAGS'
15010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15013
15014
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
15016 printf %s "checking for X... " >&6; }
1417115017
1417215018
1417315019 # Check whether --with-x was given.
14174 if test "${with_x+set}" = set; then :
15020 if test ${with_x+y}
15021 then :
1417515022 withval=$with_x;
1417615023 fi
1417715024
1418215029 else
1418315030 case $x_includes,$x_libraries in #(
1418415031 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14185 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
15032 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
15033 then :
15034 printf %s "(cached) " >&6
15035 else $as_nop
1418815036 # One or both of the vars are not set, and there is no cached value.
14189 ac_x_includes=no ac_x_libraries=no
14190 rm -f -r conftest.dir
15037 ac_x_includes=no
15038 ac_x_libraries=no
15039 # Do we need to do anything special at all?
15040 ac_save_LIBS=$LIBS
15041 LIBS="-lX11 $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 #include <X11/Xlib.h>
15045 int
15046 main (void)
15047 {
15048 XrmInitialize ()
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"
15054 then :
15055 # We can compile and link X programs with no special options.
15056 ac_x_includes=
15057 ac_x_libraries=
15058 fi
15059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15060 conftest$ac_exeext conftest.$ac_ext
15061 LIBS="$ac_save_LIBS"
15062 # If that didn't work, only try xmkmf and file system searches
15063 # for native compilation.
15064 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
15065 then :
15066 rm -f -r conftest.dir
1419115067 if mkdir conftest.dir; then
1419215068 cd conftest.dir
1419315069 cat >Imakefile <<'_ACEOF'
1422615102 rm -f -r conftest.dir
1422715103 fi
1422815104
14229 # Standard set of common directories for X headers.
15105 # Standard set of common directories for X headers.
1423015106 # Check X11 before X11Rn because it is often a symlink to the current release.
1423115107 ac_x_header_dirs='
1423215108 /usr/X11/include
1425315129 /usr/local/include/X11R5
1425415130 /usr/local/include/X11R4
1425515131
15132 /opt/X11/include
15133
1425615134 /usr/X386/include
1425715135 /usr/x386/include
1425815136 /usr/XFree86/include/X11
1427415152 /* end confdefs.h. */
1427515153 #include <X11/Xlib.h>
1427615154 _ACEOF
14277 if ac_fn_c_try_cpp "$LINENO"; then :
15155 if ac_fn_c_try_cpp "$LINENO"
15156 then :
1427815157 # We can compile using X headers with no special include directory.
1427915158 ac_x_includes=
14280 else
15159 else $as_nop
1428115160 for ac_dir in $ac_x_header_dirs; do
1428215161 if test -r "$ac_dir/X11/Xlib.h"; then
1428315162 ac_x_includes=$ac_dir
1429815177 /* end confdefs.h. */
1429915178 #include <X11/Xlib.h>
1430015179 int
14301 main ()
15180 main (void)
1430215181 {
1430315182 XrmInitialize ()
1430415183 ;
1430515184 return 0;
1430615185 }
1430715186 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
15187 if ac_fn_c_try_link "$LINENO"
15188 then :
1430915189 LIBS=$ac_save_LIBS
1431015190 # We can link X programs with no special library path.
1431115191 ac_x_libraries=
14312 else
15192 else $as_nop
1431315193 LIBS=$ac_save_LIBS
14314 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15194 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1431515195 do
1431615196 # Don't even attempt the hair of trying to link an X program!
1431715197 for ac_extension in a so sl dylib la dll; do
1432215202 done
1432315203 done
1432415204 fi
14325 rm -f core conftest.err conftest.$ac_objext \
15205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1432615206 conftest$ac_exeext conftest.$ac_ext
1432715207 fi # $ac_x_libraries = no
1432815208
15209 fi
15210 # Record the results.
1432915211 case $ac_x_includes,$ac_x_libraries in #(
14330 no,* | *,no | *\'*)
15212 no,* | *,no | *\'*) :
1433115213 # Didn't find X, or a directory has "'" in its name.
14332 ac_cv_have_x="have_x=no";; #(
14333 *)
15214 ac_cv_have_x="have_x=no" ;; #(
15215 *) :
1433415216 # Record where we found X for the cache.
1433515217 ac_cv_have_x="have_x=yes\
1433615218 ac_x_includes='$ac_x_includes'\
14337 ac_x_libraries='$ac_x_libraries'"
15219 ac_x_libraries='$ac_x_libraries'" ;;
1433815220 esac
1433915221 fi
1434015222 ;; #(
1434415226 fi # $with_x != no
1434515227
1434615228 if test "$have_x" != yes; then
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14348 $as_echo "$have_x" >&6; }
15229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15230 printf "%s\n" "$have_x" >&6; }
1434915231 no_x=yes
1435015232 else
1435115233 # If each of the values was on the command line, it overrides each guess.
1435515237 ac_cv_have_x="have_x=yes\
1435615238 ac_x_includes='$x_includes'\
1435715239 ac_x_libraries='$x_libraries'"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14359 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15241 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
1436015242 fi
1436115243
1436215244 if test "$no_x" = yes; then
1436315245 # Not all programs may use this symbol, but it does not hurt to define it.
1436415246
14365 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
15247 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
1436615248
1436715249 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
1436815250 else
1437515257 X_LIBS="$X_LIBS -L$x_libraries"
1437615258 # For Solaris; some versions of Sun CC require a space after -R and
1437715259 # others require no space. Words are not sufficient . . . .
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14379 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
15261 printf %s "checking whether -R must be followed by a space... " >&6; }
1438015262 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
1438115263 ac_xsave_c_werror_flag=$ac_c_werror_flag
1438215264 ac_c_werror_flag=yes
1438415266 /* end confdefs.h. */
1438515267
1438615268 int
14387 main ()
15269 main (void)
1438815270 {
1438915271
1439015272 ;
1439115273 return 0;
1439215274 }
1439315275 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 $as_echo "no" >&6; }
15276 if ac_fn_c_try_link "$LINENO"
15277 then :
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15279 printf "%s\n" "no" >&6; }
1439715280 X_LIBS="$X_LIBS -R$x_libraries"
14398 else
15281 else $as_nop
1439915282 LIBS="$ac_xsave_LIBS -R $x_libraries"
1440015283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1440115284 /* end confdefs.h. */
1440215285
1440315286 int
14404 main ()
15287 main (void)
1440515288 {
1440615289
1440715290 ;
1440815291 return 0;
1440915292 }
1441015293 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14413 $as_echo "yes" >&6; }
15294 if ac_fn_c_try_link "$LINENO"
15295 then :
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15297 printf "%s\n" "yes" >&6; }
1441415298 X_LIBS="$X_LIBS -R $x_libraries"
14415 else
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14417 $as_echo "neither works" >&6; }
14418 fi
14419 rm -f core conftest.err conftest.$ac_objext \
15299 else $as_nop
15300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
15301 printf "%s\n" "neither works" >&6; }
15302 fi
15303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1442015304 conftest$ac_exeext conftest.$ac_ext
1442115305 fi
14422 rm -f core conftest.err conftest.$ac_objext \
15306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1442315307 conftest$ac_exeext conftest.$ac_ext
1442415308 ac_c_werror_flag=$ac_xsave_c_werror_flag
1442515309 LIBS=$ac_xsave_LIBS
1444215326 /* Override any GCC internal prototype to avoid an error.
1444315327 Use char because int might match the return type of a GCC
1444415328 builtin and then its argument prototype would still apply. */
14445 #ifdef __cplusplus
14446 extern "C"
14447 #endif
1444815329 char XOpenDisplay ();
1444915330 int
14450 main ()
15331 main (void)
1445115332 {
1445215333 return XOpenDisplay ();
1445315334 ;
1445415335 return 0;
1445515336 }
1445615337 _ACEOF
14457 if ac_fn_c_try_link "$LINENO"; then :
14458
14459 else
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14461 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
14462 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
15338 if ac_fn_c_try_link "$LINENO"
15339 then :
15340
15341 else $as_nop
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
15343 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
15344 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
15345 then :
15346 printf %s "(cached) " >&6
15347 else $as_nop
1446515348 ac_check_lib_save_LIBS=$LIBS
1446615349 LIBS="-ldnet $LIBS"
1446715350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1447015353 /* Override any GCC internal prototype to avoid an error.
1447115354 Use char because int might match the return type of a GCC
1447215355 builtin and then its argument prototype would still apply. */
14473 #ifdef __cplusplus
14474 extern "C"
14475 #endif
1447615356 char dnet_ntoa ();
1447715357 int
14478 main ()
15358 main (void)
1447915359 {
1448015360 return dnet_ntoa ();
1448115361 ;
1448215362 return 0;
1448315363 }
1448415364 _ACEOF
14485 if ac_fn_c_try_link "$LINENO"; then :
15365 if ac_fn_c_try_link "$LINENO"
15366 then :
1448615367 ac_cv_lib_dnet_dnet_ntoa=yes
14487 else
15368 else $as_nop
1448815369 ac_cv_lib_dnet_dnet_ntoa=no
1448915370 fi
14490 rm -f core conftest.err conftest.$ac_objext \
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1449115372 conftest$ac_exeext conftest.$ac_ext
1449215373 LIBS=$ac_check_lib_save_LIBS
1449315374 fi
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14495 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14496 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
15375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
15376 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
15377 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
15378 then :
1449715379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
1449815380 fi
1449915381
1450015382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14502 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14503 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
15384 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
15385 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
15386 then :
15387 printf %s "(cached) " >&6
15388 else $as_nop
1450615389 ac_check_lib_save_LIBS=$LIBS
1450715390 LIBS="-ldnet_stub $LIBS"
1450815391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1451115394 /* Override any GCC internal prototype to avoid an error.
1451215395 Use char because int might match the return type of a GCC
1451315396 builtin and then its argument prototype would still apply. */
14514 #ifdef __cplusplus
14515 extern "C"
14516 #endif
1451715397 char dnet_ntoa ();
1451815398 int
14519 main ()
15399 main (void)
1452015400 {
1452115401 return dnet_ntoa ();
1452215402 ;
1452315403 return 0;
1452415404 }
1452515405 _ACEOF
14526 if ac_fn_c_try_link "$LINENO"; then :
15406 if ac_fn_c_try_link "$LINENO"
15407 then :
1452715408 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14528 else
15409 else $as_nop
1452915410 ac_cv_lib_dnet_stub_dnet_ntoa=no
1453015411 fi
14531 rm -f core conftest.err conftest.$ac_objext \
15412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1453215413 conftest$ac_exeext conftest.$ac_ext
1453315414 LIBS=$ac_check_lib_save_LIBS
1453415415 fi
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14536 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14537 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
15417 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
15418 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
15419 then :
1453815420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
1453915421 fi
1454015422
1454115423 fi
1454215424 fi
14543 rm -f core conftest.err conftest.$ac_objext \
15425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1454415426 conftest$ac_exeext conftest.$ac_ext
1454515427 LIBS="$ac_xsave_LIBS"
1454615428
1455315435 # The functions gethostbyname, getservbyname, and inet_addr are
1455415436 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1455515437 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14556 if test "x$ac_cv_func_gethostbyname" = xyes; then :
15438 if test "x$ac_cv_func_gethostbyname" = xyes
15439 then :
1455715440
1455815441 fi
1455915442
1456015443 if test $ac_cv_func_gethostbyname = no; then
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14562 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14563 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
15444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15445 printf %s "checking for gethostbyname in -lnsl... " >&6; }
15446 if test ${ac_cv_lib_nsl_gethostbyname+y}
15447 then :
15448 printf %s "(cached) " >&6
15449 else $as_nop
1456615450 ac_check_lib_save_LIBS=$LIBS
1456715451 LIBS="-lnsl $LIBS"
1456815452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1457115455 /* Override any GCC internal prototype to avoid an error.
1457215456 Use char because int might match the return type of a GCC
1457315457 builtin and then its argument prototype would still apply. */
14574 #ifdef __cplusplus
14575 extern "C"
14576 #endif
1457715458 char gethostbyname ();
1457815459 int
14579 main ()
15460 main (void)
1458015461 {
1458115462 return gethostbyname ();
1458215463 ;
1458315464 return 0;
1458415465 }
1458515466 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
15467 if ac_fn_c_try_link "$LINENO"
15468 then :
1458715469 ac_cv_lib_nsl_gethostbyname=yes
14588 else
15470 else $as_nop
1458915471 ac_cv_lib_nsl_gethostbyname=no
1459015472 fi
14591 rm -f core conftest.err conftest.$ac_objext \
15473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1459215474 conftest$ac_exeext conftest.$ac_ext
1459315475 LIBS=$ac_check_lib_save_LIBS
1459415476 fi
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14596 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14597 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15478 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
15479 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
15480 then :
1459815481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
1459915482 fi
1460015483
1460115484 if test $ac_cv_lib_nsl_gethostbyname = no; then
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14603 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
14604 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
15485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
15486 printf %s "checking for gethostbyname in -lbsd... " >&6; }
15487 if test ${ac_cv_lib_bsd_gethostbyname+y}
15488 then :
15489 printf %s "(cached) " >&6
15490 else $as_nop
1460715491 ac_check_lib_save_LIBS=$LIBS
1460815492 LIBS="-lbsd $LIBS"
1460915493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1461215496 /* Override any GCC internal prototype to avoid an error.
1461315497 Use char because int might match the return type of a GCC
1461415498 builtin and then its argument prototype would still apply. */
14615 #ifdef __cplusplus
14616 extern "C"
14617 #endif
1461815499 char gethostbyname ();
1461915500 int
14620 main ()
15501 main (void)
1462115502 {
1462215503 return gethostbyname ();
1462315504 ;
1462415505 return 0;
1462515506 }
1462615507 _ACEOF
14627 if ac_fn_c_try_link "$LINENO"; then :
15508 if ac_fn_c_try_link "$LINENO"
15509 then :
1462815510 ac_cv_lib_bsd_gethostbyname=yes
14629 else
15511 else $as_nop
1463015512 ac_cv_lib_bsd_gethostbyname=no
1463115513 fi
14632 rm -f core conftest.err conftest.$ac_objext \
15514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1463315515 conftest$ac_exeext conftest.$ac_ext
1463415516 LIBS=$ac_check_lib_save_LIBS
1463515517 fi
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14637 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
14638 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
15519 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
15520 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
15521 then :
1463915522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1464015523 fi
1464115524
1465015533 # must be given before -lnsl if both are needed. We assume that
1465115534 # if connect needs -lnsl, so does gethostbyname.
1465215535 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14653 if test "x$ac_cv_func_connect" = xyes; then :
15536 if test "x$ac_cv_func_connect" = xyes
15537 then :
1465415538
1465515539 fi
1465615540
1465715541 if test $ac_cv_func_connect = no; then
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14659 $as_echo_n "checking for connect in -lsocket... " >&6; }
14660 if ${ac_cv_lib_socket_connect+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
15542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
15543 printf %s "checking for connect in -lsocket... " >&6; }
15544 if test ${ac_cv_lib_socket_connect+y}
15545 then :
15546 printf %s "(cached) " >&6
15547 else $as_nop
1466315548 ac_check_lib_save_LIBS=$LIBS
1466415549 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1466515550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1466815553 /* Override any GCC internal prototype to avoid an error.
1466915554 Use char because int might match the return type of a GCC
1467015555 builtin and then its argument prototype would still apply. */
14671 #ifdef __cplusplus
14672 extern "C"
14673 #endif
1467415556 char connect ();
1467515557 int
14676 main ()
15558 main (void)
1467715559 {
1467815560 return connect ();
1467915561 ;
1468015562 return 0;
1468115563 }
1468215564 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
15565 if ac_fn_c_try_link "$LINENO"
15566 then :
1468415567 ac_cv_lib_socket_connect=yes
14685 else
15568 else $as_nop
1468615569 ac_cv_lib_socket_connect=no
1468715570 fi
14688 rm -f core conftest.err conftest.$ac_objext \
15571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1468915572 conftest$ac_exeext conftest.$ac_ext
1469015573 LIBS=$ac_check_lib_save_LIBS
1469115574 fi
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14693 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14694 if test "x$ac_cv_lib_socket_connect" = xyes; then :
15575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
15576 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
15577 if test "x$ac_cv_lib_socket_connect" = xyes
15578 then :
1469515579 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
1469615580 fi
1469715581
1469915583
1470015584 # Guillermo Gomez says -lposix is necessary on A/UX.
1470115585 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14702 if test "x$ac_cv_func_remove" = xyes; then :
15586 if test "x$ac_cv_func_remove" = xyes
15587 then :
1470315588
1470415589 fi
1470515590
1470615591 if test $ac_cv_func_remove = no; then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14708 $as_echo_n "checking for remove in -lposix... " >&6; }
14709 if ${ac_cv_lib_posix_remove+:} false; then :
14710 $as_echo_n "(cached) " >&6
14711 else
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
15593 printf %s "checking for remove in -lposix... " >&6; }
15594 if test ${ac_cv_lib_posix_remove+y}
15595 then :
15596 printf %s "(cached) " >&6
15597 else $as_nop
1471215598 ac_check_lib_save_LIBS=$LIBS
1471315599 LIBS="-lposix $LIBS"
1471415600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1471715603 /* Override any GCC internal prototype to avoid an error.
1471815604 Use char because int might match the return type of a GCC
1471915605 builtin and then its argument prototype would still apply. */
14720 #ifdef __cplusplus
14721 extern "C"
14722 #endif
1472315606 char remove ();
1472415607 int
14725 main ()
15608 main (void)
1472615609 {
1472715610 return remove ();
1472815611 ;
1472915612 return 0;
1473015613 }
1473115614 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
15615 if ac_fn_c_try_link "$LINENO"
15616 then :
1473315617 ac_cv_lib_posix_remove=yes
14734 else
15618 else $as_nop
1473515619 ac_cv_lib_posix_remove=no
1473615620 fi
14737 rm -f core conftest.err conftest.$ac_objext \
15621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1473815622 conftest$ac_exeext conftest.$ac_ext
1473915623 LIBS=$ac_check_lib_save_LIBS
1474015624 fi
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14742 $as_echo "$ac_cv_lib_posix_remove" >&6; }
14743 if test "x$ac_cv_lib_posix_remove" = xyes; then :
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
15626 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
15627 if test "x$ac_cv_lib_posix_remove" = xyes
15628 then :
1474415629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1474515630 fi
1474615631
1474815633
1474915634 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1475015635 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14751 if test "x$ac_cv_func_shmat" = xyes; then :
15636 if test "x$ac_cv_func_shmat" = xyes
15637 then :
1475215638
1475315639 fi
1475415640
1475515641 if test $ac_cv_func_shmat = no; then
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14757 $as_echo_n "checking for shmat in -lipc... " >&6; }
14758 if ${ac_cv_lib_ipc_shmat+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
15643 printf %s "checking for shmat in -lipc... " >&6; }
15644 if test ${ac_cv_lib_ipc_shmat+y}
15645 then :
15646 printf %s "(cached) " >&6
15647 else $as_nop
1476115648 ac_check_lib_save_LIBS=$LIBS
1476215649 LIBS="-lipc $LIBS"
1476315650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1476615653 /* Override any GCC internal prototype to avoid an error.
1476715654 Use char because int might match the return type of a GCC
1476815655 builtin and then its argument prototype would still apply. */
14769 #ifdef __cplusplus
14770 extern "C"
14771 #endif
1477215656 char shmat ();
1477315657 int
14774 main ()
15658 main (void)
1477515659 {
1477615660 return shmat ();
1477715661 ;
1477815662 return 0;
1477915663 }
1478015664 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
15665 if ac_fn_c_try_link "$LINENO"
15666 then :
1478215667 ac_cv_lib_ipc_shmat=yes
14783 else
15668 else $as_nop
1478415669 ac_cv_lib_ipc_shmat=no
1478515670 fi
14786 rm -f core conftest.err conftest.$ac_objext \
15671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1478715672 conftest$ac_exeext conftest.$ac_ext
1478815673 LIBS=$ac_check_lib_save_LIBS
1478915674 fi
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14791 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14792 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
15676 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
15677 if test "x$ac_cv_lib_ipc_shmat" = xyes
15678 then :
1479315679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
1479415680 fi
1479515681
1480515691 # These have to be linked with before -lX11, unlike the other
1480615692 # libraries we check for below, so use a different variable.
1480715693 # John Interrante, Karl Berry
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14809 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14810 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
15695 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
15696 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
15697 then :
15698 printf %s "(cached) " >&6
15699 else $as_nop
1481315700 ac_check_lib_save_LIBS=$LIBS
1481415701 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1481515702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1481815705 /* Override any GCC internal prototype to avoid an error.
1481915706 Use char because int might match the return type of a GCC
1482015707 builtin and then its argument prototype would still apply. */
14821 #ifdef __cplusplus
14822 extern "C"
14823 #endif
1482415708 char IceConnectionNumber ();
1482515709 int
14826 main ()
15710 main (void)
1482715711 {
1482815712 return IceConnectionNumber ();
1482915713 ;
1483015714 return 0;
1483115715 }
1483215716 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
15717 if ac_fn_c_try_link "$LINENO"
15718 then :
1483415719 ac_cv_lib_ICE_IceConnectionNumber=yes
14835 else
15720 else $as_nop
1483615721 ac_cv_lib_ICE_IceConnectionNumber=no
1483715722 fi
14838 rm -f core conftest.err conftest.$ac_objext \
15723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1483915724 conftest$ac_exeext conftest.$ac_ext
1484015725 LIBS=$ac_check_lib_save_LIBS
1484115726 fi
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14843 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14844 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
15727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
15728 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
15729 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
15730 then :
1484515731 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
1484615732 fi
1484715733
1485915745 # checking for Xfixes
1486015746 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#include <X11/Xlib.h>
1486115747 "
14862 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes; then :
14863
14864 else
15748 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
15749 then :
15750
15751 else $as_nop
1486515752 as_fn_error $? "please install libxfixes-dev or libXfixes-devel" "$LINENO" 5
1486615753 fi
14867
1486815754
1486915755
1487015756 # checking for Xrandr
1487115757 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#include <X11/Xlib.h>
1487215758 "
14873 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes; then :
14874
14875 else
15759 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
15760 then :
15761
15762 else $as_nop
1487615763 as_fn_error $? "please install libxrandr-dev or libXrandr-devel" "$LINENO" 5
1487715764 fi
14878
1487915765
1488015766
1488115767 CFLAGS="$save_CFLAGS"
1488415770 if test "x$ensure_tests_deps" == "xyes"; then
1488515771
1488615772 pkg_failed=no
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
14888 $as_echo_n "checking for CHECK... " >&6; }
15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
15774 printf %s "checking for CHECK... " >&6; }
1488915775
1489015776 if test -n "$CHECK_CFLAGS"; then
1489115777 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
1489215778 elif test -n "$PKG_CONFIG"; then
1489315779 if test -n "$PKG_CONFIG" && \
14894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
15780 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
1489515781 ($PKG_CONFIG --exists --print-errors "check >= 0.10.0") 2>&5
1489615782 ac_status=$?
14897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489815784 test $ac_status = 0; }; then
1489915785 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.10.0" 2>/dev/null`
1490015786 test "x$?" != "x0" && pkg_failed=yes
1490815794 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
1490915795 elif test -n "$PKG_CONFIG"; then
1491015796 if test -n "$PKG_CONFIG" && \
14911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
15797 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
1491215798 ($PKG_CONFIG --exists --print-errors "check >= 0.10.0") 2>&5
1491315799 ac_status=$?
14914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491515801 test $ac_status = 0; }; then
1491615802 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.10.0" 2>/dev/null`
1491715803 test "x$?" != "x0" && pkg_failed=yes
1492515811
1492615812
1492715813 if test $pkg_failed = yes; then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14929 $as_echo "no" >&6; }
15814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15815 printf "%s\n" "no" >&6; }
1493015816
1493115817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1493215818 _pkg_short_errors_supported=yes
1494315829
1494415830 as_fn_error $? "please install check, the unit test framework" "$LINENO" 5
1494515831 elif test $pkg_failed = untried; then
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14947 $as_echo "no" >&6; }
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15833 printf "%s\n" "no" >&6; }
1494815834 as_fn_error $? "please install check, the unit test framework" "$LINENO" 5
1494915835 else
1495015836 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
1495115837 CHECK_LIBS=$pkg_cv_CHECK_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14953 $as_echo "yes" >&6; }
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15839 printf "%s\n" "yes" >&6; }
1495415840 perform_unit_tests=yes
1495515841 fi
1495615842 else
1495715843
1495815844 pkg_failed=no
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
14960 $as_echo_n "checking for CHECK... " >&6; }
15845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
15846 printf %s "checking for CHECK... " >&6; }
1496115847
1496215848 if test -n "$CHECK_CFLAGS"; then
1496315849 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
1496415850 elif test -n "$PKG_CONFIG"; then
1496515851 if test -n "$PKG_CONFIG" && \
14966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
15852 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
1496715853 ($PKG_CONFIG --exists --print-errors "check >= 0.10.0") 2>&5
1496815854 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497015856 test $ac_status = 0; }; then
1497115857 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.10.0" 2>/dev/null`
1497215858 test "x$?" != "x0" && pkg_failed=yes
1498015866 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
1498115867 elif test -n "$PKG_CONFIG"; then
1498215868 if test -n "$PKG_CONFIG" && \
14983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
15869 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.10.0\""; } >&5
1498415870 ($PKG_CONFIG --exists --print-errors "check >= 0.10.0") 2>&5
1498515871 ac_status=$?
14986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498715873 test $ac_status = 0; }; then
1498815874 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.10.0" 2>/dev/null`
1498915875 test "x$?" != "x0" && pkg_failed=yes
1499715883
1499815884
1499915885 if test $pkg_failed = yes; then
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15887 printf "%s\n" "no" >&6; }
1500215888
1500315889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1500415890 _pkg_short_errors_supported=yes
1501515901
1501615902 perform_unit_tests=no
1501715903 elif test $pkg_failed = untried; then
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15019 $as_echo "no" >&6; }
15904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15905 printf "%s\n" "no" >&6; }
1502015906 perform_unit_tests=no
1502115907 else
1502215908 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
1502315909 CHECK_LIBS=$pkg_cv_CHECK_LIBS
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15025 $as_echo "yes" >&6; }
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15911 printf "%s\n" "yes" >&6; }
1502615912 perform_unit_tests=yes
1502715913 fi
1502815914 fi
1502915915
1503015916 if test "x$perform_unit_tests" == "xyes"; then
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: libcheck found, unit tests will be performed" >&5
15032 $as_echo "$as_me: libcheck found, unit tests will be performed" >&6;}
15033 else
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: libcheck not found, unit tests will be skipped" >&5
15035 $as_echo "$as_me: libcheck not found, unit tests will be skipped" >&6;}
15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libcheck found, unit tests will be performed" >&5
15918 printf "%s\n" "$as_me: libcheck found, unit tests will be performed" >&6;}
15919 else
15920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libcheck not found, unit tests will be skipped" >&5
15921 printf "%s\n" "$as_me: libcheck not found, unit tests will be skipped" >&6;}
1503615922 fi
1503715923 # -- end perform unit tests
1503815924
1504015926
1504115927
1504215928 # Check whether --enable-strict-locations was given.
15043 if test "${enable_strict_locations+set}" = set; then :
15929 if test ${enable_strict_locations+y}
15930 then :
1504415931 enableval=$enable_strict_locations;
15045 else
15932 else $as_nop
1504615933 enable_strict_locations=no
1504715934 fi
1504815935
1505615943
1505715944
1505815945 # Check whether --with-pkgconfigdir was given.
15059 if test "${with_pkgconfigdir+set}" = set; then :
15946 if test ${with_pkgconfigdir+y}
15947 then :
1506015948 withval=$with_pkgconfigdir;
15061 else
15949 else $as_nop
1506215950 with_pkgconfigdir='${libdir}/pkgconfig'
1506315951 fi
1506415952
1506815956
1506915957
1507015958
15071 for ac_header in sys/prctl.h
15072 do :
15073 ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
15074 if test "x$ac_cv_header_sys_prctl_h" = xyes; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define HAVE_SYS_PRCTL_H 1
15077 _ACEOF
15078
15079 fi
15080
15081 done
15959 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
15960 if test "x$ac_cv_header_sys_prctl_h" = xyes
15961 then :
15962 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
15963
15964 fi
1508215965
1508315966
1508415967 ac_config_files="$ac_config_files common/Makefile docs/Makefile docs/man/Makefile genkeymap/Makefile instfiles/default/Makefile instfiles/init.d/Makefile instfiles/Makefile instfiles/pam.d/Makefile instfiles/pulse/Makefile instfiles/rc.d/Makefile keygen/Makefile libxrdp/Makefile Makefile mc/Makefile neutrinordp/Makefile pkgconfig/Makefile pkgconfig/xrdp.pc pkgconfig/xrdp-uninstalled.pc sesman/chansrv/Makefile sesman/libscp/Makefile sesman/Makefile sesman/tools/Makefile tests/Makefile tests/common/Makefile tests/libxrdp/Makefile tests/memtest/Makefile tests/xrdp/Makefile tools/Makefile tools/devel/Makefile tools/devel/tcp_proxy/Makefile vnc/Makefile xrdpapi/Makefile xrdp/Makefile xrdpvr/Makefile xup/Makefile"
15968
1508515969
1508615970
1508715971
1511215996 case $ac_val in #(
1511315997 *${as_nl}*)
1511415998 case $ac_var in #(
15115 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15999 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16000 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1511716001 esac
1511816002 case $ac_var in #(
1511916003 _ | IFS | as_nl) ;; #(
1514316027 /^ac_cv_env_/b end
1514416028 t clear
1514516029 :clear
15146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16030 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1514716031 t end
1514816032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1514916033 :end' >>confcache
1515016034 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1515116035 if test -w "$cache_file"; then
1515216036 if test "x$cache_file" != "x/dev/null"; then
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15154 $as_echo "$as_me: updating cache $cache_file" >&6;}
16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16038 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1515516039 if test ! -f "$cache_file" || test -h "$cache_file"; then
1515616040 cat confcache >"$cache_file"
1515716041 else
1516516049 fi
1516616050 fi
1516716051 else
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15169 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16053 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1517016054 fi
1517116055 fi
1517216056 rm -f confcache
1518316067 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1518416068 # 1. Remove the extension, and $U if already installed.
1518516069 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15186 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16070 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1518716071 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1518816072 # will be set to the directory where LIBOBJS objects are built.
1518916073 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1519416078 LTLIBOBJS=$ac_ltlibobjs
1519516079
1519616080
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15198 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16082 printf %s "checking that generated files are newer than configure... " >&6; }
1519916083 if test -n "$am_sleep_pid"; then
1520016084 # Hide warnings about reused PIDs.
1520116085 wait $am_sleep_pid 2>/dev/null
1520216086 fi
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15204 $as_echo "done" >&6; }
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
16088 printf "%s\n" "done" >&6; }
1520516089 if test -n "$EXEEXT"; then
1520616090 am__EXEEXT_TRUE=
1520716091 am__EXEEXT_FALSE='#'
1531516199 ac_write_fail=0
1531616200 ac_clean_files_save=$ac_clean_files
1531716201 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15319 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16203 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1532016204 as_write_fail=0
1532116205 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1532216206 #! $SHELL
1533916223
1534016224 # Be more Bourne compatible
1534116225 DUALCASE=1; export DUALCASE # for MKS sh
15342 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16226 as_nop=:
16227 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16228 then :
1534316229 emulate sh
1534416230 NULLCMD=:
1534516231 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1534616232 # is contrary to our usage. Disable this feature.
1534716233 alias -g '${1+"$@"}'='"$@"'
1534816234 setopt NO_GLOB_SUBST
15349 else
16235 else $as_nop
1535016236 case `(set -o) 2>/dev/null` in #(
1535116237 *posix*) :
1535216238 set -o posix ;; #(
1535616242 fi
1535716243
1535816244
16245
16246 # Reset variables that may have inherited troublesome values from
16247 # the environment.
16248
16249 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16250 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16251 # side effect of setting IFS to empty, thus disabling word splitting.)
16252 # Quoting is to prevent editors from complaining about space-tab.
1535916253 as_nl='
1536016254 '
1536116255 export as_nl
15362 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15363 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15364 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15365 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15366 # Prefer a ksh shell builtin over an external printf program on Solaris,
15367 # but without wasting forks for bash or zsh.
15368 if test -z "$BASH_VERSION$ZSH_VERSION" \
15369 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15370 as_echo='print -r --'
15371 as_echo_n='print -rn --'
15372 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15373 as_echo='printf %s\n'
15374 as_echo_n='printf %s'
15375 else
15376 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15377 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15378 as_echo_n='/usr/ucb/echo -n'
15379 else
15380 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15381 as_echo_n_body='eval
15382 arg=$1;
15383 case $arg in #(
15384 *"$as_nl"*)
15385 expr "X$arg" : "X\\(.*\\)$as_nl";
15386 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15387 esac;
15388 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15389 '
15390 export as_echo_n_body
15391 as_echo_n='sh -c $as_echo_n_body as_echo'
15392 fi
15393 export as_echo_body
15394 as_echo='sh -c $as_echo_body as_echo'
15395 fi
16256 IFS=" "" $as_nl"
16257
16258 PS1='$ '
16259 PS2='> '
16260 PS4='+ '
16261
16262 # Ensure predictable behavior from utilities with locale-dependent output.
16263 LC_ALL=C
16264 export LC_ALL
16265 LANGUAGE=C
16266 export LANGUAGE
16267
16268 # We cannot yet rely on "unset" to work, but we need these variables
16269 # to be unset--not just set to an empty or harmless value--now, to
16270 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16271 # also avoids known problems related to "unset" and subshell syntax
16272 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16273 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16274 do eval test \${$as_var+y} \
16275 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16276 done
16277
16278 # Ensure that fds 0, 1, and 2 are open.
16279 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16280 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16281 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1539616282
1539716283 # The user is always right.
15398 if test "${PATH_SEPARATOR+set}" != set; then
16284 if ${PATH_SEPARATOR+false} :; then
1539916285 PATH_SEPARATOR=:
1540016286 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1540116287 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1540316289 }
1540416290 fi
1540516291
15406
15407 # IFS
15408 # We need space, tab and new line, in precisely that order. Quoting is
15409 # there to prevent editors from complaining about space-tab.
15410 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15411 # splitting by setting IFS to empty value.)
15412 IFS=" "" $as_nl"
1541316292
1541416293 # Find who we are. Look in the path if we contain no directory separator.
1541516294 as_myself=
1541916298 for as_dir in $PATH
1542016299 do
1542116300 IFS=$as_save_IFS
15422 test -z "$as_dir" && as_dir=.
15423 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16301 case $as_dir in #(((
16302 '') as_dir=./ ;;
16303 */) ;;
16304 *) as_dir=$as_dir/ ;;
16305 esac
16306 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1542416307 done
1542516308 IFS=$as_save_IFS
1542616309
1543216315 as_myself=$0
1543316316 fi
1543416317 if test ! -f "$as_myself"; then
15435 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16318 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1543616319 exit 1
1543716320 fi
1543816321
15439 # Unset variables that we do not need and which cause bugs (e.g. in
15440 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15441 # suppresses any "Segmentation fault" message there. '((' could
15442 # trigger a bug in pdksh 5.2.14.
15443 for as_var in BASH_ENV ENV MAIL MAILPATH
15444 do eval test x\${$as_var+set} = xset \
15445 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15446 done
15447 PS1='$ '
15448 PS2='> '
15449 PS4='+ '
15450
15451 # NLS nuisances.
15452 LC_ALL=C
15453 export LC_ALL
15454 LANGUAGE=C
15455 export LANGUAGE
15456
15457 # CDPATH.
15458 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1545916322
1546016323
1546116324 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1546816331 as_status=$1; test $as_status -eq 0 && as_status=1
1546916332 if test "$4"; then
1547016333 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15471 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1547216335 fi
15473 $as_echo "$as_me: error: $2" >&2
16336 printf "%s\n" "$as_me: error: $2" >&2
1547416337 as_fn_exit $as_status
1547516338 } # as_fn_error
16339
1547616340
1547716341
1547816342 # as_fn_set_status STATUS
1550116365 { eval $1=; unset $1;}
1550216366 }
1550316367 as_unset=as_fn_unset
16368
1550416369 # as_fn_append VAR VALUE
1550516370 # ----------------------
1550616371 # Append the text in VALUE to the end of the definition contained in VAR. Take
1550716372 # advantage of any shell optimizations that allow amortized linear growth over
1550816373 # repeated appends, instead of the typical quadratic growth present in naive
1550916374 # implementations.
15510 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16376 then :
1551116377 eval 'as_fn_append ()
1551216378 {
1551316379 eval $1+=\$2
1551416380 }'
15515 else
16381 else $as_nop
1551616382 as_fn_append ()
1551716383 {
1551816384 eval $1=\$$1\$2
1552416390 # Perform arithmetic evaluation on the ARGs, and store the result in the
1552516391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1552616392 # must be portable across $(()) and expr.
15527 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16394 then :
1552816395 eval 'as_fn_arith ()
1552916396 {
1553016397 as_val=$(( $* ))
1553116398 }'
15532 else
16399 else $as_nop
1553316400 as_fn_arith ()
1553416401 {
1553516402 as_val=`expr "$@" || test $? -eq 1`
1556016427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1556116428 X"$0" : 'X\(//\)$' \| \
1556216429 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15563 $as_echo X/"$0" |
16430 printf "%s\n" X/"$0" |
1556416431 sed '/^.*\/\([^/][^/]*\)\/*$/{
1556516432 s//\1/
1556616433 q
1558216449 as_cr_digits='0123456789'
1558316450 as_cr_alnum=$as_cr_Letters$as_cr_digits
1558416451
16452
16453 # Determine whether it's possible to make 'echo' print without a newline.
16454 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16455 # for compatibility with existing Makefiles.
1558516456 ECHO_C= ECHO_N= ECHO_T=
1558616457 case `echo -n x` in #(((((
1558716458 -n*)
1559416465 *)
1559516466 ECHO_N='-n';;
1559616467 esac
16468
16469 # For backward compatibility with old third-party macros, we provide
16470 # the shell variables $as_echo and $as_echo_n. New code should use
16471 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16472 as_echo='printf %s\n'
16473 as_echo_n='printf %s'
1559716474
1559816475 rm -f conf$$ conf$$.exe conf$$.file
1559916476 if test -d conf$$.dir; then
1563616513 as_dirs=
1563716514 while :; do
1563816515 case $as_dir in #(
15639 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16516 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1564016517 *) as_qdir=$as_dir;;
1564116518 esac
1564216519 as_dirs="'$as_qdir' $as_dirs"
1564516522 X"$as_dir" : 'X\(//\)[^/]' \| \
1564616523 X"$as_dir" : 'X\(//\)$' \| \
1564716524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15648 $as_echo X"$as_dir" |
16525 printf "%s\n" X"$as_dir" |
1564916526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1565016527 s//\1/
1565116528 q
1570716584 # report actual input values of CONFIG_FILES etc. instead of their
1570816585 # values after options handling.
1570916586 ac_log="
15710 This file was extended by xrdp $as_me 0.9.19, which was
15711 generated by GNU Autoconf 2.69. Invocation command line was
16587 This file was extended by xrdp $as_me 0.9.21.1, which was
16588 generated by GNU Autoconf 2.71. Invocation command line was
1571216589
1571316590 CONFIG_FILES = $CONFIG_FILES
1571416591 CONFIG_HEADERS = $CONFIG_HEADERS
1577016647 Report bugs to <xrdp-devel@googlegroups.com>."
1577116648
1577216649 _ACEOF
16650 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
16651 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1577316652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15774 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16653 ac_cs_config='$ac_cs_config_escaped'
1577516654 ac_cs_version="\\
15776 xrdp config.status 0.9.19
15777 configured by $0, generated by GNU Autoconf 2.69,
16655 xrdp config.status 0.9.21.1
16656 configured by $0, generated by GNU Autoconf 2.71,
1577816657 with options \\"\$ac_cs_config\\"
1577916658
15780 Copyright (C) 2012 Free Software Foundation, Inc.
16659 Copyright (C) 2021 Free Software Foundation, Inc.
1578116660 This config.status script is free software; the Free Software Foundation
1578216661 gives unlimited permission to copy, distribute and modify it."
1578316662
1581716696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1581816697 ac_cs_recheck=: ;;
1581916698 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15820 $as_echo "$ac_cs_version"; exit ;;
16699 printf "%s\n" "$ac_cs_version"; exit ;;
1582116700 --config | --confi | --conf | --con | --co | --c )
15822 $as_echo "$ac_cs_config"; exit ;;
16701 printf "%s\n" "$ac_cs_config"; exit ;;
1582316702 --debug | --debu | --deb | --de | --d | -d )
1582416703 debug=: ;;
1582516704 --file | --fil | --fi | --f )
1582616705 $ac_shift
1582716706 case $ac_optarg in
15828 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16707 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582916708 '') as_fn_error $? "missing file argument" ;;
1583016709 esac
1583116710 as_fn_append CONFIG_FILES " '$ac_optarg'"
1583316712 --header | --heade | --head | --hea )
1583416713 $ac_shift
1583516714 case $ac_optarg in
15836 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16715 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583716716 esac
1583816717 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1583916718 ac_need_defaults=false;;
1584216721 as_fn_error $? "ambiguous option: \`$1'
1584316722 Try \`$0 --help' for more information.";;
1584416723 --help | --hel | -h )
15845 $as_echo "$ac_cs_usage"; exit ;;
16724 printf "%s\n" "$ac_cs_usage"; exit ;;
1584616725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1584716726 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1584816727 ac_cs_silent=: ;;
1587016749 if \$ac_cs_recheck; then
1587116750 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1587216751 shift
15873 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16752 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1587416753 CONFIG_SHELL='$SHELL'
1587516754 export CONFIG_SHELL
1587616755 exec "\$@"
1588416763 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1588516764 ## Running $as_me. ##
1588616765 _ASBOX
15887 $as_echo "$ac_log"
16766 printf "%s\n" "$ac_log"
1588816767 } >&5
1588916768
1589016769 _ACEOF
1593616815 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
1593716816 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
1593816817 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16818 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1593916819 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1594016820 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
1594116821 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
1594416824 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
1594516825 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
1594616826 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16827 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1594716828 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
1594816829 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
1594916830 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
1606416945 lt_SP2NL \
1606516946 lt_NL2SP \
1606616947 reload_flag \
16948 FILECMD \
1606716949 OBJDUMP \
1606816950 deplibs_check_method \
1606916951 file_magic_cmd \
1607216954 DLLTOOL \
1607316955 sharedlib_from_linklib_cmd \
1607416956 AR \
16075 AR_FLAGS \
1607616957 archiver_list_spec \
1607716958 STRIP \
1607816959 RANLIB \
1623417115 # We use the long form for the default assignment because of an extremely
1623517116 # bizarre bug on SunOS 4.1.3.
1623617117 if $ac_need_defaults; then
16237 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16238 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16239 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17118 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
17119 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
17120 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1624017121 fi
1624117122
1624217123 # Have a temporary directory for convenience. Make it in the build tree
1657217453 esac ||
1657317454 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1657417455 esac
16575 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17456 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1657617457 as_fn_append ac_file_inputs " '$ac_f'"
1657717458 done
1657817459
1658017461 # use $as_me), people would be surprised to read:
1658117462 # /* config.h. Generated by config.status. */
1658217463 configure_input='Generated from '`
16583 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17464 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1658417465 `' by configure.'
1658517466 if test x"$ac_file" != x-; then
1658617467 configure_input="$ac_file. $configure_input"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16588 $as_echo "$as_me: creating $ac_file" >&6;}
17468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17469 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1658917470 fi
1659017471 # Neutralize special characters interpreted by sed in replacement strings.
1659117472 case $configure_input in #(
1659217473 *\&* | *\|* | *\\* )
16593 ac_sed_conf_input=`$as_echo "$configure_input" |
17474 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1659417475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1659517476 *) ac_sed_conf_input=$configure_input;;
1659617477 esac
1660717488 X"$ac_file" : 'X\(//\)[^/]' \| \
1660817489 X"$ac_file" : 'X\(//\)$' \| \
1660917490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16610 $as_echo X"$ac_file" |
17491 printf "%s\n" X"$ac_file" |
1661117492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1661217493 s//\1/
1661317494 q
1663117512 case "$ac_dir" in
1663217513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663317514 *)
16634 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17515 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1663517516 # A ".." for each directory in $ac_dir_suffix.
16636 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17517 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1663717518 case $ac_top_builddir_sub in
1663817519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663917520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1669517576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1669617577 *datarootdir*) ac_datarootdir_seen=yes;;
1669717578 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16699 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17580 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1670017581 _ACEOF
1670117582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1670217583 ac_datarootdir_hack='
1674017621 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1674117622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1674217623 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1674417625 which seems to be undefined. Please make sure it is defined" >&5
16745 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17626 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1674617627 which seems to be undefined. Please make sure it is defined" >&2;}
1674717628
1674817629 rm -f "$ac_tmp/stdin"
1675817639 #
1675917640 if test x"$ac_file" != x-; then
1676017641 {
16761 $as_echo "/* $configure_input */" \
17642 printf "%s\n" "/* $configure_input */" >&1 \
1676217643 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1676317644 } >"$ac_tmp/config.h" \
1676417645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1676517646 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16767 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17648 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1676817649 else
1676917650 rm -f "$ac_file"
1677017651 mv "$ac_tmp/config.h" "$ac_file" \
1677117652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1677217653 fi
1677317654 else
16774 $as_echo "/* $configure_input */" \
17655 printf "%s\n" "/* $configure_input */" >&1 \
1677517656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1677617657 || as_fn_error $? "could not create -" "$LINENO" 5
1677717658 fi
1679117672 X"$_am_arg" : 'X\(//\)[^/]' \| \
1679217673 X"$_am_arg" : 'X\(//\)$' \| \
1679317674 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16794 $as_echo X"$_am_arg" |
17675 printf "%s\n" X"$_am_arg" |
1679517676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1679617677 s//\1/
1679717678 q
1681117692 s/.*/./; q'`/stamp-h$_am_stamp_count
1681217693 ;;
1681317694
16814 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16815 $as_echo "$as_me: executing $ac_file commands" >&6;}
17695 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17696 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1681617697 ;;
1681717698 esac
1681817699
1683817719 for am_mf
1683917720 do
1684017721 # Strip MF so we end up with the name of the file.
16841 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17722 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1684217723 # Check whether this is an Automake generated Makefile which includes
1684317724 # dependency-tracking related rules and includes.
1684417725 # Grep'ing the whole file directly is not great: AIX grep has a line
1685017731 X"$am_mf" : 'X\(//\)[^/]' \| \
1685117732 X"$am_mf" : 'X\(//\)$' \| \
1685217733 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16853 $as_echo X"$am_mf" |
17734 printf "%s\n" X"$am_mf" |
1685417735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1685517736 s//\1/
1685617737 q
1687217753 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
1687317754 X"$am_mf" : 'X\(//\)$' \| \
1687417755 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16875 $as_echo X/"$am_mf" |
17756 printf "%s\n" X/"$am_mf" |
1687617757 sed '/^.*\/\([^/][^/]*\)\/*$/{
1687717758 s//\1/
1687817759 q
1689717778 (exit $ac_status); } || am_rc=$?
1689817779 done
1689917780 if test $am_rc -ne 0; then
16900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17781 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17782 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1690217783 as_fn_error $? "Something went wrong bootstrapping makefile fragments
1690317784 for automatic dependency tracking. If GNU make was not used, consider
1690417785 re-running the configure script with MAKE=\"gmake\" (or whatever is
1704917930 # convert \$build files to toolchain format.
1705017931 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1705117932
17933 # A file(cmd) program that detects file types.
17934 FILECMD=$lt_FILECMD
17935
1705217936 # An object symbol dumper.
1705317937 OBJDUMP=$lt_OBJDUMP
1705417938
1707317957 # The archiver.
1707417958 AR=$lt_AR
1707517959
17960 # Flags to create an archive (by configure).
17961 lt_ar_flags=$lt_ar_flags
17962
1707617963 # Flags to create an archive.
17077 AR_FLAGS=$lt_AR_FLAGS
17964 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1707817965
1707917966 # How to feed a file listing to the archiver.
1708017967 archiver_list_spec=$lt_archiver_list_spec
1744218329 esac
1744318330
1744418331
18332
1744518333 ltmain=$ac_aux_dir/ltmain.sh
1744618334
1744718335
1744918337 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1745018338 # text mode, it properly converts lines to CR/LF. This bash problem
1745118339 # is reportedly fixed, but why not run on old versions too?
17452 sed '$q' "$ltmain" >> "$cfgfile" \
18340 $SED '$q' "$ltmain" >> "$cfgfile" \
1745318341 || (rm -f "$cfgfile"; exit 1)
1745418342
1745518343 mv -f "$cfgfile" "$ofile" ||
1753018418 ;;
1753118419 *)
1753218420 case $ac_arg in
17533 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18421 *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1753418422 esac
1753518423 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1753618424 esac
1754018428 # in subdir configurations.
1754118429 ac_arg="--prefix=$prefix"
1754218430 case $ac_arg in
17543 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18431 *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1754418432 esac
1754518433 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
1754618434
1756118449 test -d "$srcdir/$ac_dir" || continue
1756218450
1756318451 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17564 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17565 $as_echo "$ac_msg" >&6
18452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18453 printf "%s\n" "$ac_msg" >&6
1756618454 as_dir="$ac_dir"; as_fn_mkdir_p
1756718455 ac_builddir=.
1756818456
1756918457 case "$ac_dir" in
1757018458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1757118459 *)
17572 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18460 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1757318461 # A ".." for each directory in $ac_dir_suffix.
17574 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18462 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757518463 case $ac_top_builddir_sub in
1757618464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1757718465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760118489
1760218490 cd "$ac_dir"
1760318491
17604 # Check for guested configure; otherwise get Cygnus style configure.
18492 # Check for configure.gnu first; this name is used for a wrapper for
18493 # Metaconfig's "Configure" on case-insensitive file systems.
1760518494 if test -f "$ac_srcdir/configure.gnu"; then
1760618495 ac_sub_configure=$ac_srcdir/configure.gnu
1760718496 elif test -f "$ac_srcdir/configure"; then
1760818497 ac_sub_configure=$ac_srcdir/configure
17609 elif test -f "$ac_srcdir/configure.in"; then
17610 # This should be Cygnus configure.
17611 ac_sub_configure=$ac_aux_dir/configure
1761218498 else
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18500 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1761518501 ac_sub_configure=
1761618502 fi
1761718503
1762418510 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1762518511 esac
1762618512
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17628 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18514 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1762918515 # The eval makes quoting arguments work.
1763018516 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
1763118517 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
1763618522 done
1763718523 fi
1763818524 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17640 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18526 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1764118527 fi
1764218528
1764318529
1768518571 ./config.status --config | xargs -n 1 | sed -e 's/^/" /' -e 's/$/\\n" \\/' >> ./xrdp_configure_options.h
1768618572 echo '""' >> ./xrdp_configure_options.h
1768718573
18574
00 # Process this file with autoconf to produce a configure script
11
22 AC_PREREQ(2.65)
3 AC_INIT([xrdp], [0.9.19], [xrdp-devel@googlegroups.com])
3 AC_INIT([xrdp], [0.9.21.1], [xrdp-devel@googlegroups.com])
44 AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
55 AM_INIT_AUTOMAKE([1.7.2 foreign])
66 AC_CONFIG_MACRO_DIR([m4])
219219 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
220220 FDKAAC_LIBS = @FDKAAC_LIBS@
221221 FGREP = @FGREP@
222 FILECMD = @FILECMD@
222223 FREERDP_CFLAGS = @FREERDP_CFLAGS@
223224 FREERDP_LIBS = @FREERDP_LIBS@
224225 FUSE_CFLAGS = @FUSE_CFLAGS@
325326 prefix = @prefix@
326327 program_transform_name = @program_transform_name@
327328 psdir = @psdir@
329 runstatedir = @runstatedir@
328330 sbindir = @sbindir@
329331 sharedstatedir = @sharedstatedir@
330332 socketdir = @socketdir@
195195 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
196196 FDKAAC_LIBS = @FDKAAC_LIBS@
197197 FGREP = @FGREP@
198 FILECMD = @FILECMD@
198199 FREERDP_CFLAGS = @FREERDP_CFLAGS@
199200 FREERDP_LIBS = @FREERDP_LIBS@
200201 FUSE_CFLAGS = @FUSE_CFLAGS@
301302 prefix = @prefix@
302303 program_transform_name = @program_transform_name@
303304 psdir = @psdir@
305 runstatedir = @runstatedir@
304306 sbindir = @sbindir@
305307 sharedstatedir = @sharedstatedir@
306308 socketdir = @socketdir@
323323 \fBFileUmask\fR=\fImode\fR
324324 Additional umask to apply to files in the \fBFuseMountName\fR directory.
325325 The default value of 077 prevents other users on the system from reading
326 files on your redirected drives. This may not be approprate for all
327 environents, and so you can change this value to allow other users to
326 files on your redirected drives. This may not be appropriate for all
327 environments, and so you can change this value to allow other users to
328328 access your remote files if required.
329329
330330 .TP
7171 static int
7272 show_last_error(void)
7373 {
74 LPVOID lpMsgBuf;
75
76 FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
77 NULL, GetLastError(),
78 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
79 (LPSTR)&lpMsgBuf, 0, NULL);
80 msg("GetLastError - %s", lpMsgBuf);
81 LocalFree(lpMsgBuf);
74 LPVOID lpMsgBuf = NULL;
75 DWORD len;
76 len = FormatMessageA(
77 FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
78 NULL, GetLastError(),
79 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
80 (LPSTR)&lpMsgBuf, 0, NULL);
81 if (len > 0)
82 {
83 msg("GetLastError - %s", lpMsgBuf);
84 LocalFree(lpMsgBuf);
85 }
8286 return 0;
8387 }
8488
218218 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
219219 FDKAAC_LIBS = @FDKAAC_LIBS@
220220 FGREP = @FGREP@
221 FILECMD = @FILECMD@
221222 FREERDP_CFLAGS = @FREERDP_CFLAGS@
222223 FREERDP_LIBS = @FREERDP_LIBS@
223224 FUSE_CFLAGS = @FUSE_CFLAGS@
324325 prefix = @prefix@
325326 program_transform_name = @program_transform_name@
326327 psdir = @psdir@
328 runstatedir = @runstatedir@
327329 sbindir = @sbindir@
328330 sharedstatedir = @sharedstatedir@
329331 socketdir = @socketdir@
00 #!/bin/sh
11
2 command -v setxkbmap
3 if test $? -ne 0
2 if ! command -v setxkbmap >/dev/null
43 then
54 echo "error, setxkbmap not found"
65 exit 1
265265 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
266266 FDKAAC_LIBS = @FDKAAC_LIBS@
267267 FGREP = @FGREP@
268 FILECMD = @FILECMD@
268269 FREERDP_CFLAGS = @FREERDP_CFLAGS@
269270 FREERDP_LIBS = @FREERDP_LIBS@
270271 FUSE_CFLAGS = @FUSE_CFLAGS@
371372 prefix = @prefix@
372373 program_transform_name = @program_transform_name@
373374 psdir = @psdir@
375 runstatedir = @runstatedir@
374376 sbindir = @sbindir@
375377 sharedstatedir = @sharedstatedir@
376378 socketdir = @socketdir@
192192 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
193193 FDKAAC_LIBS = @FDKAAC_LIBS@
194194 FGREP = @FGREP@
195 FILECMD = @FILECMD@
195196 FREERDP_CFLAGS = @FREERDP_CFLAGS@
196197 FREERDP_LIBS = @FREERDP_LIBS@
197198 FUSE_CFLAGS = @FUSE_CFLAGS@
298299 prefix = @prefix@
299300 program_transform_name = @program_transform_name@
300301 psdir = @psdir@
302 runstatedir = @runstatedir@
301303 sbindir = @sbindir@
302304 sharedstatedir = @sharedstatedir@
303305 socketdir = @socketdir@
192192 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
193193 FDKAAC_LIBS = @FDKAAC_LIBS@
194194 FGREP = @FGREP@
195 FILECMD = @FILECMD@
195196 FREERDP_CFLAGS = @FREERDP_CFLAGS@
196197 FREERDP_LIBS = @FREERDP_LIBS@
197198 FUSE_CFLAGS = @FUSE_CFLAGS@
298299 prefix = @prefix@
299300 program_transform_name = @program_transform_name@
300301 psdir = @psdir@
302 runstatedir = @runstatedir@
301303 sbindir = @sbindir@
302304 sharedstatedir = @sharedstatedir@
303305 socketdir = @socketdir@
8989 value=$?
9090 [ $value -gt 0 ] && exitval=$value
9191 fi
92 # Make pidfile readables for all users (for status to work)
92 # Make pidfile readable for all users (for status to work)
9393 [ -e $PIDDIR/xrdp-sesman.pid ] && chmod 0644 $PIDDIR/xrdp-sesman.pid
9494 [ -e $PIDDIR/$NAME.pid ] && chmod 0644 $PIDDIR/$NAME.pid
9595 # Note: Unfortunately, xrdp currently takes too long to create
96 # the pidffile unless properly patched
96 # the pidfile unless properly patched
9797 log_end_msg $exitval
9898 ;;
9999 stop)
00 PAM_FILES = \
1 xrdp-sesman.arch \
12 xrdp-sesman.debian \
3 xrdp-sesman.freebsd \
4 xrdp-sesman.macos \
25 xrdp-sesman.redhat \
36 xrdp-sesman.suse \
4 xrdp-sesman.freebsd \
5 xrdp-sesman.macos \
6 xrdp-sesman.unix \
7 xrdp-sesman.arch
7 xrdp-sesman.system \
8 xrdp-sesman.unix
89
910 EXTRA_DIST = $(PAM_FILES) mkpamrules
1011
191191 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
192192 FDKAAC_LIBS = @FDKAAC_LIBS@
193193 FGREP = @FGREP@
194 FILECMD = @FILECMD@
194195 FREERDP_CFLAGS = @FREERDP_CFLAGS@
195196 FREERDP_LIBS = @FREERDP_LIBS@
196197 FUSE_CFLAGS = @FUSE_CFLAGS@
297298 prefix = @prefix@
298299 program_transform_name = @program_transform_name@
299300 psdir = @psdir@
301 runstatedir = @runstatedir@
300302 sbindir = @sbindir@
301303 sharedstatedir = @sharedstatedir@
302304 socketdir = @socketdir@
309311 top_builddir = @top_builddir@
310312 top_srcdir = @top_srcdir@
311313 PAM_FILES = \
314 xrdp-sesman.arch \
312315 xrdp-sesman.debian \
316 xrdp-sesman.freebsd \
317 xrdp-sesman.macos \
313318 xrdp-sesman.redhat \
314319 xrdp-sesman.suse \
315 xrdp-sesman.freebsd \
316 xrdp-sesman.macos \
317 xrdp-sesman.unix \
318 xrdp-sesman.arch
320 xrdp-sesman.system \
321 xrdp-sesman.unix
319322
320323 EXTRA_DIST = $(PAM_FILES) mkpamrules
321324 CLEANFILES = xrdp-sesman
77
88 service="xrdp-sesman"
99 pamdir="/etc/pam.d"
10 pamdir_suse="/usr/etc/pam.d"
10 pamdir_suse="/usr/lib/pam.d"
11 if [ ! -d $pamdir_suse ]; then
12 # Older SUSE distros uses /usr/etc/pam.d
13 pamdir_suse="/usr/etc/pam.d"
14 fi
1115
1216 # Modules needed by xrdp-sesman.unix, if we get to that
1317 unix_modules_needed="pam_unix.so pam_env.so pam_nologin.so"
2125 # Looks for the pam security module directory
2226 set -- $pam_module_dir_searchpath
2327 for d in "$@"; do
24 if [ -s $d/pam_unix.so ]; then
25 echo $d
28 if [ -s "$d/pam_unix.so" ]; then
29 echo "$d"
2630 break
2731 fi
2832 done
3337 result=0
3438 module_dir="$1"
3539 for m in $unix_modules_needed; do
36 if [ ! -s $module_dir/$m ]; then
40 if [ ! -s "$module_dir/$m" ]; then
3741 echo " ** $m not found" >&2
3842 result=1
3943 fi
0 #%PAM-1.0
1 auth include system-auth
2 account include system-auth
3 password include system-auth
4 session include system-auth
192192 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
193193 FDKAAC_LIBS = @FDKAAC_LIBS@
194194 FGREP = @FGREP@
195 FILECMD = @FILECMD@
195196 FREERDP_CFLAGS = @FREERDP_CFLAGS@
196197 FREERDP_LIBS = @FREERDP_LIBS@
197198 FUSE_CFLAGS = @FUSE_CFLAGS@
298299 prefix = @prefix@
299300 program_transform_name = @program_transform_name@
300301 psdir = @psdir@
302 runstatedir = @runstatedir@
301303 sbindir = @sbindir@
302304 sharedstatedir = @sharedstatedir@
303305 socketdir = @socketdir@
192192 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
193193 FDKAAC_LIBS = @FDKAAC_LIBS@
194194 FGREP = @FGREP@
195 FILECMD = @FILECMD@
195196 FREERDP_CFLAGS = @FREERDP_CFLAGS@
196197 FREERDP_LIBS = @FREERDP_LIBS@
197198 FUSE_CFLAGS = @FUSE_CFLAGS@
298299 prefix = @prefix@
299300 program_transform_name = @program_transform_name@
300301 psdir = @psdir@
302 runstatedir = @runstatedir@
301303 sbindir = @sbindir@
302304 sharedstatedir = @sharedstatedir@
303305 socketdir = @socketdir@
211211 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
212212 FDKAAC_LIBS = @FDKAAC_LIBS@
213213 FGREP = @FGREP@
214 FILECMD = @FILECMD@
214215 FREERDP_CFLAGS = @FREERDP_CFLAGS@
215216 FREERDP_LIBS = @FREERDP_LIBS@
216217 FUSE_CFLAGS = @FUSE_CFLAGS@
317318 prefix = @prefix@
318319 program_transform_name = @program_transform_name@
319320 psdir = @psdir@
321 runstatedir = @runstatedir@
320322 sbindir = @sbindir@
321323 sharedstatedir = @sharedstatedir@
322324 socketdir = @socketdir@
+0
-0
libpainter/AUTHORS less more
(Empty file)
+0
-0
libpainter/ChangeLog less more
(Empty file)
163163 done | $(am__uniquify_input)`
164164 DIST_SUBDIRS = src include pkgconfig tests
165165 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config_ac-h.in \
166 AUTHORS ChangeLog NEWS README compile config.guess config.sub \
167 install-sh ltmain.sh missing
166 compile config.guess config.sub install-sh ltmain.sh missing
168167 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
169168 distdir = $(PACKAGE)-$(VERSION)
170169 top_distdir = $(distdir)
220219 CC = @CC@
221220 CCDEPMODE = @CCDEPMODE@
222221 CFLAGS = @CFLAGS@
223 CPP = @CPP@
224222 CPPFLAGS = @CPPFLAGS@
225223 CSCOPE = @CSCOPE@
226224 CTAGS = @CTAGS@
237235 ETAGS = @ETAGS@
238236 EXEEXT = @EXEEXT@
239237 FGREP = @FGREP@
238 FILECMD = @FILECMD@
240239 GREP = @GREP@
241240 INSTALL = @INSTALL@
242241 INSTALL_DATA = @INSTALL_DATA@
320319 prefix = @prefix@
321320 program_transform_name = @program_transform_name@
322321 psdir = @psdir@
322 runstatedir = @runstatedir@
323323 sbindir = @sbindir@
324324 sharedstatedir = @sharedstatedir@
325325 srcdir = @srcdir@
+0
-0
libpainter/NEWS less more
(Empty file)
+0
-0
libpainter/README less more
(Empty file)
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'.])])
55 /* Define to 1 if you have the <inttypes.h> header file. */
66 #undef HAVE_INTTYPES_H
77
8 /* Define to 1 if you have the <memory.h> header file. */
9 #undef HAVE_MEMORY_H
10
118 /* Define to 1 if you have the <stdint.h> header file. */
129 #undef HAVE_STDINT_H
10
11 /* Define to 1 if you have the <stdio.h> header file. */
12 #undef HAVE_STDIO_H
1313
1414 /* Define to 1 if you have the <stdlib.h> header file. */
1515 #undef HAVE_STDLIB_H
5353 /* Define to the version of this package. */
5454 #undef PACKAGE_VERSION
5555
56 /* Define to 1 if you have the ANSI C header files. */
56 /* Define to 1 if all of the C90 standard headers exist (not just the ones
57 required in a freestanding environment). This macro is provided for
58 backward compatibility; new code need not use it. */
5759 #undef STDC_HEADERS
5860
5961 /* Version number of package */
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for libpainter 0.1.1.
2 # Generated by GNU Autoconf 2.71 for libpainter 0.1.1.
33 #
44 # Report bugs to <xrdp-devel@googlegroups.com>.
55 #
66 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8 # Inc.
89 #
910 #
1011 # This configure script is free software; the Free Software Foundation
1516
1617 # Be more Bourne compatible
1718 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 as_nop=:
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
1922 emulate sh
2023 NULLCMD=:
2124 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2225 # is contrary to our usage. Disable this feature.
2326 alias -g '${1+"$@"}'='"$@"'
2427 setopt NO_GLOB_SUBST
25 else
28 else $as_nop
2629 case `(set -o) 2>/dev/null` in #(
2730 *posix*) :
2831 set -o posix ;; #(
3235 fi
3336
3437
38
39 # Reset variables that may have inherited troublesome values from
40 # the environment.
41
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
3546 as_nl='
3647 '
3748 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
49 IFS=" "" $as_nl"
50
51 PS1='$ '
52 PS2='> '
53 PS4='+ '
54
55 # Ensure predictable behavior from utilities with locale-dependent output.
56 LC_ALL=C
57 export LC_ALL
58 LANGUAGE=C
59 export LANGUAGE
60
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69 done
70
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7275
7376 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
77 if ${PATH_SEPARATOR+false} :; then
7578 PATH_SEPARATOR=:
7679 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7982 }
8083 fi
8184
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
8985
9086 # Find who we are. Look in the path if we contain no directory separator.
9187 as_myself=
9591 for as_dir in $PATH
9692 do
9793 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94 case $as_dir in #(((
95 '') as_dir=./ ;;
96 */) ;;
97 *) as_dir=$as_dir/ ;;
98 esac
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100100 done
101101 IFS=$as_save_IFS
102102
108108 as_myself=$0
109109 fi
110110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112112 exit 1
113113 fi
114114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135115
136116 # Use a proper internal environment variable to ensure we don't fall
137117 # into an infinite loop, continuously re-executing ourselves.
153133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154134 # Admittedly, this is quite paranoid, since all the known shells bail
155135 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137 exit 255
158138 fi
159139 # We don't want this to propagate to other subprocesses.
160140 { _as_can_reexec=; unset _as_can_reexec;}
161141 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
163145 emulate sh
164146 NULLCMD=:
165147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166148 # is contrary to our usage. Disable this feature.
167149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168150 setopt NO_GLOB_SUBST
169 else
151 else \$as_nop
170152 case \`(set -o) 2>/dev/null\` in #(
171153 *posix*) :
172154 set -o posix ;; #(
186168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172 then :
173
174 else \$as_nop
192175 exitcode=1; echo positional parameters were not saved.
193176 fi
194177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
195180 test -x / || exit 1"
196181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
206191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
208193 test \$(( 1 + 1 )) = 2 || exit 1"
209 if (eval "$as_required") 2>/dev/null; then :
194 if (eval "$as_required") 2>/dev/null
195 then :
210196 as_have_required=yes
211 else
197 else $as_nop
212198 as_have_required=no
213199 fi
214 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215
216 else
200 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
201 then :
202
203 else $as_nop
217204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218205 as_found=false
219206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220207 do
221208 IFS=$as_save_IFS
222 test -z "$as_dir" && as_dir=.
209 case $as_dir in #(((
210 '') as_dir=./ ;;
211 */) ;;
212 *) as_dir=$as_dir/ ;;
213 esac
223214 as_found=:
224215 case $as_dir in #(
225216 /*)
226217 for as_base in sh bash ksh sh5; do
227218 # Try only shells that exist, to save several forks.
228 as_shell=$as_dir/$as_base
219 as_shell=$as_dir$as_base
229220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
230 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
222 then :
231223 CONFIG_SHELL=$as_shell as_have_required=yes
232 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
225 then :
233226 break 2
234227 fi
235228 fi
237230 esac
238231 as_found=false
239232 done
240 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 IFS=$as_save_IFS
234 if $as_found
235 then :
236
237 else $as_nop
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
240 then :
242241 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi; }
244 IFS=$as_save_IFS
245
246
247 if test "x$CONFIG_SHELL" != x; then :
242 fi
243 fi
244
245
246 if test "x$CONFIG_SHELL" != x
247 then :
248248 export CONFIG_SHELL
249249 # We cannot yet assume a decent shell, so we have to provide a
250250 # neutralization value for shells without unset; and this also
262262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263263 # Admittedly, this is quite paranoid, since all the known shells bail
264264 # out after a failed `exec'.
265 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
266266 exit 255
267267 fi
268268
269 if test x$as_have_required = xno; then :
270 $as_echo "$0: This script requires a shell more modern than all"
271 $as_echo "$0: the shells that I found on your system."
272 if test x${ZSH_VERSION+set} = xset ; then
273 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 if test x$as_have_required = xno
270 then :
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
275276 else
276 $as_echo "$0: Please tell bug-autoconf@gnu.org and
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
277278 $0: xrdp-devel@googlegroups.com about your system,
278279 $0: including any error possibly output before this
279280 $0: message. Then install a modern shell, or manually run
301302 }
302303 as_unset=as_fn_unset
303304
305
304306 # as_fn_set_status STATUS
305307 # -----------------------
306308 # Set $? to STATUS, without forking.
318320 as_fn_set_status $1
319321 exit $1
320322 } # as_fn_exit
323 # as_fn_nop
324 # ---------
325 # Do nothing but, unlike ":", preserve the value of $?.
326 as_fn_nop ()
327 {
328 return $?
329 }
330 as_nop=as_fn_nop
321331
322332 # as_fn_mkdir_p
323333 # -------------
332342 as_dirs=
333343 while :; do
334344 case $as_dir in #(
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
345 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336346 *) as_qdir=$as_dir;;
337347 esac
338348 as_dirs="'$as_qdir' $as_dirs"
341351 X"$as_dir" : 'X\(//\)[^/]' \| \
342352 X"$as_dir" : 'X\(//\)$' \| \
343353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
354 printf "%s\n" X"$as_dir" |
345355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346356 s//\1/
347357 q
380390 # advantage of any shell optimizations that allow amortized linear growth over
381391 # repeated appends, instead of the typical quadratic growth present in naive
382392 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
394 then :
384395 eval 'as_fn_append ()
385396 {
386397 eval $1+=\$2
387398 }'
388 else
399 else $as_nop
389400 as_fn_append ()
390401 {
391402 eval $1=\$$1\$2
397408 # Perform arithmetic evaluation on the ARGs, and store the result in the
398409 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399410 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 then :
401413 eval 'as_fn_arith ()
402414 {
403415 as_val=$(( $* ))
404416 }'
405 else
417 else $as_nop
406418 as_fn_arith ()
407419 {
408420 as_val=`expr "$@" || test $? -eq 1`
409421 }
410422 fi # as_fn_arith
411423
424 # as_fn_nop
425 # ---------
426 # Do nothing but, unlike ":", preserve the value of $?.
427 as_fn_nop ()
428 {
429 return $?
430 }
431 as_nop=as_fn_nop
412432
413433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414434 # ----------------------------------------
420440 as_status=$1; test $as_status -eq 0 && as_status=1
421441 if test "$4"; then
422442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424444 fi
425 $as_echo "$as_me: error: $2" >&2
445 printf "%s\n" "$as_me: error: $2" >&2
426446 as_fn_exit $as_status
427447 } # as_fn_error
428448
449469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450470 X"$0" : 'X\(//\)$' \| \
451471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
472 printf "%s\n" X/"$0" |
453473 sed '/^.*\/\([^/][^/]*\)\/*$/{
454474 s//\1/
455475 q
493513 s/-\n.*//
494514 ' >$as_me.lineno &&
495515 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497517
498518 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499519 # already done that, so ensure we don't try to do so again and fall
507527 exit
508528 }
509529
530
531 # Determine whether it's possible to make 'echo' print without a newline.
532 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
533 # for compatibility with existing Makefiles.
510534 ECHO_C= ECHO_N= ECHO_T=
511535 case `echo -n x` in #(((((
512536 -n*)
519543 *)
520544 ECHO_N='-n';;
521545 esac
546
547 # For backward compatibility with old third-party macros, we provide
548 # the shell variables $as_echo and $as_echo_n. New code should use
549 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
550 as_echo='printf %s\n'
551 as_echo_n='printf %s'
552
522553
523554 rm -f conf$$ conf$$.exe conf$$.file
524555 if test -d conf$$.dir; then
596627
597628 # Factoring default headers for most tests.
598629 ac_includes_default="\
599 #include <stdio.h>
600 #ifdef HAVE_SYS_TYPES_H
601 # include <sys/types.h>
630 #include <stddef.h>
631 #ifdef HAVE_STDIO_H
632 # include <stdio.h>
602633 #endif
603 #ifdef HAVE_SYS_STAT_H
604 # include <sys/stat.h>
605 #endif
606 #ifdef STDC_HEADERS
634 #ifdef HAVE_STDLIB_H
607635 # include <stdlib.h>
608 # include <stddef.h>
609 #else
610 # ifdef HAVE_STDLIB_H
611 # include <stdlib.h>
612 # endif
613636 #endif
614637 #ifdef HAVE_STRING_H
615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
616 # include <memory.h>
617 # endif
618638 # include <string.h>
619 #endif
620 #ifdef HAVE_STRINGS_H
621 # include <strings.h>
622639 #endif
623640 #ifdef HAVE_INTTYPES_H
624641 # include <inttypes.h>
626643 #ifdef HAVE_STDINT_H
627644 # include <stdint.h>
628645 #endif
646 #ifdef HAVE_STRINGS_H
647 # include <strings.h>
648 #endif
649 #ifdef HAVE_SYS_TYPES_H
650 # include <sys/types.h>
651 #endif
652 #ifdef HAVE_SYS_STAT_H
653 # include <sys/stat.h>
654 #endif
629655 #ifdef HAVE_UNISTD_H
630656 # include <unistd.h>
631657 #endif"
632658
659 ac_header_c_list=
633660 ac_subst_vars='am__EXEEXT_FALSE
634661 am__EXEEXT_TRUE
635662 LTLIBOBJS
637664 PT_TESTS_FALSE
638665 PT_TESTS_TRUE
639666 pkgconfigdir
640 CPP
641667 LT_SYS_LIBRARY_PATH
642668 OTOOL64
643669 OTOOL
650676 AR
651677 DLLTOOL
652678 OBJDUMP
679 FILECMD
653680 LN_S
654681 NM
655682 ac_ct_DUMPBIN
733760 docdir
734761 oldincludedir
735762 includedir
763 runstatedir
736764 localstatedir
737765 sharedstatedir
738766 sysconfdir
777805 LDFLAGS
778806 LIBS
779807 CPPFLAGS
780 LT_SYS_LIBRARY_PATH
781 CPP'
808 LT_SYS_LIBRARY_PATH'
782809
783810
784811 # Initialize some variables set by options.
817844 sysconfdir='${prefix}/etc'
818845 sharedstatedir='${prefix}/com'
819846 localstatedir='${prefix}/var'
847 runstatedir='${localstatedir}/run'
820848 includedir='${prefix}/include'
821849 oldincludedir='/usr/include'
822850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846874 *) ac_optarg=yes ;;
847875 esac
848876
849 # Accept the important Cygnus configure options, so we can diagnose typos.
850
851877 case $ac_dashdash$ac_option in
852878 --)
853879 ac_dashdash=yes ;;
888914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889915 # Reject names that are not valid shell variable names.
890916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
917 as_fn_error $? "invalid feature name: \`$ac_useropt'"
892918 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
894920 case $ac_user_opts in
895921 *"
896922 "enable_$ac_useropt"
914940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915941 # Reject names that are not valid shell variable names.
916942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
943 as_fn_error $? "invalid feature name: \`$ac_useropt'"
918944 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
920946 case $ac_user_opts in
921947 *"
922948 "enable_$ac_useropt"
10691095 | -silent | --silent | --silen | --sile | --sil)
10701096 silent=yes ;;
10711097
1098 -runstatedir | --runstatedir | --runstatedi | --runstated \
1099 | --runstate | --runstat | --runsta | --runst | --runs \
1100 | --run | --ru | --r)
1101 ac_prev=runstatedir ;;
1102 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1103 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1104 | --run=* | --ru=* | --r=*)
1105 runstatedir=$ac_optarg ;;
1106
10721107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10731108 ac_prev=sbindir ;;
10741109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11181153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11191154 # Reject names that are not valid shell variable names.
11201155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1156 as_fn_error $? "invalid package name: \`$ac_useropt'"
11221157 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11241159 case $ac_user_opts in
11251160 *"
11261161 "with_$ac_useropt"
11341169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11351170 # Reject names that are not valid shell variable names.
11361171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1172 as_fn_error $? "invalid package name: \`$ac_useropt'"
11381173 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11401175 case $ac_user_opts in
11411176 *"
11421177 "with_$ac_useropt"
11801215
11811216 *)
11821217 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11841219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11861221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11871222 ;;
11881223
11981233 case $enable_option_checking in
11991234 no) ;;
12001235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12021237 esac
12031238 fi
12041239
12061241 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12071242 datadir sysconfdir sharedstatedir localstatedir includedir \
12081243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1244 libdir localedir mandir runstatedir
12101245 do
12111246 eval ac_val=\$$ac_var
12121247 # Remove trailing slashes.
12621297 X"$as_myself" : 'X\(//\)[^/]' \| \
12631298 X"$as_myself" : 'X\(//\)$' \| \
12641299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1300 printf "%s\n" X"$as_myself" |
12661301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12671302 s//\1/
12681303 q
13591394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13601395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13611396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13621398 --libdir=DIR object code libraries [EPREFIX/lib]
13631399 --includedir=DIR C header files [PREFIX/include]
13641400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
14341470 you have headers in a nonstandard directory <include dir>
14351471 LT_SYS_LIBRARY_PATH
14361472 User-defined run-time library search path.
1437 CPP C preprocessor
14381473
14391474 Use these variables to override the choices made by `configure' or to help
14401475 it to find libraries and programs with nonstandard names/locations.
14551490 case "$ac_dir" in
14561491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14571492 *)
1458 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1493 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14591494 # A ".." for each directory in $ac_dir_suffix.
1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1495 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14611496 case $ac_top_builddir_sub in
14621497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14631498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14851520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14861521
14871522 cd "$ac_dir" || { ac_status=$?; continue; }
1488 # Check for guested configure.
1523 # Check for configure.gnu first; this name is used for a wrapper for
1524 # Metaconfig's "Configure" on case-insensitive file systems.
14891525 if test -f "$ac_srcdir/configure.gnu"; then
14901526 echo &&
14911527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14931529 echo &&
14941530 $SHELL "$ac_srcdir/configure" --help=recursive
14951531 else
1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1532 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14971533 fi || ac_status=$?
14981534 cd "$ac_pwd" || { ac_status=$?; break; }
14991535 done
15031539 if $ac_init_version; then
15041540 cat <<\_ACEOF
15051541 libpainter configure 0.1.1
1506 generated by GNU Autoconf 2.69
1507
1508 Copyright (C) 2012 Free Software Foundation, Inc.
1542 generated by GNU Autoconf 2.71
1543
1544 Copyright (C) 2021 Free Software Foundation, Inc.
15091545 This configure script is free software; the Free Software Foundation
15101546 gives unlimited permission to copy, distribute and modify it.
15111547 _ACEOF
15221558 ac_fn_c_try_compile ()
15231559 {
15241560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext
1561 rm -f conftest.$ac_objext conftest.beam
15261562 if { { ac_try="$ac_compile"
15271563 case "(($ac_try" in
15281564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15291565 *) ac_try_echo=$ac_try;;
15301566 esac
15311567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1568 printf "%s\n" "$ac_try_echo"; } >&5
15331569 (eval "$ac_compile") 2>conftest.err
15341570 ac_status=$?
15351571 if test -s conftest.err; then
15371573 cat conftest.er1 >&5
15381574 mv -f conftest.er1 conftest.err
15391575 fi
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411577 test $ac_status = 0; } && {
15421578 test -z "$ac_c_werror_flag" ||
15431579 test ! -s conftest.err
1544 } && test -s conftest.$ac_objext; then :
1580 } && test -s conftest.$ac_objext
1581 then :
15451582 ac_retval=0
1546 else
1547 $as_echo "$as_me: failed program was:" >&5
1583 else $as_nop
1584 printf "%s\n" "$as_me: failed program was:" >&5
15481585 sed 's/^/| /' conftest.$ac_ext >&5
15491586
15501587 ac_retval=1
15601597 ac_fn_c_try_link ()
15611598 {
15621599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext conftest$ac_exeext
1600 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
15641601 if { { ac_try="$ac_link"
15651602 case "(($ac_try" in
15661603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15671604 *) ac_try_echo=$ac_try;;
15681605 esac
15691606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1607 printf "%s\n" "$ac_try_echo"; } >&5
15711608 (eval "$ac_link") 2>conftest.err
15721609 ac_status=$?
15731610 if test -s conftest.err; then
15751612 cat conftest.er1 >&5
15761613 mv -f conftest.er1 conftest.err
15771614 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15791616 test $ac_status = 0; } && {
15801617 test -z "$ac_c_werror_flag" ||
15811618 test ! -s conftest.err
15821619 } && test -s conftest$ac_exeext && {
15831620 test "$cross_compiling" = yes ||
15841621 test -x conftest$ac_exeext
1585 }; then :
1622 }
1623 then :
15861624 ac_retval=0
1587 else
1588 $as_echo "$as_me: failed program was:" >&5
1625 else $as_nop
1626 printf "%s\n" "$as_me: failed program was:" >&5
15891627 sed 's/^/| /' conftest.$ac_ext >&5
15901628
15911629 ac_retval=1
16071645 ac_fn_c_check_header_compile ()
16081646 {
16091647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \${$3+:} false; then :
1613 $as_echo_n "(cached) " >&6
1614 else
1648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 printf %s "checking for $2... " >&6; }
1650 if eval test \${$3+y}
1651 then :
1652 printf %s "(cached) " >&6
1653 else $as_nop
16151654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161655 /* end confdefs.h. */
16171656 $4
16181657 #include <$2>
16191658 _ACEOF
1620 if ac_fn_c_try_compile "$LINENO"; then :
1659 if ac_fn_c_try_compile "$LINENO"
1660 then :
16211661 eval "$3=yes"
1622 else
1662 else $as_nop
16231663 eval "$3=no"
16241664 fi
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16261666 fi
16271667 eval ac_res=\$$3
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629 $as_echo "$ac_res" >&6; }
1668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 printf "%s\n" "$ac_res" >&6; }
16301670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16311671
16321672 } # ac_fn_c_check_header_compile
1633
1634 # ac_fn_c_try_cpp LINENO
1635 # ----------------------
1636 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_c_try_cpp ()
1638 {
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 if { { ac_try="$ac_cpp conftest.$ac_ext"
1641 case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1648 ac_status=$?
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1653 fi
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } > conftest.i && {
1656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 }; then :
1659 ac_retval=0
1660 else
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1663
1664 ac_retval=1
1665 fi
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_cpp
1670
1671 # ac_fn_c_try_run LINENO
1672 # ----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1674 # that executables *can* be run.
1675 ac_fn_c_try_run ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if { { ac_try="$ac_link"
1679 case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>&5
1686 ac_status=$?
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1689 { { case "(($ac_try" in
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_try") 2>&5
1696 ac_status=$?
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; }; }; then :
1699 ac_retval=0
1700 else
1701 $as_echo "$as_me: program exited with status $ac_status" >&5
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705 ac_retval=$ac_status
1706 fi
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status $ac_retval
1710
1711 } # ac_fn_c_try_run
17121673
17131674 # ac_fn_c_check_func LINENO FUNC VAR
17141675 # ----------------------------------
17161677 ac_fn_c_check_func ()
17171678 {
17181679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1721 if eval \${$3+:} false; then :
1722 $as_echo_n "(cached) " >&6
1723 else
1680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 printf %s "checking for $2... " >&6; }
1682 if eval test \${$3+y}
1683 then :
1684 printf %s "(cached) " >&6
1685 else $as_nop
17241686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251687 /* end confdefs.h. */
17261688 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17281690 #define $2 innocuous_$2
17291691
17301692 /* System header to define __stub macros and hopefully few prototypes,
1731 which can conflict with char $2 (); below.
1732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1733 <limits.h> exists even on freestanding compilers. */
1734
1735 #ifdef __STDC__
1736 # include <limits.h>
1737 #else
1738 # include <assert.h>
1739 #endif
1740
1693 which can conflict with char $2 (); below. */
1694
1695 #include <limits.h>
17411696 #undef $2
17421697
17431698 /* Override any GCC internal prototype to avoid an error.
17551710 #endif
17561711
17571712 int
1758 main ()
1713 main (void)
17591714 {
17601715 return $2 ();
17611716 ;
17621717 return 0;
17631718 }
17641719 _ACEOF
1765 if ac_fn_c_try_link "$LINENO"; then :
1720 if ac_fn_c_try_link "$LINENO"
1721 then :
17661722 eval "$3=yes"
1767 else
1723 else $as_nop
17681724 eval "$3=no"
17691725 fi
1770 rm -f core conftest.err conftest.$ac_objext \
1726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17711727 conftest$ac_exeext conftest.$ac_ext
17721728 fi
17731729 eval ac_res=\$$3
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 printf "%s\n" "$ac_res" >&6; }
17761732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17771733
17781734 } # ac_fn_c_check_func
1735 ac_configure_args_raw=
1736 for ac_arg
1737 do
1738 case $ac_arg in
1739 *\'*)
1740 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1741 esac
1742 as_fn_append ac_configure_args_raw " '$ac_arg'"
1743 done
1744
1745 case $ac_configure_args_raw in
1746 *$as_nl*)
1747 ac_safe_unquote= ;;
1748 *)
1749 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1750 ac_unsafe_a="$ac_unsafe_z#~"
1751 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1752 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1753 esac
1754
17791755 cat >config.log <<_ACEOF
17801756 This file contains any messages produced by compilers while
17811757 running configure, to aid debugging if configure makes a mistake.
17821758
17831759 It was created by libpainter $as_me 0.1.1, which was
1784 generated by GNU Autoconf 2.69. Invocation command line was
1785
1786 $ $0 $@
1760 generated by GNU Autoconf 2.71. Invocation command line was
1761
1762 $ $0$ac_configure_args_raw
17871763
17881764 _ACEOF
17891765 exec 5>>config.log
18161792 for as_dir in $PATH
18171793 do
18181794 IFS=$as_save_IFS
1819 test -z "$as_dir" && as_dir=.
1820 $as_echo "PATH: $as_dir"
1795 case $as_dir in #(((
1796 '') as_dir=./ ;;
1797 */) ;;
1798 *) as_dir=$as_dir/ ;;
1799 esac
1800 printf "%s\n" "PATH: $as_dir"
18211801 done
18221802 IFS=$as_save_IFS
18231803
18521832 | -silent | --silent | --silen | --sile | --sil)
18531833 continue ;;
18541834 *\'*)
1855 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18561836 esac
18571837 case $ac_pass in
18581838 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
18871867 # WARNING: Use '\'' to represent an apostrophe within the trap.
18881868 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
18891869 trap 'exit_status=$?
1870 # Sanitize IFS.
1871 IFS=" "" $as_nl"
18901872 # Save into config.log some information that might help in debugging.
18911873 {
18921874 echo
18931875
1894 $as_echo "## ---------------- ##
1876 printf "%s\n" "## ---------------- ##
18951877 ## Cache variables. ##
18961878 ## ---------------- ##"
18971879 echo
19021884 case $ac_val in #(
19031885 *${as_nl}*)
19041886 case $ac_var in #(
1905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1887 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1888 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19071889 esac
19081890 case $ac_var in #(
19091891 _ | IFS | as_nl) ;; #(
19271909 )
19281910 echo
19291911
1930 $as_echo "## ----------------- ##
1912 printf "%s\n" "## ----------------- ##
19311913 ## Output variables. ##
19321914 ## ----------------- ##"
19331915 echo
19351917 do
19361918 eval ac_val=\$$ac_var
19371919 case $ac_val in
1938 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1920 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19391921 esac
1940 $as_echo "$ac_var='\''$ac_val'\''"
1922 printf "%s\n" "$ac_var='\''$ac_val'\''"
19411923 done | sort
19421924 echo
19431925
19441926 if test -n "$ac_subst_files"; then
1945 $as_echo "## ------------------- ##
1927 printf "%s\n" "## ------------------- ##
19461928 ## File substitutions. ##
19471929 ## ------------------- ##"
19481930 echo
19501932 do
19511933 eval ac_val=\$$ac_var
19521934 case $ac_val in
1953 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1935 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19541936 esac
1955 $as_echo "$ac_var='\''$ac_val'\''"
1937 printf "%s\n" "$ac_var='\''$ac_val'\''"
19561938 done | sort
19571939 echo
19581940 fi
19591941
19601942 if test -s confdefs.h; then
1961 $as_echo "## ----------- ##
1943 printf "%s\n" "## ----------- ##
19621944 ## confdefs.h. ##
19631945 ## ----------- ##"
19641946 echo
19661948 echo
19671949 fi
19681950 test "$ac_signal" != 0 &&
1969 $as_echo "$as_me: caught signal $ac_signal"
1970 $as_echo "$as_me: exit $exit_status"
1951 printf "%s\n" "$as_me: caught signal $ac_signal"
1952 printf "%s\n" "$as_me: exit $exit_status"
19711953 } >&5
19721954 rm -f core *.core core.conftest.* &&
19731955 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
19811963 # confdefs.h avoids OS command line length limits that DEFS can exceed.
19821964 rm -f -r conftest* confdefs.h
19831965
1984 $as_echo "/* confdefs.h */" > confdefs.h
1966 printf "%s\n" "/* confdefs.h */" > confdefs.h
19851967
19861968 # Predefined preprocessor variables.
19871969
1988 cat >>confdefs.h <<_ACEOF
1989 #define PACKAGE_NAME "$PACKAGE_NAME"
1990 _ACEOF
1991
1992 cat >>confdefs.h <<_ACEOF
1993 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1994 _ACEOF
1995
1996 cat >>confdefs.h <<_ACEOF
1997 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1998 _ACEOF
1999
2000 cat >>confdefs.h <<_ACEOF
2001 #define PACKAGE_STRING "$PACKAGE_STRING"
2002 _ACEOF
2003
2004 cat >>confdefs.h <<_ACEOF
2005 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2006 _ACEOF
2007
2008 cat >>confdefs.h <<_ACEOF
2009 #define PACKAGE_URL "$PACKAGE_URL"
2010 _ACEOF
1970 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1971
1972 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1973
1974 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1975
1976 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1977
1978 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1979
1980 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
20111981
20121982
20131983 # Let the site file select an alternate cache file if it wants to.
20141984 # Prefer an explicitly selected file to automatically selected ones.
2015 ac_site_file1=NONE
2016 ac_site_file2=NONE
20171985 if test -n "$CONFIG_SITE"; then
2018 # We do not want a PATH search for config.site.
2019 case $CONFIG_SITE in #((
2020 -*) ac_site_file1=./$CONFIG_SITE;;
2021 */*) ac_site_file1=$CONFIG_SITE;;
2022 *) ac_site_file1=./$CONFIG_SITE;;
2023 esac
1986 ac_site_files="$CONFIG_SITE"
20241987 elif test "x$prefix" != xNONE; then
2025 ac_site_file1=$prefix/share/config.site
2026 ac_site_file2=$prefix/etc/config.site
2027 else
2028 ac_site_file1=$ac_default_prefix/share/config.site
2029 ac_site_file2=$ac_default_prefix/etc/config.site
2030 fi
2031 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1988 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1989 else
1990 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1991 fi
1992
1993 for ac_site_file in $ac_site_files
20321994 do
2033 test "x$ac_site_file" = xNONE && continue
2034 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2036 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1995 case $ac_site_file in #(
1996 */*) :
1997 ;; #(
1998 *) :
1999 ac_site_file=./$ac_site_file ;;
2000 esac
2001 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2003 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
20372004 sed 's/^/| /' "$ac_site_file" >&5
20382005 . "$ac_site_file" \
2039 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2007 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
20412008 as_fn_error $? "failed to load site script $ac_site_file
20422009 See \`config.log' for more details" "$LINENO" 5; }
20432010 fi
20472014 # Some versions of bash will fail to source /dev/null (special files
20482015 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
20492016 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2051 $as_echo "$as_me: loading cache $cache_file" >&6;}
2017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2018 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
20522019 case $cache_file in
20532020 [\\/]* | ?:[\\/]* ) . "$cache_file";;
20542021 *) . "./$cache_file";;
20552022 esac
20562023 fi
20572024 else
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2059 $as_echo "$as_me: creating cache $cache_file" >&6;}
2025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2026 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
20602027 >$cache_file
2028 fi
2029
2030 # Test code for whether the C compiler supports C89 (global declarations)
2031 ac_c_conftest_c89_globals='
2032 /* Does the compiler advertise C89 conformance?
2033 Do not test the value of __STDC__, because some compilers set it to 0
2034 while being otherwise adequately conformant. */
2035 #if !defined __STDC__
2036 # error "Compiler does not advertise C89 conformance"
2037 #endif
2038
2039 #include <stddef.h>
2040 #include <stdarg.h>
2041 struct stat;
2042 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2043 struct buf { int x; };
2044 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2045 static char *e (p, i)
2046 char **p;
2047 int i;
2048 {
2049 return p[i];
2050 }
2051 static char *f (char * (*g) (char **, int), char **p, ...)
2052 {
2053 char *s;
2054 va_list v;
2055 va_start (v,p);
2056 s = g (p, va_arg (v,int));
2057 va_end (v);
2058 return s;
2059 }
2060
2061 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2062 function prototypes and stuff, but not \xHH hex character constants.
2063 These do not provoke an error unfortunately, instead are silently treated
2064 as an "x". The following induces an error, until -std is added to get
2065 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2066 array size at least. It is necessary to write \x00 == 0 to get something
2067 that is true only with -std. */
2068 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2069
2070 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2071 inside strings and character constants. */
2072 #define FOO(x) '\''x'\''
2073 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2074
2075 int test (int i, double x);
2076 struct s1 {int (*f) (int a);};
2077 struct s2 {int (*f) (double a);};
2078 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2079 int, int);'
2080
2081 # Test code for whether the C compiler supports C89 (body of main).
2082 ac_c_conftest_c89_main='
2083 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2084 '
2085
2086 # Test code for whether the C compiler supports C99 (global declarations)
2087 ac_c_conftest_c99_globals='
2088 // Does the compiler advertise C99 conformance?
2089 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2090 # error "Compiler does not advertise C99 conformance"
2091 #endif
2092
2093 #include <stdbool.h>
2094 extern int puts (const char *);
2095 extern int printf (const char *, ...);
2096 extern int dprintf (int, const char *, ...);
2097 extern void *malloc (size_t);
2098
2099 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2100 // dprintf is used instead of fprintf to avoid needing to declare
2101 // FILE and stderr.
2102 #define debug(...) dprintf (2, __VA_ARGS__)
2103 #define showlist(...) puts (#__VA_ARGS__)
2104 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2105 static void
2106 test_varargs_macros (void)
2107 {
2108 int x = 1234;
2109 int y = 5678;
2110 debug ("Flag");
2111 debug ("X = %d\n", x);
2112 showlist (The first, second, and third items.);
2113 report (x>y, "x is %d but y is %d", x, y);
2114 }
2115
2116 // Check long long types.
2117 #define BIG64 18446744073709551615ull
2118 #define BIG32 4294967295ul
2119 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2120 #if !BIG_OK
2121 #error "your preprocessor is broken"
2122 #endif
2123 #if BIG_OK
2124 #else
2125 #error "your preprocessor is broken"
2126 #endif
2127 static long long int bignum = -9223372036854775807LL;
2128 static unsigned long long int ubignum = BIG64;
2129
2130 struct incomplete_array
2131 {
2132 int datasize;
2133 double data[];
2134 };
2135
2136 struct named_init {
2137 int number;
2138 const wchar_t *name;
2139 double average;
2140 };
2141
2142 typedef const char *ccp;
2143
2144 static inline int
2145 test_restrict (ccp restrict text)
2146 {
2147 // See if C++-style comments work.
2148 // Iterate through items via the restricted pointer.
2149 // Also check for declarations in for loops.
2150 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2151 continue;
2152 return 0;
2153 }
2154
2155 // Check varargs and va_copy.
2156 static bool
2157 test_varargs (const char *format, ...)
2158 {
2159 va_list args;
2160 va_start (args, format);
2161 va_list args_copy;
2162 va_copy (args_copy, args);
2163
2164 const char *str = "";
2165 int number = 0;
2166 float fnumber = 0;
2167
2168 while (*format)
2169 {
2170 switch (*format++)
2171 {
2172 case '\''s'\'': // string
2173 str = va_arg (args_copy, const char *);
2174 break;
2175 case '\''d'\'': // int
2176 number = va_arg (args_copy, int);
2177 break;
2178 case '\''f'\'': // float
2179 fnumber = va_arg (args_copy, double);
2180 break;
2181 default:
2182 break;
2183 }
2184 }
2185 va_end (args_copy);
2186 va_end (args);
2187
2188 return *str && number && fnumber;
2189 }
2190 '
2191
2192 # Test code for whether the C compiler supports C99 (body of main).
2193 ac_c_conftest_c99_main='
2194 // Check bool.
2195 _Bool success = false;
2196 success |= (argc != 0);
2197
2198 // Check restrict.
2199 if (test_restrict ("String literal") == 0)
2200 success = true;
2201 char *restrict newvar = "Another string";
2202
2203 // Check varargs.
2204 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2205 test_varargs_macros ();
2206
2207 // Check flexible array members.
2208 struct incomplete_array *ia =
2209 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2210 ia->datasize = 10;
2211 for (int i = 0; i < ia->datasize; ++i)
2212 ia->data[i] = i * 1.234;
2213
2214 // Check named initializers.
2215 struct named_init ni = {
2216 .number = 34,
2217 .name = L"Test wide string",
2218 .average = 543.34343,
2219 };
2220
2221 ni.number = 58;
2222
2223 int dynamic_array[ni.number];
2224 dynamic_array[0] = argv[0][0];
2225 dynamic_array[ni.number - 1] = 543;
2226
2227 // work around unused variable warnings
2228 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2229 || dynamic_array[ni.number - 1] != 543);
2230 '
2231
2232 # Test code for whether the C compiler supports C11 (global declarations)
2233 ac_c_conftest_c11_globals='
2234 // Does the compiler advertise C11 conformance?
2235 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2236 # error "Compiler does not advertise C11 conformance"
2237 #endif
2238
2239 // Check _Alignas.
2240 char _Alignas (double) aligned_as_double;
2241 char _Alignas (0) no_special_alignment;
2242 extern char aligned_as_int;
2243 char _Alignas (0) _Alignas (int) aligned_as_int;
2244
2245 // Check _Alignof.
2246 enum
2247 {
2248 int_alignment = _Alignof (int),
2249 int_array_alignment = _Alignof (int[100]),
2250 char_alignment = _Alignof (char)
2251 };
2252 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2253
2254 // Check _Noreturn.
2255 int _Noreturn does_not_return (void) { for (;;) continue; }
2256
2257 // Check _Static_assert.
2258 struct test_static_assert
2259 {
2260 int x;
2261 _Static_assert (sizeof (int) <= sizeof (long int),
2262 "_Static_assert does not work in struct");
2263 long int y;
2264 };
2265
2266 // Check UTF-8 literals.
2267 #define u8 syntax error!
2268 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2269
2270 // Check duplicate typedefs.
2271 typedef long *long_ptr;
2272 typedef long int *long_ptr;
2273 typedef long_ptr long_ptr;
2274
2275 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2276 struct anonymous
2277 {
2278 union {
2279 struct { int i; int j; };
2280 struct { int k; long int l; } w;
2281 };
2282 int m;
2283 } v1;
2284 '
2285
2286 # Test code for whether the C compiler supports C11 (body of main).
2287 ac_c_conftest_c11_main='
2288 _Static_assert ((offsetof (struct anonymous, i)
2289 == offsetof (struct anonymous, w.k)),
2290 "Anonymous union alignment botch");
2291 v1.i = 2;
2292 v1.w.k = 5;
2293 ok |= v1.i != 5;
2294 '
2295
2296 # Test code for whether the C compiler supports C11 (complete).
2297 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2298 ${ac_c_conftest_c99_globals}
2299 ${ac_c_conftest_c11_globals}
2300
2301 int
2302 main (int argc, char **argv)
2303 {
2304 int ok = 0;
2305 ${ac_c_conftest_c89_main}
2306 ${ac_c_conftest_c99_main}
2307 ${ac_c_conftest_c11_main}
2308 return ok;
2309 }
2310 "
2311
2312 # Test code for whether the C compiler supports C99 (complete).
2313 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2314 ${ac_c_conftest_c99_globals}
2315
2316 int
2317 main (int argc, char **argv)
2318 {
2319 int ok = 0;
2320 ${ac_c_conftest_c89_main}
2321 ${ac_c_conftest_c99_main}
2322 return ok;
2323 }
2324 "
2325
2326 # Test code for whether the C compiler supports C89 (complete).
2327 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2328
2329 int
2330 main (int argc, char **argv)
2331 {
2332 int ok = 0;
2333 ${ac_c_conftest_c89_main}
2334 return ok;
2335 }
2336 "
2337
2338 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2339 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2340 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2341 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2342 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2343 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2344 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2345 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2346 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2347
2348 # Auxiliary files required by this configure script.
2349 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
2350
2351 # Locations in which to look for auxiliary files.
2352 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2353
2354 # Search for a directory containing all of the required auxiliary files,
2355 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2356 # If we don't find one directory that contains all the files we need,
2357 # we report the set of missing files from the *first* directory in
2358 # $ac_aux_dir_candidates and give up.
2359 ac_missing_aux_files=""
2360 ac_first_candidate=:
2361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 as_found=false
2364 for as_dir in $ac_aux_dir_candidates
2365 do
2366 IFS=$as_save_IFS
2367 case $as_dir in #(((
2368 '') as_dir=./ ;;
2369 */) ;;
2370 *) as_dir=$as_dir/ ;;
2371 esac
2372 as_found=:
2373
2374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2375 ac_aux_dir_found=yes
2376 ac_install_sh=
2377 for ac_aux in $ac_aux_files
2378 do
2379 # As a special case, if "install-sh" is required, that requirement
2380 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2381 # and $ac_install_sh is set appropriately for whichever one is found.
2382 if test x"$ac_aux" = x"install-sh"
2383 then
2384 if test -f "${as_dir}install-sh"; then
2385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2386 ac_install_sh="${as_dir}install-sh -c"
2387 elif test -f "${as_dir}install.sh"; then
2388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2389 ac_install_sh="${as_dir}install.sh -c"
2390 elif test -f "${as_dir}shtool"; then
2391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2392 ac_install_sh="${as_dir}shtool install -c"
2393 else
2394 ac_aux_dir_found=no
2395 if $ac_first_candidate; then
2396 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2397 else
2398 break
2399 fi
2400 fi
2401 else
2402 if test -f "${as_dir}${ac_aux}"; then
2403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2404 else
2405 ac_aux_dir_found=no
2406 if $ac_first_candidate; then
2407 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2408 else
2409 break
2410 fi
2411 fi
2412 fi
2413 done
2414 if test "$ac_aux_dir_found" = yes; then
2415 ac_aux_dir="$as_dir"
2416 break
2417 fi
2418 ac_first_candidate=false
2419
2420 as_found=false
2421 done
2422 IFS=$as_save_IFS
2423 if $as_found
2424 then :
2425
2426 else $as_nop
2427 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2428 fi
2429
2430
2431 # These three variables are undocumented and unsupported,
2432 # and are intended to be withdrawn in a future Autoconf release.
2433 # They can cause serious problems if a builder's source tree is in a directory
2434 # whose full name contains unusual characters.
2435 if test -f "${ac_aux_dir}config.guess"; then
2436 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2437 fi
2438 if test -f "${ac_aux_dir}config.sub"; then
2439 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2440 fi
2441 if test -f "$ac_aux_dir/configure"; then
2442 ac_configure="$SHELL ${ac_aux_dir}configure"
20612443 fi
20622444
20632445 # Check that the precious variables saved in the cache have kept the same
20702452 eval ac_new_val=\$ac_env_${ac_var}_value
20712453 case $ac_old_set,$ac_new_set in
20722454 set,)
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2074 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2456 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20752457 ac_cache_corrupted=: ;;
20762458 ,set)
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2078 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2460 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20792461 ac_cache_corrupted=: ;;
20802462 ,);;
20812463 *)
20842466 ac_old_val_w=`echo x $ac_old_val`
20852467 ac_new_val_w=`echo x $ac_new_val`
20862468 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2088 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2470 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
20892471 ac_cache_corrupted=:
20902472 else
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2092 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2474 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
20932475 eval $ac_var=\$ac_old_val
20942476 fi
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2096 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2098 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2478 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2480 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
20992481 fi;;
21002482 esac
21012483 # Pass precious variables to config.status.
21022484 if test "$ac_new_set" = set; then
21032485 case $ac_new_val in
2104 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2486 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
21052487 *) ac_arg=$ac_var=$ac_new_val ;;
21062488 esac
21072489 case " $ac_configure_args " in
21112493 fi
21122494 done
21132495 if $ac_cache_corrupted; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2117 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2118 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2497 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2499 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2500 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2501 and start over" "$LINENO" 5
21192502 fi
21202503 ## -------------------- ##
21212504 ## Main body of script. ##
21322515
21332516 am__api_version='1.16'
21342517
2135 ac_aux_dir=
2136 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2137 if test -f "$ac_dir/install-sh"; then
2138 ac_aux_dir=$ac_dir
2139 ac_install_sh="$ac_aux_dir/install-sh -c"
2140 break
2141 elif test -f "$ac_dir/install.sh"; then
2142 ac_aux_dir=$ac_dir
2143 ac_install_sh="$ac_aux_dir/install.sh -c"
2144 break
2145 elif test -f "$ac_dir/shtool"; then
2146 ac_aux_dir=$ac_dir
2147 ac_install_sh="$ac_aux_dir/shtool install -c"
2148 break
2149 fi
2150 done
2151 if test -z "$ac_aux_dir"; then
2152 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2153 fi
2154
2155 # These three variables are undocumented and unsupported,
2156 # and are intended to be withdrawn in a future Autoconf release.
2157 # They can cause serious problems if a builder's source tree is in a directory
2158 # whose full name contains unusual characters.
2159 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2160 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2161 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2162
2163
2164 # Find a good install program. We prefer a C program (faster),
2518
2519
2520 # Find a good install program. We prefer a C program (faster),
21652521 # so one script is as good as another. But avoid the broken or
21662522 # incompatible versions:
21672523 # SysV /etc/install, /usr/sbin/install
21752531 # OS/2's system install, which has a completely different semantic
21762532 # ./install, which can be erroneously created by make from ./install.sh.
21772533 # Reject install programs that cannot install multiple files.
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2535 printf %s "checking for a BSD-compatible install... " >&6; }
21802536 if test -z "$INSTALL"; then
2181 if ${ac_cv_path_install+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2537 if test ${ac_cv_path_install+y}
2538 then :
2539 printf %s "(cached) " >&6
2540 else $as_nop
21842541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21852542 for as_dir in $PATH
21862543 do
21872544 IFS=$as_save_IFS
2188 test -z "$as_dir" && as_dir=.
2189 # Account for people who put trailing slashes in PATH elements.
2190 case $as_dir/ in #((
2191 ./ | .// | /[cC]/* | \
2545 case $as_dir in #(((
2546 '') as_dir=./ ;;
2547 */) ;;
2548 *) as_dir=$as_dir/ ;;
2549 esac
2550 # Account for fact that we put trailing slashes in our PATH walk.
2551 case $as_dir in #((
2552 ./ | /[cC]/* | \
21922553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21932554 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
21942555 /usr/ucb/* ) ;;
21982559 # by default.
21992560 for ac_prog in ginstall scoinst install; do
22002561 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2562 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
22022563 if test $ac_prog = install &&
2203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2564 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22042565 # AIX install. It has an incompatible calling convention.
22052566 :
22062567 elif test $ac_prog = install &&
2207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2568 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22082569 # program-specific install script used by HP pwplus--don't use.
22092570 :
22102571 else
22122573 echo one > conftest.one
22132574 echo two > conftest.two
22142575 mkdir conftest.dir
2215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2576 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
22162577 test -s conftest.one && test -s conftest.two &&
22172578 test -s conftest.dir/conftest.one &&
22182579 test -s conftest.dir/conftest.two
22192580 then
2220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2581 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
22212582 break 3
22222583 fi
22232584 fi
22332594 rm -rf conftest.one conftest.two conftest.dir
22342595
22352596 fi
2236 if test "${ac_cv_path_install+set}" = set; then
2597 if test ${ac_cv_path_install+y}; then
22372598 INSTALL=$ac_cv_path_install
22382599 else
22392600 # As a last resort, use the slow shell script. Don't cache a
22432604 INSTALL=$ac_install_sh
22442605 fi
22452606 fi
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2247 $as_echo "$INSTALL" >&6; }
2607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2608 printf "%s\n" "$INSTALL" >&6; }
22482609
22492610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22502611 # It thinks the first close brace ends the variable substitution.
22542615
22552616 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
22562617
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2258 $as_echo_n "checking whether build environment is sane... " >&6; }
2618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2619 printf %s "checking whether build environment is sane... " >&6; }
22592620 # Reject unsafe characters in $srcdir or the absolute working directory
22602621 # name. Accept space and tab only in the latter.
22612622 am_lf='
23092670 as_fn_error $? "newly created file is older than distributed files!
23102671 Check your system clock" "$LINENO" 5
23112672 fi
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2313 $as_echo "yes" >&6; }
2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 printf "%s\n" "yes" >&6; }
23142675 # If we didn't sleep, we still need to ensure time stamps of config.status and
23152676 # generated files are strictly newer.
23162677 am_sleep_pid=
23292690 # Double any \ or $.
23302691 # By default was `s,x,x', remove it if useless.
23312692 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2332 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2693 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2694
23332695
23342696 # Expand $ac_aux_dir to an absolute path.
23352697 am_aux_dir=`cd "$ac_aux_dir" && pwd`
23362698
2337 if test x"${MISSING+set}" != xset; then
2699
2700 if test x"${MISSING+set}" != xset; then
23382701 MISSING="\${SHELL} '$am_aux_dir/missing'"
23392702 fi
23402703 # Use eval to expand $SHELL
23422705 am_missing_run="$MISSING "
23432706 else
23442707 am_missing_run=
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2346 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2709 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
23472710 fi
23482711
23492712 if test x"${install_sh+set}" != xset; then
23632726 if test -n "$ac_tool_prefix"; then
23642727 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
23652728 set dummy ${ac_tool_prefix}strip; ac_word=$2
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2367 $as_echo_n "checking for $ac_word... " >&6; }
2368 if ${ac_cv_prog_STRIP+:} false; then :
2369 $as_echo_n "(cached) " >&6
2370 else
2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 printf %s "checking for $ac_word... " >&6; }
2731 if test ${ac_cv_prog_STRIP+y}
2732 then :
2733 printf %s "(cached) " >&6
2734 else $as_nop
23712735 if test -n "$STRIP"; then
23722736 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
23732737 else
23752739 for as_dir in $PATH
23762740 do
23772741 IFS=$as_save_IFS
2378 test -z "$as_dir" && as_dir=.
2742 case $as_dir in #(((
2743 '') as_dir=./ ;;
2744 */) ;;
2745 *) as_dir=$as_dir/ ;;
2746 esac
23792747 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23812749 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23832751 break 2
23842752 fi
23852753 done
23902758 fi
23912759 STRIP=$ac_cv_prog_STRIP
23922760 if test -n "$STRIP"; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2394 $as_echo "$STRIP" >&6; }
2395 else
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2397 $as_echo "no" >&6; }
2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2762 printf "%s\n" "$STRIP" >&6; }
2763 else
2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 printf "%s\n" "no" >&6; }
23982766 fi
23992767
24002768
24032771 ac_ct_STRIP=$STRIP
24042772 # Extract the first word of "strip", so it can be a program name with args.
24052773 set dummy strip; ac_word=$2
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407 $as_echo_n "checking for $ac_word... " >&6; }
2408 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2409 $as_echo_n "(cached) " >&6
2410 else
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 printf %s "checking for $ac_word... " >&6; }
2776 if test ${ac_cv_prog_ac_ct_STRIP+y}
2777 then :
2778 printf %s "(cached) " >&6
2779 else $as_nop
24112780 if test -n "$ac_ct_STRIP"; then
24122781 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
24132782 else
24152784 for as_dir in $PATH
24162785 do
24172786 IFS=$as_save_IFS
2418 test -z "$as_dir" && as_dir=.
2787 case $as_dir in #(((
2788 '') as_dir=./ ;;
2789 */) ;;
2790 *) as_dir=$as_dir/ ;;
2791 esac
24192792 for ac_exec_ext in '' $ac_executable_extensions; do
2420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
24212794 ac_cv_prog_ac_ct_STRIP="strip"
2422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24232796 break 2
24242797 fi
24252798 done
24302803 fi
24312804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
24322805 if test -n "$ac_ct_STRIP"; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2434 $as_echo "$ac_ct_STRIP" >&6; }
2435 else
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437 $as_echo "no" >&6; }
2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2807 printf "%s\n" "$ac_ct_STRIP" >&6; }
2808 else
2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 printf "%s\n" "no" >&6; }
24382811 fi
24392812
24402813 if test "x$ac_ct_STRIP" = x; then
24422815 else
24432816 case $cross_compiling:$ac_tool_warned in
24442817 yes:)
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2819 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24472820 ac_tool_warned=yes ;;
24482821 esac
24492822 STRIP=$ac_ct_STRIP
24552828 fi
24562829 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
24572830
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2459 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2831
2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2833 printf %s "checking for a race-free mkdir -p... " >&6; }
24602834 if test -z "$MKDIR_P"; then
2461 if ${ac_cv_path_mkdir+:} false; then :
2462 $as_echo_n "(cached) " >&6
2463 else
2835 if test ${ac_cv_path_mkdir+y}
2836 then :
2837 printf %s "(cached) " >&6
2838 else $as_nop
24642839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24652840 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
24662841 do
24672842 IFS=$as_save_IFS
2468 test -z "$as_dir" && as_dir=.
2843 case $as_dir in #(((
2844 '') as_dir=./ ;;
2845 */) ;;
2846 *) as_dir=$as_dir/ ;;
2847 esac
24692848 for ac_prog in mkdir gmkdir; do
24702849 for ac_exec_ext in '' $ac_executable_extensions; do
2471 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2472 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2473 'mkdir (GNU coreutils) '* | \
2474 'mkdir (coreutils) '* | \
2850 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2851 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2852 'mkdir ('*'coreutils) '* | \
2853 'BusyBox '* | \
24752854 'mkdir (fileutils) '4.1*)
2476 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2855 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
24772856 break 3;;
24782857 esac
24792858 done
24842863 fi
24852864
24862865 test -d ./--version && rmdir ./--version
2487 if test "${ac_cv_path_mkdir+set}" = set; then
2866 if test ${ac_cv_path_mkdir+y}; then
24882867 MKDIR_P="$ac_cv_path_mkdir -p"
24892868 else
24902869 # As a last resort, use the slow shell script. Don't cache a
24942873 MKDIR_P="$ac_install_sh -d"
24952874 fi
24962875 fi
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2498 $as_echo "$MKDIR_P" >&6; }
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2877 printf "%s\n" "$MKDIR_P" >&6; }
24992878
25002879 for ac_prog in gawk mawk nawk awk
25012880 do
25022881 # Extract the first word of "$ac_prog", so it can be a program name with args.
25032882 set dummy $ac_prog; ac_word=$2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if ${ac_cv_prog_AWK+:} false; then :
2507 $as_echo_n "(cached) " >&6
2508 else
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 printf %s "checking for $ac_word... " >&6; }
2885 if test ${ac_cv_prog_AWK+y}
2886 then :
2887 printf %s "(cached) " >&6
2888 else $as_nop
25092889 if test -n "$AWK"; then
25102890 ac_cv_prog_AWK="$AWK" # Let the user override the test.
25112891 else
25132893 for as_dir in $PATH
25142894 do
25152895 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2896 case $as_dir in #(((
2897 '') as_dir=./ ;;
2898 */) ;;
2899 *) as_dir=$as_dir/ ;;
2900 esac
25172901 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25192903 ac_cv_prog_AWK="$ac_prog"
2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25212905 break 2
25222906 fi
25232907 done
25282912 fi
25292913 AWK=$ac_cv_prog_AWK
25302914 if test -n "$AWK"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2532 $as_echo "$AWK" >&6; }
2533 else
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535 $as_echo "no" >&6; }
2915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2916 printf "%s\n" "$AWK" >&6; }
2917 else
2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 printf "%s\n" "no" >&6; }
25362920 fi
25372921
25382922
25392923 test -n "$AWK" && break
25402924 done
25412925
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2543 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2927 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25442928 set x ${MAKE-make}
2545 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2546 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2547 $as_echo_n "(cached) " >&6
2548 else
2929 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2930 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2931 then :
2932 printf %s "(cached) " >&6
2933 else $as_nop
25492934 cat >conftest.make <<\_ACEOF
25502935 SHELL = /bin/sh
25512936 all:
25612946 rm -f conftest.make
25622947 fi
25632948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2565 $as_echo "yes" >&6; }
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2950 printf "%s\n" "yes" >&6; }
25662951 SET_MAKE=
25672952 else
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 printf "%s\n" "no" >&6; }
25702955 SET_MAKE="MAKE=${MAKE-make}"
25712956 fi
25722957
25802965 rmdir .tst 2>/dev/null
25812966
25822967 # Check whether --enable-silent-rules was given.
2583 if test "${enable_silent_rules+set}" = set; then :
2968 if test ${enable_silent_rules+y}
2969 then :
25842970 enableval=$enable_silent_rules;
25852971 fi
25862972
25902976 *) AM_DEFAULT_VERBOSITY=1;;
25912977 esac
25922978 am_make=${MAKE-make}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2594 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2595 if ${am_cv_make_support_nested_variables+:} false; then :
2596 $as_echo_n "(cached) " >&6
2597 else
2598 if $as_echo 'TRUE=$(BAR$(V))
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2980 printf %s "checking whether $am_make supports nested variables... " >&6; }
2981 if test ${am_cv_make_support_nested_variables+y}
2982 then :
2983 printf %s "(cached) " >&6
2984 else $as_nop
2985 if printf "%s\n" 'TRUE=$(BAR$(V))
25992986 BAR0=false
26002987 BAR1=true
26012988 V=1
26072994 am_cv_make_support_nested_variables=no
26082995 fi
26092996 fi
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2611 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2998 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
26122999 if test $am_cv_make_support_nested_variables = yes; then
26133000 AM_V='$(V)'
26143001 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
26433030 VERSION='0.1.1'
26443031
26453032
2646 cat >>confdefs.h <<_ACEOF
2647 #define PACKAGE "$PACKAGE"
2648 _ACEOF
2649
2650
2651 cat >>confdefs.h <<_ACEOF
2652 #define VERSION "$VERSION"
2653 _ACEOF
3033 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3034
3035
3036 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
26543037
26553038 # Some tools Automake needs.
26563039
27483131 fi
27493132
27503133
3134
3135
3136
3137
3138
3139
3140
3141
3142
27513143 ac_ext=c
27523144 ac_cpp='$CPP $CPPFLAGS'
27533145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27563148 if test -n "$ac_tool_prefix"; then
27573149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27583150 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_CC+:} false; then :
2762 $as_echo_n "(cached) " >&6
2763 else
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 printf %s "checking for $ac_word... " >&6; }
3153 if test ${ac_cv_prog_CC+y}
3154 then :
3155 printf %s "(cached) " >&6
3156 else $as_nop
27643157 if test -n "$CC"; then
27653158 ac_cv_prog_CC="$CC" # Let the user override the test.
27663159 else
27683161 for as_dir in $PATH
27693162 do
27703163 IFS=$as_save_IFS
2771 test -z "$as_dir" && as_dir=.
3164 case $as_dir in #(((
3165 '') as_dir=./ ;;
3166 */) ;;
3167 *) as_dir=$as_dir/ ;;
3168 esac
27723169 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27743171 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27763173 break 2
27773174 fi
27783175 done
27833180 fi
27843181 CC=$ac_cv_prog_CC
27853182 if test -n "$CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2787 $as_echo "$CC" >&6; }
2788 else
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 printf "%s\n" "$CC" >&6; }
3185 else
3186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 printf "%s\n" "no" >&6; }
27913188 fi
27923189
27933190
27963193 ac_ct_CC=$CC
27973194 # Extract the first word of "gcc", so it can be a program name with args.
27983195 set dummy gcc; ac_word=$2
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800 $as_echo_n "checking for $ac_word... " >&6; }
2801 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2802 $as_echo_n "(cached) " >&6
2803 else
3196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 printf %s "checking for $ac_word... " >&6; }
3198 if test ${ac_cv_prog_ac_ct_CC+y}
3199 then :
3200 printf %s "(cached) " >&6
3201 else $as_nop
28043202 if test -n "$ac_ct_CC"; then
28053203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28063204 else
28083206 for as_dir in $PATH
28093207 do
28103208 IFS=$as_save_IFS
2811 test -z "$as_dir" && as_dir=.
3209 case $as_dir in #(((
3210 '') as_dir=./ ;;
3211 */) ;;
3212 *) as_dir=$as_dir/ ;;
3213 esac
28123214 for ac_exec_ext in '' $ac_executable_extensions; do
2813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3215 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28143216 ac_cv_prog_ac_ct_CC="gcc"
2815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28163218 break 2
28173219 fi
28183220 done
28233225 fi
28243226 ac_ct_CC=$ac_cv_prog_ac_ct_CC
28253227 if test -n "$ac_ct_CC"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2827 $as_echo "$ac_ct_CC" >&6; }
2828 else
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830 $as_echo "no" >&6; }
3228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3229 printf "%s\n" "$ac_ct_CC" >&6; }
3230 else
3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 printf "%s\n" "no" >&6; }
28313233 fi
28323234
28333235 if test "x$ac_ct_CC" = x; then
28353237 else
28363238 case $cross_compiling:$ac_tool_warned in
28373239 yes:)
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3241 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28403242 ac_tool_warned=yes ;;
28413243 esac
28423244 CC=$ac_ct_CC
28493251 if test -n "$ac_tool_prefix"; then
28503252 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
28513253 set dummy ${ac_tool_prefix}cc; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_CC+:} false; then :
2855 $as_echo_n "(cached) " >&6
2856 else
3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 printf %s "checking for $ac_word... " >&6; }
3256 if test ${ac_cv_prog_CC+y}
3257 then :
3258 printf %s "(cached) " >&6
3259 else $as_nop
28573260 if test -n "$CC"; then
28583261 ac_cv_prog_CC="$CC" # Let the user override the test.
28593262 else
28613264 for as_dir in $PATH
28623265 do
28633266 IFS=$as_save_IFS
2864 test -z "$as_dir" && as_dir=.
3267 case $as_dir in #(((
3268 '') as_dir=./ ;;
3269 */) ;;
3270 *) as_dir=$as_dir/ ;;
3271 esac
28653272 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28673274 ac_cv_prog_CC="${ac_tool_prefix}cc"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28693276 break 2
28703277 fi
28713278 done
28763283 fi
28773284 CC=$ac_cv_prog_CC
28783285 if test -n "$CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2881 else
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
3286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3287 printf "%s\n" "$CC" >&6; }
3288 else
3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 printf "%s\n" "no" >&6; }
28843291 fi
28853292
28863293
28893296 if test -z "$CC"; then
28903297 # Extract the first word of "cc", so it can be a program name with args.
28913298 set dummy cc; ac_word=$2
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893 $as_echo_n "checking for $ac_word... " >&6; }
2894 if ${ac_cv_prog_CC+:} false; then :
2895 $as_echo_n "(cached) " >&6
2896 else
3299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 printf %s "checking for $ac_word... " >&6; }
3301 if test ${ac_cv_prog_CC+y}
3302 then :
3303 printf %s "(cached) " >&6
3304 else $as_nop
28973305 if test -n "$CC"; then
28983306 ac_cv_prog_CC="$CC" # Let the user override the test.
28993307 else
29023310 for as_dir in $PATH
29033311 do
29043312 IFS=$as_save_IFS
2905 test -z "$as_dir" && as_dir=.
3313 case $as_dir in #(((
3314 '') as_dir=./ ;;
3315 */) ;;
3316 *) as_dir=$as_dir/ ;;
3317 esac
29063318 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3320 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29093321 ac_prog_rejected=yes
29103322 continue
29113323 fi
29123324 ac_cv_prog_CC="cc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29143326 break 2
29153327 fi
29163328 done
29263338 # However, it has the same basename, so the bogon will be chosen
29273339 # first if we set CC to just the basename; use the full file name.
29283340 shift
2929 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3341 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
29303342 fi
29313343 fi
29323344 fi
29333345 fi
29343346 CC=$ac_cv_prog_CC
29353347 if test -n "$CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937 $as_echo "$CC" >&6; }
2938 else
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 printf "%s\n" "$CC" >&6; }
3350 else
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 printf "%s\n" "no" >&6; }
29413353 fi
29423354
29433355
29483360 do
29493361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29503362 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2955 else
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 printf %s "checking for $ac_word... " >&6; }
3365 if test ${ac_cv_prog_CC+y}
3366 then :
3367 printf %s "(cached) " >&6
3368 else $as_nop
29563369 if test -n "$CC"; then
29573370 ac_cv_prog_CC="$CC" # Let the user override the test.
29583371 else
29603373 for as_dir in $PATH
29613374 do
29623375 IFS=$as_save_IFS
2963 test -z "$as_dir" && as_dir=.
3376 case $as_dir in #(((
3377 '') as_dir=./ ;;
3378 */) ;;
3379 *) as_dir=$as_dir/ ;;
3380 esac
29643381 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29663383 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29683385 break 2
29693386 fi
29703387 done
29753392 fi
29763393 CC=$ac_cv_prog_CC
29773394 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2980 else
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3396 printf "%s\n" "$CC" >&6; }
3397 else
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3399 printf "%s\n" "no" >&6; }
29833400 fi
29843401
29853402
29923409 do
29933410 # Extract the first word of "$ac_prog", so it can be a program name with args.
29943411 set dummy $ac_prog; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 printf %s "checking for $ac_word... " >&6; }
3414 if test ${ac_cv_prog_ac_ct_CC+y}
3415 then :
3416 printf %s "(cached) " >&6
3417 else $as_nop
30003418 if test -n "$ac_ct_CC"; then
30013419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30023420 else
30043422 for as_dir in $PATH
30053423 do
30063424 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3425 case $as_dir in #(((
3426 '') as_dir=./ ;;
3427 */) ;;
3428 *) as_dir=$as_dir/ ;;
3429 esac
30083430 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30103432 ac_cv_prog_ac_ct_CC="$ac_prog"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30123434 break 2
30133435 fi
30143436 done
30193441 fi
30203442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30213443 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3024 else
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 printf "%s\n" "$ac_ct_CC" >&6; }
3446 else
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 printf "%s\n" "no" >&6; }
30273449 fi
30283450
30293451
30353457 else
30363458 case $cross_compiling:$ac_tool_warned in
30373459 yes:)
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30403462 ac_tool_warned=yes ;;
30413463 esac
30423464 CC=$ac_ct_CC
30443466 fi
30453467
30463468 fi
3047
3048
3049 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 if test -z "$CC"; then
3470 if test -n "$ac_tool_prefix"; then
3471 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3472 set dummy ${ac_tool_prefix}clang; ac_word=$2
3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3474 printf %s "checking for $ac_word... " >&6; }
3475 if test ${ac_cv_prog_CC+y}
3476 then :
3477 printf %s "(cached) " >&6
3478 else $as_nop
3479 if test -n "$CC"; then
3480 ac_cv_prog_CC="$CC" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3484 do
3485 IFS=$as_save_IFS
3486 case $as_dir in #(((
3487 '') as_dir=./ ;;
3488 */) ;;
3489 *) as_dir=$as_dir/ ;;
3490 esac
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3493 ac_cv_prog_CC="${ac_tool_prefix}clang"
3494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3495 break 2
3496 fi
3497 done
3498 done
3499 IFS=$as_save_IFS
3500
3501 fi
3502 fi
3503 CC=$ac_cv_prog_CC
3504 if test -n "$CC"; then
3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 printf "%s\n" "$CC" >&6; }
3507 else
3508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 printf "%s\n" "no" >&6; }
3510 fi
3511
3512
3513 fi
3514 if test -z "$ac_cv_prog_CC"; then
3515 ac_ct_CC=$CC
3516 # Extract the first word of "clang", so it can be a program name with args.
3517 set dummy clang; ac_word=$2
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 printf %s "checking for $ac_word... " >&6; }
3520 if test ${ac_cv_prog_ac_ct_CC+y}
3521 then :
3522 printf %s "(cached) " >&6
3523 else $as_nop
3524 if test -n "$ac_ct_CC"; then
3525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3526 else
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530 IFS=$as_save_IFS
3531 case $as_dir in #(((
3532 '') as_dir=./ ;;
3533 */) ;;
3534 *) as_dir=$as_dir/ ;;
3535 esac
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_ac_ct_CC="clang"
3539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3540 break 2
3541 fi
3542 done
3543 done
3544 IFS=$as_save_IFS
3545
3546 fi
3547 fi
3548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549 if test -n "$ac_ct_CC"; then
3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551 printf "%s\n" "$ac_ct_CC" >&6; }
3552 else
3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 printf "%s\n" "no" >&6; }
3555 fi
3556
3557 if test "x$ac_ct_CC" = x; then
3558 CC=""
3559 else
3560 case $cross_compiling:$ac_tool_warned in
3561 yes:)
3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564 ac_tool_warned=yes ;;
3565 esac
3566 CC=$ac_ct_CC
3567 fi
3568 else
3569 CC="$ac_cv_prog_CC"
3570 fi
3571
3572 fi
3573
3574
3575 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
30513577 as_fn_error $? "no acceptable C compiler found in \$PATH
30523578 See \`config.log' for more details" "$LINENO" 5; }
30533579
30543580 # Provide some information about the compiler.
3055 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
30563582 set X $ac_compile
30573583 ac_compiler=$2
3058 for ac_option in --version -v -V -qversion; do
3584 for ac_option in --version -v -V -qversion -version; do
30593585 { { ac_try="$ac_compiler $ac_option >&5"
30603586 case "(($ac_try" in
30613587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30623588 *) ac_try_echo=$ac_try;;
30633589 esac
30643590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3591 printf "%s\n" "$ac_try_echo"; } >&5
30663592 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
30673593 ac_status=$?
30683594 if test -s conftest.err; then
30723598 cat conftest.er1 >&5
30733599 fi
30743600 rm -f conftest.er1 conftest.err
3075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30763602 test $ac_status = 0; }
30773603 done
30783604
30803606 /* end confdefs.h. */
30813607
30823608 int
3083 main ()
3609 main (void)
30843610 {
30853611
30863612 ;
30923618 # Try to create an executable without -o first, disregard a.out.
30933619 # It will help us diagnose broken compilers, and finding out an intuition
30943620 # of exeext.
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3096 $as_echo_n "checking whether the C compiler works... " >&6; }
3097 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3622 printf %s "checking whether the C compiler works... " >&6; }
3623 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
30983624
30993625 # The possible output files:
31003626 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
31153641 *) ac_try_echo=$ac_try;;
31163642 esac
31173643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3644 printf "%s\n" "$ac_try_echo"; } >&5
31193645 (eval "$ac_link_default") 2>&5
31203646 ac_status=$?
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648 test $ac_status = 0; }
3649 then :
31233650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
31243651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
31253652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
31363663 # certainly right.
31373664 break;;
31383665 *.* )
3139 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3666 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
31403667 then :; else
31413668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31423669 fi
31523679 done
31533680 test "$ac_cv_exeext" = no && ac_cv_exeext=
31543681
3155 else
3682 else $as_nop
31563683 ac_file=''
31573684 fi
3158 if test -z "$ac_file"; then :
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3161 $as_echo "$as_me: failed program was:" >&5
3685 if test -z "$ac_file"
3686 then :
3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 printf "%s\n" "no" >&6; }
3689 printf "%s\n" "$as_me: failed program was:" >&5
31623690 sed 's/^/| /' conftest.$ac_ext >&5
31633691
3164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
31663694 as_fn_error 77 "C compiler cannot create executables
31673695 See \`config.log' for more details" "$LINENO" 5; }
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3171 fi
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3173 $as_echo_n "checking for C compiler default output file name... " >&6; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3175 $as_echo "$ac_file" >&6; }
3696 else $as_nop
3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 printf "%s\n" "yes" >&6; }
3699 fi
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701 printf %s "checking for C compiler default output file name... " >&6; }
3702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703 printf "%s\n" "$ac_file" >&6; }
31763704 ac_exeext=$ac_cv_exeext
31773705
31783706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
31793707 ac_clean_files=$ac_clean_files_save
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3181 $as_echo_n "checking for suffix of executables... " >&6; }
3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3709 printf %s "checking for suffix of executables... " >&6; }
31823710 if { { ac_try="$ac_link"
31833711 case "(($ac_try" in
31843712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31853713 *) ac_try_echo=$ac_try;;
31863714 esac
31873715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3716 printf "%s\n" "$ac_try_echo"; } >&5
31893717 (eval "$ac_link") 2>&5
31903718 ac_status=$?
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }
3721 then :
31933722 # If both `conftest.exe' and `conftest' are `present' (well, observable)
31943723 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
31953724 # work properly (i.e., refer to `conftest.exe'), while it won't with
32033732 * ) break;;
32043733 esac
32053734 done
3206 else
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 else $as_nop
3736 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32093738 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
32103739 See \`config.log' for more details" "$LINENO" 5; }
32113740 fi
32123741 rm -f conftest conftest$ac_cv_exeext
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3214 $as_echo "$ac_cv_exeext" >&6; }
3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3743 printf "%s\n" "$ac_cv_exeext" >&6; }
32153744
32163745 rm -f conftest.$ac_ext
32173746 EXEEXT=$ac_cv_exeext
32203749 /* end confdefs.h. */
32213750 #include <stdio.h>
32223751 int
3223 main ()
3752 main (void)
32243753 {
32253754 FILE *f = fopen ("conftest.out", "w");
32263755 return ferror (f) || fclose (f) != 0;
32323761 ac_clean_files="$ac_clean_files conftest.out"
32333762 # Check that the compiler produces executables we can run. If not, either
32343763 # the compiler is broken, or we cross compile.
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3236 $as_echo_n "checking whether we are cross compiling... " >&6; }
3764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3765 printf %s "checking whether we are cross compiling... " >&6; }
32373766 if test "$cross_compiling" != yes; then
32383767 { { ac_try="$ac_link"
32393768 case "(($ac_try" in
32413770 *) ac_try_echo=$ac_try;;
32423771 esac
32433772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3773 printf "%s\n" "$ac_try_echo"; } >&5
32453774 (eval "$ac_link") 2>&5
32463775 ac_status=$?
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32483777 test $ac_status = 0; }
32493778 if { ac_try='./conftest$ac_cv_exeext'
32503779 { { case "(($ac_try" in
32523781 *) ac_try_echo=$ac_try;;
32533782 esac
32543783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3784 printf "%s\n" "$ac_try_echo"; } >&5
32563785 (eval "$ac_try") 2>&5
32573786 ac_status=$?
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32593788 test $ac_status = 0; }; }; then
32603789 cross_compiling=no
32613790 else
32623791 if test "$cross_compiling" = maybe; then
32633792 cross_compiling=yes
32643793 else
3265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error $? "cannot run C compiled programs.
3794 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error 77 "cannot run C compiled programs.
32683797 If you meant to cross compile, use \`--host'.
32693798 See \`config.log' for more details" "$LINENO" 5; }
32703799 fi
32713800 fi
32723801 fi
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3274 $as_echo "$cross_compiling" >&6; }
3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3803 printf "%s\n" "$cross_compiling" >&6; }
32753804
32763805 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
32773806 ac_clean_files=$ac_clean_files_save
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3279 $as_echo_n "checking for suffix of object files... " >&6; }
3280 if ${ac_cv_objext+:} false; then :
3281 $as_echo_n "(cached) " >&6
3282 else
3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3808 printf %s "checking for suffix of object files... " >&6; }
3809 if test ${ac_cv_objext+y}
3810 then :
3811 printf %s "(cached) " >&6
3812 else $as_nop
32833813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32843814 /* end confdefs.h. */
32853815
32863816 int
3287 main ()
3817 main (void)
32883818 {
32893819
32903820 ;
32983828 *) ac_try_echo=$ac_try;;
32993829 esac
33003830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3831 printf "%s\n" "$ac_try_echo"; } >&5
33023832 (eval "$ac_compile") 2>&5
33033833 ac_status=$?
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }
3836 then :
33063837 for ac_file in conftest.o conftest.obj conftest.*; do
33073838 test -f "$ac_file" || continue;
33083839 case $ac_file in
33113842 break;;
33123843 esac
33133844 done
3314 else
3315 $as_echo "$as_me: failed program was:" >&5
3845 else $as_nop
3846 printf "%s\n" "$as_me: failed program was:" >&5
33163847 sed 's/^/| /' conftest.$ac_ext >&5
33173848
3318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33203851 as_fn_error $? "cannot compute suffix of object files: cannot compile
33213852 See \`config.log' for more details" "$LINENO" 5; }
33223853 fi
33233854 rm -f conftest.$ac_cv_objext conftest.$ac_ext
33243855 fi
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3326 $as_echo "$ac_cv_objext" >&6; }
3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3857 printf "%s\n" "$ac_cv_objext" >&6; }
33273858 OBJEXT=$ac_cv_objext
33283859 ac_objext=$OBJEXT
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3330 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3331 if ${ac_cv_c_compiler_gnu+:} false; then :
3332 $as_echo_n "(cached) " >&6
3333 else
3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3861 printf %s "checking whether the compiler supports GNU C... " >&6; }
3862 if test ${ac_cv_c_compiler_gnu+y}
3863 then :
3864 printf %s "(cached) " >&6
3865 else $as_nop
33343866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33353867 /* end confdefs.h. */
33363868
33373869 int
3338 main ()
3870 main (void)
33393871 {
33403872 #ifndef __GNUC__
33413873 choke me
33453877 return 0;
33463878 }
33473879 _ACEOF
3348 if ac_fn_c_try_compile "$LINENO"; then :
3880 if ac_fn_c_try_compile "$LINENO"
3881 then :
33493882 ac_compiler_gnu=yes
3350 else
3883 else $as_nop
33513884 ac_compiler_gnu=no
33523885 fi
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
33543887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
33553888
33563889 fi
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3891 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893
33593894 if test $ac_compiler_gnu = yes; then
33603895 GCC=yes
33613896 else
33623897 GCC=
33633898 fi
3364 ac_test_CFLAGS=${CFLAGS+set}
3899 ac_test_CFLAGS=${CFLAGS+y}
33653900 ac_save_CFLAGS=$CFLAGS
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3368 if ${ac_cv_prog_cc_g+:} false; then :
3369 $as_echo_n "(cached) " >&6
3370 else
3901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3902 printf %s "checking whether $CC accepts -g... " >&6; }
3903 if test ${ac_cv_prog_cc_g+y}
3904 then :
3905 printf %s "(cached) " >&6
3906 else $as_nop
33713907 ac_save_c_werror_flag=$ac_c_werror_flag
33723908 ac_c_werror_flag=yes
33733909 ac_cv_prog_cc_g=no
33763912 /* end confdefs.h. */
33773913
33783914 int
3379 main ()
3915 main (void)
33803916 {
33813917
33823918 ;
33833919 return 0;
33843920 }
33853921 _ACEOF
3386 if ac_fn_c_try_compile "$LINENO"; then :
3922 if ac_fn_c_try_compile "$LINENO"
3923 then :
33873924 ac_cv_prog_cc_g=yes
3388 else
3925 else $as_nop
33893926 CFLAGS=""
33903927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33913928 /* end confdefs.h. */
33923929
33933930 int
3394 main ()
3931 main (void)
33953932 {
33963933
33973934 ;
33983935 return 0;
33993936 }
34003937 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402
3403 else
3938 if ac_fn_c_try_compile "$LINENO"
3939 then :
3940
3941 else $as_nop
34043942 ac_c_werror_flag=$ac_save_c_werror_flag
34053943 CFLAGS="-g"
34063944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073945 /* end confdefs.h. */
34083946
34093947 int
3410 main ()
3948 main (void)
34113949 {
34123950
34133951 ;
34143952 return 0;
34153953 }
34163954 _ACEOF
3417 if ac_fn_c_try_compile "$LINENO"; then :
3955 if ac_fn_c_try_compile "$LINENO"
3956 then :
34183957 ac_cv_prog_cc_g=yes
34193958 fi
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 fi
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423 fi
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3960 fi
3961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3962 fi
3963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34253964 ac_c_werror_flag=$ac_save_c_werror_flag
34263965 fi
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3428 $as_echo "$ac_cv_prog_cc_g" >&6; }
3429 if test "$ac_test_CFLAGS" = set; then
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3967 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3968 if test $ac_test_CFLAGS; then
34303969 CFLAGS=$ac_save_CFLAGS
34313970 elif test $ac_cv_prog_cc_g = yes; then
34323971 if test "$GCC" = yes; then
34413980 CFLAGS=
34423981 fi
34433982 fi
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3445 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3446 if ${ac_cv_prog_cc_c89+:} false; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3983 ac_prog_cc_stdc=no
3984 if test x$ac_prog_cc_stdc = xno
3985 then :
3986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3987 printf %s "checking for $CC option to enable C11 features... " >&6; }
3988 if test ${ac_cv_prog_cc_c11+y}
3989 then :
3990 printf %s "(cached) " >&6
3991 else $as_nop
3992 ac_cv_prog_cc_c11=no
3993 ac_save_CC=$CC
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3996 $ac_c_conftest_c11_program
3997 _ACEOF
3998 for ac_arg in '' -std=gnu11
3999 do
4000 CC="$ac_save_CC $ac_arg"
4001 if ac_fn_c_try_compile "$LINENO"
4002 then :
4003 ac_cv_prog_cc_c11=$ac_arg
4004 fi
4005 rm -f core conftest.err conftest.$ac_objext conftest.beam
4006 test "x$ac_cv_prog_cc_c11" != "xno" && break
4007 done
4008 rm -f conftest.$ac_ext
4009 CC=$ac_save_CC
4010 fi
4011
4012 if test "x$ac_cv_prog_cc_c11" = xno
4013 then :
4014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4015 printf "%s\n" "unsupported" >&6; }
4016 else $as_nop
4017 if test "x$ac_cv_prog_cc_c11" = x
4018 then :
4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4020 printf "%s\n" "none needed" >&6; }
4021 else $as_nop
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4023 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4024 CC="$CC $ac_cv_prog_cc_c11"
4025 fi
4026 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4027 ac_prog_cc_stdc=c11
4028 fi
4029 fi
4030 if test x$ac_prog_cc_stdc = xno
4031 then :
4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4033 printf %s "checking for $CC option to enable C99 features... " >&6; }
4034 if test ${ac_cv_prog_cc_c99+y}
4035 then :
4036 printf %s "(cached) " >&6
4037 else $as_nop
4038 ac_cv_prog_cc_c99=no
4039 ac_save_CC=$CC
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4042 $ac_c_conftest_c99_program
4043 _ACEOF
4044 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4045 do
4046 CC="$ac_save_CC $ac_arg"
4047 if ac_fn_c_try_compile "$LINENO"
4048 then :
4049 ac_cv_prog_cc_c99=$ac_arg
4050 fi
4051 rm -f core conftest.err conftest.$ac_objext conftest.beam
4052 test "x$ac_cv_prog_cc_c99" != "xno" && break
4053 done
4054 rm -f conftest.$ac_ext
4055 CC=$ac_save_CC
4056 fi
4057
4058 if test "x$ac_cv_prog_cc_c99" = xno
4059 then :
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4061 printf "%s\n" "unsupported" >&6; }
4062 else $as_nop
4063 if test "x$ac_cv_prog_cc_c99" = x
4064 then :
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4066 printf "%s\n" "none needed" >&6; }
4067 else $as_nop
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4069 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4070 CC="$CC $ac_cv_prog_cc_c99"
4071 fi
4072 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4073 ac_prog_cc_stdc=c99
4074 fi
4075 fi
4076 if test x$ac_prog_cc_stdc = xno
4077 then :
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4079 printf %s "checking for $CC option to enable C89 features... " >&6; }
4080 if test ${ac_cv_prog_cc_c89+y}
4081 then :
4082 printf %s "(cached) " >&6
4083 else $as_nop
34494084 ac_cv_prog_cc_c89=no
34504085 ac_save_CC=$CC
34514086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34524087 /* end confdefs.h. */
3453 #include <stdarg.h>
3454 #include <stdio.h>
3455 struct stat;
3456 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3457 struct buf { int x; };
3458 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3459 static char *e (p, i)
3460 char **p;
3461 int i;
3462 {
3463 return p[i];
3464 }
3465 static char *f (char * (*g) (char **, int), char **p, ...)
3466 {
3467 char *s;
3468 va_list v;
3469 va_start (v,p);
3470 s = g (p, va_arg (v,int));
3471 va_end (v);
3472 return s;
3473 }
3474
3475 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3476 function prototypes and stuff, but not '\xHH' hex character constants.
3477 These don't provoke an error unfortunately, instead are silently treated
3478 as 'x'. The following induces an error, until -std is added to get
3479 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3480 array size at least. It's necessary to write '\x00'==0 to get something
3481 that's true only with -std. */
3482 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3483
3484 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3485 inside strings and character constants. */
3486 #define FOO(x) 'x'
3487 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3488
3489 int test (int i, double x);
3490 struct s1 {int (*f) (int a);};
3491 struct s2 {int (*f) (double a);};
3492 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3493 int argc;
3494 char **argv;
3495 int
3496 main ()
3497 {
3498 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3499 ;
3500 return 0;
3501 }
4088 $ac_c_conftest_c89_program
35024089 _ACEOF
3503 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3504 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4090 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35054091 do
35064092 CC="$ac_save_CC $ac_arg"
3507 if ac_fn_c_try_compile "$LINENO"; then :
4093 if ac_fn_c_try_compile "$LINENO"
4094 then :
35084095 ac_cv_prog_cc_c89=$ac_arg
35094096 fi
3510 rm -f core conftest.err conftest.$ac_objext
4097 rm -f core conftest.err conftest.$ac_objext conftest.beam
35114098 test "x$ac_cv_prog_cc_c89" != "xno" && break
35124099 done
35134100 rm -f conftest.$ac_ext
35144101 CC=$ac_save_CC
3515
3516 fi
3517 # AC_CACHE_VAL
3518 case "x$ac_cv_prog_cc_c89" in
3519 x)
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3521 $as_echo "none needed" >&6; } ;;
3522 xno)
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3524 $as_echo "unsupported" >&6; } ;;
3525 *)
3526 CC="$CC $ac_cv_prog_cc_c89"
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3528 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3529 esac
3530 if test "x$ac_cv_prog_cc_c89" != xno; then :
3531
4102 fi
4103
4104 if test "x$ac_cv_prog_cc_c89" = xno
4105 then :
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4107 printf "%s\n" "unsupported" >&6; }
4108 else $as_nop
4109 if test "x$ac_cv_prog_cc_c89" = x
4110 then :
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4112 printf "%s\n" "none needed" >&6; }
4113 else $as_nop
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4115 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4116 CC="$CC $ac_cv_prog_cc_c89"
4117 fi
4118 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4119 ac_prog_cc_stdc=c89
4120 fi
35324121 fi
35334122
35344123 ac_ext=c
35374126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394128
3540 ac_ext=c
4129
4130 ac_ext=c
35414131 ac_cpp='$CPP $CPPFLAGS'
35424132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3546 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3547 if ${am_cv_prog_cc_c_o+:} false; then :
3548 $as_echo_n "(cached) " >&6
3549 else
4135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4136 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4137 if test ${am_cv_prog_cc_c_o+y}
4138 then :
4139 printf %s "(cached) " >&6
4140 else $as_nop
35504141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35514142 /* end confdefs.h. */
35524143
35534144 int
3554 main ()
4145 main (void)
35554146 {
35564147
35574148 ;
35794170 rm -f core conftest*
35804171 unset am_i
35814172 fi
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3583 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4174 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
35844175 if test "$am_cv_prog_cc_c_o" != yes; then
35854176 # Losing compiler, so override with the script.
35864177 # FIXME: It is wrong to rewrite CC.
35994190
36004191 ac_config_commands="$ac_config_commands depfiles"
36014192
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3603 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4194 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
36044195 cat > confinc.mk << 'END'
36054196 am__doit:
36064197 @echo this is the am__doit target >confinc.out
36364227 fi
36374228 done
36384229 rm -f confinc.* confmf.*
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3640 $as_echo "${_am_result}" >&6; }
4230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4231 printf "%s\n" "${_am_result}" >&6; }
36414232
36424233 # Check whether --enable-dependency-tracking was given.
3643 if test "${enable_dependency_tracking+set}" = set; then :
4234 if test ${enable_dependency_tracking+y}
4235 then :
36444236 enableval=$enable_dependency_tracking;
36454237 fi
36464238
36614253
36624254 depcc="$CC" am_compiler_list=
36634255
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3665 $as_echo_n "checking dependency style of $depcc... " >&6; }
3666 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3667 $as_echo_n "(cached) " >&6
3668 else
4256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4257 printf %s "checking dependency style of $depcc... " >&6; }
4258 if test ${am_cv_CC_dependencies_compiler_type+y}
4259 then :
4260 printf %s "(cached) " >&6
4261 else $as_nop
36694262 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
36704263 # We make a subdir and do the tests there. Otherwise we can end up
36714264 # making bogus files that we don't know about and never remove. For
37724365 fi
37734366
37744367 fi
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3776 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4369 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
37774370 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
37784371
37794372 if
37884381
37894382
37904383
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3792 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3793 if ${ac_cv_c_const+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4385 printf %s "checking for an ANSI C-conforming const... " >&6; }
4386 if test ${ac_cv_c_const+y}
4387 then :
4388 printf %s "(cached) " >&6
4389 else $as_nop
37964390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974391 /* end confdefs.h. */
37984392
37994393 int
3800 main ()
4394 main (void)
38014395 {
38024396
38034397 #ifndef __cplusplus
38104404 /* NEC SVR4.0.2 mips cc rejects this. */
38114405 struct point {int x, y;};
38124406 static struct point const zero = {0,0};
3813 /* AIX XL C 1.02.0.0 rejects this.
4407 /* IBM XL C 1.02.0.0 rejects this.
38144408 It does not let you subtract one const X* pointer from another in
38154409 an arm of an if-expression whose if-part is not a constant
38164410 expression */
38384432 iptr p = 0;
38394433 ++p;
38404434 }
3841 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4435 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
38424436 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
38434437 struct s { int j; const int *ap[3]; } bx;
38444438 struct s *b = &bx; b->j = 5;
38544448 return 0;
38554449 }
38564450 _ACEOF
3857 if ac_fn_c_try_compile "$LINENO"; then :
4451 if ac_fn_c_try_compile "$LINENO"
4452 then :
38584453 ac_cv_c_const=yes
3859 else
4454 else $as_nop
38604455 ac_cv_c_const=no
38614456 fi
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863 fi
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3865 $as_echo "$ac_cv_c_const" >&6; }
4457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4458 fi
4459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4460 printf "%s\n" "$ac_cv_c_const" >&6; }
38664461 if test $ac_cv_c_const = no; then
38674462
3868 $as_echo "#define const /**/" >>confdefs.h
4463 printf "%s\n" "#define const /**/" >>confdefs.h
38694464
38704465 fi
38714466
38724467 case `pwd` in
38734468 *\ * | *\ *)
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3875 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4470 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
38764471 esac
38774472
38784473
38794474
3880 macro_version='2.4.6'
3881 macro_revision='2.4.6'
4475 macro_version='2.4.7'
4476 macro_revision='2.4.7'
4477
38824478
38834479
38844480
38944490
38954491 ltmain=$ac_aux_dir/ltmain.sh
38964492
3897 # Make sure we can run config.sub.
3898 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3899 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3900
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3902 $as_echo_n "checking build system type... " >&6; }
3903 if ${ac_cv_build+:} false; then :
3904 $as_echo_n "(cached) " >&6
3905 else
4493
4494
4495 # Make sure we can run config.sub.
4496 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4497 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4498
4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4500 printf %s "checking build system type... " >&6; }
4501 if test ${ac_cv_build+y}
4502 then :
4503 printf %s "(cached) " >&6
4504 else $as_nop
39064505 ac_build_alias=$build_alias
39074506 test "x$ac_build_alias" = x &&
3908 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4507 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
39094508 test "x$ac_build_alias" = x &&
39104509 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3911 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3912 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3913
3914 fi
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3916 $as_echo "$ac_cv_build" >&6; }
4510 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4511 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4512
4513 fi
4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4515 printf "%s\n" "$ac_cv_build" >&6; }
39174516 case $ac_cv_build in
39184517 *-*-*) ;;
39194518 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
39324531 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
39334532
39344533
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3936 $as_echo_n "checking host system type... " >&6; }
3937 if ${ac_cv_host+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939 else
4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4535 printf %s "checking host system type... " >&6; }
4536 if test ${ac_cv_host+y}
4537 then :
4538 printf %s "(cached) " >&6
4539 else $as_nop
39404540 if test "x$host_alias" = x; then
39414541 ac_cv_host=$ac_cv_build
39424542 else
3943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3944 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3945 fi
3946
3947 fi
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3949 $as_echo "$ac_cv_host" >&6; }
4543 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4544 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4545 fi
4546
4547 fi
4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4549 printf "%s\n" "$ac_cv_host" >&6; }
39504550 case $ac_cv_host in
39514551 *-*-*) ;;
39524552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
39864586 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
39874587 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
39884588
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3990 $as_echo_n "checking how to print strings... " >&6; }
4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4590 printf %s "checking how to print strings... " >&6; }
39914591 # Test print first, because it will be a builtin if present.
39924592 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
39934593 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
40134613 }
40144614
40154615 case $ECHO in
4016 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4017 $as_echo "printf" >&6; } ;;
4018 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4019 $as_echo "print -r" >&6; } ;;
4020 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4021 $as_echo "cat" >&6; } ;;
4616 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4617 printf "%s\n" "printf" >&6; } ;;
4618 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4619 printf "%s\n" "print -r" >&6; } ;;
4620 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4621 printf "%s\n" "cat" >&6; } ;;
40224622 esac
40234623
40244624
40344634
40354635
40364636
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4038 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4039 if ${ac_cv_path_SED+:} false; then :
4040 $as_echo_n "(cached) " >&6
4041 else
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4638 printf %s "checking for a sed that does not truncate output... " >&6; }
4639 if test ${ac_cv_path_SED+y}
4640 then :
4641 printf %s "(cached) " >&6
4642 else $as_nop
40424643 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
40434644 for ac_i in 1 2 3 4 5 6 7; do
40444645 ac_script="$ac_script$as_nl$ac_script"
40524653 for as_dir in $PATH
40534654 do
40544655 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 for ac_prog in sed gsed; do
4656 case $as_dir in #(((
4657 '') as_dir=./ ;;
4658 */) ;;
4659 *) as_dir=$as_dir/ ;;
4660 esac
4661 for ac_prog in sed gsed
4662 do
40574663 for ac_exec_ext in '' $ac_executable_extensions; do
4058 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4664 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
40594665 as_fn_executable_p "$ac_path_SED" || continue
40604666 # Check for GNU ac_path_SED and select it if it is found.
40614667 # Check for GNU $ac_path_SED
40644670 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
40654671 *)
40664672 ac_count=0
4067 $as_echo_n 0123456789 >"conftest.in"
4673 printf %s 0123456789 >"conftest.in"
40684674 while :
40694675 do
40704676 cat "conftest.in" "conftest.in" >"conftest.tmp"
40714677 mv "conftest.tmp" "conftest.in"
40724678 cp "conftest.in" "conftest.nl"
4073 $as_echo '' >> "conftest.nl"
4679 printf "%s\n" '' >> "conftest.nl"
40744680 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
40754681 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
40764682 as_fn_arith $ac_count + 1 && ac_count=$as_val
40984704 fi
40994705
41004706 fi
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4102 $as_echo "$ac_cv_path_SED" >&6; }
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4708 printf "%s\n" "$ac_cv_path_SED" >&6; }
41034709 SED="$ac_cv_path_SED"
41044710 rm -f conftest.sed
41054711
41164722
41174723
41184724
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4120 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4121 if ${ac_cv_path_GREP+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4726 printf %s "checking for grep that handles long lines and -e... " >&6; }
4727 if test ${ac_cv_path_GREP+y}
4728 then :
4729 printf %s "(cached) " >&6
4730 else $as_nop
41244731 if test -z "$GREP"; then
41254732 ac_path_GREP_found=false
41264733 # Loop through the user's path and test for each of PROGNAME-LIST
41284735 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
41294736 do
41304737 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_prog in grep ggrep; do
4738 case $as_dir in #(((
4739 '') as_dir=./ ;;
4740 */) ;;
4741 *) as_dir=$as_dir/ ;;
4742 esac
4743 for ac_prog in grep ggrep
4744 do
41334745 for ac_exec_ext in '' $ac_executable_extensions; do
4134 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4746 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
41354747 as_fn_executable_p "$ac_path_GREP" || continue
41364748 # Check for GNU ac_path_GREP and select it if it is found.
41374749 # Check for GNU $ac_path_GREP
41404752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
41414753 *)
41424754 ac_count=0
4143 $as_echo_n 0123456789 >"conftest.in"
4755 printf %s 0123456789 >"conftest.in"
41444756 while :
41454757 do
41464758 cat "conftest.in" "conftest.in" >"conftest.tmp"
41474759 mv "conftest.tmp" "conftest.in"
41484760 cp "conftest.in" "conftest.nl"
4149 $as_echo 'GREP' >> "conftest.nl"
4761 printf "%s\n" 'GREP' >> "conftest.nl"
41504762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
41514763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
41524764 as_fn_arith $ac_count + 1 && ac_count=$as_val
41744786 fi
41754787
41764788 fi
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4178 $as_echo "$ac_cv_path_GREP" >&6; }
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4790 printf "%s\n" "$ac_cv_path_GREP" >&6; }
41794791 GREP="$ac_cv_path_GREP"
41804792
41814793
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4183 $as_echo_n "checking for egrep... " >&6; }
4184 if ${ac_cv_path_EGREP+:} false; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795 printf %s "checking for egrep... " >&6; }
4796 if test ${ac_cv_path_EGREP+y}
4797 then :
4798 printf %s "(cached) " >&6
4799 else $as_nop
41874800 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
41884801 then ac_cv_path_EGREP="$GREP -E"
41894802 else
41944807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
41954808 do
41964809 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_prog in egrep; do
4810 case $as_dir in #(((
4811 '') as_dir=./ ;;
4812 */) ;;
4813 *) as_dir=$as_dir/ ;;
4814 esac
4815 for ac_prog in egrep
4816 do
41994817 for ac_exec_ext in '' $ac_executable_extensions; do
4200 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4818 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
42014819 as_fn_executable_p "$ac_path_EGREP" || continue
42024820 # Check for GNU ac_path_EGREP and select it if it is found.
42034821 # Check for GNU $ac_path_EGREP
42064824 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
42074825 *)
42084826 ac_count=0
4209 $as_echo_n 0123456789 >"conftest.in"
4827 printf %s 0123456789 >"conftest.in"
42104828 while :
42114829 do
42124830 cat "conftest.in" "conftest.in" >"conftest.tmp"
42134831 mv "conftest.tmp" "conftest.in"
42144832 cp "conftest.in" "conftest.nl"
4215 $as_echo 'EGREP' >> "conftest.nl"
4833 printf "%s\n" 'EGREP' >> "conftest.nl"
42164834 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
42174835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
42184836 as_fn_arith $ac_count + 1 && ac_count=$as_val
42414859
42424860 fi
42434861 fi
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4245 $as_echo "$ac_cv_path_EGREP" >&6; }
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4863 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
42464864 EGREP="$ac_cv_path_EGREP"
42474865
42484866
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4250 $as_echo_n "checking for fgrep... " >&6; }
4251 if ${ac_cv_path_FGREP+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4868 printf %s "checking for fgrep... " >&6; }
4869 if test ${ac_cv_path_FGREP+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
42544873 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
42554874 then ac_cv_path_FGREP="$GREP -F"
42564875 else
42614880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
42624881 do
42634882 IFS=$as_save_IFS
4264 test -z "$as_dir" && as_dir=.
4265 for ac_prog in fgrep; do
4883 case $as_dir in #(((
4884 '') as_dir=./ ;;
4885 */) ;;
4886 *) as_dir=$as_dir/ ;;
4887 esac
4888 for ac_prog in fgrep
4889 do
42664890 for ac_exec_ext in '' $ac_executable_extensions; do
4267 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4891 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
42684892 as_fn_executable_p "$ac_path_FGREP" || continue
42694893 # Check for GNU ac_path_FGREP and select it if it is found.
42704894 # Check for GNU $ac_path_FGREP
42734897 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
42744898 *)
42754899 ac_count=0
4276 $as_echo_n 0123456789 >"conftest.in"
4900 printf %s 0123456789 >"conftest.in"
42774901 while :
42784902 do
42794903 cat "conftest.in" "conftest.in" >"conftest.tmp"
42804904 mv "conftest.tmp" "conftest.in"
42814905 cp "conftest.in" "conftest.nl"
4282 $as_echo 'FGREP' >> "conftest.nl"
4906 printf "%s\n" 'FGREP' >> "conftest.nl"
42834907 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
42844908 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
42854909 as_fn_arith $ac_count + 1 && ac_count=$as_val
43084932
43094933 fi
43104934 fi
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4312 $as_echo "$ac_cv_path_FGREP" >&6; }
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4936 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
43134937 FGREP="$ac_cv_path_FGREP"
43144938
43154939
43344958
43354959
43364960 # Check whether --with-gnu-ld was given.
4337 if test "${with_gnu_ld+set}" = set; then :
4961 if test ${with_gnu_ld+y}
4962 then :
43384963 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4339 else
4964 else $as_nop
43404965 with_gnu_ld=no
43414966 fi
43424967
43434968 ac_prog=ld
43444969 if test yes = "$GCC"; then
43454970 # Check if gcc -print-prog-name=ld gives a path.
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4347 $as_echo_n "checking for ld used by $CC... " >&6; }
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4972 printf %s "checking for ld used by $CC... " >&6; }
43484973 case $host in
43494974 *-*-mingw*)
43504975 # gcc leaves a trailing carriage return, which upsets mingw
43734998 ;;
43744999 esac
43755000 elif test yes = "$with_gnu_ld"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4377 $as_echo_n "checking for GNU ld... " >&6; }
4378 else
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4380 $as_echo_n "checking for non-GNU ld... " >&6; }
4381 fi
4382 if ${lt_cv_path_LD+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5002 printf %s "checking for GNU ld... " >&6; }
5003 else
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5005 printf %s "checking for non-GNU ld... " >&6; }
5006 fi
5007 if test ${lt_cv_path_LD+y}
5008 then :
5009 printf %s "(cached) " >&6
5010 else $as_nop
43855011 if test -z "$LD"; then
43865012 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
43875013 for ac_dir in $PATH; do
44105036
44115037 LD=$lt_cv_path_LD
44125038 if test -n "$LD"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4414 $as_echo "$LD" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5040 printf "%s\n" "$LD" >&6; }
5041 else
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 printf "%s\n" "no" >&6; }
44185044 fi
44195045 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4421 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4422 if ${lt_cv_prog_gnu_ld+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5047 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5048 if test ${lt_cv_prog_gnu_ld+y}
5049 then :
5050 printf %s "(cached) " >&6
5051 else $as_nop
44255052 # I'd rather use --version here, but apparently some GNU lds only accept -v.
44265053 case `$LD -v 2>&1 </dev/null` in
44275054 *GNU* | *'with BFD'*)
44325059 ;;
44335060 esac
44345061 fi
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4436 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5063 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
44375064 with_gnu_ld=$lt_cv_prog_gnu_ld
44385065
44395066
44445071
44455072
44465073
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4448 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4449 if ${lt_cv_path_NM+:} false; then :
4450 $as_echo_n "(cached) " >&6
4451 else
5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5075 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5076 if test ${lt_cv_path_NM+y}
5077 then :
5078 printf %s "(cached) " >&6
5079 else $as_nop
44525080 if test -n "$NM"; then
44535081 # Let the user override the test.
44545082 lt_cv_path_NM=$NM
44735101 mingw*) lt_bad_file=conftest.nm/nofile ;;
44745102 *) lt_bad_file=/dev/null ;;
44755103 esac
4476 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5104 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
44775105 *$lt_bad_file* | *'Invalid file or object type'*)
44785106 lt_cv_path_NM="$tmp_nm -B"
44795107 break 2
44805108 ;;
44815109 *)
4482 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5110 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
44835111 */dev/null*)
44845112 lt_cv_path_NM="$tmp_nm -p"
44855113 break 2
44985126 : ${lt_cv_path_NM=no}
44995127 fi
45005128 fi
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4502 $as_echo "$lt_cv_path_NM" >&6; }
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5130 printf "%s\n" "$lt_cv_path_NM" >&6; }
45035131 if test no != "$lt_cv_path_NM"; then
45045132 NM=$lt_cv_path_NM
45055133 else
45125140 do
45135141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
45145142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_DUMPBIN+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 printf %s "checking for $ac_word... " >&6; }
5145 if test ${ac_cv_prog_DUMPBIN+y}
5146 then :
5147 printf %s "(cached) " >&6
5148 else $as_nop
45205149 if test -n "$DUMPBIN"; then
45215150 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
45225151 else
45245153 for as_dir in $PATH
45255154 do
45265155 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
5156 case $as_dir in #(((
5157 '') as_dir=./ ;;
5158 */) ;;
5159 *) as_dir=$as_dir/ ;;
5160 esac
45285161 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
45305163 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
45325165 break 2
45335166 fi
45345167 done
45395172 fi
45405173 DUMPBIN=$ac_cv_prog_DUMPBIN
45415174 if test -n "$DUMPBIN"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4543 $as_echo "$DUMPBIN" >&6; }
4544 else
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5176 printf "%s\n" "$DUMPBIN" >&6; }
5177 else
5178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 printf "%s\n" "no" >&6; }
45475180 fi
45485181
45495182
45565189 do
45575190 # Extract the first word of "$ac_prog", so it can be a program name with args.
45585191 set dummy $ac_prog; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 printf %s "checking for $ac_word... " >&6; }
5194 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5195 then :
5196 printf %s "(cached) " >&6
5197 else $as_nop
45645198 if test -n "$ac_ct_DUMPBIN"; then
45655199 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
45665200 else
45685202 for as_dir in $PATH
45695203 do
45705204 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
5205 case $as_dir in #(((
5206 '') as_dir=./ ;;
5207 */) ;;
5208 *) as_dir=$as_dir/ ;;
5209 esac
45725210 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
45745212 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
45765214 break 2
45775215 fi
45785216 done
45835221 fi
45845222 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
45855223 if test -n "$ac_ct_DUMPBIN"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4587 $as_echo "$ac_ct_DUMPBIN" >&6; }
4588 else
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5225 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5226 else
5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 printf "%s\n" "no" >&6; }
45915229 fi
45925230
45935231
45995237 else
46005238 case $cross_compiling:$ac_tool_warned in
46015239 yes:)
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5241 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
46045242 ac_tool_warned=yes ;;
46055243 esac
46065244 DUMPBIN=$ac_ct_DUMPBIN
46075245 fi
46085246 fi
46095247
4610 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5248 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
46115249 *COFF*)
46125250 DUMPBIN="$DUMPBIN -symbols -headers"
46135251 ;;
46285266
46295267
46305268
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4632 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4633 if ${lt_cv_nm_interface+:} false; then :
4634 $as_echo_n "(cached) " >&6
4635 else
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5270 printf %s "checking the name lister ($NM) interface... " >&6; }
5271 if test ${lt_cv_nm_interface+y}
5272 then :
5273 printf %s "(cached) " >&6
5274 else $as_nop
46365275 lt_cv_nm_interface="BSD nm"
46375276 echo "int some_variable = 0;" > conftest.$ac_ext
46385277 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
46485287 fi
46495288 rm -f conftest*
46505289 fi
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4652 $as_echo "$lt_cv_nm_interface" >&6; }
4653
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4655 $as_echo_n "checking whether ln -s works... " >&6; }
5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5291 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5292
5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 printf %s "checking whether ln -s works... " >&6; }
46565295 LN_S=$as_ln_s
46575296 if test "$LN_S" = "ln -s"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4659 $as_echo "yes" >&6; }
4660 else
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4662 $as_echo "no, using $LN_S" >&6; }
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 printf "%s\n" "yes" >&6; }
5299 else
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 printf "%s\n" "no, using $LN_S" >&6; }
46635302 fi
46645303
46655304 # find the maximum length of command line arguments
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4667 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4668 if ${lt_cv_sys_max_cmd_len+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5306 printf %s "checking the maximum length of command line arguments... " >&6; }
5307 if test ${lt_cv_sys_max_cmd_len+y}
5308 then :
5309 printf %s "(cached) " >&6
5310 else $as_nop
46715311 i=0
46725312 teststring=ABCD
46735313
47095349 lt_cv_sys_max_cmd_len=8192;
47105350 ;;
47115351
4712 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5352 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
47135353 # This has been around since 386BSD, at least. Likely further.
47145354 if test -x /sbin/sysctl; then
47155355 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
47525392 sysv5* | sco5v6* | sysv4.2uw2*)
47535393 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
47545394 if test -n "$kargmax"; then
4755 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5395 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
47565396 else
47575397 lt_cv_sys_max_cmd_len=32768
47585398 fi
47945434 fi
47955435
47965436 if test -n "$lt_cv_sys_max_cmd_len"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4798 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4801 $as_echo "none" >&6; }
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5438 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5439 else
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5441 printf "%s\n" "none" >&6; }
48025442 fi
48035443 max_cmd_len=$lt_cv_sys_max_cmd_len
48045444
48425482
48435483
48445484
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4846 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4847 if ${lt_cv_to_host_file_cmd+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5486 printf %s "checking how to convert $build file names to $host format... " >&6; }
5487 if test ${lt_cv_to_host_file_cmd+y}
5488 then :
5489 printf %s "(cached) " >&6
5490 else $as_nop
48505491 case $host in
48515492 *-*-mingw* )
48525493 case $build in
48825523 fi
48835524
48845525 to_host_file_cmd=$lt_cv_to_host_file_cmd
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4886 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4887
4888
4889
4890
4891
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4893 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4894 if ${lt_cv_to_tool_file_cmd+:} false; then :
4895 $as_echo_n "(cached) " >&6
4896 else
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5527 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5528
5529
5530
5531
5532
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5534 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5535 if test ${lt_cv_to_tool_file_cmd+y}
5536 then :
5537 printf %s "(cached) " >&6
5538 else $as_nop
48975539 #assume ordinary cross tools, or native build.
48985540 lt_cv_to_tool_file_cmd=func_convert_file_noop
48995541 case $host in
49095551 fi
49105552
49115553 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4913 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4914
4915
4916
4917
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4920 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4921 if ${lt_cv_ld_reload_flag+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5555 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5556
5557
5558
5559
5560
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5562 printf %s "checking for $LD option to reload object files... " >&6; }
5563 if test ${lt_cv_ld_reload_flag+y}
5564 then :
5565 printf %s "(cached) " >&6
5566 else $as_nop
49245567 lt_cv_ld_reload_flag='-r'
49255568 fi
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4927 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5570 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
49285571 reload_flag=$lt_cv_ld_reload_flag
49295572 case $reload_flag in
49305573 "" | " "*) ;;
49555598
49565599
49575600 if test -n "$ac_tool_prefix"; then
4958 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4959 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_OBJDUMP+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if test -n "$OBJDUMP"; then
4966 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5601 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}file; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_FILECMD+y}
5606 then :
5607 printf %s "(cached) " >&6
5608 else $as_nop
5609 if test -n "$FILECMD"; then
5610 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
49675611 else
49685612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49695613 for as_dir in $PATH
49705614 do
49715615 IFS=$as_save_IFS
4972 test -z "$as_dir" && as_dir=.
5616 case $as_dir in #(((
5617 '') as_dir=./ ;;
5618 */) ;;
5619 *) as_dir=$as_dir/ ;;
5620 esac
49735621 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
49775625 break 2
49785626 fi
49795627 done
49825630
49835631 fi
49845632 fi
4985 OBJDUMP=$ac_cv_prog_OBJDUMP
4986 if test -n "$OBJDUMP"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4988 $as_echo "$OBJDUMP" >&6; }
4989 else
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4992 fi
4993
4994
4995 fi
4996 if test -z "$ac_cv_prog_OBJDUMP"; then
4997 ac_ct_OBJDUMP=$OBJDUMP
4998 # Extract the first word of "objdump", so it can be a program name with args.
4999 set dummy objdump; ac_word=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5003 $as_echo_n "(cached) " >&6
5004 else
5005 if test -n "$ac_ct_OBJDUMP"; then
5006 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5633 FILECMD=$ac_cv_prog_FILECMD
5634 if test -n "$FILECMD"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
5636 printf "%s\n" "$FILECMD" >&6; }
5637 else
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5640 fi
5641
5642
5643 fi
5644 if test -z "$ac_cv_prog_FILECMD"; then
5645 ac_ct_FILECMD=$FILECMD
5646 # Extract the first word of "file", so it can be a program name with args.
5647 set dummy file; ac_word=$2
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 printf %s "checking for $ac_word... " >&6; }
5650 if test ${ac_cv_prog_ac_ct_FILECMD+y}
5651 then :
5652 printf %s "(cached) " >&6
5653 else $as_nop
5654 if test -n "$ac_ct_FILECMD"; then
5655 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
50075656 else
50085657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50095658 for as_dir in $PATH
50105659 do
50115660 IFS=$as_save_IFS
5012 test -z "$as_dir" && as_dir=.
5661 case $as_dir in #(((
5662 '') as_dir=./ ;;
5663 */) ;;
5664 *) as_dir=$as_dir/ ;;
5665 esac
50135666 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_FILECMD="file"
5669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
50175670 break 2
50185671 fi
50195672 done
50225675
50235676 fi
50245677 fi
5678 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
5679 if test -n "$ac_ct_FILECMD"; then
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
5681 printf "%s\n" "$ac_ct_FILECMD" >&6; }
5682 else
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 printf "%s\n" "no" >&6; }
5685 fi
5686
5687 if test "x$ac_ct_FILECMD" = x; then
5688 FILECMD=":"
5689 else
5690 case $cross_compiling:$ac_tool_warned in
5691 yes:)
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned=yes ;;
5695 esac
5696 FILECMD=$ac_ct_FILECMD
5697 fi
5698 else
5699 FILECMD="$ac_cv_prog_FILECMD"
5700 fi
5701
5702
5703
5704
5705
5706
5707
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5710 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 printf %s "checking for $ac_word... " >&6; }
5713 if test ${ac_cv_prog_OBJDUMP+y}
5714 then :
5715 printf %s "(cached) " >&6
5716 else $as_nop
5717 if test -n "$OBJDUMP"; then
5718 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723 IFS=$as_save_IFS
5724 case $as_dir in #(((
5725 '') as_dir=./ ;;
5726 */) ;;
5727 *) as_dir=$as_dir/ ;;
5728 esac
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5733 break 2
5734 fi
5735 done
5736 done
5737 IFS=$as_save_IFS
5738
5739 fi
5740 fi
5741 OBJDUMP=$ac_cv_prog_OBJDUMP
5742 if test -n "$OBJDUMP"; then
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5744 printf "%s\n" "$OBJDUMP" >&6; }
5745 else
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 printf "%s\n" "no" >&6; }
5748 fi
5749
5750
5751 fi
5752 if test -z "$ac_cv_prog_OBJDUMP"; then
5753 ac_ct_OBJDUMP=$OBJDUMP
5754 # Extract the first word of "objdump", so it can be a program name with args.
5755 set dummy objdump; ac_word=$2
5756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 printf %s "checking for $ac_word... " >&6; }
5758 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5759 then :
5760 printf %s "(cached) " >&6
5761 else $as_nop
5762 if test -n "$ac_ct_OBJDUMP"; then
5763 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5764 else
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 for as_dir in $PATH
5767 do
5768 IFS=$as_save_IFS
5769 case $as_dir in #(((
5770 '') as_dir=./ ;;
5771 */) ;;
5772 *) as_dir=$as_dir/ ;;
5773 esac
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5778 break 2
5779 fi
5780 done
5781 done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
50255786 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
50265787 if test -n "$ac_ct_OBJDUMP"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5028 $as_echo "$ac_ct_OBJDUMP" >&6; }
5029 else
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5789 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
5790 else
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 printf "%s\n" "no" >&6; }
50325793 fi
50335794
50345795 if test "x$ac_ct_OBJDUMP" = x; then
50365797 else
50375798 case $cross_compiling:$ac_tool_warned in
50385799 yes:)
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50415802 ac_tool_warned=yes ;;
50425803 esac
50435804 OBJDUMP=$ac_ct_OBJDUMP
50565817
50575818
50585819
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5060 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5061 if ${lt_cv_deplibs_check_method+:} false; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5821 printf %s "checking how to recognize dependent libraries... " >&6; }
5822 if test ${lt_cv_deplibs_check_method+y}
5823 then :
5824 printf %s "(cached) " >&6
5825 else $as_nop
50645826 lt_cv_file_magic_cmd='$MAGIC_CMD'
50655827 lt_cv_file_magic_test_file=
50665828 lt_cv_deplibs_check_method='unknown'
50865848
50875849 bsdi[45]*)
50885850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5089 lt_cv_file_magic_cmd='/usr/bin/file -L'
5851 lt_cv_file_magic_cmd='$FILECMD -L'
50905852 lt_cv_file_magic_test_file=/shlib/libc.so
50915853 ;;
50925854
51205882 lt_cv_deplibs_check_method=pass_all
51215883 ;;
51225884
5123 freebsd* | dragonfly*)
5885 freebsd* | dragonfly* | midnightbsd*)
51245886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
51255887 case $host_cpu in
51265888 i*86 )
51275889 # Not sure whether the presence of OpenBSD here was a mistake.
51285890 # Let's accept both of them until this is cleared up.
51295891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5130 lt_cv_file_magic_cmd=/usr/bin/file
5892 lt_cv_file_magic_cmd=$FILECMD
51315893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
51325894 ;;
51335895 esac
51415903 ;;
51425904
51435905 hpux10.20* | hpux11*)
5144 lt_cv_file_magic_cmd=/usr/bin/file
5906 lt_cv_file_magic_cmd=$FILECMD
51455907 case $host_cpu in
51465908 ia64*)
51475909 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
51885950
51895951 newos6*)
51905952 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5191 lt_cv_file_magic_cmd=/usr/bin/file
5953 lt_cv_file_magic_cmd=$FILECMD
51925954 lt_cv_file_magic_test_file=/usr/lib/libnls.so
51935955 ;;
51945956
52566018 esac
52576019
52586020 fi
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5260 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6022 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
52616023
52626024 file_magic_glob=
52636025 want_nocaseglob=no
53016063 if test -n "$ac_tool_prefix"; then
53026064 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
53036065 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_DLLTOOL+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s "checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_DLLTOOL+y}
6069 then :
6070 printf %s "(cached) " >&6
6071 else $as_nop
53096072 if test -n "$DLLTOOL"; then
53106073 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
53116074 else
53136076 for as_dir in $PATH
53146077 do
53156078 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
6079 case $as_dir in #(((
6080 '') as_dir=./ ;;
6081 */) ;;
6082 *) as_dir=$as_dir/ ;;
6083 esac
53176084 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
53196086 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
53216088 break 2
53226089 fi
53236090 done
53286095 fi
53296096 DLLTOOL=$ac_cv_prog_DLLTOOL
53306097 if test -n "$DLLTOOL"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5332 $as_echo "$DLLTOOL" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6099 printf "%s\n" "$DLLTOOL" >&6; }
6100 else
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
53366103 fi
53376104
53386105
53416108 ac_ct_DLLTOOL=$DLLTOOL
53426109 # Extract the first word of "dlltool", so it can be a program name with args.
53436110 set dummy dlltool; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s "checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6114 then :
6115 printf %s "(cached) " >&6
6116 else $as_nop
53496117 if test -n "$ac_ct_DLLTOOL"; then
53506118 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
53516119 else
53536121 for as_dir in $PATH
53546122 do
53556123 IFS=$as_save_IFS
5356 test -z "$as_dir" && as_dir=.
6124 case $as_dir in #(((
6125 '') as_dir=./ ;;
6126 */) ;;
6127 *) as_dir=$as_dir/ ;;
6128 esac
53576129 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
53596131 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
53616133 break 2
53626134 fi
53636135 done
53686140 fi
53696141 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
53706142 if test -n "$ac_ct_DLLTOOL"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5372 $as_echo "$ac_ct_DLLTOOL" >&6; }
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6144 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6145 else
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
53766148 fi
53776149
53786150 if test "x$ac_ct_DLLTOOL" = x; then
53806152 else
53816153 case $cross_compiling:$ac_tool_warned in
53826154 yes:)
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
53856157 ac_tool_warned=yes ;;
53866158 esac
53876159 DLLTOOL=$ac_ct_DLLTOOL
54016173
54026174
54036175
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5405 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5406 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6177 printf %s "checking how to associate runtime and link libraries... " >&6; }
6178 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6179 then :
6180 printf %s "(cached) " >&6
6181 else $as_nop
54096182 lt_cv_sharedlib_from_linklib_cmd='unknown'
54106183
54116184 case $host_os in
54286201 esac
54296202
54306203 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5432 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6205 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
54336206 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
54346207 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
54356208
54446217 do
54456218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
54466219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_AR+:} false; then :
5450 $as_echo_n "(cached) " >&6
5451 else
6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 printf %s "checking for $ac_word... " >&6; }
6222 if test ${ac_cv_prog_AR+y}
6223 then :
6224 printf %s "(cached) " >&6
6225 else $as_nop
54526226 if test -n "$AR"; then
54536227 ac_cv_prog_AR="$AR" # Let the user override the test.
54546228 else
54566230 for as_dir in $PATH
54576231 do
54586232 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
6233 case $as_dir in #(((
6234 '') as_dir=./ ;;
6235 */) ;;
6236 *) as_dir=$as_dir/ ;;
6237 esac
54606238 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
54626240 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
54646242 break 2
54656243 fi
54666244 done
54716249 fi
54726250 AR=$ac_cv_prog_AR
54736251 if test -n "$AR"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5475 $as_echo "$AR" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6253 printf "%s\n" "$AR" >&6; }
6254 else
6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 printf "%s\n" "no" >&6; }
54796257 fi
54806258
54816259
54886266 do
54896267 # Extract the first word of "$ac_prog", so it can be a program name with args.
54906268 set dummy $ac_prog; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 printf %s "checking for $ac_word... " >&6; }
6271 if test ${ac_cv_prog_ac_ct_AR+y}
6272 then :
6273 printf %s "(cached) " >&6
6274 else $as_nop
54966275 if test -n "$ac_ct_AR"; then
54976276 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
54986277 else
55006279 for as_dir in $PATH
55016280 do
55026281 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
6282 case $as_dir in #(((
6283 '') as_dir=./ ;;
6284 */) ;;
6285 *) as_dir=$as_dir/ ;;
6286 esac
55046287 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
55066289 ac_cv_prog_ac_ct_AR="$ac_prog"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
55086291 break 2
55096292 fi
55106293 done
55156298 fi
55166299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
55176300 if test -n "$ac_ct_AR"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5519 $as_echo "$ac_ct_AR" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6302 printf "%s\n" "$ac_ct_AR" >&6; }
6303 else
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 printf "%s\n" "no" >&6; }
55236306 fi
55246307
55256308
55316314 else
55326315 case $cross_compiling:$ac_tool_warned in
55336316 yes:)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
55366319 ac_tool_warned=yes ;;
55376320 esac
55386321 AR=$ac_ct_AR
55406323 fi
55416324
55426325 : ${AR=ar}
5543 : ${AR_FLAGS=cru}
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5556 $as_echo_n "checking for archiver @FILE support... " >&6; }
5557 if ${lt_cv_ar_at_file+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
6326
6327
6328
6329
6330
6331
6332 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6333 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6334 # higher priority because thats what people were doing historically (setting
6335 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6336 # variable obsoleted/removed.
6337
6338 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6339 lt_ar_flags=$AR_FLAGS
6340
6341
6342
6343
6344
6345
6346 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6347 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6348
6349
6350
6351
6352
6353
6354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6355 printf %s "checking for archiver @FILE support... " >&6; }
6356 if test ${lt_cv_ar_at_file+y}
6357 then :
6358 printf %s "(cached) " >&6
6359 else $as_nop
55606360 lt_cv_ar_at_file=no
55616361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55626362 /* end confdefs.h. */
55636363
55646364 int
5565 main ()
6365 main (void)
55666366 {
55676367
55686368 ;
55696369 return 0;
55706370 }
55716371 _ACEOF
5572 if ac_fn_c_try_compile "$LINENO"; then :
6372 if ac_fn_c_try_compile "$LINENO"
6373 then :
55736374 echo conftest.$ac_objext > conftest.lst
55746375 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
55756376 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
55766377 (eval $lt_ar_try) 2>&5
55776378 ac_status=$?
5578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
55796380 test $ac_status = 0; }
55806381 if test 0 -eq "$ac_status"; then
55816382 # Ensure the archiver fails upon bogus file names.
55836384 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
55846385 (eval $lt_ar_try) 2>&5
55856386 ac_status=$?
5586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
55876388 test $ac_status = 0; }
55886389 if test 0 -ne "$ac_status"; then
55896390 lt_cv_ar_at_file=@
55926393 rm -f conftest.* libconftest.a
55936394
55946395 fi
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5596
5597 fi
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5599 $as_echo "$lt_cv_ar_at_file" >&6; }
6396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6397
6398 fi
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6400 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
56006401
56016402 if test no = "$lt_cv_ar_at_file"; then
56026403 archiver_list_spec=
56136414 if test -n "$ac_tool_prefix"; then
56146415 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
56156416 set dummy ${ac_tool_prefix}strip; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_STRIP+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
6417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 printf %s "checking for $ac_word... " >&6; }
6419 if test ${ac_cv_prog_STRIP+y}
6420 then :
6421 printf %s "(cached) " >&6
6422 else $as_nop
56216423 if test -n "$STRIP"; then
56226424 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
56236425 else
56256427 for as_dir in $PATH
56266428 do
56276429 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
6430 case $as_dir in #(((
6431 '') as_dir=./ ;;
6432 */) ;;
6433 *) as_dir=$as_dir/ ;;
6434 esac
56296435 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
56316437 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
56336439 break 2
56346440 fi
56356441 done
56406446 fi
56416447 STRIP=$ac_cv_prog_STRIP
56426448 if test -n "$STRIP"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5644 $as_echo "$STRIP" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6450 printf "%s\n" "$STRIP" >&6; }
6451 else
6452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 printf "%s\n" "no" >&6; }
56486454 fi
56496455
56506456
56536459 ac_ct_STRIP=$STRIP
56546460 # Extract the first word of "strip", so it can be a program name with args.
56556461 set dummy strip; ac_word=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 printf %s "checking for $ac_word... " >&6; }
6464 if test ${ac_cv_prog_ac_ct_STRIP+y}
6465 then :
6466 printf %s "(cached) " >&6
6467 else $as_nop
56616468 if test -n "$ac_ct_STRIP"; then
56626469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
56636470 else
56656472 for as_dir in $PATH
56666473 do
56676474 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
6475 case $as_dir in #(((
6476 '') as_dir=./ ;;
6477 */) ;;
6478 *) as_dir=$as_dir/ ;;
6479 esac
56696480 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
56716482 ac_cv_prog_ac_ct_STRIP="strip"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
56736484 break 2
56746485 fi
56756486 done
56806491 fi
56816492 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
56826493 if test -n "$ac_ct_STRIP"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5684 $as_echo "$ac_ct_STRIP" >&6; }
5685 else
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6495 printf "%s\n" "$ac_ct_STRIP" >&6; }
6496 else
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 printf "%s\n" "no" >&6; }
56886499 fi
56896500
56906501 if test "x$ac_ct_STRIP" = x; then
56926503 else
56936504 case $cross_compiling:$ac_tool_warned in
56946505 yes:)
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
56976508 ac_tool_warned=yes ;;
56986509 esac
56996510 STRIP=$ac_ct_STRIP
57126523 if test -n "$ac_tool_prefix"; then
57136524 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
57146525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_RANLIB+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s "checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_RANLIB+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
57206532 if test -n "$RANLIB"; then
57216533 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
57226534 else
57246536 for as_dir in $PATH
57256537 do
57266538 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
6539 case $as_dir in #(((
6540 '') as_dir=./ ;;
6541 */) ;;
6542 *) as_dir=$as_dir/ ;;
6543 esac
57286544 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57306546 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57326548 break 2
57336549 fi
57346550 done
57396555 fi
57406556 RANLIB=$ac_cv_prog_RANLIB
57416557 if test -n "$RANLIB"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5743 $as_echo "$RANLIB" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6559 printf "%s\n" "$RANLIB" >&6; }
6560 else
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
57476563 fi
57486564
57496565
57526568 ac_ct_RANLIB=$RANLIB
57536569 # Extract the first word of "ranlib", so it can be a program name with args.
57546570 set dummy ranlib; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 printf %s "checking for $ac_word... " >&6; }
6573 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6574 then :
6575 printf %s "(cached) " >&6
6576 else $as_nop
57606577 if test -n "$ac_ct_RANLIB"; then
57616578 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
57626579 else
57646581 for as_dir in $PATH
57656582 do
57666583 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
6584 case $as_dir in #(((
6585 '') as_dir=./ ;;
6586 */) ;;
6587 *) as_dir=$as_dir/ ;;
6588 esac
57686589 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57706591 ac_cv_prog_ac_ct_RANLIB="ranlib"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57726593 break 2
57736594 fi
57746595 done
57796600 fi
57806601 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
57816602 if test -n "$ac_ct_RANLIB"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5783 $as_echo "$ac_ct_RANLIB" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6604 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6605 else
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 printf "%s\n" "no" >&6; }
57876608 fi
57886609
57896610 if test "x$ac_ct_RANLIB" = x; then
57916612 else
57926613 case $cross_compiling:$ac_tool_warned in
57936614 yes:)
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6616 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
57966617 ac_tool_warned=yes ;;
57976618 esac
57986619 RANLIB=$ac_ct_RANLIB
58816702
58826703
58836704 # Check for command to grab the raw symbol name followed by C symbol from nm.
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5885 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5886 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6706 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6707 if test ${lt_cv_sys_global_symbol_pipe+y}
6708 then :
6709 printf %s "(cached) " >&6
6710 else $as_nop
58896711
58906712 # These are sane defaults that work on at least a few old systems.
58916713 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
59406762
59416763 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
59426764 # Gets list of data symbols to import.
5943 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6765 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
59446766 # Adjust the below global symbol transforms to fixup imported variables.
59456767 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
59466768 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
59586780 # Transform an extracted symbol line into a proper C declaration.
59596781 # Some systems (esp. on ia64) link data and code symbols differently,
59606782 # so use this general approach.
5961 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6783 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
59626784 $lt_cdecl_hook\
59636785 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
59646786 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
59656787
59666788 # Transform an extracted symbol line into symbol name and symbol address
5967 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6789 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
59686790 $lt_c_name_hook\
59696791 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
59706792 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
59716793
59726794 # Transform an extracted symbol line into symbol name with lib prefix and
59736795 # symbol address.
5974 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6796 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
59756797 $lt_c_name_lib_hook\
59766798 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
59776799 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
59956817 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
59966818 # Fake it for dumpbin and say T for any non-static function,
59976819 # D for any global variable and I for any imported variable.
5998 # Also find C++ and __fastcall symbols from MSVC++,
6820 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
59996821 # which start with @ or ?.
60006822 lt_cv_sys_global_symbol_pipe="$AWK '"\
60016823 " {last_section=section; section=\$ 3};"\
60136835 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
60146836 " ' prfx=^$ac_symprfx"
60156837 else
6016 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6838 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
60176839 fi
6018 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6840 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
60196841
60206842 # Check to see that the pipe works correctly.
60216843 pipe_works=no
60376859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
60386860 (eval $ac_compile) 2>&5
60396861 ac_status=$?
6040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60416863 test $ac_status = 0; }; then
60426864 # Now try to grab the symbols.
60436865 nlist=conftest.nm
60446866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
60456867 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
60466868 ac_status=$?
6047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60486870 test $ac_status = 0; } && test -s "$nlist"; then
60496871 # Try sorting and uniquifying the output.
60506872 if sort "$nlist" | uniq > "$nlist"T; then
61136935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
61146936 (eval $ac_link) 2>&5
61156937 ac_status=$?
6116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
61176939 test $ac_status = 0; } && test -s conftest$ac_exeext; then
61186940 pipe_works=yes
61196941 fi
61486970 lt_cv_sys_global_symbol_to_cdecl=
61496971 fi
61506972 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6152 $as_echo "failed" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6155 $as_echo "ok" >&6; }
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6974 printf "%s\n" "failed" >&6; }
6975 else
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6977 printf "%s\n" "ok" >&6; }
61566978 fi
61576979
61586980 # Response file support.
61987020
61997021
62007022
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6202 $as_echo_n "checking for sysroot... " >&6; }
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7024 printf %s "checking for sysroot... " >&6; }
62037025
62047026 # Check whether --with-sysroot was given.
6205 if test "${with_sysroot+set}" = set; then :
7027 if test ${with_sysroot+y}
7028 then :
62067029 withval=$with_sysroot;
6207 else
7030 else $as_nop
62087031 with_sysroot=no
62097032 fi
62107033
62177040 fi
62187041 ;; #(
62197042 /*)
6220 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7043 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
62217044 ;; #(
62227045 no|'')
62237046 ;; #(
62247047 *)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6226 $as_echo "$with_sysroot" >&6; }
7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7049 printf "%s\n" "$with_sysroot" >&6; }
62277050 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
62287051 ;;
62297052 esac
62307053
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6232 $as_echo "${lt_sysroot:-no}" >&6; }
6233
6234
6235
6236
6237
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6239 $as_echo_n "checking for a working dd... " >&6; }
6240 if ${ac_cv_path_lt_DD+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
7054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7055 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7056
7057
7058
7059
7060
7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7062 printf %s "checking for a working dd... " >&6; }
7063 if test ${ac_cv_path_lt_DD+y}
7064 then :
7065 printf %s "(cached) " >&6
7066 else $as_nop
62437067 printf 0123456789abcdef0123456789abcdef >conftest.i
62447068 cat conftest.i conftest.i >conftest2.i
62457069 : ${lt_DD:=$DD}
62507074 for as_dir in $PATH
62517075 do
62527076 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_prog in dd; do
7077 case $as_dir in #(((
7078 '') as_dir=./ ;;
7079 */) ;;
7080 *) as_dir=$as_dir/ ;;
7081 esac
7082 for ac_prog in dd
7083 do
62557084 for ac_exec_ext in '' $ac_executable_extensions; do
6256 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7085 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
62577086 as_fn_executable_p "$ac_path_lt_DD" || continue
62587087 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
62597088 cmp -s conftest.i conftest.out \
62737102
62747103 rm -f conftest.i conftest2.i conftest.out
62757104 fi
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6277 $as_echo "$ac_cv_path_lt_DD" >&6; }
6278
6279
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6281 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6282 if ${lt_cv_truncate_bin+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7106 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7107
7108
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7110 printf %s "checking how to truncate binary pipes... " >&6; }
7111 if test ${lt_cv_truncate_bin+y}
7112 then :
7113 printf %s "(cached) " >&6
7114 else $as_nop
62857115 printf 0123456789abcdef0123456789abcdef >conftest.i
62867116 cat conftest.i conftest.i >conftest2.i
62877117 lt_cv_truncate_bin=
62927122 rm -f conftest.i conftest2.i conftest.out
62937123 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
62947124 fi
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6296 $as_echo "$lt_cv_truncate_bin" >&6; }
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7126 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
62977127
62987128
62997129
63167146 }
63177147
63187148 # Check whether --enable-libtool-lock was given.
6319 if test "${enable_libtool_lock+set}" = set; then :
7149 if test ${enable_libtool_lock+y}
7150 then :
63207151 enableval=$enable_libtool_lock;
63217152 fi
63227153
63327163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
63337164 (eval $ac_compile) 2>&5
63347165 ac_status=$?
6335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63367167 test $ac_status = 0; }; then
6337 case `/usr/bin/file conftest.$ac_objext` in
7168 case `$FILECMD conftest.$ac_objext` in
63387169 *ELF-32*)
63397170 HPUX_IA64_MODE=32
63407171 ;;
63527183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
63537184 (eval $ac_compile) 2>&5
63547185 ac_status=$?
6355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63567187 test $ac_status = 0; }; then
63577188 if test yes = "$lt_cv_prog_gnu_ld"; then
6358 case `/usr/bin/file conftest.$ac_objext` in
7189 case `$FILECMD conftest.$ac_objext` in
63597190 *32-bit*)
63607191 LD="${LD-ld} -melf32bsmip"
63617192 ;;
63677198 ;;
63687199 esac
63697200 else
6370 case `/usr/bin/file conftest.$ac_objext` in
7201 case `$FILECMD conftest.$ac_objext` in
63717202 *32-bit*)
63727203 LD="${LD-ld} -32"
63737204 ;;
63907221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
63917222 (eval $ac_compile) 2>&5
63927223 ac_status=$?
6393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63947225 test $ac_status = 0; }; then
63957226 emul=elf
6396 case `/usr/bin/file conftest.$ac_objext` in
7227 case `$FILECMD conftest.$ac_objext` in
63977228 *32-bit*)
63987229 emul="${emul}32"
63997230 ;;
64017232 emul="${emul}64"
64027233 ;;
64037234 esac
6404 case `/usr/bin/file conftest.$ac_objext` in
7235 case `$FILECMD conftest.$ac_objext` in
64057236 *MSB*)
64067237 emul="${emul}btsmip"
64077238 ;;
64097240 emul="${emul}ltsmip"
64107241 ;;
64117242 esac
6412 case `/usr/bin/file conftest.$ac_objext` in
7243 case `$FILECMD conftest.$ac_objext` in
64137244 *N32*)
64147245 emul="${emul}n32"
64157246 ;;
64317262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
64327263 (eval $ac_compile) 2>&5
64337264 ac_status=$?
6434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64357266 test $ac_status = 0; }; then
6436 case `/usr/bin/file conftest.o` in
7267 case `$FILECMD conftest.o` in
64377268 *32-bit*)
64387269 case $host in
64397270 x86_64-*kfreebsd*-gnu)
64407271 LD="${LD-ld} -m elf_i386_fbsd"
64417272 ;;
64427273 x86_64-*linux*)
6443 case `/usr/bin/file conftest.o` in
7274 case `$FILECMD conftest.o` in
64447275 *x86-64*)
64457276 LD="${LD-ld} -m elf32_x86_64"
64467277 ;;
64947325 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
64957326 SAVE_CFLAGS=$CFLAGS
64967327 CFLAGS="$CFLAGS -belf"
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6498 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6499 if ${lt_cv_cc_needs_belf+:} false; then :
6500 $as_echo_n "(cached) " >&6
6501 else
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7329 printf %s "checking whether the C compiler needs -belf... " >&6; }
7330 if test ${lt_cv_cc_needs_belf+y}
7331 then :
7332 printf %s "(cached) " >&6
7333 else $as_nop
65027334 ac_ext=c
65037335 ac_cpp='$CPP $CPPFLAGS'
65047336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65097341 /* end confdefs.h. */
65107342
65117343 int
6512 main ()
7344 main (void)
65137345 {
65147346
65157347 ;
65167348 return 0;
65177349 }
65187350 _ACEOF
6519 if ac_fn_c_try_link "$LINENO"; then :
7351 if ac_fn_c_try_link "$LINENO"
7352 then :
65207353 lt_cv_cc_needs_belf=yes
6521 else
7354 else $as_nop
65227355 lt_cv_cc_needs_belf=no
65237356 fi
6524 rm -f core conftest.err conftest.$ac_objext \
7357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
65257358 conftest$ac_exeext conftest.$ac_ext
65267359 ac_ext=c
65277360 ac_cpp='$CPP $CPPFLAGS'
65307363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65317364
65327365 fi
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6534 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7367 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
65357368 if test yes != "$lt_cv_cc_needs_belf"; then
65367369 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
65377370 CFLAGS=$SAVE_CFLAGS
65447377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
65457378 (eval $ac_compile) 2>&5
65467379 ac_status=$?
6547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
65487381 test $ac_status = 0; }; then
6549 case `/usr/bin/file conftest.o` in
7382 case `$FILECMD conftest.o` in
65507383 *64-bit*)
65517384 case $lt_cv_prog_gnu_ld in
65527385 yes*)
65817414 if test -n "$ac_tool_prefix"; then
65827415 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
65837416 set dummy ${ac_tool_prefix}mt; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 printf %s "checking for $ac_word... " >&6; }
7419 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7420 then :
7421 printf %s "(cached) " >&6
7422 else $as_nop
65897423 if test -n "$MANIFEST_TOOL"; then
65907424 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
65917425 else
65937427 for as_dir in $PATH
65947428 do
65957429 IFS=$as_save_IFS
6596 test -z "$as_dir" && as_dir=.
7430 case $as_dir in #(((
7431 '') as_dir=./ ;;
7432 */) ;;
7433 *) as_dir=$as_dir/ ;;
7434 esac
65977435 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
65997437 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
66017439 break 2
66027440 fi
66037441 done
66087446 fi
66097447 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
66107448 if test -n "$MANIFEST_TOOL"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6612 $as_echo "$MANIFEST_TOOL" >&6; }
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7450 printf "%s\n" "$MANIFEST_TOOL" >&6; }
7451 else
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 printf "%s\n" "no" >&6; }
66167454 fi
66177455
66187456
66217459 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
66227460 # Extract the first word of "mt", so it can be a program name with args.
66237461 set dummy mt; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6627 $as_echo_n "(cached) " >&6
6628 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 printf %s "checking for $ac_word... " >&6; }
7464 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7465 then :
7466 printf %s "(cached) " >&6
7467 else $as_nop
66297468 if test -n "$ac_ct_MANIFEST_TOOL"; then
66307469 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
66317470 else
66337472 for as_dir in $PATH
66347473 do
66357474 IFS=$as_save_IFS
6636 test -z "$as_dir" && as_dir=.
7475 case $as_dir in #(((
7476 '') as_dir=./ ;;
7477 */) ;;
7478 *) as_dir=$as_dir/ ;;
7479 esac
66377480 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
66397482 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
66417484 break 2
66427485 fi
66437486 done
66487491 fi
66497492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
66507493 if test -n "$ac_ct_MANIFEST_TOOL"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6652 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6653 else
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7495 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7496 else
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 printf "%s\n" "no" >&6; }
66567499 fi
66577500
66587501 if test "x$ac_ct_MANIFEST_TOOL" = x; then
66607503 else
66617504 case $cross_compiling:$ac_tool_warned in
66627505 yes:)
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7507 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
66657508 ac_tool_warned=yes ;;
66667509 esac
66677510 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
66717514 fi
66727515
66737516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6675 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6676 if ${lt_cv_path_mainfest_tool+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7518 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7519 if test ${lt_cv_path_mainfest_tool+y}
7520 then :
7521 printf %s "(cached) " >&6
7522 else $as_nop
66797523 lt_cv_path_mainfest_tool=no
66807524 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
66817525 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
66857529 fi
66867530 rm -f conftest*
66877531 fi
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6689 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7533 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
66907534 if test yes != "$lt_cv_path_mainfest_tool"; then
66917535 MANIFEST_TOOL=:
66927536 fi
67017545 if test -n "$ac_tool_prefix"; then
67027546 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
67037547 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 printf %s "checking for $ac_word... " >&6; }
7550 if test ${ac_cv_prog_DSYMUTIL+y}
7551 then :
7552 printf %s "(cached) " >&6
7553 else $as_nop
67097554 if test -n "$DSYMUTIL"; then
67107555 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
67117556 else
67137558 for as_dir in $PATH
67147559 do
67157560 IFS=$as_save_IFS
6716 test -z "$as_dir" && as_dir=.
7561 case $as_dir in #(((
7562 '') as_dir=./ ;;
7563 */) ;;
7564 *) as_dir=$as_dir/ ;;
7565 esac
67177566 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
67197568 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
67217570 break 2
67227571 fi
67237572 done
67287577 fi
67297578 DSYMUTIL=$ac_cv_prog_DSYMUTIL
67307579 if test -n "$DSYMUTIL"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6732 $as_echo "$DSYMUTIL" >&6; }
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7581 printf "%s\n" "$DSYMUTIL" >&6; }
7582 else
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 printf "%s\n" "no" >&6; }
67367585 fi
67377586
67387587
67417590 ac_ct_DSYMUTIL=$DSYMUTIL
67427591 # Extract the first word of "dsymutil", so it can be a program name with args.
67437592 set dummy dsymutil; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6747 $as_echo_n "(cached) " >&6
6748 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_ac_ct_DSYMUTIL+y}
7596 then :
7597 printf %s "(cached) " >&6
7598 else $as_nop
67497599 if test -n "$ac_ct_DSYMUTIL"; then
67507600 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
67517601 else
67537603 for as_dir in $PATH
67547604 do
67557605 IFS=$as_save_IFS
6756 test -z "$as_dir" && as_dir=.
7606 case $as_dir in #(((
7607 '') as_dir=./ ;;
7608 */) ;;
7609 *) as_dir=$as_dir/ ;;
7610 esac
67577611 for ac_exec_ext in '' $ac_executable_extensions; do
6758 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
67597613 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6760 $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
67617615 break 2
67627616 fi
67637617 done
67687622 fi
67697623 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
67707624 if test -n "$ac_ct_DSYMUTIL"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6772 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6773 else
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7626 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7627 else
7628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 printf "%s\n" "no" >&6; }
67767630 fi
67777631
67787632 if test "x$ac_ct_DSYMUTIL" = x; then
67807634 else
67817635 case $cross_compiling:$ac_tool_warned in
67827636 yes:)
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7638 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67857639 ac_tool_warned=yes ;;
67867640 esac
67877641 DSYMUTIL=$ac_ct_DSYMUTIL
67937647 if test -n "$ac_tool_prefix"; then
67947648 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
67957649 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_NMEDIT+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 printf %s "checking for $ac_word... " >&6; }
7652 if test ${ac_cv_prog_NMEDIT+y}
7653 then :
7654 printf %s "(cached) " >&6
7655 else $as_nop
68017656 if test -n "$NMEDIT"; then
68027657 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
68037658 else
68057660 for as_dir in $PATH
68067661 do
68077662 IFS=$as_save_IFS
6808 test -z "$as_dir" && as_dir=.
7663 case $as_dir in #(((
7664 '') as_dir=./ ;;
7665 */) ;;
7666 *) as_dir=$as_dir/ ;;
7667 esac
68097668 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
68117670 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
68137672 break 2
68147673 fi
68157674 done
68207679 fi
68217680 NMEDIT=$ac_cv_prog_NMEDIT
68227681 if test -n "$NMEDIT"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6824 $as_echo "$NMEDIT" >&6; }
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7683 printf "%s\n" "$NMEDIT" >&6; }
7684 else
7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686 printf "%s\n" "no" >&6; }
68287687 fi
68297688
68307689
68337692 ac_ct_NMEDIT=$NMEDIT
68347693 # Extract the first word of "nmedit", so it can be a program name with args.
68357694 set dummy nmedit; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
7695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696 printf %s "checking for $ac_word... " >&6; }
7697 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7698 then :
7699 printf %s "(cached) " >&6
7700 else $as_nop
68417701 if test -n "$ac_ct_NMEDIT"; then
68427702 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
68437703 else
68457705 for as_dir in $PATH
68467706 do
68477707 IFS=$as_save_IFS
6848 test -z "$as_dir" && as_dir=.
7708 case $as_dir in #(((
7709 '') as_dir=./ ;;
7710 */) ;;
7711 *) as_dir=$as_dir/ ;;
7712 esac
68497713 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
68517715 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
68537717 break 2
68547718 fi
68557719 done
68607724 fi
68617725 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
68627726 if test -n "$ac_ct_NMEDIT"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6864 $as_echo "$ac_ct_NMEDIT" >&6; }
6865 else
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7728 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7729 else
7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 printf "%s\n" "no" >&6; }
68687732 fi
68697733
68707734 if test "x$ac_ct_NMEDIT" = x; then
68727736 else
68737737 case $cross_compiling:$ac_tool_warned in
68747738 yes:)
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7740 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68777741 ac_tool_warned=yes ;;
68787742 esac
68797743 NMEDIT=$ac_ct_NMEDIT
68857749 if test -n "$ac_tool_prefix"; then
68867750 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
68877751 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_LIPO+:} false; then :
6891 $as_echo_n "(cached) " >&6
6892 else
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7753 printf %s "checking for $ac_word... " >&6; }
7754 if test ${ac_cv_prog_LIPO+y}
7755 then :
7756 printf %s "(cached) " >&6
7757 else $as_nop
68937758 if test -n "$LIPO"; then
68947759 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
68957760 else
68977762 for as_dir in $PATH
68987763 do
68997764 IFS=$as_save_IFS
6900 test -z "$as_dir" && as_dir=.
7765 case $as_dir in #(((
7766 '') as_dir=./ ;;
7767 */) ;;
7768 *) as_dir=$as_dir/ ;;
7769 esac
69017770 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69037772 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69057774 break 2
69067775 fi
69077776 done
69127781 fi
69137782 LIPO=$ac_cv_prog_LIPO
69147783 if test -n "$LIPO"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6916 $as_echo "$LIPO" >&6; }
6917 else
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7785 printf "%s\n" "$LIPO" >&6; }
7786 else
7787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 printf "%s\n" "no" >&6; }
69207789 fi
69217790
69227791
69257794 ac_ct_LIPO=$LIPO
69267795 # Extract the first word of "lipo", so it can be a program name with args.
69277796 set dummy lipo; ac_word=$2
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6929 $as_echo_n "checking for $ac_word... " >&6; }
6930 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6931 $as_echo_n "(cached) " >&6
6932 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_LIPO+y}
7800 then :
7801 printf %s "(cached) " >&6
7802 else $as_nop
69337803 if test -n "$ac_ct_LIPO"; then
69347804 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
69357805 else
69377807 for as_dir in $PATH
69387808 do
69397809 IFS=$as_save_IFS
6940 test -z "$as_dir" && as_dir=.
7810 case $as_dir in #(((
7811 '') as_dir=./ ;;
7812 */) ;;
7813 *) as_dir=$as_dir/ ;;
7814 esac
69417815 for ac_exec_ext in '' $ac_executable_extensions; do
6942 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
69437817 ac_cv_prog_ac_ct_LIPO="lipo"
6944 $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
69457819 break 2
69467820 fi
69477821 done
69527826 fi
69537827 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
69547828 if test -n "$ac_ct_LIPO"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6956 $as_echo "$ac_ct_LIPO" >&6; }
6957 else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7830 printf "%s\n" "$ac_ct_LIPO" >&6; }
7831 else
7832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 printf "%s\n" "no" >&6; }
69607834 fi
69617835
69627836 if test "x$ac_ct_LIPO" = x; then
69647838 else
69657839 case $cross_compiling:$ac_tool_warned in
69667840 yes:)
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7842 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
69697843 ac_tool_warned=yes ;;
69707844 esac
69717845 LIPO=$ac_ct_LIPO
69777851 if test -n "$ac_tool_prefix"; then
69787852 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
69797853 set dummy ${ac_tool_prefix}otool; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_OTOOL+:} false; then :
6983 $as_echo_n "(cached) " >&6
6984 else
7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 printf %s "checking for $ac_word... " >&6; }
7856 if test ${ac_cv_prog_OTOOL+y}
7857 then :
7858 printf %s "(cached) " >&6
7859 else $as_nop
69857860 if test -n "$OTOOL"; then
69867861 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
69877862 else
69897864 for as_dir in $PATH
69907865 do
69917866 IFS=$as_save_IFS
6992 test -z "$as_dir" && as_dir=.
7867 case $as_dir in #(((
7868 '') as_dir=./ ;;
7869 */) ;;
7870 *) as_dir=$as_dir/ ;;
7871 esac
69937872 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69957874 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69977876 break 2
69987877 fi
69997878 done
70047883 fi
70057884 OTOOL=$ac_cv_prog_OTOOL
70067885 if test -n "$OTOOL"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7008 $as_echo "$OTOOL" >&6; }
7009 else
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7887 printf "%s\n" "$OTOOL" >&6; }
7888 else
7889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 printf "%s\n" "no" >&6; }
70127891 fi
70137892
70147893
70177896 ac_ct_OTOOL=$OTOOL
70187897 # Extract the first word of "otool", so it can be a program name with args.
70197898 set dummy otool; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900 printf %s "checking for $ac_word... " >&6; }
7901 if test ${ac_cv_prog_ac_ct_OTOOL+y}
7902 then :
7903 printf %s "(cached) " >&6
7904 else $as_nop
70257905 if test -n "$ac_ct_OTOOL"; then
70267906 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
70277907 else
70297909 for as_dir in $PATH
70307910 do
70317911 IFS=$as_save_IFS
7032 test -z "$as_dir" && as_dir=.
7912 case $as_dir in #(((
7913 '') as_dir=./ ;;
7914 */) ;;
7915 *) as_dir=$as_dir/ ;;
7916 esac
70337917 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70357919 ac_cv_prog_ac_ct_OTOOL="otool"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70377921 break 2
70387922 fi
70397923 done
70447928 fi
70457929 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
70467930 if test -n "$ac_ct_OTOOL"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7048 $as_echo "$ac_ct_OTOOL" >&6; }
7049 else
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7932 printf "%s\n" "$ac_ct_OTOOL" >&6; }
7933 else
7934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 printf "%s\n" "no" >&6; }
70527936 fi
70537937
70547938 if test "x$ac_ct_OTOOL" = x; then
70567940 else
70577941 case $cross_compiling:$ac_tool_warned in
70587942 yes:)
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7944 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
70617945 ac_tool_warned=yes ;;
70627946 esac
70637947 OTOOL=$ac_ct_OTOOL
70697953 if test -n "$ac_tool_prefix"; then
70707954 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
70717955 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 $as_echo_n "checking for $ac_word... " >&6; }
7074 if ${ac_cv_prog_OTOOL64+:} false; then :
7075 $as_echo_n "(cached) " >&6
7076 else
7956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 printf %s "checking for $ac_word... " >&6; }
7958 if test ${ac_cv_prog_OTOOL64+y}
7959 then :
7960 printf %s "(cached) " >&6
7961 else $as_nop
70777962 if test -n "$OTOOL64"; then
70787963 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
70797964 else
70817966 for as_dir in $PATH
70827967 do
70837968 IFS=$as_save_IFS
7084 test -z "$as_dir" && as_dir=.
7969 case $as_dir in #(((
7970 '') as_dir=./ ;;
7971 */) ;;
7972 *) as_dir=$as_dir/ ;;
7973 esac
70857974 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70877976 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70897978 break 2
70907979 fi
70917980 done
70967985 fi
70977986 OTOOL64=$ac_cv_prog_OTOOL64
70987987 if test -n "$OTOOL64"; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7100 $as_echo "$OTOOL64" >&6; }
7101 else
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103 $as_echo "no" >&6; }
7988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7989 printf "%s\n" "$OTOOL64" >&6; }
7990 else
7991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 printf "%s\n" "no" >&6; }
71047993 fi
71057994
71067995
71097998 ac_ct_OTOOL64=$OTOOL64
71107999 # Extract the first word of "otool64", so it can be a program name with args.
71118000 set dummy otool64; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7115 $as_echo_n "(cached) " >&6
7116 else
8001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 printf %s "checking for $ac_word... " >&6; }
8003 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8004 then :
8005 printf %s "(cached) " >&6
8006 else $as_nop
71178007 if test -n "$ac_ct_OTOOL64"; then
71188008 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
71198009 else
71218011 for as_dir in $PATH
71228012 do
71238013 IFS=$as_save_IFS
7124 test -z "$as_dir" && as_dir=.
8014 case $as_dir in #(((
8015 '') as_dir=./ ;;
8016 */) ;;
8017 *) as_dir=$as_dir/ ;;
8018 esac
71258019 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8020 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71278021 ac_cv_prog_ac_ct_OTOOL64="otool64"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71298023 break 2
71308024 fi
71318025 done
71368030 fi
71378031 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
71388032 if test -n "$ac_ct_OTOOL64"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7140 $as_echo "$ac_ct_OTOOL64" >&6; }
7141 else
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8034 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8035 else
8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 printf "%s\n" "no" >&6; }
71448038 fi
71458039
71468040 if test "x$ac_ct_OTOOL64" = x; then
71488042 else
71498043 case $cross_compiling:$ac_tool_warned in
71508044 yes:)
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8046 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
71538047 ac_tool_warned=yes ;;
71548048 esac
71558049 OTOOL64=$ac_ct_OTOOL64
71848078
71858079
71868080
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7188 $as_echo_n "checking for -single_module linker flag... " >&6; }
7189 if ${lt_cv_apple_cc_single_mod+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8082 printf %s "checking for -single_module linker flag... " >&6; }
8083 if test ${lt_cv_apple_cc_single_mod+y}
8084 then :
8085 printf %s "(cached) " >&6
8086 else $as_nop
71928087 lt_cv_apple_cc_single_mod=no
71938088 if test -z "$LT_MULTI_MODULE"; then
71948089 # By default we will add the -single_module flag. You can override
72178112 rm -f conftest.*
72188113 fi
72198114 fi
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7221 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7222
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7224 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7225 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7226 $as_echo_n "(cached) " >&6
7227 else
8115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8116 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8117
8118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8119 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8120 if test ${lt_cv_ld_exported_symbols_list+y}
8121 then :
8122 printf %s "(cached) " >&6
8123 else $as_nop
72288124 lt_cv_ld_exported_symbols_list=no
72298125 save_LDFLAGS=$LDFLAGS
72308126 echo "_main" > conftest.sym
72338129 /* end confdefs.h. */
72348130
72358131 int
7236 main ()
8132 main (void)
72378133 {
72388134
72398135 ;
72408136 return 0;
72418137 }
72428138 _ACEOF
7243 if ac_fn_c_try_link "$LINENO"; then :
8139 if ac_fn_c_try_link "$LINENO"
8140 then :
72448141 lt_cv_ld_exported_symbols_list=yes
7245 else
8142 else $as_nop
72468143 lt_cv_ld_exported_symbols_list=no
72478144 fi
7248 rm -f core conftest.err conftest.$ac_objext \
8145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
72498146 conftest$ac_exeext conftest.$ac_ext
72508147 LDFLAGS=$save_LDFLAGS
72518148
72528149 fi
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7254 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7255
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7257 $as_echo_n "checking for -force_load linker flag... " >&6; }
7258 if ${lt_cv_ld_force_load+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
8150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8151 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8152
8153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8154 printf %s "checking for -force_load linker flag... " >&6; }
8155 if test ${lt_cv_ld_force_load+y}
8156 then :
8157 printf %s "(cached) " >&6
8158 else $as_nop
72618159 lt_cv_ld_force_load=no
72628160 cat > conftest.c << _LT_EOF
72638161 int forced_loaded() { return 2;}
72648162 _LT_EOF
72658163 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
72668164 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7267 echo "$AR cru libconftest.a conftest.o" >&5
7268 $AR cru libconftest.a conftest.o 2>&5
8165 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8166 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
72698167 echo "$RANLIB libconftest.a" >&5
72708168 $RANLIB libconftest.a 2>&5
72718169 cat > conftest.c << _LT_EOF
72858183 rm -rf conftest.dSYM
72868184
72878185 fi
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7289 $as_echo "$lt_cv_ld_force_load" >&6; }
8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8187 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
72908188 case $host_os in
72918189 rhapsody* | darwin1.[012])
72928190 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
72938191 darwin1.*)
72948192 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7295 darwin*) # darwin 5.x on
7296 # if running on 10.5 or later, the deployment target defaults
7297 # to the OS version, if on x86, and 10.4, the deployment
7298 # target defaults to 10.4. Don't you love it?
7299 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7300 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7301 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7302 10.[012][,.]*)
7303 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7304 10.*)
7305 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8193 darwin*)
8194 case $MACOSX_DEPLOYMENT_TARGET,$host in
8195 10.[012],*|,*powerpc*-darwin[5-8]*)
8196 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8197 *)
8198 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
73068199 esac
73078200 ;;
73088201 esac
73578250 esac
73588251 }
73598252
7360 ac_ext=c
7361 ac_cpp='$CPP $CPPFLAGS'
7362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7366 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7367 # On Suns, sometimes $CPP names a directory.
7368 if test -n "$CPP" && test -d "$CPP"; then
7369 CPP=
7370 fi
7371 if test -z "$CPP"; then
7372 if ${ac_cv_prog_CPP+:} false; then :
7373 $as_echo_n "(cached) " >&6
7374 else
7375 # Double quotes because CPP needs to be expanded
7376 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7377 do
7378 ac_preproc_ok=false
7379 for ac_c_preproc_warn_flag in '' yes
8253 ac_header= ac_cache=
8254 for ac_item in $ac_header_c_list
73808255 do
7381 # Use a header file that comes with gcc, so configuring glibc
7382 # with a fresh cross-compiler works.
7383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7384 # <limits.h> exists even on freestanding compilers.
7385 # On the NeXT, cc -E runs the code through the compiler's parser,
7386 # not just through cpp. "Syntax error" is here to catch this case.
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7389 #ifdef __STDC__
7390 # include <limits.h>
7391 #else
7392 # include <assert.h>
7393 #endif
7394 Syntax error
7395 _ACEOF
7396 if ac_fn_c_try_cpp "$LINENO"; then :
7397
7398 else
7399 # Broken: fails on valid input.
7400 continue
7401 fi
7402 rm -f conftest.err conftest.i conftest.$ac_ext
7403
7404 # OK, works on sane cases. Now check whether nonexistent headers
7405 # can be detected and how.
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7408 #include <ac_nonexistent.h>
7409 _ACEOF
7410 if ac_fn_c_try_cpp "$LINENO"; then :
7411 # Broken: success on invalid input.
7412 continue
7413 else
7414 # Passes both tests.
7415 ac_preproc_ok=:
7416 break
7417 fi
7418 rm -f conftest.err conftest.i conftest.$ac_ext
7419
8256 if test $ac_cache; then
8257 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8258 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8259 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8260 fi
8261 ac_header= ac_cache=
8262 elif test $ac_header; then
8263 ac_cache=$ac_item
8264 else
8265 ac_header=$ac_item
8266 fi
74208267 done
7421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7422 rm -f conftest.i conftest.err conftest.$ac_ext
7423 if $ac_preproc_ok; then :
7424 break
7425 fi
7426
7427 done
7428 ac_cv_prog_CPP=$CPP
7429
7430 fi
7431 CPP=$ac_cv_prog_CPP
7432 else
7433 ac_cv_prog_CPP=$CPP
7434 fi
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7436 $as_echo "$CPP" >&6; }
7437 ac_preproc_ok=false
7438 for ac_c_preproc_warn_flag in '' yes
7439 do
7440 # Use a header file that comes with gcc, so configuring glibc
7441 # with a fresh cross-compiler works.
7442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7443 # <limits.h> exists even on freestanding compilers.
7444 # On the NeXT, cc -E runs the code through the compiler's parser,
7445 # not just through cpp. "Syntax error" is here to catch this case.
7446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7448 #ifdef __STDC__
7449 # include <limits.h>
7450 #else
7451 # include <assert.h>
7452 #endif
7453 Syntax error
7454 _ACEOF
7455 if ac_fn_c_try_cpp "$LINENO"; then :
7456
7457 else
7458 # Broken: fails on valid input.
7459 continue
7460 fi
7461 rm -f conftest.err conftest.i conftest.$ac_ext
7462
7463 # OK, works on sane cases. Now check whether nonexistent headers
7464 # can be detected and how.
7465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7466 /* end confdefs.h. */
7467 #include <ac_nonexistent.h>
7468 _ACEOF
7469 if ac_fn_c_try_cpp "$LINENO"; then :
7470 # Broken: success on invalid input.
7471 continue
7472 else
7473 # Passes both tests.
7474 ac_preproc_ok=:
7475 break
7476 fi
7477 rm -f conftest.err conftest.i conftest.$ac_ext
7478
7479 done
7480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7481 rm -f conftest.i conftest.err conftest.$ac_ext
7482 if $ac_preproc_ok; then :
7483
7484 else
7485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7487 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7488 See \`config.log' for more details" "$LINENO" 5; }
7489 fi
7490
7491 ac_ext=c
7492 ac_cpp='$CPP $CPPFLAGS'
7493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496
7497
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7499 $as_echo_n "checking for ANSI C header files... " >&6; }
7500 if ${ac_cv_header_stdc+:} false; then :
7501 $as_echo_n "(cached) " >&6
7502 else
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7505 #include <stdlib.h>
7506 #include <stdarg.h>
7507 #include <string.h>
7508 #include <float.h>
7509
7510 int
7511 main ()
7512 {
7513
7514 ;
7515 return 0;
7516 }
7517 _ACEOF
7518 if ac_fn_c_try_compile "$LINENO"; then :
7519 ac_cv_header_stdc=yes
7520 else
7521 ac_cv_header_stdc=no
7522 fi
7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7524
7525 if test $ac_cv_header_stdc = yes; then
7526 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528 /* end confdefs.h. */
7529 #include <string.h>
7530
7531 _ACEOF
7532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7533 $EGREP "memchr" >/dev/null 2>&1; then :
7534
7535 else
7536 ac_cv_header_stdc=no
7537 fi
7538 rm -f conftest*
7539
7540 fi
7541
7542 if test $ac_cv_header_stdc = yes; then
7543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7546 #include <stdlib.h>
7547
7548 _ACEOF
7549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7550 $EGREP "free" >/dev/null 2>&1; then :
7551
7552 else
7553 ac_cv_header_stdc=no
7554 fi
7555 rm -f conftest*
7556
7557 fi
7558
7559 if test $ac_cv_header_stdc = yes; then
7560 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7561 if test "$cross_compiling" = yes; then :
7562 :
7563 else
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7566 #include <ctype.h>
7567 #include <stdlib.h>
7568 #if ((' ' & 0x0FF) == 0x020)
7569 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7570 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7571 #else
7572 # define ISLOWER(c) \
7573 (('a' <= (c) && (c) <= 'i') \
7574 || ('j' <= (c) && (c) <= 'r') \
7575 || ('s' <= (c) && (c) <= 'z'))
7576 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7577 #endif
7578
7579 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7580 int
7581 main ()
7582 {
7583 int i;
7584 for (i = 0; i < 256; i++)
7585 if (XOR (islower (i), ISLOWER (i))
7586 || toupper (i) != TOUPPER (i))
7587 return 2;
7588 return 0;
7589 }
7590 _ACEOF
7591 if ac_fn_c_try_run "$LINENO"; then :
7592
7593 else
7594 ac_cv_header_stdc=no
7595 fi
7596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7597 conftest.$ac_objext conftest.beam conftest.$ac_ext
7598 fi
7599
7600 fi
7601 fi
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7603 $as_echo "$ac_cv_header_stdc" >&6; }
7604 if test $ac_cv_header_stdc = yes; then
7605
7606 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7607
7608 fi
7609
7610 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7611 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7612 inttypes.h stdint.h unistd.h
7613 do :
7614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8268
8269
8270
8271
8272
8273
8274
8275
8276 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8277 then :
8278
8279 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8280
8281 fi
8282 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
76168283 "
7617 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7618 cat >>confdefs.h <<_ACEOF
7619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7620 _ACEOF
7621
7622 fi
7623
7624 done
7625
7626
7627 for ac_header in dlfcn.h
7628 do :
7629 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7630 "
7631 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7632 cat >>confdefs.h <<_ACEOF
7633 #define HAVE_DLFCN_H 1
7634 _ACEOF
7635
7636 fi
7637
7638 done
8284 if test "x$ac_cv_header_dlfcn_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8287
8288 fi
76398289
76408290
76418291
76528302
76538303
76548304 # Check whether --enable-shared was given.
7655 if test "${enable_shared+set}" = set; then :
8305 if test ${enable_shared+y}
8306 then :
76568307 enableval=$enable_shared; p=${PACKAGE-default}
76578308 case $enableval in
76588309 yes) enable_shared=yes ;;
76708321 IFS=$lt_save_ifs
76718322 ;;
76728323 esac
7673 else
8324 else $as_nop
76748325 enable_shared=yes
76758326 fi
76768327
76838334
76848335
76858336 # Check whether --enable-static was given.
7686 if test "${enable_static+set}" = set; then :
8337 if test ${enable_static+y}
8338 then :
76878339 enableval=$enable_static; p=${PACKAGE-default}
76888340 case $enableval in
76898341 yes) enable_static=yes ;;
77018353 IFS=$lt_save_ifs
77028354 ;;
77038355 esac
7704 else
8356 else $as_nop
77058357 enable_static=yes
77068358 fi
77078359
77158367
77168368
77178369 # Check whether --with-pic was given.
7718 if test "${with_pic+set}" = set; then :
8370 if test ${with_pic+y}
8371 then :
77198372 withval=$with_pic; lt_p=${PACKAGE-default}
77208373 case $withval in
77218374 yes|no) pic_mode=$withval ;;
77328385 IFS=$lt_save_ifs
77338386 ;;
77348387 esac
7735 else
8388 else $as_nop
77368389 pic_mode=default
77378390 fi
77388391
77448397
77458398
77468399 # Check whether --enable-fast-install was given.
7747 if test "${enable_fast_install+set}" = set; then :
8400 if test ${enable_fast_install+y}
8401 then :
77488402 enableval=$enable_fast_install; p=${PACKAGE-default}
77498403 case $enableval in
77508404 yes) enable_fast_install=yes ;;
77628416 IFS=$lt_save_ifs
77638417 ;;
77648418 esac
7765 else
8419 else $as_nop
77668420 enable_fast_install=yes
77678421 fi
77688422
77768430 shared_archive_member_spec=
77778431 case $host,$enable_shared in
77788432 power*-*-aix[5-9]*,yes)
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7780 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8434 printf %s "checking which variant of shared library versioning to provide... " >&6; }
77818435
77828436 # Check whether --with-aix-soname was given.
7783 if test "${with_aix_soname+set}" = set; then :
8437 if test ${with_aix_soname+y}
8438 then :
77848439 withval=$with_aix_soname; case $withval in
77858440 aix|svr4|both)
77868441 ;;
77898444 ;;
77908445 esac
77918446 lt_cv_with_aix_soname=$with_aix_soname
7792 else
7793 if ${lt_cv_with_aix_soname+:} false; then :
7794 $as_echo_n "(cached) " >&6
7795 else
8447 else $as_nop
8448 if test ${lt_cv_with_aix_soname+y}
8449 then :
8450 printf %s "(cached) " >&6
8451 else $as_nop
77968452 lt_cv_with_aix_soname=aix
77978453 fi
77988454
77998455 with_aix_soname=$lt_cv_with_aix_soname
78008456 fi
78018457
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7803 $as_echo "$with_aix_soname" >&6; }
8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8459 printf "%s\n" "$with_aix_soname" >&6; }
78048460 if test aix != "$with_aix_soname"; then
78058461 # For the AIX way of multilib, we name the shared archive member
78068462 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
78828538 setopt NO_GLOB_SUBST
78838539 fi
78848540
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7886 $as_echo_n "checking for objdir... " >&6; }
7887 if ${lt_cv_objdir+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
8541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8542 printf %s "checking for objdir... " >&6; }
8543 if test ${lt_cv_objdir+y}
8544 then :
8545 printf %s "(cached) " >&6
8546 else $as_nop
78908547 rm -f .libs 2>/dev/null
78918548 mkdir .libs 2>/dev/null
78928549 if test -d .libs; then
78978554 fi
78988555 rmdir .libs 2>/dev/null
78998556 fi
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7901 $as_echo "$lt_cv_objdir" >&6; }
8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8558 printf "%s\n" "$lt_cv_objdir" >&6; }
79028559 objdir=$lt_cv_objdir
79038560
79048561
79058562
79068563
79078564
7908 cat >>confdefs.h <<_ACEOF
7909 #define LT_OBJDIR "$lt_cv_objdir/"
7910 _ACEOF
8565 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
79118566
79128567
79138568
79288583 ofile=libtool
79298584 can_build_shared=yes
79308585
7931 # All known linkers require a '.a' archive for static linking (except MSVC,
7932 # which needs '.lib').
8586 # All known linkers require a '.a' archive for static linking (except MSVC and
8587 # ICC, which need '.lib').
79338588 libext=a
79348589
79358590 with_gnu_ld=$lt_cv_prog_gnu_ld
79538608 case $deplibs_check_method in
79548609 file_magic*)
79558610 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7957 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7958 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
8611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8612 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8613 if test ${lt_cv_path_MAGIC_CMD+y}
8614 then :
8615 printf %s "(cached) " >&6
8616 else $as_nop
79618617 case $MAGIC_CMD in
79628618 [\\/*] | ?:[\\/]*)
79638619 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
80068662
80078663 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
80088664 if test -n "$MAGIC_CMD"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8010 $as_echo "$MAGIC_CMD" >&6; }
8011 else
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8013 $as_echo "no" >&6; }
8665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8666 printf "%s\n" "$MAGIC_CMD" >&6; }
8667 else
8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8669 printf "%s\n" "no" >&6; }
80148670 fi
80158671
80168672
80198675
80208676 if test -z "$lt_cv_path_MAGIC_CMD"; then
80218677 if test -n "$ac_tool_prefix"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8023 $as_echo_n "checking for file... " >&6; }
8024 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8679 printf %s "checking for file... " >&6; }
8680 if test ${lt_cv_path_MAGIC_CMD+y}
8681 then :
8682 printf %s "(cached) " >&6
8683 else $as_nop
80278684 case $MAGIC_CMD in
80288685 [\\/*] | ?:[\\/]*)
80298686 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
80728729
80738730 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
80748731 if test -n "$MAGIC_CMD"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8076 $as_echo "$MAGIC_CMD" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8733 printf "%s\n" "$MAGIC_CMD" >&6; }
8734 else
8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 printf "%s\n" "no" >&6; }
80808737 fi
80818738
80828739
81618818 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
81628819 esac
81638820
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8165 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8166 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8822 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8823 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8824 then :
8825 printf %s "(cached) " >&6
8826 else $as_nop
81698827 lt_cv_prog_compiler_rtti_exceptions=no
81708828 ac_outfile=conftest.$ac_objext
81718829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
81968854 $RM conftest*
81978855
81988856 fi
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8200 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8858 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
82018859
82028860 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
82038861 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
84389096 lt_prog_compiler_static='-qstaticlink'
84399097 ;;
84409098 *)
8441 case `$CC -V 2>&1 | sed 5q` in
9099 case `$CC -V 2>&1 | $SED 5q` in
84429100 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
84439101 # Sun Fortran 8.3 passes all unrecognized flags to the linker
84449102 lt_prog_compiler_pic='-KPIC'
85549212 ;;
85559213 esac
85569214
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8558 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8559 if ${lt_cv_prog_compiler_pic+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9216 printf %s "checking for $compiler option to produce PIC... " >&6; }
9217 if test ${lt_cv_prog_compiler_pic+y}
9218 then :
9219 printf %s "(cached) " >&6
9220 else $as_nop
85629221 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
85639222 fi
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8565 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9224 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
85669225 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
85679226
85689227 #
85699228 # Check to make sure the PIC flag actually works.
85709229 #
85719230 if test -n "$lt_prog_compiler_pic"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8573 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8574 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8575 $as_echo_n "(cached) " >&6
8576 else
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9232 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9233 if test ${lt_cv_prog_compiler_pic_works+y}
9234 then :
9235 printf %s "(cached) " >&6
9236 else $as_nop
85779237 lt_cv_prog_compiler_pic_works=no
85789238 ac_outfile=conftest.$ac_objext
85799239 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
86049264 $RM conftest*
86059265
86069266 fi
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8608 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9268 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
86099269
86109270 if test yes = "$lt_cv_prog_compiler_pic_works"; then
86119271 case $lt_prog_compiler_pic in
86339293 # Check to make sure the static flag actually works.
86349294 #
86359295 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8637 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8638 if ${lt_cv_prog_compiler_static_works+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9297 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9298 if test ${lt_cv_prog_compiler_static_works+y}
9299 then :
9300 printf %s "(cached) " >&6
9301 else $as_nop
86419302 lt_cv_prog_compiler_static_works=no
86429303 save_LDFLAGS=$LDFLAGS
86439304 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
86619322 LDFLAGS=$save_LDFLAGS
86629323
86639324 fi
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8665 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9326 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
86669327
86679328 if test yes = "$lt_cv_prog_compiler_static_works"; then
86689329 :
86769337
86779338
86789339
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8681 if ${lt_cv_prog_compiler_c_o+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9341 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9342 if test ${lt_cv_prog_compiler_c_o+y}
9343 then :
9344 printf %s "(cached) " >&6
9345 else $as_nop
86849346 lt_cv_prog_compiler_c_o=no
86859347 $RM -r conftest 2>/dev/null
86869348 mkdir conftest
87239385 $RM conftest*
87249386
87259387 fi
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8727 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8728
8729
8730
8731
8732
8733
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8735 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8736 if ${lt_cv_prog_compiler_c_o+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9389 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9390
9391
9392
9393
9394
9395
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9397 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9398 if test ${lt_cv_prog_compiler_c_o+y}
9399 then :
9400 printf %s "(cached) " >&6
9401 else $as_nop
87399402 lt_cv_prog_compiler_c_o=no
87409403 $RM -r conftest 2>/dev/null
87419404 mkdir conftest
87789441 $RM conftest*
87799442
87809443 fi
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8782 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9445 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
87839446
87849447
87859448
87879450 hard_links=nottested
87889451 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
87899452 # do not overwrite the value of need_locks provided by the user
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8791 $as_echo_n "checking if we can lock with hard links... " >&6; }
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9454 printf %s "checking if we can lock with hard links... " >&6; }
87929455 hard_links=yes
87939456 $RM conftest*
87949457 ln conftest.a conftest.b 2>/dev/null && hard_links=no
87959458 touch conftest.a
87969459 ln conftest.a conftest.b 2>&5 || hard_links=no
87979460 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8799 $as_echo "$hard_links" >&6; }
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9462 printf "%s\n" "$hard_links" >&6; }
88009463 if test no = "$hard_links"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8802 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9465 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
88039466 need_locks=warn
88049467 fi
88059468 else
88119474
88129475
88139476
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8815 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9478 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
88169479
88179480 runpath_var=
88189481 allow_undefined_flag=
88569519
88579520 case $host_os in
88589521 cygwin* | mingw* | pw32* | cegcc*)
8859 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9522 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
88609523 # When not using gcc, we currently assume that we are using
8861 # Microsoft Visual C++.
9524 # Microsoft Visual C++ or Intel C++ Compiler.
88629525 if test yes != "$GCC"; then
88639526 with_gnu_ld=no
88649527 fi
88659528 ;;
88669529 interix*)
8867 # we just hope/assume this is gcc and not c89 (= MSVC++)
9530 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
88689531 with_gnu_ld=yes
88699532 ;;
88709533 openbsd* | bitrig*)
89169579 whole_archive_flag_spec=
89179580 fi
89189581 supports_anon_versioning=no
8919 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9582 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
89209583 *GNU\ gold*) supports_anon_versioning=yes ;;
89219584 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
89229585 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
90289691 emximp -o $lib $output_objdir/$libname.def'
90299692 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
90309693 enable_shared_with_static_runtimes=yes
9694 file_list_spec='@'
90319695 ;;
90329696
90339697 interix[3-9]*)
90429706 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
90439707 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
90449708 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9045 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'
9709 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'
90469710 ;;
90479711
90489712 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
90859749 compiler_needs_object=yes
90869750 ;;
90879751 esac
9088 case `$CC -V 2>&1 | sed 5q` in
9752 case `$CC -V 2>&1 | $SED 5q` in
90899753 *Sun\ C*) # Sun C 5.9
90909754 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'
90919755 compiler_needs_object=yes
90979761
90989762 if test yes = "$supports_anon_versioning"; then
90999763 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9100 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9764 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
91019765 echo "local: *; };" >> $output_objdir/$libname.ver~
91029766 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
91039767 fi
91139777 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
91149778 if test yes = "$supports_anon_versioning"; then
91159779 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9116 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9780 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
91179781 echo "local: *; };" >> $output_objdir/$libname.ver~
91189782 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
91199783 fi
92459909 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
92469910 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'
92479911 else
9248 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'
9912 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'
92499913 fi
92509914 aix_use_runtimelinking=no
92519915
936710031 if test set = "${lt_cv_aix_libpath+set}"; then
936810032 aix_libpath=$lt_cv_aix_libpath
936910033 else
9370 if ${lt_cv_aix_libpath_+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
10034 if test ${lt_cv_aix_libpath_+y}
10035 then :
10036 printf %s "(cached) " >&6
10037 else $as_nop
937310038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
937410039 /* end confdefs.h. */
937510040
937610041 int
9377 main ()
10042 main (void)
937810043 {
937910044
938010045 ;
938110046 return 0;
938210047 }
938310048 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
10049 if ac_fn_c_try_link "$LINENO"
10050 then :
938510051
938610052 lt_aix_libpath_sed='
938710053 /Import File Strings/,/^$/ {
939610062 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
939710063 fi
939810064 fi
9399 rm -f core conftest.err conftest.$ac_objext \
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
940010066 conftest$ac_exeext conftest.$ac_ext
940110067 if test -z "$lt_cv_aix_libpath_"; then
940210068 lt_cv_aix_libpath_=/usr/lib:/lib
942010086 if test set = "${lt_cv_aix_libpath+set}"; then
942110087 aix_libpath=$lt_cv_aix_libpath
942210088 else
9423 if ${lt_cv_aix_libpath_+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
10089 if test ${lt_cv_aix_libpath_+y}
10090 then :
10091 printf %s "(cached) " >&6
10092 else $as_nop
942610093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
942710094 /* end confdefs.h. */
942810095
942910096 int
9430 main ()
10097 main (void)
943110098 {
943210099
943310100 ;
943410101 return 0;
943510102 }
943610103 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
10104 if ac_fn_c_try_link "$LINENO"
10105 then :
943810106
943910107 lt_aix_libpath_sed='
944010108 /Import File Strings/,/^$/ {
944910117 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
945010118 fi
945110119 fi
9452 rm -f core conftest.err conftest.$ac_objext \
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
945310121 conftest$ac_exeext conftest.$ac_ext
945410122 if test -z "$lt_cv_aix_libpath_"; then
945510123 lt_cv_aix_libpath_=/usr/lib:/lib
951210180
951310181 cygwin* | mingw* | pw32* | cegcc*)
951410182 # When not using gcc, we currently assume that we are using
9515 # Microsoft Visual C++.
10183 # Microsoft Visual C++ or Intel C++ Compiler.
951610184 # hardcode_libdir_flag_spec is actually meaningless, as there is
951710185 # no search path for DLLs.
951810186 case $cc_basename in
9519 cl*)
9520 # Native MSVC
10187 cl* | icl*)
10188 # Native MSVC or ICC
952110189 hardcode_libdir_flag_spec=' '
952210190 allow_undefined_flag=unsupported
952310191 always_export_symbols=yes
955810226 fi'
955910227 ;;
956010228 *)
9561 # Assume MSVC wrapper
10229 # Assume MSVC and ICC wrapper
956210230 hardcode_libdir_flag_spec=' '
956310231 allow_undefined_flag=unsupported
956410232 # Tell ltmain to make .lib files, not .a files.
959910267 output_verbose_link_cmd=func_echo_all
960010268 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
960110269 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9602 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"
9603 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"
10270 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"
10271 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"
960410272
960510273 else
960610274 ld_shlibs=no
963410302 ;;
963510303
963610304 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9637 freebsd* | dragonfly*)
10305 freebsd* | dragonfly* | midnightbsd*)
963810306 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
963910307 hardcode_libdir_flag_spec='-R$libdir'
964010308 hardcode_direct=yes
970010368
970110369 # Older versions of the 11.00 compiler do not understand -b yet
970210370 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9704 $as_echo_n "checking if $CC understands -b... " >&6; }
9705 if ${lt_cv_prog_compiler__b+:} false; then :
9706 $as_echo_n "(cached) " >&6
9707 else
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10372 printf %s "checking if $CC understands -b... " >&6; }
10373 if test ${lt_cv_prog_compiler__b+y}
10374 then :
10375 printf %s "(cached) " >&6
10376 else $as_nop
970810377 lt_cv_prog_compiler__b=no
970910378 save_LDFLAGS=$LDFLAGS
971010379 LDFLAGS="$LDFLAGS -b"
972810397 LDFLAGS=$save_LDFLAGS
972910398
973010399 fi
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9732 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10401 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
973310402
973410403 if test yes = "$lt_cv_prog_compiler__b"; then
973510404 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
976910438 # work, assume that -exports_file does not work either and
977010439 # implicitly export all symbols.
977110440 # This should be the same for all languages, so no per-tag cache variable.
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9773 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9774 if ${lt_cv_irix_exported_symbol+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10442 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10443 if test ${lt_cv_irix_exported_symbol+y}
10444 then :
10445 printf %s "(cached) " >&6
10446 else $as_nop
977710447 save_LDFLAGS=$LDFLAGS
977810448 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
977910449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
978010450 /* end confdefs.h. */
978110451 int foo (void) { return 0; }
978210452 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
10453 if ac_fn_c_try_link "$LINENO"
10454 then :
978410455 lt_cv_irix_exported_symbol=yes
9785 else
10456 else $as_nop
978610457 lt_cv_irix_exported_symbol=no
978710458 fi
9788 rm -f core conftest.err conftest.$ac_objext \
10459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
978910460 conftest$ac_exeext conftest.$ac_ext
979010461 LDFLAGS=$save_LDFLAGS
979110462 fi
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9793 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10464 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
979410465 if test yes = "$lt_cv_irix_exported_symbol"; then
979510466 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'
979610467 fi
988210553 emximp -o $lib $output_objdir/$libname.def'
988310554 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
988410555 enable_shared_with_static_runtimes=yes
10556 file_list_spec='@'
988510557 ;;
988610558
988710559 osf3*)
1007010742 fi
1007110743 fi
1007210744
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10074 $as_echo "$ld_shlibs" >&6; }
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10746 printf "%s\n" "$ld_shlibs" >&6; }
1007510747 test no = "$ld_shlibs" && can_build_shared=no
1007610748
1007710749 with_gnu_ld=$with_gnu_ld
1010710779 # Test whether the compiler implicitly links with -lc since on some
1010810780 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1010910781 # to ld, don't add -lc before -lgcc.
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10112 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10783 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10784 if test ${lt_cv_archive_cmds_need_lc+y}
10785 then :
10786 printf %s "(cached) " >&6
10787 else $as_nop
1011510788 $RM conftest*
1011610789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1011710790
1011810791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1011910792 (eval $ac_compile) 2>&5
1012010793 ac_status=$?
10121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1012210795 test $ac_status = 0; } 2>conftest.err; then
1012310796 soname=conftest
1012410797 lib=conftest
1013610809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1013710810 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1013810811 ac_status=$?
10139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1014010813 test $ac_status = 0; }
1014110814 then
1014210815 lt_cv_archive_cmds_need_lc=no
1015010823 $RM conftest*
1015110824
1015210825 fi
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10154 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10827 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1015510828 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1015610829 ;;
1015710830 esac
1031010983
1031110984
1031210985
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10314 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10987 printf %s "checking dynamic linker characteristics... " >&6; }
1031510988
1031610989 if test yes = "$GCC"; then
1031710990 case $host_os in
1057311246 case $host_os in
1057411247 cygwin*)
1057511248 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10576 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11249 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1057711250
1057811251 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1057911252 ;;
1058311256 ;;
1058411257 pw32*)
1058511258 # pw32 DLLs use 'pw' prefix rather than 'lib'
10586 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11259 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1058711260 ;;
1058811261 esac
1058911262 dynamic_linker='Win32 ld.exe'
1059011263 ;;
1059111264
10592 *,cl*)
10593 # Native MSVC
11265 *,cl* | *,icl*)
11266 # Native MSVC or ICC
1059411267 libname_spec='$name'
1059511268 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1059611269 library_names_spec='$libname.dll.lib'
1060911282 done
1061011283 IFS=$lt_save_ifs
1061111284 # Convert to MSYS style.
10612 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11285 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1061311286 ;;
1061411287 cygwin*)
1061511288 # Convert to unix form, then to dos form, then back to unix form
1064611319 ;;
1064711320
1064811321 *)
10649 # Assume MSVC wrapper
11322 # Assume MSVC and ICC wrapper
1065011323 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1065111324 dynamic_linker='Win32 ld.exe'
1065211325 ;;
1067911352 shlibpath_var=LD_LIBRARY_PATH
1068011353 ;;
1068111354
10682 freebsd* | dragonfly*)
11355 freebsd* | dragonfly* | midnightbsd*)
1068311356 # DragonFly does not have aout. When/if they implement a new
1068411357 # versioning mechanism, adjust this.
1068511358 if test -x /usr/bin/objformat; then
1087211545 shlibpath_overrides_runpath=no
1087311546
1087411547 # Some binutils ld are patched to set DT_RUNPATH
10875 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
11548 if test ${lt_cv_shlibpath_overrides_runpath+y}
11549 then :
11550 printf %s "(cached) " >&6
11551 else $as_nop
1087811552 lt_cv_shlibpath_overrides_runpath=no
1087911553 save_LDFLAGS=$LDFLAGS
1088011554 save_libdir=$libdir
1088411558 /* end confdefs.h. */
1088511559
1088611560 int
10887 main ()
11561 main (void)
1088811562 {
1088911563
1089011564 ;
1089111565 return 0;
1089211566 }
1089311567 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11568 if ac_fn_c_try_link "$LINENO"
11569 then :
11570 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11571 then :
1089611572 lt_cv_shlibpath_overrides_runpath=yes
1089711573 fi
1089811574 fi
10899 rm -f core conftest.err conftest.$ac_objext \
11575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1090011576 conftest$ac_exeext conftest.$ac_ext
1090111577 LDFLAGS=$save_LDFLAGS
1090211578 libdir=$save_libdir
1112811804 dynamic_linker=no
1112911805 ;;
1113011806 esac
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11132 $as_echo "$dynamic_linker" >&6; }
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11808 printf "%s\n" "$dynamic_linker" >&6; }
1113311809 test no = "$dynamic_linker" && can_build_shared=no
1113411810
1113511811 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1125011926
1125111927
1125211928
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11254 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11930 printf %s "checking how to hardcode library paths into programs... " >&6; }
1125511931 hardcode_action=
1125611932 if test -n "$hardcode_libdir_flag_spec" ||
1125711933 test -n "$runpath_var" ||
1127511951 # directories.
1127611952 hardcode_action=unsupported
1127711953 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11279 $as_echo "$hardcode_action" >&6; }
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11955 printf "%s\n" "$hardcode_action" >&6; }
1128011956
1128111957 if test relink = "$hardcode_action" ||
1128211958 test yes = "$inherit_rpath"; then
1132011996
1132111997 darwin*)
1132211998 # if libdl is installed we need to link against it
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11324 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11325 if ${ac_cv_lib_dl_dlopen+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12000 printf %s "checking for dlopen in -ldl... " >&6; }
12001 if test ${ac_cv_lib_dl_dlopen+y}
12002 then :
12003 printf %s "(cached) " >&6
12004 else $as_nop
1132812005 ac_check_lib_save_LIBS=$LIBS
1132912006 LIBS="-ldl $LIBS"
1133012007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1133312010 /* Override any GCC internal prototype to avoid an error.
1133412011 Use char because int might match the return type of a GCC
1133512012 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
1133912013 char dlopen ();
1134012014 int
11341 main ()
12015 main (void)
1134212016 {
1134312017 return dlopen ();
1134412018 ;
1134512019 return 0;
1134612020 }
1134712021 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
12022 if ac_fn_c_try_link "$LINENO"
12023 then :
1134912024 ac_cv_lib_dl_dlopen=yes
11350 else
12025 else $as_nop
1135112026 ac_cv_lib_dl_dlopen=no
1135212027 fi
11353 rm -f core conftest.err conftest.$ac_objext \
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1135412029 conftest$ac_exeext conftest.$ac_ext
1135512030 LIBS=$ac_check_lib_save_LIBS
1135612031 fi
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11358 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11359 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12033 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12034 if test "x$ac_cv_lib_dl_dlopen" = xyes
12035 then :
1136012036 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11361 else
12037 else $as_nop
1136212038
1136312039 lt_cv_dlopen=dyld
1136412040 lt_cv_dlopen_libs=
1137812054
1137912055 *)
1138012056 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11381 if test "x$ac_cv_func_shl_load" = xyes; then :
12057 if test "x$ac_cv_func_shl_load" = xyes
12058 then :
1138212059 lt_cv_dlopen=shl_load
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11385 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11386 if ${ac_cv_lib_dld_shl_load+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
12060 else $as_nop
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12062 printf %s "checking for shl_load in -ldld... " >&6; }
12063 if test ${ac_cv_lib_dld_shl_load+y}
12064 then :
12065 printf %s "(cached) " >&6
12066 else $as_nop
1138912067 ac_check_lib_save_LIBS=$LIBS
1139012068 LIBS="-ldld $LIBS"
1139112069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1139412072 /* Override any GCC internal prototype to avoid an error.
1139512073 Use char because int might match the return type of a GCC
1139612074 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
1140012075 char shl_load ();
1140112076 int
11402 main ()
12077 main (void)
1140312078 {
1140412079 return shl_load ();
1140512080 ;
1140612081 return 0;
1140712082 }
1140812083 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
12084 if ac_fn_c_try_link "$LINENO"
12085 then :
1141012086 ac_cv_lib_dld_shl_load=yes
11411 else
12087 else $as_nop
1141212088 ac_cv_lib_dld_shl_load=no
1141312089 fi
11414 rm -f core conftest.err conftest.$ac_objext \
12090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1141512091 conftest$ac_exeext conftest.$ac_ext
1141612092 LIBS=$ac_check_lib_save_LIBS
1141712093 fi
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11419 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11420 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12095 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12096 if test "x$ac_cv_lib_dld_shl_load" = xyes
12097 then :
1142112098 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11422 else
12099 else $as_nop
1142312100 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11424 if test "x$ac_cv_func_dlopen" = xyes; then :
12101 if test "x$ac_cv_func_dlopen" = xyes
12102 then :
1142512103 lt_cv_dlopen=dlopen
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11429 if ${ac_cv_lib_dl_dlopen+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
12104 else $as_nop
12105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12106 printf %s "checking for dlopen in -ldl... " >&6; }
12107 if test ${ac_cv_lib_dl_dlopen+y}
12108 then :
12109 printf %s "(cached) " >&6
12110 else $as_nop
1143212111 ac_check_lib_save_LIBS=$LIBS
1143312112 LIBS="-ldl $LIBS"
1143412113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1143712116 /* Override any GCC internal prototype to avoid an error.
1143812117 Use char because int might match the return type of a GCC
1143912118 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
1144312119 char dlopen ();
1144412120 int
11445 main ()
12121 main (void)
1144612122 {
1144712123 return dlopen ();
1144812124 ;
1144912125 return 0;
1145012126 }
1145112127 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
12128 if ac_fn_c_try_link "$LINENO"
12129 then :
1145312130 ac_cv_lib_dl_dlopen=yes
11454 else
12131 else $as_nop
1145512132 ac_cv_lib_dl_dlopen=no
1145612133 fi
11457 rm -f core conftest.err conftest.$ac_objext \
12134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1145812135 conftest$ac_exeext conftest.$ac_ext
1145912136 LIBS=$ac_check_lib_save_LIBS
1146012137 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12139 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12140 if test "x$ac_cv_lib_dl_dlopen" = xyes
12141 then :
1146412142 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if ${ac_cv_lib_svld_dlopen+:} false; then :
11469 $as_echo_n "(cached) " >&6
11470 else
12143 else $as_nop
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12145 printf %s "checking for dlopen in -lsvld... " >&6; }
12146 if test ${ac_cv_lib_svld_dlopen+y}
12147 then :
12148 printf %s "(cached) " >&6
12149 else $as_nop
1147112150 ac_check_lib_save_LIBS=$LIBS
1147212151 LIBS="-lsvld $LIBS"
1147312152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1147612155 /* Override any GCC internal prototype to avoid an error.
1147712156 Use char because int might match the return type of a GCC
1147812157 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
1148212158 char dlopen ();
1148312159 int
11484 main ()
12160 main (void)
1148512161 {
1148612162 return dlopen ();
1148712163 ;
1148812164 return 0;
1148912165 }
1149012166 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"; then :
12167 if ac_fn_c_try_link "$LINENO"
12168 then :
1149212169 ac_cv_lib_svld_dlopen=yes
11493 else
12170 else $as_nop
1149412171 ac_cv_lib_svld_dlopen=no
1149512172 fi
11496 rm -f core conftest.err conftest.$ac_objext \
12173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1149712174 conftest$ac_exeext conftest.$ac_ext
1149812175 LIBS=$ac_check_lib_save_LIBS
1149912176 fi
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11501 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11502 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12178 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12179 if test "x$ac_cv_lib_svld_dlopen" = xyes
12180 then :
1150312181 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11506 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11507 if ${ac_cv_lib_dld_dld_link+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
12182 else $as_nop
12183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12184 printf %s "checking for dld_link in -ldld... " >&6; }
12185 if test ${ac_cv_lib_dld_dld_link+y}
12186 then :
12187 printf %s "(cached) " >&6
12188 else $as_nop
1151012189 ac_check_lib_save_LIBS=$LIBS
1151112190 LIBS="-ldld $LIBS"
1151212191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1151512194 /* Override any GCC internal prototype to avoid an error.
1151612195 Use char because int might match the return type of a GCC
1151712196 builtin and then its argument prototype would still apply. */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
1152112197 char dld_link ();
1152212198 int
11523 main ()
12199 main (void)
1152412200 {
1152512201 return dld_link ();
1152612202 ;
1152712203 return 0;
1152812204 }
1152912205 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
12206 if ac_fn_c_try_link "$LINENO"
12207 then :
1153112208 ac_cv_lib_dld_dld_link=yes
11532 else
12209 else $as_nop
1153312210 ac_cv_lib_dld_dld_link=no
1153412211 fi
11535 rm -f core conftest.err conftest.$ac_objext \
12212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1153612213 conftest$ac_exeext conftest.$ac_ext
1153712214 LIBS=$ac_check_lib_save_LIBS
1153812215 fi
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11540 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11541 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12217 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12218 if test "x$ac_cv_lib_dld_dld_link" = xyes
12219 then :
1154212220 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1154312221 fi
1154412222
1157712255 save_LIBS=$LIBS
1157812256 LIBS="$lt_cv_dlopen_libs $LIBS"
1157912257
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11581 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11582 if ${lt_cv_dlopen_self+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12259 printf %s "checking whether a program can dlopen itself... " >&6; }
12260 if test ${lt_cv_dlopen_self+y}
12261 then :
12262 printf %s "(cached) " >&6
12263 else $as_nop
1158512264 if test yes = "$cross_compiling"; then :
1158612265 lt_cv_dlopen_self=cross
1158712266 else
1166012339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1166112340 (eval $ac_link) 2>&5
1166212341 ac_status=$?
11663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1166412343 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1166512344 (./conftest; exit; ) >&5 2>/dev/null
1166612345 lt_status=$?
1167812357
1167912358
1168012359 fi
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11682 $as_echo "$lt_cv_dlopen_self" >&6; }
12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12361 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1168312362
1168412363 if test yes = "$lt_cv_dlopen_self"; then
1168512364 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11687 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11688 if ${lt_cv_dlopen_self_static+:} false; then :
11689 $as_echo_n "(cached) " >&6
11690 else
12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12366 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12367 if test ${lt_cv_dlopen_self_static+y}
12368 then :
12369 printf %s "(cached) " >&6
12370 else $as_nop
1169112371 if test yes = "$cross_compiling"; then :
1169212372 lt_cv_dlopen_self_static=cross
1169312373 else
1176612446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1176712447 (eval $ac_link) 2>&5
1176812448 ac_status=$?
11769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1177012450 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1177112451 (./conftest; exit; ) >&5 2>/dev/null
1177212452 lt_status=$?
1178412464
1178512465
1178612466 fi
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11788 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12468 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1178912469 fi
1179012470
1179112471 CPPFLAGS=$save_CPPFLAGS
1182312503
1182412504 striplib=
1182512505 old_striplib=
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11827 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11828 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11829 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11830 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11832 $as_echo "yes" >&6; }
11833 else
11834 # FIXME - insert some real tests, host_os isn't really good enough
11835 case $host_os in
11836 darwin*)
11837 if test -n "$STRIP"; then
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12507 printf %s "checking whether stripping libraries is possible... " >&6; }
12508 if test -z "$STRIP"; then
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 printf "%s\n" "no" >&6; }
12511 else
12512 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12513 old_striplib="$STRIP --strip-debug"
12514 striplib="$STRIP --strip-unneeded"
12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12516 printf "%s\n" "yes" >&6; }
12517 else
12518 case $host_os in
12519 darwin*)
12520 # FIXME - insert some real tests, host_os isn't really good enough
1183812521 striplib="$STRIP -x"
1183912522 old_striplib="$STRIP -S"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11842 else
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11845 fi
11846 ;;
11847 *)
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11850 ;;
11851 esac
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12524 printf "%s\n" "yes" >&6; }
12525 ;;
12526 freebsd*)
12527 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12528 old_striplib="$STRIP --strip-debug"
12529 striplib="$STRIP --strip-unneeded"
12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12531 printf "%s\n" "yes" >&6; }
12532 else
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 printf "%s\n" "no" >&6; }
12535 fi
12536 ;;
12537 *)
12538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539 printf "%s\n" "no" >&6; }
12540 ;;
12541 esac
12542 fi
1185212543 fi
1185312544
1185412545
1186312554
1186412555
1186512556 # Report what library types will actually be built
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11867 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11869 $as_echo "$can_build_shared" >&6; }
11870
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11872 $as_echo_n "checking whether to build shared libraries... " >&6; }
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12558 printf %s "checking if libtool supports shared libraries... " >&6; }
12559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12560 printf "%s\n" "$can_build_shared" >&6; }
12561
12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12563 printf %s "checking whether to build shared libraries... " >&6; }
1187312564 test no = "$can_build_shared" && enable_shared=no
1187412565
1187512566 # On AIX, shared libraries and static libraries use the same namespace, and
1189312584 fi
1189412585 ;;
1189512586 esac
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11897 $as_echo "$enable_shared" >&6; }
11898
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11900 $as_echo_n "checking whether to build static libraries... " >&6; }
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12588 printf "%s\n" "$enable_shared" >&6; }
12589
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12591 printf %s "checking whether to build static libraries... " >&6; }
1190112592 # Make sure either enable_shared or enable_static is yes.
1190212593 test yes = "$enable_shared" || enable_static=yes
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11904 $as_echo "$enable_static" >&6; }
12594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12595 printf "%s\n" "$enable_static" >&6; }
1190512596
1190612597
1190712598
1194112632
1194212633
1194312634 # Check whether --with-pkgconfigdir was given.
11944 if test "${with_pkgconfigdir+set}" = set; then :
12635 if test ${with_pkgconfigdir+y}
12636 then :
1194512637 withval=$with_pkgconfigdir;
11946 else
12638 else $as_nop
1194712639 with_pkgconfigdir='${libdir}/pkgconfig'
1194812640 fi
1194912641
1195512647
1195612648 # Use silent rules by default if supported by Automake
1195712649 # Check whether --enable-silent-rules was given.
11958 if test "${enable_silent_rules+set}" = set; then :
12650 if test ${enable_silent_rules+y}
12651 then :
1195912652 enableval=$enable_silent_rules;
1196012653 fi
1196112654
1196512658 *) AM_DEFAULT_VERBOSITY=0;;
1196612659 esac
1196712660 am_make=${MAKE-make}
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
11969 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
11970 if ${am_cv_make_support_nested_variables+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 if $as_echo 'TRUE=$(BAR$(V))
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12662 printf %s "checking whether $am_make supports nested variables... " >&6; }
12663 if test ${am_cv_make_support_nested_variables+y}
12664 then :
12665 printf %s "(cached) " >&6
12666 else $as_nop
12667 if printf "%s\n" 'TRUE=$(BAR$(V))
1197412668 BAR0=false
1197512669 BAR1=true
1197612670 V=1
1198212676 am_cv_make_support_nested_variables=no
1198312677 fi
1198412678 fi
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
11986 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12680 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
1198712681 if test $am_cv_make_support_nested_variables = yes; then
1198812682 AM_V='$(V)'
1198912683 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1200012694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1200112695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1200212696
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
12004 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
12005 if ${ac_cv_cflags_warn_all+:} false; then :
12006 $as_echo_n "(cached) " >&6
12007 else
12697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
12698 printf %s "checking CFLAGS for maximum warnings... " >&6; }
12699 if test ${ac_cv_cflags_warn_all+y}
12700 then :
12701 printf %s "(cached) " >&6
12702 else $as_nop
1200812703 ac_cv_cflags_warn_all="no, unknown"
1200912704 ac_save_CFLAGS="$CFLAGS"
1201012705 for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
1201312708 /* end confdefs.h. */
1201412709
1201512710 int
12016 main ()
12711 main (void)
1201712712 {
1201812713
1201912714 ;
1202012715 return 0;
1202112716 }
1202212717 _ACEOF
12023 if ac_fn_c_try_compile "$LINENO"; then :
12718 if ac_fn_c_try_compile "$LINENO"
12719 then :
1202412720 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
1202512721 fi
12026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1202712723 done
1202812724 CFLAGS="$ac_save_CFLAGS"
1202912725
1203012726 fi
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12032 $as_echo "$ac_cv_cflags_warn_all" >&6; }
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12728 printf "%s\n" "$ac_cv_cflags_warn_all" >&6; }
1203312729
1203412730
1203512731 case ".$ac_cv_cflags_warn_all" in
1203612732 .ok|.ok,*) ;;
1203712733 .|.no|.no,*) ;;
1203812734 *)
12039 if ${CFLAGS+:} false; then :
12735 if test ${CFLAGS+y}
12736 then :
1204012737
1204112738 case " $CFLAGS " in #(
1204212739 *" $ac_cv_cflags_warn_all "*) :
12043 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
12740 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
1204412741 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
1204512742 ac_status=$?
12046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1204712744 test $ac_status = 0; } ;; #(
1204812745 *) :
1204912746
1205012747 as_fn_append CFLAGS " $ac_cv_cflags_warn_all"
12051 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12748 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1205212749 (: CFLAGS="$CFLAGS") 2>&5
1205312750 ac_status=$?
12054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1205512752 test $ac_status = 0; }
1205612753 ;;
1205712754 esac
1205812755
12059 else
12756 else $as_nop
1206012757
1206112758 CFLAGS=$ac_cv_cflags_warn_all
12062 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12759 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1206312760 (: CFLAGS="$CFLAGS") 2>&5
1206412761 ac_status=$?
12065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1206612763 test $ac_status = 0; }
1206712764
1206812765 fi
1208112778
1208212779
1208312780 for flag in -Wwrite-strings; do
12084 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12086 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12087 if eval \${$as_CACHEVAR+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12781 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
12782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12783 printf %s "checking whether C compiler accepts $flag... " >&6; }
12784 if eval test \${$as_CACHEVAR+y}
12785 then :
12786 printf %s "(cached) " >&6
12787 else $as_nop
1209012788
1209112789 ax_check_save_flags=$CFLAGS
1209212790 CFLAGS="$CFLAGS $flag"
1209412792 /* end confdefs.h. */
1209512793
1209612794 int
12097 main ()
12795 main (void)
1209812796 {
1209912797
1210012798 ;
1210112799 return 0;
1210212800 }
1210312801 _ACEOF
12104 if ac_fn_c_try_compile "$LINENO"; then :
12802 if ac_fn_c_try_compile "$LINENO"
12803 then :
1210512804 eval "$as_CACHEVAR=yes"
12106 else
12805 else $as_nop
1210712806 eval "$as_CACHEVAR=no"
1210812807 fi
12109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1211012809 CFLAGS=$ax_check_save_flags
1211112810 fi
1211212811 eval ac_res=\$$as_CACHEVAR
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12114 $as_echo "$ac_res" >&6; }
12115 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12116
12117 if ${CFLAGS+:} false; then :
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12813 printf "%s\n" "$ac_res" >&6; }
12814 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
12815 then :
12816
12817 if test ${CFLAGS+y}
12818 then :
1211812819
1211912820 case " $CFLAGS " in #(
1212012821 *" $flag "*) :
12121 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12822 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1212212823 (: CFLAGS already contains $flag) 2>&5
1212312824 ac_status=$?
12124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1212512826 test $ac_status = 0; } ;; #(
1212612827 *) :
1212712828
1212812829 as_fn_append CFLAGS " $flag"
12129 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12830 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1213012831 (: CFLAGS="$CFLAGS") 2>&5
1213112832 ac_status=$?
12132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1213312834 test $ac_status = 0; }
1213412835 ;;
1213512836 esac
1213612837
12137 else
12838 else $as_nop
1213812839
1213912840 CFLAGS=$flag
12140 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12841 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1214112842 (: CFLAGS="$CFLAGS") 2>&5
1214212843 ac_status=$?
12143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1214412845 test $ac_status = 0; }
1214512846
1214612847 fi
1214712848
12148 else
12849 else $as_nop
1214912850 :
1215012851 fi
1215112852
1215312854
1215412855
1215512856 # Check whether --enable-tests was given.
12156 if test "${enable_tests+set}" = set; then :
12857 if test ${enable_tests+y}
12858 then :
1215712859 enableval=$enable_tests;
12158 else
12860 else $as_nop
1215912861 enable_tests=no
1216012862 fi
1216112863
1219812900 case $ac_val in #(
1219912901 *${as_nl}*)
1220012902 case $ac_var in #(
12201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12903 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12904 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1220312905 esac
1220412906 case $ac_var in #(
1220512907 _ | IFS | as_nl) ;; #(
1222912931 /^ac_cv_env_/b end
1223012932 t clear
1223112933 :clear
12232 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12934 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1223312935 t end
1223412936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1223512937 :end' >>confcache
1223612938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1223712939 if test -w "$cache_file"; then
1223812940 if test "x$cache_file" != "x/dev/null"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12240 $as_echo "$as_me: updating cache $cache_file" >&6;}
12941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12942 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1224112943 if test ! -f "$cache_file" || test -h "$cache_file"; then
1224212944 cat confcache >"$cache_file"
1224312945 else
1225112953 fi
1225212954 fi
1225312955 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12255 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12957 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1225612958 fi
1225712959 fi
1225812960 rm -f confcache
1226912971 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1227012972 # 1. Remove the extension, and $U if already installed.
1227112973 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12272 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12974 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1227312975 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1227412976 # will be set to the directory where LIBOBJS objects are built.
1227512977 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1228012982 LTLIBOBJS=$ac_ltlibobjs
1228112983
1228212984
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12284 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12986 printf %s "checking that generated files are newer than configure... " >&6; }
1228512987 if test -n "$am_sleep_pid"; then
1228612988 # Hide warnings about reused PIDs.
1228712989 wait $am_sleep_pid 2>/dev/null
1228812990 fi
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12290 $as_echo "done" >&6; }
12991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
12992 printf "%s\n" "done" >&6; }
1229112993 if test -n "$EXEEXT"; then
1229212994 am__EXEEXT_TRUE=
1229312995 am__EXEEXT_FALSE='#'
1231313015 ac_write_fail=0
1231413016 ac_clean_files_save=$ac_clean_files
1231513017 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12317 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13019 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1231813020 as_write_fail=0
1231913021 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1232013022 #! $SHELL
1233713039
1233813040 # Be more Bourne compatible
1233913041 DUALCASE=1; export DUALCASE # for MKS sh
12340 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13042 as_nop=:
13043 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
13044 then :
1234113045 emulate sh
1234213046 NULLCMD=:
1234313047 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1234413048 # is contrary to our usage. Disable this feature.
1234513049 alias -g '${1+"$@"}'='"$@"'
1234613050 setopt NO_GLOB_SUBST
12347 else
13051 else $as_nop
1234813052 case `(set -o) 2>/dev/null` in #(
1234913053 *posix*) :
1235013054 set -o posix ;; #(
1235413058 fi
1235513059
1235613060
13061
13062 # Reset variables that may have inherited troublesome values from
13063 # the environment.
13064
13065 # IFS needs to be set, to space, tab, and newline, in precisely that order.
13066 # (If _AS_PATH_WALK were called with IFS unset, it would have the
13067 # side effect of setting IFS to empty, thus disabling word splitting.)
13068 # Quoting is to prevent editors from complaining about space-tab.
1235713069 as_nl='
1235813070 '
1235913071 export as_nl
12360 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12361 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12363 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12364 # Prefer a ksh shell builtin over an external printf program on Solaris,
12365 # but without wasting forks for bash or zsh.
12366 if test -z "$BASH_VERSION$ZSH_VERSION" \
12367 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12368 as_echo='print -r --'
12369 as_echo_n='print -rn --'
12370 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12371 as_echo='printf %s\n'
12372 as_echo_n='printf %s'
12373 else
12374 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12375 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12376 as_echo_n='/usr/ucb/echo -n'
12377 else
12378 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12379 as_echo_n_body='eval
12380 arg=$1;
12381 case $arg in #(
12382 *"$as_nl"*)
12383 expr "X$arg" : "X\\(.*\\)$as_nl";
12384 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12385 esac;
12386 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12387 '
12388 export as_echo_n_body
12389 as_echo_n='sh -c $as_echo_n_body as_echo'
12390 fi
12391 export as_echo_body
12392 as_echo='sh -c $as_echo_body as_echo'
12393 fi
13072 IFS=" "" $as_nl"
13073
13074 PS1='$ '
13075 PS2='> '
13076 PS4='+ '
13077
13078 # Ensure predictable behavior from utilities with locale-dependent output.
13079 LC_ALL=C
13080 export LC_ALL
13081 LANGUAGE=C
13082 export LANGUAGE
13083
13084 # We cannot yet rely on "unset" to work, but we need these variables
13085 # to be unset--not just set to an empty or harmless value--now, to
13086 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
13087 # also avoids known problems related to "unset" and subshell syntax
13088 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
13089 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
13090 do eval test \${$as_var+y} \
13091 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13092 done
13093
13094 # Ensure that fds 0, 1, and 2 are open.
13095 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
13096 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
13097 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1239413098
1239513099 # The user is always right.
12396 if test "${PATH_SEPARATOR+set}" != set; then
13100 if ${PATH_SEPARATOR+false} :; then
1239713101 PATH_SEPARATOR=:
1239813102 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1239913103 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1240113105 }
1240213106 fi
1240313107
12404
12405 # IFS
12406 # We need space, tab and new line, in precisely that order. Quoting is
12407 # there to prevent editors from complaining about space-tab.
12408 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12409 # splitting by setting IFS to empty value.)
12410 IFS=" "" $as_nl"
1241113108
1241213109 # Find who we are. Look in the path if we contain no directory separator.
1241313110 as_myself=
1241713114 for as_dir in $PATH
1241813115 do
1241913116 IFS=$as_save_IFS
12420 test -z "$as_dir" && as_dir=.
12421 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13117 case $as_dir in #(((
13118 '') as_dir=./ ;;
13119 */) ;;
13120 *) as_dir=$as_dir/ ;;
13121 esac
13122 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1242213123 done
1242313124 IFS=$as_save_IFS
1242413125
1243013131 as_myself=$0
1243113132 fi
1243213133 if test ! -f "$as_myself"; then
12433 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13134 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1243413135 exit 1
1243513136 fi
1243613137
12437 # Unset variables that we do not need and which cause bugs (e.g. in
12438 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12439 # suppresses any "Segmentation fault" message there. '((' could
12440 # trigger a bug in pdksh 5.2.14.
12441 for as_var in BASH_ENV ENV MAIL MAILPATH
12442 do eval test x\${$as_var+set} = xset \
12443 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12444 done
12445 PS1='$ '
12446 PS2='> '
12447 PS4='+ '
12448
12449 # NLS nuisances.
12450 LC_ALL=C
12451 export LC_ALL
12452 LANGUAGE=C
12453 export LANGUAGE
12454
12455 # CDPATH.
12456 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1245713138
1245813139
1245913140 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1246613147 as_status=$1; test $as_status -eq 0 && as_status=1
1246713148 if test "$4"; then
1246813149 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12469 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1247013151 fi
12471 $as_echo "$as_me: error: $2" >&2
13152 printf "%s\n" "$as_me: error: $2" >&2
1247213153 as_fn_exit $as_status
1247313154 } # as_fn_error
13155
1247413156
1247513157
1247613158 # as_fn_set_status STATUS
1249913181 { eval $1=; unset $1;}
1250013182 }
1250113183 as_unset=as_fn_unset
13184
1250213185 # as_fn_append VAR VALUE
1250313186 # ----------------------
1250413187 # Append the text in VALUE to the end of the definition contained in VAR. Take
1250513188 # advantage of any shell optimizations that allow amortized linear growth over
1250613189 # repeated appends, instead of the typical quadratic growth present in naive
1250713190 # implementations.
12508 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13191 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
13192 then :
1250913193 eval 'as_fn_append ()
1251013194 {
1251113195 eval $1+=\$2
1251213196 }'
12513 else
13197 else $as_nop
1251413198 as_fn_append ()
1251513199 {
1251613200 eval $1=\$$1\$2
1252213206 # Perform arithmetic evaluation on the ARGs, and store the result in the
1252313207 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1252413208 # must be portable across $(()) and expr.
12525 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13209 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
13210 then :
1252613211 eval 'as_fn_arith ()
1252713212 {
1252813213 as_val=$(( $* ))
1252913214 }'
12530 else
13215 else $as_nop
1253113216 as_fn_arith ()
1253213217 {
1253313218 as_val=`expr "$@" || test $? -eq 1`
1255813243 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1255913244 X"$0" : 'X\(//\)$' \| \
1256013245 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12561 $as_echo X/"$0" |
13246 printf "%s\n" X/"$0" |
1256213247 sed '/^.*\/\([^/][^/]*\)\/*$/{
1256313248 s//\1/
1256413249 q
1258013265 as_cr_digits='0123456789'
1258113266 as_cr_alnum=$as_cr_Letters$as_cr_digits
1258213267
13268
13269 # Determine whether it's possible to make 'echo' print without a newline.
13270 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
13271 # for compatibility with existing Makefiles.
1258313272 ECHO_C= ECHO_N= ECHO_T=
1258413273 case `echo -n x` in #(((((
1258513274 -n*)
1259213281 *)
1259313282 ECHO_N='-n';;
1259413283 esac
13284
13285 # For backward compatibility with old third-party macros, we provide
13286 # the shell variables $as_echo and $as_echo_n. New code should use
13287 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
13288 as_echo='printf %s\n'
13289 as_echo_n='printf %s'
1259513290
1259613291 rm -f conf$$ conf$$.exe conf$$.file
1259713292 if test -d conf$$.dir; then
1263413329 as_dirs=
1263513330 while :; do
1263613331 case $as_dir in #(
12637 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13332 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1263813333 *) as_qdir=$as_dir;;
1263913334 esac
1264013335 as_dirs="'$as_qdir' $as_dirs"
1264313338 X"$as_dir" : 'X\(//\)[^/]' \| \
1264413339 X"$as_dir" : 'X\(//\)$' \| \
1264513340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12646 $as_echo X"$as_dir" |
13341 printf "%s\n" X"$as_dir" |
1264713342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264813343 s//\1/
1264913344 q
1270613401 # values after options handling.
1270713402 ac_log="
1270813403 This file was extended by libpainter $as_me 0.1.1, which was
12709 generated by GNU Autoconf 2.69. Invocation command line was
13404 generated by GNU Autoconf 2.71. Invocation command line was
1271013405
1271113406 CONFIG_FILES = $CONFIG_FILES
1271213407 CONFIG_HEADERS = $CONFIG_HEADERS
1276813463 Report bugs to <xrdp-devel@googlegroups.com>."
1276913464
1277013465 _ACEOF
13466 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
13467 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1277113468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12772 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13469 ac_cs_config='$ac_cs_config_escaped'
1277313470 ac_cs_version="\\
1277413471 libpainter config.status 0.1.1
12775 configured by $0, generated by GNU Autoconf 2.69,
13472 configured by $0, generated by GNU Autoconf 2.71,
1277613473 with options \\"\$ac_cs_config\\"
1277713474
12778 Copyright (C) 2012 Free Software Foundation, Inc.
13475 Copyright (C) 2021 Free Software Foundation, Inc.
1277913476 This config.status script is free software; the Free Software Foundation
1278013477 gives unlimited permission to copy, distribute and modify it."
1278113478
1281513512 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1281613513 ac_cs_recheck=: ;;
1281713514 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12818 $as_echo "$ac_cs_version"; exit ;;
13515 printf "%s\n" "$ac_cs_version"; exit ;;
1281913516 --config | --confi | --conf | --con | --co | --c )
12820 $as_echo "$ac_cs_config"; exit ;;
13517 printf "%s\n" "$ac_cs_config"; exit ;;
1282113518 --debug | --debu | --deb | --de | --d | -d )
1282213519 debug=: ;;
1282313520 --file | --fil | --fi | --f )
1282413521 $ac_shift
1282513522 case $ac_optarg in
12826 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13523 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282713524 '') as_fn_error $? "missing file argument" ;;
1282813525 esac
1282913526 as_fn_append CONFIG_FILES " '$ac_optarg'"
1283113528 --header | --heade | --head | --hea )
1283213529 $ac_shift
1283313530 case $ac_optarg in
12834 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13531 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1283513532 esac
1283613533 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1283713534 ac_need_defaults=false;;
1284013537 as_fn_error $? "ambiguous option: \`$1'
1284113538 Try \`$0 --help' for more information.";;
1284213539 --help | --hel | -h )
12843 $as_echo "$ac_cs_usage"; exit ;;
13540 printf "%s\n" "$ac_cs_usage"; exit ;;
1284413541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284513542 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1284613543 ac_cs_silent=: ;;
1286813565 if \$ac_cs_recheck; then
1286913566 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1287013567 shift
12871 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13568 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1287213569 CONFIG_SHELL='$SHELL'
1287313570 export CONFIG_SHELL
1287413571 exec "\$@"
1288213579 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1288313580 ## Running $as_me. ##
1288413581 _ASBOX
12885 $as_echo "$ac_log"
13582 printf "%s\n" "$ac_log"
1288613583 } >&5
1288713584
1288813585 _ACEOF
1293413631 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
1293513632 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
1293613633 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13634 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1293713635 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1293813636 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
1293913637 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
1294213640 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
1294313641 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
1294413642 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13643 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1294513644 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
1294613645 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
1294713646 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
1306213761 lt_SP2NL \
1306313762 lt_NL2SP \
1306413763 reload_flag \
13764 FILECMD \
1306513765 OBJDUMP \
1306613766 deplibs_check_method \
1306713767 file_magic_cmd \
1307013770 DLLTOOL \
1307113771 sharedlib_from_linklib_cmd \
1307213772 AR \
13073 AR_FLAGS \
1307413773 archiver_list_spec \
1307513774 STRIP \
1307613775 RANLIB \
1320413903 # We use the long form for the default assignment because of an extremely
1320513904 # bizarre bug on SunOS 4.1.3.
1320613905 if $ac_need_defaults; then
13207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13209 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13906 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
13907 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
13908 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1321013909 fi
1321113910
1321213911 # Have a temporary directory for convenience. Make it in the build tree
1354214241 esac ||
1354314242 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1354414243 esac
13545 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14244 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1354614245 as_fn_append ac_file_inputs " '$ac_f'"
1354714246 done
1354814247
1355014249 # use $as_me), people would be surprised to read:
1355114250 # /* config.h. Generated by config.status. */
1355214251 configure_input='Generated from '`
13553 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14252 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1355414253 `' by configure.'
1355514254 if test x"$ac_file" != x-; then
1355614255 configure_input="$ac_file. $configure_input"
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13558 $as_echo "$as_me: creating $ac_file" >&6;}
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14257 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1355914258 fi
1356014259 # Neutralize special characters interpreted by sed in replacement strings.
1356114260 case $configure_input in #(
1356214261 *\&* | *\|* | *\\* )
13563 ac_sed_conf_input=`$as_echo "$configure_input" |
14262 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1356414263 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1356514264 *) ac_sed_conf_input=$configure_input;;
1356614265 esac
1357714276 X"$ac_file" : 'X\(//\)[^/]' \| \
1357814277 X"$ac_file" : 'X\(//\)$' \| \
1357914278 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13580 $as_echo X"$ac_file" |
14279 printf "%s\n" X"$ac_file" |
1358114280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358214281 s//\1/
1358314282 q
1360114300 case "$ac_dir" in
1360214301 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360314302 *)
13604 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14303 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1360514304 # A ".." for each directory in $ac_dir_suffix.
13606 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14305 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1360714306 case $ac_top_builddir_sub in
1360814307 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360914308 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1366514364 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1366614365 *datarootdir*) ac_datarootdir_seen=yes;;
1366714366 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14368 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1367014369 _ACEOF
1367114370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1367214371 ac_datarootdir_hack='
1371014409 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1371114410 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1371214411 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1371414413 which seems to be undefined. Please make sure it is defined" >&5
13715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14414 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1371614415 which seems to be undefined. Please make sure it is defined" >&2;}
1371714416
1371814417 rm -f "$ac_tmp/stdin"
1372814427 #
1372914428 if test x"$ac_file" != x-; then
1373014429 {
13731 $as_echo "/* $configure_input */" \
14430 printf "%s\n" "/* $configure_input */" >&1 \
1373214431 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1373314432 } >"$ac_tmp/config.h" \
1373414433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1373514434 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13737 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14436 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1373814437 else
1373914438 rm -f "$ac_file"
1374014439 mv "$ac_tmp/config.h" "$ac_file" \
1374114440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1374214441 fi
1374314442 else
13744 $as_echo "/* $configure_input */" \
14443 printf "%s\n" "/* $configure_input */" >&1 \
1374514444 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1374614445 || as_fn_error $? "could not create -" "$LINENO" 5
1374714446 fi
1376114460 X"$_am_arg" : 'X\(//\)[^/]' \| \
1376214461 X"$_am_arg" : 'X\(//\)$' \| \
1376314462 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13764 $as_echo X"$_am_arg" |
14463 printf "%s\n" X"$_am_arg" |
1376514464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376614465 s//\1/
1376714466 q
1378114480 s/.*/./; q'`/stamp-h$_am_stamp_count
1378214481 ;;
1378314482
13784 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13785 $as_echo "$as_me: executing $ac_file commands" >&6;}
14483 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14484 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1378614485 ;;
1378714486 esac
1378814487
1380814507 for am_mf
1380914508 do
1381014509 # Strip MF so we end up with the name of the file.
13811 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14510 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1381214511 # Check whether this is an Automake generated Makefile which includes
1381314512 # dependency-tracking related rules and includes.
1381414513 # Grep'ing the whole file directly is not great: AIX grep has a line
1382014519 X"$am_mf" : 'X\(//\)[^/]' \| \
1382114520 X"$am_mf" : 'X\(//\)$' \| \
1382214521 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13823 $as_echo X"$am_mf" |
14522 printf "%s\n" X"$am_mf" |
1382414523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382514524 s//\1/
1382614525 q
1384214541 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
1384314542 X"$am_mf" : 'X\(//\)$' \| \
1384414543 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
13845 $as_echo X/"$am_mf" |
14544 printf "%s\n" X/"$am_mf" |
1384614545 sed '/^.*\/\([^/][^/]*\)\/*$/{
1384714546 s//\1/
1384814547 q
1386714566 (exit $ac_status); } || am_rc=$?
1386814567 done
1386914568 if test $am_rc -ne 0; then
13870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14569 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14570 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1387214571 as_fn_error $? "Something went wrong bootstrapping makefile fragments
1387314572 for automatic dependency tracking. If GNU make was not used, consider
1387414573 re-running the configure script with MAKE=\"gmake\" (or whatever is
1401914718 # convert \$build files to toolchain format.
1402014719 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1402114720
14721 # A file(cmd) program that detects file types.
14722 FILECMD=$lt_FILECMD
14723
1402214724 # An object symbol dumper.
1402314725 OBJDUMP=$lt_OBJDUMP
1402414726
1404314745 # The archiver.
1404414746 AR=$lt_AR
1404514747
14748 # Flags to create an archive (by configure).
14749 lt_ar_flags=$lt_ar_flags
14750
1404614751 # Flags to create an archive.
14047 AR_FLAGS=$lt_AR_FLAGS
14752 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1404814753
1404914754 # How to feed a file listing to the archiver.
1405014755 archiver_list_spec=$lt_archiver_list_spec
1441215117 esac
1441315118
1441415119
15120
1441515121 ltmain=$ac_aux_dir/ltmain.sh
1441615122
1441715123
1441915125 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1442015126 # text mode, it properly converts lines to CR/LF. This bash problem
1442115127 # is reportedly fixed, but why not run on old versions too?
14422 sed '$q' "$ltmain" >> "$cfgfile" \
15128 $SED '$q' "$ltmain" >> "$cfgfile" \
1442315129 || (rm -f "$cfgfile"; exit 1)
1442415130
1442515131 mv -f "$cfgfile" "$ofile" ||
1446115167 $ac_cs_success || as_fn_exit 1
1446215168 fi
1446315169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14466 fi
14467
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15171 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15172 fi
15173
15174
184184 CC = @CC@
185185 CCDEPMODE = @CCDEPMODE@
186186 CFLAGS = @CFLAGS@
187 CPP = @CPP@
188187 CPPFLAGS = @CPPFLAGS@
189188 CSCOPE = @CSCOPE@
190189 CTAGS = @CTAGS@
201200 ETAGS = @ETAGS@
202201 EXEEXT = @EXEEXT@
203202 FGREP = @FGREP@
203 FILECMD = @FILECMD@
204204 GREP = @GREP@
205205 INSTALL = @INSTALL@
206206 INSTALL_DATA = @INSTALL_DATA@
284284 prefix = @prefix@
285285 program_transform_name = @program_transform_name@
286286 psdir = @psdir@
287 runstatedir = @runstatedir@
287288 sbindir = @sbindir@
288289 sharedstatedir = @sharedstatedir@
289290 srcdir = @srcdir@
2323 #define LIBPAINTER_VERSION_MICRO 0
2424
2525 #define PT_FORMAT_a8b8g8r8 \
26 ((32 << 24) | (3 << 16) | (8 << 12) | (8 << 8) | (8 << 4) | 8)
26 ((32 << 24) | (3 << 16) | (8 << 12) | (8 << 8) | (8 << 4) | 8)
2727 #define PT_FORMAT_a8r8g8b8 \
28 ((32 << 24) | (2 << 16) | (8 << 12) | (8 << 8) | (8 << 4) | 8)
28 ((32 << 24) | (2 << 16) | (8 << 12) | (8 << 8) | (8 << 4) | 8)
2929 #define PT_FORMAT_r5g6b5 \
30 ((16 << 24) | (2 << 16) | (0 << 12) | (5 << 8) | (6 << 4) | 5)
30 ((16 << 24) | (2 << 16) | (0 << 12) | (5 << 8) | (6 << 4) | 5)
3131 #define PT_FORMAT_a1r5g5b5 \
32 ((16 << 24) | (2 << 16) | (1 << 12) | (5 << 8) | (5 << 4) | 5)
32 ((16 << 24) | (2 << 16) | (1 << 12) | (5 << 8) | (5 << 4) | 5)
3333 #define PT_FORMAT_r3g3b2 \
34 ((8 << 24) | (2 << 16) | (0 << 12) | (3 << 8) | (3 << 4) | 2)
34 ((8 << 24) | (2 << 16) | (0 << 12) | (3 << 8) | (3 << 4) | 2)
3535
3636 #define PT_FORMAT_c1 \
37 ((1 << 24) | (4 << 16) | (0 << 12) | (0 << 8) | (0 << 4) | 0)
37 ((1 << 24) | (4 << 16) | (0 << 12) | (0 << 8) | (0 << 4) | 0)
3838 #define PT_FORMAT_c8 \
39 ((8 << 24) | (4 << 16) | (0 << 12) | (0 << 8) | (0 << 4) | 0)
39 ((8 << 24) | (4 << 16) | (0 << 12) | (0 << 8) | (0 << 4) | 0)
4040
4141 struct painter_bitmap
4242 {
5757
5858 #define PT_LINE_FLAGS_NONE 0
5959
60 /* reverse Windows X11 */
61 /* polish */
60 /* reverse Windows X11 */
61 /* polish */
6262 #define PT_ROP_0 0x00 /* 0 BLACKNESS GXclear */
6363 #define PT_ROP_DSon 0x11 /* DSon NOTSRCERASE GXnor */
6464 #define PT_ROP_DSna 0x22 /* DSna GXandInverted */
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
34 package_revision=2.4.6
33 VERSION=2.4.7
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
358372 s/^$_G_bs2$_G_dollar/$_G_bs&/
359373 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360374 s/\n//g"
375
376 # require_check_ifs_backslash
377 # ---------------------------
378 # Check if we can use backslash as IFS='\' separator, and set
379 # $check_ifs_backshlash_broken to ':' or 'false'.
380 require_check_ifs_backslash=func_require_check_ifs_backslash
381 func_require_check_ifs_backslash ()
382 {
383 _G_save_IFS=$IFS
384 IFS='\'
385 _G_check_ifs_backshlash='a\\b'
386 for _G_i in $_G_check_ifs_backshlash
387 do
388 case $_G_i in
389 a)
390 check_ifs_backshlash_broken=false
391 ;;
392 '')
393 break
394 ;;
395 *)
396 check_ifs_backshlash_broken=:
397 break
398 ;;
399 esac
400 done
401 IFS=$_G_save_IFS
402 require_check_ifs_backslash=:
403 }
361404
362405
363406 ## ----------------- ##
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=2014-01-07.03; # 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.
15311707
15321708 case " $hookable_fns " in
15331709 *" $1 "*) ;;
1534 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1710 *) func_fatal_error "'$1' does not support hook functions." ;;
15351711 esac
15361712
15371713 eval _G_hook_fns=\$$1_hooks; shift
15381714
15391715 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1716 func_unset "${_G_hook}_result"
1717 eval $_G_hook '${1+"$@"}'
1718 func_propagate_result $_G_hook func_run_hooks
1719 if $func_propagate_result_result; then
1720 eval set dummy "$func_run_hooks_result"; shift
1721 fi
15461722 done
1547
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
15501723 }
15511724
15521725
15561729 ## --------------- ##
15571730
15581731 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1732 # full positional parameter list from your hook function. You may remove
1733 # or edit any options that you action, and then pass back the remaining
1734 # unprocessed options in '<hooked_function_name>_result', escaped
1735 # suitably for 'eval'.
1736 #
1737 # The '<hooked_function_name>_result' variable is automatically unset
1738 # before your hook gets called; for best performance, only set the
1739 # *_result variable when necessary (i.e. don't call the 'func_quote'
1740 # function unnecessarily because it can be an expensive operation on some
1741 # machines).
1742 #
1743 # Like this:
15631744 #
15641745 # my_options_prep ()
15651746 # {
15691750 # usage_message=$usage_message'
15701751 # -s, --silent don'\''t print informational messages
15711752 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1753 # # No change in '$@' (ignored completely by this hook). Leave
1754 # # my_options_prep_result variable intact.
15751755 # }
15761756 # func_add_hook func_options_prep my_options_prep
15771757 #
15801760 # {
15811761 # $debug_cmd
15821762 #
1583 # # Note that for efficiency, we parse as many options as we can
1763 # args_changed=false
1764 #
1765 # # Note that, for efficiency, we parse as many options as we can
15841766 # # recognise in a loop before passing the remainder back to the
15851767 # # caller on the first unrecognised argument we encounter.
15861768 # while test $# -gt 0; do
15871769 # opt=$1; shift
15881770 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1771 # --silent|-s) opt_silent=:
1772 # args_changed=:
1773 # ;;
15901774 # # Separate non-argument short options:
15911775 # -s*) func_split_short_opt "$_G_opt"
15921776 # set dummy "$func_split_short_opt_name" \
15931777 # "-$func_split_short_opt_arg" ${1+"$@"}
15941778 # shift
1779 # args_changed=:
15951780 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1781 # *) # Make sure the first unrecognised option "$_G_opt"
1782 # # is added back to "$@" in case we need it later,
1783 # # if $args_changed was set to 'true'.
1784 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
15971785 # esac
15981786 # done
15991787 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1788 # # Only call 'func_quote' here if we processed at least one argument.
1789 # if $args_changed; then
1790 # func_quote eval ${1+"$@"}
1791 # my_silent_option_result=$func_quote_result
1792 # fi
16021793 # }
16031794 # func_add_hook func_parse_options my_silent_option
16041795 #
16091800 #
16101801 # $opt_silent && $opt_verbose && func_fatal_help "\
16111802 # '--silent' and '--verbose' options are mutually exclusive."
1612 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
16151803 # }
16161804 # func_add_hook func_validate_options my_option_validation
16171805 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1806 # You'll also need to manually amend $usage_message to reflect the extra
16191807 # options you parse. It's preferable to append if you can, so that
16201808 # multiple option parsing hooks can be added safely.
1809
1810
1811 # func_options_finish [ARG]...
1812 # ----------------------------
1813 # Finishing the option parse loop (call 'func_options' hooks ATM).
1814 func_options_finish ()
1815 {
1816 $debug_cmd
1817
1818 func_run_hooks func_options ${1+"$@"}
1819 func_propagate_result func_run_hooks func_options_finish
1820 }
16211821
16221822
16231823 # func_options [ARG]...
16291829 {
16301830 $debug_cmd
16311831
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1832 _G_options_quoted=false
1833
1834 for my_func in options_prep parse_options validate_options options_finish
1835 do
1836 func_unset func_${my_func}_result
1837 func_unset func_run_hooks_result
1838 eval func_$my_func '${1+"$@"}'
1839 func_propagate_result func_$my_func func_options
1840 if $func_propagate_result_result; then
1841 eval set dummy "$func_options_result"; shift
1842 _G_options_quoted=:
1843 fi
1844 done
1845
1846 $_G_options_quoted || {
1847 # As we (func_options) are top-level options-parser function and
1848 # nobody quoted "$@" for us yet, we need to do it explicitly for
1849 # caller.
1850 func_quote eval ${1+"$@"}
1851 func_options_result=$func_quote_result
1852 }
16431853 }
16441854
16451855
16481858 # All initialisations required before starting the option parse loop.
16491859 # Note that when calling hook functions, we pass through the list of
16501860 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1652 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1861 # needs to propagate that back to rest of this script, then the complete
1862 # modified list must be put in 'func_run_hooks_result' before returning.
16541863 func_hookable func_options_prep
16551864 func_options_prep ()
16561865 {
16611870 opt_warning_types=
16621871
16631872 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1873 func_propagate_result func_run_hooks func_options_prep
16671874 }
16681875
16691876
16751882 {
16761883 $debug_cmd
16771884
1678 func_parse_options_result=
1679
1885 _G_parse_options_requote=false
16801886 # this just eases exit handling
16811887 while test $# -gt 0; do
16821888 # Defer to hook functions for initial option parsing, so they
16831889 # get priority in the event of reusing an option name.
16841890 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1891 func_propagate_result func_run_hooks func_parse_options
1892 if $func_propagate_result_result; then
1893 eval set dummy "$func_parse_options_result"; shift
1894 # Even though we may have changed "$@", we passed the "$@" array
1895 # down into the hook and it quoted it for us (because we are in
1896 # this if-branch). No need to quote it again.
1897 _G_parse_options_requote=false
1898 fi
16881899
16891900 # Break out of the loop if we already parsed every option.
16901901 test $# -gt 0 || break
16911902
1903 # We expect that one of the options parsed in this function matches
1904 # and thus we remove _G_opt from "$@" and need to re-quote.
1905 _G_match_parse_options=:
16921906 _G_opt=$1
16931907 shift
16941908 case $_G_opt in
16951909 --debug|-x) debug_cmd='set -x'
1696 func_echo "enabling shell trace mode"
1910 func_echo "enabling shell trace mode" >&2
16971911 $debug_cmd
16981912 ;;
16991913
17031917 ;;
17041918
17051919 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1920 if test $# = 0 && func_missing_arg $_G_opt; then
1921 _G_parse_options_requote=:
1922 break
1923 fi
17071924 case " $warning_categories $1" in
17081925 *" $1 "*)
17091926 # trailing space prevents matching last $1 above
17561973 shift
17571974 ;;
17581975
1759 --) break ;;
1976 --) _G_parse_options_requote=: ; break ;;
17601977 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1978 *) set dummy "$_G_opt" ${1+"$@"}; shift
1979 _G_match_parse_options=false
1980 break
1981 ;;
17621982 esac
1983
1984 if $_G_match_parse_options; then
1985 _G_parse_options_requote=:
1986 fi
17631987 done
17641988
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1989 if $_G_parse_options_requote; then
1990 # save modified positional parameters for caller
1991 func_quote eval ${1+"$@"}
1992 func_parse_options_result=$func_quote_result
1993 fi
17681994 }
17691995
17701996
17812007 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17822008
17832009 func_run_hooks func_validate_options ${1+"$@"}
2010 func_propagate_result func_run_hooks func_validate_options
17842011
17852012 # Bail if the options were screwed!
17862013 $exit_cmd $EXIT_FAILURE
1787
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
17902014 }
17912015
17922016
18422066
18432067 # func_split_equals STRING
18442068 # ------------------------
1845 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1846 # splitting STRING at the '=' sign.
2069 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2070 # after splitting STRING at the '=' sign.
18472071 test -z "$_G_HAVE_XSI_OPS" \
18482072 && (eval 'x=a/b/c;
18492073 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
18582082
18592083 func_split_equals_lhs=${1%%=*}
18602084 func_split_equals_rhs=${1#*=}
1861 test "x$func_split_equals_lhs" = "x$1" \
1862 && func_split_equals_rhs=
2085 if test "x$func_split_equals_lhs" = "x$1"; then
2086 func_split_equals_rhs=
2087 fi
18632088 }'
18642089 else
18652090 # ...otherwise fall back to using expr, which is often a shell builtin.
18692094
18702095 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
18712096 func_split_equals_rhs=
1872 test "x$func_split_equals_lhs" = "x$1" \
2097 test "x$func_split_equals_lhs=" = "x$1" \
18732098 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
18742099 }
18752100 fi #func_split_equals
18952120 {
18962121 $debug_cmd
18972122
1898 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
2123 func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'`
18992124 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
19002125 }
19012126 fi #func_split_short_opt
19372162 # func_version
19382163 # ------------
19392164 # Echo version message to standard output and exit.
2165 # The version message is extracted from the calling file's header
2166 # comments, with leading '# ' stripped:
2167 # 1. First display the progname and version
2168 # 2. Followed by the header comment line matching /^# Written by /
2169 # 3. Then a blank line followed by the first following line matching
2170 # /^# Copyright /
2171 # 4. Immediately followed by any lines between the previous matches,
2172 # except lines preceding the intervening completely blank line.
2173 # For example, see the header comments of this file.
19402174 func_version ()
19412175 {
19422176 $debug_cmd
19432177
19442178 printf '%s\n' "$progname $scriptversion"
19452179 $SED -n '
1946 /(C)/!b go
1947 :more
1948 /\./!{
1949 N
1950 s|\n# | |
1951 b more
2180 /^# Written by /!b
2181 s|^# ||; p; n
2182
2183 :fwd2blnk
2184 /./ {
2185 n
2186 b fwd2blnk
19522187 }
1953 :go
1954 /^# Written by /,/# warranty; / {
1955 s|^# ||
1956 s|^# *$||
1957 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
1958 p
2188 p; n
2189
2190 :holdwrnt
2191 s|^# ||
2192 s|^# *$||
2193 /^Copyright /!{
2194 /./H
2195 n
2196 b holdwrnt
19592197 }
1960 /^# Written by / {
1961 s|^# ||
1962 p
1963 }
1964 /^warranty; /q' < "$progpath"
2198
2199 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2200 G
2201 s|\(\n\)\n*|\1|g
2202 p; q' < "$progpath"
19652203
19662204 exit $?
19672205 }
19712209 # mode: shell-script
19722210 # sh-indentation: 2
19732211 # eval: (add-hook 'before-save-hook 'time-stamp)
1974 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2212 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
19752213 # time-stamp-time-zone: "UTC"
19762214 # End:
19772215
19782216 # Set a version string.
1979 scriptversion='(GNU libtool) 2.4.6'
2217 scriptversion='(GNU libtool) 2.4.7'
19802218
19812219
19822220 # func_echo ARG...
20672305 compiler: $LTCC
20682306 compiler flags: $LTCFLAGS
20692307 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2308 version: $progname (GNU libtool) 2.4.7
20712309 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
20722310 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20732311
21232361 # a configuration failure hint, and exit.
21242362 func_fatal_configuration ()
21252363 {
2126 func__fatal_error ${1+"$@"} \
2364 func_fatal_error ${1+"$@"} \
21272365 "See the $PACKAGE documentation for more information." \
21282366 "Fatal configuration error."
21292367 }
22692507 nonopt=
22702508 preserve_args=
22712509
2510 _G_rc_lt_options_prep=:
2511
22722512 # Shorthand for --mode=foo, only valid as the first argument
22732513 case $1 in
22742514 clean|clea|cle|cl)
22922532 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
22932533 shift; set dummy --mode uninstall ${1+"$@"}; shift
22942534 ;;
2535 *)
2536 _G_rc_lt_options_prep=false
2537 ;;
22952538 esac
22962539
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2540 if $_G_rc_lt_options_prep; then
2541 # Pass back the list of options.
2542 func_quote eval ${1+"$@"}
2543 libtool_options_prep_result=$func_quote_result
2544 fi
23002545 }
23012546 func_add_hook func_options_prep libtool_options_prep
23022547
23082553 {
23092554 $debug_cmd
23102555
2556 _G_rc_lt_parse_options=false
2557
23112558 # Perform our own loop to consume as many options as possible in
23122559 # each iteration.
23132560 while test $# -gt 0; do
2561 _G_match_lt_parse_options=:
23142562 _G_opt=$1
23152563 shift
23162564 case $_G_opt in
23852633 func_append preserve_args " $_G_opt"
23862634 ;;
23872635
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2636 # An option not handled by this hook function:
2637 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2638 _G_match_lt_parse_options=false
2639 break
2640 ;;
23902641 esac
2642 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
23912643 done
23922644
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2645 if $_G_rc_lt_parse_options; then
2646 # save modified positional parameters for caller
2647 func_quote eval ${1+"$@"}
2648 libtool_parse_options_result=$func_quote_result
2649 fi
23972650 }
23982651 func_add_hook func_parse_options libtool_parse_options
23992652
24502703 }
24512704
24522705 # Pass back the unparsed argument list
2453 func_quote_for_eval ${1+"$@"}
2454 libtool_validate_options_result=$func_quote_for_eval_result
2706 func_quote eval ${1+"$@"}
2707 libtool_validate_options_result=$func_quote_result
24552708 }
24562709 func_add_hook func_validate_options libtool_validate_options
24572710
34173670 esac
34183671 done
34193672
3420 func_quote_for_eval "$libobj"
3421 test "X$libobj" != "X$func_quote_for_eval_result" \
3673 func_quote_arg pretty "$libobj"
3674 test "X$libobj" != "X$func_quote_arg_result" \
34223675 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
34233676 && func_warning "libobj name '$libobj' may not contain shell special characters."
34243677 func_dirname_and_basename "$obj" "/" ""
34913744
34923745 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
34933746 srcfile=$func_to_tool_file_result
3494 func_quote_for_eval "$srcfile"
3495 qsrcfile=$func_quote_for_eval_result
3747 func_quote_arg pretty "$srcfile"
3748 qsrcfile=$func_quote_arg_result
34963749
34973750 # Only build a PIC object if we are building libtool libraries.
34983751 if test yes = "$build_libtool_libs"; then
36473900 -prefer-non-pic try to build non-PIC objects only
36483901 -shared do not build a '.o' file suitable for static linking
36493902 -static only build a '.o' file suitable for static linking
3650 -Wc,FLAG pass FLAG directly to the compiler
3903 -Wc,FLAG
3904 -Xcompiler FLAG pass FLAG directly to the compiler
36513905
36523906 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
36533907 from the given SOURCEFILE.
37534007 -weak LIBNAME declare that the target provides the LIBNAME interface
37544008 -Wc,FLAG
37554009 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
4010 -Wa,FLAG
4011 -Xassembler FLAG pass linker-specific FLAG directly to the assembler
37564012 -Wl,FLAG
37574013 -Xlinker FLAG pass linker-specific FLAG directly to the linker
37584014 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
40954351 case $nonopt in *shtool*) :;; *) false;; esac
40964352 then
40974353 # Aesthetically quote it.
4098 func_quote_for_eval "$nonopt"
4099 install_prog="$func_quote_for_eval_result "
4354 func_quote_arg pretty "$nonopt"
4355 install_prog="$func_quote_arg_result "
41004356 arg=$1
41014357 shift
41024358 else
41064362
41074363 # The real first argument should be the name of the installation program.
41084364 # Aesthetically quote it.
4109 func_quote_for_eval "$arg"
4110 func_append install_prog "$func_quote_for_eval_result"
4365 func_quote_arg pretty "$arg"
4366 func_append install_prog "$func_quote_arg_result"
41114367 install_shared_prog=$install_prog
41124368 case " $install_prog " in
41134369 *[\\\ /]cp\ *) install_cp=: ;;
41644420 esac
41654421
41664422 # Aesthetically quote the argument.
4167 func_quote_for_eval "$arg"
4168 func_append install_prog " $func_quote_for_eval_result"
4423 func_quote_arg pretty "$arg"
4424 func_append install_prog " $func_quote_arg_result"
41694425 if test -n "$arg2"; then
4170 func_quote_for_eval "$arg2"
4426 func_quote_arg pretty "$arg2"
41714427 fi
4172 func_append install_shared_prog " $func_quote_for_eval_result"
4428 func_append install_shared_prog " $func_quote_arg_result"
41734429 done
41744430
41754431 test -z "$install_prog" && \
41804436
41814437 if test -n "$install_override_mode" && $no_mode; then
41824438 if $install_cp; then :; else
4183 func_quote_for_eval "$install_override_mode"
4184 func_append install_shared_prog " -m $func_quote_for_eval_result"
4439 func_quote_arg pretty "$install_override_mode"
4440 func_append install_shared_prog " -m $func_quote_arg_result"
41854441 fi
41864442 fi
41874443
44774733 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
44784734
44794735 $opt_quiet || {
4480 func_quote_for_expand "$relink_command"
4481 eval "func_echo $func_quote_for_expand_result"
4736 func_quote_arg expand,pretty "$relink_command"
4737 eval "func_echo $func_quote_arg_result"
44824738 }
44834739 if eval "$relink_command"; then :
44844740 else
52575513 if test \"\$libtool_execute_magic\" != \"$magic\"; then
52585514 file=\"\$0\""
52595515
5260 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
5516 func_quote_arg pretty "$ECHO"
5517 qECHO=$func_quote_arg_result
52615518 $ECHO "\
52625519
52635520 # A function that is used when there is no print builtin or printf.
52675524 \$1
52685525 _LTECHO_EOF'
52695526 }
5270 ECHO=\"$qECHO\"
5527 ECHO=$qECHO
52715528 fi
52725529
52735530 # Very basic option parsing. These options are (a) specific to
66106867 while test "$#" -gt 0; do
66116868 arg=$1
66126869 shift
6613 func_quote_for_eval "$arg"
6614 qarg=$func_quote_for_eval_unquoted_result
6615 func_append libtool_args " $func_quote_for_eval_result"
6870 func_quote_arg pretty,unquoted "$arg"
6871 qarg=$func_quote_arg_unquoted_result
6872 func_append libtool_args " $func_quote_arg_result"
66166873
66176874 # If the previous option needs an argument, assign it.
66186875 if test -n "$prev"; then
68487105 prev=
68497106 continue
68507107 ;;
7108 xassembler)
7109 func_append compiler_flags " -Xassembler $qarg"
7110 prev=
7111 func_append compile_command " -Xassembler $qarg"
7112 func_append finalize_command " -Xassembler $qarg"
7113 continue
7114 ;;
68517115 xcclinker)
68527116 func_append linker_flags " $qarg"
68537117 func_append compiler_flags " $qarg"
70187282 # These systems don't actually have a C library (as such)
70197283 test X-lc = "X$arg" && continue
70207284 ;;
7021 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7285 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70227286 # Do not include libc due to us having libc/libc_r.
70237287 test X-lc = "X$arg" && continue
70247288 ;;
70387302 esac
70397303 elif test X-lc_r = "X$arg"; then
70407304 case $host in
7041 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7305 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70427306 # Do not include libc_r directly, use -pthread flag.
70437307 continue
70447308 ;;
70687332 prev=xcompiler
70697333 continue
70707334 ;;
7071
7072 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7335 # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
7336 -pthread)
7337 case $host in
7338 *solaris2*) ;;
7339 *)
7340 case "$new_inherited_linker_flags " in
7341 *" $arg "*) ;;
7342 * ) func_append new_inherited_linker_flags " $arg" ;;
7343 esac
7344 ;;
7345 esac
7346 continue
7347 ;;
7348 -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
70737349 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
70747350 func_append compiler_flags " $arg"
70757351 func_append compile_command " $arg"
72107486 save_ifs=$IFS; IFS=,
72117487 for flag in $args; do
72127488 IFS=$save_ifs
7213 func_quote_for_eval "$flag"
7214 func_append arg " $func_quote_for_eval_result"
7215 func_append compiler_flags " $func_quote_for_eval_result"
7489 func_quote_arg pretty "$flag"
7490 func_append arg " $func_quote_arg_result"
7491 func_append compiler_flags " $func_quote_arg_result"
72167492 done
72177493 IFS=$save_ifs
72187494 func_stripname ' ' '' "$arg"
72267502 save_ifs=$IFS; IFS=,
72277503 for flag in $args; do
72287504 IFS=$save_ifs
7229 func_quote_for_eval "$flag"
7230 func_append arg " $wl$func_quote_for_eval_result"
7231 func_append compiler_flags " $wl$func_quote_for_eval_result"
7232 func_append linker_flags " $func_quote_for_eval_result"
7505 func_quote_arg pretty "$flag"
7506 func_append arg " $wl$func_quote_arg_result"
7507 func_append compiler_flags " $wl$func_quote_arg_result"
7508 func_append linker_flags " $func_quote_arg_result"
72337509 done
72347510 IFS=$save_ifs
72357511 func_stripname ' ' '' "$arg"
72367512 arg=$func_stripname_result
72377513 ;;
72387514
7515 -Xassembler)
7516 prev=xassembler
7517 continue
7518 ;;
7519
72397520 -Xcompiler)
72407521 prev=xcompiler
72417522 continue
72537534
72547535 # -msg_* for osf cc
72557536 -msg_*)
7256 func_quote_for_eval "$arg"
7257 arg=$func_quote_for_eval_result
7537 func_quote_arg pretty "$arg"
7538 arg=$func_quote_arg_result
72587539 ;;
72597540
72607541 # Flags to be passed through unchanged, with rationale:
72717552 # -tp=* Portland pgcc target processor selection
72727553 # --sysroot=* for sysroot support
72737554 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7555 # -specs=* GCC specs files
72747556 # -stdlib=* select c++ std lib with clang
7557 # -fsanitize=* Clang/GCC memory and address sanitizer
7558 # -fuse-ld=* Linker select flags for GCC
7559 # -Wa,* Pass flags directly to the assembler
72757560 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767561 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7278 func_quote_for_eval "$arg"
7279 arg=$func_quote_for_eval_result
7562 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7563 -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
7564 func_quote_arg pretty "$arg"
7565 arg=$func_quote_arg_result
72807566 func_append compile_command " $arg"
72817567 func_append finalize_command " $arg"
72827568 func_append compiler_flags " $arg"
72977583 continue
72987584 else
72997585 # Otherwise treat like 'Some other compiler flag' below
7300 func_quote_for_eval "$arg"
7301 arg=$func_quote_for_eval_result
7586 func_quote_arg pretty "$arg"
7587 arg=$func_quote_arg_result
73027588 fi
73037589 ;;
73047590
73057591 # Some other compiler flag.
73067592 -* | +*)
7307 func_quote_for_eval "$arg"
7308 arg=$func_quote_for_eval_result
7593 func_quote_arg pretty "$arg"
7594 arg=$func_quote_arg_result
73097595 ;;
73107596
73117597 *.$objext)
74257711 *)
74267712 # Unknown arguments in both finalize_command and compile_command need
74277713 # to be aesthetically quoted because they are evaled later.
7428 func_quote_for_eval "$arg"
7429 arg=$func_quote_for_eval_result
7714 func_quote_arg pretty "$arg"
7715 arg=$func_quote_arg_result
74307716 ;;
74317717 esac # arg
74327718
86318917 test CXX = "$tagname" && {
86328918 case $host_os in
86338919 linux*)
8634 case `$CC -V 2>&1 | sed 5q` in
8920 case `$CC -V 2>&1 | $SED 5q` in
86358921 *Sun\ C*) # Sun C++ 5.9
86368922 func_suncc_cstd_abi
86378923
88049090 #
88059091 case $version_type in
88069092 # correct linux to gnu/linux during the next big refactor
8807 darwin|freebsd-elf|linux|osf|windows|none)
9093 darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
88089094 func_arith $number_major + $number_minor
88099095 current=$func_arith_result
88109096 age=$number_minor
88959181 versuffix=.$current.$revision
88969182 ;;
88979183
8898 freebsd-elf)
9184 freebsd-elf | midnightbsd-elf)
88999185 func_arith $current - $age
89009186 major=.$func_arith_result
89019187 versuffix=$major.$age.$revision
91219407 *-*-netbsd*)
91229408 # Don't link with libc until the a.out ld.so is fixed.
91239409 ;;
9124 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9410 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
91259411 # Do not include libc due to us having libc/libc_r.
91269412 ;;
91279413 *-*-sco3.2v5* | *-*-sco5v6*)
993210218 for cmd in $concat_cmds; do
993310219 IFS=$save_ifs
993410220 $opt_quiet || {
9935 func_quote_for_expand "$cmd"
9936 eval "func_echo $func_quote_for_expand_result"
10221 func_quote_arg expand,pretty "$cmd"
10222 eval "func_echo $func_quote_arg_result"
993710223 }
993810224 $opt_dry_run || eval "$cmd" || {
993910225 lt_exit=$?
1002610312 eval cmd=\"$cmd\"
1002710313 IFS=$save_ifs
1002810314 $opt_quiet || {
10029 func_quote_for_expand "$cmd"
10030 eval "func_echo $func_quote_for_expand_result"
10315 func_quote_arg expand,pretty "$cmd"
10316 eval "func_echo $func_quote_arg_result"
1003110317 }
1003210318 $opt_dry_run || eval "$cmd" || {
1003310319 lt_exit=$?
1050110787 elif eval var_value=\$$var; test -z "$var_value"; then
1050210788 relink_command="$var=; export $var; $relink_command"
1050310789 else
10504 func_quote_for_eval "$var_value"
10505 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10790 func_quote_arg pretty "$var_value"
10791 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
1050610792 fi
1050710793 done
10508 relink_command="(cd `pwd`; $relink_command)"
10509 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10794 func_quote eval cd "`pwd`"
10795 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
10796 relink_command=$func_quote_arg_unquoted_result
1051010797 fi
1051110798
1051210799 # Only actually do things if not in dry run mode.
1074611033 elif eval var_value=\$$var; test -z "$var_value"; then
1074711034 relink_command="$var=; export $var; $relink_command"
1074811035 else
10749 func_quote_for_eval "$var_value"
10750 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
11036 func_quote_arg pretty,unquoted "$var_value"
11037 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
1075111038 fi
1075211039 done
1075311040 # Quote the link command for shipping.
10754 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
10755 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
11041 func_quote eval cd "`pwd`"
11042 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11043 func_quote_arg pretty,unquoted "$relink_command"
11044 relink_command=$func_quote_arg_unquoted_result
1075611045 if test yes = "$hardcode_automatic"; then
1075711046 relink_command=
1075811047 fi
00 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
2 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3 # Foundation, Inc.
34 # Written by Gordon Matzigkeit, 1996
45 #
56 # This file is free software; the Free Software Foundation gives
3031 # along with this program. If not, see <http://www.gnu.org/licenses/>.
3132 ])
3233
33 # serial 58 LT_INIT
34 # serial 59 LT_INIT
3435
3536
3637 # LT_PREREQ(VERSION)
180181 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
181182 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
182183 m4_require([_LT_CMD_RELOAD])dnl
184 m4_require([_LT_DECL_FILECMD])dnl
183185 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
184186 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
185187 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
218220 ofile=libtool
219221 can_build_shared=yes
220222
221 # All known linkers require a '.a' archive for static linking (except MSVC,
222 # which needs '.lib').
223 # All known linkers require a '.a' archive for static linking (except MSVC and
224 # ICC, which need '.lib').
223225 libext=a
224226
225227 with_gnu_ld=$lt_cv_prog_gnu_ld
777779 # if finds mixed CR/LF and LF-only lines. Since sed operates in
778780 # text mode, it properly converts lines to CR/LF. This bash problem
779781 # is reportedly fixed, but why not run on old versions too?
780 sed '$q' "$ltmain" >> "$cfgfile" \
782 $SED '$q' "$ltmain" >> "$cfgfile" \
781783 || (rm -f "$cfgfile"; exit 1)
782784
783785 mv -f "$cfgfile" "$ofile" ||
10411043 _LT_EOF
10421044 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10431045 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1044 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1045 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1046 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1047 $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10461048 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10471049 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10481050 cat > conftest.c << _LT_EOF
10661068 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10671069 darwin1.*)
10681070 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1069 darwin*) # darwin 5.x on
1070 # if running on 10.5 or later, the deployment target defaults
1071 # to the OS version, if on x86, and 10.4, the deployment
1072 # target defaults to 10.4. Don't you love it?
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1076 10.[[012]][[,.]]*)
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1078 10.*)
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1071 darwin*)
1072 case $MACOSX_DEPLOYMENT_TARGET,$host in
1073 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1074 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1075 *)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10801077 esac
10811078 ;;
10821079 esac
11251122 output_verbose_link_cmd=func_echo_all
11261123 _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"
11271124 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1128 _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"
1129 _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"
1125 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1126 _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11301127 m4_if([$1], [CXX],
11311128 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
11321129 _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"
1133 _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"
1130 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
11341131 fi
11351132 ],[])
11361133 else
12441241 # _LT_WITH_SYSROOT
12451242 # ----------------
12461243 AC_DEFUN([_LT_WITH_SYSROOT],
1247 [AC_MSG_CHECKING([for sysroot])
1244 [m4_require([_LT_DECL_SED])dnl
1245 AC_MSG_CHECKING([for sysroot])
12481246 AC_ARG_WITH([sysroot],
12491247 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
12501248 [Search for dependent libraries within DIR (or the compiler's sysroot
12611259 fi
12621260 ;; #(
12631261 /*)
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1262 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
12651263 ;; #(
12661264 no|'')
12671265 ;; #(
12911289 # options accordingly.
12921290 echo 'int i;' > conftest.$ac_ext
12931291 if AC_TRY_EVAL(ac_compile); then
1294 case `/usr/bin/file conftest.$ac_objext` in
1292 case `$FILECMD conftest.$ac_objext` in
12951293 *ELF-32*)
12961294 HPUX_IA64_MODE=32
12971295 ;;
13081306 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13091307 if AC_TRY_EVAL(ac_compile); then
13101308 if test yes = "$lt_cv_prog_gnu_ld"; then
1311 case `/usr/bin/file conftest.$ac_objext` in
1309 case `$FILECMD conftest.$ac_objext` in
13121310 *32-bit*)
13131311 LD="${LD-ld} -melf32bsmip"
13141312 ;;
13201318 ;;
13211319 esac
13221320 else
1323 case `/usr/bin/file conftest.$ac_objext` in
1321 case `$FILECMD conftest.$ac_objext` in
13241322 *32-bit*)
13251323 LD="${LD-ld} -32"
13261324 ;;
13421340 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13431341 if AC_TRY_EVAL(ac_compile); then
13441342 emul=elf
1345 case `/usr/bin/file conftest.$ac_objext` in
1343 case `$FILECMD conftest.$ac_objext` in
13461344 *32-bit*)
13471345 emul="${emul}32"
13481346 ;;
13501348 emul="${emul}64"
13511349 ;;
13521350 esac
1353 case `/usr/bin/file conftest.$ac_objext` in
1351 case `$FILECMD conftest.$ac_objext` in
13541352 *MSB*)
13551353 emul="${emul}btsmip"
13561354 ;;
13581356 emul="${emul}ltsmip"
13591357 ;;
13601358 esac
1361 case `/usr/bin/file conftest.$ac_objext` in
1359 case `$FILECMD conftest.$ac_objext` in
13621360 *N32*)
13631361 emul="${emul}n32"
13641362 ;;
13781376 # not appear in the list.
13791377 echo 'int i;' > conftest.$ac_ext
13801378 if AC_TRY_EVAL(ac_compile); then
1381 case `/usr/bin/file conftest.o` in
1379 case `$FILECMD conftest.o` in
13821380 *32-bit*)
13831381 case $host in
13841382 x86_64-*kfreebsd*-gnu)
13851383 LD="${LD-ld} -m elf_i386_fbsd"
13861384 ;;
13871385 x86_64-*linux*)
1388 case `/usr/bin/file conftest.o` in
1386 case `$FILECMD conftest.o` in
13891387 *x86-64*)
13901388 LD="${LD-ld} -m elf32_x86_64"
13911389 ;;
14531451 # options accordingly.
14541452 echo 'int i;' > conftest.$ac_ext
14551453 if AC_TRY_EVAL(ac_compile); then
1456 case `/usr/bin/file conftest.o` in
1454 case `$FILECMD conftest.o` in
14571455 *64-bit*)
14581456 case $lt_cv_prog_gnu_ld in
14591457 yes*)
14921490 m4_defun([_LT_PROG_AR],
14931491 [AC_CHECK_TOOLS(AR, [ar], false)
14941492 : ${AR=ar}
1495 : ${AR_FLAGS=cru}
14961493 _LT_DECL([], [AR], [1], [The archiver])
1497 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1494
1495 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
1496 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
1497 # higher priority because thats what people were doing historically (setting
1498 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
1499 # variable obsoleted/removed.
1500
1501 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1502 lt_ar_flags=$AR_FLAGS
1503 _LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
1504
1505 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1506 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1507 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1508 [Flags to create an archive])
14981509
14991510 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
15001511 [lt_cv_ar_at_file=no
17131724 lt_cv_sys_max_cmd_len=8192;
17141725 ;;
17151726
1716 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1727 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
17171728 # This has been around since 386BSD, at least. Likely further.
17181729 if test -x /sbin/sysctl; then
17191730 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17561767 sysv5* | sco5v6* | sysv4.2uw2*)
17571768 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17581769 if test -n "$kargmax"; then
1759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1770 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
17601771 else
17611772 lt_cv_sys_max_cmd_len=32768
17621773 fi
22062217 striplib=
22072218 old_striplib=
22082219 AC_MSG_CHECKING([whether stripping libraries is possible])
2209 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2210 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2211 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2212 AC_MSG_RESULT([yes])
2220 if test -z "$STRIP"; then
2221 AC_MSG_RESULT([no])
22132222 else
2214 # FIXME - insert some real tests, host_os isn't really good enough
2215 case $host_os in
2216 darwin*)
2217 if test -n "$STRIP"; then
2223 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2224 old_striplib="$STRIP --strip-debug"
2225 striplib="$STRIP --strip-unneeded"
2226 AC_MSG_RESULT([yes])
2227 else
2228 case $host_os in
2229 darwin*)
2230 # FIXME - insert some real tests, host_os isn't really good enough
22182231 striplib="$STRIP -x"
22192232 old_striplib="$STRIP -S"
22202233 AC_MSG_RESULT([yes])
2221 else
2234 ;;
2235 freebsd*)
2236 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2237 old_striplib="$STRIP --strip-debug"
2238 striplib="$STRIP --strip-unneeded"
2239 AC_MSG_RESULT([yes])
2240 else
2241 AC_MSG_RESULT([no])
2242 fi
2243 ;;
2244 *)
22222245 AC_MSG_RESULT([no])
2223 fi
2224 ;;
2225 *)
2226 AC_MSG_RESULT([no])
2227 ;;
2228 esac
2246 ;;
2247 esac
2248 fi
22292249 fi
22302250 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
22312251 _LT_DECL([], [striplib], [1])
25482568 case $host_os in
25492569 cygwin*)
25502570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2551 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25522572 m4_if([$1], [],[
25532573 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
25542574 ;;
25582578 ;;
25592579 pw32*)
25602580 # pw32 DLLs use 'pw' prefix rather than 'lib'
2561 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2581 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25622582 ;;
25632583 esac
25642584 dynamic_linker='Win32 ld.exe'
25652585 ;;
25662586
2567 *,cl*)
2568 # Native MSVC
2587 *,cl* | *,icl*)
2588 # Native MSVC or ICC
25692589 libname_spec='$name'
25702590 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25712591 library_names_spec='$libname.dll.lib'
25842604 done
25852605 IFS=$lt_save_ifs
25862606 # Convert to MSYS style.
2587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
25882608 ;;
25892609 cygwin*)
25902610 # Convert to unix form, then to dos form, then back to unix form
26212641 ;;
26222642
26232643 *)
2624 # Assume MSVC wrapper
2644 # Assume MSVC and ICC wrapper
26252645 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
26262646 dynamic_linker='Win32 ld.exe'
26272647 ;;
26542674 shlibpath_var=LD_LIBRARY_PATH
26552675 ;;
26562676
2657 freebsd* | dragonfly*)
2677 freebsd* | dragonfly* | midnightbsd*)
26582678 # DragonFly does not have aout. When/if they implement a new
26592679 # versioning mechanism, adjust this.
26602680 if test -x /usr/bin/objformat; then
34533473
34543474 bsdi[[45]]*)
34553475 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3456 lt_cv_file_magic_cmd='/usr/bin/file -L'
3476 lt_cv_file_magic_cmd='$FILECMD -L'
34573477 lt_cv_file_magic_test_file=/shlib/libc.so
34583478 ;;
34593479
34873507 lt_cv_deplibs_check_method=pass_all
34883508 ;;
34893509
3490 freebsd* | dragonfly*)
3510 freebsd* | dragonfly* | midnightbsd*)
34913511 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34923512 case $host_cpu in
34933513 i*86 )
34943514 # Not sure whether the presence of OpenBSD here was a mistake.
34953515 # Let's accept both of them until this is cleared up.
34963516 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3497 lt_cv_file_magic_cmd=/usr/bin/file
3517 lt_cv_file_magic_cmd=$FILECMD
34983518 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
34993519 ;;
35003520 esac
35083528 ;;
35093529
35103530 hpux10.20* | hpux11*)
3511 lt_cv_file_magic_cmd=/usr/bin/file
3531 lt_cv_file_magic_cmd=$FILECMD
35123532 case $host_cpu in
35133533 ia64*)
35143534 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
35553575
35563576 newos6*)
35573577 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3558 lt_cv_file_magic_cmd=/usr/bin/file
3578 lt_cv_file_magic_cmd=$FILECMD
35593579 lt_cv_file_magic_test_file=/usr/lib/libnls.so
35603580 ;;
35613581
36823702 mingw*) lt_bad_file=conftest.nm/nofile ;;
36833703 *) lt_bad_file=/dev/null ;;
36843704 esac
3685 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3705 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
36863706 *$lt_bad_file* | *'Invalid file or object type'*)
36873707 lt_cv_path_NM="$tmp_nm -B"
36883708 break 2
36893709 ;;
36903710 *)
3691 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3711 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
36923712 */dev/null*)
36933713 lt_cv_path_NM="$tmp_nm -p"
36943714 break 2
37143734 # Let the user override the test.
37153735 else
37163736 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3717 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3737 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
37183738 *COFF*)
37193739 DUMPBIN="$DUMPBIN -symbols -headers"
37203740 ;;
39543974
39553975 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
39563976 # Gets list of data symbols to import.
3957 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3977 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
39583978 # Adjust the below global symbol transforms to fixup imported variables.
39593979 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
39603980 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
39723992 # Transform an extracted symbol line into a proper C declaration.
39733993 # Some systems (esp. on ia64) link data and code symbols differently,
39743994 # so use this general approach.
3975 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3995 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
39763996 $lt_cdecl_hook\
39773997 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
39783998 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
39793999
39804000 # Transform an extracted symbol line into symbol name and symbol address
3981 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4001 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
39824002 $lt_c_name_hook\
39834003 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39844004 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
39854005
39864006 # Transform an extracted symbol line into symbol name with lib prefix and
39874007 # symbol address.
3988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4008 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
39894009 $lt_c_name_lib_hook\
39904010 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39914011 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
40094029 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
40104030 # Fake it for dumpbin and say T for any non-static function,
40114031 # D for any global variable and I for any imported variable.
4012 # Also find C++ and __fastcall symbols from MSVC++,
4032 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
40134033 # which start with @ or ?.
40144034 lt_cv_sys_global_symbol_pipe="$AWK ['"\
40154035 " {last_section=section; section=\$ 3};"\
40274047 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
40284048 " ' prfx=^$ac_symprfx]"
40294049 else
4030 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4050 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
40314051 fi
4032 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
4052 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
40334053
40344054 # Check to see that the pipe works correctly.
40354055 pipe_works=no
43164336 ;;
43174337 esac
43184338 ;;
4319 freebsd* | dragonfly*)
4339 freebsd* | dragonfly* | midnightbsd*)
43204340 # FreeBSD uses GNU C++
43214341 ;;
43224342 hpux9* | hpux10* | hpux11*)
43994419 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
44004420 ;;
44014421 *)
4402 case `$CC -V 2>&1 | sed 5q` in
4422 case `$CC -V 2>&1 | $SED 5q` in
44034423 *Sun\ C*)
44044424 # Sun C++ 5.9
44054425 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47354755 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
47364756 ;;
47374757 *)
4738 case `$CC -V 2>&1 | sed 5q` in
4758 case `$CC -V 2>&1 | $SED 5q` in
47394759 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
47404760 # Sun Fortran 8.3 passes all unrecognized flags to the linker
47414761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49184938 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
49194939 _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'
49204940 else
4921 _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'
4941 _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'
49224942 fi
49234943 ;;
49244944 pw32*)
49264946 ;;
49274947 cygwin* | mingw* | cegcc*)
49284948 case $cc_basename in
4929 cl*)
4949 cl* | icl*)
49304950 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
49314951 ;;
49324952 *)
49835003
49845004 case $host_os in
49855005 cygwin* | mingw* | pw32* | cegcc*)
4986 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5006 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
49875007 # When not using gcc, we currently assume that we are using
4988 # Microsoft Visual C++.
5008 # Microsoft Visual C++ or Intel C++ Compiler.
49895009 if test yes != "$GCC"; then
49905010 with_gnu_ld=no
49915011 fi
49925012 ;;
49935013 interix*)
4994 # we just hope/assume this is gcc and not c89 (= MSVC++)
5014 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
49955015 with_gnu_ld=yes
49965016 ;;
49975017 openbsd* | bitrig*)
50435063 _LT_TAGVAR(whole_archive_flag_spec, $1)=
50445064 fi
50455065 supports_anon_versioning=no
5046 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5066 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
50475067 *GNU\ gold*) supports_anon_versioning=yes ;;
50485068 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
50495069 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51555175 emximp -o $lib $output_objdir/$libname.def'
51565176 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
51575177 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5178 _LT_TAGVAR(file_list_spec, $1)='@'
51585179 ;;
51595180
51605181 interix[[3-9]]*)
51695190 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
51705191 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
51715192 _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'
5172 _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'
5193 _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'
51735194 ;;
51745195
51755196 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52125233 _LT_TAGVAR(compiler_needs_object, $1)=yes
52135234 ;;
52145235 esac
5215 case `$CC -V 2>&1 | sed 5q` in
5236 case `$CC -V 2>&1 | $SED 5q` in
52165237 *Sun\ C*) # Sun C 5.9
52175238 _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'
52185239 _LT_TAGVAR(compiler_needs_object, $1)=yes
52245245
52255246 if test yes = "$supports_anon_versioning"; then
52265247 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5248 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52285249 echo "local: *; };" >> $output_objdir/$libname.ver~
52295250 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
52305251 fi
52405261 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
52415262 if test yes = "$supports_anon_versioning"; then
52425263 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5264 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52445265 echo "local: *; };" >> $output_objdir/$libname.ver~
52455266 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52465267 fi
53725393 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
53735394 _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'
53745395 else
5375 _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'
5396 _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'
53765397 fi
53775398 aix_use_runtimelinking=no
53785399
55555576
55565577 cygwin* | mingw* | pw32* | cegcc*)
55575578 # When not using gcc, we currently assume that we are using
5558 # Microsoft Visual C++.
5579 # Microsoft Visual C++ or Intel C++ Compiler.
55595580 # hardcode_libdir_flag_spec is actually meaningless, as there is
55605581 # no search path for DLLs.
55615582 case $cc_basename in
5562 cl*)
5563 # Native MSVC
5583 cl* | icl*)
5584 # Native MSVC or ICC
55645585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
55655586 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
55665587 _LT_TAGVAR(always_export_symbols, $1)=yes
56015622 fi'
56025623 ;;
56035624 *)
5604 # Assume MSVC wrapper
5625 # Assume MSVC and ICC wrapper
56055626 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
56065627 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56075628 # Tell ltmain to make .lib files, not .a files.
56495670 ;;
56505671
56515672 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5652 freebsd* | dragonfly*)
5673 freebsd* | dragonfly* | midnightbsd*)
56535674 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
56545675 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
56555676 _LT_TAGVAR(hardcode_direct, $1)=yes
58605881 emximp -o $lib $output_objdir/$libname.def'
58615882 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
58625883 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5884 _LT_TAGVAR(file_list_spec, $1)='@'
58635885 ;;
58645886
58655887 osf3*)
66306652
66316653 cygwin* | mingw* | pw32* | cegcc*)
66326654 case $GXX,$cc_basename in
6633 ,cl* | no,cl*)
6634 # Native MSVC
6655 ,cl* | no,cl* | ,icl* | no,icl*)
6656 # Native MSVC or ICC
66356657 # hardcode_libdir_flag_spec is actually meaningless, as there is
66366658 # no search path for DLLs.
66376659 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
67296751 emximp -o $lib $output_objdir/$libname.def'
67306752 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
67316753 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6754 _LT_TAGVAR(file_list_spec, $1)='@'
67326755 ;;
67336756
67346757 dgux*)
67596782 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
67606783 ;;
67616784
6762 freebsd* | dragonfly*)
6785 freebsd* | dragonfly* | midnightbsd*)
67636786 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
67646787 # conventions
67656788 _LT_TAGVAR(ld_shlibs, $1)=yes
68966919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
68976920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
68986921 _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'
6899 _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'
6922 _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'
69006923 ;;
69016924 irix5* | irix6*)
69026925 case $cc_basename in
70367059 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
70377060 if test yes = "$supports_anon_versioning"; then
70387061 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7062 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
70407063 echo "local: *; };" >> $output_objdir/$libname.ver~
70417064 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
70427065 fi
70437066 ;;
70447067 *)
7045 case `$CC -V 2>&1 | sed 5q` in
7068 case `$CC -V 2>&1 | $SED 5q` in
70467069 *Sun\ C*)
70477070 # Sun C++ 5.9
70487071 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
81878210 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
81888211 AC_SUBST([DLLTOOL])
81898212 ])
8213
8214 # _LT_DECL_FILECMD
8215 # ----------------
8216 # Check for a file(cmd) program that can be used to detect file type and magic
8217 m4_defun([_LT_DECL_FILECMD],
8218 [AC_CHECK_TOOL([FILECMD], [file], [:])
8219 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
8220 ])# _LD_DECL_FILECMD
81908221
81918222 # _LT_DECL_SED
81928223 # ------------
00 # Helper functions for option handling. -*- Autoconf -*-
11 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
66 # This file is free software; the Free Software Foundation gives
00 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
33 # Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
00 # ltversion.m4 -- version numbers -*- Autoconf -*-
11 #
2 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
2 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
3 # Inc.
34 # Written by Scott James Remnant, 2004
45 #
56 # This file is free software; the Free Software Foundation gives
89
910 # @configure_input@
1011
11 # serial 4179 ltversion.m4
12 # serial 4245 ltversion.m4
1213 # This file is part of GNU Libtool
1314
14 m4_define([LT_PACKAGE_VERSION], [2.4.6])
15 m4_define([LT_PACKAGE_REVISION], [2.4.6])
15 m4_define([LT_PACKAGE_VERSION], [2.4.7])
16 m4_define([LT_PACKAGE_REVISION], [2.4.7])
1617
1718 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.4.6'
19 macro_revision='2.4.6'
19 [macro_version='2.4.7'
20 macro_revision='2.4.7'
2021 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2122 _LT_DECL(, macro_revision, 0)
2223 ])
00 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Scott James Remnant, 2004.
55 #
66 # This file is free software; the Free Software Foundation gives
169169 CC = @CC@
170170 CCDEPMODE = @CCDEPMODE@
171171 CFLAGS = @CFLAGS@
172 CPP = @CPP@
173172 CPPFLAGS = @CPPFLAGS@
174173 CSCOPE = @CSCOPE@
175174 CTAGS = @CTAGS@
186185 ETAGS = @ETAGS@
187186 EXEEXT = @EXEEXT@
188187 FGREP = @FGREP@
188 FILECMD = @FILECMD@
189189 GREP = @GREP@
190190 INSTALL = @INSTALL@
191191 INSTALL_DATA = @INSTALL_DATA@
269269 prefix = @prefix@
270270 program_transform_name = @program_transform_name@
271271 psdir = @psdir@
272 runstatedir = @runstatedir@
272273 sbindir = @sbindir@
273274 sharedstatedir = @sharedstatedir@
274275 srcdir = @srcdir@
217217 CC = @CC@
218218 CCDEPMODE = @CCDEPMODE@
219219 CFLAGS = @CFLAGS@
220 CPP = @CPP@
221220 CPPFLAGS = @CPPFLAGS@
222221 CSCOPE = @CSCOPE@
223222 CTAGS = @CTAGS@
234233 ETAGS = @ETAGS@
235234 EXEEXT = @EXEEXT@
236235 FGREP = @FGREP@
236 FILECMD = @FILECMD@
237237 GREP = @GREP@
238238 INSTALL = @INSTALL@
239239 INSTALL_DATA = @INSTALL_DATA@
317317 prefix = @prefix@
318318 program_transform_name = @program_transform_name@
319319 psdir = @psdir@
320 runstatedir = @runstatedir@
320321 sbindir = @sbindir@
321322 sharedstatedir = @sharedstatedir@
322323 srcdir = @srcdir@
3333 {
3434 switch (rop)
3535 {
36 case PT_ROP_0:
37 return 0;
38 case PT_ROP_DSon:
39 return ~(src | dst);
40 case PT_ROP_DSna:
41 return (~src) & dst;
42 case PT_ROP_Sn:
43 return ~src;
44 case PT_ROP_SDna:
45 return src & (~dst);
46 case PT_ROP_Dn:
47 return ~(dst);
48 case PT_ROP_DSx:
49 return src ^ dst;
50 case PT_ROP_DSan:
51 return ~(src & dst);
52 case PT_ROP_DSa:
53 return src & dst;
54 case PT_ROP_DSxn:
55 return ~(src) ^ dst;
56 case PT_ROP_D:
57 return dst;
58 case PT_ROP_DSno:
59 return (~src) | dst;
60 case PT_ROP_S:
61 return src;
62 case PT_ROP_SDno:
63 return src | (~dst);
64 case PT_ROP_DSo:
65 return src | dst;
66 case PT_ROP_1:
67 return ~0;
36 case PT_ROP_0: return 0;
37 case PT_ROP_DSon: return ~(src | dst);
38 case PT_ROP_DSna: return (~src) & dst;
39 case PT_ROP_Sn: return ~src;
40 case PT_ROP_SDna: return src & (~dst);
41 case PT_ROP_Dn: return ~(dst);
42 case PT_ROP_DSx: return src ^ dst;
43 case PT_ROP_DSan: return ~(src & dst);
44 case PT_ROP_DSa: return src & dst;
45 case PT_ROP_DSxn: return ~(src) ^ dst;
46 case PT_ROP_D: return dst;
47 case PT_ROP_DSno: return (~src) | dst;
48 case PT_ROP_S: return src;
49 case PT_ROP_SDno: return src | (~dst);
50 case PT_ROP_DSo: return src | dst;
51 case PT_ROP_1: return ~0;
6852 }
6953 return dst;
7054 }
7862 int Bpp;
7963
8064 if ((x >= 0) && (x < bitmap->width) &&
81 (y >= 0) && (y < bitmap->height))
65 (y >= 0) && (y < bitmap->height))
8266 {
8367 bpp = bitmap->format >> 24;
8468 if (bpp < 8)
254238 int x, int y, int pixel, int pixel_format)
255239 {
256240 if ((painter->clip_valid == 0) ||
257 ((x >= painter->clip.x1) && (x < painter->clip.x2) &&
258 (y >= painter->clip.y1) && (y < painter->clip.y2)))
241 ((x >= painter->clip.x1) && (x < painter->clip.x2) &&
242 (y >= painter->clip.y1) && (y < painter->clip.y2)))
259243 {
260244 if ((x >= 0) && (x < bitmap->width) &&
261 (y >= 0) && (y < bitmap->height))
245 (y >= 0) && (y < bitmap->height))
262246 {
263247 pixel = pixel_convert(pixel, pixel_format, bitmap->format,
264248 painter->palette);
1919 #define __PAINTER_UTILS_H
2020
2121 #define SPLIT_a8r8g8b8(_c, _a, _r, _g, _b) \
22 do { \
23 _a = ((_c) & 0xff000000) >> 24; \
24 _r = ((_c) & 0x00ff0000) >> 16; \
25 _g = ((_c) & 0x0000ff00) >> 8; \
26 _b = ((_c) & 0x000000ff) >> 0; \
27 } while (0)
22 do { \
23 _a = ((_c) & 0xff000000) >> 24; \
24 _r = ((_c) & 0x00ff0000) >> 16; \
25 _g = ((_c) & 0x0000ff00) >> 8; \
26 _b = ((_c) & 0x000000ff) >> 0; \
27 } while (0)
2828
2929 #define SPLIT_a8b8g8r8(_c, _a, _r, _g, _b) \
30 do { \
31 _a = ((_c) & 0xff000000) >> 24; \
32 _b = ((_c) & 0x00ff0000) >> 16; \
33 _g = ((_c) & 0x0000ff00) >> 8; \
34 _r = ((_c) & 0x000000ff) >> 0; \
35 } while (0)
30 do { \
31 _a = ((_c) & 0xff000000) >> 24; \
32 _b = ((_c) & 0x00ff0000) >> 16; \
33 _g = ((_c) & 0x0000ff00) >> 8; \
34 _r = ((_c) & 0x000000ff) >> 0; \
35 } while (0)
3636
3737 #define SPLIT_a1r5g5b5(_c, _a, _r, _g, _b) \
38 do { \
39 _a = (((_c) >> 15) & 1) * 0xff; \
40 _r = (((_c) >> 7) & 0xf8) | (((_c) >> 12) & 0x7); \
41 _g = (((_c) >> 2) & 0xf8) | (((_c) >> 8) & 0x7); \
42 _b = (((_c) << 3) & 0xf8) | (((_c) >> 2) & 0x7); \
43 } while (0)
38 do { \
39 _a = (((_c) >> 15) & 1) * 0xff; \
40 _r = (((_c) >> 7) & 0xf8) | (((_c) >> 12) & 0x7); \
41 _g = (((_c) >> 2) & 0xf8) | (((_c) >> 8) & 0x7); \
42 _b = (((_c) << 3) & 0xf8) | (((_c) >> 2) & 0x7); \
43 } while (0)
4444
4545 #define SPLIT_r5g6b5(_c, _a, _r, _g, _b) \
46 do { \
47 _a = 0xff; \
48 _r = (((_c) >> 8) & 0xf8) | (((_c) >> 13) & 0x7); \
49 _g = (((_c) >> 3) & 0xfc) | (((_c) >> 9) & 0x3); \
50 _b = (((_c) << 3) & 0xf8) | (((_c) >> 2) & 0x7); \
51 } while (0)
46 do { \
47 _a = 0xff; \
48 _r = (((_c) >> 8) & 0xf8) | (((_c) >> 13) & 0x7); \
49 _g = (((_c) >> 3) & 0xfc) | (((_c) >> 9) & 0x3); \
50 _b = (((_c) << 3) & 0xf8) | (((_c) >> 2) & 0x7); \
51 } while (0)
5252
5353 #define SPLIT_r3g3b2(_c, _a, _r, _g, _b) \
54 do { \
55 _a = 0xff; \
56 _r = 0; \
57 _g = 0; \
58 _b = 0; \
59 } while (0)
54 do { \
55 _a = 0xff; \
56 _r = 0; \
57 _g = 0; \
58 _b = 0; \
59 } while (0)
6060
6161 #define MAKE_a1r5g5b5(_c, _a, _r, _g, _b) \
62 do { \
63 _c = (((_a) & 0xff) >> 7) << 15 | \
64 (((_r) & 0xff) >> 3) << 10 | \
65 (((_g) & 0xff) >> 3) << 5 | \
66 (((_b) & 0xff) >> 3) << 0; \
67 } while (0)
62 do { \
63 _c = (((_a) & 0xff) >> 7) << 15 | \
64 (((_r) & 0xff) >> 3) << 10 | \
65 (((_g) & 0xff) >> 3) << 5 | \
66 (((_b) & 0xff) >> 3) << 0; \
67 } while (0)
6868
6969 #define MAKE_r5g6b5(_c, _a, _r, _g, _b) \
70 do { \
71 _c = \
72 (((_r) & 0xff) >> 3) << 11 | \
73 (((_g) & 0xff) >> 2) << 5 | \
74 (((_b) & 0xff) >> 3) << 0; \
75 } while (0)
70 do { \
71 _c = \
72 (((_r) & 0xff) >> 3) << 11 | \
73 (((_g) & 0xff) >> 2) << 5 | \
74 (((_b) & 0xff) >> 3) << 0; \
75 } while (0)
7676
7777 #define MAKE_a8r8g8b8(_c, _a, _r, _g, _b) \
78 do { \
79 _c = ((_a) & 0xff) << 24 | \
80 ((_r) & 0xff) << 16 | \
81 ((_g) & 0xff) << 8 | \
82 ((_b) & 0xff) << 0; \
83 } while (0)
78 do { \
79 _c = ((_a) & 0xff) << 24 | \
80 ((_r) & 0xff) << 16 | \
81 ((_g) & 0xff) << 8 | \
82 ((_b) & 0xff) << 0; \
83 } while (0)
8484
8585 #define MAKE_a8b8g8r8(_c, _a, _r, _g, _b) \
86 do { \
87 _c = ((_a) & 0xff) << 24 | \
88 ((_b) & 0xff) << 16 | \
89 ((_g) & 0xff) << 8 | \
90 ((_r) & 0xff) << 0; \
91 } while (0)
86 do { \
87 _c = ((_a) & 0xff) << 24 | \
88 ((_b) & 0xff) << 16 | \
89 ((_g) & 0xff) << 8 | \
90 ((_r) & 0xff) << 0; \
91 } while (0)
9292
9393 struct painter_rect
9494 {
192192 CC = @CC@
193193 CCDEPMODE = @CCDEPMODE@
194194 CFLAGS = @CFLAGS@
195 CPP = @CPP@
196195 CPPFLAGS = @CPPFLAGS@
197196 CSCOPE = @CSCOPE@
198197 CTAGS = @CTAGS@
209208 ETAGS = @ETAGS@
210209 EXEEXT = @EXEEXT@
211210 FGREP = @FGREP@
211 FILECMD = @FILECMD@
212212 GREP = @GREP@
213213 INSTALL = @INSTALL@
214214 INSTALL_DATA = @INSTALL_DATA@
292292 prefix = @prefix@
293293 program_transform_name = @program_transform_name@
294294 psdir = @psdir@
295 runstatedir = @runstatedir@
295296 sbindir = @sbindir@
296297 sharedstatedir = @sharedstatedir@
297298 srcdir = @srcdir@
249249 CC = @CC@
250250 CCDEPMODE = @CCDEPMODE@
251251 CFLAGS = @CFLAGS@
252 CPP = @CPP@
253252 CPPFLAGS = @CPPFLAGS@
254253 CSCOPE = @CSCOPE@
255254 CTAGS = @CTAGS@
266265 ETAGS = @ETAGS@
267266 EXEEXT = @EXEEXT@
268267 FGREP = @FGREP@
268 FILECMD = @FILECMD@
269269 GREP = @GREP@
270270 INSTALL = @INSTALL@
271271 INSTALL_DATA = @INSTALL_DATA@
351351 prefix = @prefix@
352352 program_transform_name = @program_transform_name@
353353 psdir = @psdir@
354 runstatedir = @runstatedir@
354355 sbindir = @sbindir@
355356 sharedstatedir = @sharedstatedir@
356357 srcdir = @srcdir@
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'.])])
55 /* Define to 1 if you have the <inttypes.h> header file. */
66 #undef HAVE_INTTYPES_H
77
8 /* Define to 1 if you have the <memory.h> header file. */
9 #undef HAVE_MEMORY_H
10
118 /* Define to 1 if you have the <stdint.h> header file. */
129 #undef HAVE_STDINT_H
10
11 /* Define to 1 if you have the <stdio.h> header file. */
12 #undef HAVE_STDIO_H
1313
1414 /* Define to 1 if you have the <stdlib.h> header file. */
1515 #undef HAVE_STDLIB_H
5959 /* Use x86 SIMD instructions */
6060 #undef RFX_USE_ACCEL_X86
6161
62 /* Define to 1 if you have the ANSI C header files. */
62 /* Define to 1 if all of the C90 standard headers exist (not just the ones
63 required in a freestanding environment). This macro is provided for
64 backward compatibility; new code need not use it. */
6365 #undef STDC_HEADERS
6466
6567 /* Version number of package */
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for rfxcodec 0.1.5.
2 # Generated by GNU Autoconf 2.71 for rfxcodec 0.1.6.
33 #
44 # Report bugs to <xrdp-devel@googlegroups.com>.
55 #
66 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8 # Inc.
89 #
910 #
1011 # This configure script is free software; the Free Software Foundation
1516
1617 # Be more Bourne compatible
1718 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 as_nop=:
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
1922 emulate sh
2023 NULLCMD=:
2124 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2225 # is contrary to our usage. Disable this feature.
2326 alias -g '${1+"$@"}'='"$@"'
2427 setopt NO_GLOB_SUBST
25 else
28 else $as_nop
2629 case `(set -o) 2>/dev/null` in #(
2730 *posix*) :
2831 set -o posix ;; #(
3235 fi
3336
3437
38
39 # Reset variables that may have inherited troublesome values from
40 # the environment.
41
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
3546 as_nl='
3647 '
3748 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
49 IFS=" "" $as_nl"
50
51 PS1='$ '
52 PS2='> '
53 PS4='+ '
54
55 # Ensure predictable behavior from utilities with locale-dependent output.
56 LC_ALL=C
57 export LC_ALL
58 LANGUAGE=C
59 export LANGUAGE
60
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69 done
70
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7275
7376 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
77 if ${PATH_SEPARATOR+false} :; then
7578 PATH_SEPARATOR=:
7679 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7982 }
8083 fi
8184
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
8985
9086 # Find who we are. Look in the path if we contain no directory separator.
9187 as_myself=
9591 for as_dir in $PATH
9692 do
9793 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94 case $as_dir in #(((
95 '') as_dir=./ ;;
96 */) ;;
97 *) as_dir=$as_dir/ ;;
98 esac
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100100 done
101101 IFS=$as_save_IFS
102102
108108 as_myself=$0
109109 fi
110110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112112 exit 1
113113 fi
114114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135115
136116 # Use a proper internal environment variable to ensure we don't fall
137117 # into an infinite loop, continuously re-executing ourselves.
153133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154134 # Admittedly, this is quite paranoid, since all the known shells bail
155135 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137 exit 255
158138 fi
159139 # We don't want this to propagate to other subprocesses.
160140 { _as_can_reexec=; unset _as_can_reexec;}
161141 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
163145 emulate sh
164146 NULLCMD=:
165147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166148 # is contrary to our usage. Disable this feature.
167149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168150 setopt NO_GLOB_SUBST
169 else
151 else \$as_nop
170152 case \`(set -o) 2>/dev/null\` in #(
171153 *posix*) :
172154 set -o posix ;; #(
186168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172 then :
173
174 else \$as_nop
192175 exitcode=1; echo positional parameters were not saved.
193176 fi
194177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
195180 test -x / || exit 1"
196181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
206191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
208193 test \$(( 1 + 1 )) = 2 || exit 1"
209 if (eval "$as_required") 2>/dev/null; then :
194 if (eval "$as_required") 2>/dev/null
195 then :
210196 as_have_required=yes
211 else
197 else $as_nop
212198 as_have_required=no
213199 fi
214 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215
216 else
200 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
201 then :
202
203 else $as_nop
217204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218205 as_found=false
219206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220207 do
221208 IFS=$as_save_IFS
222 test -z "$as_dir" && as_dir=.
209 case $as_dir in #(((
210 '') as_dir=./ ;;
211 */) ;;
212 *) as_dir=$as_dir/ ;;
213 esac
223214 as_found=:
224215 case $as_dir in #(
225216 /*)
226217 for as_base in sh bash ksh sh5; do
227218 # Try only shells that exist, to save several forks.
228 as_shell=$as_dir/$as_base
219 as_shell=$as_dir$as_base
229220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
230 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
222 then :
231223 CONFIG_SHELL=$as_shell as_have_required=yes
232 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
225 then :
233226 break 2
234227 fi
235228 fi
237230 esac
238231 as_found=false
239232 done
240 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 IFS=$as_save_IFS
234 if $as_found
235 then :
236
237 else $as_nop
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
240 then :
242241 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi; }
244 IFS=$as_save_IFS
245
246
247 if test "x$CONFIG_SHELL" != x; then :
242 fi
243 fi
244
245
246 if test "x$CONFIG_SHELL" != x
247 then :
248248 export CONFIG_SHELL
249249 # We cannot yet assume a decent shell, so we have to provide a
250250 # neutralization value for shells without unset; and this also
262262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263263 # Admittedly, this is quite paranoid, since all the known shells bail
264264 # out after a failed `exec'.
265 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
266266 exit 255
267267 fi
268268
269 if test x$as_have_required = xno; then :
270 $as_echo "$0: This script requires a shell more modern than all"
271 $as_echo "$0: the shells that I found on your system."
272 if test x${ZSH_VERSION+set} = xset ; then
273 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 if test x$as_have_required = xno
270 then :
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
275276 else
276 $as_echo "$0: Please tell bug-autoconf@gnu.org and
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
277278 $0: xrdp-devel@googlegroups.com about your system,
278279 $0: including any error possibly output before this
279280 $0: message. Then install a modern shell, or manually run
301302 }
302303 as_unset=as_fn_unset
303304
305
304306 # as_fn_set_status STATUS
305307 # -----------------------
306308 # Set $? to STATUS, without forking.
318320 as_fn_set_status $1
319321 exit $1
320322 } # as_fn_exit
323 # as_fn_nop
324 # ---------
325 # Do nothing but, unlike ":", preserve the value of $?.
326 as_fn_nop ()
327 {
328 return $?
329 }
330 as_nop=as_fn_nop
321331
322332 # as_fn_mkdir_p
323333 # -------------
332342 as_dirs=
333343 while :; do
334344 case $as_dir in #(
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
345 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336346 *) as_qdir=$as_dir;;
337347 esac
338348 as_dirs="'$as_qdir' $as_dirs"
341351 X"$as_dir" : 'X\(//\)[^/]' \| \
342352 X"$as_dir" : 'X\(//\)$' \| \
343353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
354 printf "%s\n" X"$as_dir" |
345355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346356 s//\1/
347357 q
380390 # advantage of any shell optimizations that allow amortized linear growth over
381391 # repeated appends, instead of the typical quadratic growth present in naive
382392 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
394 then :
384395 eval 'as_fn_append ()
385396 {
386397 eval $1+=\$2
387398 }'
388 else
399 else $as_nop
389400 as_fn_append ()
390401 {
391402 eval $1=\$$1\$2
397408 # Perform arithmetic evaluation on the ARGs, and store the result in the
398409 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399410 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 then :
401413 eval 'as_fn_arith ()
402414 {
403415 as_val=$(( $* ))
404416 }'
405 else
417 else $as_nop
406418 as_fn_arith ()
407419 {
408420 as_val=`expr "$@" || test $? -eq 1`
409421 }
410422 fi # as_fn_arith
411423
424 # as_fn_nop
425 # ---------
426 # Do nothing but, unlike ":", preserve the value of $?.
427 as_fn_nop ()
428 {
429 return $?
430 }
431 as_nop=as_fn_nop
412432
413433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414434 # ----------------------------------------
420440 as_status=$1; test $as_status -eq 0 && as_status=1
421441 if test "$4"; then
422442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424444 fi
425 $as_echo "$as_me: error: $2" >&2
445 printf "%s\n" "$as_me: error: $2" >&2
426446 as_fn_exit $as_status
427447 } # as_fn_error
428448
449469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450470 X"$0" : 'X\(//\)$' \| \
451471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
472 printf "%s\n" X/"$0" |
453473 sed '/^.*\/\([^/][^/]*\)\/*$/{
454474 s//\1/
455475 q
493513 s/-\n.*//
494514 ' >$as_me.lineno &&
495515 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497517
498518 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499519 # already done that, so ensure we don't try to do so again and fall
507527 exit
508528 }
509529
530
531 # Determine whether it's possible to make 'echo' print without a newline.
532 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
533 # for compatibility with existing Makefiles.
510534 ECHO_C= ECHO_N= ECHO_T=
511535 case `echo -n x` in #(((((
512536 -n*)
519543 *)
520544 ECHO_N='-n';;
521545 esac
546
547 # For backward compatibility with old third-party macros, we provide
548 # the shell variables $as_echo and $as_echo_n. New code should use
549 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
550 as_echo='printf %s\n'
551 as_echo_n='printf %s'
552
522553
523554 rm -f conf$$ conf$$.exe conf$$.file
524555 if test -d conf$$.dir; then
589620 # Identity of this package.
590621 PACKAGE_NAME='rfxcodec'
591622 PACKAGE_TARNAME='rfxcodec'
592 PACKAGE_VERSION='0.1.5'
593 PACKAGE_STRING='rfxcodec 0.1.5'
623 PACKAGE_VERSION='0.1.6'
624 PACKAGE_STRING='rfxcodec 0.1.6'
594625 PACKAGE_BUGREPORT='xrdp-devel@googlegroups.com'
595626 PACKAGE_URL=''
596627
597628 # Factoring default headers for most tests.
598629 ac_includes_default="\
599 #include <stdio.h>
600 #ifdef HAVE_SYS_TYPES_H
601 # include <sys/types.h>
630 #include <stddef.h>
631 #ifdef HAVE_STDIO_H
632 # include <stdio.h>
602633 #endif
603 #ifdef HAVE_SYS_STAT_H
604 # include <sys/stat.h>
605 #endif
606 #ifdef STDC_HEADERS
634 #ifdef HAVE_STDLIB_H
607635 # include <stdlib.h>
608 # include <stddef.h>
609 #else
610 # ifdef HAVE_STDLIB_H
611 # include <stdlib.h>
612 # endif
613636 #endif
614637 #ifdef HAVE_STRING_H
615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
616 # include <memory.h>
617 # endif
618638 # include <string.h>
619 #endif
620 #ifdef HAVE_STRINGS_H
621 # include <strings.h>
622639 #endif
623640 #ifdef HAVE_INTTYPES_H
624641 # include <inttypes.h>
626643 #ifdef HAVE_STDINT_H
627644 # include <stdint.h>
628645 #endif
646 #ifdef HAVE_STRINGS_H
647 # include <strings.h>
648 #endif
649 #ifdef HAVE_SYS_TYPES_H
650 # include <sys/types.h>
651 #endif
652 #ifdef HAVE_SYS_STAT_H
653 # include <sys/stat.h>
654 #endif
629655 #ifdef HAVE_UNISTD_H
630656 # include <unistd.h>
631657 #endif"
632658
659 ac_header_c_list=
633660 ac_subst_vars='am__EXEEXT_FALSE
634661 am__EXEEXT_TRUE
635662 LTLIBOBJS
643670 NAFLAGS
644671 NASM
645672 pkgconfigdir
646 CPP
647673 LT_SYS_LIBRARY_PATH
648674 OTOOL64
649675 OTOOL
656682 AR
657683 DLLTOOL
658684 OBJDUMP
685 FILECMD
659686 LN_S
660687 NM
661688 ac_ct_DUMPBIN
739766 docdir
740767 oldincludedir
741768 includedir
769 runstatedir
742770 localstatedir
743771 sharedstatedir
744772 sysconfdir
785813 LDFLAGS
786814 LIBS
787815 CPPFLAGS
788 LT_SYS_LIBRARY_PATH
789 CPP'
816 LT_SYS_LIBRARY_PATH'
790817
791818
792819 # Initialize some variables set by options.
825852 sysconfdir='${prefix}/etc'
826853 sharedstatedir='${prefix}/com'
827854 localstatedir='${prefix}/var'
855 runstatedir='${localstatedir}/run'
828856 includedir='${prefix}/include'
829857 oldincludedir='/usr/include'
830858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854882 *) ac_optarg=yes ;;
855883 esac
856884
857 # Accept the important Cygnus configure options, so we can diagnose typos.
858
859885 case $ac_dashdash$ac_option in
860886 --)
861887 ac_dashdash=yes ;;
896922 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897923 # Reject names that are not valid shell variable names.
898924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error $? "invalid feature name: $ac_useropt"
925 as_fn_error $? "invalid feature name: \`$ac_useropt'"
900926 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
902928 case $ac_user_opts in
903929 *"
904930 "enable_$ac_useropt"
922948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923949 # Reject names that are not valid shell variable names.
924950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error $? "invalid feature name: $ac_useropt"
951 as_fn_error $? "invalid feature name: \`$ac_useropt'"
926952 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
928954 case $ac_user_opts in
929955 *"
930956 "enable_$ac_useropt"
10771103 | -silent | --silent | --silen | --sile | --sil)
10781104 silent=yes ;;
10791105
1106 -runstatedir | --runstatedir | --runstatedi | --runstated \
1107 | --runstate | --runstat | --runsta | --runst | --runs \
1108 | --run | --ru | --r)
1109 ac_prev=runstatedir ;;
1110 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1111 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1112 | --run=* | --ru=* | --r=*)
1113 runstatedir=$ac_optarg ;;
1114
10801115 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10811116 ac_prev=sbindir ;;
10821117 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11261161 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11271162 # Reject names that are not valid shell variable names.
11281163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error $? "invalid package name: $ac_useropt"
1164 as_fn_error $? "invalid package name: \`$ac_useropt'"
11301165 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11321167 case $ac_user_opts in
11331168 *"
11341169 "with_$ac_useropt"
11421177 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11431178 # Reject names that are not valid shell variable names.
11441179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error $? "invalid package name: $ac_useropt"
1180 as_fn_error $? "invalid package name: \`$ac_useropt'"
11461181 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11481183 case $ac_user_opts in
11491184 *"
11501185 "with_$ac_useropt"
11881223
11891224 *)
11901225 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11921227 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11941229 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11951230 ;;
11961231
12061241 case $enable_option_checking in
12071242 no) ;;
12081243 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12101245 esac
12111246 fi
12121247
12141249 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12151250 datadir sysconfdir sharedstatedir localstatedir includedir \
12161251 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1252 libdir localedir mandir runstatedir
12181253 do
12191254 eval ac_val=\$$ac_var
12201255 # Remove trailing slashes.
12701305 X"$as_myself" : 'X\(//\)[^/]' \| \
12711306 X"$as_myself" : 'X\(//\)$' \| \
12721307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1308 printf "%s\n" X"$as_myself" |
12741309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12751310 s//\1/
12761311 q
13271362 # Omit some internal or obsolete options to make the list less imposing.
13281363 # This message is too long to be a string in the A/UX 3.1 sh.
13291364 cat <<_ACEOF
1330 \`configure' configures rfxcodec 0.1.5 to adapt to many kinds of systems.
1365 \`configure' configures rfxcodec 0.1.6 to adapt to many kinds of systems.
13311366
13321367 Usage: $0 [OPTION]... [VAR=VALUE]...
13331368
13671402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13681403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13691404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1405 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13701406 --libdir=DIR object code libraries [EPREFIX/lib]
13711407 --includedir=DIR C header files [PREFIX/include]
13721408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
13971433
13981434 if test -n "$ac_init_help"; then
13991435 case $ac_init_help in
1400 short | recursive ) echo "Configuration of rfxcodec 0.1.5:";;
1436 short | recursive ) echo "Configuration of rfxcodec 0.1.6:";;
14011437 esac
14021438 cat <<\_ACEOF
14031439
14451481 you have headers in a nonstandard directory <include dir>
14461482 LT_SYS_LIBRARY_PATH
14471483 User-defined run-time library search path.
1448 CPP C preprocessor
14491484
14501485 Use these variables to override the choices made by `configure' or to help
14511486 it to find libraries and programs with nonstandard names/locations.
14661501 case "$ac_dir" in
14671502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14681503 *)
1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1504 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14701505 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1506 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14721507 case $ac_top_builddir_sub in
14731508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14741509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14961531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14971532
14981533 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1534 # Check for configure.gnu first; this name is used for a wrapper for
1535 # Metaconfig's "Configure" on case-insensitive file systems.
15001536 if test -f "$ac_srcdir/configure.gnu"; then
15011537 echo &&
15021538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
15041540 echo &&
15051541 $SHELL "$ac_srcdir/configure" --help=recursive
15061542 else
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15081544 fi || ac_status=$?
15091545 cd "$ac_pwd" || { ac_status=$?; break; }
15101546 done
15131549 test -n "$ac_init_help" && exit $ac_status
15141550 if $ac_init_version; then
15151551 cat <<\_ACEOF
1516 rfxcodec configure 0.1.5
1517 generated by GNU Autoconf 2.69
1518
1519 Copyright (C) 2012 Free Software Foundation, Inc.
1552 rfxcodec configure 0.1.6
1553 generated by GNU Autoconf 2.71
1554
1555 Copyright (C) 2021 Free Software Foundation, Inc.
15201556 This configure script is free software; the Free Software Foundation
15211557 gives unlimited permission to copy, distribute and modify it.
15221558 _ACEOF
15331569 ac_fn_c_try_compile ()
15341570 {
15351571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1572 rm -f conftest.$ac_objext conftest.beam
15371573 if { { ac_try="$ac_compile"
15381574 case "(($ac_try" in
15391575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15401576 *) ac_try_echo=$ac_try;;
15411577 esac
15421578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1579 printf "%s\n" "$ac_try_echo"; } >&5
15441580 (eval "$ac_compile") 2>conftest.err
15451581 ac_status=$?
15461582 if test -s conftest.err; then
15481584 cat conftest.er1 >&5
15491585 mv -f conftest.er1 conftest.err
15501586 fi
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521588 test $ac_status = 0; } && {
15531589 test -z "$ac_c_werror_flag" ||
15541590 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1591 } && test -s conftest.$ac_objext
1592 then :
15561593 ac_retval=0
1557 else
1558 $as_echo "$as_me: failed program was:" >&5
1594 else $as_nop
1595 printf "%s\n" "$as_me: failed program was:" >&5
15591596 sed 's/^/| /' conftest.$ac_ext >&5
15601597
15611598 ac_retval=1
15711608 ac_fn_c_try_link ()
15721609 {
15731610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 rm -f conftest.$ac_objext conftest$ac_exeext
1611 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
15751612 if { { ac_try="$ac_link"
15761613 case "(($ac_try" in
15771614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15781615 *) ac_try_echo=$ac_try;;
15791616 esac
15801617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1618 printf "%s\n" "$ac_try_echo"; } >&5
15821619 (eval "$ac_link") 2>conftest.err
15831620 ac_status=$?
15841621 if test -s conftest.err; then
15861623 cat conftest.er1 >&5
15871624 mv -f conftest.er1 conftest.err
15881625 fi
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15901627 test $ac_status = 0; } && {
15911628 test -z "$ac_c_werror_flag" ||
15921629 test ! -s conftest.err
15931630 } && test -s conftest$ac_exeext && {
15941631 test "$cross_compiling" = yes ||
15951632 test -x conftest$ac_exeext
1596 }; then :
1633 }
1634 then :
15971635 ac_retval=0
1598 else
1599 $as_echo "$as_me: failed program was:" >&5
1636 else $as_nop
1637 printf "%s\n" "$as_me: failed program was:" >&5
16001638 sed 's/^/| /' conftest.$ac_ext >&5
16011639
16021640 ac_retval=1
16181656 ac_fn_c_check_header_compile ()
16191657 {
16201658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622 $as_echo_n "checking for $2... " >&6; }
1623 if eval \${$3+:} false; then :
1624 $as_echo_n "(cached) " >&6
1625 else
1659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 printf %s "checking for $2... " >&6; }
1661 if eval test \${$3+y}
1662 then :
1663 printf %s "(cached) " >&6
1664 else $as_nop
16261665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271666 /* end confdefs.h. */
16281667 $4
16291668 #include <$2>
16301669 _ACEOF
1631 if ac_fn_c_try_compile "$LINENO"; then :
1670 if ac_fn_c_try_compile "$LINENO"
1671 then :
16321672 eval "$3=yes"
1633 else
1673 else $as_nop
16341674 eval "$3=no"
16351675 fi
1636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16371677 fi
16381678 eval ac_res=\$$3
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 printf "%s\n" "$ac_res" >&6; }
16411681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16421682
16431683 } # ac_fn_c_check_header_compile
1644
1645 # ac_fn_c_try_cpp LINENO
1646 # ----------------------
1647 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1648 ac_fn_c_try_cpp ()
1649 {
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 if { { ac_try="$ac_cpp conftest.$ac_ext"
1652 case "(($ac_try" in
1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1655 esac
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1659 ac_status=$?
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1664 fi
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } > conftest.i && {
1667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1669 }; then :
1670 ac_retval=0
1671 else
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1674
1675 ac_retval=1
1676 fi
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 as_fn_set_status $ac_retval
1679
1680 } # ac_fn_c_try_cpp
1681
1682 # ac_fn_c_try_run LINENO
1683 # ----------------------
1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1685 # that executables *can* be run.
1686 ac_fn_c_try_run ()
1687 {
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_link"
1690 case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_link") 2>&5
1697 ac_status=$?
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1700 { { case "(($ac_try" in
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_try") 2>&5
1707 ac_status=$?
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; }; }; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: program exited with status $ac_status" >&5
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716 ac_retval=$ac_status
1717 fi
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval
1721
1722 } # ac_fn_c_try_run
17231684
17241685 # ac_fn_c_check_func LINENO FUNC VAR
17251686 # ----------------------------------
17271688 ac_fn_c_check_func ()
17281689 {
17291690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1734 else
1691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 printf %s "checking for $2... " >&6; }
1693 if eval test \${$3+y}
1694 then :
1695 printf %s "(cached) " >&6
1696 else $as_nop
17351697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361698 /* end confdefs.h. */
17371699 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17391701 #define $2 innocuous_$2
17401702
17411703 /* System header to define __stub macros and hopefully few prototypes,
1742 which can conflict with char $2 (); below.
1743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1744 <limits.h> exists even on freestanding compilers. */
1745
1746 #ifdef __STDC__
1747 # include <limits.h>
1748 #else
1749 # include <assert.h>
1750 #endif
1751
1704 which can conflict with char $2 (); below. */
1705
1706 #include <limits.h>
17521707 #undef $2
17531708
17541709 /* Override any GCC internal prototype to avoid an error.
17661721 #endif
17671722
17681723 int
1769 main ()
1724 main (void)
17701725 {
17711726 return $2 ();
17721727 ;
17731728 return 0;
17741729 }
17751730 _ACEOF
1776 if ac_fn_c_try_link "$LINENO"; then :
1731 if ac_fn_c_try_link "$LINENO"
1732 then :
17771733 eval "$3=yes"
1778 else
1734 else $as_nop
17791735 eval "$3=no"
17801736 fi
1781 rm -f core conftest.err conftest.$ac_objext \
1737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17821738 conftest$ac_exeext conftest.$ac_ext
17831739 fi
17841740 eval ac_res=\$$3
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 printf "%s\n" "$ac_res" >&6; }
17871743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17881744
17891745 } # ac_fn_c_check_func
1746 ac_configure_args_raw=
1747 for ac_arg
1748 do
1749 case $ac_arg in
1750 *\'*)
1751 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1752 esac
1753 as_fn_append ac_configure_args_raw " '$ac_arg'"
1754 done
1755
1756 case $ac_configure_args_raw in
1757 *$as_nl*)
1758 ac_safe_unquote= ;;
1759 *)
1760 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1761 ac_unsafe_a="$ac_unsafe_z#~"
1762 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1763 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1764 esac
1765
17901766 cat >config.log <<_ACEOF
17911767 This file contains any messages produced by compilers while
17921768 running configure, to aid debugging if configure makes a mistake.
17931769
1794 It was created by rfxcodec $as_me 0.1.5, which was
1795 generated by GNU Autoconf 2.69. Invocation command line was
1796
1797 $ $0 $@
1770 It was created by rfxcodec $as_me 0.1.6, which was
1771 generated by GNU Autoconf 2.71. Invocation command line was
1772
1773 $ $0$ac_configure_args_raw
17981774
17991775 _ACEOF
18001776 exec 5>>config.log
18271803 for as_dir in $PATH
18281804 do
18291805 IFS=$as_save_IFS
1830 test -z "$as_dir" && as_dir=.
1831 $as_echo "PATH: $as_dir"
1806 case $as_dir in #(((
1807 '') as_dir=./ ;;
1808 */) ;;
1809 *) as_dir=$as_dir/ ;;
1810 esac
1811 printf "%s\n" "PATH: $as_dir"
18321812 done
18331813 IFS=$as_save_IFS
18341814
18631843 | -silent | --silent | --silen | --sile | --sil)
18641844 continue ;;
18651845 *\'*)
1866 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1846 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18671847 esac
18681848 case $ac_pass in
18691849 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
18981878 # WARNING: Use '\'' to represent an apostrophe within the trap.
18991879 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
19001880 trap 'exit_status=$?
1881 # Sanitize IFS.
1882 IFS=" "" $as_nl"
19011883 # Save into config.log some information that might help in debugging.
19021884 {
19031885 echo
19041886
1905 $as_echo "## ---------------- ##
1887 printf "%s\n" "## ---------------- ##
19061888 ## Cache variables. ##
19071889 ## ---------------- ##"
19081890 echo
19131895 case $ac_val in #(
19141896 *${as_nl}*)
19151897 case $ac_var in #(
1916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1898 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1899 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19181900 esac
19191901 case $ac_var in #(
19201902 _ | IFS | as_nl) ;; #(
19381920 )
19391921 echo
19401922
1941 $as_echo "## ----------------- ##
1923 printf "%s\n" "## ----------------- ##
19421924 ## Output variables. ##
19431925 ## ----------------- ##"
19441926 echo
19461928 do
19471929 eval ac_val=\$$ac_var
19481930 case $ac_val in
1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1931 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19501932 esac
1951 $as_echo "$ac_var='\''$ac_val'\''"
1933 printf "%s\n" "$ac_var='\''$ac_val'\''"
19521934 done | sort
19531935 echo
19541936
19551937 if test -n "$ac_subst_files"; then
1956 $as_echo "## ------------------- ##
1938 printf "%s\n" "## ------------------- ##
19571939 ## File substitutions. ##
19581940 ## ------------------- ##"
19591941 echo
19611943 do
19621944 eval ac_val=\$$ac_var
19631945 case $ac_val in
1964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1946 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19651947 esac
1966 $as_echo "$ac_var='\''$ac_val'\''"
1948 printf "%s\n" "$ac_var='\''$ac_val'\''"
19671949 done | sort
19681950 echo
19691951 fi
19701952
19711953 if test -s confdefs.h; then
1972 $as_echo "## ----------- ##
1954 printf "%s\n" "## ----------- ##
19731955 ## confdefs.h. ##
19741956 ## ----------- ##"
19751957 echo
19771959 echo
19781960 fi
19791961 test "$ac_signal" != 0 &&
1980 $as_echo "$as_me: caught signal $ac_signal"
1981 $as_echo "$as_me: exit $exit_status"
1962 printf "%s\n" "$as_me: caught signal $ac_signal"
1963 printf "%s\n" "$as_me: exit $exit_status"
19821964 } >&5
19831965 rm -f core *.core core.conftest.* &&
19841966 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
19921974 # confdefs.h avoids OS command line length limits that DEFS can exceed.
19931975 rm -f -r conftest* confdefs.h
19941976
1995 $as_echo "/* confdefs.h */" > confdefs.h
1977 printf "%s\n" "/* confdefs.h */" > confdefs.h
19961978
19971979 # Predefined preprocessor variables.
19981980
1999 cat >>confdefs.h <<_ACEOF
2000 #define PACKAGE_NAME "$PACKAGE_NAME"
2001 _ACEOF
2002
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2005 _ACEOF
2006
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2009 _ACEOF
2010
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_STRING "$PACKAGE_STRING"
2013 _ACEOF
2014
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2017 _ACEOF
2018
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_URL "$PACKAGE_URL"
2021 _ACEOF
1981 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1982
1983 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1984
1985 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1986
1987 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1988
1989 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1990
1991 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
20221992
20231993
20241994 # Let the site file select an alternate cache file if it wants to.
20251995 # Prefer an explicitly selected file to automatically selected ones.
2026 ac_site_file1=NONE
2027 ac_site_file2=NONE
20281996 if test -n "$CONFIG_SITE"; then
2029 # We do not want a PATH search for config.site.
2030 case $CONFIG_SITE in #((
2031 -*) ac_site_file1=./$CONFIG_SITE;;
2032 */*) ac_site_file1=$CONFIG_SITE;;
2033 *) ac_site_file1=./$CONFIG_SITE;;
2034 esac
1997 ac_site_files="$CONFIG_SITE"
20351998 elif test "x$prefix" != xNONE; then
2036 ac_site_file1=$prefix/share/config.site
2037 ac_site_file2=$prefix/etc/config.site
2038 else
2039 ac_site_file1=$ac_default_prefix/share/config.site
2040 ac_site_file2=$ac_default_prefix/etc/config.site
2041 fi
2042 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1999 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2000 else
2001 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2002 fi
2003
2004 for ac_site_file in $ac_site_files
20432005 do
2044 test "x$ac_site_file" = xNONE && continue
2045 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2047 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2006 case $ac_site_file in #(
2007 */*) :
2008 ;; #(
2009 *) :
2010 ac_site_file=./$ac_site_file ;;
2011 esac
2012 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2014 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
20482015 sed 's/^/| /' "$ac_site_file" >&5
20492016 . "$ac_site_file" \
2050 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2017 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2018 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
20522019 as_fn_error $? "failed to load site script $ac_site_file
20532020 See \`config.log' for more details" "$LINENO" 5; }
20542021 fi
20582025 # Some versions of bash will fail to source /dev/null (special files
20592026 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
20602027 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2062 $as_echo "$as_me: loading cache $cache_file" >&6;}
2028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2029 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
20632030 case $cache_file in
20642031 [\\/]* | ?:[\\/]* ) . "$cache_file";;
20652032 *) . "./$cache_file";;
20662033 esac
20672034 fi
20682035 else
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2070 $as_echo "$as_me: creating cache $cache_file" >&6;}
2036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2037 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
20712038 >$cache_file
2039 fi
2040
2041 # Test code for whether the C compiler supports C89 (global declarations)
2042 ac_c_conftest_c89_globals='
2043 /* Does the compiler advertise C89 conformance?
2044 Do not test the value of __STDC__, because some compilers set it to 0
2045 while being otherwise adequately conformant. */
2046 #if !defined __STDC__
2047 # error "Compiler does not advertise C89 conformance"
2048 #endif
2049
2050 #include <stddef.h>
2051 #include <stdarg.h>
2052 struct stat;
2053 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2054 struct buf { int x; };
2055 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2056 static char *e (p, i)
2057 char **p;
2058 int i;
2059 {
2060 return p[i];
2061 }
2062 static char *f (char * (*g) (char **, int), char **p, ...)
2063 {
2064 char *s;
2065 va_list v;
2066 va_start (v,p);
2067 s = g (p, va_arg (v,int));
2068 va_end (v);
2069 return s;
2070 }
2071
2072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2073 function prototypes and stuff, but not \xHH hex character constants.
2074 These do not provoke an error unfortunately, instead are silently treated
2075 as an "x". The following induces an error, until -std is added to get
2076 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2077 array size at least. It is necessary to write \x00 == 0 to get something
2078 that is true only with -std. */
2079 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2080
2081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2082 inside strings and character constants. */
2083 #define FOO(x) '\''x'\''
2084 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2085
2086 int test (int i, double x);
2087 struct s1 {int (*f) (int a);};
2088 struct s2 {int (*f) (double a);};
2089 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2090 int, int);'
2091
2092 # Test code for whether the C compiler supports C89 (body of main).
2093 ac_c_conftest_c89_main='
2094 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2095 '
2096
2097 # Test code for whether the C compiler supports C99 (global declarations)
2098 ac_c_conftest_c99_globals='
2099 // Does the compiler advertise C99 conformance?
2100 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2101 # error "Compiler does not advertise C99 conformance"
2102 #endif
2103
2104 #include <stdbool.h>
2105 extern int puts (const char *);
2106 extern int printf (const char *, ...);
2107 extern int dprintf (int, const char *, ...);
2108 extern void *malloc (size_t);
2109
2110 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2111 // dprintf is used instead of fprintf to avoid needing to declare
2112 // FILE and stderr.
2113 #define debug(...) dprintf (2, __VA_ARGS__)
2114 #define showlist(...) puts (#__VA_ARGS__)
2115 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2116 static void
2117 test_varargs_macros (void)
2118 {
2119 int x = 1234;
2120 int y = 5678;
2121 debug ("Flag");
2122 debug ("X = %d\n", x);
2123 showlist (The first, second, and third items.);
2124 report (x>y, "x is %d but y is %d", x, y);
2125 }
2126
2127 // Check long long types.
2128 #define BIG64 18446744073709551615ull
2129 #define BIG32 4294967295ul
2130 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2131 #if !BIG_OK
2132 #error "your preprocessor is broken"
2133 #endif
2134 #if BIG_OK
2135 #else
2136 #error "your preprocessor is broken"
2137 #endif
2138 static long long int bignum = -9223372036854775807LL;
2139 static unsigned long long int ubignum = BIG64;
2140
2141 struct incomplete_array
2142 {
2143 int datasize;
2144 double data[];
2145 };
2146
2147 struct named_init {
2148 int number;
2149 const wchar_t *name;
2150 double average;
2151 };
2152
2153 typedef const char *ccp;
2154
2155 static inline int
2156 test_restrict (ccp restrict text)
2157 {
2158 // See if C++-style comments work.
2159 // Iterate through items via the restricted pointer.
2160 // Also check for declarations in for loops.
2161 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2162 continue;
2163 return 0;
2164 }
2165
2166 // Check varargs and va_copy.
2167 static bool
2168 test_varargs (const char *format, ...)
2169 {
2170 va_list args;
2171 va_start (args, format);
2172 va_list args_copy;
2173 va_copy (args_copy, args);
2174
2175 const char *str = "";
2176 int number = 0;
2177 float fnumber = 0;
2178
2179 while (*format)
2180 {
2181 switch (*format++)
2182 {
2183 case '\''s'\'': // string
2184 str = va_arg (args_copy, const char *);
2185 break;
2186 case '\''d'\'': // int
2187 number = va_arg (args_copy, int);
2188 break;
2189 case '\''f'\'': // float
2190 fnumber = va_arg (args_copy, double);
2191 break;
2192 default:
2193 break;
2194 }
2195 }
2196 va_end (args_copy);
2197 va_end (args);
2198
2199 return *str && number && fnumber;
2200 }
2201 '
2202
2203 # Test code for whether the C compiler supports C99 (body of main).
2204 ac_c_conftest_c99_main='
2205 // Check bool.
2206 _Bool success = false;
2207 success |= (argc != 0);
2208
2209 // Check restrict.
2210 if (test_restrict ("String literal") == 0)
2211 success = true;
2212 char *restrict newvar = "Another string";
2213
2214 // Check varargs.
2215 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2216 test_varargs_macros ();
2217
2218 // Check flexible array members.
2219 struct incomplete_array *ia =
2220 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2221 ia->datasize = 10;
2222 for (int i = 0; i < ia->datasize; ++i)
2223 ia->data[i] = i * 1.234;
2224
2225 // Check named initializers.
2226 struct named_init ni = {
2227 .number = 34,
2228 .name = L"Test wide string",
2229 .average = 543.34343,
2230 };
2231
2232 ni.number = 58;
2233
2234 int dynamic_array[ni.number];
2235 dynamic_array[0] = argv[0][0];
2236 dynamic_array[ni.number - 1] = 543;
2237
2238 // work around unused variable warnings
2239 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2240 || dynamic_array[ni.number - 1] != 543);
2241 '
2242
2243 # Test code for whether the C compiler supports C11 (global declarations)
2244 ac_c_conftest_c11_globals='
2245 // Does the compiler advertise C11 conformance?
2246 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2247 # error "Compiler does not advertise C11 conformance"
2248 #endif
2249
2250 // Check _Alignas.
2251 char _Alignas (double) aligned_as_double;
2252 char _Alignas (0) no_special_alignment;
2253 extern char aligned_as_int;
2254 char _Alignas (0) _Alignas (int) aligned_as_int;
2255
2256 // Check _Alignof.
2257 enum
2258 {
2259 int_alignment = _Alignof (int),
2260 int_array_alignment = _Alignof (int[100]),
2261 char_alignment = _Alignof (char)
2262 };
2263 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2264
2265 // Check _Noreturn.
2266 int _Noreturn does_not_return (void) { for (;;) continue; }
2267
2268 // Check _Static_assert.
2269 struct test_static_assert
2270 {
2271 int x;
2272 _Static_assert (sizeof (int) <= sizeof (long int),
2273 "_Static_assert does not work in struct");
2274 long int y;
2275 };
2276
2277 // Check UTF-8 literals.
2278 #define u8 syntax error!
2279 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2280
2281 // Check duplicate typedefs.
2282 typedef long *long_ptr;
2283 typedef long int *long_ptr;
2284 typedef long_ptr long_ptr;
2285
2286 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2287 struct anonymous
2288 {
2289 union {
2290 struct { int i; int j; };
2291 struct { int k; long int l; } w;
2292 };
2293 int m;
2294 } v1;
2295 '
2296
2297 # Test code for whether the C compiler supports C11 (body of main).
2298 ac_c_conftest_c11_main='
2299 _Static_assert ((offsetof (struct anonymous, i)
2300 == offsetof (struct anonymous, w.k)),
2301 "Anonymous union alignment botch");
2302 v1.i = 2;
2303 v1.w.k = 5;
2304 ok |= v1.i != 5;
2305 '
2306
2307 # Test code for whether the C compiler supports C11 (complete).
2308 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2309 ${ac_c_conftest_c99_globals}
2310 ${ac_c_conftest_c11_globals}
2311
2312 int
2313 main (int argc, char **argv)
2314 {
2315 int ok = 0;
2316 ${ac_c_conftest_c89_main}
2317 ${ac_c_conftest_c99_main}
2318 ${ac_c_conftest_c11_main}
2319 return ok;
2320 }
2321 "
2322
2323 # Test code for whether the C compiler supports C99 (complete).
2324 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2325 ${ac_c_conftest_c99_globals}
2326
2327 int
2328 main (int argc, char **argv)
2329 {
2330 int ok = 0;
2331 ${ac_c_conftest_c89_main}
2332 ${ac_c_conftest_c99_main}
2333 return ok;
2334 }
2335 "
2336
2337 # Test code for whether the C compiler supports C89 (complete).
2338 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2339
2340 int
2341 main (int argc, char **argv)
2342 {
2343 int ok = 0;
2344 ${ac_c_conftest_c89_main}
2345 return ok;
2346 }
2347 "
2348
2349 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2350 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2351 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2352 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2353 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2354 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2355 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2356 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2357 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2358
2359 # Auxiliary files required by this configure script.
2360 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
2361
2362 # Locations in which to look for auxiliary files.
2363 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2364
2365 # Search for a directory containing all of the required auxiliary files,
2366 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2367 # If we don't find one directory that contains all the files we need,
2368 # we report the set of missing files from the *first* directory in
2369 # $ac_aux_dir_candidates and give up.
2370 ac_missing_aux_files=""
2371 ac_first_candidate=:
2372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 as_found=false
2375 for as_dir in $ac_aux_dir_candidates
2376 do
2377 IFS=$as_save_IFS
2378 case $as_dir in #(((
2379 '') as_dir=./ ;;
2380 */) ;;
2381 *) as_dir=$as_dir/ ;;
2382 esac
2383 as_found=:
2384
2385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2386 ac_aux_dir_found=yes
2387 ac_install_sh=
2388 for ac_aux in $ac_aux_files
2389 do
2390 # As a special case, if "install-sh" is required, that requirement
2391 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2392 # and $ac_install_sh is set appropriately for whichever one is found.
2393 if test x"$ac_aux" = x"install-sh"
2394 then
2395 if test -f "${as_dir}install-sh"; then
2396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2397 ac_install_sh="${as_dir}install-sh -c"
2398 elif test -f "${as_dir}install.sh"; then
2399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2400 ac_install_sh="${as_dir}install.sh -c"
2401 elif test -f "${as_dir}shtool"; then
2402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2403 ac_install_sh="${as_dir}shtool install -c"
2404 else
2405 ac_aux_dir_found=no
2406 if $ac_first_candidate; then
2407 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2408 else
2409 break
2410 fi
2411 fi
2412 else
2413 if test -f "${as_dir}${ac_aux}"; then
2414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2415 else
2416 ac_aux_dir_found=no
2417 if $ac_first_candidate; then
2418 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2419 else
2420 break
2421 fi
2422 fi
2423 fi
2424 done
2425 if test "$ac_aux_dir_found" = yes; then
2426 ac_aux_dir="$as_dir"
2427 break
2428 fi
2429 ac_first_candidate=false
2430
2431 as_found=false
2432 done
2433 IFS=$as_save_IFS
2434 if $as_found
2435 then :
2436
2437 else $as_nop
2438 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2439 fi
2440
2441
2442 # These three variables are undocumented and unsupported,
2443 # and are intended to be withdrawn in a future Autoconf release.
2444 # They can cause serious problems if a builder's source tree is in a directory
2445 # whose full name contains unusual characters.
2446 if test -f "${ac_aux_dir}config.guess"; then
2447 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2448 fi
2449 if test -f "${ac_aux_dir}config.sub"; then
2450 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2451 fi
2452 if test -f "$ac_aux_dir/configure"; then
2453 ac_configure="$SHELL ${ac_aux_dir}configure"
20722454 fi
20732455
20742456 # Check that the precious variables saved in the cache have kept the same
20812463 eval ac_new_val=\$ac_env_${ac_var}_value
20822464 case $ac_old_set,$ac_new_set in
20832465 set,)
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2085 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
20862468 ac_cache_corrupted=: ;;
20872469 ,set)
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2089 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
20902472 ac_cache_corrupted=: ;;
20912473 ,);;
20922474 *)
20952477 ac_old_val_w=`echo x $ac_old_val`
20962478 ac_new_val_w=`echo x $ac_new_val`
20972479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2099 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
21002482 ac_cache_corrupted=:
21012483 else
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2103 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
21042486 eval $ac_var=\$ac_old_val
21052487 fi
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2107 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2109 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
21102492 fi;;
21112493 esac
21122494 # Pass precious variables to config.status.
21132495 if test "$ac_new_set" = set; then
21142496 case $ac_new_val in
2115 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2497 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
21162498 *) ac_arg=$ac_var=$ac_new_val ;;
21172499 esac
21182500 case " $ac_configure_args " in
21222504 fi
21232505 done
21242506 if $ac_cache_corrupted; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2128 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2129 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2512 and start over" "$LINENO" 5
21302513 fi
21312514 ## -------------------- ##
21322515 ## Main body of script. ##
21432526
21442527 am__api_version='1.16'
21452528
2146 ac_aux_dir=
2147 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2148 if test -f "$ac_dir/install-sh"; then
2149 ac_aux_dir=$ac_dir
2150 ac_install_sh="$ac_aux_dir/install-sh -c"
2151 break
2152 elif test -f "$ac_dir/install.sh"; then
2153 ac_aux_dir=$ac_dir
2154 ac_install_sh="$ac_aux_dir/install.sh -c"
2155 break
2156 elif test -f "$ac_dir/shtool"; then
2157 ac_aux_dir=$ac_dir
2158 ac_install_sh="$ac_aux_dir/shtool install -c"
2159 break
2160 fi
2161 done
2162 if test -z "$ac_aux_dir"; then
2163 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2164 fi
2165
2166 # These three variables are undocumented and unsupported,
2167 # and are intended to be withdrawn in a future Autoconf release.
2168 # They can cause serious problems if a builder's source tree is in a directory
2169 # whose full name contains unusual characters.
2170 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2171 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2172 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2173
2174
2175 # Find a good install program. We prefer a C program (faster),
2529
2530
2531 # Find a good install program. We prefer a C program (faster),
21762532 # so one script is as good as another. But avoid the broken or
21772533 # incompatible versions:
21782534 # SysV /etc/install, /usr/sbin/install
21862542 # OS/2's system install, which has a completely different semantic
21872543 # ./install, which can be erroneously created by make from ./install.sh.
21882544 # Reject install programs that cannot install multiple files.
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2190 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2546 printf %s "checking for a BSD-compatible install... " >&6; }
21912547 if test -z "$INSTALL"; then
2192 if ${ac_cv_path_install+:} false; then :
2193 $as_echo_n "(cached) " >&6
2194 else
2548 if test ${ac_cv_path_install+y}
2549 then :
2550 printf %s "(cached) " >&6
2551 else $as_nop
21952552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21962553 for as_dir in $PATH
21972554 do
21982555 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 # Account for people who put trailing slashes in PATH elements.
2201 case $as_dir/ in #((
2202 ./ | .// | /[cC]/* | \
2556 case $as_dir in #(((
2557 '') as_dir=./ ;;
2558 */) ;;
2559 *) as_dir=$as_dir/ ;;
2560 esac
2561 # Account for fact that we put trailing slashes in our PATH walk.
2562 case $as_dir in #((
2563 ./ | /[cC]/* | \
22032564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
22042565 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
22052566 /usr/ucb/* ) ;;
22092570 # by default.
22102571 for ac_prog in ginstall scoinst install; do
22112572 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2573 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
22132574 if test $ac_prog = install &&
2214 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2575 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22152576 # AIX install. It has an incompatible calling convention.
22162577 :
22172578 elif test $ac_prog = install &&
2218 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2579 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
22192580 # program-specific install script used by HP pwplus--don't use.
22202581 :
22212582 else
22232584 echo one > conftest.one
22242585 echo two > conftest.two
22252586 mkdir conftest.dir
2226 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2587 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
22272588 test -s conftest.one && test -s conftest.two &&
22282589 test -s conftest.dir/conftest.one &&
22292590 test -s conftest.dir/conftest.two
22302591 then
2231 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2592 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
22322593 break 3
22332594 fi
22342595 fi
22442605 rm -rf conftest.one conftest.two conftest.dir
22452606
22462607 fi
2247 if test "${ac_cv_path_install+set}" = set; then
2608 if test ${ac_cv_path_install+y}; then
22482609 INSTALL=$ac_cv_path_install
22492610 else
22502611 # As a last resort, use the slow shell script. Don't cache a
22542615 INSTALL=$ac_install_sh
22552616 fi
22562617 fi
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2258 $as_echo "$INSTALL" >&6; }
2618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2619 printf "%s\n" "$INSTALL" >&6; }
22592620
22602621 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22612622 # It thinks the first close brace ends the variable substitution.
22652626
22662627 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
22672628
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2269 $as_echo_n "checking whether build environment is sane... " >&6; }
2629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2630 printf %s "checking whether build environment is sane... " >&6; }
22702631 # Reject unsafe characters in $srcdir or the absolute working directory
22712632 # name. Accept space and tab only in the latter.
22722633 am_lf='
23202681 as_fn_error $? "newly created file is older than distributed files!
23212682 Check your system clock" "$LINENO" 5
23222683 fi
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2324 $as_echo "yes" >&6; }
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2685 printf "%s\n" "yes" >&6; }
23252686 # If we didn't sleep, we still need to ensure time stamps of config.status and
23262687 # generated files are strictly newer.
23272688 am_sleep_pid=
23402701 # Double any \ or $.
23412702 # By default was `s,x,x', remove it if useless.
23422703 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2343 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2704 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2705
23442706
23452707 # Expand $ac_aux_dir to an absolute path.
23462708 am_aux_dir=`cd "$ac_aux_dir" && pwd`
23472709
2348 if test x"${MISSING+set}" != xset; then
2710
2711 if test x"${MISSING+set}" != xset; then
23492712 MISSING="\${SHELL} '$am_aux_dir/missing'"
23502713 fi
23512714 # Use eval to expand $SHELL
23532716 am_missing_run="$MISSING "
23542717 else
23552718 am_missing_run=
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2357 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2720 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
23582721 fi
23592722
23602723 if test x"${install_sh+set}" != xset; then
23742737 if test -n "$ac_tool_prefix"; then
23752738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
23762739 set dummy ${ac_tool_prefix}strip; ac_word=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if ${ac_cv_prog_STRIP+:} false; then :
2380 $as_echo_n "(cached) " >&6
2381 else
2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 printf %s "checking for $ac_word... " >&6; }
2742 if test ${ac_cv_prog_STRIP+y}
2743 then :
2744 printf %s "(cached) " >&6
2745 else $as_nop
23822746 if test -n "$STRIP"; then
23832747 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
23842748 else
23862750 for as_dir in $PATH
23872751 do
23882752 IFS=$as_save_IFS
2389 test -z "$as_dir" && as_dir=.
2753 case $as_dir in #(((
2754 '') as_dir=./ ;;
2755 */) ;;
2756 *) as_dir=$as_dir/ ;;
2757 esac
23902758 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23922760 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23942762 break 2
23952763 fi
23962764 done
24012769 fi
24022770 STRIP=$ac_cv_prog_STRIP
24032771 if test -n "$STRIP"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2405 $as_echo "$STRIP" >&6; }
2406 else
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2773 printf "%s\n" "$STRIP" >&6; }
2774 else
2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776 printf "%s\n" "no" >&6; }
24092777 fi
24102778
24112779
24142782 ac_ct_STRIP=$STRIP
24152783 # Extract the first word of "strip", so it can be a program name with args.
24162784 set dummy strip; ac_word=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2420 $as_echo_n "(cached) " >&6
2421 else
2785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 printf %s "checking for $ac_word... " >&6; }
2787 if test ${ac_cv_prog_ac_ct_STRIP+y}
2788 then :
2789 printf %s "(cached) " >&6
2790 else $as_nop
24222791 if test -n "$ac_ct_STRIP"; then
24232792 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
24242793 else
24262795 for as_dir in $PATH
24272796 do
24282797 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2798 case $as_dir in #(((
2799 '') as_dir=./ ;;
2800 */) ;;
2801 *) as_dir=$as_dir/ ;;
2802 esac
24302803 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
24322805 ac_cv_prog_ac_ct_STRIP="strip"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24342807 break 2
24352808 fi
24362809 done
24412814 fi
24422815 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
24432816 if test -n "$ac_ct_STRIP"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2445 $as_echo "$ac_ct_STRIP" >&6; }
2446 else
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2818 printf "%s\n" "$ac_ct_STRIP" >&6; }
2819 else
2820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 printf "%s\n" "no" >&6; }
24492822 fi
24502823
24512824 if test "x$ac_ct_STRIP" = x; then
24532826 else
24542827 case $cross_compiling:$ac_tool_warned in
24552828 yes:)
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24582831 ac_tool_warned=yes ;;
24592832 esac
24602833 STRIP=$ac_ct_STRIP
24662839 fi
24672840 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
24682841
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2470 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2842
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2844 printf %s "checking for a race-free mkdir -p... " >&6; }
24712845 if test -z "$MKDIR_P"; then
2472 if ${ac_cv_path_mkdir+:} false; then :
2473 $as_echo_n "(cached) " >&6
2474 else
2846 if test ${ac_cv_path_mkdir+y}
2847 then :
2848 printf %s "(cached) " >&6
2849 else $as_nop
24752850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24762851 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
24772852 do
24782853 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2854 case $as_dir in #(((
2855 '') as_dir=./ ;;
2856 */) ;;
2857 *) as_dir=$as_dir/ ;;
2858 esac
24802859 for ac_prog in mkdir gmkdir; do
24812860 for ac_exec_ext in '' $ac_executable_extensions; do
2482 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2483 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2484 'mkdir (GNU coreutils) '* | \
2485 'mkdir (coreutils) '* | \
2861 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2862 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2863 'mkdir ('*'coreutils) '* | \
2864 'BusyBox '* | \
24862865 'mkdir (fileutils) '4.1*)
2487 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2866 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
24882867 break 3;;
24892868 esac
24902869 done
24952874 fi
24962875
24972876 test -d ./--version && rmdir ./--version
2498 if test "${ac_cv_path_mkdir+set}" = set; then
2877 if test ${ac_cv_path_mkdir+y}; then
24992878 MKDIR_P="$ac_cv_path_mkdir -p"
25002879 else
25012880 # As a last resort, use the slow shell script. Don't cache a
25052884 MKDIR_P="$ac_install_sh -d"
25062885 fi
25072886 fi
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2509 $as_echo "$MKDIR_P" >&6; }
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2888 printf "%s\n" "$MKDIR_P" >&6; }
25102889
25112890 for ac_prog in gawk mawk nawk awk
25122891 do
25132892 # Extract the first word of "$ac_prog", so it can be a program name with args.
25142893 set dummy $ac_prog; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_AWK+:} false; then :
2518 $as_echo_n "(cached) " >&6
2519 else
2894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 printf %s "checking for $ac_word... " >&6; }
2896 if test ${ac_cv_prog_AWK+y}
2897 then :
2898 printf %s "(cached) " >&6
2899 else $as_nop
25202900 if test -n "$AWK"; then
25212901 ac_cv_prog_AWK="$AWK" # Let the user override the test.
25222902 else
25242904 for as_dir in $PATH
25252905 do
25262906 IFS=$as_save_IFS
2527 test -z "$as_dir" && as_dir=.
2907 case $as_dir in #(((
2908 '') as_dir=./ ;;
2909 */) ;;
2910 *) as_dir=$as_dir/ ;;
2911 esac
25282912 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25302914 ac_cv_prog_AWK="$ac_prog"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25322916 break 2
25332917 fi
25342918 done
25392923 fi
25402924 AWK=$ac_cv_prog_AWK
25412925 if test -n "$AWK"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2543 $as_echo "$AWK" >&6; }
2544 else
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2927 printf "%s\n" "$AWK" >&6; }
2928 else
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 printf "%s\n" "no" >&6; }
25472931 fi
25482932
25492933
25502934 test -n "$AWK" && break
25512935 done
25522936
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2554 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2938 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
25552939 set x ${MAKE-make}
2556 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2557 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2558 $as_echo_n "(cached) " >&6
2559 else
2940 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2941 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2942 then :
2943 printf %s "(cached) " >&6
2944 else $as_nop
25602945 cat >conftest.make <<\_ACEOF
25612946 SHELL = /bin/sh
25622947 all:
25722957 rm -f conftest.make
25732958 fi
25742959 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576 $as_echo "yes" >&6; }
2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2961 printf "%s\n" "yes" >&6; }
25772962 SET_MAKE=
25782963 else
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 printf "%s\n" "no" >&6; }
25812966 SET_MAKE="MAKE=${MAKE-make}"
25822967 fi
25832968
25912976 rmdir .tst 2>/dev/null
25922977
25932978 # Check whether --enable-silent-rules was given.
2594 if test "${enable_silent_rules+set}" = set; then :
2979 if test ${enable_silent_rules+y}
2980 then :
25952981 enableval=$enable_silent_rules;
25962982 fi
25972983
26012987 *) AM_DEFAULT_VERBOSITY=1;;
26022988 esac
26032989 am_make=${MAKE-make}
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2605 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2606 if ${am_cv_make_support_nested_variables+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 if $as_echo 'TRUE=$(BAR$(V))
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2991 printf %s "checking whether $am_make supports nested variables... " >&6; }
2992 if test ${am_cv_make_support_nested_variables+y}
2993 then :
2994 printf %s "(cached) " >&6
2995 else $as_nop
2996 if printf "%s\n" 'TRUE=$(BAR$(V))
26102997 BAR0=false
26112998 BAR1=true
26122999 V=1
26183005 am_cv_make_support_nested_variables=no
26193006 fi
26203007 fi
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2622 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3009 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
26233010 if test $am_cv_make_support_nested_variables = yes; then
26243011 AM_V='$(V)'
26253012 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
26513038
26523039 # Define the identity of the package.
26533040 PACKAGE='rfxcodec'
2654 VERSION='0.1.5'
2655
2656
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE "$PACKAGE"
2659 _ACEOF
2660
2661
2662 cat >>confdefs.h <<_ACEOF
2663 #define VERSION "$VERSION"
2664 _ACEOF
3041 VERSION='0.1.6'
3042
3043
3044 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3045
3046
3047 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
26653048
26663049 # Some tools Automake needs.
26673050
27603143
27613144
27623145 # Check whether --enable-silent-rules was given.
2763 if test "${enable_silent_rules+set}" = set; then :
3146 if test ${enable_silent_rules+y}
3147 then :
27643148 enableval=$enable_silent_rules;
27653149 fi
27663150
27703154 *) AM_DEFAULT_VERBOSITY=0;;
27713155 esac
27723156 am_make=${MAKE-make}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2774 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2775 if ${am_cv_make_support_nested_variables+:} false; then :
2776 $as_echo_n "(cached) " >&6
2777 else
2778 if $as_echo 'TRUE=$(BAR$(V))
3157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3158 printf %s "checking whether $am_make supports nested variables... " >&6; }
3159 if test ${am_cv_make_support_nested_variables+y}
3160 then :
3161 printf %s "(cached) " >&6
3162 else $as_nop
3163 if printf "%s\n" 'TRUE=$(BAR$(V))
27793164 BAR0=false
27803165 BAR1=true
27813166 V=1
27873172 am_cv_make_support_nested_variables=no
27883173 fi
27893174 fi
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2791 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3176 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
27923177 if test $am_cv_make_support_nested_variables = yes; then
27933178 AM_V='$(V)'
27943179 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
27973182 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
27983183 fi
27993184 AM_BACKSLASH='\'
3185
3186
3187
3188
3189
3190
3191
3192
3193
28003194
28013195 ac_ext=c
28023196 ac_cpp='$CPP $CPPFLAGS'
28063200 if test -n "$ac_tool_prefix"; then
28073201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
28083202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_CC+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 printf %s "checking for $ac_word... " >&6; }
3205 if test ${ac_cv_prog_CC+y}
3206 then :
3207 printf %s "(cached) " >&6
3208 else $as_nop
28143209 if test -n "$CC"; then
28153210 ac_cv_prog_CC="$CC" # Let the user override the test.
28163211 else
28183213 for as_dir in $PATH
28193214 do
28203215 IFS=$as_save_IFS
2821 test -z "$as_dir" && as_dir=.
3216 case $as_dir in #(((
3217 '') as_dir=./ ;;
3218 */) ;;
3219 *) as_dir=$as_dir/ ;;
3220 esac
28223221 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28243223 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28263225 break 2
28273226 fi
28283227 done
28333232 fi
28343233 CC=$ac_cv_prog_CC
28353234 if test -n "$CC"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2837 $as_echo "$CC" >&6; }
2838 else
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
3235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3236 printf "%s\n" "$CC" >&6; }
3237 else
3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 printf "%s\n" "no" >&6; }
28413240 fi
28423241
28433242
28463245 ac_ct_CC=$CC
28473246 # Extract the first word of "gcc", so it can be a program name with args.
28483247 set dummy gcc; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2852 $as_echo_n "(cached) " >&6
2853 else
3248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 printf %s "checking for $ac_word... " >&6; }
3250 if test ${ac_cv_prog_ac_ct_CC+y}
3251 then :
3252 printf %s "(cached) " >&6
3253 else $as_nop
28543254 if test -n "$ac_ct_CC"; then
28553255 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28563256 else
28583258 for as_dir in $PATH
28593259 do
28603260 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
3261 case $as_dir in #(((
3262 '') as_dir=./ ;;
3263 */) ;;
3264 *) as_dir=$as_dir/ ;;
3265 esac
28623266 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28643268 ac_cv_prog_ac_ct_CC="gcc"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28663270 break 2
28673271 fi
28683272 done
28733277 fi
28743278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
28753279 if test -n "$ac_ct_CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2877 $as_echo "$ac_ct_CC" >&6; }
2878 else
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3281 printf "%s\n" "$ac_ct_CC" >&6; }
3282 else
3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 printf "%s\n" "no" >&6; }
28813285 fi
28823286
28833287 if test "x$ac_ct_CC" = x; then
28853289 else
28863290 case $cross_compiling:$ac_tool_warned in
28873291 yes:)
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3293 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28903294 ac_tool_warned=yes ;;
28913295 esac
28923296 CC=$ac_ct_CC
28993303 if test -n "$ac_tool_prefix"; then
29003304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
29013305 set dummy ${ac_tool_prefix}cc; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_prog_CC+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906 else
3306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 printf %s "checking for $ac_word... " >&6; }
3308 if test ${ac_cv_prog_CC+y}
3309 then :
3310 printf %s "(cached) " >&6
3311 else $as_nop
29073312 if test -n "$CC"; then
29083313 ac_cv_prog_CC="$CC" # Let the user override the test.
29093314 else
29113316 for as_dir in $PATH
29123317 do
29133318 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
3319 case $as_dir in #(((
3320 '') as_dir=./ ;;
3321 */) ;;
3322 *) as_dir=$as_dir/ ;;
3323 esac
29153324 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29173326 ac_cv_prog_CC="${ac_tool_prefix}cc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29193328 break 2
29203329 fi
29213330 done
29263335 fi
29273336 CC=$ac_cv_prog_CC
29283337 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2931 else
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339 printf "%s\n" "$CC" >&6; }
3340 else
3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 printf "%s\n" "no" >&6; }
29343343 fi
29353344
29363345
29393348 if test -z "$CC"; then
29403349 # Extract the first word of "cc", so it can be a program name with args.
29413350 set dummy cc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 printf %s "checking for $ac_word... " >&6; }
3353 if test ${ac_cv_prog_CC+y}
3354 then :
3355 printf %s "(cached) " >&6
3356 else $as_nop
29473357 if test -n "$CC"; then
29483358 ac_cv_prog_CC="$CC" # Let the user override the test.
29493359 else
29523362 for as_dir in $PATH
29533363 do
29543364 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
3365 case $as_dir in #(((
3366 '') as_dir=./ ;;
3367 */) ;;
3368 *) as_dir=$as_dir/ ;;
3369 esac
29563370 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3371 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3372 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29593373 ac_prog_rejected=yes
29603374 continue
29613375 fi
29623376 ac_cv_prog_CC="cc"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29643378 break 2
29653379 fi
29663380 done
29763390 # However, it has the same basename, so the bogon will be chosen
29773391 # first if we set CC to just the basename; use the full file name.
29783392 shift
2979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3393 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
29803394 fi
29813395 fi
29823396 fi
29833397 fi
29843398 CC=$ac_cv_prog_CC
29853399 if test -n "$CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2988 else
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3401 printf "%s\n" "$CC" >&6; }
3402 else
3403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 printf "%s\n" "no" >&6; }
29913405 fi
29923406
29933407
29983412 do
29993413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30003414 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if ${ac_cv_prog_CC+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 printf %s "checking for $ac_word... " >&6; }
3417 if test ${ac_cv_prog_CC+y}
3418 then :
3419 printf %s "(cached) " >&6
3420 else $as_nop
30063421 if test -n "$CC"; then
30073422 ac_cv_prog_CC="$CC" # Let the user override the test.
30083423 else
30103425 for as_dir in $PATH
30113426 do
30123427 IFS=$as_save_IFS
3013 test -z "$as_dir" && as_dir=.
3428 case $as_dir in #(((
3429 '') as_dir=./ ;;
3430 */) ;;
3431 *) as_dir=$as_dir/ ;;
3432 esac
30143433 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30163435 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30183437 break 2
30193438 fi
30203439 done
30253444 fi
30263445 CC=$ac_cv_prog_CC
30273446 if test -n "$CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029 $as_echo "$CC" >&6; }
3030 else
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3448 printf "%s\n" "$CC" >&6; }
3449 else
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 printf "%s\n" "no" >&6; }
30333452 fi
30343453
30353454
30423461 do
30433462 # Extract the first word of "$ac_prog", so it can be a program name with args.
30443463 set dummy $ac_prog; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 printf %s "checking for $ac_word... " >&6; }
3466 if test ${ac_cv_prog_ac_ct_CC+y}
3467 then :
3468 printf %s "(cached) " >&6
3469 else $as_nop
30503470 if test -n "$ac_ct_CC"; then
30513471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30523472 else
30543474 for as_dir in $PATH
30553475 do
30563476 IFS=$as_save_IFS
3057 test -z "$as_dir" && as_dir=.
3477 case $as_dir in #(((
3478 '') as_dir=./ ;;
3479 */) ;;
3480 *) as_dir=$as_dir/ ;;
3481 esac
30583482 for ac_exec_ext in '' $ac_executable_extensions; do
3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30603484 ac_cv_prog_ac_ct_CC="$ac_prog"
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30623486 break 2
30633487 fi
30643488 done
30693493 fi
30703494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30713495 if test -n "$ac_ct_CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3073 $as_echo "$ac_ct_CC" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3497 printf "%s\n" "$ac_ct_CC" >&6; }
3498 else
3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 printf "%s\n" "no" >&6; }
30773501 fi
30783502
30793503
30853509 else
30863510 case $cross_compiling:$ac_tool_warned in
30873511 yes:)
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3513 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30903514 ac_tool_warned=yes ;;
30913515 esac
30923516 CC=$ac_ct_CC
30943518 fi
30953519
30963520 fi
3097
3098
3099 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3521 if test -z "$CC"; then
3522 if test -n "$ac_tool_prefix"; then
3523 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3524 set dummy ${ac_tool_prefix}clang; ac_word=$2
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 printf %s "checking for $ac_word... " >&6; }
3527 if test ${ac_cv_prog_CC+y}
3528 then :
3529 printf %s "(cached) " >&6
3530 else $as_nop
3531 if test -n "$CC"; then
3532 ac_cv_prog_CC="$CC" # Let the user override the test.
3533 else
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3536 do
3537 IFS=$as_save_IFS
3538 case $as_dir in #(((
3539 '') as_dir=./ ;;
3540 */) ;;
3541 *) as_dir=$as_dir/ ;;
3542 esac
3543 for ac_exec_ext in '' $ac_executable_extensions; do
3544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3545 ac_cv_prog_CC="${ac_tool_prefix}clang"
3546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3547 break 2
3548 fi
3549 done
3550 done
3551 IFS=$as_save_IFS
3552
3553 fi
3554 fi
3555 CC=$ac_cv_prog_CC
3556 if test -n "$CC"; then
3557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3558 printf "%s\n" "$CC" >&6; }
3559 else
3560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 printf "%s\n" "no" >&6; }
3562 fi
3563
3564
3565 fi
3566 if test -z "$ac_cv_prog_CC"; then
3567 ac_ct_CC=$CC
3568 # Extract the first word of "clang", so it can be a program name with args.
3569 set dummy clang; ac_word=$2
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 printf %s "checking for $ac_word... " >&6; }
3572 if test ${ac_cv_prog_ac_ct_CC+y}
3573 then :
3574 printf %s "(cached) " >&6
3575 else $as_nop
3576 if test -n "$ac_ct_CC"; then
3577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582 IFS=$as_save_IFS
3583 case $as_dir in #(((
3584 '') as_dir=./ ;;
3585 */) ;;
3586 *) as_dir=$as_dir/ ;;
3587 esac
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_ac_ct_CC="clang"
3591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3592 break 2
3593 fi
3594 done
3595 done
3596 IFS=$as_save_IFS
3597
3598 fi
3599 fi
3600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 printf "%s\n" "$ac_ct_CC" >&6; }
3604 else
3605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 printf "%s\n" "no" >&6; }
3607 fi
3608
3609 if test "x$ac_ct_CC" = x; then
3610 CC=""
3611 else
3612 case $cross_compiling:$ac_tool_warned in
3613 yes:)
3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3615 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3616 ac_tool_warned=yes ;;
3617 esac
3618 CC=$ac_ct_CC
3619 fi
3620 else
3621 CC="$ac_cv_prog_CC"
3622 fi
3623
3624 fi
3625
3626
3627 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
31013629 as_fn_error $? "no acceptable C compiler found in \$PATH
31023630 See \`config.log' for more details" "$LINENO" 5; }
31033631
31043632 # Provide some information about the compiler.
3105 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
31063634 set X $ac_compile
31073635 ac_compiler=$2
3108 for ac_option in --version -v -V -qversion; do
3636 for ac_option in --version -v -V -qversion -version; do
31093637 { { ac_try="$ac_compiler $ac_option >&5"
31103638 case "(($ac_try" in
31113639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31123640 *) ac_try_echo=$ac_try;;
31133641 esac
31143642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3643 printf "%s\n" "$ac_try_echo"; } >&5
31163644 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
31173645 ac_status=$?
31183646 if test -s conftest.err; then
31223650 cat conftest.er1 >&5
31233651 fi
31243652 rm -f conftest.er1 conftest.err
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31263654 test $ac_status = 0; }
31273655 done
31283656
31303658 /* end confdefs.h. */
31313659
31323660 int
3133 main ()
3661 main (void)
31343662 {
31353663
31363664 ;
31423670 # Try to create an executable without -o first, disregard a.out.
31433671 # It will help us diagnose broken compilers, and finding out an intuition
31443672 # of exeext.
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3146 $as_echo_n "checking whether the C compiler works... " >&6; }
3147 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3674 printf %s "checking whether the C compiler works... " >&6; }
3675 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
31483676
31493677 # The possible output files:
31503678 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
31653693 *) ac_try_echo=$ac_try;;
31663694 esac
31673695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3696 printf "%s\n" "$ac_try_echo"; } >&5
31693697 (eval "$ac_link_default") 2>&5
31703698 ac_status=$?
3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172 test $ac_status = 0; }; then :
3699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3700 test $ac_status = 0; }
3701 then :
31733702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
31743703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
31753704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
31863715 # certainly right.
31873716 break;;
31883717 *.* )
3189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3718 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
31903719 then :; else
31913720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31923721 fi
32023731 done
32033732 test "$ac_cv_exeext" = no && ac_cv_exeext=
32043733
3205 else
3734 else $as_nop
32063735 ac_file=''
32073736 fi
3208 if test -z "$ac_file"; then :
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 $as_echo "$as_me: failed program was:" >&5
3737 if test -z "$ac_file"
3738 then :
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 printf "%s\n" "no" >&6; }
3741 printf "%s\n" "$as_me: failed program was:" >&5
32123742 sed 's/^/| /' conftest.$ac_ext >&5
32133743
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32163746 as_fn_error 77 "C compiler cannot create executables
32173747 See \`config.log' for more details" "$LINENO" 5; }
3218 else
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 fi
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3223 $as_echo_n "checking for C compiler default output file name... " >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3225 $as_echo "$ac_file" >&6; }
3748 else $as_nop
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 printf "%s\n" "yes" >&6; }
3751 fi
3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3753 printf %s "checking for C compiler default output file name... " >&6; }
3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3755 printf "%s\n" "$ac_file" >&6; }
32263756 ac_exeext=$ac_cv_exeext
32273757
32283758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
32293759 ac_clean_files=$ac_clean_files_save
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3231 $as_echo_n "checking for suffix of executables... " >&6; }
3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3761 printf %s "checking for suffix of executables... " >&6; }
32323762 if { { ac_try="$ac_link"
32333763 case "(($ac_try" in
32343764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32353765 *) ac_try_echo=$ac_try;;
32363766 esac
32373767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3768 printf "%s\n" "$ac_try_echo"; } >&5
32393769 (eval "$ac_link") 2>&5
32403770 ac_status=$?
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; }; then :
3771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }
3773 then :
32433774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
32443775 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
32453776 # work properly (i.e., refer to `conftest.exe'), while it won't with
32533784 * ) break;;
32543785 esac
32553786 done
3256 else
3257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 else $as_nop
3788 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32593790 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
32603791 See \`config.log' for more details" "$LINENO" 5; }
32613792 fi
32623793 rm -f conftest conftest$ac_cv_exeext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3264 $as_echo "$ac_cv_exeext" >&6; }
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3795 printf "%s\n" "$ac_cv_exeext" >&6; }
32653796
32663797 rm -f conftest.$ac_ext
32673798 EXEEXT=$ac_cv_exeext
32703801 /* end confdefs.h. */
32713802 #include <stdio.h>
32723803 int
3273 main ()
3804 main (void)
32743805 {
32753806 FILE *f = fopen ("conftest.out", "w");
32763807 return ferror (f) || fclose (f) != 0;
32823813 ac_clean_files="$ac_clean_files conftest.out"
32833814 # Check that the compiler produces executables we can run. If not, either
32843815 # the compiler is broken, or we cross compile.
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3286 $as_echo_n "checking whether we are cross compiling... " >&6; }
3816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3817 printf %s "checking whether we are cross compiling... " >&6; }
32873818 if test "$cross_compiling" != yes; then
32883819 { { ac_try="$ac_link"
32893820 case "(($ac_try" in
32913822 *) ac_try_echo=$ac_try;;
32923823 esac
32933824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3825 printf "%s\n" "$ac_try_echo"; } >&5
32953826 (eval "$ac_link") 2>&5
32963827 ac_status=$?
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32983829 test $ac_status = 0; }
32993830 if { ac_try='./conftest$ac_cv_exeext'
33003831 { { case "(($ac_try" in
33023833 *) ac_try_echo=$ac_try;;
33033834 esac
33043835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3305 $as_echo "$ac_try_echo"; } >&5
3836 printf "%s\n" "$ac_try_echo"; } >&5
33063837 (eval "$ac_try") 2>&5
33073838 ac_status=$?
3308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33093840 test $ac_status = 0; }; }; then
33103841 cross_compiling=no
33113842 else
33123843 if test "$cross_compiling" = maybe; then
33133844 cross_compiling=yes
33143845 else
3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317 as_fn_error $? "cannot run C compiled programs.
3846 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error 77 "cannot run C compiled programs.
33183849 If you meant to cross compile, use \`--host'.
33193850 See \`config.log' for more details" "$LINENO" 5; }
33203851 fi
33213852 fi
33223853 fi
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3324 $as_echo "$cross_compiling" >&6; }
3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3855 printf "%s\n" "$cross_compiling" >&6; }
33253856
33263857 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
33273858 ac_clean_files=$ac_clean_files_save
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3329 $as_echo_n "checking for suffix of object files... " >&6; }
3330 if ${ac_cv_objext+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3860 printf %s "checking for suffix of object files... " >&6; }
3861 if test ${ac_cv_objext+y}
3862 then :
3863 printf %s "(cached) " >&6
3864 else $as_nop
33333865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33343866 /* end confdefs.h. */
33353867
33363868 int
3337 main ()
3869 main (void)
33383870 {
33393871
33403872 ;
33483880 *) ac_try_echo=$ac_try;;
33493881 esac
33503882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3883 printf "%s\n" "$ac_try_echo"; } >&5
33523884 (eval "$ac_compile") 2>&5
33533885 ac_status=$?
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }; then :
3886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887 test $ac_status = 0; }
3888 then :
33563889 for ac_file in conftest.o conftest.obj conftest.*; do
33573890 test -f "$ac_file" || continue;
33583891 case $ac_file in
33613894 break;;
33623895 esac
33633896 done
3364 else
3365 $as_echo "$as_me: failed program was:" >&5
3897 else $as_nop
3898 printf "%s\n" "$as_me: failed program was:" >&5
33663899 sed 's/^/| /' conftest.$ac_ext >&5
33673900
3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33703903 as_fn_error $? "cannot compute suffix of object files: cannot compile
33713904 See \`config.log' for more details" "$LINENO" 5; }
33723905 fi
33733906 rm -f conftest.$ac_cv_objext conftest.$ac_ext
33743907 fi
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3376 $as_echo "$ac_cv_objext" >&6; }
3908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3909 printf "%s\n" "$ac_cv_objext" >&6; }
33773910 OBJEXT=$ac_cv_objext
33783911 ac_objext=$OBJEXT
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3380 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3381 if ${ac_cv_c_compiler_gnu+:} false; then :
3382 $as_echo_n "(cached) " >&6
3383 else
3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3913 printf %s "checking whether the compiler supports GNU C... " >&6; }
3914 if test ${ac_cv_c_compiler_gnu+y}
3915 then :
3916 printf %s "(cached) " >&6
3917 else $as_nop
33843918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33853919 /* end confdefs.h. */
33863920
33873921 int
3388 main ()
3922 main (void)
33893923 {
33903924 #ifndef __GNUC__
33913925 choke me
33953929 return 0;
33963930 }
33973931 _ACEOF
3398 if ac_fn_c_try_compile "$LINENO"; then :
3932 if ac_fn_c_try_compile "$LINENO"
3933 then :
33993934 ac_compiler_gnu=yes
3400 else
3935 else $as_nop
34013936 ac_compiler_gnu=no
34023937 fi
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34043939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
34053940
34063941 fi
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3408 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3943 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945
34093946 if test $ac_compiler_gnu = yes; then
34103947 GCC=yes
34113948 else
34123949 GCC=
34133950 fi
3414 ac_test_CFLAGS=${CFLAGS+set}
3951 ac_test_CFLAGS=${CFLAGS+y}
34153952 ac_save_CFLAGS=$CFLAGS
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3417 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3418 if ${ac_cv_prog_cc_g+:} false; then :
3419 $as_echo_n "(cached) " >&6
3420 else
3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3954 printf %s "checking whether $CC accepts -g... " >&6; }
3955 if test ${ac_cv_prog_cc_g+y}
3956 then :
3957 printf %s "(cached) " >&6
3958 else $as_nop
34213959 ac_save_c_werror_flag=$ac_c_werror_flag
34223960 ac_c_werror_flag=yes
34233961 ac_cv_prog_cc_g=no
34263964 /* end confdefs.h. */
34273965
34283966 int
3429 main ()
3967 main (void)
34303968 {
34313969
34323970 ;
34333971 return 0;
34343972 }
34353973 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3974 if ac_fn_c_try_compile "$LINENO"
3975 then :
34373976 ac_cv_prog_cc_g=yes
3438 else
3977 else $as_nop
34393978 CFLAGS=""
34403979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34413980 /* end confdefs.h. */
34423981
34433982 int
3444 main ()
3983 main (void)
34453984 {
34463985
34473986 ;
34483987 return 0;
34493988 }
34503989 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452
3453 else
3990 if ac_fn_c_try_compile "$LINENO"
3991 then :
3992
3993 else $as_nop
34543994 ac_c_werror_flag=$ac_save_c_werror_flag
34553995 CFLAGS="-g"
34563996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573997 /* end confdefs.h. */
34583998
34593999 int
3460 main ()
4000 main (void)
34614001 {
34624002
34634003 ;
34644004 return 0;
34654005 }
34664006 _ACEOF
3467 if ac_fn_c_try_compile "$LINENO"; then :
4007 if ac_fn_c_try_compile "$LINENO"
4008 then :
34684009 ac_cv_prog_cc_g=yes
34694010 fi
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 fi
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 fi
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4012 fi
4013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4014 fi
4015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34754016 ac_c_werror_flag=$ac_save_c_werror_flag
34764017 fi
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3478 $as_echo "$ac_cv_prog_cc_g" >&6; }
3479 if test "$ac_test_CFLAGS" = set; then
4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4019 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4020 if test $ac_test_CFLAGS; then
34804021 CFLAGS=$ac_save_CFLAGS
34814022 elif test $ac_cv_prog_cc_g = yes; then
34824023 if test "$GCC" = yes; then
34914032 CFLAGS=
34924033 fi
34934034 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3495 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3496 if ${ac_cv_prog_cc_c89+:} false; then :
3497 $as_echo_n "(cached) " >&6
3498 else
4035 ac_prog_cc_stdc=no
4036 if test x$ac_prog_cc_stdc = xno
4037 then :
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4039 printf %s "checking for $CC option to enable C11 features... " >&6; }
4040 if test ${ac_cv_prog_cc_c11+y}
4041 then :
4042 printf %s "(cached) " >&6
4043 else $as_nop
4044 ac_cv_prog_cc_c11=no
4045 ac_save_CC=$CC
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4048 $ac_c_conftest_c11_program
4049 _ACEOF
4050 for ac_arg in '' -std=gnu11
4051 do
4052 CC="$ac_save_CC $ac_arg"
4053 if ac_fn_c_try_compile "$LINENO"
4054 then :
4055 ac_cv_prog_cc_c11=$ac_arg
4056 fi
4057 rm -f core conftest.err conftest.$ac_objext conftest.beam
4058 test "x$ac_cv_prog_cc_c11" != "xno" && break
4059 done
4060 rm -f conftest.$ac_ext
4061 CC=$ac_save_CC
4062 fi
4063
4064 if test "x$ac_cv_prog_cc_c11" = xno
4065 then :
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4067 printf "%s\n" "unsupported" >&6; }
4068 else $as_nop
4069 if test "x$ac_cv_prog_cc_c11" = x
4070 then :
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4072 printf "%s\n" "none needed" >&6; }
4073 else $as_nop
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4075 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4076 CC="$CC $ac_cv_prog_cc_c11"
4077 fi
4078 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4079 ac_prog_cc_stdc=c11
4080 fi
4081 fi
4082 if test x$ac_prog_cc_stdc = xno
4083 then :
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4085 printf %s "checking for $CC option to enable C99 features... " >&6; }
4086 if test ${ac_cv_prog_cc_c99+y}
4087 then :
4088 printf %s "(cached) " >&6
4089 else $as_nop
4090 ac_cv_prog_cc_c99=no
4091 ac_save_CC=$CC
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4094 $ac_c_conftest_c99_program
4095 _ACEOF
4096 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4097 do
4098 CC="$ac_save_CC $ac_arg"
4099 if ac_fn_c_try_compile "$LINENO"
4100 then :
4101 ac_cv_prog_cc_c99=$ac_arg
4102 fi
4103 rm -f core conftest.err conftest.$ac_objext conftest.beam
4104 test "x$ac_cv_prog_cc_c99" != "xno" && break
4105 done
4106 rm -f conftest.$ac_ext
4107 CC=$ac_save_CC
4108 fi
4109
4110 if test "x$ac_cv_prog_cc_c99" = xno
4111 then :
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4113 printf "%s\n" "unsupported" >&6; }
4114 else $as_nop
4115 if test "x$ac_cv_prog_cc_c99" = x
4116 then :
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4118 printf "%s\n" "none needed" >&6; }
4119 else $as_nop
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4121 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4122 CC="$CC $ac_cv_prog_cc_c99"
4123 fi
4124 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4125 ac_prog_cc_stdc=c99
4126 fi
4127 fi
4128 if test x$ac_prog_cc_stdc = xno
4129 then :
4130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4131 printf %s "checking for $CC option to enable C89 features... " >&6; }
4132 if test ${ac_cv_prog_cc_c89+y}
4133 then :
4134 printf %s "(cached) " >&6
4135 else $as_nop
34994136 ac_cv_prog_cc_c89=no
35004137 ac_save_CC=$CC
35014138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35024139 /* end confdefs.h. */
3503 #include <stdarg.h>
3504 #include <stdio.h>
3505 struct stat;
3506 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3507 struct buf { int x; };
3508 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3509 static char *e (p, i)
3510 char **p;
3511 int i;
3512 {
3513 return p[i];
3514 }
3515 static char *f (char * (*g) (char **, int), char **p, ...)
3516 {
3517 char *s;
3518 va_list v;
3519 va_start (v,p);
3520 s = g (p, va_arg (v,int));
3521 va_end (v);
3522 return s;
3523 }
3524
3525 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3526 function prototypes and stuff, but not '\xHH' hex character constants.
3527 These don't provoke an error unfortunately, instead are silently treated
3528 as 'x'. The following induces an error, until -std is added to get
3529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3530 array size at least. It's necessary to write '\x00'==0 to get something
3531 that's true only with -std. */
3532 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3533
3534 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3535 inside strings and character constants. */
3536 #define FOO(x) 'x'
3537 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3538
3539 int test (int i, double x);
3540 struct s1 {int (*f) (int a);};
3541 struct s2 {int (*f) (double a);};
3542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3543 int argc;
3544 char **argv;
3545 int
3546 main ()
3547 {
3548 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3549 ;
3550 return 0;
3551 }
4140 $ac_c_conftest_c89_program
35524141 _ACEOF
3553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3554 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4142 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
35554143 do
35564144 CC="$ac_save_CC $ac_arg"
3557 if ac_fn_c_try_compile "$LINENO"; then :
4145 if ac_fn_c_try_compile "$LINENO"
4146 then :
35584147 ac_cv_prog_cc_c89=$ac_arg
35594148 fi
3560 rm -f core conftest.err conftest.$ac_objext
4149 rm -f core conftest.err conftest.$ac_objext conftest.beam
35614150 test "x$ac_cv_prog_cc_c89" != "xno" && break
35624151 done
35634152 rm -f conftest.$ac_ext
35644153 CC=$ac_save_CC
3565
3566 fi
3567 # AC_CACHE_VAL
3568 case "x$ac_cv_prog_cc_c89" in
3569 x)
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3571 $as_echo "none needed" >&6; } ;;
3572 xno)
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3574 $as_echo "unsupported" >&6; } ;;
3575 *)
3576 CC="$CC $ac_cv_prog_cc_c89"
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3578 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3579 esac
3580 if test "x$ac_cv_prog_cc_c89" != xno; then :
3581
4154 fi
4155
4156 if test "x$ac_cv_prog_cc_c89" = xno
4157 then :
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4159 printf "%s\n" "unsupported" >&6; }
4160 else $as_nop
4161 if test "x$ac_cv_prog_cc_c89" = x
4162 then :
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4164 printf "%s\n" "none needed" >&6; }
4165 else $as_nop
4166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4167 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4168 CC="$CC $ac_cv_prog_cc_c89"
4169 fi
4170 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4171 ac_prog_cc_stdc=c89
4172 fi
35824173 fi
35834174
35844175 ac_ext=c
35874178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35894180
3590 ac_ext=c
4181
4182 ac_ext=c
35914183 ac_cpp='$CPP $CPPFLAGS'
35924184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3596 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3597 if ${am_cv_prog_cc_c_o+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4188 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4189 if test ${am_cv_prog_cc_c_o+y}
4190 then :
4191 printf %s "(cached) " >&6
4192 else $as_nop
36004193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36014194 /* end confdefs.h. */
36024195
36034196 int
3604 main ()
4197 main (void)
36054198 {
36064199
36074200 ;
36294222 rm -f core conftest*
36304223 unset am_i
36314224 fi
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3633 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4226 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
36344227 if test "$am_cv_prog_cc_c_o" != yes; then
36354228 # Losing compiler, so override with the script.
36364229 # FIXME: It is wrong to rewrite CC.
36494242
36504243 ac_config_commands="$ac_config_commands depfiles"
36514244
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3653 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4246 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
36544247 cat > confinc.mk << 'END'
36554248 am__doit:
36564249 @echo this is the am__doit target >confinc.out
36864279 fi
36874280 done
36884281 rm -f confinc.* confmf.*
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3690 $as_echo "${_am_result}" >&6; }
4282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4283 printf "%s\n" "${_am_result}" >&6; }
36914284
36924285 # Check whether --enable-dependency-tracking was given.
3693 if test "${enable_dependency_tracking+set}" = set; then :
4286 if test ${enable_dependency_tracking+y}
4287 then :
36944288 enableval=$enable_dependency_tracking;
36954289 fi
36964290
37114305
37124306 depcc="$CC" am_compiler_list=
37134307
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3715 $as_echo_n "checking dependency style of $depcc... " >&6; }
3716 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3717 $as_echo_n "(cached) " >&6
3718 else
4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4309 printf %s "checking dependency style of $depcc... " >&6; }
4310 if test ${am_cv_CC_dependencies_compiler_type+y}
4311 then :
4312 printf %s "(cached) " >&6
4313 else $as_nop
37194314 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
37204315 # We make a subdir and do the tests there. Otherwise we can end up
37214316 # making bogus files that we don't know about and never remove. For
38224417 fi
38234418
38244419 fi
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3826 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4421 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
38274422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
38284423
38294424 if
38384433
38394434
38404435
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3842 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3843 if ${ac_cv_c_const+:} false; then :
3844 $as_echo_n "(cached) " >&6
3845 else
4436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4437 printf %s "checking for an ANSI C-conforming const... " >&6; }
4438 if test ${ac_cv_c_const+y}
4439 then :
4440 printf %s "(cached) " >&6
4441 else $as_nop
38464442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38474443 /* end confdefs.h. */
38484444
38494445 int
3850 main ()
4446 main (void)
38514447 {
38524448
38534449 #ifndef __cplusplus
38604456 /* NEC SVR4.0.2 mips cc rejects this. */
38614457 struct point {int x, y;};
38624458 static struct point const zero = {0,0};
3863 /* AIX XL C 1.02.0.0 rejects this.
4459 /* IBM XL C 1.02.0.0 rejects this.
38644460 It does not let you subtract one const X* pointer from another in
38654461 an arm of an if-expression whose if-part is not a constant
38664462 expression */
38884484 iptr p = 0;
38894485 ++p;
38904486 }
3891 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4487 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
38924488 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
38934489 struct s { int j; const int *ap[3]; } bx;
38944490 struct s *b = &bx; b->j = 5;
39044500 return 0;
39054501 }
39064502 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
4503 if ac_fn_c_try_compile "$LINENO"
4504 then :
39084505 ac_cv_c_const=yes
3909 else
4506 else $as_nop
39104507 ac_cv_c_const=no
39114508 fi
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 fi
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3915 $as_echo "$ac_cv_c_const" >&6; }
4509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4510 fi
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4512 printf "%s\n" "$ac_cv_c_const" >&6; }
39164513 if test $ac_cv_c_const = no; then
39174514
3918 $as_echo "#define const /**/" >>confdefs.h
4515 printf "%s\n" "#define const /**/" >>confdefs.h
39194516
39204517 fi
39214518
39224519 case `pwd` in
39234520 *\ * | *\ *)
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3925 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4522 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
39264523 esac
39274524
39284525
39294526
3930 macro_version='2.4.6'
3931 macro_revision='2.4.6'
4527 macro_version='2.4.7'
4528 macro_revision='2.4.7'
4529
39324530
39334531
39344532
39444542
39454543 ltmain=$ac_aux_dir/ltmain.sh
39464544
3947 # Make sure we can run config.sub.
3948 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3949 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3950
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3952 $as_echo_n "checking build system type... " >&6; }
3953 if ${ac_cv_build+:} false; then :
3954 $as_echo_n "(cached) " >&6
3955 else
4545
4546
4547 # Make sure we can run config.sub.
4548 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4549 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4550
4551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4552 printf %s "checking build system type... " >&6; }
4553 if test ${ac_cv_build+y}
4554 then :
4555 printf %s "(cached) " >&6
4556 else $as_nop
39564557 ac_build_alias=$build_alias
39574558 test "x$ac_build_alias" = x &&
3958 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4559 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
39594560 test "x$ac_build_alias" = x &&
39604561 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3961 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3963
3964 fi
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3966 $as_echo "$ac_cv_build" >&6; }
4562 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4563 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4564
4565 fi
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4567 printf "%s\n" "$ac_cv_build" >&6; }
39674568 case $ac_cv_build in
39684569 *-*-*) ;;
39694570 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
39824583 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
39834584
39844585
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3986 $as_echo_n "checking host system type... " >&6; }
3987 if ${ac_cv_host+:} false; then :
3988 $as_echo_n "(cached) " >&6
3989 else
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4587 printf %s "checking host system type... " >&6; }
4588 if test ${ac_cv_host+y}
4589 then :
4590 printf %s "(cached) " >&6
4591 else $as_nop
39904592 if test "x$host_alias" = x; then
39914593 ac_cv_host=$ac_cv_build
39924594 else
3993 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3994 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3995 fi
3996
3997 fi
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3999 $as_echo "$ac_cv_host" >&6; }
4595 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4596 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4597 fi
4598
4599 fi
4600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4601 printf "%s\n" "$ac_cv_host" >&6; }
40004602 case $ac_cv_host in
40014603 *-*-*) ;;
40024604 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
40364638 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
40374639 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
40384640
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4040 $as_echo_n "checking how to print strings... " >&6; }
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4642 printf %s "checking how to print strings... " >&6; }
40414643 # Test print first, because it will be a builtin if present.
40424644 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
40434645 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
40634665 }
40644666
40654667 case $ECHO in
4066 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4067 $as_echo "printf" >&6; } ;;
4068 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4069 $as_echo "print -r" >&6; } ;;
4070 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4071 $as_echo "cat" >&6; } ;;
4668 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4669 printf "%s\n" "printf" >&6; } ;;
4670 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4671 printf "%s\n" "print -r" >&6; } ;;
4672 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4673 printf "%s\n" "cat" >&6; } ;;
40724674 esac
40734675
40744676
40844686
40854687
40864688
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4088 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4089 if ${ac_cv_path_SED+:} false; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4690 printf %s "checking for a sed that does not truncate output... " >&6; }
4691 if test ${ac_cv_path_SED+y}
4692 then :
4693 printf %s "(cached) " >&6
4694 else $as_nop
40924695 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
40934696 for ac_i in 1 2 3 4 5 6 7; do
40944697 ac_script="$ac_script$as_nl$ac_script"
41024705 for as_dir in $PATH
41034706 do
41044707 IFS=$as_save_IFS
4105 test -z "$as_dir" && as_dir=.
4106 for ac_prog in sed gsed; do
4708 case $as_dir in #(((
4709 '') as_dir=./ ;;
4710 */) ;;
4711 *) as_dir=$as_dir/ ;;
4712 esac
4713 for ac_prog in sed gsed
4714 do
41074715 for ac_exec_ext in '' $ac_executable_extensions; do
4108 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4716 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
41094717 as_fn_executable_p "$ac_path_SED" || continue
41104718 # Check for GNU ac_path_SED and select it if it is found.
41114719 # Check for GNU $ac_path_SED
41144722 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
41154723 *)
41164724 ac_count=0
4117 $as_echo_n 0123456789 >"conftest.in"
4725 printf %s 0123456789 >"conftest.in"
41184726 while :
41194727 do
41204728 cat "conftest.in" "conftest.in" >"conftest.tmp"
41214729 mv "conftest.tmp" "conftest.in"
41224730 cp "conftest.in" "conftest.nl"
4123 $as_echo '' >> "conftest.nl"
4731 printf "%s\n" '' >> "conftest.nl"
41244732 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
41254733 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
41264734 as_fn_arith $ac_count + 1 && ac_count=$as_val
41484756 fi
41494757
41504758 fi
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4152 $as_echo "$ac_cv_path_SED" >&6; }
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4760 printf "%s\n" "$ac_cv_path_SED" >&6; }
41534761 SED="$ac_cv_path_SED"
41544762 rm -f conftest.sed
41554763
41664774
41674775
41684776
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4171 if ${ac_cv_path_GREP+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4778 printf %s "checking for grep that handles long lines and -e... " >&6; }
4779 if test ${ac_cv_path_GREP+y}
4780 then :
4781 printf %s "(cached) " >&6
4782 else $as_nop
41744783 if test -z "$GREP"; then
41754784 ac_path_GREP_found=false
41764785 # Loop through the user's path and test for each of PROGNAME-LIST
41784787 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
41794788 do
41804789 IFS=$as_save_IFS
4181 test -z "$as_dir" && as_dir=.
4182 for ac_prog in grep ggrep; do
4790 case $as_dir in #(((
4791 '') as_dir=./ ;;
4792 */) ;;
4793 *) as_dir=$as_dir/ ;;
4794 esac
4795 for ac_prog in grep ggrep
4796 do
41834797 for ac_exec_ext in '' $ac_executable_extensions; do
4184 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4798 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
41854799 as_fn_executable_p "$ac_path_GREP" || continue
41864800 # Check for GNU ac_path_GREP and select it if it is found.
41874801 # Check for GNU $ac_path_GREP
41904804 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
41914805 *)
41924806 ac_count=0
4193 $as_echo_n 0123456789 >"conftest.in"
4807 printf %s 0123456789 >"conftest.in"
41944808 while :
41954809 do
41964810 cat "conftest.in" "conftest.in" >"conftest.tmp"
41974811 mv "conftest.tmp" "conftest.in"
41984812 cp "conftest.in" "conftest.nl"
4199 $as_echo 'GREP' >> "conftest.nl"
4813 printf "%s\n" 'GREP' >> "conftest.nl"
42004814 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
42014815 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
42024816 as_fn_arith $ac_count + 1 && ac_count=$as_val
42244838 fi
42254839
42264840 fi
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4228 $as_echo "$ac_cv_path_GREP" >&6; }
4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4842 printf "%s\n" "$ac_cv_path_GREP" >&6; }
42294843 GREP="$ac_cv_path_GREP"
42304844
42314845
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4233 $as_echo_n "checking for egrep... " >&6; }
4234 if ${ac_cv_path_EGREP+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4847 printf %s "checking for egrep... " >&6; }
4848 if test ${ac_cv_path_EGREP+y}
4849 then :
4850 printf %s "(cached) " >&6
4851 else $as_nop
42374852 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
42384853 then ac_cv_path_EGREP="$GREP -E"
42394854 else
42444859 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
42454860 do
42464861 IFS=$as_save_IFS
4247 test -z "$as_dir" && as_dir=.
4248 for ac_prog in egrep; do
4862 case $as_dir in #(((
4863 '') as_dir=./ ;;
4864 */) ;;
4865 *) as_dir=$as_dir/ ;;
4866 esac
4867 for ac_prog in egrep
4868 do
42494869 for ac_exec_ext in '' $ac_executable_extensions; do
4250 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4870 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
42514871 as_fn_executable_p "$ac_path_EGREP" || continue
42524872 # Check for GNU ac_path_EGREP and select it if it is found.
42534873 # Check for GNU $ac_path_EGREP
42564876 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
42574877 *)
42584878 ac_count=0
4259 $as_echo_n 0123456789 >"conftest.in"
4879 printf %s 0123456789 >"conftest.in"
42604880 while :
42614881 do
42624882 cat "conftest.in" "conftest.in" >"conftest.tmp"
42634883 mv "conftest.tmp" "conftest.in"
42644884 cp "conftest.in" "conftest.nl"
4265 $as_echo 'EGREP' >> "conftest.nl"
4885 printf "%s\n" 'EGREP' >> "conftest.nl"
42664886 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
42674887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
42684888 as_fn_arith $ac_count + 1 && ac_count=$as_val
42914911
42924912 fi
42934913 fi
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4295 $as_echo "$ac_cv_path_EGREP" >&6; }
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4915 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
42964916 EGREP="$ac_cv_path_EGREP"
42974917
42984918
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4300 $as_echo_n "checking for fgrep... " >&6; }
4301 if ${ac_cv_path_FGREP+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4920 printf %s "checking for fgrep... " >&6; }
4921 if test ${ac_cv_path_FGREP+y}
4922 then :
4923 printf %s "(cached) " >&6
4924 else $as_nop
43044925 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
43054926 then ac_cv_path_FGREP="$GREP -F"
43064927 else
43114932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43124933 do
43134934 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_prog in fgrep; do
4935 case $as_dir in #(((
4936 '') as_dir=./ ;;
4937 */) ;;
4938 *) as_dir=$as_dir/ ;;
4939 esac
4940 for ac_prog in fgrep
4941 do
43164942 for ac_exec_ext in '' $ac_executable_extensions; do
4317 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4943 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
43184944 as_fn_executable_p "$ac_path_FGREP" || continue
43194945 # Check for GNU ac_path_FGREP and select it if it is found.
43204946 # Check for GNU $ac_path_FGREP
43234949 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
43244950 *)
43254951 ac_count=0
4326 $as_echo_n 0123456789 >"conftest.in"
4952 printf %s 0123456789 >"conftest.in"
43274953 while :
43284954 do
43294955 cat "conftest.in" "conftest.in" >"conftest.tmp"
43304956 mv "conftest.tmp" "conftest.in"
43314957 cp "conftest.in" "conftest.nl"
4332 $as_echo 'FGREP' >> "conftest.nl"
4958 printf "%s\n" 'FGREP' >> "conftest.nl"
43334959 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
43344960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
43354961 as_fn_arith $ac_count + 1 && ac_count=$as_val
43584984
43594985 fi
43604986 fi
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4362 $as_echo "$ac_cv_path_FGREP" >&6; }
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4988 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
43634989 FGREP="$ac_cv_path_FGREP"
43644990
43654991
43845010
43855011
43865012 # Check whether --with-gnu-ld was given.
4387 if test "${with_gnu_ld+set}" = set; then :
5013 if test ${with_gnu_ld+y}
5014 then :
43885015 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4389 else
5016 else $as_nop
43905017 with_gnu_ld=no
43915018 fi
43925019
43935020 ac_prog=ld
43945021 if test yes = "$GCC"; then
43955022 # Check if gcc -print-prog-name=ld gives a path.
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4397 $as_echo_n "checking for ld used by $CC... " >&6; }
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5024 printf %s "checking for ld used by $CC... " >&6; }
43985025 case $host in
43995026 *-*-mingw*)
44005027 # gcc leaves a trailing carriage return, which upsets mingw
44235050 ;;
44245051 esac
44255052 elif test yes = "$with_gnu_ld"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4427 $as_echo_n "checking for GNU ld... " >&6; }
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4430 $as_echo_n "checking for non-GNU ld... " >&6; }
4431 fi
4432 if ${lt_cv_path_LD+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5054 printf %s "checking for GNU ld... " >&6; }
5055 else
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5057 printf %s "checking for non-GNU ld... " >&6; }
5058 fi
5059 if test ${lt_cv_path_LD+y}
5060 then :
5061 printf %s "(cached) " >&6
5062 else $as_nop
44355063 if test -z "$LD"; then
44365064 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
44375065 for ac_dir in $PATH; do
44605088
44615089 LD=$lt_cv_path_LD
44625090 if test -n "$LD"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4464 $as_echo "$LD" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5092 printf "%s\n" "$LD" >&6; }
5093 else
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 printf "%s\n" "no" >&6; }
44685096 fi
44695097 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4472 if ${lt_cv_prog_gnu_ld+:} false; then :
4473 $as_echo_n "(cached) " >&6
4474 else
5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5099 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5100 if test ${lt_cv_prog_gnu_ld+y}
5101 then :
5102 printf %s "(cached) " >&6
5103 else $as_nop
44755104 # I'd rather use --version here, but apparently some GNU lds only accept -v.
44765105 case `$LD -v 2>&1 </dev/null` in
44775106 *GNU* | *'with BFD'*)
44825111 ;;
44835112 esac
44845113 fi
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4486 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5115 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
44875116 with_gnu_ld=$lt_cv_prog_gnu_ld
44885117
44895118
44945123
44955124
44965125
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4498 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4499 if ${lt_cv_path_NM+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
5126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5127 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5128 if test ${lt_cv_path_NM+y}
5129 then :
5130 printf %s "(cached) " >&6
5131 else $as_nop
45025132 if test -n "$NM"; then
45035133 # Let the user override the test.
45045134 lt_cv_path_NM=$NM
45235153 mingw*) lt_bad_file=conftest.nm/nofile ;;
45245154 *) lt_bad_file=/dev/null ;;
45255155 esac
4526 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5156 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
45275157 *$lt_bad_file* | *'Invalid file or object type'*)
45285158 lt_cv_path_NM="$tmp_nm -B"
45295159 break 2
45305160 ;;
45315161 *)
4532 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5162 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
45335163 */dev/null*)
45345164 lt_cv_path_NM="$tmp_nm -p"
45355165 break 2
45485178 : ${lt_cv_path_NM=no}
45495179 fi
45505180 fi
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4552 $as_echo "$lt_cv_path_NM" >&6; }
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5182 printf "%s\n" "$lt_cv_path_NM" >&6; }
45535183 if test no != "$lt_cv_path_NM"; then
45545184 NM=$lt_cv_path_NM
45555185 else
45625192 do
45635193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
45645194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4566 $as_echo_n "checking for $ac_word... " >&6; }
4567 if ${ac_cv_prog_DUMPBIN+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 printf %s "checking for $ac_word... " >&6; }
5197 if test ${ac_cv_prog_DUMPBIN+y}
5198 then :
5199 printf %s "(cached) " >&6
5200 else $as_nop
45705201 if test -n "$DUMPBIN"; then
45715202 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
45725203 else
45745205 for as_dir in $PATH
45755206 do
45765207 IFS=$as_save_IFS
4577 test -z "$as_dir" && as_dir=.
5208 case $as_dir in #(((
5209 '') as_dir=./ ;;
5210 */) ;;
5211 *) as_dir=$as_dir/ ;;
5212 esac
45785213 for ac_exec_ext in '' $ac_executable_extensions; do
4579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
45805215 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
45825217 break 2
45835218 fi
45845219 done
45895224 fi
45905225 DUMPBIN=$ac_cv_prog_DUMPBIN
45915226 if test -n "$DUMPBIN"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4593 $as_echo "$DUMPBIN" >&6; }
4594 else
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5228 printf "%s\n" "$DUMPBIN" >&6; }
5229 else
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 printf "%s\n" "no" >&6; }
45975232 fi
45985233
45995234
46065241 do
46075242 # Extract the first word of "$ac_prog", so it can be a program name with args.
46085243 set dummy $ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4612 $as_echo_n "(cached) " >&6
4613 else
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 printf %s "checking for $ac_word... " >&6; }
5246 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5247 then :
5248 printf %s "(cached) " >&6
5249 else $as_nop
46145250 if test -n "$ac_ct_DUMPBIN"; then
46155251 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
46165252 else
46185254 for as_dir in $PATH
46195255 do
46205256 IFS=$as_save_IFS
4621 test -z "$as_dir" && as_dir=.
5257 case $as_dir in #(((
5258 '') as_dir=./ ;;
5259 */) ;;
5260 *) as_dir=$as_dir/ ;;
5261 esac
46225262 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
46245264 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
46265266 break 2
46275267 fi
46285268 done
46335273 fi
46345274 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
46355275 if test -n "$ac_ct_DUMPBIN"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4637 $as_echo "$ac_ct_DUMPBIN" >&6; }
4638 else
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5277 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5278 else
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 printf "%s\n" "no" >&6; }
46415281 fi
46425282
46435283
46495289 else
46505290 case $cross_compiling:$ac_tool_warned in
46515291 yes:)
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5293 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
46545294 ac_tool_warned=yes ;;
46555295 esac
46565296 DUMPBIN=$ac_ct_DUMPBIN
46575297 fi
46585298 fi
46595299
4660 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5300 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
46615301 *COFF*)
46625302 DUMPBIN="$DUMPBIN -symbols -headers"
46635303 ;;
46785318
46795319
46805320
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4682 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4683 if ${lt_cv_nm_interface+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5322 printf %s "checking the name lister ($NM) interface... " >&6; }
5323 if test ${lt_cv_nm_interface+y}
5324 then :
5325 printf %s "(cached) " >&6
5326 else $as_nop
46865327 lt_cv_nm_interface="BSD nm"
46875328 echo "int some_variable = 0;" > conftest.$ac_ext
46885329 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
46985339 fi
46995340 rm -f conftest*
47005341 fi
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4702 $as_echo "$lt_cv_nm_interface" >&6; }
4703
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4705 $as_echo_n "checking whether ln -s works... " >&6; }
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5343 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5344
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5346 printf %s "checking whether ln -s works... " >&6; }
47065347 LN_S=$as_ln_s
47075348 if test "$LN_S" = "ln -s"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4709 $as_echo "yes" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4712 $as_echo "no, using $LN_S" >&6; }
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5350 printf "%s\n" "yes" >&6; }
5351 else
5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5353 printf "%s\n" "no, using $LN_S" >&6; }
47135354 fi
47145355
47155356 # find the maximum length of command line arguments
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4717 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4718 if ${lt_cv_sys_max_cmd_len+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5358 printf %s "checking the maximum length of command line arguments... " >&6; }
5359 if test ${lt_cv_sys_max_cmd_len+y}
5360 then :
5361 printf %s "(cached) " >&6
5362 else $as_nop
47215363 i=0
47225364 teststring=ABCD
47235365
47595401 lt_cv_sys_max_cmd_len=8192;
47605402 ;;
47615403
4762 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5404 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
47635405 # This has been around since 386BSD, at least. Likely further.
47645406 if test -x /sbin/sysctl; then
47655407 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
48025444 sysv5* | sco5v6* | sysv4.2uw2*)
48035445 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
48045446 if test -n "$kargmax"; then
4805 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5447 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
48065448 else
48075449 lt_cv_sys_max_cmd_len=32768
48085450 fi
48445486 fi
48455487
48465488 if test -n "$lt_cv_sys_max_cmd_len"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4848 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4851 $as_echo "none" >&6; }
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5490 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5491 else
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5493 printf "%s\n" "none" >&6; }
48525494 fi
48535495 max_cmd_len=$lt_cv_sys_max_cmd_len
48545496
48925534
48935535
48945536
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4896 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4897 if ${lt_cv_to_host_file_cmd+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5538 printf %s "checking how to convert $build file names to $host format... " >&6; }
5539 if test ${lt_cv_to_host_file_cmd+y}
5540 then :
5541 printf %s "(cached) " >&6
5542 else $as_nop
49005543 case $host in
49015544 *-*-mingw* )
49025545 case $build in
49325575 fi
49335576
49345577 to_host_file_cmd=$lt_cv_to_host_file_cmd
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4936 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4937
4938
4939
4940
4941
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4943 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4944 if ${lt_cv_to_tool_file_cmd+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5579 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5580
5581
5582
5583
5584
5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5586 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5587 if test ${lt_cv_to_tool_file_cmd+y}
5588 then :
5589 printf %s "(cached) " >&6
5590 else $as_nop
49475591 #assume ordinary cross tools, or native build.
49485592 lt_cv_to_tool_file_cmd=func_convert_file_noop
49495593 case $host in
49595603 fi
49605604
49615605 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4963 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4964
4965
4966
4967
4968
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4970 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4971 if ${lt_cv_ld_reload_flag+:} false; then :
4972 $as_echo_n "(cached) " >&6
4973 else
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5607 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5608
5609
5610
5611
5612
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5614 printf %s "checking for $LD option to reload object files... " >&6; }
5615 if test ${lt_cv_ld_reload_flag+y}
5616 then :
5617 printf %s "(cached) " >&6
5618 else $as_nop
49745619 lt_cv_ld_reload_flag='-r'
49755620 fi
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4977 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5622 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
49785623 reload_flag=$lt_cv_ld_reload_flag
49795624 case $reload_flag in
49805625 "" | " "*) ;;
50055650
50065651
50075652 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_OBJDUMP+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 if test -n "$OBJDUMP"; then
5016 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5653 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
5654 set dummy ${ac_tool_prefix}file; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_FILECMD+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$FILECMD"; then
5662 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
50175663 else
50185664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50195665 for as_dir in $PATH
50205666 do
50215667 IFS=$as_save_IFS
5022 test -z "$as_dir" && as_dir=.
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
50235673 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
50275677 break 2
50285678 fi
50295679 done
50325682
50335683 fi
50345684 fi
5035 OBJDUMP=$ac_cv_prog_OBJDUMP
5036 if test -n "$OBJDUMP"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5038 $as_echo "$OBJDUMP" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5042 fi
5043
5044
5045 fi
5046 if test -z "$ac_cv_prog_OBJDUMP"; then
5047 ac_ct_OBJDUMP=$OBJDUMP
5048 # Extract the first word of "objdump", so it can be a program name with args.
5049 set dummy objdump; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$ac_ct_OBJDUMP"; then
5056 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5685 FILECMD=$ac_cv_prog_FILECMD
5686 if test -n "$FILECMD"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
5688 printf "%s\n" "$FILECMD" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5692 fi
5693
5694
5695 fi
5696 if test -z "$ac_cv_prog_FILECMD"; then
5697 ac_ct_FILECMD=$FILECMD
5698 # Extract the first word of "file", so it can be a program name with args.
5699 set dummy file; ac_word=$2
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 printf %s "checking for $ac_word... " >&6; }
5702 if test ${ac_cv_prog_ac_ct_FILECMD+y}
5703 then :
5704 printf %s "(cached) " >&6
5705 else $as_nop
5706 if test -n "$ac_ct_FILECMD"; then
5707 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
50575708 else
50585709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50595710 for as_dir in $PATH
50605711 do
50615712 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5713 case $as_dir in #(((
5714 '') as_dir=./ ;;
5715 */) ;;
5716 *) as_dir=$as_dir/ ;;
5717 esac
50635718 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_ac_ct_FILECMD="file"
5721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
50675722 break 2
50685723 fi
50695724 done
50725727
50735728 fi
50745729 fi
5730 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
5731 if test -n "$ac_ct_FILECMD"; then
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
5733 printf "%s\n" "$ac_ct_FILECMD" >&6; }
5734 else
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 printf "%s\n" "no" >&6; }
5737 fi
5738
5739 if test "x$ac_ct_FILECMD" = x; then
5740 FILECMD=":"
5741 else
5742 case $cross_compiling:$ac_tool_warned in
5743 yes:)
5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5745 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5746 ac_tool_warned=yes ;;
5747 esac
5748 FILECMD=$ac_ct_FILECMD
5749 fi
5750 else
5751 FILECMD="$ac_cv_prog_FILECMD"
5752 fi
5753
5754
5755
5756
5757
5758
5759
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 printf %s "checking for $ac_word... " >&6; }
5765 if test ${ac_cv_prog_OBJDUMP+y}
5766 then :
5767 printf %s "(cached) " >&6
5768 else $as_nop
5769 if test -n "$OBJDUMP"; then
5770 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5774 do
5775 IFS=$as_save_IFS
5776 case $as_dir in #(((
5777 '') as_dir=./ ;;
5778 */) ;;
5779 *) as_dir=$as_dir/ ;;
5780 esac
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5785 break 2
5786 fi
5787 done
5788 done
5789 IFS=$as_save_IFS
5790
5791 fi
5792 fi
5793 OBJDUMP=$ac_cv_prog_OBJDUMP
5794 if test -n "$OBJDUMP"; then
5795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5796 printf "%s\n" "$OBJDUMP" >&6; }
5797 else
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 printf "%s\n" "no" >&6; }
5800 fi
5801
5802
5803 fi
5804 if test -z "$ac_cv_prog_OBJDUMP"; then
5805 ac_ct_OBJDUMP=$OBJDUMP
5806 # Extract the first word of "objdump", so it can be a program name with args.
5807 set dummy objdump; ac_word=$2
5808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 printf %s "checking for $ac_word... " >&6; }
5810 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5811 then :
5812 printf %s "(cached) " >&6
5813 else $as_nop
5814 if test -n "$ac_ct_OBJDUMP"; then
5815 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 case $as_dir in #(((
5822 '') as_dir=./ ;;
5823 */) ;;
5824 *) as_dir=$as_dir/ ;;
5825 esac
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5830 break 2
5831 fi
5832 done
5833 done
5834 IFS=$as_save_IFS
5835
5836 fi
5837 fi
50755838 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
50765839 if test -n "$ac_ct_OBJDUMP"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5078 $as_echo "$ac_ct_OBJDUMP" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5841 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
5842 else
5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 printf "%s\n" "no" >&6; }
50825845 fi
50835846
50845847 if test "x$ac_ct_OBJDUMP" = x; then
50865849 else
50875850 case $cross_compiling:$ac_tool_warned in
50885851 yes:)
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5853 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50915854 ac_tool_warned=yes ;;
50925855 esac
50935856 OBJDUMP=$ac_ct_OBJDUMP
51065869
51075870
51085871
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5110 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5111 if ${lt_cv_deplibs_check_method+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5873 printf %s "checking how to recognize dependent libraries... " >&6; }
5874 if test ${lt_cv_deplibs_check_method+y}
5875 then :
5876 printf %s "(cached) " >&6
5877 else $as_nop
51145878 lt_cv_file_magic_cmd='$MAGIC_CMD'
51155879 lt_cv_file_magic_test_file=
51165880 lt_cv_deplibs_check_method='unknown'
51365900
51375901 bsdi[45]*)
51385902 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5139 lt_cv_file_magic_cmd='/usr/bin/file -L'
5903 lt_cv_file_magic_cmd='$FILECMD -L'
51405904 lt_cv_file_magic_test_file=/shlib/libc.so
51415905 ;;
51425906
51705934 lt_cv_deplibs_check_method=pass_all
51715935 ;;
51725936
5173 freebsd* | dragonfly*)
5937 freebsd* | dragonfly* | midnightbsd*)
51745938 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
51755939 case $host_cpu in
51765940 i*86 )
51775941 # Not sure whether the presence of OpenBSD here was a mistake.
51785942 # Let's accept both of them until this is cleared up.
51795943 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5180 lt_cv_file_magic_cmd=/usr/bin/file
5944 lt_cv_file_magic_cmd=$FILECMD
51815945 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
51825946 ;;
51835947 esac
51915955 ;;
51925956
51935957 hpux10.20* | hpux11*)
5194 lt_cv_file_magic_cmd=/usr/bin/file
5958 lt_cv_file_magic_cmd=$FILECMD
51955959 case $host_cpu in
51965960 ia64*)
51975961 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
52386002
52396003 newos6*)
52406004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5241 lt_cv_file_magic_cmd=/usr/bin/file
6005 lt_cv_file_magic_cmd=$FILECMD
52426006 lt_cv_file_magic_test_file=/usr/lib/libnls.so
52436007 ;;
52446008
53066070 esac
53076071
53086072 fi
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5310 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6074 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
53116075
53126076 file_magic_glob=
53136077 want_nocaseglob=no
53516115 if test -n "$ac_tool_prefix"; then
53526116 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
53536117 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_DLLTOOL+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 printf %s "checking for $ac_word... " >&6; }
6120 if test ${ac_cv_prog_DLLTOOL+y}
6121 then :
6122 printf %s "(cached) " >&6
6123 else $as_nop
53596124 if test -n "$DLLTOOL"; then
53606125 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
53616126 else
53636128 for as_dir in $PATH
53646129 do
53656130 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
6131 case $as_dir in #(((
6132 '') as_dir=./ ;;
6133 */) ;;
6134 *) as_dir=$as_dir/ ;;
6135 esac
53676136 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
53696138 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
53716140 break 2
53726141 fi
53736142 done
53786147 fi
53796148 DLLTOOL=$ac_cv_prog_DLLTOOL
53806149 if test -n "$DLLTOOL"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5382 $as_echo "$DLLTOOL" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6151 printf "%s\n" "$DLLTOOL" >&6; }
6152 else
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 printf "%s\n" "no" >&6; }
53866155 fi
53876156
53886157
53916160 ac_ct_DLLTOOL=$DLLTOOL
53926161 # Extract the first word of "dlltool", so it can be a program name with args.
53936162 set dummy dlltool; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 printf %s "checking for $ac_word... " >&6; }
6165 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else $as_nop
53996169 if test -n "$ac_ct_DLLTOOL"; then
54006170 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
54016171 else
54036173 for as_dir in $PATH
54046174 do
54056175 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
6176 case $as_dir in #(((
6177 '') as_dir=./ ;;
6178 */) ;;
6179 *) as_dir=$as_dir/ ;;
6180 esac
54076181 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
54096183 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
54116185 break 2
54126186 fi
54136187 done
54186192 fi
54196193 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
54206194 if test -n "$ac_ct_DLLTOOL"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5422 $as_echo "$ac_ct_DLLTOOL" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6196 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6197 else
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 printf "%s\n" "no" >&6; }
54266200 fi
54276201
54286202 if test "x$ac_ct_DLLTOOL" = x; then
54306204 else
54316205 case $cross_compiling:$ac_tool_warned in
54326206 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
54356209 ac_tool_warned=yes ;;
54366210 esac
54376211 DLLTOOL=$ac_ct_DLLTOOL
54516225
54526226
54536227
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5455 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5456 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6229 printf %s "checking how to associate runtime and link libraries... " >&6; }
6230 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6231 then :
6232 printf %s "(cached) " >&6
6233 else $as_nop
54596234 lt_cv_sharedlib_from_linklib_cmd='unknown'
54606235
54616236 case $host_os in
54786253 esac
54796254
54806255 fi
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5482 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6257 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
54836258 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
54846259 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
54856260
54946269 do
54956270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
54966271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_AR+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 printf %s "checking for $ac_word... " >&6; }
6274 if test ${ac_cv_prog_AR+y}
6275 then :
6276 printf %s "(cached) " >&6
6277 else $as_nop
55026278 if test -n "$AR"; then
55036279 ac_cv_prog_AR="$AR" # Let the user override the test.
55046280 else
55066282 for as_dir in $PATH
55076283 do
55086284 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
6285 case $as_dir in #(((
6286 '') as_dir=./ ;;
6287 */) ;;
6288 *) as_dir=$as_dir/ ;;
6289 esac
55106290 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
55126292 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
55146294 break 2
55156295 fi
55166296 done
55216301 fi
55226302 AR=$ac_cv_prog_AR
55236303 if test -n "$AR"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5525 $as_echo "$AR" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6305 printf "%s\n" "$AR" >&6; }
6306 else
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 printf "%s\n" "no" >&6; }
55296309 fi
55306310
55316311
55386318 do
55396319 # Extract the first word of "$ac_prog", so it can be a program name with args.
55406320 set dummy $ac_prog; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
6321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322 printf %s "checking for $ac_word... " >&6; }
6323 if test ${ac_cv_prog_ac_ct_AR+y}
6324 then :
6325 printf %s "(cached) " >&6
6326 else $as_nop
55466327 if test -n "$ac_ct_AR"; then
55476328 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
55486329 else
55506331 for as_dir in $PATH
55516332 do
55526333 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
6334 case $as_dir in #(((
6335 '') as_dir=./ ;;
6336 */) ;;
6337 *) as_dir=$as_dir/ ;;
6338 esac
55546339 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6340 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
55566341 ac_cv_prog_ac_ct_AR="$ac_prog"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
55586343 break 2
55596344 fi
55606345 done
55656350 fi
55666351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
55676352 if test -n "$ac_ct_AR"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5569 $as_echo "$ac_ct_AR" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6354 printf "%s\n" "$ac_ct_AR" >&6; }
6355 else
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 printf "%s\n" "no" >&6; }
55736358 fi
55746359
55756360
55816366 else
55826367 case $cross_compiling:$ac_tool_warned in
55836368 yes:)
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
55866371 ac_tool_warned=yes ;;
55876372 esac
55886373 AR=$ac_ct_AR
55906375 fi
55916376
55926377 : ${AR=ar}
5593 : ${AR_FLAGS=cru}
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5606 $as_echo_n "checking for archiver @FILE support... " >&6; }
5607 if ${lt_cv_ar_at_file+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
6378
6379
6380
6381
6382
6383
6384 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6385 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6386 # higher priority because thats what people were doing historically (setting
6387 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6388 # variable obsoleted/removed.
6389
6390 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6391 lt_ar_flags=$AR_FLAGS
6392
6393
6394
6395
6396
6397
6398 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6399 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6400
6401
6402
6403
6404
6405
6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6407 printf %s "checking for archiver @FILE support... " >&6; }
6408 if test ${lt_cv_ar_at_file+y}
6409 then :
6410 printf %s "(cached) " >&6
6411 else $as_nop
56106412 lt_cv_ar_at_file=no
56116413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56126414 /* end confdefs.h. */
56136415
56146416 int
5615 main ()
6417 main (void)
56166418 {
56176419
56186420 ;
56196421 return 0;
56206422 }
56216423 _ACEOF
5622 if ac_fn_c_try_compile "$LINENO"; then :
6424 if ac_fn_c_try_compile "$LINENO"
6425 then :
56236426 echo conftest.$ac_objext > conftest.lst
56246427 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
56256428 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
56266429 (eval $lt_ar_try) 2>&5
56276430 ac_status=$?
5628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56296432 test $ac_status = 0; }
56306433 if test 0 -eq "$ac_status"; then
56316434 # Ensure the archiver fails upon bogus file names.
56336436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
56346437 (eval $lt_ar_try) 2>&5
56356438 ac_status=$?
5636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
56376440 test $ac_status = 0; }
56386441 if test 0 -ne "$ac_status"; then
56396442 lt_cv_ar_at_file=@
56426445 rm -f conftest.* libconftest.a
56436446
56446447 fi
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646
5647 fi
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5649 $as_echo "$lt_cv_ar_at_file" >&6; }
6448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6449
6450 fi
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6452 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
56506453
56516454 if test no = "$lt_cv_ar_at_file"; then
56526455 archiver_list_spec=
56636466 if test -n "$ac_tool_prefix"; then
56646467 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
56656468 set dummy ${ac_tool_prefix}strip; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_STRIP+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 printf %s "checking for $ac_word... " >&6; }
6471 if test ${ac_cv_prog_STRIP+y}
6472 then :
6473 printf %s "(cached) " >&6
6474 else $as_nop
56716475 if test -n "$STRIP"; then
56726476 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
56736477 else
56756479 for as_dir in $PATH
56766480 do
56776481 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
6482 case $as_dir in #(((
6483 '') as_dir=./ ;;
6484 */) ;;
6485 *) as_dir=$as_dir/ ;;
6486 esac
56796487 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
56816489 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
56836491 break 2
56846492 fi
56856493 done
56906498 fi
56916499 STRIP=$ac_cv_prog_STRIP
56926500 if test -n "$STRIP"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5694 $as_echo "$STRIP" >&6; }
5695 else
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6502 printf "%s\n" "$STRIP" >&6; }
6503 else
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 printf "%s\n" "no" >&6; }
56986506 fi
56996507
57006508
57036511 ac_ct_STRIP=$STRIP
57046512 # Extract the first word of "strip", so it can be a program name with args.
57056513 set dummy strip; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 printf %s "checking for $ac_word... " >&6; }
6516 if test ${ac_cv_prog_ac_ct_STRIP+y}
6517 then :
6518 printf %s "(cached) " >&6
6519 else $as_nop
57116520 if test -n "$ac_ct_STRIP"; then
57126521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
57136522 else
57156524 for as_dir in $PATH
57166525 do
57176526 IFS=$as_save_IFS
5718 test -z "$as_dir" && as_dir=.
6527 case $as_dir in #(((
6528 '') as_dir=./ ;;
6529 */) ;;
6530 *) as_dir=$as_dir/ ;;
6531 esac
57196532 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6533 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57216534 ac_cv_prog_ac_ct_STRIP="strip"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57236536 break 2
57246537 fi
57256538 done
57306543 fi
57316544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
57326545 if test -n "$ac_ct_STRIP"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5734 $as_echo "$ac_ct_STRIP" >&6; }
5735 else
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6547 printf "%s\n" "$ac_ct_STRIP" >&6; }
6548 else
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 printf "%s\n" "no" >&6; }
57386551 fi
57396552
57406553 if test "x$ac_ct_STRIP" = x; then
57426555 else
57436556 case $cross_compiling:$ac_tool_warned in
57446557 yes:)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6559 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
57476560 ac_tool_warned=yes ;;
57486561 esac
57496562 STRIP=$ac_ct_STRIP
57626575 if test -n "$ac_tool_prefix"; then
57636576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
57646577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_RANLIB+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 printf %s "checking for $ac_word... " >&6; }
6580 if test ${ac_cv_prog_RANLIB+y}
6581 then :
6582 printf %s "(cached) " >&6
6583 else $as_nop
57706584 if test -n "$RANLIB"; then
57716585 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
57726586 else
57746588 for as_dir in $PATH
57756589 do
57766590 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
6591 case $as_dir in #(((
6592 '') as_dir=./ ;;
6593 */) ;;
6594 *) as_dir=$as_dir/ ;;
6595 esac
57786596 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57806598 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57826600 break 2
57836601 fi
57846602 done
57896607 fi
57906608 RANLIB=$ac_cv_prog_RANLIB
57916609 if test -n "$RANLIB"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5793 $as_echo "$RANLIB" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6611 printf "%s\n" "$RANLIB" >&6; }
6612 else
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 printf "%s\n" "no" >&6; }
57976615 fi
57986616
57996617
58026620 ac_ct_RANLIB=$RANLIB
58036621 # Extract the first word of "ranlib", so it can be a program name with args.
58046622 set dummy ranlib; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s "checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6626 then :
6627 printf %s "(cached) " >&6
6628 else $as_nop
58106629 if test -n "$ac_ct_RANLIB"; then
58116630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
58126631 else
58146633 for as_dir in $PATH
58156634 do
58166635 IFS=$as_save_IFS
5817 test -z "$as_dir" && as_dir=.
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
58186641 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
58206643 ac_cv_prog_ac_ct_RANLIB="ranlib"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
58226645 break 2
58236646 fi
58246647 done
58296652 fi
58306653 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
58316654 if test -n "$ac_ct_RANLIB"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5833 $as_echo "$ac_ct_RANLIB" >&6; }
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6656 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6657 else
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
58376660 fi
58386661
58396662 if test "x$ac_ct_RANLIB" = x; then
58416664 else
58426665 case $cross_compiling:$ac_tool_warned in
58436666 yes:)
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6668 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
58466669 ac_tool_warned=yes ;;
58476670 esac
58486671 RANLIB=$ac_ct_RANLIB
59316754
59326755
59336756 # Check for command to grab the raw symbol name followed by C symbol from nm.
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5935 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5936 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6758 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6759 if test ${lt_cv_sys_global_symbol_pipe+y}
6760 then :
6761 printf %s "(cached) " >&6
6762 else $as_nop
59396763
59406764 # These are sane defaults that work on at least a few old systems.
59416765 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
59906814
59916815 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
59926816 # Gets list of data symbols to import.
5993 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6817 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
59946818 # Adjust the below global symbol transforms to fixup imported variables.
59956819 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
59966820 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
60086832 # Transform an extracted symbol line into a proper C declaration.
60096833 # Some systems (esp. on ia64) link data and code symbols differently,
60106834 # so use this general approach.
6011 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6835 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
60126836 $lt_cdecl_hook\
60136837 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
60146838 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
60156839
60166840 # Transform an extracted symbol line into symbol name and symbol address
6017 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6841 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
60186842 $lt_c_name_hook\
60196843 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
60206844 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
60216845
60226846 # Transform an extracted symbol line into symbol name with lib prefix and
60236847 # symbol address.
6024 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6848 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
60256849 $lt_c_name_lib_hook\
60266850 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
60276851 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
60456869 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
60466870 # Fake it for dumpbin and say T for any non-static function,
60476871 # D for any global variable and I for any imported variable.
6048 # Also find C++ and __fastcall symbols from MSVC++,
6872 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
60496873 # which start with @ or ?.
60506874 lt_cv_sys_global_symbol_pipe="$AWK '"\
60516875 " {last_section=section; section=\$ 3};"\
60636887 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
60646888 " ' prfx=^$ac_symprfx"
60656889 else
6066 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6890 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
60676891 fi
6068 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6892 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
60696893
60706894 # Check to see that the pipe works correctly.
60716895 pipe_works=no
60876911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
60886912 (eval $ac_compile) 2>&5
60896913 ac_status=$?
6090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60916915 test $ac_status = 0; }; then
60926916 # Now try to grab the symbols.
60936917 nlist=conftest.nm
60946918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
60956919 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
60966920 ac_status=$?
6097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
60986922 test $ac_status = 0; } && test -s "$nlist"; then
60996923 # Try sorting and uniquifying the output.
61006924 if sort "$nlist" | uniq > "$nlist"T; then
61636987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
61646988 (eval $ac_link) 2>&5
61656989 ac_status=$?
6166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
61676991 test $ac_status = 0; } && test -s conftest$ac_exeext; then
61686992 pipe_works=yes
61696993 fi
61987022 lt_cv_sys_global_symbol_to_cdecl=
61997023 fi
62007024 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6202 $as_echo "failed" >&6; }
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6205 $as_echo "ok" >&6; }
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7026 printf "%s\n" "failed" >&6; }
7027 else
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7029 printf "%s\n" "ok" >&6; }
62067030 fi
62077031
62087032 # Response file support.
62487072
62497073
62507074
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6252 $as_echo_n "checking for sysroot... " >&6; }
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7076 printf %s "checking for sysroot... " >&6; }
62537077
62547078 # Check whether --with-sysroot was given.
6255 if test "${with_sysroot+set}" = set; then :
7079 if test ${with_sysroot+y}
7080 then :
62567081 withval=$with_sysroot;
6257 else
7082 else $as_nop
62587083 with_sysroot=no
62597084 fi
62607085
62677092 fi
62687093 ;; #(
62697094 /*)
6270 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7095 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
62717096 ;; #(
62727097 no|'')
62737098 ;; #(
62747099 *)
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6276 $as_echo "$with_sysroot" >&6; }
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7101 printf "%s\n" "$with_sysroot" >&6; }
62777102 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
62787103 ;;
62797104 esac
62807105
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6282 $as_echo "${lt_sysroot:-no}" >&6; }
6283
6284
6285
6286
6287
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6289 $as_echo_n "checking for a working dd... " >&6; }
6290 if ${ac_cv_path_lt_DD+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7107 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7108
7109
7110
7111
7112
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7114 printf %s "checking for a working dd... " >&6; }
7115 if test ${ac_cv_path_lt_DD+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
62937119 printf 0123456789abcdef0123456789abcdef >conftest.i
62947120 cat conftest.i conftest.i >conftest2.i
62957121 : ${lt_DD:=$DD}
63007126 for as_dir in $PATH
63017127 do
63027128 IFS=$as_save_IFS
6303 test -z "$as_dir" && as_dir=.
6304 for ac_prog in dd; do
7129 case $as_dir in #(((
7130 '') as_dir=./ ;;
7131 */) ;;
7132 *) as_dir=$as_dir/ ;;
7133 esac
7134 for ac_prog in dd
7135 do
63057136 for ac_exec_ext in '' $ac_executable_extensions; do
6306 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7137 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
63077138 as_fn_executable_p "$ac_path_lt_DD" || continue
63087139 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
63097140 cmp -s conftest.i conftest.out \
63237154
63247155 rm -f conftest.i conftest2.i conftest.out
63257156 fi
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6327 $as_echo "$ac_cv_path_lt_DD" >&6; }
6328
6329
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6331 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6332 if ${lt_cv_truncate_bin+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7158 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7159
7160
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7162 printf %s "checking how to truncate binary pipes... " >&6; }
7163 if test ${lt_cv_truncate_bin+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else $as_nop
63357167 printf 0123456789abcdef0123456789abcdef >conftest.i
63367168 cat conftest.i conftest.i >conftest2.i
63377169 lt_cv_truncate_bin=
63427174 rm -f conftest.i conftest2.i conftest.out
63437175 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
63447176 fi
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6346 $as_echo "$lt_cv_truncate_bin" >&6; }
7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7178 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
63477179
63487180
63497181
63667198 }
63677199
63687200 # Check whether --enable-libtool-lock was given.
6369 if test "${enable_libtool_lock+set}" = set; then :
7201 if test ${enable_libtool_lock+y}
7202 then :
63707203 enableval=$enable_libtool_lock;
63717204 fi
63727205
63827215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
63837216 (eval $ac_compile) 2>&5
63847217 ac_status=$?
6385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63867219 test $ac_status = 0; }; then
6387 case `/usr/bin/file conftest.$ac_objext` in
7220 case `$FILECMD conftest.$ac_objext` in
63887221 *ELF-32*)
63897222 HPUX_IA64_MODE=32
63907223 ;;
64027235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
64037236 (eval $ac_compile) 2>&5
64047237 ac_status=$?
6405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64067239 test $ac_status = 0; }; then
64077240 if test yes = "$lt_cv_prog_gnu_ld"; then
6408 case `/usr/bin/file conftest.$ac_objext` in
7241 case `$FILECMD conftest.$ac_objext` in
64097242 *32-bit*)
64107243 LD="${LD-ld} -melf32bsmip"
64117244 ;;
64177250 ;;
64187251 esac
64197252 else
6420 case `/usr/bin/file conftest.$ac_objext` in
7253 case `$FILECMD conftest.$ac_objext` in
64217254 *32-bit*)
64227255 LD="${LD-ld} -32"
64237256 ;;
64407273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
64417274 (eval $ac_compile) 2>&5
64427275 ac_status=$?
6443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64447277 test $ac_status = 0; }; then
64457278 emul=elf
6446 case `/usr/bin/file conftest.$ac_objext` in
7279 case `$FILECMD conftest.$ac_objext` in
64477280 *32-bit*)
64487281 emul="${emul}32"
64497282 ;;
64517284 emul="${emul}64"
64527285 ;;
64537286 esac
6454 case `/usr/bin/file conftest.$ac_objext` in
7287 case `$FILECMD conftest.$ac_objext` in
64557288 *MSB*)
64567289 emul="${emul}btsmip"
64577290 ;;
64597292 emul="${emul}ltsmip"
64607293 ;;
64617294 esac
6462 case `/usr/bin/file conftest.$ac_objext` in
7295 case `$FILECMD conftest.$ac_objext` in
64637296 *N32*)
64647297 emul="${emul}n32"
64657298 ;;
64817314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
64827315 (eval $ac_compile) 2>&5
64837316 ac_status=$?
6484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64857318 test $ac_status = 0; }; then
6486 case `/usr/bin/file conftest.o` in
7319 case `$FILECMD conftest.o` in
64877320 *32-bit*)
64887321 case $host in
64897322 x86_64-*kfreebsd*-gnu)
64907323 LD="${LD-ld} -m elf_i386_fbsd"
64917324 ;;
64927325 x86_64-*linux*)
6493 case `/usr/bin/file conftest.o` in
7326 case `$FILECMD conftest.o` in
64947327 *x86-64*)
64957328 LD="${LD-ld} -m elf32_x86_64"
64967329 ;;
65447377 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
65457378 SAVE_CFLAGS=$CFLAGS
65467379 CFLAGS="$CFLAGS -belf"
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6548 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6549 if ${lt_cv_cc_needs_belf+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
7380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7381 printf %s "checking whether the C compiler needs -belf... " >&6; }
7382 if test ${lt_cv_cc_needs_belf+y}
7383 then :
7384 printf %s "(cached) " >&6
7385 else $as_nop
65527386 ac_ext=c
65537387 ac_cpp='$CPP $CPPFLAGS'
65547388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597393 /* end confdefs.h. */
65607394
65617395 int
6562 main ()
7396 main (void)
65637397 {
65647398
65657399 ;
65667400 return 0;
65677401 }
65687402 _ACEOF
6569 if ac_fn_c_try_link "$LINENO"; then :
7403 if ac_fn_c_try_link "$LINENO"
7404 then :
65707405 lt_cv_cc_needs_belf=yes
6571 else
7406 else $as_nop
65727407 lt_cv_cc_needs_belf=no
65737408 fi
6574 rm -f core conftest.err conftest.$ac_objext \
7409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
65757410 conftest$ac_exeext conftest.$ac_ext
65767411 ac_ext=c
65777412 ac_cpp='$CPP $CPPFLAGS'
65807415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65817416
65827417 fi
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6584 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7419 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
65857420 if test yes != "$lt_cv_cc_needs_belf"; then
65867421 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
65877422 CFLAGS=$SAVE_CFLAGS
65947429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
65957430 (eval $ac_compile) 2>&5
65967431 ac_status=$?
6597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
65987433 test $ac_status = 0; }; then
6599 case `/usr/bin/file conftest.o` in
7434 case `$FILECMD conftest.o` in
66007435 *64-bit*)
66017436 case $lt_cv_prog_gnu_ld in
66027437 yes*)
66317466 if test -n "$ac_tool_prefix"; then
66327467 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
66337468 set dummy ${ac_tool_prefix}mt; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6637 $as_echo_n "(cached) " >&6
6638 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 printf %s "checking for $ac_word... " >&6; }
7471 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7472 then :
7473 printf %s "(cached) " >&6
7474 else $as_nop
66397475 if test -n "$MANIFEST_TOOL"; then
66407476 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
66417477 else
66437479 for as_dir in $PATH
66447480 do
66457481 IFS=$as_save_IFS
6646 test -z "$as_dir" && as_dir=.
7482 case $as_dir in #(((
7483 '') as_dir=./ ;;
7484 */) ;;
7485 *) as_dir=$as_dir/ ;;
7486 esac
66477487 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
66497489 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
66517491 break 2
66527492 fi
66537493 done
66587498 fi
66597499 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
66607500 if test -n "$MANIFEST_TOOL"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6662 $as_echo "$MANIFEST_TOOL" >&6; }
6663 else
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7502 printf "%s\n" "$MANIFEST_TOOL" >&6; }
7503 else
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 printf "%s\n" "no" >&6; }
66667506 fi
66677507
66687508
66717511 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
66727512 # Extract the first word of "mt", so it can be a program name with args.
66737513 set dummy mt; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 printf %s "checking for $ac_word... " >&6; }
7516 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7517 then :
7518 printf %s "(cached) " >&6
7519 else $as_nop
66797520 if test -n "$ac_ct_MANIFEST_TOOL"; then
66807521 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
66817522 else
66837524 for as_dir in $PATH
66847525 do
66857526 IFS=$as_save_IFS
6686 test -z "$as_dir" && as_dir=.
7527 case $as_dir in #(((
7528 '') as_dir=./ ;;
7529 */) ;;
7530 *) as_dir=$as_dir/ ;;
7531 esac
66877532 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
66897534 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
66917536 break 2
66927537 fi
66937538 done
66987543 fi
66997544 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
67007545 if test -n "$ac_ct_MANIFEST_TOOL"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6702 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6703 else
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7547 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7548 else
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 printf "%s\n" "no" >&6; }
67067551 fi
67077552
67087553 if test "x$ac_ct_MANIFEST_TOOL" = x; then
67107555 else
67117556 case $cross_compiling:$ac_tool_warned in
67127557 yes:)
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7559 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67157560 ac_tool_warned=yes ;;
67167561 esac
67177562 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
67217566 fi
67227567
67237568 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6725 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6726 if ${lt_cv_path_mainfest_tool+:} false; then :
6727 $as_echo_n "(cached) " >&6
6728 else
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7570 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7571 if test ${lt_cv_path_mainfest_tool+y}
7572 then :
7573 printf %s "(cached) " >&6
7574 else $as_nop
67297575 lt_cv_path_mainfest_tool=no
67307576 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
67317577 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
67357581 fi
67367582 rm -f conftest*
67377583 fi
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6739 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7585 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
67407586 if test yes != "$lt_cv_path_mainfest_tool"; then
67417587 MANIFEST_TOOL=:
67427588 fi
67517597 if test -n "$ac_tool_prefix"; then
67527598 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
67537599 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758 else
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601 printf %s "checking for $ac_word... " >&6; }
7602 if test ${ac_cv_prog_DSYMUTIL+y}
7603 then :
7604 printf %s "(cached) " >&6
7605 else $as_nop
67597606 if test -n "$DSYMUTIL"; then
67607607 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
67617608 else
67637610 for as_dir in $PATH
67647611 do
67657612 IFS=$as_save_IFS
6766 test -z "$as_dir" && as_dir=.
7613 case $as_dir in #(((
7614 '') as_dir=./ ;;
7615 */) ;;
7616 *) as_dir=$as_dir/ ;;
7617 esac
67677618 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
67697620 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
67717622 break 2
67727623 fi
67737624 done
67787629 fi
67797630 DSYMUTIL=$ac_cv_prog_DSYMUTIL
67807631 if test -n "$DSYMUTIL"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6782 $as_echo "$DSYMUTIL" >&6; }
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7633 printf "%s\n" "$DSYMUTIL" >&6; }
7634 else
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 printf "%s\n" "no" >&6; }
67867637 fi
67877638
67887639
67917642 ac_ct_DSYMUTIL=$DSYMUTIL
67927643 # Extract the first word of "dsymutil", so it can be a program name with args.
67937644 set dummy dsymutil; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 printf %s "checking for $ac_word... " >&6; }
7647 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7648 then :
7649 printf %s "(cached) " >&6
7650 else $as_nop
67997651 if test -n "$ac_ct_DSYMUTIL"; then
68007652 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
68017653 else
68037655 for as_dir in $PATH
68047656 do
68057657 IFS=$as_save_IFS
6806 test -z "$as_dir" && as_dir=.
7658 case $as_dir in #(((
7659 '') as_dir=./ ;;
7660 */) ;;
7661 *) as_dir=$as_dir/ ;;
7662 esac
68077663 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
68097665 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
68117667 break 2
68127668 fi
68137669 done
68187674 fi
68197675 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
68207676 if test -n "$ac_ct_DSYMUTIL"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6822 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7678 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7679 else
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 printf "%s\n" "no" >&6; }
68267682 fi
68277683
68287684 if test "x$ac_ct_DSYMUTIL" = x; then
68307686 else
68317687 case $cross_compiling:$ac_tool_warned in
68327688 yes:)
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68357691 ac_tool_warned=yes ;;
68367692 esac
68377693 DSYMUTIL=$ac_ct_DSYMUTIL
68437699 if test -n "$ac_tool_prefix"; then
68447700 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
68457701 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if ${ac_cv_prog_NMEDIT+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7703 printf %s "checking for $ac_word... " >&6; }
7704 if test ${ac_cv_prog_NMEDIT+y}
7705 then :
7706 printf %s "(cached) " >&6
7707 else $as_nop
68517708 if test -n "$NMEDIT"; then
68527709 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
68537710 else
68557712 for as_dir in $PATH
68567713 do
68577714 IFS=$as_save_IFS
6858 test -z "$as_dir" && as_dir=.
7715 case $as_dir in #(((
7716 '') as_dir=./ ;;
7717 */) ;;
7718 *) as_dir=$as_dir/ ;;
7719 esac
68597720 for ac_exec_ext in '' $ac_executable_extensions; do
6860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
68617722 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
68637724 break 2
68647725 fi
68657726 done
68707731 fi
68717732 NMEDIT=$ac_cv_prog_NMEDIT
68727733 if test -n "$NMEDIT"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6874 $as_echo "$NMEDIT" >&6; }
6875 else
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7735 printf "%s\n" "$NMEDIT" >&6; }
7736 else
7737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 printf "%s\n" "no" >&6; }
68787739 fi
68797740
68807741
68837744 ac_ct_NMEDIT=$NMEDIT
68847745 # Extract the first word of "nmedit", so it can be a program name with args.
68857746 set dummy nmedit; ac_word=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6889 $as_echo_n "(cached) " >&6
6890 else
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748 printf %s "checking for $ac_word... " >&6; }
7749 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7750 then :
7751 printf %s "(cached) " >&6
7752 else $as_nop
68917753 if test -n "$ac_ct_NMEDIT"; then
68927754 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
68937755 else
68957757 for as_dir in $PATH
68967758 do
68977759 IFS=$as_save_IFS
6898 test -z "$as_dir" && as_dir=.
7760 case $as_dir in #(((
7761 '') as_dir=./ ;;
7762 */) ;;
7763 *) as_dir=$as_dir/ ;;
7764 esac
68997765 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69017767 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69037769 break 2
69047770 fi
69057771 done
69107776 fi
69117777 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
69127778 if test -n "$ac_ct_NMEDIT"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6914 $as_echo "$ac_ct_NMEDIT" >&6; }
6915 else
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7780 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7781 else
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783 printf "%s\n" "no" >&6; }
69187784 fi
69197785
69207786 if test "x$ac_ct_NMEDIT" = x; then
69227788 else
69237789 case $cross_compiling:$ac_tool_warned in
69247790 yes:)
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
69277793 ac_tool_warned=yes ;;
69287794 esac
69297795 NMEDIT=$ac_ct_NMEDIT
69357801 if test -n "$ac_tool_prefix"; then
69367802 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
69377803 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_prog_LIPO+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 printf %s "checking for $ac_word... " >&6; }
7806 if test ${ac_cv_prog_LIPO+y}
7807 then :
7808 printf %s "(cached) " >&6
7809 else $as_nop
69437810 if test -n "$LIPO"; then
69447811 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
69457812 else
69477814 for as_dir in $PATH
69487815 do
69497816 IFS=$as_save_IFS
6950 test -z "$as_dir" && as_dir=.
7817 case $as_dir in #(((
7818 '') as_dir=./ ;;
7819 */) ;;
7820 *) as_dir=$as_dir/ ;;
7821 esac
69517822 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69537824 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69557826 break 2
69567827 fi
69577828 done
69627833 fi
69637834 LIPO=$ac_cv_prog_LIPO
69647835 if test -n "$LIPO"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6966 $as_echo "$LIPO" >&6; }
6967 else
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7837 printf "%s\n" "$LIPO" >&6; }
7838 else
7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 printf "%s\n" "no" >&6; }
69707841 fi
69717842
69727843
69757846 ac_ct_LIPO=$LIPO
69767847 # Extract the first word of "lipo", so it can be a program name with args.
69777848 set dummy lipo; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6981 $as_echo_n "(cached) " >&6
6982 else
7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 printf %s "checking for $ac_word... " >&6; }
7851 if test ${ac_cv_prog_ac_ct_LIPO+y}
7852 then :
7853 printf %s "(cached) " >&6
7854 else $as_nop
69837855 if test -n "$ac_ct_LIPO"; then
69847856 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
69857857 else
69877859 for as_dir in $PATH
69887860 do
69897861 IFS=$as_save_IFS
6990 test -z "$as_dir" && as_dir=.
7862 case $as_dir in #(((
7863 '') as_dir=./ ;;
7864 */) ;;
7865 *) as_dir=$as_dir/ ;;
7866 esac
69917867 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
69937869 ac_cv_prog_ac_ct_LIPO="lipo"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
69957871 break 2
69967872 fi
69977873 done
70027878 fi
70037879 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
70047880 if test -n "$ac_ct_LIPO"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7006 $as_echo "$ac_ct_LIPO" >&6; }
7007 else
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7882 printf "%s\n" "$ac_ct_LIPO" >&6; }
7883 else
7884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 printf "%s\n" "no" >&6; }
70107886 fi
70117887
70127888 if test "x$ac_ct_LIPO" = x; then
70147890 else
70157891 case $cross_compiling:$ac_tool_warned in
70167892 yes:)
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
70197895 ac_tool_warned=yes ;;
70207896 esac
70217897 LIPO=$ac_ct_LIPO
70277903 if test -n "$ac_tool_prefix"; then
70287904 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
70297905 set dummy ${ac_tool_prefix}otool; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_OTOOL+:} false; then :
7033 $as_echo_n "(cached) " >&6
7034 else
7906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 printf %s "checking for $ac_word... " >&6; }
7908 if test ${ac_cv_prog_OTOOL+y}
7909 then :
7910 printf %s "(cached) " >&6
7911 else $as_nop
70357912 if test -n "$OTOOL"; then
70367913 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
70377914 else
70397916 for as_dir in $PATH
70407917 do
70417918 IFS=$as_save_IFS
7042 test -z "$as_dir" && as_dir=.
7919 case $as_dir in #(((
7920 '') as_dir=./ ;;
7921 */) ;;
7922 *) as_dir=$as_dir/ ;;
7923 esac
70437924 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70457926 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70477928 break 2
70487929 fi
70497930 done
70547935 fi
70557936 OTOOL=$ac_cv_prog_OTOOL
70567937 if test -n "$OTOOL"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7058 $as_echo "$OTOOL" >&6; }
7059 else
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7939 printf "%s\n" "$OTOOL" >&6; }
7940 else
7941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 printf "%s\n" "no" >&6; }
70627943 fi
70637944
70647945
70677948 ac_ct_OTOOL=$OTOOL
70687949 # Extract the first word of "otool", so it can be a program name with args.
70697950 set dummy otool; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 printf %s "checking for $ac_word... " >&6; }
7953 if test ${ac_cv_prog_ac_ct_OTOOL+y}
7954 then :
7955 printf %s "(cached) " >&6
7956 else $as_nop
70757957 if test -n "$ac_ct_OTOOL"; then
70767958 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
70777959 else
70797961 for as_dir in $PATH
70807962 do
70817963 IFS=$as_save_IFS
7082 test -z "$as_dir" && as_dir=.
7964 case $as_dir in #(((
7965 '') as_dir=./ ;;
7966 */) ;;
7967 *) as_dir=$as_dir/ ;;
7968 esac
70837969 for ac_exec_ext in '' $ac_executable_extensions; do
7084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
70857971 ac_cv_prog_ac_ct_OTOOL="otool"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
70877973 break 2
70887974 fi
70897975 done
70947980 fi
70957981 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
70967982 if test -n "$ac_ct_OTOOL"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7098 $as_echo "$ac_ct_OTOOL" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7984 printf "%s\n" "$ac_ct_OTOOL" >&6; }
7985 else
7986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 printf "%s\n" "no" >&6; }
71027988 fi
71037989
71047990 if test "x$ac_ct_OTOOL" = x; then
71067992 else
71077993 case $cross_compiling:$ac_tool_warned in
71087994 yes:)
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
71117997 ac_tool_warned=yes ;;
71127998 esac
71137999 OTOOL=$ac_ct_OTOOL
71198005 if test -n "$ac_tool_prefix"; then
71208006 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
71218007 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_OTOOL64+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
8008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8009 printf %s "checking for $ac_word... " >&6; }
8010 if test ${ac_cv_prog_OTOOL64+y}
8011 then :
8012 printf %s "(cached) " >&6
8013 else $as_nop
71278014 if test -n "$OTOOL64"; then
71288015 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
71298016 else
71318018 for as_dir in $PATH
71328019 do
71338020 IFS=$as_save_IFS
7134 test -z "$as_dir" && as_dir=.
8021 case $as_dir in #(((
8022 '') as_dir=./ ;;
8023 */) ;;
8024 *) as_dir=$as_dir/ ;;
8025 esac
71358026 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71378028 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71398030 break 2
71408031 fi
71418032 done
71468037 fi
71478038 OTOOL64=$ac_cv_prog_OTOOL64
71488039 if test -n "$OTOOL64"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7150 $as_echo "$OTOOL64" >&6; }
7151 else
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8041 printf "%s\n" "$OTOOL64" >&6; }
8042 else
8043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 printf "%s\n" "no" >&6; }
71548045 fi
71558046
71568047
71598050 ac_ct_OTOOL64=$OTOOL64
71608051 # Extract the first word of "otool64", so it can be a program name with args.
71618052 set dummy otool64; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7165 $as_echo_n "(cached) " >&6
7166 else
8053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 printf %s "checking for $ac_word... " >&6; }
8055 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8056 then :
8057 printf %s "(cached) " >&6
8058 else $as_nop
71678059 if test -n "$ac_ct_OTOOL64"; then
71688060 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
71698061 else
71718063 for as_dir in $PATH
71728064 do
71738065 IFS=$as_save_IFS
7174 test -z "$as_dir" && as_dir=.
8066 case $as_dir in #(((
8067 '') as_dir=./ ;;
8068 */) ;;
8069 *) as_dir=$as_dir/ ;;
8070 esac
71758071 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
71778073 ac_cv_prog_ac_ct_OTOOL64="otool64"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
71798075 break 2
71808076 fi
71818077 done
71868082 fi
71878083 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
71888084 if test -n "$ac_ct_OTOOL64"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7190 $as_echo "$ac_ct_OTOOL64" >&6; }
7191 else
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8086 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8087 else
8088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 printf "%s\n" "no" >&6; }
71948090 fi
71958091
71968092 if test "x$ac_ct_OTOOL64" = x; then
71988094 else
71998095 case $cross_compiling:$ac_tool_warned in
72008096 yes:)
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
72038099 ac_tool_warned=yes ;;
72048100 esac
72058101 OTOOL64=$ac_ct_OTOOL64
72348130
72358131
72368132
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7238 $as_echo_n "checking for -single_module linker flag... " >&6; }
7239 if ${lt_cv_apple_cc_single_mod+:} false; then :
7240 $as_echo_n "(cached) " >&6
7241 else
8133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8134 printf %s "checking for -single_module linker flag... " >&6; }
8135 if test ${lt_cv_apple_cc_single_mod+y}
8136 then :
8137 printf %s "(cached) " >&6
8138 else $as_nop
72428139 lt_cv_apple_cc_single_mod=no
72438140 if test -z "$LT_MULTI_MODULE"; then
72448141 # By default we will add the -single_module flag. You can override
72678164 rm -f conftest.*
72688165 fi
72698166 fi
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7271 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7272
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7274 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7275 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7276 $as_echo_n "(cached) " >&6
7277 else
8167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8168 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8169
8170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8171 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8172 if test ${lt_cv_ld_exported_symbols_list+y}
8173 then :
8174 printf %s "(cached) " >&6
8175 else $as_nop
72788176 lt_cv_ld_exported_symbols_list=no
72798177 save_LDFLAGS=$LDFLAGS
72808178 echo "_main" > conftest.sym
72838181 /* end confdefs.h. */
72848182
72858183 int
7286 main ()
8184 main (void)
72878185 {
72888186
72898187 ;
72908188 return 0;
72918189 }
72928190 _ACEOF
7293 if ac_fn_c_try_link "$LINENO"; then :
8191 if ac_fn_c_try_link "$LINENO"
8192 then :
72948193 lt_cv_ld_exported_symbols_list=yes
7295 else
8194 else $as_nop
72968195 lt_cv_ld_exported_symbols_list=no
72978196 fi
7298 rm -f core conftest.err conftest.$ac_objext \
8197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
72998198 conftest$ac_exeext conftest.$ac_ext
73008199 LDFLAGS=$save_LDFLAGS
73018200
73028201 fi
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7304 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7305
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7307 $as_echo_n "checking for -force_load linker flag... " >&6; }
7308 if ${lt_cv_ld_force_load+:} false; then :
7309 $as_echo_n "(cached) " >&6
7310 else
8202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8203 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8204
8205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8206 printf %s "checking for -force_load linker flag... " >&6; }
8207 if test ${lt_cv_ld_force_load+y}
8208 then :
8209 printf %s "(cached) " >&6
8210 else $as_nop
73118211 lt_cv_ld_force_load=no
73128212 cat > conftest.c << _LT_EOF
73138213 int forced_loaded() { return 2;}
73148214 _LT_EOF
73158215 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
73168216 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7317 echo "$AR cru libconftest.a conftest.o" >&5
7318 $AR cru libconftest.a conftest.o 2>&5
8217 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8218 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
73198219 echo "$RANLIB libconftest.a" >&5
73208220 $RANLIB libconftest.a 2>&5
73218221 cat > conftest.c << _LT_EOF
73358235 rm -rf conftest.dSYM
73368236
73378237 fi
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7339 $as_echo "$lt_cv_ld_force_load" >&6; }
8238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8239 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
73408240 case $host_os in
73418241 rhapsody* | darwin1.[012])
73428242 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
73438243 darwin1.*)
73448244 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7345 darwin*) # darwin 5.x on
7346 # if running on 10.5 or later, the deployment target defaults
7347 # to the OS version, if on x86, and 10.4, the deployment
7348 # target defaults to 10.4. Don't you love it?
7349 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7350 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7351 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7352 10.[012][,.]*)
7353 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7354 10.*)
7355 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8245 darwin*)
8246 case $MACOSX_DEPLOYMENT_TARGET,$host in
8247 10.[012],*|,*powerpc*-darwin[5-8]*)
8248 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8249 *)
8250 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
73568251 esac
73578252 ;;
73588253 esac
74078302 esac
74088303 }
74098304
7410 ac_ext=c
7411 ac_cpp='$CPP $CPPFLAGS'
7412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7416 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7417 # On Suns, sometimes $CPP names a directory.
7418 if test -n "$CPP" && test -d "$CPP"; then
7419 CPP=
7420 fi
7421 if test -z "$CPP"; then
7422 if ${ac_cv_prog_CPP+:} false; then :
7423 $as_echo_n "(cached) " >&6
7424 else
7425 # Double quotes because CPP needs to be expanded
7426 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7427 do
7428 ac_preproc_ok=false
7429 for ac_c_preproc_warn_flag in '' yes
8305 ac_header= ac_cache=
8306 for ac_item in $ac_header_c_list
74308307 do
7431 # Use a header file that comes with gcc, so configuring glibc
7432 # with a fresh cross-compiler works.
7433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7434 # <limits.h> exists even on freestanding compilers.
7435 # On the NeXT, cc -E runs the code through the compiler's parser,
7436 # not just through cpp. "Syntax error" is here to catch this case.
7437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7438 /* end confdefs.h. */
7439 #ifdef __STDC__
7440 # include <limits.h>
7441 #else
7442 # include <assert.h>
7443 #endif
7444 Syntax error
7445 _ACEOF
7446 if ac_fn_c_try_cpp "$LINENO"; then :
7447
7448 else
7449 # Broken: fails on valid input.
7450 continue
7451 fi
7452 rm -f conftest.err conftest.i conftest.$ac_ext
7453
7454 # OK, works on sane cases. Now check whether nonexistent headers
7455 # can be detected and how.
7456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7457 /* end confdefs.h. */
7458 #include <ac_nonexistent.h>
7459 _ACEOF
7460 if ac_fn_c_try_cpp "$LINENO"; then :
7461 # Broken: success on invalid input.
7462 continue
7463 else
7464 # Passes both tests.
7465 ac_preproc_ok=:
7466 break
7467 fi
7468 rm -f conftest.err conftest.i conftest.$ac_ext
7469
8308 if test $ac_cache; then
8309 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8310 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8311 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8312 fi
8313 ac_header= ac_cache=
8314 elif test $ac_header; then
8315 ac_cache=$ac_item
8316 else
8317 ac_header=$ac_item
8318 fi
74708319 done
7471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7472 rm -f conftest.i conftest.err conftest.$ac_ext
7473 if $ac_preproc_ok; then :
7474 break
7475 fi
7476
7477 done
7478 ac_cv_prog_CPP=$CPP
7479
7480 fi
7481 CPP=$ac_cv_prog_CPP
7482 else
7483 ac_cv_prog_CPP=$CPP
7484 fi
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7486 $as_echo "$CPP" >&6; }
7487 ac_preproc_ok=false
7488 for ac_c_preproc_warn_flag in '' yes
7489 do
7490 # Use a header file that comes with gcc, so configuring glibc
7491 # with a fresh cross-compiler works.
7492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7493 # <limits.h> exists even on freestanding compilers.
7494 # On the NeXT, cc -E runs the code through the compiler's parser,
7495 # not just through cpp. "Syntax error" is here to catch this case.
7496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497 /* end confdefs.h. */
7498 #ifdef __STDC__
7499 # include <limits.h>
7500 #else
7501 # include <assert.h>
7502 #endif
7503 Syntax error
7504 _ACEOF
7505 if ac_fn_c_try_cpp "$LINENO"; then :
7506
7507 else
7508 # Broken: fails on valid input.
7509 continue
7510 fi
7511 rm -f conftest.err conftest.i conftest.$ac_ext
7512
7513 # OK, works on sane cases. Now check whether nonexistent headers
7514 # can be detected and how.
7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516 /* end confdefs.h. */
7517 #include <ac_nonexistent.h>
7518 _ACEOF
7519 if ac_fn_c_try_cpp "$LINENO"; then :
7520 # Broken: success on invalid input.
7521 continue
7522 else
7523 # Passes both tests.
7524 ac_preproc_ok=:
7525 break
7526 fi
7527 rm -f conftest.err conftest.i conftest.$ac_ext
7528
7529 done
7530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7531 rm -f conftest.i conftest.err conftest.$ac_ext
7532 if $ac_preproc_ok; then :
7533
7534 else
7535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7537 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7538 See \`config.log' for more details" "$LINENO" 5; }
7539 fi
7540
7541 ac_ext=c
7542 ac_cpp='$CPP $CPPFLAGS'
7543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7546
7547
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7549 $as_echo_n "checking for ANSI C header files... " >&6; }
7550 if ${ac_cv_header_stdc+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7555 #include <stdlib.h>
7556 #include <stdarg.h>
7557 #include <string.h>
7558 #include <float.h>
7559
7560 int
7561 main ()
7562 {
7563
7564 ;
7565 return 0;
7566 }
7567 _ACEOF
7568 if ac_fn_c_try_compile "$LINENO"; then :
7569 ac_cv_header_stdc=yes
7570 else
7571 ac_cv_header_stdc=no
7572 fi
7573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574
7575 if test $ac_cv_header_stdc = yes; then
7576 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7579 #include <string.h>
7580
7581 _ACEOF
7582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7583 $EGREP "memchr" >/dev/null 2>&1; then :
7584
7585 else
7586 ac_cv_header_stdc=no
7587 fi
7588 rm -f conftest*
7589
7590 fi
7591
7592 if test $ac_cv_header_stdc = yes; then
7593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7596 #include <stdlib.h>
7597
7598 _ACEOF
7599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7600 $EGREP "free" >/dev/null 2>&1; then :
7601
7602 else
7603 ac_cv_header_stdc=no
7604 fi
7605 rm -f conftest*
7606
7607 fi
7608
7609 if test $ac_cv_header_stdc = yes; then
7610 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7611 if test "$cross_compiling" = yes; then :
7612 :
7613 else
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 #include <ctype.h>
7617 #include <stdlib.h>
7618 #if ((' ' & 0x0FF) == 0x020)
7619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7621 #else
7622 # define ISLOWER(c) \
7623 (('a' <= (c) && (c) <= 'i') \
7624 || ('j' <= (c) && (c) <= 'r') \
7625 || ('s' <= (c) && (c) <= 'z'))
7626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7627 #endif
7628
7629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7630 int
7631 main ()
7632 {
7633 int i;
7634 for (i = 0; i < 256; i++)
7635 if (XOR (islower (i), ISLOWER (i))
7636 || toupper (i) != TOUPPER (i))
7637 return 2;
7638 return 0;
7639 }
7640 _ACEOF
7641 if ac_fn_c_try_run "$LINENO"; then :
7642
7643 else
7644 ac_cv_header_stdc=no
7645 fi
7646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7647 conftest.$ac_objext conftest.beam conftest.$ac_ext
7648 fi
7649
7650 fi
7651 fi
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7653 $as_echo "$ac_cv_header_stdc" >&6; }
7654 if test $ac_cv_header_stdc = yes; then
7655
7656 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7657
7658 fi
7659
7660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7661 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7662 inttypes.h stdint.h unistd.h
7663 do :
7664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8320
8321
8322
8323
8324
8325
8326
8327
8328 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8329 then :
8330
8331 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8332
8333 fi
8334 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
76668335 "
7667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7670 _ACEOF
7671
7672 fi
7673
7674 done
7675
7676
7677 for ac_header in dlfcn.h
7678 do :
7679 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7680 "
7681 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7682 cat >>confdefs.h <<_ACEOF
7683 #define HAVE_DLFCN_H 1
7684 _ACEOF
7685
7686 fi
7687
7688 done
8336 if test "x$ac_cv_header_dlfcn_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8339
8340 fi
76898341
76908342
76918343
77028354
77038355
77048356 # Check whether --enable-shared was given.
7705 if test "${enable_shared+set}" = set; then :
8357 if test ${enable_shared+y}
8358 then :
77068359 enableval=$enable_shared; p=${PACKAGE-default}
77078360 case $enableval in
77088361 yes) enable_shared=yes ;;
77208373 IFS=$lt_save_ifs
77218374 ;;
77228375 esac
7723 else
8376 else $as_nop
77248377 enable_shared=yes
77258378 fi
77268379
77338386
77348387
77358388 # Check whether --enable-static was given.
7736 if test "${enable_static+set}" = set; then :
8389 if test ${enable_static+y}
8390 then :
77378391 enableval=$enable_static; p=${PACKAGE-default}
77388392 case $enableval in
77398393 yes) enable_static=yes ;;
77518405 IFS=$lt_save_ifs
77528406 ;;
77538407 esac
7754 else
8408 else $as_nop
77558409 enable_static=yes
77568410 fi
77578411
77658419
77668420
77678421 # Check whether --with-pic was given.
7768 if test "${with_pic+set}" = set; then :
8422 if test ${with_pic+y}
8423 then :
77698424 withval=$with_pic; lt_p=${PACKAGE-default}
77708425 case $withval in
77718426 yes|no) pic_mode=$withval ;;
77828437 IFS=$lt_save_ifs
77838438 ;;
77848439 esac
7785 else
8440 else $as_nop
77868441 pic_mode=default
77878442 fi
77888443
77948449
77958450
77968451 # Check whether --enable-fast-install was given.
7797 if test "${enable_fast_install+set}" = set; then :
8452 if test ${enable_fast_install+y}
8453 then :
77988454 enableval=$enable_fast_install; p=${PACKAGE-default}
77998455 case $enableval in
78008456 yes) enable_fast_install=yes ;;
78128468 IFS=$lt_save_ifs
78138469 ;;
78148470 esac
7815 else
8471 else $as_nop
78168472 enable_fast_install=yes
78178473 fi
78188474
78268482 shared_archive_member_spec=
78278483 case $host,$enable_shared in
78288484 power*-*-aix[5-9]*,yes)
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7830 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8486 printf %s "checking which variant of shared library versioning to provide... " >&6; }
78318487
78328488 # Check whether --with-aix-soname was given.
7833 if test "${with_aix_soname+set}" = set; then :
8489 if test ${with_aix_soname+y}
8490 then :
78348491 withval=$with_aix_soname; case $withval in
78358492 aix|svr4|both)
78368493 ;;
78398496 ;;
78408497 esac
78418498 lt_cv_with_aix_soname=$with_aix_soname
7842 else
7843 if ${lt_cv_with_aix_soname+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
8499 else $as_nop
8500 if test ${lt_cv_with_aix_soname+y}
8501 then :
8502 printf %s "(cached) " >&6
8503 else $as_nop
78468504 lt_cv_with_aix_soname=aix
78478505 fi
78488506
78498507 with_aix_soname=$lt_cv_with_aix_soname
78508508 fi
78518509
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7853 $as_echo "$with_aix_soname" >&6; }
8510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8511 printf "%s\n" "$with_aix_soname" >&6; }
78548512 if test aix != "$with_aix_soname"; then
78558513 # For the AIX way of multilib, we name the shared archive member
78568514 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
79328590 setopt NO_GLOB_SUBST
79338591 fi
79348592
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7936 $as_echo_n "checking for objdir... " >&6; }
7937 if ${lt_cv_objdir+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
8593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8594 printf %s "checking for objdir... " >&6; }
8595 if test ${lt_cv_objdir+y}
8596 then :
8597 printf %s "(cached) " >&6
8598 else $as_nop
79408599 rm -f .libs 2>/dev/null
79418600 mkdir .libs 2>/dev/null
79428601 if test -d .libs; then
79478606 fi
79488607 rmdir .libs 2>/dev/null
79498608 fi
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7951 $as_echo "$lt_cv_objdir" >&6; }
8609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8610 printf "%s\n" "$lt_cv_objdir" >&6; }
79528611 objdir=$lt_cv_objdir
79538612
79548613
79558614
79568615
79578616
7958 cat >>confdefs.h <<_ACEOF
7959 #define LT_OBJDIR "$lt_cv_objdir/"
7960 _ACEOF
8617 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
79618618
79628619
79638620
79788635 ofile=libtool
79798636 can_build_shared=yes
79808637
7981 # All known linkers require a '.a' archive for static linking (except MSVC,
7982 # which needs '.lib').
8638 # All known linkers require a '.a' archive for static linking (except MSVC and
8639 # ICC, which need '.lib').
79838640 libext=a
79848641
79858642 with_gnu_ld=$lt_cv_prog_gnu_ld
80038660 case $deplibs_check_method in
80048661 file_magic*)
80058662 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8007 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8008 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8664 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8665 if test ${lt_cv_path_MAGIC_CMD+y}
8666 then :
8667 printf %s "(cached) " >&6
8668 else $as_nop
80118669 case $MAGIC_CMD in
80128670 [\\/*] | ?:[\\/]*)
80138671 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
80568714
80578715 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
80588716 if test -n "$MAGIC_CMD"; then
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8060 $as_echo "$MAGIC_CMD" >&6; }
8061 else
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8063 $as_echo "no" >&6; }
8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8718 printf "%s\n" "$MAGIC_CMD" >&6; }
8719 else
8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 printf "%s\n" "no" >&6; }
80648722 fi
80658723
80668724
80698727
80708728 if test -z "$lt_cv_path_MAGIC_CMD"; then
80718729 if test -n "$ac_tool_prefix"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8073 $as_echo_n "checking for file... " >&6; }
8074 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8731 printf %s "checking for file... " >&6; }
8732 if test ${lt_cv_path_MAGIC_CMD+y}
8733 then :
8734 printf %s "(cached) " >&6
8735 else $as_nop
80778736 case $MAGIC_CMD in
80788737 [\\/*] | ?:[\\/]*)
80798738 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
81228781
81238782 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
81248783 if test -n "$MAGIC_CMD"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8126 $as_echo "$MAGIC_CMD" >&6; }
8127 else
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8785 printf "%s\n" "$MAGIC_CMD" >&6; }
8786 else
8787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 printf "%s\n" "no" >&6; }
81308789 fi
81318790
81328791
82118870 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
82128871 esac
82138872
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8215 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8216 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8874 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8875 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8876 then :
8877 printf %s "(cached) " >&6
8878 else $as_nop
82198879 lt_cv_prog_compiler_rtti_exceptions=no
82208880 ac_outfile=conftest.$ac_objext
82218881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
82468906 $RM conftest*
82478907
82488908 fi
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8250 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8910 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
82518911
82528912 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
82538913 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
84889148 lt_prog_compiler_static='-qstaticlink'
84899149 ;;
84909150 *)
8491 case `$CC -V 2>&1 | sed 5q` in
9151 case `$CC -V 2>&1 | $SED 5q` in
84929152 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
84939153 # Sun Fortran 8.3 passes all unrecognized flags to the linker
84949154 lt_prog_compiler_pic='-KPIC'
86049264 ;;
86059265 esac
86069266
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8608 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8609 if ${lt_cv_prog_compiler_pic+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9268 printf %s "checking for $compiler option to produce PIC... " >&6; }
9269 if test ${lt_cv_prog_compiler_pic+y}
9270 then :
9271 printf %s "(cached) " >&6
9272 else $as_nop
86129273 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
86139274 fi
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8615 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9276 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
86169277 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
86179278
86189279 #
86199280 # Check to make sure the PIC flag actually works.
86209281 #
86219282 if test -n "$lt_prog_compiler_pic"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8623 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8624 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9284 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9285 if test ${lt_cv_prog_compiler_pic_works+y}
9286 then :
9287 printf %s "(cached) " >&6
9288 else $as_nop
86279289 lt_cv_prog_compiler_pic_works=no
86289290 ac_outfile=conftest.$ac_objext
86299291 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
86549316 $RM conftest*
86559317
86569318 fi
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8658 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9320 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
86599321
86609322 if test yes = "$lt_cv_prog_compiler_pic_works"; then
86619323 case $lt_prog_compiler_pic in
86839345 # Check to make sure the static flag actually works.
86849346 #
86859347 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8687 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8688 if ${lt_cv_prog_compiler_static_works+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9349 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9350 if test ${lt_cv_prog_compiler_static_works+y}
9351 then :
9352 printf %s "(cached) " >&6
9353 else $as_nop
86919354 lt_cv_prog_compiler_static_works=no
86929355 save_LDFLAGS=$LDFLAGS
86939356 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
87119374 LDFLAGS=$save_LDFLAGS
87129375
87139376 fi
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8715 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9378 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
87169379
87179380 if test yes = "$lt_cv_prog_compiler_static_works"; then
87189381 :
87269389
87279390
87289391
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8731 if ${lt_cv_prog_compiler_c_o+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9393 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9394 if test ${lt_cv_prog_compiler_c_o+y}
9395 then :
9396 printf %s "(cached) " >&6
9397 else $as_nop
87349398 lt_cv_prog_compiler_c_o=no
87359399 $RM -r conftest 2>/dev/null
87369400 mkdir conftest
87739437 $RM conftest*
87749438
87759439 fi
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8777 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8778
8779
8780
8781
8782
8783
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8786 if ${lt_cv_prog_compiler_c_o+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9441 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9442
9443
9444
9445
9446
9447
9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9449 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9450 if test ${lt_cv_prog_compiler_c_o+y}
9451 then :
9452 printf %s "(cached) " >&6
9453 else $as_nop
87899454 lt_cv_prog_compiler_c_o=no
87909455 $RM -r conftest 2>/dev/null
87919456 mkdir conftest
88289493 $RM conftest*
88299494
88309495 fi
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8832 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9497 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
88339498
88349499
88359500
88379502 hard_links=nottested
88389503 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
88399504 # do not overwrite the value of need_locks provided by the user
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8841 $as_echo_n "checking if we can lock with hard links... " >&6; }
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9506 printf %s "checking if we can lock with hard links... " >&6; }
88429507 hard_links=yes
88439508 $RM conftest*
88449509 ln conftest.a conftest.b 2>/dev/null && hard_links=no
88459510 touch conftest.a
88469511 ln conftest.a conftest.b 2>&5 || hard_links=no
88479512 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8849 $as_echo "$hard_links" >&6; }
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9514 printf "%s\n" "$hard_links" >&6; }
88509515 if test no = "$hard_links"; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8852 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9517 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
88539518 need_locks=warn
88549519 fi
88559520 else
88619526
88629527
88639528
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8865 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9530 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
88669531
88679532 runpath_var=
88689533 allow_undefined_flag=
89069571
89079572 case $host_os in
89089573 cygwin* | mingw* | pw32* | cegcc*)
8909 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9574 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
89109575 # When not using gcc, we currently assume that we are using
8911 # Microsoft Visual C++.
9576 # Microsoft Visual C++ or Intel C++ Compiler.
89129577 if test yes != "$GCC"; then
89139578 with_gnu_ld=no
89149579 fi
89159580 ;;
89169581 interix*)
8917 # we just hope/assume this is gcc and not c89 (= MSVC++)
9582 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
89189583 with_gnu_ld=yes
89199584 ;;
89209585 openbsd* | bitrig*)
89669631 whole_archive_flag_spec=
89679632 fi
89689633 supports_anon_versioning=no
8969 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9634 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
89709635 *GNU\ gold*) supports_anon_versioning=yes ;;
89719636 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
89729637 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
90789743 emximp -o $lib $output_objdir/$libname.def'
90799744 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
90809745 enable_shared_with_static_runtimes=yes
9746 file_list_spec='@'
90819747 ;;
90829748
90839749 interix[3-9]*)
90929758 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
90939759 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
90949760 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9095 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'
9761 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'
90969762 ;;
90979763
90989764 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
91359801 compiler_needs_object=yes
91369802 ;;
91379803 esac
9138 case `$CC -V 2>&1 | sed 5q` in
9804 case `$CC -V 2>&1 | $SED 5q` in
91399805 *Sun\ C*) # Sun C 5.9
91409806 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'
91419807 compiler_needs_object=yes
91479813
91489814 if test yes = "$supports_anon_versioning"; then
91499815 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9150 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9816 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
91519817 echo "local: *; };" >> $output_objdir/$libname.ver~
91529818 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
91539819 fi
91639829 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
91649830 if test yes = "$supports_anon_versioning"; then
91659831 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9832 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
91679833 echo "local: *; };" >> $output_objdir/$libname.ver~
91689834 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
91699835 fi
92959961 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
92969962 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'
92979963 else
9298 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'
9964 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'
92999965 fi
93009966 aix_use_runtimelinking=no
93019967
941710083 if test set = "${lt_cv_aix_libpath+set}"; then
941810084 aix_libpath=$lt_cv_aix_libpath
941910085 else
9420 if ${lt_cv_aix_libpath_+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
10086 if test ${lt_cv_aix_libpath_+y}
10087 then :
10088 printf %s "(cached) " >&6
10089 else $as_nop
942310090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
942410091 /* end confdefs.h. */
942510092
942610093 int
9427 main ()
10094 main (void)
942810095 {
942910096
943010097 ;
943110098 return 0;
943210099 }
943310100 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
10101 if ac_fn_c_try_link "$LINENO"
10102 then :
943510103
943610104 lt_aix_libpath_sed='
943710105 /Import File Strings/,/^$/ {
944610114 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
944710115 fi
944810116 fi
9449 rm -f core conftest.err conftest.$ac_objext \
10117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
945010118 conftest$ac_exeext conftest.$ac_ext
945110119 if test -z "$lt_cv_aix_libpath_"; then
945210120 lt_cv_aix_libpath_=/usr/lib:/lib
947010138 if test set = "${lt_cv_aix_libpath+set}"; then
947110139 aix_libpath=$lt_cv_aix_libpath
947210140 else
9473 if ${lt_cv_aix_libpath_+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
10141 if test ${lt_cv_aix_libpath_+y}
10142 then :
10143 printf %s "(cached) " >&6
10144 else $as_nop
947610145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
947710146 /* end confdefs.h. */
947810147
947910148 int
9480 main ()
10149 main (void)
948110150 {
948210151
948310152 ;
948410153 return 0;
948510154 }
948610155 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
10156 if ac_fn_c_try_link "$LINENO"
10157 then :
948810158
948910159 lt_aix_libpath_sed='
949010160 /Import File Strings/,/^$/ {
949910169 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
950010170 fi
950110171 fi
9502 rm -f core conftest.err conftest.$ac_objext \
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
950310173 conftest$ac_exeext conftest.$ac_ext
950410174 if test -z "$lt_cv_aix_libpath_"; then
950510175 lt_cv_aix_libpath_=/usr/lib:/lib
956210232
956310233 cygwin* | mingw* | pw32* | cegcc*)
956410234 # When not using gcc, we currently assume that we are using
9565 # Microsoft Visual C++.
10235 # Microsoft Visual C++ or Intel C++ Compiler.
956610236 # hardcode_libdir_flag_spec is actually meaningless, as there is
956710237 # no search path for DLLs.
956810238 case $cc_basename in
9569 cl*)
9570 # Native MSVC
10239 cl* | icl*)
10240 # Native MSVC or ICC
957110241 hardcode_libdir_flag_spec=' '
957210242 allow_undefined_flag=unsupported
957310243 always_export_symbols=yes
960810278 fi'
960910279 ;;
961010280 *)
9611 # Assume MSVC wrapper
10281 # Assume MSVC and ICC wrapper
961210282 hardcode_libdir_flag_spec=' '
961310283 allow_undefined_flag=unsupported
961410284 # Tell ltmain to make .lib files, not .a files.
964910319 output_verbose_link_cmd=func_echo_all
965010320 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
965110321 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9652 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"
9653 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"
10322 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"
10323 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"
965410324
965510325 else
965610326 ld_shlibs=no
968410354 ;;
968510355
968610356 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9687 freebsd* | dragonfly*)
10357 freebsd* | dragonfly* | midnightbsd*)
968810358 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
968910359 hardcode_libdir_flag_spec='-R$libdir'
969010360 hardcode_direct=yes
975010420
975110421 # Older versions of the 11.00 compiler do not understand -b yet
975210422 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9754 $as_echo_n "checking if $CC understands -b... " >&6; }
9755 if ${lt_cv_prog_compiler__b+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
10423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10424 printf %s "checking if $CC understands -b... " >&6; }
10425 if test ${lt_cv_prog_compiler__b+y}
10426 then :
10427 printf %s "(cached) " >&6
10428 else $as_nop
975810429 lt_cv_prog_compiler__b=no
975910430 save_LDFLAGS=$LDFLAGS
976010431 LDFLAGS="$LDFLAGS -b"
977810449 LDFLAGS=$save_LDFLAGS
977910450
978010451 fi
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9782 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10453 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
978310454
978410455 if test yes = "$lt_cv_prog_compiler__b"; then
978510456 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
981910490 # work, assume that -exports_file does not work either and
982010491 # implicitly export all symbols.
982110492 # This should be the same for all languages, so no per-tag cache variable.
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9823 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9824 if ${lt_cv_irix_exported_symbol+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10494 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10495 if test ${lt_cv_irix_exported_symbol+y}
10496 then :
10497 printf %s "(cached) " >&6
10498 else $as_nop
982710499 save_LDFLAGS=$LDFLAGS
982810500 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
982910501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
983010502 /* end confdefs.h. */
983110503 int foo (void) { return 0; }
983210504 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
10505 if ac_fn_c_try_link "$LINENO"
10506 then :
983410507 lt_cv_irix_exported_symbol=yes
9835 else
10508 else $as_nop
983610509 lt_cv_irix_exported_symbol=no
983710510 fi
9838 rm -f core conftest.err conftest.$ac_objext \
10511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
983910512 conftest$ac_exeext conftest.$ac_ext
984010513 LDFLAGS=$save_LDFLAGS
984110514 fi
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9843 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10516 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
984410517 if test yes = "$lt_cv_irix_exported_symbol"; then
984510518 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'
984610519 fi
993210605 emximp -o $lib $output_objdir/$libname.def'
993310606 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
993410607 enable_shared_with_static_runtimes=yes
10608 file_list_spec='@'
993510609 ;;
993610610
993710611 osf3*)
1012010794 fi
1012110795 fi
1012210796
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10124 $as_echo "$ld_shlibs" >&6; }
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10798 printf "%s\n" "$ld_shlibs" >&6; }
1012510799 test no = "$ld_shlibs" && can_build_shared=no
1012610800
1012710801 with_gnu_ld=$with_gnu_ld
1015710831 # Test whether the compiler implicitly links with -lc since on some
1015810832 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1015910833 # to ld, don't add -lc before -lgcc.
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10161 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10162 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10835 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10836 if test ${lt_cv_archive_cmds_need_lc+y}
10837 then :
10838 printf %s "(cached) " >&6
10839 else $as_nop
1016510840 $RM conftest*
1016610841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1016710842
1016810843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1016910844 (eval $ac_compile) 2>&5
1017010845 ac_status=$?
10171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1017210847 test $ac_status = 0; } 2>conftest.err; then
1017310848 soname=conftest
1017410849 lib=conftest
1018610861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1018710862 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1018810863 ac_status=$?
10189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1019010865 test $ac_status = 0; }
1019110866 then
1019210867 lt_cv_archive_cmds_need_lc=no
1020010875 $RM conftest*
1020110876
1020210877 fi
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10204 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10879 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1020510880 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1020610881 ;;
1020710882 esac
1036011035
1036111036
1036211037
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11039 printf %s "checking dynamic linker characteristics... " >&6; }
1036511040
1036611041 if test yes = "$GCC"; then
1036711042 case $host_os in
1062311298 case $host_os in
1062411299 cygwin*)
1062511300 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10626 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11301 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1062711302
1062811303 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1062911304 ;;
1063311308 ;;
1063411309 pw32*)
1063511310 # pw32 DLLs use 'pw' prefix rather than 'lib'
10636 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11311 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1063711312 ;;
1063811313 esac
1063911314 dynamic_linker='Win32 ld.exe'
1064011315 ;;
1064111316
10642 *,cl*)
10643 # Native MSVC
11317 *,cl* | *,icl*)
11318 # Native MSVC or ICC
1064411319 libname_spec='$name'
1064511320 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1064611321 library_names_spec='$libname.dll.lib'
1065911334 done
1066011335 IFS=$lt_save_ifs
1066111336 # Convert to MSYS style.
10662 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11337 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1066311338 ;;
1066411339 cygwin*)
1066511340 # Convert to unix form, then to dos form, then back to unix form
1069611371 ;;
1069711372
1069811373 *)
10699 # Assume MSVC wrapper
11374 # Assume MSVC and ICC wrapper
1070011375 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1070111376 dynamic_linker='Win32 ld.exe'
1070211377 ;;
1072911404 shlibpath_var=LD_LIBRARY_PATH
1073011405 ;;
1073111406
10732 freebsd* | dragonfly*)
11407 freebsd* | dragonfly* | midnightbsd*)
1073311408 # DragonFly does not have aout. When/if they implement a new
1073411409 # versioning mechanism, adjust this.
1073511410 if test -x /usr/bin/objformat; then
1092211597 shlibpath_overrides_runpath=no
1092311598
1092411599 # Some binutils ld are patched to set DT_RUNPATH
10925 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10926 $as_echo_n "(cached) " >&6
10927 else
11600 if test ${lt_cv_shlibpath_overrides_runpath+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
1092811604 lt_cv_shlibpath_overrides_runpath=no
1092911605 save_LDFLAGS=$LDFLAGS
1093011606 save_libdir=$libdir
1093411610 /* end confdefs.h. */
1093511611
1093611612 int
10937 main ()
11613 main (void)
1093811614 {
1093911615
1094011616 ;
1094111617 return 0;
1094211618 }
1094311619 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"; then :
10945 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11620 if ac_fn_c_try_link "$LINENO"
11621 then :
11622 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11623 then :
1094611624 lt_cv_shlibpath_overrides_runpath=yes
1094711625 fi
1094811626 fi
10949 rm -f core conftest.err conftest.$ac_objext \
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1095011628 conftest$ac_exeext conftest.$ac_ext
1095111629 LDFLAGS=$save_LDFLAGS
1095211630 libdir=$save_libdir
1117811856 dynamic_linker=no
1117911857 ;;
1118011858 esac
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11182 $as_echo "$dynamic_linker" >&6; }
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11860 printf "%s\n" "$dynamic_linker" >&6; }
1118311861 test no = "$dynamic_linker" && can_build_shared=no
1118411862
1118511863 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1130011978
1130111979
1130211980
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11304 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11982 printf %s "checking how to hardcode library paths into programs... " >&6; }
1130511983 hardcode_action=
1130611984 if test -n "$hardcode_libdir_flag_spec" ||
1130711985 test -n "$runpath_var" ||
1132512003 # directories.
1132612004 hardcode_action=unsupported
1132712005 fi
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11329 $as_echo "$hardcode_action" >&6; }
12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12007 printf "%s\n" "$hardcode_action" >&6; }
1133012008
1133112009 if test relink = "$hardcode_action" ||
1133212010 test yes = "$inherit_rpath"; then
1137012048
1137112049 darwin*)
1137212050 # if libdl is installed we need to link against it
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11374 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11375 if ${ac_cv_lib_dl_dlopen+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12052 printf %s "checking for dlopen in -ldl... " >&6; }
12053 if test ${ac_cv_lib_dl_dlopen+y}
12054 then :
12055 printf %s "(cached) " >&6
12056 else $as_nop
1137812057 ac_check_lib_save_LIBS=$LIBS
1137912058 LIBS="-ldl $LIBS"
1138012059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1138312062 /* Override any GCC internal prototype to avoid an error.
1138412063 Use char because int might match the return type of a GCC
1138512064 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
1138912065 char dlopen ();
1139012066 int
11391 main ()
12067 main (void)
1139212068 {
1139312069 return dlopen ();
1139412070 ;
1139512071 return 0;
1139612072 }
1139712073 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
12074 if ac_fn_c_try_link "$LINENO"
12075 then :
1139912076 ac_cv_lib_dl_dlopen=yes
11400 else
12077 else $as_nop
1140112078 ac_cv_lib_dl_dlopen=no
1140212079 fi
11403 rm -f core conftest.err conftest.$ac_objext \
12080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1140412081 conftest$ac_exeext conftest.$ac_ext
1140512082 LIBS=$ac_check_lib_save_LIBS
1140612083 fi
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11408 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11409 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12085 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12086 if test "x$ac_cv_lib_dl_dlopen" = xyes
12087 then :
1141012088 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11411 else
12089 else $as_nop
1141212090
1141312091 lt_cv_dlopen=dyld
1141412092 lt_cv_dlopen_libs=
1142812106
1142912107 *)
1143012108 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11431 if test "x$ac_cv_func_shl_load" = xyes; then :
12109 if test "x$ac_cv_func_shl_load" = xyes
12110 then :
1143212111 lt_cv_dlopen=shl_load
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11435 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11436 if ${ac_cv_lib_dld_shl_load+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
12112 else $as_nop
12113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12114 printf %s "checking for shl_load in -ldld... " >&6; }
12115 if test ${ac_cv_lib_dld_shl_load+y}
12116 then :
12117 printf %s "(cached) " >&6
12118 else $as_nop
1143912119 ac_check_lib_save_LIBS=$LIBS
1144012120 LIBS="-ldld $LIBS"
1144112121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1144412124 /* Override any GCC internal prototype to avoid an error.
1144512125 Use char because int might match the return type of a GCC
1144612126 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
1145012127 char shl_load ();
1145112128 int
11452 main ()
12129 main (void)
1145312130 {
1145412131 return shl_load ();
1145512132 ;
1145612133 return 0;
1145712134 }
1145812135 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
12136 if ac_fn_c_try_link "$LINENO"
12137 then :
1146012138 ac_cv_lib_dld_shl_load=yes
11461 else
12139 else $as_nop
1146212140 ac_cv_lib_dld_shl_load=no
1146312141 fi
11464 rm -f core conftest.err conftest.$ac_objext \
12142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1146512143 conftest$ac_exeext conftest.$ac_ext
1146612144 LIBS=$ac_check_lib_save_LIBS
1146712145 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11469 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11470 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12147 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12148 if test "x$ac_cv_lib_dld_shl_load" = xyes
12149 then :
1147112150 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11472 else
12151 else $as_nop
1147312152 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11474 if test "x$ac_cv_func_dlopen" = xyes; then :
12153 if test "x$ac_cv_func_dlopen" = xyes
12154 then :
1147512155 lt_cv_dlopen=dlopen
11476 else
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11478 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11479 if ${ac_cv_lib_dl_dlopen+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
12156 else $as_nop
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12158 printf %s "checking for dlopen in -ldl... " >&6; }
12159 if test ${ac_cv_lib_dl_dlopen+y}
12160 then :
12161 printf %s "(cached) " >&6
12162 else $as_nop
1148212163 ac_check_lib_save_LIBS=$LIBS
1148312164 LIBS="-ldl $LIBS"
1148412165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1148712168 /* Override any GCC internal prototype to avoid an error.
1148812169 Use char because int might match the return type of a GCC
1148912170 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
1149312171 char dlopen ();
1149412172 int
11495 main ()
12173 main (void)
1149612174 {
1149712175 return dlopen ();
1149812176 ;
1149912177 return 0;
1150012178 }
1150112179 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
12180 if ac_fn_c_try_link "$LINENO"
12181 then :
1150312182 ac_cv_lib_dl_dlopen=yes
11504 else
12183 else $as_nop
1150512184 ac_cv_lib_dl_dlopen=no
1150612185 fi
11507 rm -f core conftest.err conftest.$ac_objext \
12186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1150812187 conftest$ac_exeext conftest.$ac_ext
1150912188 LIBS=$ac_check_lib_save_LIBS
1151012189 fi
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12191 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12192 if test "x$ac_cv_lib_dl_dlopen" = xyes
12193 then :
1151412194 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11517 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11518 if ${ac_cv_lib_svld_dlopen+:} false; then :
11519 $as_echo_n "(cached) " >&6
11520 else
12195 else $as_nop
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12197 printf %s "checking for dlopen in -lsvld... " >&6; }
12198 if test ${ac_cv_lib_svld_dlopen+y}
12199 then :
12200 printf %s "(cached) " >&6
12201 else $as_nop
1152112202 ac_check_lib_save_LIBS=$LIBS
1152212203 LIBS="-lsvld $LIBS"
1152312204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1152612207 /* Override any GCC internal prototype to avoid an error.
1152712208 Use char because int might match the return type of a GCC
1152812209 builtin and then its argument prototype would still apply. */
11529 #ifdef __cplusplus
11530 extern "C"
11531 #endif
1153212210 char dlopen ();
1153312211 int
11534 main ()
12212 main (void)
1153512213 {
1153612214 return dlopen ();
1153712215 ;
1153812216 return 0;
1153912217 }
1154012218 _ACEOF
11541 if ac_fn_c_try_link "$LINENO"; then :
12219 if ac_fn_c_try_link "$LINENO"
12220 then :
1154212221 ac_cv_lib_svld_dlopen=yes
11543 else
12222 else $as_nop
1154412223 ac_cv_lib_svld_dlopen=no
1154512224 fi
11546 rm -f core conftest.err conftest.$ac_objext \
12225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1154712226 conftest$ac_exeext conftest.$ac_ext
1154812227 LIBS=$ac_check_lib_save_LIBS
1154912228 fi
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11551 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11552 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12230 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12231 if test "x$ac_cv_lib_svld_dlopen" = xyes
12232 then :
1155312233 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11556 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11557 if ${ac_cv_lib_dld_dld_link+:} false; then :
11558 $as_echo_n "(cached) " >&6
11559 else
12234 else $as_nop
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12236 printf %s "checking for dld_link in -ldld... " >&6; }
12237 if test ${ac_cv_lib_dld_dld_link+y}
12238 then :
12239 printf %s "(cached) " >&6
12240 else $as_nop
1156012241 ac_check_lib_save_LIBS=$LIBS
1156112242 LIBS="-ldld $LIBS"
1156212243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1156512246 /* Override any GCC internal prototype to avoid an error.
1156612247 Use char because int might match the return type of a GCC
1156712248 builtin and then its argument prototype would still apply. */
11568 #ifdef __cplusplus
11569 extern "C"
11570 #endif
1157112249 char dld_link ();
1157212250 int
11573 main ()
12251 main (void)
1157412252 {
1157512253 return dld_link ();
1157612254 ;
1157712255 return 0;
1157812256 }
1157912257 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"; then :
12258 if ac_fn_c_try_link "$LINENO"
12259 then :
1158112260 ac_cv_lib_dld_dld_link=yes
11582 else
12261 else $as_nop
1158312262 ac_cv_lib_dld_dld_link=no
1158412263 fi
11585 rm -f core conftest.err conftest.$ac_objext \
12264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1158612265 conftest$ac_exeext conftest.$ac_ext
1158712266 LIBS=$ac_check_lib_save_LIBS
1158812267 fi
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11590 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11591 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12269 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12270 if test "x$ac_cv_lib_dld_dld_link" = xyes
12271 then :
1159212272 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1159312273 fi
1159412274
1162712307 save_LIBS=$LIBS
1162812308 LIBS="$lt_cv_dlopen_libs $LIBS"
1162912309
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11631 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11632 if ${lt_cv_dlopen_self+:} false; then :
11633 $as_echo_n "(cached) " >&6
11634 else
12310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12311 printf %s "checking whether a program can dlopen itself... " >&6; }
12312 if test ${lt_cv_dlopen_self+y}
12313 then :
12314 printf %s "(cached) " >&6
12315 else $as_nop
1163512316 if test yes = "$cross_compiling"; then :
1163612317 lt_cv_dlopen_self=cross
1163712318 else
1171012391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1171112392 (eval $ac_link) 2>&5
1171212393 ac_status=$?
11713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1171412395 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1171512396 (./conftest; exit; ) >&5 2>/dev/null
1171612397 lt_status=$?
1172812409
1172912410
1173012411 fi
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11732 $as_echo "$lt_cv_dlopen_self" >&6; }
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12413 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1173312414
1173412415 if test yes = "$lt_cv_dlopen_self"; then
1173512416 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11737 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11738 if ${lt_cv_dlopen_self_static+:} false; then :
11739 $as_echo_n "(cached) " >&6
11740 else
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12418 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12419 if test ${lt_cv_dlopen_self_static+y}
12420 then :
12421 printf %s "(cached) " >&6
12422 else $as_nop
1174112423 if test yes = "$cross_compiling"; then :
1174212424 lt_cv_dlopen_self_static=cross
1174312425 else
1181612498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1181712499 (eval $ac_link) 2>&5
1181812500 ac_status=$?
11819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1182012502 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1182112503 (./conftest; exit; ) >&5 2>/dev/null
1182212504 lt_status=$?
1183412516
1183512517
1183612518 fi
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11838 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12520 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1183912521 fi
1184012522
1184112523 CPPFLAGS=$save_CPPFLAGS
1187312555
1187412556 striplib=
1187512557 old_striplib=
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11877 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11878 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11879 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11880 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11882 $as_echo "yes" >&6; }
11883 else
11884 # FIXME - insert some real tests, host_os isn't really good enough
11885 case $host_os in
11886 darwin*)
11887 if test -n "$STRIP"; then
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12559 printf %s "checking whether stripping libraries is possible... " >&6; }
12560 if test -z "$STRIP"; then
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562 printf "%s\n" "no" >&6; }
12563 else
12564 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12565 old_striplib="$STRIP --strip-debug"
12566 striplib="$STRIP --strip-unneeded"
12567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12568 printf "%s\n" "yes" >&6; }
12569 else
12570 case $host_os in
12571 darwin*)
12572 # FIXME - insert some real tests, host_os isn't really good enough
1188812573 striplib="$STRIP -x"
1188912574 old_striplib="$STRIP -S"
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11891 $as_echo "yes" >&6; }
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11894 $as_echo "no" >&6; }
11895 fi
11896 ;;
11897 *)
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11899 $as_echo "no" >&6; }
11900 ;;
11901 esac
12575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12576 printf "%s\n" "yes" >&6; }
12577 ;;
12578 freebsd*)
12579 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12580 old_striplib="$STRIP --strip-debug"
12581 striplib="$STRIP --strip-unneeded"
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12583 printf "%s\n" "yes" >&6; }
12584 else
12585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12586 printf "%s\n" "no" >&6; }
12587 fi
12588 ;;
12589 *)
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12591 printf "%s\n" "no" >&6; }
12592 ;;
12593 esac
12594 fi
1190212595 fi
1190312596
1190412597
1191312606
1191412607
1191512608 # Report what library types will actually be built
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11917 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11919 $as_echo "$can_build_shared" >&6; }
11920
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11922 $as_echo_n "checking whether to build shared libraries... " >&6; }
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12610 printf %s "checking if libtool supports shared libraries... " >&6; }
12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12612 printf "%s\n" "$can_build_shared" >&6; }
12613
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12615 printf %s "checking whether to build shared libraries... " >&6; }
1192312616 test no = "$can_build_shared" && enable_shared=no
1192412617
1192512618 # On AIX, shared libraries and static libraries use the same namespace, and
1194312636 fi
1194412637 ;;
1194512638 esac
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11947 $as_echo "$enable_shared" >&6; }
11948
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11950 $as_echo_n "checking whether to build static libraries... " >&6; }
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12640 printf "%s\n" "$enable_shared" >&6; }
12641
12642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12643 printf %s "checking whether to build static libraries... " >&6; }
1195112644 # Make sure either enable_shared or enable_static is yes.
1195212645 test yes = "$enable_shared" || enable_static=yes
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11954 $as_echo "$enable_static" >&6; }
12646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12647 printf "%s\n" "$enable_static" >&6; }
1195512648
1195612649
1195712650
1199112684
1199212685
1199312686 # Check whether --with-pkgconfigdir was given.
11994 if test "${with_pkgconfigdir+set}" = set; then :
12687 if test ${with_pkgconfigdir+y}
12688 then :
1199512689 withval=$with_pkgconfigdir;
11996 else
12690 else $as_nop
1199712691 with_pkgconfigdir='${libdir}/pkgconfig'
1199812692 fi
1199912693
1200912703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1201012704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1201112705
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
12013 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
12014 if ${ac_cv_cflags_warn_all+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
12707 printf %s "checking CFLAGS for maximum warnings... " >&6; }
12708 if test ${ac_cv_cflags_warn_all+y}
12709 then :
12710 printf %s "(cached) " >&6
12711 else $as_nop
1201712712 ac_cv_cflags_warn_all="no, unknown"
1201812713 ac_save_CFLAGS="$CFLAGS"
1201912714 for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
1202212717 /* end confdefs.h. */
1202312718
1202412719 int
12025 main ()
12720 main (void)
1202612721 {
1202712722
1202812723 ;
1202912724 return 0;
1203012725 }
1203112726 _ACEOF
12032 if ac_fn_c_try_compile "$LINENO"; then :
12727 if ac_fn_c_try_compile "$LINENO"
12728 then :
1203312729 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
1203412730 fi
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1203612732 done
1203712733 CFLAGS="$ac_save_CFLAGS"
1203812734
1203912735 fi
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12041 $as_echo "$ac_cv_cflags_warn_all" >&6; }
12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12737 printf "%s\n" "$ac_cv_cflags_warn_all" >&6; }
1204212738
1204312739
1204412740 case ".$ac_cv_cflags_warn_all" in
1204512741 .ok|.ok,*) ;;
1204612742 .|.no|.no,*) ;;
1204712743 *)
12048 if ${CFLAGS+:} false; then :
12744 if test ${CFLAGS+y}
12745 then :
1204912746
1205012747 case " $CFLAGS " in #(
1205112748 *" $ac_cv_cflags_warn_all "*) :
12052 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
12749 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
1205312750 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
1205412751 ac_status=$?
12055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1205612753 test $ac_status = 0; } ;; #(
1205712754 *) :
1205812755
1205912756 as_fn_append CFLAGS " $ac_cv_cflags_warn_all"
12060 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12757 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1206112758 (: CFLAGS="$CFLAGS") 2>&5
1206212759 ac_status=$?
12063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1206412761 test $ac_status = 0; }
1206512762 ;;
1206612763 esac
1206712764
12068 else
12765 else $as_nop
1206912766
1207012767 CFLAGS=$ac_cv_cflags_warn_all
12071 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12768 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1207212769 (: CFLAGS="$CFLAGS") 2>&5
1207312770 ac_status=$?
12074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1207512772 test $ac_status = 0; }
1207612773
1207712774 fi
1209012787
1209112788
1209212789 for flag in -Wwrite-strings; do
12093 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12095 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12096 if eval \${$as_CACHEVAR+:} false; then :
12097 $as_echo_n "(cached) " >&6
12098 else
12790 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12792 printf %s "checking whether C compiler accepts $flag... " >&6; }
12793 if eval test \${$as_CACHEVAR+y}
12794 then :
12795 printf %s "(cached) " >&6
12796 else $as_nop
1209912797
1210012798 ax_check_save_flags=$CFLAGS
1210112799 CFLAGS="$CFLAGS $flag"
1210312801 /* end confdefs.h. */
1210412802
1210512803 int
12106 main ()
12804 main (void)
1210712805 {
1210812806
1210912807 ;
1211012808 return 0;
1211112809 }
1211212810 _ACEOF
12113 if ac_fn_c_try_compile "$LINENO"; then :
12811 if ac_fn_c_try_compile "$LINENO"
12812 then :
1211412813 eval "$as_CACHEVAR=yes"
12115 else
12814 else $as_nop
1211612815 eval "$as_CACHEVAR=no"
1211712816 fi
12118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1211912818 CFLAGS=$ax_check_save_flags
1212012819 fi
1212112820 eval ac_res=\$$as_CACHEVAR
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12123 $as_echo "$ac_res" >&6; }
12124 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12125
12126 if ${CFLAGS+:} false; then :
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12822 printf "%s\n" "$ac_res" >&6; }
12823 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
12824 then :
12825
12826 if test ${CFLAGS+y}
12827 then :
1212712828
1212812829 case " $CFLAGS " in #(
1212912830 *" $flag "*) :
12130 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
12831 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
1213112832 (: CFLAGS already contains $flag) 2>&5
1213212833 ac_status=$?
12133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1213412835 test $ac_status = 0; } ;; #(
1213512836 *) :
1213612837
1213712838 as_fn_append CFLAGS " $flag"
12138 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12839 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1213912840 (: CFLAGS="$CFLAGS") 2>&5
1214012841 ac_status=$?
12141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1214212843 test $ac_status = 0; }
1214312844 ;;
1214412845 esac
1214512846
12146 else
12847 else $as_nop
1214712848
1214812849 CFLAGS=$flag
12149 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12850 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
1215012851 (: CFLAGS="$CFLAGS") 2>&5
1215112852 ac_status=$?
12152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1215312854 test $ac_status = 0; }
1215412855
1215512856 fi
1215612857
12157 else
12858 else $as_nop
1215812859 :
1215912860 fi
1216012861
1216412865 # SIMD is optional
1216512866
1216612867 # Check whether --with-simd was given.
12167 if test "${with_simd+set}" = set; then :
12868 if test ${with_simd+y}
12869 then :
1216812870 withval=$with_simd;
1216912871 fi
1217012872
1217112873 if test "x${with_simd}" != "xno"; then
1217212874 # Check if we're on a supported CPU
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have SIMD optimisations for cpu type" >&5
12174 $as_echo_n "checking if we have SIMD optimisations for cpu type... " >&6; }
12875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have SIMD optimisations for cpu type" >&5
12876 printf %s "checking if we have SIMD optimisations for cpu type... " >&6; }
1217512877 case "$host_cpu" in
1217612878 x86_64 | amd64)
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (x86_64)" >&5
12178 $as_echo "yes (x86_64)" >&6; }
12879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (x86_64)" >&5
12880 printf "%s\n" "yes (x86_64)" >&6; }
1217912881
1218012882
1218112883 for ac_prog in nasm nasmw yasm
1218212884 do
1218312885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1218412886 set dummy $ac_prog; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12186 $as_echo_n "checking for $ac_word... " >&6; }
12187 if ${ac_cv_prog_NASM+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888 printf %s "checking for $ac_word... " >&6; }
12889 if test ${ac_cv_prog_NASM+y}
12890 then :
12891 printf %s "(cached) " >&6
12892 else $as_nop
1219012893 if test -n "$NASM"; then
1219112894 ac_cv_prog_NASM="$NASM" # Let the user override the test.
1219212895 else
1219412897 for as_dir in $PATH
1219512898 do
1219612899 IFS=$as_save_IFS
12197 test -z "$as_dir" && as_dir=.
12900 case $as_dir in #(((
12901 '') as_dir=./ ;;
12902 */) ;;
12903 *) as_dir=$as_dir/ ;;
12904 esac
1219812905 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1220012907 ac_cv_prog_NASM="$ac_prog"
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1220212909 break 2
1220312910 fi
1220412911 done
1220912916 fi
1221012917 NASM=$ac_cv_prog_NASM
1221112918 if test -n "$NASM"; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NASM" >&5
12213 $as_echo "$NASM" >&6; }
12214 else
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12216 $as_echo "no" >&6; }
12919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NASM" >&5
12920 printf "%s\n" "$NASM" >&6; }
12921 else
12922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12923 printf "%s\n" "no" >&6; }
1221712924 fi
1221812925
1221912926
1222212929
1222312930 test -z "$NASM" && as_fn_error $? "no nasm (Netwide Assembler) found" "$LINENO" 5
1222412931
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for object file format of host system" >&5
12226 $as_echo_n "checking for object file format of host system... " >&6; }
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for object file format of host system" >&5
12933 printf %s "checking for object file format of host system... " >&6; }
1222712934 case "$host_os" in
1222812935 cygwin* | mingw* | pw32* | interix*)
1222912936 case "$host_cpu" in
1229613003 ;;
1229713004 esac
1229813005
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objfmt" >&5
12300 $as_echo "$objfmt" >&6; }
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $objfmt" >&5
13007 printf "%s\n" "$objfmt" >&6; }
1230113008 if test "$objfmt" = 'ELF ?'; then
1230213009 objfmt='ELF'
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected host system. assumed that the format is $objfmt." >&5
12304 $as_echo "$as_me: WARNING: unexpected host system. assumed that the format is $objfmt." >&2;}
12305 fi
12306
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for object file format specifier (NAFLAGS) " >&5
12308 $as_echo_n "checking for object file format specifier (NAFLAGS) ... " >&6; }
13010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected host system. assumed that the format is $objfmt." >&5
13011 printf "%s\n" "$as_me: WARNING: unexpected host system. assumed that the format is $objfmt." >&2;}
13012 fi
13013
13014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for object file format specifier (NAFLAGS) " >&5
13015 printf %s "checking for object file format specifier (NAFLAGS) ... " >&6; }
1230913016 case "$objfmt" in
1231013017 MSOMF) NAFLAGS='-fobj -DOBJ32';;
1231113018 Win32-COFF) NAFLAGS='-fwin32 -DWIN32';;
1231913026 Mach-O) NAFLAGS='-fmacho -DMACHO';;
1232013027 Mach-O64) NAFLAGS='-fmacho64 -DMACHO -D__x86_64__';;
1232113028 esac
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAFLAGS" >&5
12323 $as_echo "$NAFLAGS" >&6; }
12324
12325
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
12327 $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
13029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NAFLAGS" >&5
13030 printf "%s\n" "$NAFLAGS" >&6; }
13031
13032
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
13034 printf %s "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
1232813035 cat > conftest.asm <<EOF
12329 %line 12330 "configure"
13036 %line 13037 "configure"
1233013037 section .text
1233113038 global _nasmfunc, nasmfunc
1233213039 _nasmfunc:
1233813045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$try_nasm\""; } >&5
1233913046 (eval $try_nasm) 2>&5
1234013047 ac_status=$?
12341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1234213049 test $ac_status = 0; } && test -s conftest-nasm.o; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12344 $as_echo "yes" >&6; }
13050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13051 printf "%s\n" "yes" >&6; }
1234513052 else
1234613053 echo "configure: failed program was:" >&5
1234713054 cat conftest.asm >&5
1234813055 rm -rf conftest*
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13057 printf "%s\n" "no" >&6; }
1235113058 as_fn_error $? "installation or configuration problem: assembler cannot create object files." "$LINENO" 5
1235213059 fi
1235313060
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts assembler output" >&5
12355 $as_echo_n "checking whether the linker accepts assembler output... " >&6; }
13061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts assembler output" >&5
13062 printf %s "checking whether the linker accepts assembler output... " >&6; }
1235613063 nasm_save_LIBS="$LIBS"
1235713064 LIBS="conftest-nasm.o $LIBS"
1235813065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1236413071 void nasmfunc(void);
1236513072
1236613073 int
12367 main ()
13074 main (void)
1236813075 {
1236913076 nasmfunc();
1237013077 ;
1237113078 return 0;
1237213079 }
1237313080 _ACEOF
12374 if ac_fn_c_try_link "$LINENO"; then :
13081 if ac_fn_c_try_link "$LINENO"
13082 then :
1237513083 nasm_link_ok=yes
12376 else
13084 else $as_nop
1237713085 nasm_link_ok=no
1237813086 fi
12379 rm -f core conftest.err conftest.$ac_objext \
13087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1238013088 conftest$ac_exeext conftest.$ac_ext
1238113089 LIBS="$nasm_save_LIBS"
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nasm_link_ok" >&5
12383 $as_echo "$nasm_link_ok" >&6; }
13090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nasm_link_ok" >&5
13091 printf "%s\n" "$nasm_link_ok" >&6; }
1238413092
1238513093 if test "x$nasm_link_ok" = "xno"; then
1238613094 as_fn_error $? "configuration problem: maybe object file format mismatch." "$LINENO" 5
1238913097
1239013098 simd_arch=x86_64
1239113099
12392 $as_echo "#define RFX_USE_ACCEL_AMD64 1" >>confdefs.h
13100 printf "%s\n" "#define RFX_USE_ACCEL_AMD64 1" >>confdefs.h
1239313101
1239413102 ;;
1239513103 i*86 | x86 | ia32)
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (i386)" >&5
12397 $as_echo "yes (i386)" >&6; }
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (i386)" >&5
13105 printf "%s\n" "yes (i386)" >&6; }
1239813106
1239913107
1240013108 for ac_prog in nasm nasmw yasm
1240113109 do
1240213110 # Extract the first word of "$ac_prog", so it can be a program name with args.
1240313111 set dummy $ac_prog; ac_word=$2
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12405 $as_echo_n "checking for $ac_word... " >&6; }
12406 if ${ac_cv_prog_NASM+:} false; then :
12407 $as_echo_n "(cached) " >&6
12408 else
13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 printf %s "checking for $ac_word... " >&6; }
13114 if test ${ac_cv_prog_NASM+y}
13115 then :
13116 printf %s "(cached) " >&6
13117 else $as_nop
1240913118 if test -n "$NASM"; then
1241013119 ac_cv_prog_NASM="$NASM" # Let the user override the test.
1241113120 else
1241313122 for as_dir in $PATH
1241413123 do
1241513124 IFS=$as_save_IFS
12416 test -z "$as_dir" && as_dir=.
13125 case $as_dir in #(((
13126 '') as_dir=./ ;;
13127 */) ;;
13128 *) as_dir=$as_dir/ ;;
13129 esac
1241713130 for ac_exec_ext in '' $ac_executable_extensions; do
12418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1241913132 ac_cv_prog_NASM="$ac_prog"
12420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1242113134 break 2
1242213135 fi
1242313136 done
1242813141 fi
1242913142 NASM=$ac_cv_prog_NASM
1243013143 if test -n "$NASM"; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NASM" >&5
12432 $as_echo "$NASM" >&6; }
12433 else
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12435 $as_echo "no" >&6; }
13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NASM" >&5
13145 printf "%s\n" "$NASM" >&6; }
13146 else
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148 printf "%s\n" "no" >&6; }
1243613149 fi
1243713150
1243813151
1244113154
1244213155 test -z "$NASM" && as_fn_error $? "no nasm (Netwide Assembler) found" "$LINENO" 5
1244313156
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for object file format of host system" >&5
12445 $as_echo_n "checking for object file format of host system... " >&6; }
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for object file format of host system" >&5
13158 printf %s "checking for object file format of host system... " >&6; }
1244613159 case "$host_os" in
1244713160 cygwin* | mingw* | pw32* | interix*)
1244813161 case "$host_cpu" in
1251513228 ;;
1251613229 esac
1251713230
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objfmt" >&5
12519 $as_echo "$objfmt" >&6; }
13231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $objfmt" >&5
13232 printf "%s\n" "$objfmt" >&6; }
1252013233 if test "$objfmt" = 'ELF ?'; then
1252113234 objfmt='ELF'
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected host system. assumed that the format is $objfmt." >&5
12523 $as_echo "$as_me: WARNING: unexpected host system. assumed that the format is $objfmt." >&2;}
12524 fi
12525
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for object file format specifier (NAFLAGS) " >&5
12527 $as_echo_n "checking for object file format specifier (NAFLAGS) ... " >&6; }
13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected host system. assumed that the format is $objfmt." >&5
13236 printf "%s\n" "$as_me: WARNING: unexpected host system. assumed that the format is $objfmt." >&2;}
13237 fi
13238
13239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for object file format specifier (NAFLAGS) " >&5
13240 printf %s "checking for object file format specifier (NAFLAGS) ... " >&6; }
1252813241 case "$objfmt" in
1252913242 MSOMF) NAFLAGS='-fobj -DOBJ32';;
1253013243 Win32-COFF) NAFLAGS='-fwin32 -DWIN32';;
1253813251 Mach-O) NAFLAGS='-fmacho -DMACHO';;
1253913252 Mach-O64) NAFLAGS='-fmacho64 -DMACHO -D__x86_64__';;
1254013253 esac
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAFLAGS" >&5
12542 $as_echo "$NAFLAGS" >&6; }
12543
12544
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
12546 $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
13254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NAFLAGS" >&5
13255 printf "%s\n" "$NAFLAGS" >&6; }
13256
13257
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
13259 printf %s "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
1254713260 cat > conftest.asm <<EOF
12548 %line 12549 "configure"
13261 %line 13262 "configure"
1254913262 section .text
1255013263 global _nasmfunc, nasmfunc
1255113264 _nasmfunc:
1255713270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$try_nasm\""; } >&5
1255813271 (eval $try_nasm) 2>&5
1255913272 ac_status=$?
12560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1256113274 test $ac_status = 0; } && test -s conftest-nasm.o; then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12563 $as_echo "yes" >&6; }
13275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13276 printf "%s\n" "yes" >&6; }
1256413277 else
1256513278 echo "configure: failed program was:" >&5
1256613279 cat conftest.asm >&5
1256713280 rm -rf conftest*
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 $as_echo "no" >&6; }
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13282 printf "%s\n" "no" >&6; }
1257013283 as_fn_error $? "installation or configuration problem: assembler cannot create object files." "$LINENO" 5
1257113284 fi
1257213285
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts assembler output" >&5
12574 $as_echo_n "checking whether the linker accepts assembler output... " >&6; }
13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts assembler output" >&5
13287 printf %s "checking whether the linker accepts assembler output... " >&6; }
1257513288 nasm_save_LIBS="$LIBS"
1257613289 LIBS="conftest-nasm.o $LIBS"
1257713290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1258313296 void nasmfunc(void);
1258413297
1258513298 int
12586 main ()
13299 main (void)
1258713300 {
1258813301 nasmfunc();
1258913302 ;
1259013303 return 0;
1259113304 }
1259213305 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
13306 if ac_fn_c_try_link "$LINENO"
13307 then :
1259413308 nasm_link_ok=yes
12595 else
13309 else $as_nop
1259613310 nasm_link_ok=no
1259713311 fi
12598 rm -f core conftest.err conftest.$ac_objext \
13312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1259913313 conftest$ac_exeext conftest.$ac_ext
1260013314 LIBS="$nasm_save_LIBS"
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nasm_link_ok" >&5
12602 $as_echo "$nasm_link_ok" >&6; }
13315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nasm_link_ok" >&5
13316 printf "%s\n" "$nasm_link_ok" >&6; }
1260313317
1260413318 if test "x$nasm_link_ok" = "xno"; then
1260513319 as_fn_error $? "configuration problem: maybe object file format mismatch." "$LINENO" 5
1260813322
1260913323 simd_arch=i386
1261013324
12611 $as_echo "#define RFX_USE_ACCEL_X86 1" >>confdefs.h
13325 printf "%s\n" "#define RFX_USE_ACCEL_X86 1" >>confdefs.h
1261213326
1261313327 ;;
1261413328 *)
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (\"$host_cpu\")" >&5
12616 $as_echo "no (\"$host_cpu\")" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SIMD support not available for this CPU. Performance will suffer." >&5
12618 $as_echo "$as_me: WARNING: SIMD support not available for this CPU. Performance will suffer." >&2;}
13329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (\"$host_cpu\")" >&5
13330 printf "%s\n" "no (\"$host_cpu\")" >&6; }
13331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SIMD support not available for this CPU. Performance will suffer." >&5
13332 printf "%s\n" "$as_me: WARNING: SIMD support not available for this CPU. Performance will suffer." >&2;}
1261913333 ;;
1262013334 esac
1262113335 fi
1263913353
1264013354 # parent project will propagate these options to us when building
1264113355 # Check whether --enable-devel_all was given.
12642 if test "${enable_devel_all+set}" = set; then :
13356 if test ${enable_devel_all+y}
13357 then :
1264313358 enableval=$enable_devel_all; devel_all=$enableval
12644 else
13359 else $as_nop
1264513360 devel_all=no
1264613361 fi
1264713362
1264813363 # Check whether --enable-devel_debug was given.
12649 if test "${enable_devel_debug+set}" = set; then :
13364 if test ${enable_devel_debug+y}
13365 then :
1265013366 enableval=$enable_devel_debug; devel_debug=$enableval
12651 else
13367 else $as_nop
1265213368 devel_debug=$devel_all
1265313369 fi
1265413370
1266813384
1266913385
1267013386 for flag in -DDEBUG; do
12671 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12673 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12674 if eval \${$as_CACHEVAR+:} false; then :
12675 $as_echo_n "(cached) " >&6
12676 else
13387 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13389 printf %s "checking whether C compiler accepts $flag... " >&6; }
13390 if eval test \${$as_CACHEVAR+y}
13391 then :
13392 printf %s "(cached) " >&6
13393 else $as_nop
1267713394
1267813395 ax_check_save_flags=$CFLAGS
1267913396 CFLAGS="$CFLAGS $flag"
1268113398 /* end confdefs.h. */
1268213399
1268313400 int
12684 main ()
13401 main (void)
1268513402 {
1268613403
1268713404 ;
1268813405 return 0;
1268913406 }
1269013407 _ACEOF
12691 if ac_fn_c_try_compile "$LINENO"; then :
13408 if ac_fn_c_try_compile "$LINENO"
13409 then :
1269213410 eval "$as_CACHEVAR=yes"
12693 else
13411 else $as_nop
1269413412 eval "$as_CACHEVAR=no"
1269513413 fi
12696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1269713415 CFLAGS=$ax_check_save_flags
1269813416 fi
1269913417 eval ac_res=\$$as_CACHEVAR
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12701 $as_echo "$ac_res" >&6; }
12702 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
12703
12704 if ${NAFLAGS+:} false; then :
13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13419 printf "%s\n" "$ac_res" >&6; }
13420 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13421 then :
13422
13423 if test ${NAFLAGS+y}
13424 then :
1270513425
1270613426 case " $NAFLAGS " in #(
1270713427 *" $flag "*) :
12708 { { $as_echo "$as_me:${as_lineno-$LINENO}: : NAFLAGS already contains \$flag"; } >&5
13428 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : NAFLAGS already contains \$flag"; } >&5
1270913429 (: NAFLAGS already contains $flag) 2>&5
1271013430 ac_status=$?
12711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1271213432 test $ac_status = 0; } ;; #(
1271313433 *) :
1271413434
1271513435 as_fn_append NAFLAGS " $flag"
12716 { { $as_echo "$as_me:${as_lineno-$LINENO}: : NAFLAGS=\"\$NAFLAGS\""; } >&5
13436 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : NAFLAGS=\"\$NAFLAGS\""; } >&5
1271713437 (: NAFLAGS="$NAFLAGS") 2>&5
1271813438 ac_status=$?
12719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1272013440 test $ac_status = 0; }
1272113441 ;;
1272213442 esac
1272313443
12724 else
13444 else $as_nop
1272513445
1272613446 NAFLAGS=$flag
12727 { { $as_echo "$as_me:${as_lineno-$LINENO}: : NAFLAGS=\"\$NAFLAGS\""; } >&5
13447 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : NAFLAGS=\"\$NAFLAGS\""; } >&5
1272813448 (: NAFLAGS="$NAFLAGS") 2>&5
1272913449 ac_status=$?
12730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1273113451 test $ac_status = 0; }
1273213452
1273313453 fi
1273413454
12735 else
13455 else $as_nop
1273613456 :
1273713457 fi
1273813458
1277013490 case $ac_val in #(
1277113491 *${as_nl}*)
1277213492 case $ac_var in #(
12773 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12774 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13493 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13494 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1277513495 esac
1277613496 case $ac_var in #(
1277713497 _ | IFS | as_nl) ;; #(
1280113521 /^ac_cv_env_/b end
1280213522 t clear
1280313523 :clear
12804 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13524 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1280513525 t end
1280613526 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1280713527 :end' >>confcache
1280813528 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1280913529 if test -w "$cache_file"; then
1281013530 if test "x$cache_file" != "x/dev/null"; then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12812 $as_echo "$as_me: updating cache $cache_file" >&6;}
13531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13532 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1281313533 if test ! -f "$cache_file" || test -h "$cache_file"; then
1281413534 cat confcache >"$cache_file"
1281513535 else
1282313543 fi
1282413544 fi
1282513545 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12827 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13547 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1282813548 fi
1282913549 fi
1283013550 rm -f confcache
1284113561 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1284213562 # 1. Remove the extension, and $U if already installed.
1284313563 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12844 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13564 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1284513565 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1284613566 # will be set to the directory where LIBOBJS objects are built.
1284713567 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1285213572 LTLIBOBJS=$ac_ltlibobjs
1285313573
1285413574
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12856 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13576 printf %s "checking that generated files are newer than configure... " >&6; }
1285713577 if test -n "$am_sleep_pid"; then
1285813578 # Hide warnings about reused PIDs.
1285913579 wait $am_sleep_pid 2>/dev/null
1286013580 fi
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12862 $as_echo "done" >&6; }
13581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
13582 printf "%s\n" "done" >&6; }
1286313583 if test -n "$EXEEXT"; then
1286413584 am__EXEEXT_TRUE=
1286513585 am__EXEEXT_FALSE='#'
1289313613 ac_write_fail=0
1289413614 ac_clean_files_save=$ac_clean_files
1289513615 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12897 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13617 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1289813618 as_write_fail=0
1289913619 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1290013620 #! $SHELL
1291713637
1291813638 # Be more Bourne compatible
1291913639 DUALCASE=1; export DUALCASE # for MKS sh
12920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13640 as_nop=:
13641 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
13642 then :
1292113643 emulate sh
1292213644 NULLCMD=:
1292313645 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1292413646 # is contrary to our usage. Disable this feature.
1292513647 alias -g '${1+"$@"}'='"$@"'
1292613648 setopt NO_GLOB_SUBST
12927 else
13649 else $as_nop
1292813650 case `(set -o) 2>/dev/null` in #(
1292913651 *posix*) :
1293013652 set -o posix ;; #(
1293413656 fi
1293513657
1293613658
13659
13660 # Reset variables that may have inherited troublesome values from
13661 # the environment.
13662
13663 # IFS needs to be set, to space, tab, and newline, in precisely that order.
13664 # (If _AS_PATH_WALK were called with IFS unset, it would have the
13665 # side effect of setting IFS to empty, thus disabling word splitting.)
13666 # Quoting is to prevent editors from complaining about space-tab.
1293713667 as_nl='
1293813668 '
1293913669 export as_nl
12940 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12941 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12943 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12944 # Prefer a ksh shell builtin over an external printf program on Solaris,
12945 # but without wasting forks for bash or zsh.
12946 if test -z "$BASH_VERSION$ZSH_VERSION" \
12947 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12948 as_echo='print -r --'
12949 as_echo_n='print -rn --'
12950 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12951 as_echo='printf %s\n'
12952 as_echo_n='printf %s'
12953 else
12954 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12955 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12956 as_echo_n='/usr/ucb/echo -n'
12957 else
12958 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12959 as_echo_n_body='eval
12960 arg=$1;
12961 case $arg in #(
12962 *"$as_nl"*)
12963 expr "X$arg" : "X\\(.*\\)$as_nl";
12964 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12965 esac;
12966 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12967 '
12968 export as_echo_n_body
12969 as_echo_n='sh -c $as_echo_n_body as_echo'
12970 fi
12971 export as_echo_body
12972 as_echo='sh -c $as_echo_body as_echo'
12973 fi
13670 IFS=" "" $as_nl"
13671
13672 PS1='$ '
13673 PS2='> '
13674 PS4='+ '
13675
13676 # Ensure predictable behavior from utilities with locale-dependent output.
13677 LC_ALL=C
13678 export LC_ALL
13679 LANGUAGE=C
13680 export LANGUAGE
13681
13682 # We cannot yet rely on "unset" to work, but we need these variables
13683 # to be unset--not just set to an empty or harmless value--now, to
13684 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
13685 # also avoids known problems related to "unset" and subshell syntax
13686 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
13687 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
13688 do eval test \${$as_var+y} \
13689 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13690 done
13691
13692 # Ensure that fds 0, 1, and 2 are open.
13693 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
13694 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
13695 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1297413696
1297513697 # The user is always right.
12976 if test "${PATH_SEPARATOR+set}" != set; then
13698 if ${PATH_SEPARATOR+false} :; then
1297713699 PATH_SEPARATOR=:
1297813700 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1297913701 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1298113703 }
1298213704 fi
1298313705
12984
12985 # IFS
12986 # We need space, tab and new line, in precisely that order. Quoting is
12987 # there to prevent editors from complaining about space-tab.
12988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12989 # splitting by setting IFS to empty value.)
12990 IFS=" "" $as_nl"
1299113706
1299213707 # Find who we are. Look in the path if we contain no directory separator.
1299313708 as_myself=
1299713712 for as_dir in $PATH
1299813713 do
1299913714 IFS=$as_save_IFS
13000 test -z "$as_dir" && as_dir=.
13001 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13715 case $as_dir in #(((
13716 '') as_dir=./ ;;
13717 */) ;;
13718 *) as_dir=$as_dir/ ;;
13719 esac
13720 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1300213721 done
1300313722 IFS=$as_save_IFS
1300413723
1301013729 as_myself=$0
1301113730 fi
1301213731 if test ! -f "$as_myself"; then
13013 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13732 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1301413733 exit 1
1301513734 fi
1301613735
13017 # Unset variables that we do not need and which cause bugs (e.g. in
13018 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13019 # suppresses any "Segmentation fault" message there. '((' could
13020 # trigger a bug in pdksh 5.2.14.
13021 for as_var in BASH_ENV ENV MAIL MAILPATH
13022 do eval test x\${$as_var+set} = xset \
13023 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13024 done
13025 PS1='$ '
13026 PS2='> '
13027 PS4='+ '
13028
13029 # NLS nuisances.
13030 LC_ALL=C
13031 export LC_ALL
13032 LANGUAGE=C
13033 export LANGUAGE
13034
13035 # CDPATH.
13036 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1303713736
1303813737
1303913738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1304613745 as_status=$1; test $as_status -eq 0 && as_status=1
1304713746 if test "$4"; then
1304813747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13049 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1305013749 fi
13051 $as_echo "$as_me: error: $2" >&2
13750 printf "%s\n" "$as_me: error: $2" >&2
1305213751 as_fn_exit $as_status
1305313752 } # as_fn_error
13753
1305413754
1305513755
1305613756 # as_fn_set_status STATUS
1307913779 { eval $1=; unset $1;}
1308013780 }
1308113781 as_unset=as_fn_unset
13782
1308213783 # as_fn_append VAR VALUE
1308313784 # ----------------------
1308413785 # Append the text in VALUE to the end of the definition contained in VAR. Take
1308513786 # advantage of any shell optimizations that allow amortized linear growth over
1308613787 # repeated appends, instead of the typical quadratic growth present in naive
1308713788 # implementations.
13088 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13789 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
13790 then :
1308913791 eval 'as_fn_append ()
1309013792 {
1309113793 eval $1+=\$2
1309213794 }'
13093 else
13795 else $as_nop
1309413796 as_fn_append ()
1309513797 {
1309613798 eval $1=\$$1\$2
1310213804 # Perform arithmetic evaluation on the ARGs, and store the result in the
1310313805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1310413806 # must be portable across $(()) and expr.
13105 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
13808 then :
1310613809 eval 'as_fn_arith ()
1310713810 {
1310813811 as_val=$(( $* ))
1310913812 }'
13110 else
13813 else $as_nop
1311113814 as_fn_arith ()
1311213815 {
1311313816 as_val=`expr "$@" || test $? -eq 1`
1313813841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1313913842 X"$0" : 'X\(//\)$' \| \
1314013843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13141 $as_echo X/"$0" |
13844 printf "%s\n" X/"$0" |
1314213845 sed '/^.*\/\([^/][^/]*\)\/*$/{
1314313846 s//\1/
1314413847 q
1316013863 as_cr_digits='0123456789'
1316113864 as_cr_alnum=$as_cr_Letters$as_cr_digits
1316213865
13866
13867 # Determine whether it's possible to make 'echo' print without a newline.
13868 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
13869 # for compatibility with existing Makefiles.
1316313870 ECHO_C= ECHO_N= ECHO_T=
1316413871 case `echo -n x` in #(((((
1316513872 -n*)
1317213879 *)
1317313880 ECHO_N='-n';;
1317413881 esac
13882
13883 # For backward compatibility with old third-party macros, we provide
13884 # the shell variables $as_echo and $as_echo_n. New code should use
13885 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
13886 as_echo='printf %s\n'
13887 as_echo_n='printf %s'
1317513888
1317613889 rm -f conf$$ conf$$.exe conf$$.file
1317713890 if test -d conf$$.dir; then
1321413927 as_dirs=
1321513928 while :; do
1321613929 case $as_dir in #(
13217 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13930 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1321813931 *) as_qdir=$as_dir;;
1321913932 esac
1322013933 as_dirs="'$as_qdir' $as_dirs"
1322313936 X"$as_dir" : 'X\(//\)[^/]' \| \
1322413937 X"$as_dir" : 'X\(//\)$' \| \
1322513938 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13226 $as_echo X"$as_dir" |
13939 printf "%s\n" X"$as_dir" |
1322713940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322813941 s//\1/
1322913942 q
1328513998 # report actual input values of CONFIG_FILES etc. instead of their
1328613999 # values after options handling.
1328714000 ac_log="
13288 This file was extended by rfxcodec $as_me 0.1.5, which was
13289 generated by GNU Autoconf 2.69. Invocation command line was
14001 This file was extended by rfxcodec $as_me 0.1.6, which was
14002 generated by GNU Autoconf 2.71. Invocation command line was
1329014003
1329114004 CONFIG_FILES = $CONFIG_FILES
1329214005 CONFIG_HEADERS = $CONFIG_HEADERS
1334814061 Report bugs to <xrdp-devel@googlegroups.com>."
1334914062
1335014063 _ACEOF
14064 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
14065 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1335114066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13352 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14067 ac_cs_config='$ac_cs_config_escaped'
1335314068 ac_cs_version="\\
13354 rfxcodec config.status 0.1.5
13355 configured by $0, generated by GNU Autoconf 2.69,
14069 rfxcodec config.status 0.1.6
14070 configured by $0, generated by GNU Autoconf 2.71,
1335614071 with options \\"\$ac_cs_config\\"
1335714072
13358 Copyright (C) 2012 Free Software Foundation, Inc.
14073 Copyright (C) 2021 Free Software Foundation, Inc.
1335914074 This config.status script is free software; the Free Software Foundation
1336014075 gives unlimited permission to copy, distribute and modify it."
1336114076
1339514110 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1339614111 ac_cs_recheck=: ;;
1339714112 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13398 $as_echo "$ac_cs_version"; exit ;;
14113 printf "%s\n" "$ac_cs_version"; exit ;;
1339914114 --config | --confi | --conf | --con | --co | --c )
13400 $as_echo "$ac_cs_config"; exit ;;
14115 printf "%s\n" "$ac_cs_config"; exit ;;
1340114116 --debug | --debu | --deb | --de | --d | -d )
1340214117 debug=: ;;
1340314118 --file | --fil | --fi | --f )
1340414119 $ac_shift
1340514120 case $ac_optarg in
13406 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14121 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1340714122 '') as_fn_error $? "missing file argument" ;;
1340814123 esac
1340914124 as_fn_append CONFIG_FILES " '$ac_optarg'"
1341114126 --header | --heade | --head | --hea )
1341214127 $ac_shift
1341314128 case $ac_optarg in
13414 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14129 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1341514130 esac
1341614131 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1341714132 ac_need_defaults=false;;
1342014135 as_fn_error $? "ambiguous option: \`$1'
1342114136 Try \`$0 --help' for more information.";;
1342214137 --help | --hel | -h )
13423 $as_echo "$ac_cs_usage"; exit ;;
14138 printf "%s\n" "$ac_cs_usage"; exit ;;
1342414139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1342514140 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1342614141 ac_cs_silent=: ;;
1344814163 if \$ac_cs_recheck; then
1344914164 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1345014165 shift
13451 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14166 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1345214167 CONFIG_SHELL='$SHELL'
1345314168 export CONFIG_SHELL
1345414169 exec "\$@"
1346214177 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1346314178 ## Running $as_me. ##
1346414179 _ASBOX
13465 $as_echo "$ac_log"
14180 printf "%s\n" "$ac_log"
1346614181 } >&5
1346714182
1346814183 _ACEOF
1351414229 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
1351514230 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
1351614231 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14232 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1351714233 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1351814234 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
1351914235 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
1352214238 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
1352314239 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
1352414240 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14241 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1352514242 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
1352614243 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
1352714244 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
1364214359 lt_SP2NL \
1364314360 lt_NL2SP \
1364414361 reload_flag \
14362 FILECMD \
1364514363 OBJDUMP \
1364614364 deplibs_check_method \
1364714365 file_magic_cmd \
1365014368 DLLTOOL \
1365114369 sharedlib_from_linklib_cmd \
1365214370 AR \
13653 AR_FLAGS \
1365414371 archiver_list_spec \
1365514372 STRIP \
1365614373 RANLIB \
1378514502 # We use the long form for the default assignment because of an extremely
1378614503 # bizarre bug on SunOS 4.1.3.
1378714504 if $ac_need_defaults; then
13788 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13789 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13790 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14505 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
14506 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
14507 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1379114508 fi
1379214509
1379314510 # Have a temporary directory for convenience. Make it in the build tree
1412314840 esac ||
1412414841 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1412514842 esac
14126 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14843 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1412714844 as_fn_append ac_file_inputs " '$ac_f'"
1412814845 done
1412914846
1413114848 # use $as_me), people would be surprised to read:
1413214849 # /* config.h. Generated by config.status. */
1413314850 configure_input='Generated from '`
14134 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14851 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1413514852 `' by configure.'
1413614853 if test x"$ac_file" != x-; then
1413714854 configure_input="$ac_file. $configure_input"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14139 $as_echo "$as_me: creating $ac_file" >&6;}
14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14856 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1414014857 fi
1414114858 # Neutralize special characters interpreted by sed in replacement strings.
1414214859 case $configure_input in #(
1414314860 *\&* | *\|* | *\\* )
14144 ac_sed_conf_input=`$as_echo "$configure_input" |
14861 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1414514862 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1414614863 *) ac_sed_conf_input=$configure_input;;
1414714864 esac
1415814875 X"$ac_file" : 'X\(//\)[^/]' \| \
1415914876 X"$ac_file" : 'X\(//\)$' \| \
1416014877 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14161 $as_echo X"$ac_file" |
14878 printf "%s\n" X"$ac_file" |
1416214879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416314880 s//\1/
1416414881 q
1418214899 case "$ac_dir" in
1418314900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418414901 *)
14185 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14902 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1418614903 # A ".." for each directory in $ac_dir_suffix.
14187 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14904 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1418814905 case $ac_top_builddir_sub in
1418914906 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419014907 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1424614963 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1424714964 *datarootdir*) ac_datarootdir_seen=yes;;
1424814965 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14250 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14967 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1425114968 _ACEOF
1425214969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1425314970 ac_datarootdir_hack='
1429115008 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1429215009 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1429315010 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1429515012 which seems to be undefined. Please make sure it is defined" >&5
14296 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15013 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1429715014 which seems to be undefined. Please make sure it is defined" >&2;}
1429815015
1429915016 rm -f "$ac_tmp/stdin"
1430915026 #
1431015027 if test x"$ac_file" != x-; then
1431115028 {
14312 $as_echo "/* $configure_input */" \
15029 printf "%s\n" "/* $configure_input */" >&1 \
1431315030 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1431415031 } >"$ac_tmp/config.h" \
1431515032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1431615033 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14318 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15035 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1431915036 else
1432015037 rm -f "$ac_file"
1432115038 mv "$ac_tmp/config.h" "$ac_file" \
1432215039 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1432315040 fi
1432415041 else
14325 $as_echo "/* $configure_input */" \
15042 printf "%s\n" "/* $configure_input */" >&1 \
1432615043 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1432715044 || as_fn_error $? "could not create -" "$LINENO" 5
1432815045 fi
1434215059 X"$_am_arg" : 'X\(//\)[^/]' \| \
1434315060 X"$_am_arg" : 'X\(//\)$' \| \
1434415061 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14345 $as_echo X"$_am_arg" |
15062 printf "%s\n" X"$_am_arg" |
1434615063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434715064 s//\1/
1434815065 q
1436215079 s/.*/./; q'`/stamp-h$_am_stamp_count
1436315080 ;;
1436415081
14365 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14366 $as_echo "$as_me: executing $ac_file commands" >&6;}
15082 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15083 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1436715084 ;;
1436815085 esac
1436915086
1438915106 for am_mf
1439015107 do
1439115108 # Strip MF so we end up with the name of the file.
14392 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15109 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1439315110 # Check whether this is an Automake generated Makefile which includes
1439415111 # dependency-tracking related rules and includes.
1439515112 # Grep'ing the whole file directly is not great: AIX grep has a line
1440115118 X"$am_mf" : 'X\(//\)[^/]' \| \
1440215119 X"$am_mf" : 'X\(//\)$' \| \
1440315120 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14404 $as_echo X"$am_mf" |
15121 printf "%s\n" X"$am_mf" |
1440515122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1440615123 s//\1/
1440715124 q
1442315140 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
1442415141 X"$am_mf" : 'X\(//\)$' \| \
1442515142 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14426 $as_echo X/"$am_mf" |
15143 printf "%s\n" X/"$am_mf" |
1442715144 sed '/^.*\/\([^/][^/]*\)\/*$/{
1442815145 s//\1/
1442915146 q
1444815165 (exit $ac_status); } || am_rc=$?
1444915166 done
1445015167 if test $am_rc -ne 0; then
14451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15168 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15169 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1445315170 as_fn_error $? "Something went wrong bootstrapping makefile fragments
1445415171 for automatic dependency tracking. If GNU make was not used, consider
1445515172 re-running the configure script with MAKE=\"gmake\" (or whatever is
1460015317 # convert \$build files to toolchain format.
1460115318 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1460215319
15320 # A file(cmd) program that detects file types.
15321 FILECMD=$lt_FILECMD
15322
1460315323 # An object symbol dumper.
1460415324 OBJDUMP=$lt_OBJDUMP
1460515325
1462415344 # The archiver.
1462515345 AR=$lt_AR
1462615346
15347 # Flags to create an archive (by configure).
15348 lt_ar_flags=$lt_ar_flags
15349
1462715350 # Flags to create an archive.
14628 AR_FLAGS=$lt_AR_FLAGS
15351 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1462915352
1463015353 # How to feed a file listing to the archiver.
1463115354 archiver_list_spec=$lt_archiver_list_spec
1499315716 esac
1499415717
1499515718
15719
1499615720 ltmain=$ac_aux_dir/ltmain.sh
1499715721
1499815722
1500015724 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1500115725 # text mode, it properly converts lines to CR/LF. This bash problem
1500215726 # is reportedly fixed, but why not run on old versions too?
15003 sed '$q' "$ltmain" >> "$cfgfile" \
15727 $SED '$q' "$ltmain" >> "$cfgfile" \
1500415728 || (rm -f "$cfgfile"; exit 1)
1500515729
1500615730 mv -f "$cfgfile" "$ofile" ||
1504215766 $ac_cs_success || as_fn_exit 1
1504315767 fi
1504415768 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15046 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15047 fi
15048
15049
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15770 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15771 fi
15772
15773
15774
00 # Process this file with autoconf to produce a configure script
11
22 AC_PREREQ(2.59)
3 AC_INIT([rfxcodec], [0.1.5], [xrdp-devel@googlegroups.com])
3 AC_INIT([rfxcodec], [0.1.6], [xrdp-devel@googlegroups.com])
44 AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
55 AM_INIT_AUTOMAKE([1.6 foreign])
66 AC_CONFIG_MACRO_DIR([m4])
184184 CC = @CC@
185185 CCDEPMODE = @CCDEPMODE@
186186 CFLAGS = @CFLAGS@
187 CPP = @CPP@
188187 CPPFLAGS = @CPPFLAGS@
189188 CSCOPE = @CSCOPE@
190189 CTAGS = @CTAGS@
201200 ETAGS = @ETAGS@
202201 EXEEXT = @EXEEXT@
203202 FGREP = @FGREP@
203 FILECMD = @FILECMD@
204204 GREP = @GREP@
205205 INSTALL = @INSTALL@
206206 INSTALL_DATA = @INSTALL_DATA@
286286 prefix = @prefix@
287287 program_transform_name = @program_transform_name@
288288 psdir = @psdir@
289 runstatedir = @runstatedir@
289290 sbindir = @sbindir@
290291 sharedstatedir = @sharedstatedir@
291292 srcdir = @srcdir@
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
34 package_revision=2.4.6
33 VERSION=2.4.7
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
358372 s/^$_G_bs2$_G_dollar/$_G_bs&/
359373 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360374 s/\n//g"
375
376 # require_check_ifs_backslash
377 # ---------------------------
378 # Check if we can use backslash as IFS='\' separator, and set
379 # $check_ifs_backshlash_broken to ':' or 'false'.
380 require_check_ifs_backslash=func_require_check_ifs_backslash
381 func_require_check_ifs_backslash ()
382 {
383 _G_save_IFS=$IFS
384 IFS='\'
385 _G_check_ifs_backshlash='a\\b'
386 for _G_i in $_G_check_ifs_backshlash
387 do
388 case $_G_i in
389 a)
390 check_ifs_backshlash_broken=false
391 ;;
392 '')
393 break
394 ;;
395 *)
396 check_ifs_backshlash_broken=:
397 break
398 ;;
399 esac
400 done
401 IFS=$_G_save_IFS
402 require_check_ifs_backslash=:
403 }
361404
362405
363406 ## ----------------- ##
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=2014-01-07.03; # 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.
15311707
15321708 case " $hookable_fns " in
15331709 *" $1 "*) ;;
1534 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1710 *) func_fatal_error "'$1' does not support hook functions." ;;
15351711 esac
15361712
15371713 eval _G_hook_fns=\$$1_hooks; shift
15381714
15391715 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1716 func_unset "${_G_hook}_result"
1717 eval $_G_hook '${1+"$@"}'
1718 func_propagate_result $_G_hook func_run_hooks
1719 if $func_propagate_result_result; then
1720 eval set dummy "$func_run_hooks_result"; shift
1721 fi
15461722 done
1547
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
15501723 }
15511724
15521725
15561729 ## --------------- ##
15571730
15581731 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1732 # full positional parameter list from your hook function. You may remove
1733 # or edit any options that you action, and then pass back the remaining
1734 # unprocessed options in '<hooked_function_name>_result', escaped
1735 # suitably for 'eval'.
1736 #
1737 # The '<hooked_function_name>_result' variable is automatically unset
1738 # before your hook gets called; for best performance, only set the
1739 # *_result variable when necessary (i.e. don't call the 'func_quote'
1740 # function unnecessarily because it can be an expensive operation on some
1741 # machines).
1742 #
1743 # Like this:
15631744 #
15641745 # my_options_prep ()
15651746 # {
15691750 # usage_message=$usage_message'
15701751 # -s, --silent don'\''t print informational messages
15711752 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1753 # # No change in '$@' (ignored completely by this hook). Leave
1754 # # my_options_prep_result variable intact.
15751755 # }
15761756 # func_add_hook func_options_prep my_options_prep
15771757 #
15801760 # {
15811761 # $debug_cmd
15821762 #
1583 # # Note that for efficiency, we parse as many options as we can
1763 # args_changed=false
1764 #
1765 # # Note that, for efficiency, we parse as many options as we can
15841766 # # recognise in a loop before passing the remainder back to the
15851767 # # caller on the first unrecognised argument we encounter.
15861768 # while test $# -gt 0; do
15871769 # opt=$1; shift
15881770 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1771 # --silent|-s) opt_silent=:
1772 # args_changed=:
1773 # ;;
15901774 # # Separate non-argument short options:
15911775 # -s*) func_split_short_opt "$_G_opt"
15921776 # set dummy "$func_split_short_opt_name" \
15931777 # "-$func_split_short_opt_arg" ${1+"$@"}
15941778 # shift
1779 # args_changed=:
15951780 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1781 # *) # Make sure the first unrecognised option "$_G_opt"
1782 # # is added back to "$@" in case we need it later,
1783 # # if $args_changed was set to 'true'.
1784 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
15971785 # esac
15981786 # done
15991787 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1788 # # Only call 'func_quote' here if we processed at least one argument.
1789 # if $args_changed; then
1790 # func_quote eval ${1+"$@"}
1791 # my_silent_option_result=$func_quote_result
1792 # fi
16021793 # }
16031794 # func_add_hook func_parse_options my_silent_option
16041795 #
16091800 #
16101801 # $opt_silent && $opt_verbose && func_fatal_help "\
16111802 # '--silent' and '--verbose' options are mutually exclusive."
1612 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
16151803 # }
16161804 # func_add_hook func_validate_options my_option_validation
16171805 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1806 # You'll also need to manually amend $usage_message to reflect the extra
16191807 # options you parse. It's preferable to append if you can, so that
16201808 # multiple option parsing hooks can be added safely.
1809
1810
1811 # func_options_finish [ARG]...
1812 # ----------------------------
1813 # Finishing the option parse loop (call 'func_options' hooks ATM).
1814 func_options_finish ()
1815 {
1816 $debug_cmd
1817
1818 func_run_hooks func_options ${1+"$@"}
1819 func_propagate_result func_run_hooks func_options_finish
1820 }
16211821
16221822
16231823 # func_options [ARG]...
16291829 {
16301830 $debug_cmd
16311831
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1832 _G_options_quoted=false
1833
1834 for my_func in options_prep parse_options validate_options options_finish
1835 do
1836 func_unset func_${my_func}_result
1837 func_unset func_run_hooks_result
1838 eval func_$my_func '${1+"$@"}'
1839 func_propagate_result func_$my_func func_options
1840 if $func_propagate_result_result; then
1841 eval set dummy "$func_options_result"; shift
1842 _G_options_quoted=:
1843 fi
1844 done
1845
1846 $_G_options_quoted || {
1847 # As we (func_options) are top-level options-parser function and
1848 # nobody quoted "$@" for us yet, we need to do it explicitly for
1849 # caller.
1850 func_quote eval ${1+"$@"}
1851 func_options_result=$func_quote_result
1852 }
16431853 }
16441854
16451855
16481858 # All initialisations required before starting the option parse loop.
16491859 # Note that when calling hook functions, we pass through the list of
16501860 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1652 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1861 # needs to propagate that back to rest of this script, then the complete
1862 # modified list must be put in 'func_run_hooks_result' before returning.
16541863 func_hookable func_options_prep
16551864 func_options_prep ()
16561865 {
16611870 opt_warning_types=
16621871
16631872 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1873 func_propagate_result func_run_hooks func_options_prep
16671874 }
16681875
16691876
16751882 {
16761883 $debug_cmd
16771884
1678 func_parse_options_result=
1679
1885 _G_parse_options_requote=false
16801886 # this just eases exit handling
16811887 while test $# -gt 0; do
16821888 # Defer to hook functions for initial option parsing, so they
16831889 # get priority in the event of reusing an option name.
16841890 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1891 func_propagate_result func_run_hooks func_parse_options
1892 if $func_propagate_result_result; then
1893 eval set dummy "$func_parse_options_result"; shift
1894 # Even though we may have changed "$@", we passed the "$@" array
1895 # down into the hook and it quoted it for us (because we are in
1896 # this if-branch). No need to quote it again.
1897 _G_parse_options_requote=false
1898 fi
16881899
16891900 # Break out of the loop if we already parsed every option.
16901901 test $# -gt 0 || break
16911902
1903 # We expect that one of the options parsed in this function matches
1904 # and thus we remove _G_opt from "$@" and need to re-quote.
1905 _G_match_parse_options=:
16921906 _G_opt=$1
16931907 shift
16941908 case $_G_opt in
16951909 --debug|-x) debug_cmd='set -x'
1696 func_echo "enabling shell trace mode"
1910 func_echo "enabling shell trace mode" >&2
16971911 $debug_cmd
16981912 ;;
16991913
17031917 ;;
17041918
17051919 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1920 if test $# = 0 && func_missing_arg $_G_opt; then
1921 _G_parse_options_requote=:
1922 break
1923 fi
17071924 case " $warning_categories $1" in
17081925 *" $1 "*)
17091926 # trailing space prevents matching last $1 above
17561973 shift
17571974 ;;
17581975
1759 --) break ;;
1976 --) _G_parse_options_requote=: ; break ;;
17601977 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1978 *) set dummy "$_G_opt" ${1+"$@"}; shift
1979 _G_match_parse_options=false
1980 break
1981 ;;
17621982 esac
1983
1984 if $_G_match_parse_options; then
1985 _G_parse_options_requote=:
1986 fi
17631987 done
17641988
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1989 if $_G_parse_options_requote; then
1990 # save modified positional parameters for caller
1991 func_quote eval ${1+"$@"}
1992 func_parse_options_result=$func_quote_result
1993 fi
17681994 }
17691995
17701996
17812007 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17822008
17832009 func_run_hooks func_validate_options ${1+"$@"}
2010 func_propagate_result func_run_hooks func_validate_options
17842011
17852012 # Bail if the options were screwed!
17862013 $exit_cmd $EXIT_FAILURE
1787
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
17902014 }
17912015
17922016
18422066
18432067 # func_split_equals STRING
18442068 # ------------------------
1845 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1846 # splitting STRING at the '=' sign.
2069 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2070 # after splitting STRING at the '=' sign.
18472071 test -z "$_G_HAVE_XSI_OPS" \
18482072 && (eval 'x=a/b/c;
18492073 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
18582082
18592083 func_split_equals_lhs=${1%%=*}
18602084 func_split_equals_rhs=${1#*=}
1861 test "x$func_split_equals_lhs" = "x$1" \
1862 && func_split_equals_rhs=
2085 if test "x$func_split_equals_lhs" = "x$1"; then
2086 func_split_equals_rhs=
2087 fi
18632088 }'
18642089 else
18652090 # ...otherwise fall back to using expr, which is often a shell builtin.
18692094
18702095 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
18712096 func_split_equals_rhs=
1872 test "x$func_split_equals_lhs" = "x$1" \
2097 test "x$func_split_equals_lhs=" = "x$1" \
18732098 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
18742099 }
18752100 fi #func_split_equals
18952120 {
18962121 $debug_cmd
18972122
1898 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
2123 func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'`
18992124 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
19002125 }
19012126 fi #func_split_short_opt
19372162 # func_version
19382163 # ------------
19392164 # Echo version message to standard output and exit.
2165 # The version message is extracted from the calling file's header
2166 # comments, with leading '# ' stripped:
2167 # 1. First display the progname and version
2168 # 2. Followed by the header comment line matching /^# Written by /
2169 # 3. Then a blank line followed by the first following line matching
2170 # /^# Copyright /
2171 # 4. Immediately followed by any lines between the previous matches,
2172 # except lines preceding the intervening completely blank line.
2173 # For example, see the header comments of this file.
19402174 func_version ()
19412175 {
19422176 $debug_cmd
19432177
19442178 printf '%s\n' "$progname $scriptversion"
19452179 $SED -n '
1946 /(C)/!b go
1947 :more
1948 /\./!{
1949 N
1950 s|\n# | |
1951 b more
2180 /^# Written by /!b
2181 s|^# ||; p; n
2182
2183 :fwd2blnk
2184 /./ {
2185 n
2186 b fwd2blnk
19522187 }
1953 :go
1954 /^# Written by /,/# warranty; / {
1955 s|^# ||
1956 s|^# *$||
1957 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
1958 p
2188 p; n
2189
2190 :holdwrnt
2191 s|^# ||
2192 s|^# *$||
2193 /^Copyright /!{
2194 /./H
2195 n
2196 b holdwrnt
19592197 }
1960 /^# Written by / {
1961 s|^# ||
1962 p
1963 }
1964 /^warranty; /q' < "$progpath"
2198
2199 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2200 G
2201 s|\(\n\)\n*|\1|g
2202 p; q' < "$progpath"
19652203
19662204 exit $?
19672205 }
19712209 # mode: shell-script
19722210 # sh-indentation: 2
19732211 # eval: (add-hook 'before-save-hook 'time-stamp)
1974 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2212 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
19752213 # time-stamp-time-zone: "UTC"
19762214 # End:
19772215
19782216 # Set a version string.
1979 scriptversion='(GNU libtool) 2.4.6'
2217 scriptversion='(GNU libtool) 2.4.7'
19802218
19812219
19822220 # func_echo ARG...
20672305 compiler: $LTCC
20682306 compiler flags: $LTCFLAGS
20692307 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2308 version: $progname (GNU libtool) 2.4.7
20712309 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
20722310 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20732311
21232361 # a configuration failure hint, and exit.
21242362 func_fatal_configuration ()
21252363 {
2126 func__fatal_error ${1+"$@"} \
2364 func_fatal_error ${1+"$@"} \
21272365 "See the $PACKAGE documentation for more information." \
21282366 "Fatal configuration error."
21292367 }
22692507 nonopt=
22702508 preserve_args=
22712509
2510 _G_rc_lt_options_prep=:
2511
22722512 # Shorthand for --mode=foo, only valid as the first argument
22732513 case $1 in
22742514 clean|clea|cle|cl)
22922532 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
22932533 shift; set dummy --mode uninstall ${1+"$@"}; shift
22942534 ;;
2535 *)
2536 _G_rc_lt_options_prep=false
2537 ;;
22952538 esac
22962539
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2540 if $_G_rc_lt_options_prep; then
2541 # Pass back the list of options.
2542 func_quote eval ${1+"$@"}
2543 libtool_options_prep_result=$func_quote_result
2544 fi
23002545 }
23012546 func_add_hook func_options_prep libtool_options_prep
23022547
23082553 {
23092554 $debug_cmd
23102555
2556 _G_rc_lt_parse_options=false
2557
23112558 # Perform our own loop to consume as many options as possible in
23122559 # each iteration.
23132560 while test $# -gt 0; do
2561 _G_match_lt_parse_options=:
23142562 _G_opt=$1
23152563 shift
23162564 case $_G_opt in
23852633 func_append preserve_args " $_G_opt"
23862634 ;;
23872635
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2636 # An option not handled by this hook function:
2637 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2638 _G_match_lt_parse_options=false
2639 break
2640 ;;
23902641 esac
2642 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
23912643 done
23922644
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2645 if $_G_rc_lt_parse_options; then
2646 # save modified positional parameters for caller
2647 func_quote eval ${1+"$@"}
2648 libtool_parse_options_result=$func_quote_result
2649 fi
23972650 }
23982651 func_add_hook func_parse_options libtool_parse_options
23992652
24502703 }
24512704
24522705 # Pass back the unparsed argument list
2453 func_quote_for_eval ${1+"$@"}
2454 libtool_validate_options_result=$func_quote_for_eval_result
2706 func_quote eval ${1+"$@"}
2707 libtool_validate_options_result=$func_quote_result
24552708 }
24562709 func_add_hook func_validate_options libtool_validate_options
24572710
34173670 esac
34183671 done
34193672
3420 func_quote_for_eval "$libobj"
3421 test "X$libobj" != "X$func_quote_for_eval_result" \
3673 func_quote_arg pretty "$libobj"
3674 test "X$libobj" != "X$func_quote_arg_result" \
34223675 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
34233676 && func_warning "libobj name '$libobj' may not contain shell special characters."
34243677 func_dirname_and_basename "$obj" "/" ""
34913744
34923745 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
34933746 srcfile=$func_to_tool_file_result
3494 func_quote_for_eval "$srcfile"
3495 qsrcfile=$func_quote_for_eval_result
3747 func_quote_arg pretty "$srcfile"
3748 qsrcfile=$func_quote_arg_result
34963749
34973750 # Only build a PIC object if we are building libtool libraries.
34983751 if test yes = "$build_libtool_libs"; then
36473900 -prefer-non-pic try to build non-PIC objects only
36483901 -shared do not build a '.o' file suitable for static linking
36493902 -static only build a '.o' file suitable for static linking
3650 -Wc,FLAG pass FLAG directly to the compiler
3903 -Wc,FLAG
3904 -Xcompiler FLAG pass FLAG directly to the compiler
36513905
36523906 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
36533907 from the given SOURCEFILE.
37534007 -weak LIBNAME declare that the target provides the LIBNAME interface
37544008 -Wc,FLAG
37554009 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
4010 -Wa,FLAG
4011 -Xassembler FLAG pass linker-specific FLAG directly to the assembler
37564012 -Wl,FLAG
37574013 -Xlinker FLAG pass linker-specific FLAG directly to the linker
37584014 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
40954351 case $nonopt in *shtool*) :;; *) false;; esac
40964352 then
40974353 # Aesthetically quote it.
4098 func_quote_for_eval "$nonopt"
4099 install_prog="$func_quote_for_eval_result "
4354 func_quote_arg pretty "$nonopt"
4355 install_prog="$func_quote_arg_result "
41004356 arg=$1
41014357 shift
41024358 else
41064362
41074363 # The real first argument should be the name of the installation program.
41084364 # Aesthetically quote it.
4109 func_quote_for_eval "$arg"
4110 func_append install_prog "$func_quote_for_eval_result"
4365 func_quote_arg pretty "$arg"
4366 func_append install_prog "$func_quote_arg_result"
41114367 install_shared_prog=$install_prog
41124368 case " $install_prog " in
41134369 *[\\\ /]cp\ *) install_cp=: ;;
41644420 esac
41654421
41664422 # Aesthetically quote the argument.
4167 func_quote_for_eval "$arg"
4168 func_append install_prog " $func_quote_for_eval_result"
4423 func_quote_arg pretty "$arg"
4424 func_append install_prog " $func_quote_arg_result"
41694425 if test -n "$arg2"; then
4170 func_quote_for_eval "$arg2"
4426 func_quote_arg pretty "$arg2"
41714427 fi
4172 func_append install_shared_prog " $func_quote_for_eval_result"
4428 func_append install_shared_prog " $func_quote_arg_result"
41734429 done
41744430
41754431 test -z "$install_prog" && \
41804436
41814437 if test -n "$install_override_mode" && $no_mode; then
41824438 if $install_cp; then :; else
4183 func_quote_for_eval "$install_override_mode"
4184 func_append install_shared_prog " -m $func_quote_for_eval_result"
4439 func_quote_arg pretty "$install_override_mode"
4440 func_append install_shared_prog " -m $func_quote_arg_result"
41854441 fi
41864442 fi
41874443
44774733 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
44784734
44794735 $opt_quiet || {
4480 func_quote_for_expand "$relink_command"
4481 eval "func_echo $func_quote_for_expand_result"
4736 func_quote_arg expand,pretty "$relink_command"
4737 eval "func_echo $func_quote_arg_result"
44824738 }
44834739 if eval "$relink_command"; then :
44844740 else
52575513 if test \"\$libtool_execute_magic\" != \"$magic\"; then
52585514 file=\"\$0\""
52595515
5260 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
5516 func_quote_arg pretty "$ECHO"
5517 qECHO=$func_quote_arg_result
52615518 $ECHO "\
52625519
52635520 # A function that is used when there is no print builtin or printf.
52675524 \$1
52685525 _LTECHO_EOF'
52695526 }
5270 ECHO=\"$qECHO\"
5527 ECHO=$qECHO
52715528 fi
52725529
52735530 # Very basic option parsing. These options are (a) specific to
66106867 while test "$#" -gt 0; do
66116868 arg=$1
66126869 shift
6613 func_quote_for_eval "$arg"
6614 qarg=$func_quote_for_eval_unquoted_result
6615 func_append libtool_args " $func_quote_for_eval_result"
6870 func_quote_arg pretty,unquoted "$arg"
6871 qarg=$func_quote_arg_unquoted_result
6872 func_append libtool_args " $func_quote_arg_result"
66166873
66176874 # If the previous option needs an argument, assign it.
66186875 if test -n "$prev"; then
68487105 prev=
68497106 continue
68507107 ;;
7108 xassembler)
7109 func_append compiler_flags " -Xassembler $qarg"
7110 prev=
7111 func_append compile_command " -Xassembler $qarg"
7112 func_append finalize_command " -Xassembler $qarg"
7113 continue
7114 ;;
68517115 xcclinker)
68527116 func_append linker_flags " $qarg"
68537117 func_append compiler_flags " $qarg"
70187282 # These systems don't actually have a C library (as such)
70197283 test X-lc = "X$arg" && continue
70207284 ;;
7021 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7285 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70227286 # Do not include libc due to us having libc/libc_r.
70237287 test X-lc = "X$arg" && continue
70247288 ;;
70387302 esac
70397303 elif test X-lc_r = "X$arg"; then
70407304 case $host in
7041 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7305 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70427306 # Do not include libc_r directly, use -pthread flag.
70437307 continue
70447308 ;;
70687332 prev=xcompiler
70697333 continue
70707334 ;;
7071
7072 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7335 # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
7336 -pthread)
7337 case $host in
7338 *solaris2*) ;;
7339 *)
7340 case "$new_inherited_linker_flags " in
7341 *" $arg "*) ;;
7342 * ) func_append new_inherited_linker_flags " $arg" ;;
7343 esac
7344 ;;
7345 esac
7346 continue
7347 ;;
7348 -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
70737349 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
70747350 func_append compiler_flags " $arg"
70757351 func_append compile_command " $arg"
72107486 save_ifs=$IFS; IFS=,
72117487 for flag in $args; do
72127488 IFS=$save_ifs
7213 func_quote_for_eval "$flag"
7214 func_append arg " $func_quote_for_eval_result"
7215 func_append compiler_flags " $func_quote_for_eval_result"
7489 func_quote_arg pretty "$flag"
7490 func_append arg " $func_quote_arg_result"
7491 func_append compiler_flags " $func_quote_arg_result"
72167492 done
72177493 IFS=$save_ifs
72187494 func_stripname ' ' '' "$arg"
72267502 save_ifs=$IFS; IFS=,
72277503 for flag in $args; do
72287504 IFS=$save_ifs
7229 func_quote_for_eval "$flag"
7230 func_append arg " $wl$func_quote_for_eval_result"
7231 func_append compiler_flags " $wl$func_quote_for_eval_result"
7232 func_append linker_flags " $func_quote_for_eval_result"
7505 func_quote_arg pretty "$flag"
7506 func_append arg " $wl$func_quote_arg_result"
7507 func_append compiler_flags " $wl$func_quote_arg_result"
7508 func_append linker_flags " $func_quote_arg_result"
72337509 done
72347510 IFS=$save_ifs
72357511 func_stripname ' ' '' "$arg"
72367512 arg=$func_stripname_result
72377513 ;;
72387514
7515 -Xassembler)
7516 prev=xassembler
7517 continue
7518 ;;
7519
72397520 -Xcompiler)
72407521 prev=xcompiler
72417522 continue
72537534
72547535 # -msg_* for osf cc
72557536 -msg_*)
7256 func_quote_for_eval "$arg"
7257 arg=$func_quote_for_eval_result
7537 func_quote_arg pretty "$arg"
7538 arg=$func_quote_arg_result
72587539 ;;
72597540
72607541 # Flags to be passed through unchanged, with rationale:
72717552 # -tp=* Portland pgcc target processor selection
72727553 # --sysroot=* for sysroot support
72737554 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7555 # -specs=* GCC specs files
72747556 # -stdlib=* select c++ std lib with clang
7557 # -fsanitize=* Clang/GCC memory and address sanitizer
7558 # -fuse-ld=* Linker select flags for GCC
7559 # -Wa,* Pass flags directly to the assembler
72757560 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767561 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7278 func_quote_for_eval "$arg"
7279 arg=$func_quote_for_eval_result
7562 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7563 -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
7564 func_quote_arg pretty "$arg"
7565 arg=$func_quote_arg_result
72807566 func_append compile_command " $arg"
72817567 func_append finalize_command " $arg"
72827568 func_append compiler_flags " $arg"
72977583 continue
72987584 else
72997585 # Otherwise treat like 'Some other compiler flag' below
7300 func_quote_for_eval "$arg"
7301 arg=$func_quote_for_eval_result
7586 func_quote_arg pretty "$arg"
7587 arg=$func_quote_arg_result
73027588 fi
73037589 ;;
73047590
73057591 # Some other compiler flag.
73067592 -* | +*)
7307 func_quote_for_eval "$arg"
7308 arg=$func_quote_for_eval_result
7593 func_quote_arg pretty "$arg"
7594 arg=$func_quote_arg_result
73097595 ;;
73107596
73117597 *.$objext)
74257711 *)
74267712 # Unknown arguments in both finalize_command and compile_command need
74277713 # to be aesthetically quoted because they are evaled later.
7428 func_quote_for_eval "$arg"
7429 arg=$func_quote_for_eval_result
7714 func_quote_arg pretty "$arg"
7715 arg=$func_quote_arg_result
74307716 ;;
74317717 esac # arg
74327718
86318917 test CXX = "$tagname" && {
86328918 case $host_os in
86338919 linux*)
8634 case `$CC -V 2>&1 | sed 5q` in
8920 case `$CC -V 2>&1 | $SED 5q` in
86358921 *Sun\ C*) # Sun C++ 5.9
86368922 func_suncc_cstd_abi
86378923
88049090 #
88059091 case $version_type in
88069092 # correct linux to gnu/linux during the next big refactor
8807 darwin|freebsd-elf|linux|osf|windows|none)
9093 darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
88089094 func_arith $number_major + $number_minor
88099095 current=$func_arith_result
88109096 age=$number_minor
88959181 versuffix=.$current.$revision
88969182 ;;
88979183
8898 freebsd-elf)
9184 freebsd-elf | midnightbsd-elf)
88999185 func_arith $current - $age
89009186 major=.$func_arith_result
89019187 versuffix=$major.$age.$revision
91219407 *-*-netbsd*)
91229408 # Don't link with libc until the a.out ld.so is fixed.
91239409 ;;
9124 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9410 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
91259411 # Do not include libc due to us having libc/libc_r.
91269412 ;;
91279413 *-*-sco3.2v5* | *-*-sco5v6*)
993210218 for cmd in $concat_cmds; do
993310219 IFS=$save_ifs
993410220 $opt_quiet || {
9935 func_quote_for_expand "$cmd"
9936 eval "func_echo $func_quote_for_expand_result"
10221 func_quote_arg expand,pretty "$cmd"
10222 eval "func_echo $func_quote_arg_result"
993710223 }
993810224 $opt_dry_run || eval "$cmd" || {
993910225 lt_exit=$?
1002610312 eval cmd=\"$cmd\"
1002710313 IFS=$save_ifs
1002810314 $opt_quiet || {
10029 func_quote_for_expand "$cmd"
10030 eval "func_echo $func_quote_for_expand_result"
10315 func_quote_arg expand,pretty "$cmd"
10316 eval "func_echo $func_quote_arg_result"
1003110317 }
1003210318 $opt_dry_run || eval "$cmd" || {
1003310319 lt_exit=$?
1050110787 elif eval var_value=\$$var; test -z "$var_value"; then
1050210788 relink_command="$var=; export $var; $relink_command"
1050310789 else
10504 func_quote_for_eval "$var_value"
10505 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10790 func_quote_arg pretty "$var_value"
10791 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
1050610792 fi
1050710793 done
10508 relink_command="(cd `pwd`; $relink_command)"
10509 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10794 func_quote eval cd "`pwd`"
10795 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
10796 relink_command=$func_quote_arg_unquoted_result
1051010797 fi
1051110798
1051210799 # Only actually do things if not in dry run mode.
1074611033 elif eval var_value=\$$var; test -z "$var_value"; then
1074711034 relink_command="$var=; export $var; $relink_command"
1074811035 else
10749 func_quote_for_eval "$var_value"
10750 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
11036 func_quote_arg pretty,unquoted "$var_value"
11037 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
1075111038 fi
1075211039 done
1075311040 # Quote the link command for shipping.
10754 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
10755 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
11041 func_quote eval cd "`pwd`"
11042 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11043 func_quote_arg pretty,unquoted "$relink_command"
11044 relink_command=$func_quote_arg_unquoted_result
1075611045 if test yes = "$hardcode_automatic"; then
1075711046 relink_command=
1075811047 fi
00 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
2 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3 # Foundation, Inc.
34 # Written by Gordon Matzigkeit, 1996
45 #
56 # This file is free software; the Free Software Foundation gives
3031 # along with this program. If not, see <http://www.gnu.org/licenses/>.
3132 ])
3233
33 # serial 58 LT_INIT
34 # serial 59 LT_INIT
3435
3536
3637 # LT_PREREQ(VERSION)
180181 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
181182 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
182183 m4_require([_LT_CMD_RELOAD])dnl
184 m4_require([_LT_DECL_FILECMD])dnl
183185 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
184186 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
185187 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
218220 ofile=libtool
219221 can_build_shared=yes
220222
221 # All known linkers require a '.a' archive for static linking (except MSVC,
222 # which needs '.lib').
223 # All known linkers require a '.a' archive for static linking (except MSVC and
224 # ICC, which need '.lib').
223225 libext=a
224226
225227 with_gnu_ld=$lt_cv_prog_gnu_ld
777779 # if finds mixed CR/LF and LF-only lines. Since sed operates in
778780 # text mode, it properly converts lines to CR/LF. This bash problem
779781 # is reportedly fixed, but why not run on old versions too?
780 sed '$q' "$ltmain" >> "$cfgfile" \
782 $SED '$q' "$ltmain" >> "$cfgfile" \
781783 || (rm -f "$cfgfile"; exit 1)
782784
783785 mv -f "$cfgfile" "$ofile" ||
10411043 _LT_EOF
10421044 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10431045 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1044 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1045 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1046 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1047 $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10461048 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10471049 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10481050 cat > conftest.c << _LT_EOF
10661068 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10671069 darwin1.*)
10681070 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1069 darwin*) # darwin 5.x on
1070 # if running on 10.5 or later, the deployment target defaults
1071 # to the OS version, if on x86, and 10.4, the deployment
1072 # target defaults to 10.4. Don't you love it?
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1076 10.[[012]][[,.]]*)
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1078 10.*)
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1071 darwin*)
1072 case $MACOSX_DEPLOYMENT_TARGET,$host in
1073 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1074 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1075 *)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10801077 esac
10811078 ;;
10821079 esac
11251122 output_verbose_link_cmd=func_echo_all
11261123 _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"
11271124 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1128 _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"
1129 _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"
1125 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1126 _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11301127 m4_if([$1], [CXX],
11311128 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
11321129 _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"
1133 _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"
1130 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
11341131 fi
11351132 ],[])
11361133 else
12441241 # _LT_WITH_SYSROOT
12451242 # ----------------
12461243 AC_DEFUN([_LT_WITH_SYSROOT],
1247 [AC_MSG_CHECKING([for sysroot])
1244 [m4_require([_LT_DECL_SED])dnl
1245 AC_MSG_CHECKING([for sysroot])
12481246 AC_ARG_WITH([sysroot],
12491247 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
12501248 [Search for dependent libraries within DIR (or the compiler's sysroot
12611259 fi
12621260 ;; #(
12631261 /*)
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1262 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
12651263 ;; #(
12661264 no|'')
12671265 ;; #(
12911289 # options accordingly.
12921290 echo 'int i;' > conftest.$ac_ext
12931291 if AC_TRY_EVAL(ac_compile); then
1294 case `/usr/bin/file conftest.$ac_objext` in
1292 case `$FILECMD conftest.$ac_objext` in
12951293 *ELF-32*)
12961294 HPUX_IA64_MODE=32
12971295 ;;
13081306 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13091307 if AC_TRY_EVAL(ac_compile); then
13101308 if test yes = "$lt_cv_prog_gnu_ld"; then
1311 case `/usr/bin/file conftest.$ac_objext` in
1309 case `$FILECMD conftest.$ac_objext` in
13121310 *32-bit*)
13131311 LD="${LD-ld} -melf32bsmip"
13141312 ;;
13201318 ;;
13211319 esac
13221320 else
1323 case `/usr/bin/file conftest.$ac_objext` in
1321 case `$FILECMD conftest.$ac_objext` in
13241322 *32-bit*)
13251323 LD="${LD-ld} -32"
13261324 ;;
13421340 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13431341 if AC_TRY_EVAL(ac_compile); then
13441342 emul=elf
1345 case `/usr/bin/file conftest.$ac_objext` in
1343 case `$FILECMD conftest.$ac_objext` in
13461344 *32-bit*)
13471345 emul="${emul}32"
13481346 ;;
13501348 emul="${emul}64"
13511349 ;;
13521350 esac
1353 case `/usr/bin/file conftest.$ac_objext` in
1351 case `$FILECMD conftest.$ac_objext` in
13541352 *MSB*)
13551353 emul="${emul}btsmip"
13561354 ;;
13581356 emul="${emul}ltsmip"
13591357 ;;
13601358 esac
1361 case `/usr/bin/file conftest.$ac_objext` in
1359 case `$FILECMD conftest.$ac_objext` in
13621360 *N32*)
13631361 emul="${emul}n32"
13641362 ;;
13781376 # not appear in the list.
13791377 echo 'int i;' > conftest.$ac_ext
13801378 if AC_TRY_EVAL(ac_compile); then
1381 case `/usr/bin/file conftest.o` in
1379 case `$FILECMD conftest.o` in
13821380 *32-bit*)
13831381 case $host in
13841382 x86_64-*kfreebsd*-gnu)
13851383 LD="${LD-ld} -m elf_i386_fbsd"
13861384 ;;
13871385 x86_64-*linux*)
1388 case `/usr/bin/file conftest.o` in
1386 case `$FILECMD conftest.o` in
13891387 *x86-64*)
13901388 LD="${LD-ld} -m elf32_x86_64"
13911389 ;;
14531451 # options accordingly.
14541452 echo 'int i;' > conftest.$ac_ext
14551453 if AC_TRY_EVAL(ac_compile); then
1456 case `/usr/bin/file conftest.o` in
1454 case `$FILECMD conftest.o` in
14571455 *64-bit*)
14581456 case $lt_cv_prog_gnu_ld in
14591457 yes*)
14921490 m4_defun([_LT_PROG_AR],
14931491 [AC_CHECK_TOOLS(AR, [ar], false)
14941492 : ${AR=ar}
1495 : ${AR_FLAGS=cru}
14961493 _LT_DECL([], [AR], [1], [The archiver])
1497 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1494
1495 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
1496 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
1497 # higher priority because thats what people were doing historically (setting
1498 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
1499 # variable obsoleted/removed.
1500
1501 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1502 lt_ar_flags=$AR_FLAGS
1503 _LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
1504
1505 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1506 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1507 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1508 [Flags to create an archive])
14981509
14991510 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
15001511 [lt_cv_ar_at_file=no
17131724 lt_cv_sys_max_cmd_len=8192;
17141725 ;;
17151726
1716 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1727 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
17171728 # This has been around since 386BSD, at least. Likely further.
17181729 if test -x /sbin/sysctl; then
17191730 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17561767 sysv5* | sco5v6* | sysv4.2uw2*)
17571768 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17581769 if test -n "$kargmax"; then
1759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1770 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
17601771 else
17611772 lt_cv_sys_max_cmd_len=32768
17621773 fi
22062217 striplib=
22072218 old_striplib=
22082219 AC_MSG_CHECKING([whether stripping libraries is possible])
2209 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2210 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2211 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2212 AC_MSG_RESULT([yes])
2220 if test -z "$STRIP"; then
2221 AC_MSG_RESULT([no])
22132222 else
2214 # FIXME - insert some real tests, host_os isn't really good enough
2215 case $host_os in
2216 darwin*)
2217 if test -n "$STRIP"; then
2223 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2224 old_striplib="$STRIP --strip-debug"
2225 striplib="$STRIP --strip-unneeded"
2226 AC_MSG_RESULT([yes])
2227 else
2228 case $host_os in
2229 darwin*)
2230 # FIXME - insert some real tests, host_os isn't really good enough
22182231 striplib="$STRIP -x"
22192232 old_striplib="$STRIP -S"
22202233 AC_MSG_RESULT([yes])
2221 else
2234 ;;
2235 freebsd*)
2236 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2237 old_striplib="$STRIP --strip-debug"
2238 striplib="$STRIP --strip-unneeded"
2239 AC_MSG_RESULT([yes])
2240 else
2241 AC_MSG_RESULT([no])
2242 fi
2243 ;;
2244 *)
22222245 AC_MSG_RESULT([no])
2223 fi
2224 ;;
2225 *)
2226 AC_MSG_RESULT([no])
2227 ;;
2228 esac
2246 ;;
2247 esac
2248 fi
22292249 fi
22302250 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
22312251 _LT_DECL([], [striplib], [1])
25482568 case $host_os in
25492569 cygwin*)
25502570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2551 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25522572 m4_if([$1], [],[
25532573 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
25542574 ;;
25582578 ;;
25592579 pw32*)
25602580 # pw32 DLLs use 'pw' prefix rather than 'lib'
2561 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2581 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25622582 ;;
25632583 esac
25642584 dynamic_linker='Win32 ld.exe'
25652585 ;;
25662586
2567 *,cl*)
2568 # Native MSVC
2587 *,cl* | *,icl*)
2588 # Native MSVC or ICC
25692589 libname_spec='$name'
25702590 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25712591 library_names_spec='$libname.dll.lib'
25842604 done
25852605 IFS=$lt_save_ifs
25862606 # Convert to MSYS style.
2587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
25882608 ;;
25892609 cygwin*)
25902610 # Convert to unix form, then to dos form, then back to unix form
26212641 ;;
26222642
26232643 *)
2624 # Assume MSVC wrapper
2644 # Assume MSVC and ICC wrapper
26252645 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
26262646 dynamic_linker='Win32 ld.exe'
26272647 ;;
26542674 shlibpath_var=LD_LIBRARY_PATH
26552675 ;;
26562676
2657 freebsd* | dragonfly*)
2677 freebsd* | dragonfly* | midnightbsd*)
26582678 # DragonFly does not have aout. When/if they implement a new
26592679 # versioning mechanism, adjust this.
26602680 if test -x /usr/bin/objformat; then
34533473
34543474 bsdi[[45]]*)
34553475 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3456 lt_cv_file_magic_cmd='/usr/bin/file -L'
3476 lt_cv_file_magic_cmd='$FILECMD -L'
34573477 lt_cv_file_magic_test_file=/shlib/libc.so
34583478 ;;
34593479
34873507 lt_cv_deplibs_check_method=pass_all
34883508 ;;
34893509
3490 freebsd* | dragonfly*)
3510 freebsd* | dragonfly* | midnightbsd*)
34913511 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34923512 case $host_cpu in
34933513 i*86 )
34943514 # Not sure whether the presence of OpenBSD here was a mistake.
34953515 # Let's accept both of them until this is cleared up.
34963516 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3497 lt_cv_file_magic_cmd=/usr/bin/file
3517 lt_cv_file_magic_cmd=$FILECMD
34983518 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
34993519 ;;
35003520 esac
35083528 ;;
35093529
35103530 hpux10.20* | hpux11*)
3511 lt_cv_file_magic_cmd=/usr/bin/file
3531 lt_cv_file_magic_cmd=$FILECMD
35123532 case $host_cpu in
35133533 ia64*)
35143534 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
35553575
35563576 newos6*)
35573577 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3558 lt_cv_file_magic_cmd=/usr/bin/file
3578 lt_cv_file_magic_cmd=$FILECMD
35593579 lt_cv_file_magic_test_file=/usr/lib/libnls.so
35603580 ;;
35613581
36823702 mingw*) lt_bad_file=conftest.nm/nofile ;;
36833703 *) lt_bad_file=/dev/null ;;
36843704 esac
3685 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3705 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
36863706 *$lt_bad_file* | *'Invalid file or object type'*)
36873707 lt_cv_path_NM="$tmp_nm -B"
36883708 break 2
36893709 ;;
36903710 *)
3691 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3711 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
36923712 */dev/null*)
36933713 lt_cv_path_NM="$tmp_nm -p"
36943714 break 2
37143734 # Let the user override the test.
37153735 else
37163736 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3717 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3737 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
37183738 *COFF*)
37193739 DUMPBIN="$DUMPBIN -symbols -headers"
37203740 ;;
39543974
39553975 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
39563976 # Gets list of data symbols to import.
3957 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3977 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
39583978 # Adjust the below global symbol transforms to fixup imported variables.
39593979 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
39603980 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
39723992 # Transform an extracted symbol line into a proper C declaration.
39733993 # Some systems (esp. on ia64) link data and code symbols differently,
39743994 # so use this general approach.
3975 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3995 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
39763996 $lt_cdecl_hook\
39773997 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
39783998 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
39793999
39804000 # Transform an extracted symbol line into symbol name and symbol address
3981 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4001 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
39824002 $lt_c_name_hook\
39834003 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39844004 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
39854005
39864006 # Transform an extracted symbol line into symbol name with lib prefix and
39874007 # symbol address.
3988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4008 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
39894009 $lt_c_name_lib_hook\
39904010 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39914011 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
40094029 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
40104030 # Fake it for dumpbin and say T for any non-static function,
40114031 # D for any global variable and I for any imported variable.
4012 # Also find C++ and __fastcall symbols from MSVC++,
4032 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
40134033 # which start with @ or ?.
40144034 lt_cv_sys_global_symbol_pipe="$AWK ['"\
40154035 " {last_section=section; section=\$ 3};"\
40274047 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
40284048 " ' prfx=^$ac_symprfx]"
40294049 else
4030 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4050 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
40314051 fi
4032 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
4052 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
40334053
40344054 # Check to see that the pipe works correctly.
40354055 pipe_works=no
43164336 ;;
43174337 esac
43184338 ;;
4319 freebsd* | dragonfly*)
4339 freebsd* | dragonfly* | midnightbsd*)
43204340 # FreeBSD uses GNU C++
43214341 ;;
43224342 hpux9* | hpux10* | hpux11*)
43994419 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
44004420 ;;
44014421 *)
4402 case `$CC -V 2>&1 | sed 5q` in
4422 case `$CC -V 2>&1 | $SED 5q` in
44034423 *Sun\ C*)
44044424 # Sun C++ 5.9
44054425 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47354755 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
47364756 ;;
47374757 *)
4738 case `$CC -V 2>&1 | sed 5q` in
4758 case `$CC -V 2>&1 | $SED 5q` in
47394759 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
47404760 # Sun Fortran 8.3 passes all unrecognized flags to the linker
47414761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49184938 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
49194939 _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'
49204940 else
4921 _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'
4941 _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'
49224942 fi
49234943 ;;
49244944 pw32*)
49264946 ;;
49274947 cygwin* | mingw* | cegcc*)
49284948 case $cc_basename in
4929 cl*)
4949 cl* | icl*)
49304950 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
49314951 ;;
49324952 *)
49835003
49845004 case $host_os in
49855005 cygwin* | mingw* | pw32* | cegcc*)
4986 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5006 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
49875007 # When not using gcc, we currently assume that we are using
4988 # Microsoft Visual C++.
5008 # Microsoft Visual C++ or Intel C++ Compiler.
49895009 if test yes != "$GCC"; then
49905010 with_gnu_ld=no
49915011 fi
49925012 ;;
49935013 interix*)
4994 # we just hope/assume this is gcc and not c89 (= MSVC++)
5014 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
49955015 with_gnu_ld=yes
49965016 ;;
49975017 openbsd* | bitrig*)
50435063 _LT_TAGVAR(whole_archive_flag_spec, $1)=
50445064 fi
50455065 supports_anon_versioning=no
5046 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5066 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
50475067 *GNU\ gold*) supports_anon_versioning=yes ;;
50485068 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
50495069 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51555175 emximp -o $lib $output_objdir/$libname.def'
51565176 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
51575177 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5178 _LT_TAGVAR(file_list_spec, $1)='@'
51585179 ;;
51595180
51605181 interix[[3-9]]*)
51695190 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
51705191 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
51715192 _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'
5172 _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'
5193 _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'
51735194 ;;
51745195
51755196 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52125233 _LT_TAGVAR(compiler_needs_object, $1)=yes
52135234 ;;
52145235 esac
5215 case `$CC -V 2>&1 | sed 5q` in
5236 case `$CC -V 2>&1 | $SED 5q` in
52165237 *Sun\ C*) # Sun C 5.9
52175238 _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'
52185239 _LT_TAGVAR(compiler_needs_object, $1)=yes
52245245
52255246 if test yes = "$supports_anon_versioning"; then
52265247 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5248 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52285249 echo "local: *; };" >> $output_objdir/$libname.ver~
52295250 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
52305251 fi
52405261 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
52415262 if test yes = "$supports_anon_versioning"; then
52425263 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5264 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52445265 echo "local: *; };" >> $output_objdir/$libname.ver~
52455266 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52465267 fi
53725393 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
53735394 _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'
53745395 else
5375 _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'
5396 _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'
53765397 fi
53775398 aix_use_runtimelinking=no
53785399
55555576
55565577 cygwin* | mingw* | pw32* | cegcc*)
55575578 # When not using gcc, we currently assume that we are using
5558 # Microsoft Visual C++.
5579 # Microsoft Visual C++ or Intel C++ Compiler.
55595580 # hardcode_libdir_flag_spec is actually meaningless, as there is
55605581 # no search path for DLLs.
55615582 case $cc_basename in
5562 cl*)
5563 # Native MSVC
5583 cl* | icl*)
5584 # Native MSVC or ICC
55645585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
55655586 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
55665587 _LT_TAGVAR(always_export_symbols, $1)=yes
56015622 fi'
56025623 ;;
56035624 *)
5604 # Assume MSVC wrapper
5625 # Assume MSVC and ICC wrapper
56055626 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
56065627 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56075628 # Tell ltmain to make .lib files, not .a files.
56495670 ;;
56505671
56515672 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5652 freebsd* | dragonfly*)
5673 freebsd* | dragonfly* | midnightbsd*)
56535674 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
56545675 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
56555676 _LT_TAGVAR(hardcode_direct, $1)=yes
58605881 emximp -o $lib $output_objdir/$libname.def'
58615882 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
58625883 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5884 _LT_TAGVAR(file_list_spec, $1)='@'
58635885 ;;
58645886
58655887 osf3*)
66306652
66316653 cygwin* | mingw* | pw32* | cegcc*)
66326654 case $GXX,$cc_basename in
6633 ,cl* | no,cl*)
6634 # Native MSVC
6655 ,cl* | no,cl* | ,icl* | no,icl*)
6656 # Native MSVC or ICC
66356657 # hardcode_libdir_flag_spec is actually meaningless, as there is
66366658 # no search path for DLLs.
66376659 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
67296751 emximp -o $lib $output_objdir/$libname.def'
67306752 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
67316753 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6754 _LT_TAGVAR(file_list_spec, $1)='@'
67326755 ;;
67336756
67346757 dgux*)
67596782 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
67606783 ;;
67616784
6762 freebsd* | dragonfly*)
6785 freebsd* | dragonfly* | midnightbsd*)
67636786 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
67646787 # conventions
67656788 _LT_TAGVAR(ld_shlibs, $1)=yes
68966919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
68976920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
68986921 _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'
6899 _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'
6922 _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'
69006923 ;;
69016924 irix5* | irix6*)
69026925 case $cc_basename in
70367059 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
70377060 if test yes = "$supports_anon_versioning"; then
70387061 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7062 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
70407063 echo "local: *; };" >> $output_objdir/$libname.ver~
70417064 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
70427065 fi
70437066 ;;
70447067 *)
7045 case `$CC -V 2>&1 | sed 5q` in
7068 case `$CC -V 2>&1 | $SED 5q` in
70467069 *Sun\ C*)
70477070 # Sun C++ 5.9
70487071 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
81878210 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
81888211 AC_SUBST([DLLTOOL])
81898212 ])
8213
8214 # _LT_DECL_FILECMD
8215 # ----------------
8216 # Check for a file(cmd) program that can be used to detect file type and magic
8217 m4_defun([_LT_DECL_FILECMD],
8218 [AC_CHECK_TOOL([FILECMD], [file], [:])
8219 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
8220 ])# _LD_DECL_FILECMD
81908221
81918222 # _LT_DECL_SED
81928223 # ------------
00 # Helper functions for option handling. -*- Autoconf -*-
11 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
66 # This file is free software; the Free Software Foundation gives
00 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
33 # Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
00 # ltversion.m4 -- version numbers -*- Autoconf -*-
11 #
2 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
2 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
3 # Inc.
34 # Written by Scott James Remnant, 2004
45 #
56 # This file is free software; the Free Software Foundation gives
89
910 # @configure_input@
1011
11 # serial 4179 ltversion.m4
12 # serial 4245 ltversion.m4
1213 # This file is part of GNU Libtool
1314
14 m4_define([LT_PACKAGE_VERSION], [2.4.6])
15 m4_define([LT_PACKAGE_REVISION], [2.4.6])
15 m4_define([LT_PACKAGE_VERSION], [2.4.7])
16 m4_define([LT_PACKAGE_REVISION], [2.4.7])
1617
1718 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.4.6'
19 macro_revision='2.4.6'
19 [macro_version='2.4.7'
20 macro_revision='2.4.7'
2021 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2122 _LT_DECL(, macro_revision, 0)
2223 ])
00 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Scott James Remnant, 2004.
55 #
66 # This file is free software; the Free Software Foundation gives
280280 CC = @CC@
281281 CCDEPMODE = @CCDEPMODE@
282282 CFLAGS = @CFLAGS@
283 CPP = @CPP@
284283 CPPFLAGS = @CPPFLAGS@
285284 CSCOPE = @CSCOPE@
286285 CTAGS = @CTAGS@
297296 ETAGS = @ETAGS@
298297 EXEEXT = @EXEEXT@
299298 FGREP = @FGREP@
299 FILECMD = @FILECMD@
300300 GREP = @GREP@
301301 INSTALL = @INSTALL@
302302 INSTALL_DATA = @INSTALL_DATA@
382382 prefix = @prefix@
383383 program_transform_name = @program_transform_name@
384384 psdir = @psdir@
385 runstatedir = @runstatedir@
385386 sbindir = @sbindir@
386387 sharedstatedir = @sharedstatedir@
387388 srcdir = @srcdir@
188188 CC = @CC@
189189 CCDEPMODE = @CCDEPMODE@
190190 CFLAGS = @CFLAGS@
191 CPP = @CPP@
192191 CPPFLAGS = @CPPFLAGS@
193192 CSCOPE = @CSCOPE@
194193 CTAGS = @CTAGS@
205204 ETAGS = @ETAGS@
206205 EXEEXT = @EXEEXT@
207206 FGREP = @FGREP@
207 FILECMD = @FILECMD@
208208 GREP = @GREP@
209209 INSTALL = @INSTALL@
210210 INSTALL_DATA = @INSTALL_DATA@
290290 prefix = @prefix@
291291 program_transform_name = @program_transform_name@
292292 psdir = @psdir@
293 runstatedir = @runstatedir@
293294 sbindir = @sbindir@
294295 sharedstatedir = @sharedstatedir@
295296 srcdir = @srcdir@
188188 CC = @CC@
189189 CCDEPMODE = @CCDEPMODE@
190190 CFLAGS = @CFLAGS@
191 CPP = @CPP@
192191 CPPFLAGS = @CPPFLAGS@
193192 CSCOPE = @CSCOPE@
194193 CTAGS = @CTAGS@
205204 ETAGS = @ETAGS@
206205 EXEEXT = @EXEEXT@
207206 FGREP = @FGREP@
207 FILECMD = @FILECMD@
208208 GREP = @GREP@
209209 INSTALL = @INSTALL@
210210 INSTALL_DATA = @INSTALL_DATA@
290290 prefix = @prefix@
291291 program_transform_name = @program_transform_name@
292292 psdir = @psdir@
293 runstatedir = @runstatedir@
293294 sbindir = @sbindir@
294295 sharedstatedir = @sharedstatedir@
295296 srcdir = @srcdir@
188188 CC = @CC@
189189 CCDEPMODE = @CCDEPMODE@
190190 CFLAGS = @CFLAGS@
191 CPP = @CPP@
192191 CPPFLAGS = @CPPFLAGS@
193192 CSCOPE = @CSCOPE@
194193 CTAGS = @CTAGS@
205204 ETAGS = @ETAGS@
206205 EXEEXT = @EXEEXT@
207206 FGREP = @FGREP@
207 FILECMD = @FILECMD@
208208 GREP = @GREP@
209209 INSTALL = @INSTALL@
210210 INSTALL_DATA = @INSTALL_DATA@
290290 prefix = @prefix@
291291 program_transform_name = @program_transform_name@
292292 psdir = @psdir@
293 runstatedir = @runstatedir@
293294 sbindir = @sbindir@
294295 sharedstatedir = @sharedstatedir@
295296 srcdir = @srcdir@
261261 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
262262 FDKAAC_LIBS = @FDKAAC_LIBS@
263263 FGREP = @FGREP@
264 FILECMD = @FILECMD@
264265 FREERDP_CFLAGS = @FREERDP_CFLAGS@
265266 FREERDP_LIBS = @FREERDP_LIBS@
266267 FUSE_CFLAGS = @FUSE_CFLAGS@
367368 prefix = @prefix@
368369 program_transform_name = @program_transform_name@
369370 psdir = @psdir@
371 runstatedir = @runstatedir@
370372 sbindir = @sbindir@
371373 sharedstatedir = @sharedstatedir@
372374 socketdir = @socketdir@
6666 struct stream *client_mcs_data;
6767 struct stream *server_mcs_data;
6868 struct list *channel_list;
69 /* This boolean is set to indicate we're expecting channel join
70 * requests as part of the connect sequence */
71 int expecting_channel_join_requests;
6972 };
7073
7174 /* fastpath */
666666 int len;
667667 char *p;
668668
669 if (!s_check_rem_and_log(s, 10,
670 "Parsing [MS-RDPBCGR] TS_CONFIRM_ACTIVE_PDU"
671 " - header"))
672 {
673 return 1;
674 }
669675 in_uint8s(s, 4); /* rdp_shareid */
670676 in_uint8s(s, 2); /* userid */
671677 in_uint16_le(s, source_len); /* sizeof RDP_SOURCE */
672678 in_uint16_le(s, cap_len);
679
680 if (!s_check_rem_and_log(s, source_len + 2 + 2,
681 "Parsing [MS-RDPBCGR] TS_CONFIRM_ACTIVE_PDU"
682 " - header2"))
683 {
684 return 1;
685 }
673686 in_uint8s(s, source_len);
674687 in_uint16_le(s, num_caps);
675688 in_uint8s(s, 2); /* pad */
689
676690 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] TS_CONFIRM_ACTIVE_PDU "
677691 "shareID (ignored), originatorID (ignored), lengthSourceDescriptor %d, "
678692 "lengthCombinedCapabilities %d, sourceDescriptor (ignored), "
2525 #include "libxrdp.h"
2626 #include "ms-rdpbcgr.h"
2727 #include "log.h"
28
29 /* Forward references */
30 static int
31 handle_non_tls_client_channel_join_requests(struct xrdp_mcs *self,
32 struct stream *s, int *appid);
2833
2934 /*****************************************************************************/
3035 struct xrdp_mcs *
108113 out_uint16_be(s, chanid); /* channelId (OPTIONAL) */
109114 s_mark_end(s);
110115
111 LOG_DEVEL(LOG_LEVEL_TRACE, "Sening [ITU-T T.125] ChannelJoinConfirm "
116 LOG_DEVEL(LOG_LEVEL_TRACE, "Sending [ITU-T T.125] ChannelJoinConfirm "
112117 "result SUCCESS, initiator %d, requested %d, "
113118 "channelId %d", userid, chanid, chanid);
114119 if (xrdp_iso_send(self->iso_layer, s) != 0)
119124 }
120125
121126 free_stream(s);
127 return 0;
128 }
129
130 /*****************************************************************************/
131 /* Reads the header of a DomainMCSPDU and gets the appid
132 *
133 * @return 0 for success */
134 static int
135 get_domain_mcs_pdu_header(struct xrdp_mcs *self, struct stream *s, int *appid)
136 {
137 int opcode;
138 if (xrdp_iso_recv(self->iso_layer, s) != 0)
139 {
140 LOG(LOG_LEVEL_ERROR, "xrdp_mcs_recv: xrdp_iso_recv failed");
141 return 1;
142 }
143
144 if (!s_check_rem_and_log(s, 1, "Parsing [ITU-T T.125] DomainMCSPDU"))
145 {
146 return 1;
147 }
148
149 /* The DomainMCSPDU choice index is a 6-bit int with the 2 least
150 significant bits of the byte as padding */
151 in_uint8(s, opcode);
152 *appid = opcode >> 2; /* 2-bit padding */
153 LOG_DEVEL(LOG_LEVEL_TRACE,
154 "Received [ITU-T T.125] DomainMCSPDU choice index %d", *appid);
122155 return 0;
123156 }
124157
135168 xrdp_mcs_recv(struct xrdp_mcs *self, struct stream *s, int *chan)
136169 {
137170 int appid;
138 int opcode;
139171 int len;
140 int userid;
141 int chanid;
142
143
144 while (1)
145 {
146 if (xrdp_iso_recv(self->iso_layer, s) != 0)
147 {
148 LOG(LOG_LEVEL_ERROR, "xrdp_mcs_recv: xrdp_iso_recv failed");
172
173 if (get_domain_mcs_pdu_header(self, s, &appid) != 0)
174 {
175 return 1;
176 }
177
178 if (self->expecting_channel_join_requests)
179 {
180 if (handle_non_tls_client_channel_join_requests(self, s, &appid) != 0)
181 {
149182 return 1;
150183 }
151
152 if (!s_check_rem_and_log(s, 1, "Parsing [ITU-T T.125] DomainMCSPDU"))
153 {
154 return 1;
155 }
156
157 /* The DomainMCSPDU choice index is a 6-bit int with the 2 least
158 significant bits of the byte as padding */
159 in_uint8(s, opcode);
160 appid = opcode >> 2; /* 2-bit padding */
184 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] completed");
185 self->expecting_channel_join_requests = 0;
186 }
187
188 if (appid == MCS_DPUM) /* Disconnect Provider Ultimatum */
189 {
161190 LOG_DEVEL(LOG_LEVEL_TRACE,
162 "Received [ITU-T T.125] DomainMCSPDU choice index %d", appid);
163
164 if (appid == MCS_DPUM) /* Disconnect Provider Ultimatum */
165 {
166 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [ITU-T T.125] DisconnectProviderUltimatum");
167 LOG(LOG_LEVEL_DEBUG, "Recieved disconnection request");
168 return 1;
169 }
170
171 /* MCS_CJRQ: Channel Join ReQuest
172 this is channels getting added from the client */
173 if (appid == MCS_CJRQ)
174 {
175 if (!s_check_rem_and_log(s, 4, "Parsing [ITU-T T.125] ChannelJoinRequest"))
176 {
177 return 1;
178 }
179
180 in_uint16_be(s, userid);
181 in_uint16_be(s, chanid);
182 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [ITU-T T.125] ChannelJoinRequest "
183 "initiator 0x%4.4x, channelId 0x%4.4x", userid, chanid);
184
185 if (xrdp_mcs_send_cjcf(self, userid, chanid) != 0)
186 {
187 LOG(LOG_LEVEL_WARNING, "[ITU-T T.125] Channel join sequence: failed");
188 }
189
190 s = libxrdp_force_read(self->iso_layer->trans);
191 if (s == 0)
192 {
193 LOG(LOG_LEVEL_ERROR, "xrdp_mcs_recv: libxrdp_force_read failed");
194 return 1;
195 }
196
197 continue;
198 }
199 break;
200 }
191 "Received [ITU-T T.125] DisconnectProviderUltimatum");
192 LOG(LOG_LEVEL_DEBUG, "Received disconnection request");
193 return 1;
194 }
195
201196
202197 if (appid != MCS_SDRQ)
203198 {
713708 *
714709 * returns error */
715710 static int
716 xrdp_mcs_recv_cjrq(struct xrdp_mcs *self)
711 xrdp_mcs_recv_cjrq(struct xrdp_mcs *self, int *channel_id)
717712 {
718713 int opcode;
719714 struct stream *s;
715 int initiator;
720716
721717 s = libxrdp_force_read(self->iso_layer->trans);
722718 if (s == 0)
752748 return 1;
753749 }
754750
755 in_uint8s(s, 4); /* initiator (2 bytes)
756 channelId (2 bytes) */
751 in_uint16_be(s, initiator);
752 in_uint16_be(s, *channel_id);
757753
758754 /*
759755 * [MS-RDPBCGR] 2.2.1.8 says that the mcsAUrq field is 5 bytes (which have
771767 }
772768
773769 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [ITU-T T.125] ChannelJoinRequest "
774 "initiator (ignored), channelId (ignored), "
770 "initiator %d, channelId %d, "
775771 "nonStandard (%s)",
772 initiator, *channel_id,
776773 (opcode & 2) ? "present" : "not present");
777774
778775 if (!s_check_end_and_log(s, "MCS protocol error [ITU-T T.125] ChannelJoinRequest"))
973970 SEC_TAG_SRV_INFO,
974971 self->mcs_layer->iso_layer->rdpNegData ? 12 : 8);
975972 LOG_DEVEL(LOG_LEVEL_TRACE, "Adding struct [MS-RDPBCGR] TS_UD_SC_CORE "
976 "<Requiered fields> version 0x%8.8x", 0x00080004);
973 "<Required fields> version 0x%8.8x", 0x00080004);
977974 if (self->mcs_layer->iso_layer->rdpNegData)
978975 {
979976 /* RequestedProtocol */
11741171 }
11751172
11761173 /*****************************************************************************/
1174 /* Handle all client channel join requests for a non-TLS connection
1175 *
1176 * @param self MCS structure
1177 * @param s Input stream
1178 * @param[in,out] appid Type of the MCS PDU whose header has just been read.
1179 * @return 0 for success
1180 *
1181 * For non-TLS connections, the channel join MCS PDUs are followed by
1182 * another MCS PDU. This not the case for TLS connections.
1183 *
1184 * Called when an MCS PDU header has been read, but the PDU has not
1185 * been processed.
1186 *
1187 * If the PDU is a channel join request, it is processed, and the next
1188 * PDU header is read. When we've exhausted all the channel join requests,
1189 * the type of the next PDU is passed back to the caller for the caller
1190 * to process.
1191 *
1192 * In order to cater for older clients which may not conform exactly to
1193 * the specification, we simply take all the join requests which come in,
1194 * and respond to them.
1195 *
1196 * See :-
1197 * - https://github.com/neutrinolabs/xrdp/issues/2166
1198 * - [MS-RDPBCGR] 3.2.5.3.8 and 3.2.5.3.8
1199 */
1200 static int
1201 handle_non_tls_client_channel_join_requests(struct xrdp_mcs *self,
1202 struct stream *s, int *appid)
1203 {
1204 int rv = 0;
1205 while (*appid == MCS_CJRQ)
1206 {
1207 int userid;
1208 int chanid;
1209
1210 if (!s_check_rem_and_log(s, 4, "Parsing [ITU-T T.125] "
1211 "ChannelJoinRequest"))
1212 {
1213 rv = 1;
1214 break;
1215 }
1216
1217 in_uint16_be(s, userid);
1218 in_uint16_be(s, chanid);
1219 LOG_DEVEL(LOG_LEVEL_TRACE,
1220 "Received [ITU-T T.125] ChannelJoinRequest "
1221 "initiator 0x%4.4x, channelId 0x%4.4x", userid, chanid);
1222
1223 if (xrdp_mcs_send_cjcf(self, userid, chanid) != 0)
1224 {
1225 LOG(LOG_LEVEL_WARNING,
1226 "[ITU-T T.125] Channel join sequence: failed");
1227 }
1228
1229 /* Get the next PDU header */
1230 s = libxrdp_force_read(self->iso_layer->trans);
1231 if (s == 0)
1232 {
1233 LOG(LOG_LEVEL_ERROR, "xrdp_mcs_recv: libxrdp_force_read failed");
1234 rv = 1;
1235 break;
1236 }
1237 if (get_domain_mcs_pdu_header(self, s, appid) != 0)
1238 {
1239 rv = 1;
1240 break;
1241 }
1242 }
1243
1244 return rv;
1245 }
1246
1247 /*****************************************************************************/
1248 /* Handle all client channel join requests for a TLS connection
1249 *
1250 * @param self MCS structure
1251 * @return 0 for success
1252 *
1253 * When were are about to negotiate a TLS connection, it is important that
1254 * we agree on the exact number of client join request / client join confirm
1255 * PDUs, so that we get the TLS 'client hello' message exactly when
1256 * expected.
1257 *
1258 * See [MS-RDPBCGR] 3.2.5.3.8 and 3.2.5.3.8
1259 */
1260 static int
1261 handle_tls_client_channel_join_requests(struct xrdp_mcs *self)
1262 {
1263 int index;
1264 int rv = 0;
1265
1266 static const char *tag = "[MCS Connection Sequence (TLS)]";
1267 /*
1268 * Expect a channel join request PDU for each of the static virtual
1269 * channels, plus the user channel (self->chanid) and the I/O channel
1270 * (MCS_GLOBAL_CHANNEL) */
1271 for (index = 0; index < self->channel_list->count + 2; index++)
1272 {
1273 int channel_id;
1274 LOG(LOG_LEVEL_DEBUG, "%s receive channel join request", tag);
1275 if (xrdp_mcs_recv_cjrq(self, &channel_id) != 0)
1276 {
1277 LOG(LOG_LEVEL_ERROR, "%s receive channel join request failed", tag);
1278 rv = 1;
1279 break;
1280 }
1281
1282 LOG(LOG_LEVEL_DEBUG, "%s send channel join confirm", tag);
1283 if (xrdp_mcs_send_cjcf(self, self->userid, channel_id) != 0)
1284 {
1285 LOG(LOG_LEVEL_ERROR, "%s send channel join confirm failed", tag);
1286 rv = 1;
1287 break;
1288 }
1289 }
1290
1291 return rv;
1292 }
1293
1294 /*****************************************************************************/
11771295 /* Process and send the MCS messages for the RDP Connection Sequence
11781296 * [MS-RDPBCGR] 1.3.1.1
11791297 *
11821300 int
11831301 xrdp_mcs_incoming(struct xrdp_mcs *self)
11841302 {
1185 int index;
1186
11871303 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] receive connection request");
11881304 if (xrdp_mcs_recv_connect_initial(self) != 0)
11891305 {
11981314 return 1;
11991315 }
12001316
1201 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] construct connection reponse");
1317 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] construct connection response");
12021318 if (xrdp_mcs_out_gcc_data(self->sec_layer) != 0)
12031319 {
1204 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] construct connection reponse failed");
1205 return 1;
1206 }
1207
1208 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] send connection reponse");
1320 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] construct connection response failed");
1321 return 1;
1322 }
1323
1324 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] send connection response");
12091325 if (xrdp_mcs_send_connect_response(self) != 0)
12101326 {
1211 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] send connection reponse failed");
1327 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] send connection response failed");
12121328 return 1;
12131329 }
12141330
12331349 return 1;
12341350 }
12351351
1236 for (index = 0; index < self->channel_list->count + 2; index++)
1237 {
1238 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] receive channel join request");
1239 if (xrdp_mcs_recv_cjrq(self) != 0)
1240 {
1241 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] receive channel join request failed");
1352 if (self->iso_layer->selectedProtocol > PROTOCOL_RDP)
1353 {
1354 /* TLS connection. Client and server have to agree on MCS channel
1355 * join messages, and these have to be processed before the TLS
1356 * client hello */
1357 if (handle_tls_client_channel_join_requests(self) != 0)
1358 {
12421359 return 1;
12431360 }
12441361
1245 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] send channel join confirm");
1246 if (xrdp_mcs_send_cjcf(self, self->userid,
1247 self->userid + MCS_USERCHANNEL_BASE + index) != 0)
1248 {
1249 LOG(LOG_LEVEL_ERROR, "[MCS Connection Sequence] send channel join confirm failed");
1250 return 1;
1251 }
1252 }
1253
1254 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence] completed");
1362 LOG(LOG_LEVEL_DEBUG, "[MCS Connection Sequence (TLS)] completed");
1363 }
1364 else
1365 {
1366 /* Non-TLS connection - channel joins handled in MCS PDU
1367 * processing loop */
1368 self->expecting_channel_join_requests = 1;
1369 }
1370
12551371 return 0;
12561372 }
12571373
10131013 && len_password == 0
10141014 && (sep = g_strchr(self->rdp_layer->client_info.username, '\x1f')) != NULL)
10151015 {
1016 LOG(LOG_LEVEL_DEBUG, "Client supplied a Logon token. Overwritting password with logon token.");
1016 LOG(LOG_LEVEL_DEBUG, "Client supplied a Logon token. Overwriting password with logon token.");
10171017 g_strncpy(self->rdp_layer->client_info.password, sep + 1,
10181018 sizeof(self->rdp_layer->client_info.password) - 1);
10191019 self->rdp_layer->client_info.username[sep - self->rdp_layer->client_info.username] = '\0';
10371037 if (self->rdp_layer->client_info.domain_user_separator[0] != '\0'
10381038 && self->rdp_layer->client_info.domain[0] != '\0')
10391039 {
1040 LOG(LOG_LEVEL_DEBUG, "Client supplied domain with user name. Overwritting user name with user name parsed from domain.");
1040 LOG(LOG_LEVEL_DEBUG, "Client supplied domain with user name. Overwriting user name with user name parsed from domain.");
10411041 int size = sizeof(self->rdp_layer->client_info.username);
10421042 g_strncat(self->rdp_layer->client_info.username, self->rdp_layer->client_info.domain_user_separator, size - 1 - g_strlen(self->rdp_layer->client_info.domain_user_separator));
10431043 g_strncat(self->rdp_layer->client_info.username, self->rdp_layer->client_info.domain, size - 1 - g_strlen(self->rdp_layer->client_info.domain));
10801080 {
10811081 return 1;
10821082 }
1083 /* TS_EXTENDED_INFO_PACKET requiered fields */
1083 /* TS_EXTENDED_INFO_PACKET required fields */
10841084 in_uint8s(s, 2); /* clientAddressFamily */
10851085 in_uint16_le(s, len_ip);
10861086 if (unicode_utf16_in(s, len_ip - 2, tmpdata, sizeof(tmpdata) - 1) != 0)
10991099 return 1;
11001100 }
11011101 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] TS_EXTENDED_INFO_PACKET "
1102 "<Requiered Fields> clientAddressFamily (ignored), "
1102 "<Required Fields> clientAddressFamily (ignored), "
11031103 "cbClientAddress (ignored), clientAddress (ignored), "
11041104 "cbClientDir (ignored), clientDir (ignored)");
11051105
19451945 static int
19461946 xrdp_sec_process_mcs_data_CS_CORE(struct xrdp_sec *self, struct stream *s)
19471947 {
1948 #define CS_CORE_MIN_LENGTH \
1949 (\
1950 4 + /* Version */ \
1951 2 + 2 + /* desktopWidth + desktopHeight */ \
1952 2 + 2 + /* colorDepth + SASSequence */ \
1953 4 + /* keyboardLayout */ \
1954 4 + 32 + /* clientBuild + clientName */ \
1955 4 + 4 + 4 + /* keyboardType + keyboardSubType + keyboardFunctionKey */ \
1956 64 + /* imeFileName */ \
1957 0)
1958
1959 int version;
19481960 int colorDepth;
19491961 int postBeta2ColorDepth;
19501962 int highColorDepth;
19521964 int earlyCapabilityFlags;
19531965 char clientName[INFO_CLIENT_NAME_BYTES / 2] = { '\0' };
19541966
1955 /* TS_UD_CS_CORE requiered fields */
1956 in_uint8s(s, 4); /* version */
1967 UNUSED_VAR(version);
1968
1969 /* TS_UD_CS_CORE required fields */
1970 if (!s_check_rem_and_log(s, CS_CORE_MIN_LENGTH,
1971 "Parsing [MS-RDPBCGR] TS_UD_CS_CORE"))
1972 {
1973 return 1;
1974 }
1975 in_uint32_le(s, version);
19571976 in_uint16_le(s, self->rdp_layer->client_info.width);
19581977 in_uint16_le(s, self->rdp_layer->client_info.height);
19591978 in_uint16_le(s, colorDepth);
19761995 in_uint8s(s, 4); /* keyboardFunctionKey */
19771996 in_uint8s(s, 64); /* imeFileName */
19781997 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] TS_UD_CS_CORE "
1979 "<Requiered fields> version (ignored), desktopWidth %d, "
1980 "desktopHeight %d, colorDepth %s, SASSequence (ingored), "
1998 "<Required fields> version %08x, desktopWidth %d, "
1999 "desktopHeight %d, colorDepth %s, SASSequence (ignored), "
19812000 "keyboardLayout (ignored), clientBuild (ignored), "
19822001 "clientName %s, keyboardType (ignored), "
19832002 "keyboardSubType (ignored), keyboardFunctionKey (ignored), "
1984 "imeFileName (ignroed)",
2003 "imeFileName (ignored)",
2004 version,
19852005 self->rdp_layer->client_info.width,
19862006 self->rdp_layer->client_info.height,
19872007 (colorDepth == 0xca00 ? "RNS_UD_COLOR_4BPP" :
19892009 clientName);
19902010
19912011 /* TS_UD_CS_CORE optional fields */
2012 if (!s_check_rem(s, 2))
2013 {
2014 return 0;
2015 }
19922016 in_uint16_le(s, postBeta2ColorDepth);
19932017 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] TS_UD_CS_CORE "
19942018 "<Optional Field> postBeta2ColorDepth %s",
21332157 "<Optional Field> desktopOrientation (ignored)");
21342158
21352159 return 0;
2160 #undef CS_CORE_MIN_LENGTH
21362161 }
21372162
21382163 /*****************************************************************************/
22682293 int index;
22692294 struct xrdp_client_info *client_info;
22702295 struct mcs_channel_item *channel_item;
2296 int next_mcs_channel_id;
22712297
22722298 client_info = &(self->rdp_layer->client_info);
22732299 /* this is an option set in xrdp.ini */
22892315 "max 31, received %d", num_channels);
22902316 return 1;
22912317 }
2318
2319 /* GOTCHA: When adding a channel the MCS channel ID is set to
2320 * MCS_GLOBAL_CHANNEL + (index + 1). This is assumed by
2321 * xrdp_channel_process(), when mapping an incoming PDU into an
2322 * entry in this array */
2323 next_mcs_channel_id = MCS_GLOBAL_CHANNEL + 1;
2324
22922325 for (index = 0; index < num_channels; index++)
22932326 {
22942327 channel_item = g_new0(struct mcs_channel_item, 1);
23052338 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] "
23062339 "TS_UD_CS_NET.CHANNEL_DEF %d, name %s, options 0x%8.8x",
23072340 index, channel_item->name, channel_item->flags);
2308 channel_item->chanid = MCS_GLOBAL_CHANNEL + (index + 1);
2341 channel_item->chanid = next_mcs_channel_id++;
23092342 list_add_item(self->mcs_layer->channel_list,
23102343 (intptr_t) channel_item);
23112344 LOG(LOG_LEVEL_DEBUG,
23232356 g_free(channel_item);
23242357 }
23252358 }
2359
2360 /* Set the user channel as well */
2361 self->mcs_layer->chanid = next_mcs_channel_id++;
2362 self->mcs_layer->userid = self->mcs_layer->chanid - MCS_USERCHANNEL_BASE;
2363 LOG_DEVEL(LOG_LEVEL_DEBUG, "MCS user is %d, channel id is %d",
2364 self->mcs_layer->userid, self->mcs_layer->chanid);
2365
23262366 return 0;
23272367 }
23282368
26742714 in_uint32_le(s, client_info->keyboard_type); /* [MS-RDPBCGR] TS_UD_CS_CORE keyboardType */
26752715 in_uint32_le(s, client_info->keyboard_subtype); /* [MS-RDPBCGR] TS_UD_CS_CORE keyboardSubType */
26762716 LOG_DEVEL(LOG_LEVEL_TRACE, "Received [MS-RDPBCGR] TS_UD_CS_CORE "
2677 "<Requiered fields> version (ignored), desktopWidth (ignored), "
2678 "desktopHeight (ignored), colorDepth (ignored), SASSequence (ingored), "
2717 "<Required fields> version (ignored), desktopWidth (ignored), "
2718 "desktopHeight (ignored), colorDepth (ignored), SASSequence (ignored), "
26792719 "keyboardLayout 0x%8.8x, clientBuild %d, "
26802720 "clientName %s, keyboardType 0x%8.8x, "
26812721 "keyboardSubType 0x%8.8x, keyboardFunctionKey (ignored), "
2682 "imeFileName (ignroed)",
2722 "imeFileName (ignored)",
26832723 client_info->keylayout,
26842724 client_info->build,
26852725 client_info->hostname,
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
34 package_revision=2.4.6
33 VERSION=2.4.7
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
358372 s/^$_G_bs2$_G_dollar/$_G_bs&/
359373 s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
360374 s/\n//g"
375
376 # require_check_ifs_backslash
377 # ---------------------------
378 # Check if we can use backslash as IFS='\' separator, and set
379 # $check_ifs_backshlash_broken to ':' or 'false'.
380 require_check_ifs_backslash=func_require_check_ifs_backslash
381 func_require_check_ifs_backslash ()
382 {
383 _G_save_IFS=$IFS
384 IFS='\'
385 _G_check_ifs_backshlash='a\\b'
386 for _G_i in $_G_check_ifs_backshlash
387 do
388 case $_G_i in
389 a)
390 check_ifs_backshlash_broken=false
391 ;;
392 '')
393 break
394 ;;
395 *)
396 check_ifs_backshlash_broken=:
397 break
398 ;;
399 esac
400 done
401 IFS=$_G_save_IFS
402 require_check_ifs_backslash=:
403 }
361404
362405
363406 ## ----------------- ##
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=2014-01-07.03; # 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.
15311707
15321708 case " $hookable_fns " in
15331709 *" $1 "*) ;;
1534 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
1710 *) func_fatal_error "'$1' does not support hook functions." ;;
15351711 esac
15361712
15371713 eval _G_hook_fns=\$$1_hooks; shift
15381714
15391715 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1716 func_unset "${_G_hook}_result"
1717 eval $_G_hook '${1+"$@"}'
1718 func_propagate_result $_G_hook func_run_hooks
1719 if $func_propagate_result_result; then
1720 eval set dummy "$func_run_hooks_result"; shift
1721 fi
15461722 done
1547
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
15501723 }
15511724
15521725
15561729 ## --------------- ##
15571730
15581731 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1732 # full positional parameter list from your hook function. You may remove
1733 # or edit any options that you action, and then pass back the remaining
1734 # unprocessed options in '<hooked_function_name>_result', escaped
1735 # suitably for 'eval'.
1736 #
1737 # The '<hooked_function_name>_result' variable is automatically unset
1738 # before your hook gets called; for best performance, only set the
1739 # *_result variable when necessary (i.e. don't call the 'func_quote'
1740 # function unnecessarily because it can be an expensive operation on some
1741 # machines).
1742 #
1743 # Like this:
15631744 #
15641745 # my_options_prep ()
15651746 # {
15691750 # usage_message=$usage_message'
15701751 # -s, --silent don'\''t print informational messages
15711752 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1753 # # No change in '$@' (ignored completely by this hook). Leave
1754 # # my_options_prep_result variable intact.
15751755 # }
15761756 # func_add_hook func_options_prep my_options_prep
15771757 #
15801760 # {
15811761 # $debug_cmd
15821762 #
1583 # # Note that for efficiency, we parse as many options as we can
1763 # args_changed=false
1764 #
1765 # # Note that, for efficiency, we parse as many options as we can
15841766 # # recognise in a loop before passing the remainder back to the
15851767 # # caller on the first unrecognised argument we encounter.
15861768 # while test $# -gt 0; do
15871769 # opt=$1; shift
15881770 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1771 # --silent|-s) opt_silent=:
1772 # args_changed=:
1773 # ;;
15901774 # # Separate non-argument short options:
15911775 # -s*) func_split_short_opt "$_G_opt"
15921776 # set dummy "$func_split_short_opt_name" \
15931777 # "-$func_split_short_opt_arg" ${1+"$@"}
15941778 # shift
1779 # args_changed=:
15951780 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1781 # *) # Make sure the first unrecognised option "$_G_opt"
1782 # # is added back to "$@" in case we need it later,
1783 # # if $args_changed was set to 'true'.
1784 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
15971785 # esac
15981786 # done
15991787 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1788 # # Only call 'func_quote' here if we processed at least one argument.
1789 # if $args_changed; then
1790 # func_quote eval ${1+"$@"}
1791 # my_silent_option_result=$func_quote_result
1792 # fi
16021793 # }
16031794 # func_add_hook func_parse_options my_silent_option
16041795 #
16091800 #
16101801 # $opt_silent && $opt_verbose && func_fatal_help "\
16111802 # '--silent' and '--verbose' options are mutually exclusive."
1612 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
16151803 # }
16161804 # func_add_hook func_validate_options my_option_validation
16171805 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1806 # You'll also need to manually amend $usage_message to reflect the extra
16191807 # options you parse. It's preferable to append if you can, so that
16201808 # multiple option parsing hooks can be added safely.
1809
1810
1811 # func_options_finish [ARG]...
1812 # ----------------------------
1813 # Finishing the option parse loop (call 'func_options' hooks ATM).
1814 func_options_finish ()
1815 {
1816 $debug_cmd
1817
1818 func_run_hooks func_options ${1+"$@"}
1819 func_propagate_result func_run_hooks func_options_finish
1820 }
16211821
16221822
16231823 # func_options [ARG]...
16291829 {
16301830 $debug_cmd
16311831
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1832 _G_options_quoted=false
1833
1834 for my_func in options_prep parse_options validate_options options_finish
1835 do
1836 func_unset func_${my_func}_result
1837 func_unset func_run_hooks_result
1838 eval func_$my_func '${1+"$@"}'
1839 func_propagate_result func_$my_func func_options
1840 if $func_propagate_result_result; then
1841 eval set dummy "$func_options_result"; shift
1842 _G_options_quoted=:
1843 fi
1844 done
1845
1846 $_G_options_quoted || {
1847 # As we (func_options) are top-level options-parser function and
1848 # nobody quoted "$@" for us yet, we need to do it explicitly for
1849 # caller.
1850 func_quote eval ${1+"$@"}
1851 func_options_result=$func_quote_result
1852 }
16431853 }
16441854
16451855
16481858 # All initialisations required before starting the option parse loop.
16491859 # Note that when calling hook functions, we pass through the list of
16501860 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1652 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1861 # needs to propagate that back to rest of this script, then the complete
1862 # modified list must be put in 'func_run_hooks_result' before returning.
16541863 func_hookable func_options_prep
16551864 func_options_prep ()
16561865 {
16611870 opt_warning_types=
16621871
16631872 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1873 func_propagate_result func_run_hooks func_options_prep
16671874 }
16681875
16691876
16751882 {
16761883 $debug_cmd
16771884
1678 func_parse_options_result=
1679
1885 _G_parse_options_requote=false
16801886 # this just eases exit handling
16811887 while test $# -gt 0; do
16821888 # Defer to hook functions for initial option parsing, so they
16831889 # get priority in the event of reusing an option name.
16841890 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1891 func_propagate_result func_run_hooks func_parse_options
1892 if $func_propagate_result_result; then
1893 eval set dummy "$func_parse_options_result"; shift
1894 # Even though we may have changed "$@", we passed the "$@" array
1895 # down into the hook and it quoted it for us (because we are in
1896 # this if-branch). No need to quote it again.
1897 _G_parse_options_requote=false
1898 fi
16881899
16891900 # Break out of the loop if we already parsed every option.
16901901 test $# -gt 0 || break
16911902
1903 # We expect that one of the options parsed in this function matches
1904 # and thus we remove _G_opt from "$@" and need to re-quote.
1905 _G_match_parse_options=:
16921906 _G_opt=$1
16931907 shift
16941908 case $_G_opt in
16951909 --debug|-x) debug_cmd='set -x'
1696 func_echo "enabling shell trace mode"
1910 func_echo "enabling shell trace mode" >&2
16971911 $debug_cmd
16981912 ;;
16991913
17031917 ;;
17041918
17051919 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1920 if test $# = 0 && func_missing_arg $_G_opt; then
1921 _G_parse_options_requote=:
1922 break
1923 fi
17071924 case " $warning_categories $1" in
17081925 *" $1 "*)
17091926 # trailing space prevents matching last $1 above
17561973 shift
17571974 ;;
17581975
1759 --) break ;;
1976 --) _G_parse_options_requote=: ; break ;;
17601977 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1978 *) set dummy "$_G_opt" ${1+"$@"}; shift
1979 _G_match_parse_options=false
1980 break
1981 ;;
17621982 esac
1983
1984 if $_G_match_parse_options; then
1985 _G_parse_options_requote=:
1986 fi
17631987 done
17641988
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1989 if $_G_parse_options_requote; then
1990 # save modified positional parameters for caller
1991 func_quote eval ${1+"$@"}
1992 func_parse_options_result=$func_quote_result
1993 fi
17681994 }
17691995
17701996
17812007 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17822008
17832009 func_run_hooks func_validate_options ${1+"$@"}
2010 func_propagate_result func_run_hooks func_validate_options
17842011
17852012 # Bail if the options were screwed!
17862013 $exit_cmd $EXIT_FAILURE
1787
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
17902014 }
17912015
17922016
18422066
18432067 # func_split_equals STRING
18442068 # ------------------------
1845 # Set func_split_equals_lhs and func_split_equals_rhs shell variables after
1846 # splitting STRING at the '=' sign.
2069 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2070 # after splitting STRING at the '=' sign.
18472071 test -z "$_G_HAVE_XSI_OPS" \
18482072 && (eval 'x=a/b/c;
18492073 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
18582082
18592083 func_split_equals_lhs=${1%%=*}
18602084 func_split_equals_rhs=${1#*=}
1861 test "x$func_split_equals_lhs" = "x$1" \
1862 && func_split_equals_rhs=
2085 if test "x$func_split_equals_lhs" = "x$1"; then
2086 func_split_equals_rhs=
2087 fi
18632088 }'
18642089 else
18652090 # ...otherwise fall back to using expr, which is often a shell builtin.
18692094
18702095 func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
18712096 func_split_equals_rhs=
1872 test "x$func_split_equals_lhs" = "x$1" \
2097 test "x$func_split_equals_lhs=" = "x$1" \
18732098 || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
18742099 }
18752100 fi #func_split_equals
18952120 {
18962121 $debug_cmd
18972122
1898 func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
2123 func_split_short_opt_name=`expr "x$1" : 'x\(-.\)'`
18992124 func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
19002125 }
19012126 fi #func_split_short_opt
19372162 # func_version
19382163 # ------------
19392164 # Echo version message to standard output and exit.
2165 # The version message is extracted from the calling file's header
2166 # comments, with leading '# ' stripped:
2167 # 1. First display the progname and version
2168 # 2. Followed by the header comment line matching /^# Written by /
2169 # 3. Then a blank line followed by the first following line matching
2170 # /^# Copyright /
2171 # 4. Immediately followed by any lines between the previous matches,
2172 # except lines preceding the intervening completely blank line.
2173 # For example, see the header comments of this file.
19402174 func_version ()
19412175 {
19422176 $debug_cmd
19432177
19442178 printf '%s\n' "$progname $scriptversion"
19452179 $SED -n '
1946 /(C)/!b go
1947 :more
1948 /\./!{
1949 N
1950 s|\n# | |
1951 b more
2180 /^# Written by /!b
2181 s|^# ||; p; n
2182
2183 :fwd2blnk
2184 /./ {
2185 n
2186 b fwd2blnk
19522187 }
1953 :go
1954 /^# Written by /,/# warranty; / {
1955 s|^# ||
1956 s|^# *$||
1957 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
1958 p
2188 p; n
2189
2190 :holdwrnt
2191 s|^# ||
2192 s|^# *$||
2193 /^Copyright /!{
2194 /./H
2195 n
2196 b holdwrnt
19592197 }
1960 /^# Written by / {
1961 s|^# ||
1962 p
1963 }
1964 /^warranty; /q' < "$progpath"
2198
2199 s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2200 G
2201 s|\(\n\)\n*|\1|g
2202 p; q' < "$progpath"
19652203
19662204 exit $?
19672205 }
19712209 # mode: shell-script
19722210 # sh-indentation: 2
19732211 # eval: (add-hook 'before-save-hook 'time-stamp)
1974 # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2212 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
19752213 # time-stamp-time-zone: "UTC"
19762214 # End:
19772215
19782216 # Set a version string.
1979 scriptversion='(GNU libtool) 2.4.6'
2217 scriptversion='(GNU libtool) 2.4.7'
19802218
19812219
19822220 # func_echo ARG...
20672305 compiler: $LTCC
20682306 compiler flags: $LTCFLAGS
20692307 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname (GNU libtool) 2.4.6
2308 version: $progname (GNU libtool) 2.4.7
20712309 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
20722310 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20732311
21232361 # a configuration failure hint, and exit.
21242362 func_fatal_configuration ()
21252363 {
2126 func__fatal_error ${1+"$@"} \
2364 func_fatal_error ${1+"$@"} \
21272365 "See the $PACKAGE documentation for more information." \
21282366 "Fatal configuration error."
21292367 }
22692507 nonopt=
22702508 preserve_args=
22712509
2510 _G_rc_lt_options_prep=:
2511
22722512 # Shorthand for --mode=foo, only valid as the first argument
22732513 case $1 in
22742514 clean|clea|cle|cl)
22922532 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
22932533 shift; set dummy --mode uninstall ${1+"$@"}; shift
22942534 ;;
2535 *)
2536 _G_rc_lt_options_prep=false
2537 ;;
22952538 esac
22962539
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2540 if $_G_rc_lt_options_prep; then
2541 # Pass back the list of options.
2542 func_quote eval ${1+"$@"}
2543 libtool_options_prep_result=$func_quote_result
2544 fi
23002545 }
23012546 func_add_hook func_options_prep libtool_options_prep
23022547
23082553 {
23092554 $debug_cmd
23102555
2556 _G_rc_lt_parse_options=false
2557
23112558 # Perform our own loop to consume as many options as possible in
23122559 # each iteration.
23132560 while test $# -gt 0; do
2561 _G_match_lt_parse_options=:
23142562 _G_opt=$1
23152563 shift
23162564 case $_G_opt in
23852633 func_append preserve_args " $_G_opt"
23862634 ;;
23872635
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2636 # An option not handled by this hook function:
2637 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2638 _G_match_lt_parse_options=false
2639 break
2640 ;;
23902641 esac
2642 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
23912643 done
23922644
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2645 if $_G_rc_lt_parse_options; then
2646 # save modified positional parameters for caller
2647 func_quote eval ${1+"$@"}
2648 libtool_parse_options_result=$func_quote_result
2649 fi
23972650 }
23982651 func_add_hook func_parse_options libtool_parse_options
23992652
24502703 }
24512704
24522705 # Pass back the unparsed argument list
2453 func_quote_for_eval ${1+"$@"}
2454 libtool_validate_options_result=$func_quote_for_eval_result
2706 func_quote eval ${1+"$@"}
2707 libtool_validate_options_result=$func_quote_result
24552708 }
24562709 func_add_hook func_validate_options libtool_validate_options
24572710
34173670 esac
34183671 done
34193672
3420 func_quote_for_eval "$libobj"
3421 test "X$libobj" != "X$func_quote_for_eval_result" \
3673 func_quote_arg pretty "$libobj"
3674 test "X$libobj" != "X$func_quote_arg_result" \
34223675 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
34233676 && func_warning "libobj name '$libobj' may not contain shell special characters."
34243677 func_dirname_and_basename "$obj" "/" ""
34913744
34923745 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
34933746 srcfile=$func_to_tool_file_result
3494 func_quote_for_eval "$srcfile"
3495 qsrcfile=$func_quote_for_eval_result
3747 func_quote_arg pretty "$srcfile"
3748 qsrcfile=$func_quote_arg_result
34963749
34973750 # Only build a PIC object if we are building libtool libraries.
34983751 if test yes = "$build_libtool_libs"; then
36473900 -prefer-non-pic try to build non-PIC objects only
36483901 -shared do not build a '.o' file suitable for static linking
36493902 -static only build a '.o' file suitable for static linking
3650 -Wc,FLAG pass FLAG directly to the compiler
3903 -Wc,FLAG
3904 -Xcompiler FLAG pass FLAG directly to the compiler
36513905
36523906 COMPILE-COMMAND is a command to be used in creating a 'standard' object file
36533907 from the given SOURCEFILE.
37534007 -weak LIBNAME declare that the target provides the LIBNAME interface
37544008 -Wc,FLAG
37554009 -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
4010 -Wa,FLAG
4011 -Xassembler FLAG pass linker-specific FLAG directly to the assembler
37564012 -Wl,FLAG
37574013 -Xlinker FLAG pass linker-specific FLAG directly to the linker
37584014 -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
40954351 case $nonopt in *shtool*) :;; *) false;; esac
40964352 then
40974353 # Aesthetically quote it.
4098 func_quote_for_eval "$nonopt"
4099 install_prog="$func_quote_for_eval_result "
4354 func_quote_arg pretty "$nonopt"
4355 install_prog="$func_quote_arg_result "
41004356 arg=$1
41014357 shift
41024358 else
41064362
41074363 # The real first argument should be the name of the installation program.
41084364 # Aesthetically quote it.
4109 func_quote_for_eval "$arg"
4110 func_append install_prog "$func_quote_for_eval_result"
4365 func_quote_arg pretty "$arg"
4366 func_append install_prog "$func_quote_arg_result"
41114367 install_shared_prog=$install_prog
41124368 case " $install_prog " in
41134369 *[\\\ /]cp\ *) install_cp=: ;;
41644420 esac
41654421
41664422 # Aesthetically quote the argument.
4167 func_quote_for_eval "$arg"
4168 func_append install_prog " $func_quote_for_eval_result"
4423 func_quote_arg pretty "$arg"
4424 func_append install_prog " $func_quote_arg_result"
41694425 if test -n "$arg2"; then
4170 func_quote_for_eval "$arg2"
4426 func_quote_arg pretty "$arg2"
41714427 fi
4172 func_append install_shared_prog " $func_quote_for_eval_result"
4428 func_append install_shared_prog " $func_quote_arg_result"
41734429 done
41744430
41754431 test -z "$install_prog" && \
41804436
41814437 if test -n "$install_override_mode" && $no_mode; then
41824438 if $install_cp; then :; else
4183 func_quote_for_eval "$install_override_mode"
4184 func_append install_shared_prog " -m $func_quote_for_eval_result"
4439 func_quote_arg pretty "$install_override_mode"
4440 func_append install_shared_prog " -m $func_quote_arg_result"
41854441 fi
41864442 fi
41874443
44774733 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
44784734
44794735 $opt_quiet || {
4480 func_quote_for_expand "$relink_command"
4481 eval "func_echo $func_quote_for_expand_result"
4736 func_quote_arg expand,pretty "$relink_command"
4737 eval "func_echo $func_quote_arg_result"
44824738 }
44834739 if eval "$relink_command"; then :
44844740 else
52575513 if test \"\$libtool_execute_magic\" != \"$magic\"; then
52585514 file=\"\$0\""
52595515
5260 qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
5516 func_quote_arg pretty "$ECHO"
5517 qECHO=$func_quote_arg_result
52615518 $ECHO "\
52625519
52635520 # A function that is used when there is no print builtin or printf.
52675524 \$1
52685525 _LTECHO_EOF'
52695526 }
5270 ECHO=\"$qECHO\"
5527 ECHO=$qECHO
52715528 fi
52725529
52735530 # Very basic option parsing. These options are (a) specific to
66106867 while test "$#" -gt 0; do
66116868 arg=$1
66126869 shift
6613 func_quote_for_eval "$arg"
6614 qarg=$func_quote_for_eval_unquoted_result
6615 func_append libtool_args " $func_quote_for_eval_result"
6870 func_quote_arg pretty,unquoted "$arg"
6871 qarg=$func_quote_arg_unquoted_result
6872 func_append libtool_args " $func_quote_arg_result"
66166873
66176874 # If the previous option needs an argument, assign it.
66186875 if test -n "$prev"; then
68487105 prev=
68497106 continue
68507107 ;;
7108 xassembler)
7109 func_append compiler_flags " -Xassembler $qarg"
7110 prev=
7111 func_append compile_command " -Xassembler $qarg"
7112 func_append finalize_command " -Xassembler $qarg"
7113 continue
7114 ;;
68517115 xcclinker)
68527116 func_append linker_flags " $qarg"
68537117 func_append compiler_flags " $qarg"
70187282 # These systems don't actually have a C library (as such)
70197283 test X-lc = "X$arg" && continue
70207284 ;;
7021 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7285 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70227286 # Do not include libc due to us having libc/libc_r.
70237287 test X-lc = "X$arg" && continue
70247288 ;;
70387302 esac
70397303 elif test X-lc_r = "X$arg"; then
70407304 case $host in
7041 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
7305 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
70427306 # Do not include libc_r directly, use -pthread flag.
70437307 continue
70447308 ;;
70687332 prev=xcompiler
70697333 continue
70707334 ;;
7071
7072 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
7335 # Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
7336 -pthread)
7337 case $host in
7338 *solaris2*) ;;
7339 *)
7340 case "$new_inherited_linker_flags " in
7341 *" $arg "*) ;;
7342 * ) func_append new_inherited_linker_flags " $arg" ;;
7343 esac
7344 ;;
7345 esac
7346 continue
7347 ;;
7348 -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
70737349 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
70747350 func_append compiler_flags " $arg"
70757351 func_append compile_command " $arg"
72107486 save_ifs=$IFS; IFS=,
72117487 for flag in $args; do
72127488 IFS=$save_ifs
7213 func_quote_for_eval "$flag"
7214 func_append arg " $func_quote_for_eval_result"
7215 func_append compiler_flags " $func_quote_for_eval_result"
7489 func_quote_arg pretty "$flag"
7490 func_append arg " $func_quote_arg_result"
7491 func_append compiler_flags " $func_quote_arg_result"
72167492 done
72177493 IFS=$save_ifs
72187494 func_stripname ' ' '' "$arg"
72267502 save_ifs=$IFS; IFS=,
72277503 for flag in $args; do
72287504 IFS=$save_ifs
7229 func_quote_for_eval "$flag"
7230 func_append arg " $wl$func_quote_for_eval_result"
7231 func_append compiler_flags " $wl$func_quote_for_eval_result"
7232 func_append linker_flags " $func_quote_for_eval_result"
7505 func_quote_arg pretty "$flag"
7506 func_append arg " $wl$func_quote_arg_result"
7507 func_append compiler_flags " $wl$func_quote_arg_result"
7508 func_append linker_flags " $func_quote_arg_result"
72337509 done
72347510 IFS=$save_ifs
72357511 func_stripname ' ' '' "$arg"
72367512 arg=$func_stripname_result
72377513 ;;
72387514
7515 -Xassembler)
7516 prev=xassembler
7517 continue
7518 ;;
7519
72397520 -Xcompiler)
72407521 prev=xcompiler
72417522 continue
72537534
72547535 # -msg_* for osf cc
72557536 -msg_*)
7256 func_quote_for_eval "$arg"
7257 arg=$func_quote_for_eval_result
7537 func_quote_arg pretty "$arg"
7538 arg=$func_quote_arg_result
72587539 ;;
72597540
72607541 # Flags to be passed through unchanged, with rationale:
72717552 # -tp=* Portland pgcc target processor selection
72727553 # --sysroot=* for sysroot support
72737554 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7555 # -specs=* GCC specs files
72747556 # -stdlib=* select c++ std lib with clang
7557 # -fsanitize=* Clang/GCC memory and address sanitizer
7558 # -fuse-ld=* Linker select flags for GCC
7559 # -Wa,* Pass flags directly to the assembler
72757560 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72767561 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7277 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
7278 func_quote_for_eval "$arg"
7279 arg=$func_quote_for_eval_result
7562 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7563 -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
7564 func_quote_arg pretty "$arg"
7565 arg=$func_quote_arg_result
72807566 func_append compile_command " $arg"
72817567 func_append finalize_command " $arg"
72827568 func_append compiler_flags " $arg"
72977583 continue
72987584 else
72997585 # Otherwise treat like 'Some other compiler flag' below
7300 func_quote_for_eval "$arg"
7301 arg=$func_quote_for_eval_result
7586 func_quote_arg pretty "$arg"
7587 arg=$func_quote_arg_result
73027588 fi
73037589 ;;
73047590
73057591 # Some other compiler flag.
73067592 -* | +*)
7307 func_quote_for_eval "$arg"
7308 arg=$func_quote_for_eval_result
7593 func_quote_arg pretty "$arg"
7594 arg=$func_quote_arg_result
73097595 ;;
73107596
73117597 *.$objext)
74257711 *)
74267712 # Unknown arguments in both finalize_command and compile_command need
74277713 # to be aesthetically quoted because they are evaled later.
7428 func_quote_for_eval "$arg"
7429 arg=$func_quote_for_eval_result
7714 func_quote_arg pretty "$arg"
7715 arg=$func_quote_arg_result
74307716 ;;
74317717 esac # arg
74327718
86318917 test CXX = "$tagname" && {
86328918 case $host_os in
86338919 linux*)
8634 case `$CC -V 2>&1 | sed 5q` in
8920 case `$CC -V 2>&1 | $SED 5q` in
86358921 *Sun\ C*) # Sun C++ 5.9
86368922 func_suncc_cstd_abi
86378923
88049090 #
88059091 case $version_type in
88069092 # correct linux to gnu/linux during the next big refactor
8807 darwin|freebsd-elf|linux|osf|windows|none)
9093 darwin|freebsd-elf|linux|midnightbsd-elf|osf|windows|none)
88089094 func_arith $number_major + $number_minor
88099095 current=$func_arith_result
88109096 age=$number_minor
88959181 versuffix=.$current.$revision
88969182 ;;
88979183
8898 freebsd-elf)
9184 freebsd-elf | midnightbsd-elf)
88999185 func_arith $current - $age
89009186 major=.$func_arith_result
89019187 versuffix=$major.$age.$revision
91219407 *-*-netbsd*)
91229408 # Don't link with libc until the a.out ld.so is fixed.
91239409 ;;
9124 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9410 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
91259411 # Do not include libc due to us having libc/libc_r.
91269412 ;;
91279413 *-*-sco3.2v5* | *-*-sco5v6*)
993210218 for cmd in $concat_cmds; do
993310219 IFS=$save_ifs
993410220 $opt_quiet || {
9935 func_quote_for_expand "$cmd"
9936 eval "func_echo $func_quote_for_expand_result"
10221 func_quote_arg expand,pretty "$cmd"
10222 eval "func_echo $func_quote_arg_result"
993710223 }
993810224 $opt_dry_run || eval "$cmd" || {
993910225 lt_exit=$?
1002610312 eval cmd=\"$cmd\"
1002710313 IFS=$save_ifs
1002810314 $opt_quiet || {
10029 func_quote_for_expand "$cmd"
10030 eval "func_echo $func_quote_for_expand_result"
10315 func_quote_arg expand,pretty "$cmd"
10316 eval "func_echo $func_quote_arg_result"
1003110317 }
1003210318 $opt_dry_run || eval "$cmd" || {
1003310319 lt_exit=$?
1050110787 elif eval var_value=\$$var; test -z "$var_value"; then
1050210788 relink_command="$var=; export $var; $relink_command"
1050310789 else
10504 func_quote_for_eval "$var_value"
10505 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
10790 func_quote_arg pretty "$var_value"
10791 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
1050610792 fi
1050710793 done
10508 relink_command="(cd `pwd`; $relink_command)"
10509 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
10794 func_quote eval cd "`pwd`"
10795 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
10796 relink_command=$func_quote_arg_unquoted_result
1051010797 fi
1051110798
1051210799 # Only actually do things if not in dry run mode.
1074611033 elif eval var_value=\$$var; test -z "$var_value"; then
1074711034 relink_command="$var=; export $var; $relink_command"
1074811035 else
10749 func_quote_for_eval "$var_value"
10750 relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
11036 func_quote_arg pretty,unquoted "$var_value"
11037 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
1075111038 fi
1075211039 done
1075311040 # Quote the link command for shipping.
10754 relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
10755 relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
11041 func_quote eval cd "`pwd`"
11042 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
11043 func_quote_arg pretty,unquoted "$relink_command"
11044 relink_command=$func_quote_arg_unquoted_result
1075611045 if test yes = "$hardcode_automatic"; then
1075711046 relink_command=
1075811047 fi
00 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
11 #
2 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
2 # Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
3 # Foundation, Inc.
34 # Written by Gordon Matzigkeit, 1996
45 #
56 # This file is free software; the Free Software Foundation gives
3031 # along with this program. If not, see <http://www.gnu.org/licenses/>.
3132 ])
3233
33 # serial 58 LT_INIT
34 # serial 59 LT_INIT
3435
3536
3637 # LT_PREREQ(VERSION)
180181 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
181182 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
182183 m4_require([_LT_CMD_RELOAD])dnl
184 m4_require([_LT_DECL_FILECMD])dnl
183185 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
184186 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
185187 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
218220 ofile=libtool
219221 can_build_shared=yes
220222
221 # All known linkers require a '.a' archive for static linking (except MSVC,
222 # which needs '.lib').
223 # All known linkers require a '.a' archive for static linking (except MSVC and
224 # ICC, which need '.lib').
223225 libext=a
224226
225227 with_gnu_ld=$lt_cv_prog_gnu_ld
777779 # if finds mixed CR/LF and LF-only lines. Since sed operates in
778780 # text mode, it properly converts lines to CR/LF. This bash problem
779781 # is reportedly fixed, but why not run on old versions too?
780 sed '$q' "$ltmain" >> "$cfgfile" \
782 $SED '$q' "$ltmain" >> "$cfgfile" \
781783 || (rm -f "$cfgfile"; exit 1)
782784
783785 mv -f "$cfgfile" "$ofile" ||
10411043 _LT_EOF
10421044 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10431045 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1044 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1045 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1046 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1047 $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10461048 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10471049 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10481050 cat > conftest.c << _LT_EOF
10661068 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10671069 darwin1.*)
10681070 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1069 darwin*) # darwin 5.x on
1070 # if running on 10.5 or later, the deployment target defaults
1071 # to the OS version, if on x86, and 10.4, the deployment
1072 # target defaults to 10.4. Don't you love it?
1073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1074 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1075 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1076 10.[[012]][[,.]]*)
1077 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1078 10.*)
1079 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1071 darwin*)
1072 case $MACOSX_DEPLOYMENT_TARGET,$host in
1073 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
1074 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1075 *)
1076 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10801077 esac
10811078 ;;
10821079 esac
11251122 output_verbose_link_cmd=func_echo_all
11261123 _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"
11271124 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
1128 _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"
1129 _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"
1125 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
1126 _LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11301127 m4_if([$1], [CXX],
11311128 [ if test yes != "$lt_cv_apple_cc_single_mod"; then
11321129 _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"
1133 _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"
1130 _LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
11341131 fi
11351132 ],[])
11361133 else
12441241 # _LT_WITH_SYSROOT
12451242 # ----------------
12461243 AC_DEFUN([_LT_WITH_SYSROOT],
1247 [AC_MSG_CHECKING([for sysroot])
1244 [m4_require([_LT_DECL_SED])dnl
1245 AC_MSG_CHECKING([for sysroot])
12481246 AC_ARG_WITH([sysroot],
12491247 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
12501248 [Search for dependent libraries within DIR (or the compiler's sysroot
12611259 fi
12621260 ;; #(
12631261 /*)
1264 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
1262 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
12651263 ;; #(
12661264 no|'')
12671265 ;; #(
12911289 # options accordingly.
12921290 echo 'int i;' > conftest.$ac_ext
12931291 if AC_TRY_EVAL(ac_compile); then
1294 case `/usr/bin/file conftest.$ac_objext` in
1292 case `$FILECMD conftest.$ac_objext` in
12951293 *ELF-32*)
12961294 HPUX_IA64_MODE=32
12971295 ;;
13081306 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13091307 if AC_TRY_EVAL(ac_compile); then
13101308 if test yes = "$lt_cv_prog_gnu_ld"; then
1311 case `/usr/bin/file conftest.$ac_objext` in
1309 case `$FILECMD conftest.$ac_objext` in
13121310 *32-bit*)
13131311 LD="${LD-ld} -melf32bsmip"
13141312 ;;
13201318 ;;
13211319 esac
13221320 else
1323 case `/usr/bin/file conftest.$ac_objext` in
1321 case `$FILECMD conftest.$ac_objext` in
13241322 *32-bit*)
13251323 LD="${LD-ld} -32"
13261324 ;;
13421340 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
13431341 if AC_TRY_EVAL(ac_compile); then
13441342 emul=elf
1345 case `/usr/bin/file conftest.$ac_objext` in
1343 case `$FILECMD conftest.$ac_objext` in
13461344 *32-bit*)
13471345 emul="${emul}32"
13481346 ;;
13501348 emul="${emul}64"
13511349 ;;
13521350 esac
1353 case `/usr/bin/file conftest.$ac_objext` in
1351 case `$FILECMD conftest.$ac_objext` in
13541352 *MSB*)
13551353 emul="${emul}btsmip"
13561354 ;;
13581356 emul="${emul}ltsmip"
13591357 ;;
13601358 esac
1361 case `/usr/bin/file conftest.$ac_objext` in
1359 case `$FILECMD conftest.$ac_objext` in
13621360 *N32*)
13631361 emul="${emul}n32"
13641362 ;;
13781376 # not appear in the list.
13791377 echo 'int i;' > conftest.$ac_ext
13801378 if AC_TRY_EVAL(ac_compile); then
1381 case `/usr/bin/file conftest.o` in
1379 case `$FILECMD conftest.o` in
13821380 *32-bit*)
13831381 case $host in
13841382 x86_64-*kfreebsd*-gnu)
13851383 LD="${LD-ld} -m elf_i386_fbsd"
13861384 ;;
13871385 x86_64-*linux*)
1388 case `/usr/bin/file conftest.o` in
1386 case `$FILECMD conftest.o` in
13891387 *x86-64*)
13901388 LD="${LD-ld} -m elf32_x86_64"
13911389 ;;
14531451 # options accordingly.
14541452 echo 'int i;' > conftest.$ac_ext
14551453 if AC_TRY_EVAL(ac_compile); then
1456 case `/usr/bin/file conftest.o` in
1454 case `$FILECMD conftest.o` in
14571455 *64-bit*)
14581456 case $lt_cv_prog_gnu_ld in
14591457 yes*)
14921490 m4_defun([_LT_PROG_AR],
14931491 [AC_CHECK_TOOLS(AR, [ar], false)
14941492 : ${AR=ar}
1495 : ${AR_FLAGS=cru}
14961493 _LT_DECL([], [AR], [1], [The archiver])
1497 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
1494
1495 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
1496 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
1497 # higher priority because thats what people were doing historically (setting
1498 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
1499 # variable obsoleted/removed.
1500
1501 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
1502 lt_ar_flags=$AR_FLAGS
1503 _LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
1504
1505 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
1506 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1507 _LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
1508 [Flags to create an archive])
14981509
14991510 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
15001511 [lt_cv_ar_at_file=no
17131724 lt_cv_sys_max_cmd_len=8192;
17141725 ;;
17151726
1716 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1727 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
17171728 # This has been around since 386BSD, at least. Likely further.
17181729 if test -x /sbin/sysctl; then
17191730 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17561767 sysv5* | sco5v6* | sysv4.2uw2*)
17571768 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17581769 if test -n "$kargmax"; then
1759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1770 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
17601771 else
17611772 lt_cv_sys_max_cmd_len=32768
17621773 fi
22062217 striplib=
22072218 old_striplib=
22082219 AC_MSG_CHECKING([whether stripping libraries is possible])
2209 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2210 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2211 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2212 AC_MSG_RESULT([yes])
2220 if test -z "$STRIP"; then
2221 AC_MSG_RESULT([no])
22132222 else
2214 # FIXME - insert some real tests, host_os isn't really good enough
2215 case $host_os in
2216 darwin*)
2217 if test -n "$STRIP"; then
2223 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
2224 old_striplib="$STRIP --strip-debug"
2225 striplib="$STRIP --strip-unneeded"
2226 AC_MSG_RESULT([yes])
2227 else
2228 case $host_os in
2229 darwin*)
2230 # FIXME - insert some real tests, host_os isn't really good enough
22182231 striplib="$STRIP -x"
22192232 old_striplib="$STRIP -S"
22202233 AC_MSG_RESULT([yes])
2221 else
2234 ;;
2235 freebsd*)
2236 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
2237 old_striplib="$STRIP --strip-debug"
2238 striplib="$STRIP --strip-unneeded"
2239 AC_MSG_RESULT([yes])
2240 else
2241 AC_MSG_RESULT([no])
2242 fi
2243 ;;
2244 *)
22222245 AC_MSG_RESULT([no])
2223 fi
2224 ;;
2225 *)
2226 AC_MSG_RESULT([no])
2227 ;;
2228 esac
2246 ;;
2247 esac
2248 fi
22292249 fi
22302250 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
22312251 _LT_DECL([], [striplib], [1])
25482568 case $host_os in
25492569 cygwin*)
25502570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2551 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2571 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25522572 m4_if([$1], [],[
25532573 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
25542574 ;;
25582578 ;;
25592579 pw32*)
25602580 # pw32 DLLs use 'pw' prefix rather than 'lib'
2561 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
2581 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25622582 ;;
25632583 esac
25642584 dynamic_linker='Win32 ld.exe'
25652585 ;;
25662586
2567 *,cl*)
2568 # Native MSVC
2587 *,cl* | *,icl*)
2588 # Native MSVC or ICC
25692589 libname_spec='$name'
25702590 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
25712591 library_names_spec='$libname.dll.lib'
25842604 done
25852605 IFS=$lt_save_ifs
25862606 # Convert to MSYS style.
2587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
2607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
25882608 ;;
25892609 cygwin*)
25902610 # Convert to unix form, then to dos form, then back to unix form
26212641 ;;
26222642
26232643 *)
2624 # Assume MSVC wrapper
2644 # Assume MSVC and ICC wrapper
26252645 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
26262646 dynamic_linker='Win32 ld.exe'
26272647 ;;
26542674 shlibpath_var=LD_LIBRARY_PATH
26552675 ;;
26562676
2657 freebsd* | dragonfly*)
2677 freebsd* | dragonfly* | midnightbsd*)
26582678 # DragonFly does not have aout. When/if they implement a new
26592679 # versioning mechanism, adjust this.
26602680 if test -x /usr/bin/objformat; then
34533473
34543474 bsdi[[45]]*)
34553475 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3456 lt_cv_file_magic_cmd='/usr/bin/file -L'
3476 lt_cv_file_magic_cmd='$FILECMD -L'
34573477 lt_cv_file_magic_test_file=/shlib/libc.so
34583478 ;;
34593479
34873507 lt_cv_deplibs_check_method=pass_all
34883508 ;;
34893509
3490 freebsd* | dragonfly*)
3510 freebsd* | dragonfly* | midnightbsd*)
34913511 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34923512 case $host_cpu in
34933513 i*86 )
34943514 # Not sure whether the presence of OpenBSD here was a mistake.
34953515 # Let's accept both of them until this is cleared up.
34963516 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3497 lt_cv_file_magic_cmd=/usr/bin/file
3517 lt_cv_file_magic_cmd=$FILECMD
34983518 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
34993519 ;;
35003520 esac
35083528 ;;
35093529
35103530 hpux10.20* | hpux11*)
3511 lt_cv_file_magic_cmd=/usr/bin/file
3531 lt_cv_file_magic_cmd=$FILECMD
35123532 case $host_cpu in
35133533 ia64*)
35143534 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
35553575
35563576 newos6*)
35573577 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3558 lt_cv_file_magic_cmd=/usr/bin/file
3578 lt_cv_file_magic_cmd=$FILECMD
35593579 lt_cv_file_magic_test_file=/usr/lib/libnls.so
35603580 ;;
35613581
36823702 mingw*) lt_bad_file=conftest.nm/nofile ;;
36833703 *) lt_bad_file=/dev/null ;;
36843704 esac
3685 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3705 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
36863706 *$lt_bad_file* | *'Invalid file or object type'*)
36873707 lt_cv_path_NM="$tmp_nm -B"
36883708 break 2
36893709 ;;
36903710 *)
3691 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3711 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
36923712 */dev/null*)
36933713 lt_cv_path_NM="$tmp_nm -p"
36943714 break 2
37143734 # Let the user override the test.
37153735 else
37163736 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
3717 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3737 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
37183738 *COFF*)
37193739 DUMPBIN="$DUMPBIN -symbols -headers"
37203740 ;;
39543974
39553975 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
39563976 # Gets list of data symbols to import.
3957 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
3977 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
39583978 # Adjust the below global symbol transforms to fixup imported variables.
39593979 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
39603980 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
39723992 # Transform an extracted symbol line into a proper C declaration.
39733993 # Some systems (esp. on ia64) link data and code symbols differently,
39743994 # so use this general approach.
3975 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
3995 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
39763996 $lt_cdecl_hook\
39773997 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
39783998 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
39793999
39804000 # Transform an extracted symbol line into symbol name and symbol address
3981 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
4001 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
39824002 $lt_c_name_hook\
39834003 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39844004 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
39854005
39864006 # Transform an extracted symbol line into symbol name with lib prefix and
39874007 # symbol address.
3988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
4008 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
39894009 $lt_c_name_lib_hook\
39904010 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
39914011 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
40094029 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
40104030 # Fake it for dumpbin and say T for any non-static function,
40114031 # D for any global variable and I for any imported variable.
4012 # Also find C++ and __fastcall symbols from MSVC++,
4032 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
40134033 # which start with @ or ?.
40144034 lt_cv_sys_global_symbol_pipe="$AWK ['"\
40154035 " {last_section=section; section=\$ 3};"\
40274047 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
40284048 " ' prfx=^$ac_symprfx]"
40294049 else
4030 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4050 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
40314051 fi
4032 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
4052 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
40334053
40344054 # Check to see that the pipe works correctly.
40354055 pipe_works=no
43164336 ;;
43174337 esac
43184338 ;;
4319 freebsd* | dragonfly*)
4339 freebsd* | dragonfly* | midnightbsd*)
43204340 # FreeBSD uses GNU C++
43214341 ;;
43224342 hpux9* | hpux10* | hpux11*)
43994419 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
44004420 ;;
44014421 *)
4402 case `$CC -V 2>&1 | sed 5q` in
4422 case `$CC -V 2>&1 | $SED 5q` in
44034423 *Sun\ C*)
44044424 # Sun C++ 5.9
44054425 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47354755 _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
47364756 ;;
47374757 *)
4738 case `$CC -V 2>&1 | sed 5q` in
4758 case `$CC -V 2>&1 | $SED 5q` in
47394759 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
47404760 # Sun Fortran 8.3 passes all unrecognized flags to the linker
47414761 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
49184938 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
49194939 _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'
49204940 else
4921 _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'
4941 _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'
49224942 fi
49234943 ;;
49244944 pw32*)
49264946 ;;
49274947 cygwin* | mingw* | cegcc*)
49284948 case $cc_basename in
4929 cl*)
4949 cl* | icl*)
49304950 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
49314951 ;;
49324952 *)
49835003
49845004 case $host_os in
49855005 cygwin* | mingw* | pw32* | cegcc*)
4986 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5006 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
49875007 # When not using gcc, we currently assume that we are using
4988 # Microsoft Visual C++.
5008 # Microsoft Visual C++ or Intel C++ Compiler.
49895009 if test yes != "$GCC"; then
49905010 with_gnu_ld=no
49915011 fi
49925012 ;;
49935013 interix*)
4994 # we just hope/assume this is gcc and not c89 (= MSVC++)
5014 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
49955015 with_gnu_ld=yes
49965016 ;;
49975017 openbsd* | bitrig*)
50435063 _LT_TAGVAR(whole_archive_flag_spec, $1)=
50445064 fi
50455065 supports_anon_versioning=no
5046 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
5066 case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
50475067 *GNU\ gold*) supports_anon_versioning=yes ;;
50485068 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
50495069 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
51555175 emximp -o $lib $output_objdir/$libname.def'
51565176 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
51575177 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5178 _LT_TAGVAR(file_list_spec, $1)='@'
51585179 ;;
51595180
51605181 interix[[3-9]]*)
51695190 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
51705191 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
51715192 _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'
5172 _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'
5193 _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'
51735194 ;;
51745195
51755196 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
52125233 _LT_TAGVAR(compiler_needs_object, $1)=yes
52135234 ;;
52145235 esac
5215 case `$CC -V 2>&1 | sed 5q` in
5236 case `$CC -V 2>&1 | $SED 5q` in
52165237 *Sun\ C*) # Sun C 5.9
52175238 _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'
52185239 _LT_TAGVAR(compiler_needs_object, $1)=yes
52245245
52255246 if test yes = "$supports_anon_versioning"; then
52265247 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5248 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52285249 echo "local: *; };" >> $output_objdir/$libname.ver~
52295250 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
52305251 fi
52405261 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
52415262 if test yes = "$supports_anon_versioning"; then
52425263 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5264 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
52445265 echo "local: *; };" >> $output_objdir/$libname.ver~
52455266 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
52465267 fi
53725393 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
53735394 _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'
53745395 else
5375 _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'
5396 _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'
53765397 fi
53775398 aix_use_runtimelinking=no
53785399
55555576
55565577 cygwin* | mingw* | pw32* | cegcc*)
55575578 # When not using gcc, we currently assume that we are using
5558 # Microsoft Visual C++.
5579 # Microsoft Visual C++ or Intel C++ Compiler.
55595580 # hardcode_libdir_flag_spec is actually meaningless, as there is
55605581 # no search path for DLLs.
55615582 case $cc_basename in
5562 cl*)
5563 # Native MSVC
5583 cl* | icl*)
5584 # Native MSVC or ICC
55645585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
55655586 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
55665587 _LT_TAGVAR(always_export_symbols, $1)=yes
56015622 fi'
56025623 ;;
56035624 *)
5604 # Assume MSVC wrapper
5625 # Assume MSVC and ICC wrapper
56055626 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
56065627 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
56075628 # Tell ltmain to make .lib files, not .a files.
56495670 ;;
56505671
56515672 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5652 freebsd* | dragonfly*)
5673 freebsd* | dragonfly* | midnightbsd*)
56535674 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
56545675 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
56555676 _LT_TAGVAR(hardcode_direct, $1)=yes
58605881 emximp -o $lib $output_objdir/$libname.def'
58615882 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
58625883 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5884 _LT_TAGVAR(file_list_spec, $1)='@'
58635885 ;;
58645886
58655887 osf3*)
66306652
66316653 cygwin* | mingw* | pw32* | cegcc*)
66326654 case $GXX,$cc_basename in
6633 ,cl* | no,cl*)
6634 # Native MSVC
6655 ,cl* | no,cl* | ,icl* | no,icl*)
6656 # Native MSVC or ICC
66356657 # hardcode_libdir_flag_spec is actually meaningless, as there is
66366658 # no search path for DLLs.
66376659 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
67296751 emximp -o $lib $output_objdir/$libname.def'
67306752 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
67316753 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6754 _LT_TAGVAR(file_list_spec, $1)='@'
67326755 ;;
67336756
67346757 dgux*)
67596782 _LT_TAGVAR(archive_cmds_need_lc, $1)=no
67606783 ;;
67616784
6762 freebsd* | dragonfly*)
6785 freebsd* | dragonfly* | midnightbsd*)
67636786 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
67646787 # conventions
67656788 _LT_TAGVAR(ld_shlibs, $1)=yes
68966919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
68976920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
68986921 _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'
6899 _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'
6922 _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'
69006923 ;;
69016924 irix5* | irix6*)
69026925 case $cc_basename in
70367059 _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
70377060 if test yes = "$supports_anon_versioning"; then
70387061 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7062 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
70407063 echo "local: *; };" >> $output_objdir/$libname.ver~
70417064 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
70427065 fi
70437066 ;;
70447067 *)
7045 case `$CC -V 2>&1 | sed 5q` in
7068 case `$CC -V 2>&1 | $SED 5q` in
70467069 *Sun\ C*)
70477070 # Sun C++ 5.9
70487071 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
81878210 _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
81888211 AC_SUBST([DLLTOOL])
81898212 ])
8213
8214 # _LT_DECL_FILECMD
8215 # ----------------
8216 # Check for a file(cmd) program that can be used to detect file type and magic
8217 m4_defun([_LT_DECL_FILECMD],
8218 [AC_CHECK_TOOL([FILECMD], [file], [:])
8219 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
8220 ])# _LD_DECL_FILECMD
81908221
81918222 # _LT_DECL_SED
81928223 # ------------
00 # Helper functions for option handling. -*- Autoconf -*-
11 #
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
66 # This file is free software; the Free Software Foundation gives
00 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
2 # Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
33 # Foundation, Inc.
44 # Written by Gary V. Vaughan, 2004
55 #
00 # ltversion.m4 -- version numbers -*- Autoconf -*-
11 #
2 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
2 # Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
3 # Inc.
34 # Written by Scott James Remnant, 2004
45 #
56 # This file is free software; the Free Software Foundation gives
89
910 # @configure_input@
1011
11 # serial 4179 ltversion.m4
12 # serial 4245 ltversion.m4
1213 # This file is part of GNU Libtool
1314
14 m4_define([LT_PACKAGE_VERSION], [2.4.6])
15 m4_define([LT_PACKAGE_REVISION], [2.4.6])
15 m4_define([LT_PACKAGE_VERSION], [2.4.7])
16 m4_define([LT_PACKAGE_REVISION], [2.4.7])
1617
1718 AC_DEFUN([LTVERSION_VERSION],
18 [macro_version='2.4.6'
19 macro_revision='2.4.6'
19 [macro_version='2.4.7'
20 macro_revision='2.4.7'
2021 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
2122 _LT_DECL(, macro_revision, 0)
2223 ])
00 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
11 #
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3 # Foundation, Inc.
2 # Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free
3 # Software Foundation, Inc.
44 # Written by Scott James Remnant, 2004.
55 #
66 # This file is free software; the Free Software Foundation gives
240240 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
241241 FDKAAC_LIBS = @FDKAAC_LIBS@
242242 FGREP = @FGREP@
243 FILECMD = @FILECMD@
243244 FREERDP_CFLAGS = @FREERDP_CFLAGS@
244245 FREERDP_LIBS = @FREERDP_LIBS@
245246 FUSE_CFLAGS = @FUSE_CFLAGS@
346347 prefix = @prefix@
347348 program_transform_name = @program_transform_name@
348349 psdir = @psdir@
350 runstatedir = @runstatedir@
349351 sbindir = @sbindir@
350352 sharedstatedir = @sharedstatedir@
351353 socketdir = @socketdir@
244244 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
245245 FDKAAC_LIBS = @FDKAAC_LIBS@
246246 FGREP = @FGREP@
247 FILECMD = @FILECMD@
247248 FREERDP_CFLAGS = @FREERDP_CFLAGS@
248249 FREERDP_LIBS = @FREERDP_LIBS@
249250 FUSE_CFLAGS = @FUSE_CFLAGS@
350351 prefix = @prefix@
351352 program_transform_name = @program_transform_name@
352353 psdir = @psdir@
354 runstatedir = @runstatedir@
353355 sbindir = @sbindir@
354356 sharedstatedir = @sharedstatedir@
355357 socketdir = @socketdir@
243243 break;
244244
245245 case INSUFFICIENTPRIVILEGESERROR:
246 g_snprintf(buf, 128, "Insufficent privileges on target server");
246 g_snprintf(buf, 128, "Insufficient privileges on target server");
247247 break;
248248
249249 default:
192192 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
193193 FDKAAC_LIBS = @FDKAAC_LIBS@
194194 FGREP = @FGREP@
195 FILECMD = @FILECMD@
195196 FREERDP_CFLAGS = @FREERDP_CFLAGS@
196197 FREERDP_LIBS = @FREERDP_LIBS@
197198 FUSE_CFLAGS = @FUSE_CFLAGS@
298299 prefix = @prefix@
299300 program_transform_name = @program_transform_name@
300301 psdir = @psdir@
302 runstatedir = @runstatedir@
301303 sbindir = @sbindir@
302304 sharedstatedir = @sharedstatedir@
303305 socketdir = @socketdir@
311311 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
312312 FDKAAC_LIBS = @FDKAAC_LIBS@
313313 FGREP = @FGREP@
314 FILECMD = @FILECMD@
314315 FREERDP_CFLAGS = @FREERDP_CFLAGS@
315316 FREERDP_LIBS = @FREERDP_LIBS@
316317 FUSE_CFLAGS = @FUSE_CFLAGS@
417418 prefix = @prefix@
418419 program_transform_name = @program_transform_name@
419420 psdir = @psdir@
421 runstatedir = @runstatedir@
420422 sbindir = @sbindir@
421423 sharedstatedir = @sharedstatedir@
422424 socketdir = @socketdir@
243243 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
244244 FDKAAC_LIBS = @FDKAAC_LIBS@
245245 FGREP = @FGREP@
246 FILECMD = @FILECMD@
246247 FREERDP_CFLAGS = @FREERDP_CFLAGS@
247248 FREERDP_LIBS = @FREERDP_LIBS@
248249 FUSE_CFLAGS = @FUSE_CFLAGS@
349350 prefix = @prefix@
350351 program_transform_name = @program_transform_name@
351352 psdir = @psdir@
353 runstatedir = @runstatedir@
352354 sbindir = @sbindir@
353355 sharedstatedir = @sharedstatedir@
354356 socketdir = @socketdir@
180180 int error;
181181 int bytes;
182182 struct stream *s;
183 struct xr_wave_format_ex *wf;
183 struct xr_wave_format_ex *wf = g_client_formats[g_current_format];
184184
185185 LOG_DEVEL(LOG_LEVEL_INFO, "audin_send_open:");
186186 make_stream(s);
187 init_stream(s, 8192);
187 /* wf->cbSize was checked when the format was received */
188 init_stream(s, wf->cbSize + 64);
189
188190 out_uint8(s, MSG_SNDIN_OPEN);
189191 out_uint32_le(s, 2048); /* FramesPerPacket */
190192 out_uint32_le(s, g_current_format); /* initialFormat */
191 wf = g_client_formats[g_current_format];
192193 out_uint16_le(s, wf->wFormatTag);
193194 out_uint16_le(s, wf->nChannels);
194195 out_uint32_le(s, wf->nSamplesPerSec);
196196 struct timeout_obj *temp_tobj;
197197 int count;
198198 tui32 now;
199
199 UNUSED_VAR(count);
200200 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:");
201201 count = 0;
202202 tobj = g_timeout_head;
661661 XFS_INODE_ALL *dxino = NULL;
662662 XFS_INODE_ALL *xino = NULL;
663663
664 /* Check the direcory is still valid */
664 /* Check the directory is still valid */
665665 if (handle->inum < xfs->inode_count &&
666666 ((dxino = xfs->inode_table[handle->inum]) != NULL) &&
667667 (dxino->pub.mode & S_IFDIR) != 0 &&
502502 g_file_close(fd);
503503
504504 /* Log who transferred which file via clipboard for the purpose of audit */
505 LOG(LOG_LEVEL_INFO, "S2C: Transfered a file: filename=%s, uid=%d", full_fn, g_getuid());
505 LOG(LOG_LEVEL_INFO, "S2C: Transferred a file: filename=%s, uid=%d", full_fn, g_getuid());
506506
507507 return rv;
508508 }
102102 int g_is_drive_redir_supported = 0;
103103 int g_is_smartcard_redir_supported = 0;
104104 int g_drive_redir_version = 1;
105 char g_full_name_for_filesystem[1024];
106105 tui32 g_completion_id = 1;
107106
108107 tui32 g_clientID; /* unique client ID - announced by client */
130129 static void devredir_send_server_clientID_confirm(void);
131130 static void devredir_send_server_user_logged_on(void);
132131
133 static void devredir_proc_client_core_cap_resp(struct stream *s);
134 static void devredir_proc_client_devlist_announce_req(struct stream *s);
135 static void devredir_proc_client_devlist_remove_req(struct stream *s);
136 static void devredir_proc_device_iocompletion(struct stream *s);
132 static int devredir_proc_client_core_cap_resp(struct stream *s);
133 static int devredir_proc_client_devlist_announce_req(struct stream *s);
134 static int devredir_proc_client_devlist_remove_req(struct stream *s);
135 static int devredir_proc_device_iocompletion(struct stream *s);
137136 static void devredir_proc_query_dir_response(IRP *irp,
138137 struct stream *s_in,
139138 tui32 DeviceId,
210209 /*****************************************************************************/
211210
212211 /*
213 * Convert Windows permssions to Linux permissions.
212 * Convert Windows permissions to Linux permissions.
214213 *
215 * We can't curently support group or other permissions as separate from the
214 * We can't currently support group or other permissions as separate from the
216215 * owner (not that there's much point). We'll assume our caller will provide
217216 * a umask if appropriate
218217 */
322321 }
323322
324323 /* read header from incoming data */
324 if (!s_check_rem_and_log(ls, 4, "Parsing [MS-RDPEFS] RDPDR_HEADER"))
325 {
326 rv = -1;
327 goto done;
328 }
325329 xstream_rd_u16_le(ls, comp_type);
326330 xstream_rd_u16_le(ls, pktID);
327331
339343 switch (pktID)
340344 {
341345 case PAKID_CORE_CLIENTID_CONFIRM:
342 xstream_seek(ls, 2); /* major version, we ignore it */
343 xstream_rd_u16_le(ls, minor_ver);
344 xstream_rd_u32_le(ls, g_clientID);
345
346 g_client_rdp_version = minor_ver;
347
348 switch (minor_ver)
346 if (!s_check_rem_and_log(ls, 6, "Parsing [MS-RDPEFS] DR_CORE_CLIENT_ANNOUNCE_RSP"))
349347 {
350 case RDP_CLIENT_50:
351 break;
352
353 case RDP_CLIENT_51:
354 break;
355
356 case RDP_CLIENT_52:
357 break;
358
359 case RDP_CLIENT_60_61:
360 break;
348 rv = -1;
361349 }
362 // LK_TODO devredir_send_server_clientID_confirm();
350 else
351 {
352 xstream_seek(ls, 2); /* major version, we ignore it */
353 xstream_rd_u16_le(ls, minor_ver);
354 xstream_rd_u32_le(ls, g_clientID);
355
356 g_client_rdp_version = minor_ver;
357
358 switch (minor_ver)
359 {
360 case RDP_CLIENT_50:
361 break;
362
363 case RDP_CLIENT_51:
364 break;
365
366 case RDP_CLIENT_52:
367 break;
368
369 case RDP_CLIENT_60_61:
370 break;
371 }
372 // LK_TODO devredir_send_server_clientID_confirm();
373 }
363374 break;
364375
365376 case PAKID_CORE_CLIENT_NAME:
377388 break;
378389
379390 case PAKID_CORE_CLIENT_CAPABILITY:
380 devredir_proc_client_core_cap_resp(ls);
391 rv = devredir_proc_client_core_cap_resp(ls);
381392 break;
382393
383394 case PAKID_CORE_DEVICELIST_ANNOUNCE:
384 devredir_proc_client_devlist_announce_req(ls);
395 rv = devredir_proc_client_devlist_announce_req(ls);
385396 break;
386397
387398 case PAKID_CORE_DEVICELIST_REMOVE:
388 devredir_proc_client_devlist_remove_req(ls);
399 rv = devredir_proc_client_devlist_remove_req(ls);
389400 break;
390401
391402 case PAKID_CORE_DEVICE_IOCOMPLETION:
392 devredir_proc_device_iocompletion(ls);
403 rv = devredir_proc_device_iocompletion(ls);
393404 break;
394405
395406 default:
726737 * @brief process client's response to our core_capability_req() msg
727738 *
728739 * @param s stream containing client's response
740 * @return 0 for success, -1 otherwise
729741 *****************************************************************************/
730 static void
742 static int
731743 devredir_proc_client_core_cap_resp(struct stream *s)
732744 {
733745 int i;
737749 tui32 cap_version;
738750 char *holdp;
739751
752 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CORE_CAPABLITY_RSP"))
753 {
754 return -1;
755 }
740756 xstream_rd_u16_le(s, num_caps);
741757 xstream_seek(s, 2); /* padding */
742758
743759 for (i = 0; i < num_caps; i++)
744760 {
745761 holdp = s->p;
762 if (!s_check_rem_and_log(s, 8, "Parsing [MS-RDPEFS] CAPABILITY_HEADER"))
763 {
764 return -1;
765 }
746766 xstream_rd_u16_le(s, cap_type);
747767 xstream_rd_u16_le(s, cap_len);
748768 xstream_rd_u32_le(s, cap_version);
769 /* Convert the length to a remaining length. Underflow is possible,
770 * but this is an unsigned type so that's OK */
771 cap_len -= (s->p - holdp);
772 if (cap_len > 0 &&
773 !s_check_rem_and_log(s, cap_len, "Parsing [MS-RDPEFS] CAPABILITY_HEADER length"))
774 {
775 return -1;
776 }
749777
750778 switch (cap_type)
751779 {
778806 scard_init();
779807 break;
780808 }
781 s->p = holdp + cap_len;
782 }
783 }
784
785 static void
809 xstream_seek(s, cap_len);
810 }
811 return 0;
812 }
813
814 static int
786815 devredir_proc_client_devlist_announce_req(struct stream *s)
787816 {
788817 unsigned int i;
794823 enum NTSTATUS response_status;
795824
796825 /* get number of devices being announced */
826 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CORE_DEVICELIST_ANNOUNCE_REQ"))
827 {
828 return -1;
829 }
830
797831 xstream_rd_u32_le(s, device_count);
798832
799833 LOG_DEVEL(LOG_LEVEL_DEBUG, "num of devices announced: %d", device_count);
800834
801835 for (i = 0; i < device_count; i++)
802836 {
837 if (!s_check_rem_and_log(s, 4 + 4 + 8 + 4,
838 "Parsing [MS-RDPEFS] DEVICE_ANNOUNCE"))
839 {
840 return -1;
841 }
803842 xstream_rd_u32_le(s, device_type);
804843 xstream_rd_u32_le(s, g_device_id);
805844 /* get preferred DOS name
815854
816855 /* Read the device data length from the stream */
817856 xstream_rd_u32_le(s, device_data_len);
857 if (device_data_len > 0 &&
858 !s_check_rem_and_log(s, device_data_len,
859 "Parsing [MS-RDPEFS] DEVICE_ANNOUNCE devdata"))
860 {
861 return -1;
862 }
818863
819864 switch (device_type)
820865 {
821866 case RDPDR_DTYP_FILESYSTEM:
822 /* get device data len */
823 if (device_data_len)
824 {
825 xstream_rd_string(g_full_name_for_filesystem, s,
826 device_data_len);
827 }
867 /* At present we don't use the full name - see
868 * [MS-RDPEFS] 2.2.3.1 for details of the contents */
869 xstream_skip_u8(s, device_data_len);
828870
829871 LOG(LOG_LEVEL_INFO, "Detected remote drive '%s'",
830872 preferred_dos_name);
831873
832874 LOG_DEVEL(LOG_LEVEL_DEBUG,
833875 "device_type=FILE_SYSTEM device_id=0x%x dosname=%s "
834 "device_data_len=%d full_name=%s", g_device_id,
876 "device_data_len=%d", g_device_id,
835877 preferred_dos_name,
836 device_data_len, g_full_name_for_filesystem);
878 device_data_len);
837879
838880 response_status = STATUS_SUCCESS;
839881
880922 devredir_send_server_device_announce_resp(g_device_id,
881923 response_status);
882924 }
883 }
884
885 static void
925
926 return 0;
927 }
928
929 static int
886930 devredir_proc_client_devlist_remove_req(struct stream *s)
887931 {
888932 unsigned int i;
890934 tui32 device_id;
891935
892936 /* get number of devices being announced */
937 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_DEVICELIST_REMOVE"))
938 {
939 return -1;
940 }
893941 xstream_rd_u32_le(s, device_count);
942 if (!s_check_rem_and_log(s, 4 * device_count,
943 "Parsing [MS-RDPEFS] DR_DEVICELIST_REMOVE list"))
944 {
945 return -1;
946 }
894947
895948 LOG_DEVEL(LOG_LEVEL_DEBUG, "num of devices removed: %d", device_count);
896949 {
900953 xfuse_delete_share(device_id);
901954 }
902955 }
903 }
904
905 static void
956 return 0;
957 }
958
959 static int
906960 devredir_proc_device_iocompletion(struct stream *s)
907961 {
908962 IRP *irp = NULL;
913967 tui32 Length;
914968 enum COMPLETION_TYPE comp_type;
915969
970 if (!s_check_rem_and_log(s, 12, "Parsing [MS-RDPEFS] DR_DEVICE_IOCOMPLETION"))
971 {
972 return -1;
973 }
916974 xstream_rd_u32_le(s, DeviceId);
917975 xstream_rd_u32_le(s, CompletionId);
918976 xstream_rd_u32_le(s, IoStatus32);
9581016 }
9591017 else
9601018 {
1019 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CREATE_RSP"))
1020 {
1021 return -1;
1022 }
9611023 xstream_rd_u32_le(s, irp->FileId);
9621024 devredir_send_drive_dir_request(irp, DeviceId,
9631025 1, irp->pathname);
9651027 break;
9661028
9671029 case CID_CREATE_REQ:
1030 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CREATE_RSP"))
1031 {
1032 return -1;
1033 }
9681034 xstream_rd_u32_le(s, irp->FileId);
9691035
9701036 xfuse_devredir_cb_create_file(
9771043 break;
9781044
9791045 case CID_OPEN_REQ:
1046 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CREATE_RSP"))
1047 {
1048 return -1;
1049 }
9801050 xstream_rd_u32_le(s, irp->FileId);
9811051
9821052 xfuse_devredir_cb_open_file((struct state_open *) irp->fuse_info,
9881058 break;
9891059
9901060 case CID_READ:
1061 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_READ_RSP"))
1062 {
1063 return -1;
1064 }
9911065 xstream_rd_u32_le(s, Length);
1066 if (!s_check_rem_and_log(s, Length, "Parsing [MS-RDPEFS] DR_READ_RSP"))
1067 {
1068 return -1;
1069 }
9921070 xfuse_devredir_cb_read_file((struct state_read *) irp->fuse_info,
9931071 IoStatus,
9941072 s->p, Length);
9961074 break;
9971075
9981076 case CID_WRITE:
1077 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_WRITE_RSP"))
1078 {
1079 return -1;
1080 }
9991081 xstream_rd_u32_le(s, Length);
10001082 xfuse_devredir_cb_write_file((struct state_write *) irp->fuse_info,
10011083 IoStatus,
10181100 break;
10191101
10201102 case CID_RMDIR_OR_FILE:
1103 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CREATE_RSP"))
1104 {
1105 return -1;
1106 }
10211107 xstream_rd_u32_le(s, irp->FileId);
10221108 devredir_proc_cid_rmdir_or_file(irp, IoStatus);
10231109 break;
10271113 break;
10281114
10291115 case CID_RENAME_FILE:
1116 if (!s_check_rem_and_log(s, 4, "Parsing [MS-RDPEFS] DR_CREATE_RSP"))
1117 {
1118 return -1;
1119 }
10301120 xstream_rd_u32_le(s, irp->FileId);
10311121 devredir_proc_cid_rename_file(irp, IoStatus);
10321122 break;
10501140 break;
10511141 }
10521142 }
1143 return 0;
10531144 }
10541145
10551146 static void
105105 };
106106
107107 IRP *devredir_irp_new(void);
108 /* As above, but allocates sufficent space for the specified
108 /* As above, but allocates sufficient space for the specified
109109 * pathname, and copies it in to the pathname field */
110110 IRP *devredir_irp_with_pathname_new(const char *pathname);
111111 /* As above, but specifies a pathname length with pathname
798798 ******************************************************************************/
799799
800800 /**
801 * Crate a new stream and insert specified IOCTL
801 * Create a new stream and insert specified IOCTL
802802 *
803803 * @param irp information about the I/O
804804 * @param ioctl the IOCTL code
341341 if (pcscCard == 0)
342342 {
343343 LOG(LOG_LEVEL_ERROR,
344 "context_add_card: failed to allocate memmory for pcsc_card");
344 "context_add_card: failed to allocate memory for pcsc_card");
345345 return 0;
346346 }
347347 g_autoinc++;
354354 if (acontext->cards == 0)
355355 {
356356 LOG(LOG_LEVEL_ERROR, "context_add_card: failed to allocate "
357 "memmory for uds_client->contexts->cards");
357 "memory for uds_client->contexts->cards");
358358 return 0;
359359 }
360360 }
18731873 }
18741874 }
18751875 }
1876 g_chmod_hex(g_pcsclite_ipc_dir, 0x1777);
1876 /* Only the current user should be able to access the remote
1877 * smartcard */
1878 g_chmod_hex(g_pcsclite_ipc_dir, 0x700);
18771879 g_snprintf(g_pcsclite_ipc_file, 255, "%s/pcscd.comm", g_pcsclite_ipc_dir);
18781880 g_lis->trans_conn_in = my_pcsc_trans_conn_in;
18791881 error = trans_listen(g_lis, g_pcsclite_ipc_file);
245245 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
246246 FDKAAC_LIBS = @FDKAAC_LIBS@
247247 FGREP = @FGREP@
248 FILECMD = @FILECMD@
248249 FREERDP_CFLAGS = @FREERDP_CFLAGS@
249250 FREERDP_LIBS = @FREERDP_LIBS@
250251 FUSE_CFLAGS = @FUSE_CFLAGS@
351352 prefix = @prefix@
352353 program_transform_name = @program_transform_name@
353354 psdir = @psdir@
355 runstatedir = @runstatedir@
354356 sbindir = @sbindir@
355357 sharedstatedir = @sharedstatedir@
356358 socketdir = @socketdir@
427427 }
428428
429429 /*******************************************************************/
430 static void
431 clear_and_free_string(char *p)
432 {
433 if (p != NULL)
434 {
435 char *cp;
436 for (cp = p ; *cp != '\0'; ++cp)
437 {
438 *cp = '\0';
439 }
440 g_free(p);
441 }
442 }
443
444 /*******************************************************************/
430445 void
431446 scp_session_destroy(struct SCP_SESSION *s)
432447 {
433448 if (s != NULL)
434449 {
435450 g_free(s->username);
436 g_free(s->password);
451 clear_and_free_string(s->password);
437452 g_free(s->hostname);
438453 g_free(s->domain);
439454 g_free(s->program);
224224 if (trans != NULL && trans->status == TRANS_STATUS_UP)
225225 {
226226 /* Have we read enough data from the stream? */
227 if ((trans->in_s->end - trans->in_s->data) < trans->header_size)
227 if ((unsigned int)(trans->in_s->end - trans->in_s->data) < trans->header_size)
228228 {
229229 result = 0;
230230 }
703703 g_exit(1);
704704 }
705705
706 /* reading config */
707 if ((g_cfg = config_read(startup_params.sesman_ini)) == NULL)
708 {
709 g_printf("error reading config %s: %s\nquitting.\n",
710 startup_params.sesman_ini, g_get_strerror());
706 /* starting logging subsystem */
707 if (!g_file_exist(startup_params.sesman_ini))
708 {
709 g_printf("Config file %s does not exist\n", startup_params.sesman_ini);
711710 g_deinit();
712711 g_exit(1);
713712 }
714
715 if (startup_params.dump_config)
716 {
717 config_dump(g_cfg);
718 }
719
720 /* starting logging subsystem */
721713 log_error = log_start(
722714 startup_params.sesman_ini, "xrdp-sesman",
723715 (startup_params.dump_config) ? LOG_START_DUMP_CONFIG : 0);
734726 getLogFile(text, 255));
735727 break;
736728 default:
737 g_writeln("error");
729 // Assume sufficient messages have already been generated
738730 break;
739731 }
740732
741 config_free(g_cfg);
742733 g_deinit();
743734 g_exit(1);
735 }
736
737 /* reading config */
738 if ((g_cfg = config_read(startup_params.sesman_ini)) == NULL)
739 {
740 LOG(LOG_LEVEL_ALWAYS, "error reading config %s: %s",
741 startup_params.sesman_ini, g_get_strerror());
742 log_end();
743 g_deinit();
744 g_exit(1);
745 }
746
747 if (startup_params.dump_config)
748 {
749 config_dump(g_cfg);
744750 }
745751
746752 LOG(LOG_LEVEL_TRACE, "config loaded in %s at %s:%d", __func__, __FILE__, __LINE__);
9999
100100 [Xorg]
101101 ; Specify the path of non-suid Xorg executable. It might differ depending
102 ; on your distribution and version. Find out the appropreate path for your
102 ; on your distribution and version. Find out the appropriate path for your
103103 ; environment. The typical path is known as follows:
104104 ;
105105 ; Fedora 26 or later : param=/usr/libexec/Xorg
108108 ; Arch Linux : param=/usr/lib/Xorg
109109 ; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
110110 ; CentOS 8 : param=/usr/libexec/Xorg
111 ; FreeBSD (from 2022Q4) : param=/usr/local/libexec/Xorg
111112 ;
112113 param=Xorg
113 ; Leave the rest paramaters as-is unless you understand what will happen.
114 ; Leave the rest parameters as-is unless you understand what will happen.
114115 param=-config
115116 param=xrdp/xorg.conf
116117 param=-noreset
134135 #FuseMountName=/run/user/%u/thinclient_drives
135136 #FuseMountName=/media/thinclient_drives/%U/thinclient_drives
136137 FuseMountName=thinclient_drives
137 ; this value allows only the user to acess their own mapped drives.
138 ; this value allows only the user to access their own mapped drives.
138139 ; Make this more permissive (e.g. 022) if required.
139140 FileUmask=077
140141 ; Can be used to disable FUSE functionality - see sesman.ini(5)
145146 #UseNautilus3FlistFormat=true
146147
147148 [ChansrvLogging]
148 ; Note: one log file is created per display and the LogFile config value
149 ; is ignored. The channel server log file names follow the naming convention:
149 ; Note: one log file is created per display and the LogFile config value
150 ; is ignored. The channel server log file names follow the naming convention:
150151 ; xrdp-chansrv.${DISPLAY}.log
151152 ;
152153 ; Note: Log levels can be any of: core, error, warning, info, debug, or trace
444444 struct list *xserver_params = (struct list *)NULL;
445445 struct tm stime;
446446 time_t ltime;
447 char authfile[256]; /* The filename for storing xauth informations */
447 char authfile[256]; /* The filename for storing xauth information */
448448 int chansrv_pid;
449449 int display_pid;
450450 int window_manager_pid;
573573 g_exit(0);
574574 /*
575575 * intermediate sesman should exit here after WM exits.
576 * do not execure the following codes.
576 * do not execute the following codes.
577577 */
578578 }
579579 #endif
608608 {
609609 LOG(LOG_LEVEL_INFO,
610610 "Starting user requested window manager on "
611 "display %d with embeded arguments using a shell: %s",
611 "display %d with embedded arguments using a shell: %s",
612612 display, s->program);
613613 const char *params[] = {"sh", "-c", s->program, NULL};
614614 g_execvp("/bin/sh", (char **)params);
635635 {
636636 LOG(LOG_LEVEL_INFO,
637637 "Starting window manager on display %d"
638 "from user home directory: %s", display, text);
638 " from user home directory: %s", display, text);
639639 g_execlp3(text, g_cfg->user_wm, 0);
640640 }
641641 else
667667 "There is no X server active on display %d", display);
668668 }
669669
670 LOG(LOG_LEVEL_ERROR, "A fatal error has occured attempting to start "
670 LOG(LOG_LEVEL_ERROR, "A fatal error has occurred attempting to start "
671671 "the window manager on display %d, aborting connection",
672672 display);
673673 g_exit(0);
726726 "Error setting the xauth cookie for display %d in file %s",
727727 display, authfile);
728728
729 LOG(LOG_LEVEL_ERROR, "A fatal error has occured attempting to start "
729 LOG(LOG_LEVEL_ERROR, "A fatal error has occurred attempting to start "
730730 "the X server on display %d, aborting connection",
731731 display);
732732 g_exit(1);
841841 else
842842 {
843843 LOG(LOG_LEVEL_ERROR, "Unknown session type: %d", type);
844 LOG(LOG_LEVEL_ERROR, "A fatal error has occured attempting "
844 LOG(LOG_LEVEL_ERROR, "A fatal error has occurred attempting "
845845 "to start the X server on display %d, aborting connection",
846846 display);
847847 g_exit(1);
855855 /* should not get here */
856856 LOG(LOG_LEVEL_ERROR,
857857 "Error starting X server on display %d", display);
858 LOG(LOG_LEVEL_ERROR, "A fatal error has occured attempting "
858 LOG(LOG_LEVEL_ERROR, "A fatal error has occurred attempting "
859859 "to start the X server on display %d, aborting connection",
860860 display);
861861
4141 return 0
4242 }
4343
44 # When loging out from the interactive shell, the execution sequence is:
44 # When logging out from the interactive shell, the execution sequence is:
4545 #
4646 # IF ~/.bash_logout exists THEN
4747 # execute ~/.bash_logout
239239 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
240240 FDKAAC_LIBS = @FDKAAC_LIBS@
241241 FGREP = @FGREP@
242 FILECMD = @FILECMD@
242243 FREERDP_CFLAGS = @FREERDP_CFLAGS@
243244 FREERDP_LIBS = @FREERDP_LIBS@
244245 FUSE_CFLAGS = @FUSE_CFLAGS@
345346 prefix = @prefix@
346347 program_transform_name = @program_transform_name@
347348 psdir = @psdir@
349 runstatedir = @runstatedir@
348350 sbindir = @sbindir@
349351 sharedstatedir = @sharedstatedir@
350352 socketdir = @socketdir@
390390
391391 if (argc <= optind)
392392 {
393 LOG(LOG_LEVEL_ERROR, "No user name speciified");
393 LOG(LOG_LEVEL_ERROR, "No user name specified");
394394 params_ok = 0;
395395 }
396396 else if ((argc - optind) > 1)
3535 #include <stdio.h>
3636 #include <security/pam_appl.h>
3737
38 /* Defines the maximum size of a username or password. With pam there is no real limit */
39 #define MAX_BUF 8192
40
38 /* Allows the conversation function to find the username and password */
4139 struct t_user_pass
4240 {
43 char user[MAX_BUF];
44 char pass[MAX_BUF];
41 const char *user;
42 const char *pass;
4543 };
4644
4745 struct t_auth_info
4846 {
49 struct t_user_pass user_pass;
5047 int session_opened;
5148 int did_setcred;
52 struct pam_conv pamc;
5349 pam_handle_t *ph;
5450 };
5551
147143 {
148144 case PAM_PROMPT_ECHO_OFF: /* password */
149145 user_pass = (struct t_user_pass *) appdata_ptr;
150 reply[i].resp = g_strdup(user_pass->pass);
146 /* Check this function isn't being called
147 * later than we expected */
148 if (user_pass == NULL)
149 {
150 LOG(LOG_LEVEL_ERROR,
151 "verify_pam_conv: Password unavailable");
152 reply[i].resp = g_strdup("????");
153 }
154 else
155 {
156 reply[i].resp = g_strdup(user_pass->pass);
157 }
151158 break;
152159
153160 case PAM_ERROR_MSG:
216223 int error;
217224 struct t_auth_info *auth_info;
218225 char service_name[256];
226 struct t_user_pass user_pass = {user, pass};
227 struct pam_conv pamc = {verify_pam_conv, (void *) &user_pass};
228
229 auth_info = g_new0(struct t_auth_info, 1);
230 if (auth_info == NULL)
231 {
232 LOG(LOG_LEVEL_ERROR, "auth_userpass: No memory");
233 error = PAM_BUF_ERR;
234 return 0;
235 }
219236
220237 get_service_name(service_name);
221 auth_info = g_new0(struct t_auth_info, 1);
222 g_strncpy(auth_info->user_pass.user, user, MAX_BUF - 1);
223 g_strncpy(auth_info->user_pass.pass, pass, MAX_BUF - 1);
224 auth_info->pamc.conv = &verify_pam_conv;
225 auth_info->pamc.appdata_ptr = &(auth_info->user_pass);
226 error = pam_start(service_name, user, &(auth_info->pamc), &(auth_info->ph));
238 error = pam_start(service_name, user, &pamc, &(auth_info->ph));
227239
228240 if (error != PAM_SUCCESS)
229241 {
280292 return 0;
281293 }
282294
295 /* Set the appdata_ptr passed to the conversation function to
296 * NULL, as the existing value is going out of scope */
297 pamc.appdata_ptr = NULL;
298 error = pam_set_item(auth_info->ph, PAM_CONV, &pamc);
299 if (error != PAM_SUCCESS)
300 {
301 LOG(LOG_LEVEL_ERROR, "pam_set_item(PAM_CONV) failed: %s",
302 pam_strerror(auth_info->ph, error));
303 }
304
283305 return (long)auth_info;
284306 }
285307
219219 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
220220 FDKAAC_LIBS = @FDKAAC_LIBS@
221221 FGREP = @FGREP@
222 FILECMD = @FILECMD@
222223 FREERDP_CFLAGS = @FREERDP_CFLAGS@
223224 FREERDP_LIBS = @FREERDP_LIBS@
224225 FUSE_CFLAGS = @FUSE_CFLAGS@
325326 prefix = @prefix@
326327 program_transform_name = @program_transform_name@
327328 psdir = @psdir@
329 runstatedir = @runstatedir@
328330 sbindir = @sbindir@
329331 sharedstatedir = @sharedstatedir@
330332 socketdir = @socketdir@
425425 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
426426 FDKAAC_LIBS = @FDKAAC_LIBS@
427427 FGREP = @FGREP@
428 FILECMD = @FILECMD@
428429 FREERDP_CFLAGS = @FREERDP_CFLAGS@
429430 FREERDP_LIBS = @FREERDP_LIBS@
430431 FUSE_CFLAGS = @FUSE_CFLAGS@
531532 prefix = @prefix@
532533 program_transform_name = @program_transform_name@
533534 psdir = @psdir@
535 runstatedir = @runstatedir@
534536 sbindir = @sbindir@
535537 sharedstatedir = @sharedstatedir@
536538 socketdir = @socketdir@
420420 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
421421 FDKAAC_LIBS = @FDKAAC_LIBS@
422422 FGREP = @FGREP@
423 FILECMD = @FILECMD@
423424 FREERDP_CFLAGS = @FREERDP_CFLAGS@
424425 FREERDP_LIBS = @FREERDP_LIBS@
425426 FUSE_CFLAGS = @FUSE_CFLAGS@
526527 prefix = @prefix@
527528 program_transform_name = @program_transform_name@
528529 psdir = @psdir@
530 runstatedir = @runstatedir@
529531 sbindir = @sbindir@
530532 sharedstatedir = @sharedstatedir@
531533 socketdir = @socketdir@
415415 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
416416 FDKAAC_LIBS = @FDKAAC_LIBS@
417417 FGREP = @FGREP@
418 FILECMD = @FILECMD@
418419 FREERDP_CFLAGS = @FREERDP_CFLAGS@
419420 FREERDP_LIBS = @FREERDP_LIBS@
420421 FUSE_CFLAGS = @FUSE_CFLAGS@
521522 prefix = @prefix@
522523 program_transform_name = @program_transform_name@
523524 psdir = @psdir@
525 runstatedir = @runstatedir@
524526 sbindir = @sbindir@
525527 sharedstatedir = @sharedstatedir@
526528 socketdir = @socketdir@
423423 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
424424 FDKAAC_LIBS = @FDKAAC_LIBS@
425425 FGREP = @FGREP@
426 FILECMD = @FILECMD@
426427 FREERDP_CFLAGS = @FREERDP_CFLAGS@
427428 FREERDP_LIBS = @FREERDP_LIBS@
428429 FUSE_CFLAGS = @FUSE_CFLAGS@
529530 prefix = @prefix@
530531 program_transform_name = @program_transform_name@
531532 psdir = @psdir@
533 runstatedir = @runstatedir@
532534 sbindir = @sbindir@
533535 sharedstatedir = @sharedstatedir@
534536 socketdir = @socketdir@
219219 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
220220 FDKAAC_LIBS = @FDKAAC_LIBS@
221221 FGREP = @FGREP@
222 FILECMD = @FILECMD@
222223 FREERDP_CFLAGS = @FREERDP_CFLAGS@
223224 FREERDP_LIBS = @FREERDP_LIBS@
224225 FUSE_CFLAGS = @FUSE_CFLAGS@
325326 prefix = @prefix@
326327 program_transform_name = @program_transform_name@
327328 psdir = @psdir@
329 runstatedir = @runstatedir@
328330 sbindir = @sbindir@
329331 sharedstatedir = @sharedstatedir@
330332 socketdir = @socketdir@
219219 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
220220 FDKAAC_LIBS = @FDKAAC_LIBS@
221221 FGREP = @FGREP@
222 FILECMD = @FILECMD@
222223 FREERDP_CFLAGS = @FREERDP_CFLAGS@
223224 FREERDP_LIBS = @FREERDP_LIBS@
224225 FUSE_CFLAGS = @FUSE_CFLAGS@
325326 prefix = @prefix@
326327 program_transform_name = @program_transform_name@
327328 psdir = @psdir@
329 runstatedir = @runstatedir@
328330 sbindir = @sbindir@
329331 sharedstatedir = @sharedstatedir@
330332 socketdir = @socketdir@
210210 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
211211 FDKAAC_LIBS = @FDKAAC_LIBS@
212212 FGREP = @FGREP@
213 FILECMD = @FILECMD@
213214 FREERDP_CFLAGS = @FREERDP_CFLAGS@
214215 FREERDP_LIBS = @FREERDP_LIBS@
215216 FUSE_CFLAGS = @FUSE_CFLAGS@
316317 prefix = @prefix@
317318 program_transform_name = @program_transform_name@
318319 psdir = @psdir@
320 runstatedir = @runstatedir@
319321 sbindir = @sbindir@
320322 sharedstatedir = @sharedstatedir@
321323 socketdir = @socketdir@
241241 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
242242 FDKAAC_LIBS = @FDKAAC_LIBS@
243243 FGREP = @FGREP@
244 FILECMD = @FILECMD@
244245 FREERDP_CFLAGS = @FREERDP_CFLAGS@
245246 FREERDP_LIBS = @FREERDP_LIBS@
246247 FUSE_CFLAGS = @FUSE_CFLAGS@
347348 prefix = @prefix@
348349 program_transform_name = @program_transform_name@
349350 psdir = @psdir@
351 runstatedir = @runstatedir@
350352 sbindir = @sbindir@
351353 sharedstatedir = @sharedstatedir@
352354 socketdir = @socketdir@
424424 *
425425 * This has some limitations. We have no way to move multiple screens about
426426 * on a connected client, and so we are not able to change the client unless
427 * we're changing to a single screeen layout.
427 * we're changing to a single screen layout.
428428 */
429429 static int
430430 resize_client_from_layout(struct vnc *v,
546546 }
547547 }
548548 }
549 else if (msg >= 100 && msg <= 110) /* mouse events */
549 /* mouse events
550 *
551 * VNC supports up to 8 mouse buttons because mouse buttons are
552 * represented by 7 bits bitmask
553 */
554 else if (msg >= WM_MOUSEMOVE && msg <= WM_BUTTON8DOWN) /* 100 to 116 */
550555 {
551556 switch (msg)
552557 {
553 case 100:
554 break; /* WM_MOUSEMOVE */
555 case 101:
558 case WM_MOUSEMOVE:
559 break;
560 case WM_LBUTTONUP:
556561 v->mod_mouse_state &= ~1;
557 break; /* WM_LBUTTONUP */
558 case 102:
562 break;
563 case WM_LBUTTONDOWN:
559564 v->mod_mouse_state |= 1;
560 break; /* WM_LBUTTONDOWN */
561 case 103:
565 break;
566 case WM_RBUTTONUP:
562567 v->mod_mouse_state &= ~4;
563 break; /* WM_RBUTTONUP */
564 case 104:
568 break;
569 case WM_RBUTTONDOWN:
565570 v->mod_mouse_state |= 4;
566 break; /* WM_RBUTTONDOWN */
567 case 105:
571 break;
572 case WM_BUTTON3UP:
568573 v->mod_mouse_state &= ~2;
569574 break;
570 case 106:
575 case WM_BUTTON3DOWN:
571576 v->mod_mouse_state |= 2;
572577 break;
573 case 107:
578 case WM_BUTTON4UP:
574579 v->mod_mouse_state &= ~8;
575580 break;
576 case 108:
581 case WM_BUTTON4DOWN:
577582 v->mod_mouse_state |= 8;
578583 break;
579 case 109:
584 case WM_BUTTON5UP:
580585 v->mod_mouse_state &= ~16;
581586 break;
582 case 110:
587 case WM_BUTTON5DOWN:
583588 v->mod_mouse_state |= 16;
589 break;
590 case WM_BUTTON6UP:
591 v->mod_mouse_state &= ~32;
592 break;
593 case WM_BUTTON6DOWN:
594 v->mod_mouse_state |= 32;
595 break;
596 case WM_BUTTON7UP:
597 v->mod_mouse_state &= ~64;
598 break;
599 case WM_BUTTON7DOWN:
600 v->mod_mouse_state |= 64;
601 break;
602 case WM_BUTTON8UP:
603 v->mod_mouse_state &= ~128;
604 break;
605 case WM_BUTTON8DOWN:
606 v->mod_mouse_state |= 128;
584607 break;
585608 }
586609
271271 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
272272 FDKAAC_LIBS = @FDKAAC_LIBS@
273273 FGREP = @FGREP@
274 FILECMD = @FILECMD@
274275 FREERDP_CFLAGS = @FREERDP_CFLAGS@
275276 FREERDP_LIBS = @FREERDP_LIBS@
276277 FUSE_CFLAGS = @FUSE_CFLAGS@
377378 prefix = @prefix@
378379 program_transform_name = @program_transform_name@
379380 psdir = @psdir@
381 runstatedir = @runstatedir@
380382 sbindir = @sbindir@
381383 sharedstatedir = @sharedstatedir@
382384 socketdir = @socketdir@
143143 /*****************************************************************************/
144144 /* Signal handler for SIGINT and SIGTERM
145145 * Note: only signal safe code (eg. setting wait event) should be executed in
146 * this funciton. For more details see `man signal-safety`
146 * this function. For more details see `man signal-safety`
147147 */
148148 static void
149149 xrdp_shutdown(int sig)
157157 /*****************************************************************************/
158158 /* Signal handler for SIGCHLD
159159 * Note: only signal safe code (eg. setting wait event) should be executed in
160 * this funciton. For more details see `man signal-safety`
160 * this function. For more details see `man signal-safety`
161161 */
162162 static void
163163 xrdp_child(int sig)
170170 /*****************************************************************************/
171171 /* No-op signal handler.
172172 * Note: only signal safe code (eg. setting wait event) should be executed in
173 * this funciton. For more details see `man signal-safety`
173 * this function. For more details see `man signal-safety`
174174 */
175175 static void
176176 xrdp_sig_no_op(int sig)
606606 }
607607
608608 /* Validate the bit count for the file, read any palette, and
609 * dtermine the row size and row processing function */
609 * determine the row size and row processing function */
610610 switch (header.bit_count)
611611 {
612612 case 24:
748748 msg = " No memory";
749749 break;
750750 case IMLIB_LOAD_ERROR_OUT_OF_FILE_DESCRIPTORS:
751 msg = "No file decriptors";
751 msg = "No file descriptors";
752752 break;
753753 case IMLIB_LOAD_ERROR_OUT_OF_DISK_SPACE:
754754 msg = "No disk space";
721721 if (globals->ls_title[0] == 0)
722722 {
723723 g_gethostname(buf1, 256);
724 g_sprintf(buf, "Login to %s", buf1);
724 g_snprintf(buf, sizeof(buf), "Login to %s", buf1);
725725 set_string(&self->login_window->caption1, buf);
726726 }
727727 else
728728 {
729729 /*self->login_window->caption1 = globals->ls_title[0];*/
730 g_sprintf(buf, "%s", globals->ls_title);
730 g_snprintf(buf, sizeof(buf), "%s", globals->ls_title);
731731 set_string(&self->login_window->caption1, buf);
732732 }
733733
736736 /* Load the background image. */
737737 /* If no file is specified no default image will be loaded. */
738738 /* We only load the image if bpp > 8, and if the user hasn't
739 * disabled wallpaer in the performance settings */
739 * disabled wallpaper in the performance settings */
740740 if (globals->ls_background_image[0] != 0)
741741 {
742742 if (self->screen->bpp <= 8)
675675 static int
676676 xrdp_mm_trans_process_channel_data(struct xrdp_mm *self, struct stream *s)
677677 {
678 int size;
679 int total_size;
678 unsigned int size;
679 unsigned int total_size;
680680 int chan_id;
681681 int chan_flags;
682 int rv;
683
684 in_uint16_le(s, chan_id);
685 in_uint16_le(s, chan_flags);
686 in_uint16_le(s, size);
687 in_uint32_le(s, total_size);
688 rv = 0;
689
690 if (rv == 0)
691 {
692 rv = libxrdp_send_to_channel(self->wm->session, chan_id, s->p, size, total_size,
693 chan_flags);
682 int rv = 0;
683
684 if (!s_check_rem_and_log(s, 10, "Reading channel data header"))
685 {
686 rv = 1;
687 }
688 else
689 {
690 in_uint16_le(s, chan_id);
691 in_uint16_le(s, chan_flags);
692 in_uint16_le(s, size);
693 in_uint32_le(s, total_size);
694 if (!s_check_rem_and_log(s, size, "Reading channel data data"))
695 {
696 rv = 1;
697 }
698 else
699 {
700 rv = libxrdp_send_to_channel(self->wm->session, chan_id,
701 s->p, size, total_size, chan_flags);
702 }
694703 }
695704
696705 return rv;
928937
929938 g_memset(&rwso, 0, sizeof(rwso));
930939 in_uint32_le(s, size); /* title size */
940 if (size < 0 || !s_check_rem(s, size))
941 {
942 LOG(LOG_LEVEL_ERROR, "%s : invalid window text size %d",
943 __func__, size);
944 return 1;
945 }
931946 rwso.title_info = g_new(char, size + 1);
932947 in_uint8a(s, rwso.title_info, size);
933948 rwso.title_info[size] = 0;
11061121 }
11071122 session_width = rect.right - rect.left;
11081123 session_height = rect.bottom - rect.top;
1109 if ((session_width > 0) && (session_height > 0))
1110 {
1111 // TODO: Unify this logic with server_reset
1112 libxrdp_reset(wm->session, session_width, session_height, wm->screen->bpp);
1113 /* reset cache */
1114 xrdp_cache_reset(wm->cache, wm->client_info);
1115 /* resize the main window */
1116 xrdp_bitmap_resize(wm->screen, session_width, session_height);
1117 /* load some stuff */
1118 xrdp_wm_load_static_colors_plus(wm, 0);
1119 xrdp_wm_load_static_pointers(wm);
1120 /* redraw */
1121 xrdp_bitmap_invalidate(wm->screen, 0);
1122
1123 struct xrdp_mod *v = wm->mm->mod;
1124 if (v != 0)
1125 {
1126 v->mod_server_version_message(v);
1127 v->mod_server_monitor_resize(v, session_width, session_height);
1128 v->mod_server_monitor_full_invalidate(v, session_width, session_height);
1129 }
1124
1125 if (session_width <= 0 && session_height <= 0)
1126 {
1127 return 0;
1128 }
1129 if (session_width == wm->client_info->width
1130 && session_height == wm->client_info->height)
1131 {
1132 return 0;
1133 }
1134
1135 // TODO: Unify this logic with server_reset
1136 libxrdp_reset(wm->session, session_width, session_height, wm->screen->bpp);
1137 /* reset cache */
1138 xrdp_cache_reset(wm->cache, wm->client_info);
1139 /* resize the main window */
1140 xrdp_bitmap_resize(wm->screen, session_width, session_height);
1141 /* load some stuff */
1142 xrdp_wm_load_static_colors_plus(wm, 0);
1143 xrdp_wm_load_static_pointers(wm);
1144 /* redraw */
1145 xrdp_bitmap_invalidate(wm->screen, 0);
1146
1147 struct xrdp_mod *v = wm->mm->mod;
1148 if (v == 0)
1149 {
1150 return 0;
1151 }
1152 v->mod_server_version_message(v);
1153 v->mod_server_monitor_resize(v, session_width, session_height);
1154 v->mod_server_monitor_full_invalidate(v, session_width, session_height);
1155
1156 // Need to recreate the encoder for connections that use it.
1157 if (wm->mm->encoder != NULL)
1158 {
1159 xrdp_encoder_delete(wm->mm->encoder);
1160 wm->mm->encoder = NULL;
1161 }
1162 if (wm->mm->encoder == NULL)
1163 {
1164 wm->mm->encoder = xrdp_encoder_create(wm->mm);
11301165 }
11311166 return 0;
11321167 }
13391374 int error;
13401375 int chan_id;
13411376 int chansrv_chan_id;
1342 char *name;
1377 char name[1024 + 1];
13431378 struct xrdp_drdynvc_procs procs;
13441379
13451380 if (!s_check_rem(s, 2))
13471382 return 1;
13481383 }
13491384 in_uint32_le(s, name_bytes);
1350 if ((name_bytes < 1) || (name_bytes > 1024))
1385 if ((name_bytes < 1) || (name_bytes > (int)(sizeof(name) - 1)))
13511386 {
13521387 return 1;
13531388 }
1354 name = g_new(char, name_bytes + 1);
1355 if (name == NULL)
1356 {
1357 return 1;
1358 }
13591389 if (!s_check_rem(s, name_bytes))
13601390 {
1361 g_free(name);
13621391 return 1;
13631392 }
13641393 in_uint8a(s, name, name_bytes);
13651394 name[name_bytes] = 0;
13661395 if (!s_check_rem(s, 8))
13671396 {
1368 g_free(name);
13691397 return 1;
13701398 }
13711399 in_uint32_le(s, flags);
13721400 in_uint32_le(s, chansrv_chan_id);
1401 if (chansrv_chan_id < 0 || chansrv_chan_id > 255)
1402 {
1403 LOG(LOG_LEVEL_ERROR, "Attempting to open invalid chansrv channel %d",
1404 chansrv_chan_id);
1405 return 1;
1406 }
1407
13731408 if (flags == 0)
13741409 {
13751410 /* open static channel, not supported */
1376 g_free(name);
13771411 return 1;
13781412 }
13791413 else
13891423 &chan_id);
13901424 if (error != 0)
13911425 {
1392 g_free(name);
13931426 return 1;
13941427 }
13951428 self->xr2cr_cid_map[chan_id] = chansrv_chan_id;
13961429 self->cs2xr_cid_map[chansrv_chan_id] = chan_id;
13971430 }
1398 g_free(name);
13991431 return 0;
14001432 }
14011433
14141446 return 1;
14151447 }
14161448 in_uint32_le(s, chansrv_chan_id);
1449 if (chansrv_chan_id < 0 || chansrv_chan_id > 255)
1450 {
1451 LOG(LOG_LEVEL_ERROR, "Attempting to close invalid chansrv channel %d",
1452 chansrv_chan_id);
1453 return 1;
1454 }
14171455 chan_id = self->cs2xr_cid_map[chansrv_chan_id];
14181456 /* close dynamic channel */
14191457 error = libxrdp_drdynvc_close(self->wm->session, chan_id);
171171 }
172172
173173 len = (int) (s->end - s->data);
174 if (pro->server_trans->header_size > len)
174 if (pro->server_trans->header_size > (unsigned int)len)
175175 {
176176 /* not enough data read yet */
177177 break;
191191 pro->server_trans->extra_flags = 3;
192192
193193 len = (int) (s->end - s->data);
194 if (pro->server_trans->header_size > len)
194 if (pro->server_trans->header_size > (unsigned int)len)
195195 {
196196 /* not enough data read yet */
197197 break;
676676 /* transform to apply to logo */
677677 int ls_logo_width; /* logo width (optional) */
678678 int ls_logo_height; /* logo height (optional) */
679 int ls_logo_x_pos; /* logo x co-ordinate */
680 int ls_logo_y_pos; /* logo y co-ordinate */
679 int ls_logo_x_pos; /* logo x coordinate */
680 int ls_logo_y_pos; /* logo y coordinate */
681681 int ls_label_x_pos; /* x pos of labels */
682682 int ls_label_width; /* width of labels */
683683 int ls_input_x_pos; /* x pos of text and combo boxes */
1212 libxrdpapi_la_SOURCES = \
1313 xrdpapi.c \
1414 xrdpapi.h
15
16 libxrdpapi_la_LIBADD = \
17 $(top_builddir)/common/libcommon.la
18
19 # Build the 'simple' example program, so it's added to the CI
20 noinst_PROGRAMS = xrdp-xrdpapi-simple
21
22 xrdp_xrdpapi_simple_SOURCES = \
23 simple.c
24
25 # If you change this, update the standalone build instructions in simple.c
26 xrdp_xrdpapi_simple_LDADD = \
27 libxrdpapi.la \
28 $(top_builddir)/common/libcommon.la
1212 # PARTICULAR PURPOSE.
1313
1414 @SET_MAKE@
15
1516
1617 VPATH = @srcdir@
1718 am__is_gnu_make = { \
8788 POST_UNINSTALL = :
8889 build_triplet = @build@
8990 host_triplet = @host@
91 noinst_PROGRAMS = xrdp-xrdpapi-simple$(EXEEXT)
9092 subdir = xrdpapi
9193 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
9294 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_compile_flags.m4 \
107109 CONFIG_HEADER = $(top_builddir)/config_ac.h
108110 CONFIG_CLEAN_FILES =
109111 CONFIG_CLEAN_VPATH_FILES =
112 PROGRAMS = $(noinst_PROGRAMS)
110113 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
111114 am__vpath_adj = case $$p in \
112115 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
136139 }
137140 am__installdirs = "$(DESTDIR)$(moduledir)"
138141 LTLIBRARIES = $(module_LTLIBRARIES)
139 libxrdpapi_la_LIBADD =
142 libxrdpapi_la_DEPENDENCIES = $(top_builddir)/common/libcommon.la
140143 am_libxrdpapi_la_OBJECTS = xrdpapi.lo
141144 libxrdpapi_la_OBJECTS = $(am_libxrdpapi_la_OBJECTS)
142145 AM_V_lt = $(am__v_lt_@AM_V@)
143146 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
144147 am__v_lt_0 = --silent
145148 am__v_lt_1 =
149 am_xrdp_xrdpapi_simple_OBJECTS = simple.$(OBJEXT)
150 xrdp_xrdpapi_simple_OBJECTS = $(am_xrdp_xrdpapi_simple_OBJECTS)
151 xrdp_xrdpapi_simple_DEPENDENCIES = libxrdpapi.la \
152 $(top_builddir)/common/libcommon.la
146153 AM_V_P = $(am__v_P_@AM_V@)
147154 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
148155 am__v_P_0 = false
158165 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
159166 depcomp = $(SHELL) $(top_srcdir)/depcomp
160167 am__maybe_remake_depfiles = depfiles
161 am__depfiles_remade = ./$(DEPDIR)/xrdpapi.Plo
168 am__depfiles_remade = ./$(DEPDIR)/simple.Po ./$(DEPDIR)/xrdpapi.Plo
162169 am__mv = mv -f
163170 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
164171 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
178185 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
179186 am__v_CCLD_0 = @echo " CCLD " $@;
180187 am__v_CCLD_1 =
181 SOURCES = $(libxrdpapi_la_SOURCES)
182 DIST_SOURCES = $(libxrdpapi_la_SOURCES)
188 SOURCES = $(libxrdpapi_la_SOURCES) $(xrdp_xrdpapi_simple_SOURCES)
189 DIST_SOURCES = $(libxrdpapi_la_SOURCES) $(xrdp_xrdpapi_simple_SOURCES)
183190 am__can_run_installinfo = \
184191 case $$AM_UPDATE_INFO_DIR in \
185192 n|no|NO) false;; \
237244 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
238245 FDKAAC_LIBS = @FDKAAC_LIBS@
239246 FGREP = @FGREP@
247 FILECMD = @FILECMD@
240248 FREERDP_CFLAGS = @FREERDP_CFLAGS@
241249 FREERDP_LIBS = @FREERDP_LIBS@
242250 FUSE_CFLAGS = @FUSE_CFLAGS@
343351 prefix = @prefix@
344352 program_transform_name = @program_transform_name@
345353 psdir = @psdir@
354 runstatedir = @runstatedir@
346355 sbindir = @sbindir@
347356 sharedstatedir = @sharedstatedir@
348357 socketdir = @socketdir@
369378 libxrdpapi_la_SOURCES = \
370379 xrdpapi.c \
371380 xrdpapi.h
381
382 libxrdpapi_la_LIBADD = \
383 $(top_builddir)/common/libcommon.la
384
385 xrdp_xrdpapi_simple_SOURCES = \
386 simple.c
387
388
389 # If you change this, update the standalone build instructions in simple.c
390 xrdp_xrdpapi_simple_LDADD = \
391 libxrdpapi.la \
392 $(top_builddir)/common/libcommon.la
372393
373394 all: all-am
374395
404425 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
405426 $(am__aclocal_m4_deps):
406427
428 clean-noinstPROGRAMS:
429 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
430 echo " rm -f" $$list; \
431 rm -f $$list || exit $$?; \
432 test -n "$(EXEEXT)" || exit 0; \
433 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
434 echo " rm -f" $$list; \
435 rm -f $$list
436
407437 install-moduleLTLIBRARIES: $(module_LTLIBRARIES)
408438 @$(NORMAL_INSTALL)
409439 @list='$(module_LTLIBRARIES)'; test -n "$(moduledir)" || list=; \
442472 libxrdpapi.la: $(libxrdpapi_la_OBJECTS) $(libxrdpapi_la_DEPENDENCIES) $(EXTRA_libxrdpapi_la_DEPENDENCIES)
443473 $(AM_V_CCLD)$(LINK) -rpath $(moduledir) $(libxrdpapi_la_OBJECTS) $(libxrdpapi_la_LIBADD) $(LIBS)
444474
475 xrdp-xrdpapi-simple$(EXEEXT): $(xrdp_xrdpapi_simple_OBJECTS) $(xrdp_xrdpapi_simple_DEPENDENCIES) $(EXTRA_xrdp_xrdpapi_simple_DEPENDENCIES)
476 @rm -f xrdp-xrdpapi-simple$(EXEEXT)
477 $(AM_V_CCLD)$(LINK) $(xrdp_xrdpapi_simple_OBJECTS) $(xrdp_xrdpapi_simple_LDADD) $(LIBS)
478
445479 mostlyclean-compile:
446480 -rm -f *.$(OBJEXT)
447481
448482 distclean-compile:
449483 -rm -f *.tab.c
450484
485 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple.Po@am__quote@ # am--include-marker
451486 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xrdpapi.Plo@am__quote@ # am--include-marker
452487
453488 $(am__depfiles_remade):
569604 done
570605 check-am: all-am
571606 check: check-am
572 all-am: Makefile $(LTLIBRARIES)
607 all-am: Makefile $(PROGRAMS) $(LTLIBRARIES)
573608 installdirs:
574609 for dir in "$(DESTDIR)$(moduledir)"; do \
575610 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
607642 clean: clean-am
608643
609644 clean-am: clean-generic clean-libtool clean-moduleLTLIBRARIES \
610 mostlyclean-am
645 clean-noinstPROGRAMS mostlyclean-am
611646
612647 distclean: distclean-am
613 -rm -f ./$(DEPDIR)/xrdpapi.Plo
648 -rm -f ./$(DEPDIR)/simple.Po
649 -rm -f ./$(DEPDIR)/xrdpapi.Plo
614650 -rm -f Makefile
615651 distclean-am: clean-am distclean-compile distclean-generic \
616652 distclean-tags
656692 installcheck-am:
657693
658694 maintainer-clean: maintainer-clean-am
659 -rm -f ./$(DEPDIR)/xrdpapi.Plo
695 -rm -f ./$(DEPDIR)/simple.Po
696 -rm -f ./$(DEPDIR)/xrdpapi.Plo
660697 -rm -f Makefile
661698 maintainer-clean-am: distclean-am maintainer-clean-generic
662699
679716
680717 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
681718 clean-generic clean-libtool clean-moduleLTLIBRARIES \
682 cscopelist-am ctags ctags-am distclean distclean-compile \
683 distclean-generic distclean-libtool distclean-tags distdir dvi \
684 dvi-am html html-am info info-am install install-am \
685 install-data install-data-am install-dvi install-dvi-am \
686 install-exec install-exec-am install-html install-html-am \
687 install-info install-info-am install-man \
719 clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
720 distclean-compile distclean-generic distclean-libtool \
721 distclean-tags distdir dvi dvi-am html html-am info info-am \
722 install install-am install-data install-data-am install-dvi \
723 install-dvi-am install-exec install-exec-am install-html \
724 install-html-am install-info install-info-am install-man \
688725 install-moduleLTLIBRARIES install-pdf install-pdf-am \
689726 install-ps install-ps-am install-strip installcheck \
690727 installcheck-am installdirs maintainer-clean \
2121
2222 /*
2323 * build instructions:
24 * gcc simple.c -o simple -L./.libs -lxrdpapi
24 * gcc simple.c -o simple -I.. -I../common -L./.libs -L../common/.libs \
25 * -DHAVE_CONFIG_H -lxrdpapi -lcommon
2526 */
2627
2728 #if defined(HAVE_CONFIG_H)
3334 #endif
3435
3536 #include "xrdpapi.h"
37 #include "log.h"
38
3639 #include <stdlib.h>
3740 #include <stdio.h>
3841 #include <unistd.h>
4649 int
4750 main(int argc, char **argv)
4851 {
49 if (argc < 2)
52 int result;
53 struct log_config *lc;
54
55 if ((lc = log_config_init_for_console(LOG_LEVEL_DEBUG, NULL)) != NULL)
56 {
57 log_start_from_param(lc);
58 }
59
60 if (argc > 1 && strcasecmp(argv[1], "echo") == 0)
61 {
62 result = run_echo_test();
63 }
64 else if (argc > 1 && strcasecmp(argv[1], "tsmf") == 0)
65 {
66 result = run_tsmf_test();
67 }
68 else
5069 {
5170 printf("usage: simple <echo|tsmf>\n");
52 return 1;
53 }
54
55 if (strcasecmp(argv[1], "echo") == 0)
56 {
57 return run_echo_test();
58 }
59 else if (strcasecmp(argv[1], "tsmf") == 0)
60 {
61 return run_tsmf_test();
62 }
63 else
64 {
65 printf("usage: simple <echo|tsmf>\n");
66 return 1;
67 }
71 result = 1;
72 }
73
74 if (lc != NULL)
75 {
76 log_config_free(lc);
77 log_end();
78 }
79
80 return result;
6881 }
6982
7083 /**
88101 int rv;
89102 int count;
90103 int pkt_count;
91 int i;
92 int bytes_written;
93 int bytes_read;
104 unsigned int i;
105 unsigned int bytes_written;
106 unsigned int bytes_read;
94107
95108 unsigned char c;
96 unsigned char *rd_ptr;
97 unsigned char *wr_ptr;
109 char *rd_ptr;
110 char *wr_ptr;
98111
99112 /* fill out_buf[] with incremental values */
100113 for (i = 0, c = 0; i < 8192; i++, c++)
101114 {
102 out_buf[i] = c;
115 out_buf[i] = (char)c;
103116 }
104117
105118 /* open a virtual channel named ECHO */
237237 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
238238 FDKAAC_LIBS = @FDKAAC_LIBS@
239239 FGREP = @FGREP@
240 FILECMD = @FILECMD@
240241 FREERDP_CFLAGS = @FREERDP_CFLAGS@
241242 FREERDP_LIBS = @FREERDP_LIBS@
242243 FUSE_CFLAGS = @FUSE_CFLAGS@
343344 prefix = @prefix@
344345 program_transform_name = @program_transform_name@
345346 psdir = @psdir@
347 runstatedir = @runstatedir@
346348 sbindir = @sbindir@
347349 sharedstatedir = @sharedstatedir@
348350 socketdir = @socketdir@
240240 FDKAAC_CFLAGS = @FDKAAC_CFLAGS@
241241 FDKAAC_LIBS = @FDKAAC_LIBS@
242242 FGREP = @FGREP@
243 FILECMD = @FILECMD@
243244 FREERDP_CFLAGS = @FREERDP_CFLAGS@
244245 FREERDP_LIBS = @FREERDP_LIBS@
245246 FUSE_CFLAGS = @FUSE_CFLAGS@
346347 prefix = @prefix@
347348 program_transform_name = @program_transform_name@
348349 psdir = @psdir@
350 runstatedir = @runstatedir@
349351 sbindir = @sbindir@
350352 sharedstatedir = @sharedstatedir@
351353 socketdir = @socketdir@