2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libbacktrace'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="backtrace.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
650 HAVE_OBJCOPY_DEBUGLINK_FALSE
651 HAVE_OBJCOPY_DEBUGLINK_TRUE
654 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
655 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
658 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE
659 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE
660 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE
661 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE
672 BACKTRACE_USES_MALLOC
675 BACKTRACE_SUPPORTS_DATA
680 BACKTRACE_SUPPORTS_THREADS
686 ENABLE_DARWIN_AT_RPATH_FALSE
687 ENABLE_DARWIN_AT_RPATH_TRUE
708 MAINTAINER_MODE_FALSE
722 INSTALL_STRIP_PROGRAM
788 program_transform_name
801 enable_option_checking
804 enable_maintainer_mode
812 enable_darwin_at_rpath
816 with_system_libunwind
819 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
906 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
909 -build |
--build |
--buil |
--bui |
--bu)
910 ac_prev
=build_alias
;;
911 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
912 build_alias
=$ac_optarg ;;
914 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
915 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
916 ac_prev
=cache_file
;;
917 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
918 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
919 cache_file
=$ac_optarg ;;
922 cache_file
=config.cache
;;
924 -datadir |
--datadir |
--datadi |
--datad)
926 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
927 datadir
=$ac_optarg ;;
929 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
930 |
--dataroo |
--dataro |
--datar)
931 ac_prev
=datarootdir
;;
932 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
933 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
934 datarootdir
=$ac_optarg ;;
936 -disable-* |
--disable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=no
;;
952 -docdir |
--docdir |
--docdi |
--doc |
--do)
954 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
957 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
959 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
962 -enable-* |
--enable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=\
$ac_optarg ;;
978 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
979 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
980 |
--exec |
--exe |
--ex)
981 ac_prev
=exec_prefix
;;
982 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
983 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
984 |
--exec=* |
--exe=* |
--ex=*)
985 exec_prefix
=$ac_optarg ;;
987 -gas |
--gas |
--ga |
--g)
988 # Obsolete; use --with-gas.
991 -help |
--help |
--hel |
--he |
-h)
993 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
994 ac_init_help
=recursive
;;
995 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
996 ac_init_help
=short
;;
998 -host |
--host |
--hos |
--ho)
999 ac_prev
=host_alias
;;
1000 -host=* |
--host=* |
--hos=* |
--ho=*)
1001 host_alias
=$ac_optarg ;;
1003 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1005 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1007 htmldir
=$ac_optarg ;;
1009 -includedir |
--includedir |
--includedi |
--included |
--include \
1010 |
--includ |
--inclu |
--incl |
--inc)
1011 ac_prev
=includedir
;;
1012 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1013 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1014 includedir
=$ac_optarg ;;
1016 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1018 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1019 infodir
=$ac_optarg ;;
1021 -libdir |
--libdir |
--libdi |
--libd)
1023 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1024 libdir
=$ac_optarg ;;
1026 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1027 |
--libexe |
--libex |
--libe)
1028 ac_prev
=libexecdir
;;
1029 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1030 |
--libexe=* |
--libex=* |
--libe=*)
1031 libexecdir
=$ac_optarg ;;
1033 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1034 ac_prev
=localedir
;;
1035 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1036 localedir
=$ac_optarg ;;
1038 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1039 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1040 ac_prev
=localstatedir
;;
1041 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1042 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1043 localstatedir
=$ac_optarg ;;
1045 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1047 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1048 mandir
=$ac_optarg ;;
1050 -nfp |
--nfp |
--nf)
1051 # Obsolete; use --without-fp.
1054 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1055 |
--no-cr |
--no-c |
-n)
1058 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1059 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1062 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1063 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1064 |
--oldin |
--oldi |
--old |
--ol |
--o)
1065 ac_prev
=oldincludedir
;;
1066 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1067 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1068 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1069 oldincludedir
=$ac_optarg ;;
1071 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1073 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1074 prefix
=$ac_optarg ;;
1076 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1077 |
--program-pre |
--program-pr |
--program-p)
1078 ac_prev
=program_prefix
;;
1079 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1080 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1081 program_prefix
=$ac_optarg ;;
1083 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1084 |
--program-suf |
--program-su |
--program-s)
1085 ac_prev
=program_suffix
;;
1086 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1087 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1088 program_suffix
=$ac_optarg ;;
1090 -program-transform-name |
--program-transform-name \
1091 |
--program-transform-nam |
--program-transform-na \
1092 |
--program-transform-n |
--program-transform- \
1093 |
--program-transform |
--program-transfor \
1094 |
--program-transfo |
--program-transf \
1095 |
--program-trans |
--program-tran \
1096 |
--progr-tra |
--program-tr |
--program-t)
1097 ac_prev
=program_transform_name
;;
1098 -program-transform-name=* |
--program-transform-name=* \
1099 |
--program-transform-nam=* |
--program-transform-na=* \
1100 |
--program-transform-n=* |
--program-transform-=* \
1101 |
--program-transform=* |
--program-transfor=* \
1102 |
--program-transfo=* |
--program-transf=* \
1103 |
--program-trans=* |
--program-tran=* \
1104 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1105 program_transform_name
=$ac_optarg ;;
1107 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1109 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1110 pdfdir
=$ac_optarg ;;
1112 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1114 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1118 |
-silent |
--silent |
--silen |
--sile |
--sil)
1121 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1123 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1125 sbindir
=$ac_optarg ;;
1127 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1128 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1129 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1131 ac_prev
=sharedstatedir
;;
1132 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1133 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1134 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1136 sharedstatedir
=$ac_optarg ;;
1138 -site |
--site |
--sit)
1140 -site=* |
--site=* |
--sit=*)
1143 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1145 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1146 srcdir
=$ac_optarg ;;
1148 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1149 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1150 ac_prev
=sysconfdir
;;
1151 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1152 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1153 sysconfdir
=$ac_optarg ;;
1155 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1156 ac_prev
=target_alias
;;
1157 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1158 target_alias
=$ac_optarg ;;
1160 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1163 -version |
--version |
--versio |
--versi |
--vers |
-V)
1164 ac_init_version
=: ;;
1167 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=\
$ac_optarg ;;
1182 -without-* |
--without-*)
1183 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error $?
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=no
;;
1199 # Obsolete; use --with-x.
1202 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1203 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1204 ac_prev
=x_includes
;;
1205 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1206 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1207 x_includes
=$ac_optarg ;;
1209 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1210 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1211 ac_prev
=x_libraries
;;
1212 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1213 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1214 x_libraries
=$ac_optarg ;;
1216 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1225 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\
$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $?
"missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val
=\$
$ac_var
1261 # Remove trailing slashes.
1264 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\
$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$
]* | ?
:[\\/]* ) continue;;
1270 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1272 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target
=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x
; then
1284 if test "x$build_alias" = x
; then
1285 cross_compiling
=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1294 test "$silent" = yes && exec 6>/dev
/null
1297 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di
=`ls -di .` &&
1299 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $?
"working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $?
"pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted
=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir
=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted
=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1341 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var
in $ac_precious_vars; do
1358 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1360 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1436 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive
) echo "Configuration of package-unused version-unused:";;
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --enable-multilib build many library versions
(default
)
1451 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1452 --disable-silent-rules verbose build output
(undo
: "make V=0")
1453 --enable-maintainer-mode
1454 enable make rules and dependencies not useful
(and
1455 sometimes confusing
) to the casual installer
1456 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1461 --enable-darwin-at-rpath
1462 install libraries with @rpath
/library-name
, requires
1463 rpaths to be added to executables
1464 --disable-largefile omit support
for large files
1465 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1466 --disable-werror disable building with
-Werror
1467 --enable-host-shared build
host code as shared libraries
1468 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1471 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1472 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1473 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1474 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1476 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1477 --with-system-libunwind use installed libunwind
1479 Some influential environment variables
:
1480 CC C compiler
command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1483 nonstandard directory
<lib dir
>
1484 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1485 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1486 you have headers
in a nonstandard directory
<include dir
>
1488 OBJCOPY location of objcopy
1489 DSYMUTIL location of dsymutil
1492 Use these variables to override the choices made by
`configure' or to help
1493 it to find libraries and programs with nonstandard names/locations.
1495 Report bugs to the package provider.
1500 if test "$ac_init_help" = "recursive"; then
1501 # If there are subdirs, report their specific --help.
1502 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1503 test -d "$ac_dir" ||
1504 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1512 # A ".." for each directory in $ac_dir_suffix.
1513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1514 case $ac_top_builddir_sub in
1515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1519 ac_abs_top_builddir=$ac_pwd
1520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1521 # for backward compatibility:
1522 ac_top_builddir=$ac_top_build_prefix
1525 .) # We are building in place.
1527 ac_top_srcdir=$ac_top_builddir_sub
1528 ac_abs_top_srcdir=$ac_pwd ;;
1529 [\\/]* | ?:[\\/]* ) # Absolute name.
1530 ac_srcdir=$srcdir$ac_dir_suffix;
1531 ac_top_srcdir=$srcdir
1532 ac_abs_top_srcdir=$srcdir ;;
1534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1535 ac_top_srcdir=$ac_top_build_prefix$srcdir
1536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540 cd "$ac_dir" || { ac_status=$?; continue; }
1541 # Check for guested configure.
1542 if test -f "$ac_srcdir/configure.gnu"; then
1544 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1545 elif test -f "$ac_srcdir/configure"; then
1547 $SHELL "$ac_srcdir/configure" --help=recursive
1549 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551 cd "$ac_pwd" || { ac_status=$?; break; }
1555 test -n "$ac_init_help" && exit $ac_status
1556 if $ac_init_version; then
1558 package-unused configure version-unused
1559 generated by GNU Autoconf 2.69
1561 Copyright (C) 2012 Free Software Foundation, Inc.
1562 This configure script is free software; the Free Software Foundation
1563 gives unlimited permission to copy, distribute and modify it.
1568 ## ------------------------ ##
1569 ## Autoconf initialization. ##
1570 ## ------------------------ ##
1572 # ac_fn_c_try_compile LINENO
1573 # --------------------------
1574 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_c_try_compile ()
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 rm -f conftest.$ac_objext
1579 if { { ac_try="$ac_compile"
1581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1582 *) ac_try_echo
=$ac_try;;
1584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_compile") 2>conftest.err
1588 if test -s conftest.err
; then
1589 grep -v '^ *+' conftest.err
>conftest.er1
1590 cat conftest.er1
>&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && {
1595 test -z "$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1597 } && test -s conftest.
$ac_objext; then :
1600 $as_echo "$as_me: failed program was:" >&5
1601 sed 's/^/| /' conftest.
$ac_ext >&5
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status
$ac_retval
1608 } # ac_fn_c_try_compile
1610 # ac_fn_c_try_cpp LINENO
1611 # ----------------------
1612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1616 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } > conftest.i && {
1632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1650 # the include files in INCLUDES and setting the cache variable VAR
1652 ac_fn_c_check_header_mongrel ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 if eval \${$3+:} false; then :
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657 $as_echo_n "checking for $2... " >&6; }
1658 if eval \${$3+:} false; then :
1659 $as_echo_n "(cached) " >&6
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1665 # Is the header compilable?
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1667 $as_echo_n "checking $2 usability... " >&6; }
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1673 if ac_fn_c_try_compile "$LINENO"; then :
1674 ac_header_compiler=yes
1676 ac_header_compiler=no
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1680 $as_echo "$ac_header_compiler" >&6; }
1682 # Is the header present?
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1684 $as_echo_n "checking $2 presence... " >&6; }
1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h. */
1689 if ac_fn_c_try_cpp "$LINENO"; then :
1690 ac_header_preproc=yes
1692 ac_header_preproc=no
1694 rm -f conftest.err conftest.i conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1696 $as_echo "$ac_header_preproc" >&6; }
1698 # So? What about this header?
1699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1710 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1714 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
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
1724 eval "$3=\$ac_header_compiler"
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 } # ac_fn_c_check_header_mongrel
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>&5
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1752 { { case "(($ac_try" in
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_try") 2>&5
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; }; }; then :
1764 $as_echo "$as_me: program exited with status $ac_status" >&5
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=$ac_status
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_c_try_link LINENO
1808 # -----------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded.
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext conftest$ac_exeext
1814 if { { ac_try="$ac_link"
1816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest
$ac_exeext && {
1833 test "$cross_compiling" = yes ||
1834 test -x conftest
$ac_exeext
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.
$ac_ext >&5
1843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1845 # interfere with the next link command; also delete a directory that is
1846 # left behind by Apple's compiler. We do this before executing the actions.
1847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status
$ac_retval
1851 } # ac_fn_c_try_link
1853 # ac_fn_c_check_func LINENO FUNC VAR
1854 # ----------------------------------
1855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1856 ac_fn_c_check_func
()
1858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if eval \
${$3+:} false
; then :
1862 $as_echo_n "(cached) " >&6
1864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1868 #define $2 innocuous_$2
1870 /* System header to define __stub macros and hopefully few prototypes,
1871 which can conflict with char $2 (); below.
1872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1873 <limits.h> exists even on freestanding compilers. */
1876 # include <limits.h>
1878 # include <assert.h>
1883 /* Override any GCC internal prototype to avoid an error.
1884 Use char because int might match the return type of a GCC
1885 builtin and then its argument prototype would still apply. */
1890 /* The GNU C library defines this for functions which it implements
1891 to always fail with ENOSYS. Some functions are actually named
1892 something starting with __ and the normal name is an alias. */
1893 #if defined __stub_$2 || defined __stub___$2
1905 if ac_fn_c_try_link
"$LINENO"; then :
1910 rm -f core conftest.err conftest.
$ac_objext \
1911 conftest
$ac_exeext conftest.
$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 } # ac_fn_c_check_func
1920 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1921 # -------------------------------------------
1922 # Tests whether TYPE exists after having included INCLUDES, setting cache
1923 # variable VAR accordingly.
1924 ac_fn_c_check_type
()
1926 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \
${$3+:} false
; then :
1930 $as_echo_n "(cached) " >&6
1933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1945 if ac_fn_c_try_compile
"$LINENO"; then :
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1958 if ac_fn_c_try_compile
"$LINENO"; then :
1963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_type
1974 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1975 # --------------------------------------------
1976 # Tries to find the compile-time value of EXPR in a program that includes
1977 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1979 ac_fn_c_compute_int
()
1981 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1982 if test "$cross_compiling" = yes; then
1983 # Depending upon the size, compute the lo and hi bounds.
1984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1990 static int test_array [1 - 2 * !(($2) >= 0)];
1992 return test_array [0];
1998 if ac_fn_c_try_compile
"$LINENO"; then :
2001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2007 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2009 return test_array [0];
2015 if ac_fn_c_try_compile
"$LINENO"; then :
2016 ac_hi
=$ac_mid; break
2018 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2019 if test $ac_lo -le $ac_mid; then
2023 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2034 static int test_array [1 - 2 * !(($2) < 0)];
2036 return test_array [0];
2042 if ac_fn_c_try_compile
"$LINENO"; then :
2045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2051 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2053 return test_array [0];
2059 if ac_fn_c_try_compile
"$LINENO"; then :
2060 ac_lo
=$ac_mid; break
2062 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2063 if test $ac_mid -le $ac_hi; then
2067 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 # Binary search between lo and hi bounds.
2078 while test "x$ac_lo" != "x$ac_hi"; do
2079 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2086 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2088 return test_array [0];
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2097 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2109 static long int longval () { return $2; }
2110 static unsigned long int ulongval () { return $2; }
2117 FILE *f = fopen ("conftest.val", "w");
2122 long int i = longval ();
2125 fprintf (f, "%ld", i);
2129 unsigned long int i = ulongval ();
2132 fprintf (f, "%lu", i);
2134 /* Do not output a trailing newline, as this causes \r\n confusion
2135 on some platforms. */
2136 return ferror (f) || fclose (f) != 0;
2142 if ac_fn_c_try_run
"$LINENO"; then :
2143 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2148 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2153 as_fn_set_status
$ac_retval
2155 } # ac_fn_c_compute_int
2157 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2158 # ---------------------------------------------
2159 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2161 ac_fn_c_check_decl
()
2163 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2164 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2165 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2167 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2168 if eval \
${$3+:} false
; then :
2169 $as_echo_n "(cached) " >&6
2171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2177 #ifndef $as_decl_name
2179 (void) $as_decl_use;
2181 (void) $as_decl_name;
2189 if ac_fn_c_try_compile
"$LINENO"; then :
2194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2198 $as_echo "$ac_res" >&6; }
2199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2201 } # ac_fn_c_check_decl
2202 cat >config.log
<<_ACEOF
2203 This file contains any messages produced by compilers while
2204 running configure, to aid debugging if configure makes a mistake.
2206 It was created by package-unused $as_me version-unused, which was
2207 generated by GNU Autoconf 2.69. Invocation command line was
2219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2231 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 $as_echo "PATH: $as_dir"
2259 # Keep a trace of the command line.
2260 # Strip out --no-create and --no-recursion so they do not pile up.
2261 # Strip out --silent because we don't want to record it for future runs.
2262 # Also quote any args containing shell meta-characters.
2263 # Make two passes to allow for proper duplicate-argument suppression.
2267 ac_must_keep_next
=false
2273 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2274 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2275 |
-silent |
--silent |
--silen |
--sile |
--sil)
2278 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2281 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2283 as_fn_append ac_configure_args1
" '$ac_arg'"
2284 if test $ac_must_keep_next = true
; then
2285 ac_must_keep_next
=false
# Got value, back to normal.
2288 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2289 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2290 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2291 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2292 case "$ac_configure_args0 " in
2293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2296 -* ) ac_must_keep_next
=true
;;
2299 as_fn_append ac_configure_args
" '$ac_arg'"
2304 { ac_configure_args0
=; unset ac_configure_args0
;}
2305 { ac_configure_args1
=; unset ac_configure_args1
;}
2307 # When interrupted or exit'd, cleanup temporary files, and complete
2308 # config.log. We remove comments because anyway the quotes in there
2309 # would cause problems or look ugly.
2310 # WARNING: Use '\'' to represent an apostrophe within the trap.
2311 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2312 trap 'exit_status=$?
2313 # Save into config.log some information that might help in debugging.
2317 $as_echo "## ---------------- ##
2318 ## Cache variables. ##
2319 ## ---------------- ##"
2321 # The following way of writing the cache mishandles newlines in values,
2323 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2324 eval ac_val=\$$ac_var
2328 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2332 _ | IFS | as_nl) ;; #(
2333 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2334 *) { eval $ac_var=; unset $ac_var;} ;;
2339 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2340 *${as_nl}ac_space=\ *)
2342 "s/'\''/'\''\\\\'\'''\''/g;
2343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2346 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2353 $as_echo "## ----------------- ##
2354 ## Output variables. ##
2355 ## ----------------- ##"
2357 for ac_var in $ac_subst_vars
2359 eval ac_val=\$$ac_var
2361 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2363 $as_echo "$ac_var='\''$ac_val'\''"
2367 if test -n "$ac_subst_files"; then
2368 $as_echo "## ------------------- ##
2369 ## File substitutions. ##
2370 ## ------------------- ##"
2372 for ac_var
in $ac_subst_files
2374 eval ac_val
=\$
$ac_var
2376 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2378 $as_echo "$ac_var='\''$ac_val'\''"
2383 if test -s confdefs.h; then
2384 $as_echo "## ----------- ##
2391 test "$ac_signal" != 0 &&
2392 $as_echo "$as_me: caught signal $ac_signal"
2393 $as_echo "$as_me: exit $exit_status"
2395 rm -f core *.core core.conftest.* &&
2396 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2399 for ac_signal
in 1 2 13 15; do
2400 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2405 rm -f -r conftest
* confdefs.h
2407 $as_echo "/* confdefs.h */" > confdefs.h
2409 # Predefined preprocessor variables.
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_NAME "$PACKAGE_NAME"
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2419 cat >>confdefs.h
<<_ACEOF
2420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2423 cat >>confdefs.h
<<_ACEOF
2424 #define PACKAGE_STRING "$PACKAGE_STRING"
2427 cat >>confdefs.h
<<_ACEOF
2428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_URL "$PACKAGE_URL"
2436 # Let the site file select an alternate cache file if it wants to.
2437 # Prefer an explicitly selected file to automatically selected ones.
2440 if test -n "$CONFIG_SITE"; then
2441 # We do not want a PATH search for config.site.
2442 case $CONFIG_SITE in #((
2443 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2444 */*) ac_site_file1
=$CONFIG_SITE;;
2445 *) ac_site_file1
=.
/$CONFIG_SITE;;
2447 elif test "x$prefix" != xNONE
; then
2448 ac_site_file1
=$prefix/share
/config.site
2449 ac_site_file2
=$prefix/etc
/config.site
2451 ac_site_file1
=$ac_default_prefix/share
/config.site
2452 ac_site_file2
=$ac_default_prefix/etc
/config.site
2454 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2456 test "x$ac_site_file" = xNONE
&& continue
2457 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2459 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2460 sed 's/^/| /' "$ac_site_file" >&5
2462 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2464 as_fn_error $?
"failed to load site script $ac_site_file
2465 See \`config.log' for more details" "$LINENO" 5; }
2469 if test -r "$cache_file"; then
2470 # Some versions of bash will fail to source /dev/null (special files
2471 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2472 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2474 $as_echo "$as_me: loading cache $cache_file" >&6;}
2476 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2477 *) .
"./$cache_file";;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2482 $as_echo "$as_me: creating cache $cache_file" >&6;}
2486 # Check that the precious variables saved in the cache have kept the same
2488 ac_cache_corrupted
=false
2489 for ac_var
in $ac_precious_vars; do
2490 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2491 eval ac_new_set
=\
$ac_env_${ac_var}_set
2492 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2493 eval ac_new_val
=\
$ac_env_${ac_var}_value
2494 case $ac_old_set,$ac_new_set in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2497 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2498 ac_cache_corrupted
=: ;;
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2501 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2502 ac_cache_corrupted
=: ;;
2505 if test "x$ac_old_val" != "x$ac_new_val"; then
2506 # differences in whitespace do not lead to failure.
2507 ac_old_val_w
=`echo x $ac_old_val`
2508 ac_new_val_w
=`echo x $ac_new_val`
2509 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2511 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2512 ac_cache_corrupted
=:
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2515 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2516 eval $ac_var=\
$ac_old_val
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2519 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2521 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2524 # Pass precious variables to config.status.
2525 if test "$ac_new_set" = set; then
2527 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2528 *) ac_arg
=$ac_var=$ac_new_val ;;
2530 case " $ac_configure_args " in
2531 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2532 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2536 if $ac_cache_corrupted; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2540 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2541 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2543 ## -------------------- ##
2544 ## Main body of script. ##
2545 ## -------------------- ##
2548 ac_cpp
='$CPP $CPPFLAGS'
2549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2558 ac_config_headers
="$ac_config_headers config.h"
2561 if test -n "${with_target_subdir}"; then
2562 # Default to --enable-multilib
2563 # Check whether --enable-multilib was given.
2564 if test "${enable_multilib+set}" = set; then :
2565 enableval
=$enable_multilib; case "$enableval" in
2566 yes) multilib
=yes ;;
2568 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2575 # We may get other options which we leave undocumented:
2576 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2577 # See config-ml.in if you want the gory details.
2579 if test "$srcdir" = "."; then
2580 if test "$with_target_subdir" != "."; then
2581 multi_basedir
="$srcdir/$with_multisrctop../.."
2583 multi_basedir
="$srcdir/$with_multisrctop.."
2586 multi_basedir
="$srcdir/.."
2590 # Even if the default multilib is not a cross compilation,
2591 # it may be that some of the other multilibs are.
2592 if test $cross_compiling = no
&& test $multilib = yes \
2593 && test "x${with_multisubdir}" != x
; then
2594 cross_compiling
=maybe
2597 ac_config_commands
="$ac_config_commands default-1"
2602 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2603 if test -f "$ac_dir/install-sh"; then
2605 ac_install_sh
="$ac_aux_dir/install-sh -c"
2607 elif test -f "$ac_dir/install.sh"; then
2609 ac_install_sh
="$ac_aux_dir/install.sh -c"
2611 elif test -f "$ac_dir/shtool"; then
2613 ac_install_sh
="$ac_aux_dir/shtool install -c"
2617 if test -z "$ac_aux_dir"; then
2618 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2621 # These three variables are undocumented and unsupported,
2622 # and are intended to be withdrawn in a future Autoconf release.
2623 # They can cause serious problems if a builder's source tree is in a directory
2624 # whose full name contains unusual characters.
2625 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2626 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2627 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2632 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if ${ac_cv_build+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 ac_build_alias
=$build_alias
2640 test "x$ac_build_alias" = x
&&
2641 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x
&&
2643 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2652 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2655 ac_save_IFS
=$IFS; IFS
='-'
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2665 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if ${ac_cv_host+:} false
; then :
2671 $as_echo_n "(cached) " >&6
2673 if test "x$host_alias" = x
; then
2674 ac_cv_host
=$ac_cv_build
2676 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2685 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2688 ac_save_IFS
=$IFS; IFS
='-'
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2698 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2702 $as_echo_n "checking target system type... " >&6; }
2703 if ${ac_cv_target+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 if test "x$target_alias" = x
; then
2707 ac_cv_target
=$ac_cv_host
2709 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2710 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2715 $as_echo "$ac_cv_target" >&6; }
2716 case $ac_cv_target in
2718 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2720 target
=$ac_cv_target
2721 ac_save_IFS
=$IFS; IFS
='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2734 # The aliases save the names the user supplied, while $host etc.
2735 # will get canonicalized.
2736 test -n "$target_alias" &&
2737 test "$program_prefix$program_suffix$program_transform_name" = \
2739 program_prefix
=${target_alias}-
2741 target_alias
=${target_alias-$host_alias}
2743 # Expand $ac_aux_dir to an absolute path.
2744 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2747 ac_cpp
='$CPP $CPPFLAGS'
2748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2751 if test -n "$ac_tool_prefix"; then
2752 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2753 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2755 $as_echo_n "checking for $ac_word... " >&6; }
2756 if ${ac_cv_prog_CC+:} false
; then :
2757 $as_echo_n "(cached) " >&6
2759 if test -n "$CC"; then
2760 ac_cv_prog_CC
="$CC" # Let the user override the test.
2762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir
=.
2767 for ac_exec_ext
in '' $ac_executable_extensions; do
2768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2769 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 if test -n "$CC"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2782 $as_echo "$CC" >&6; }
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785 $as_echo "no" >&6; }
2790 if test -z "$ac_cv_prog_CC"; then
2792 # Extract the first word of "gcc", so it can be a program name with args.
2793 set dummy gcc
; 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_ac_ct_CC+:} false
; then :
2797 $as_echo_n "(cached) " >&6
2799 if test -n "$ac_ct_CC"; then
2800 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir
=.
2807 for ac_exec_ext
in '' $ac_executable_extensions; do
2808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_ac_ct_CC
="gcc"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2820 if test -n "$ac_ct_CC"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2822 $as_echo "$ac_ct_CC" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2828 if test "x$ac_ct_CC" = x
; then
2831 case $cross_compiling:$ac_tool_warned in
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2835 ac_tool_warned
=yes ;;
2843 if test -z "$CC"; then
2844 if test -n "$ac_tool_prefix"; then
2845 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2846 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if ${ac_cv_prog_CC+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC
="$CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 if test -n "$CC"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2875 $as_echo "$CC" >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2884 if test -z "$CC"; then
2885 # Extract the first word of "cc", so it can be a program name with args.
2886 set dummy cc
; ac_word
=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_CC+:} false
; then :
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$CC"; then
2893 ac_cv_prog_CC
="$CC" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2903 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2904 ac_prog_rejected
=yes
2908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 if test $ac_prog_rejected = yes; then
2916 # We found a bogon in the path, so make sure we never use it.
2917 set dummy
$ac_cv_prog_CC
2919 if test $# != 0; then
2920 # We chose a different compiler from the bogus one.
2921 # However, it has the same basename, so the bogon will be chosen
2922 # first if we set CC to just the basename; use the full file name.
2924 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2930 if test -n "$CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2932 $as_echo "$CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2940 if test -z "$CC"; then
2941 if test -n "$ac_tool_prefix"; then
2942 for ac_prog
in cl.exe
2944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2945 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2947 $as_echo_n "checking for $ac_word... " >&6; }
2948 if ${ac_cv_prog_CC+:} false
; then :
2949 $as_echo_n "(cached) " >&6
2951 if test -n "$CC"; then
2952 ac_cv_prog_CC
="$CC" # Let the user override the test.
2954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir
=.
2959 for ac_exec_ext
in '' $ac_executable_extensions; do
2960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 if test -n "$CC"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2974 $as_echo "$CC" >&6; }
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2981 test -n "$CC" && break
2984 if test -z "$CC"; then
2986 for ac_prog
in cl.exe
2988 # Extract the first word of "$ac_prog", so it can be a program name with args.
2989 set dummy
$ac_prog; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$ac_ct_CC"; then
2996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_ac_ct_CC
="$ac_prog"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3016 if test -n "$ac_ct_CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3018 $as_echo "$ac_ct_CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3025 test -n "$ac_ct_CC" && break
3028 if test "x$ac_ct_CC" = x
; then
3031 case $cross_compiling:$ac_tool_warned in
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned
=yes ;;
3044 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 as_fn_error $?
"no acceptable C compiler found in \$PATH
3047 See \`config.log' for more details" "$LINENO" 5; }
3049 # Provide some information about the compiler.
3050 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3053 for ac_option
in --version -v -V -qversion; do
3054 { { ac_try
="$ac_compiler $ac_option >&5"
3056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3063 if test -s conftest.err; then
3065 ... rest of stderr output deleted ...
3066 10q' conftest.err >conftest.er1
3067 cat conftest.er1 >&5
3069 rm -f conftest.er1 conftest.err
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3085 ac_clean_files_save=$ac_clean_files
3086 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3087 # Try to create an executable without -o first, disregard a.out.
3088 # It will help us diagnose broken compilers, and finding out an intuition
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3091 $as_echo_n "checking whether the C compiler works... " >&6; }
3092 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3094 # The possible output files:
3095 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3098 for ac_file in $ac_files
3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3102 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3107 if { { ac_try="$ac_link_default"
3109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3110 *) ac_try_echo
=$ac_try;;
3112 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link_default") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3119 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3120 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3121 # so that the user can short-circuit this test for compilers unknown to
3123 for ac_file
in $ac_files ''
3125 test -f "$ac_file" ||
continue
3127 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3130 # We found the default executable, but exeext='' is most
3134 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3136 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3138 # We set ac_cv_exeext here because the later test for it is not
3139 # safe: cross compilers may not add the suffix if given an `-o'
3140 # argument, so we may need to know it at that point already.
3141 # Even if this section looks crufty: it has the advantage of
3148 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3153 if test -z "$ac_file"; then :
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3156 $as_echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.
$ac_ext >&5
3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error
77 "C compiler cannot create executables
3162 See \`config.log' for more details" "$LINENO" 5; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3168 $as_echo_n "checking for C compiler default output file name... " >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3170 $as_echo "$ac_file" >&6; }
3171 ac_exeext
=$ac_cv_exeext
3173 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3174 ac_clean_files
=$ac_clean_files_save
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3176 $as_echo_n "checking for suffix of executables... " >&6; }
3177 if { { ac_try
="$ac_link"
3179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_link") 2>&5
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; }; then :
3188 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3189 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3190 # work properly (i.e., refer to `conftest.exe'), while it won't with
3192 for ac_file
in conftest.exe conftest conftest.
*; do
3193 test -f "$ac_file" ||
continue
3195 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3196 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3205 See \`config.log' for more details" "$LINENO" 5; }
3207 rm -f conftest conftest
$ac_cv_exeext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3209 $as_echo "$ac_cv_exeext" >&6; }
3211 rm -f conftest.
$ac_ext
3212 EXEEXT
=$ac_cv_exeext
3214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3220 FILE *f = fopen ("conftest.out", "w");
3221 return ferror (f) || fclose (f) != 0;
3227 ac_clean_files
="$ac_clean_files conftest.out"
3228 # Check that the compiler produces executables we can run. If not, either
3229 # the compiler is broken, or we cross compile.
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3231 $as_echo_n "checking whether we are cross compiling... " >&6; }
3232 if test "$cross_compiling" != yes; then
3233 { { ac_try
="$ac_link"
3235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_link") 2>&5
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; }
3244 if { ac_try='./conftest$ac_cv_exeext'
3245 { { case "(($ac_try" in
3246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3247 *) ac_try_echo
=$ac_try;;
3249 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_try") 2>&5
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }; }; then
3257 if test "$cross_compiling" = maybe
; then
3260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error $?
"cannot run C compiled programs.
3263 If you meant to cross compile, use \`--host'.
3264 See \`config.log' for more details" "$LINENO" 5; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3269 $as_echo "$cross_compiling" >&6; }
3271 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3272 ac_clean_files
=$ac_clean_files_save
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3274 $as_echo_n "checking for suffix of object files... " >&6; }
3275 if ${ac_cv_objext+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 rm -f conftest.o conftest.obj
3290 if { { ac_try
="$ac_compile"
3292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_compile") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }; then :
3301 for ac_file in conftest.o conftest.obj conftest.*; do
3302 test -f "$ac_file" || continue;
3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3305 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3310 $as_echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3316 See \
`config.log' for more details" "$LINENO" 5; }
3318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3321 $as_echo "$ac_cv_objext" >&6; }
3322 OBJEXT=$ac_cv_objext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3326 if ${ac_cv_c_compiler_gnu+:} false; then :
3327 $as_echo_n "(cached) " >&6
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3343 if ac_fn_c_try_compile "$LINENO"; then :
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3353 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3354 if test $ac_compiler_gnu = yes; then
3359 ac_test_CFLAGS=${CFLAGS+set}
3360 ac_save_CFLAGS=$CFLAGS
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3362 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3363 if ${ac_cv_prog_cc_g+:} false; then :
3364 $as_echo_n "(cached) " >&6
3366 ac_save_c_werror_flag=$ac_c_werror_flag
3367 ac_c_werror_flag=yes
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3381 if ac_fn_c_try_compile "$LINENO"; then :
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3396 if ac_fn_c_try_compile "$LINENO"; then :
3399 ac_c_werror_flag=$ac_save_c_werror_flag
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 if ac_fn_c_try_compile "$LINENO"; then :
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3420 ac_c_werror_flag=$ac_save_c_werror_flag
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3423 $as_echo "$ac_cv_prog_cc_g" >&6; }
3424 if test "$ac_test_CFLAGS" = set; then
3425 CFLAGS=$ac_save_CFLAGS
3426 elif test $ac_cv_prog_cc_g = yes; then
3427 if test "$GCC" = yes; then
3433 if test "$GCC" = yes; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3440 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3441 if ${ac_cv_prog_cc_c89+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 ac_cv_prog_cc_c89=no
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3451 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3452 struct buf { int x; };
3453 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3454 static char *e (p, i)
3460 static char *f (char * (*g) (char **, int), char **p, ...)
3465 s = g (p, va_arg (v,int));
3470 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3471 function prototypes and stuff, but not '\xHH' hex character constants.
3472 These don't provoke an error unfortunately, instead are silently treated
3473 as 'x'. The following induces an error, until -std is added to get
3474 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3475 array size at least. It's necessary to write '\x00'==0 to get something
3476 that's true only with -std. */
3477 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3479 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3480 inside strings and character constants. */
3482 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3484 int test (int i, double x);
3485 struct s1 {int (*f) (int a);};
3486 struct s2 {int (*f) (double a);};
3487 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3493 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3498 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3499 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3501 CC="$ac_save_CC $ac_arg"
3502 if ac_fn_c_try_compile "$LINENO"; then :
3503 ac_cv_prog_cc_c89=$ac_arg
3505 rm -f core conftest.err conftest.$ac_objext
3506 test "x$ac_cv_prog_cc_c89" != "xno" && break
3508 rm -f conftest.$ac_ext
3513 case "x$ac_cv_prog_cc_c89" in
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3516 $as_echo "none needed" >&6; } ;;
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3519 $as_echo "unsupported" >&6; } ;;
3521 CC="$CC $ac_cv_prog_cc_c89"
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3523 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3525 if test "x$ac_cv_prog_cc_c89" != xno; then :
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3541 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3542 if ${am_cv_prog_cc_c_o+:} false; then :
3543 $as_echo_n "(cached) " >&6
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3556 # Make sure it works both with $CC and with simple cc.
3557 # Following AC_PROG_CC_C_O, we do the test twice because some
3558 # compilers refuse to overwrite an existing .o file with -o,
3559 # though they will create one.
3560 am_cv_prog_cc_c_o=yes
3562 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3563 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } \
3567 && test -f conftest2.$ac_objext; then
3570 am_cv_prog_cc_c_o=no
3574 rm -f core conftest*
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3578 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3579 if test "$am_cv_prog_cc_c_o" != yes; then
3580 # Losing compiler, so override with the script.
3581 # FIXME: It is wrong to rewrite CC.
3582 # But if we don't then we get into trouble of one sort or another.
3583 # A longer-term fix would be to have automake use am__CC in this case,
3584 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3585 CC="$am_aux_dir/compile $CC"
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3602 # On Suns, sometimes $CPP names a directory.
3603 if test -n "$CPP" && test -d "$CPP"; then
3606 if test -z "$CPP"; then
3607 if ${ac_cv_prog_CPP+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 # Double quotes because CPP needs to be expanded
3611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3614 for ac_c_preproc_warn_flag in '' yes
3616 # Use a header file that comes with gcc, so configuring glibc
3617 # with a fresh cross-compiler works.
3618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 # <limits.h> exists even on freestanding compilers.
3620 # On the NeXT, cc -E runs the code through the compiler's parser,
3621 # not just through cpp. "Syntax error" is here to catch this case.
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3625 # include <limits.h>
3627 # include <assert.h>
3631 if ac_fn_c_try_cpp "$LINENO"; then :
3634 # Broken: fails on valid input.
3637 rm -f conftest.err conftest.i conftest.$ac_ext
3639 # OK, works on sane cases. Now check whether nonexistent headers
3640 # can be detected and how.
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3643 #include <ac_nonexistent.h>
3645 if ac_fn_c_try_cpp "$LINENO"; then :
3646 # Broken: success on invalid input.
3649 # Passes both tests.
3653 rm -f conftest.err conftest.i conftest.$ac_ext
3656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3657 rm -f conftest.i conftest.err conftest.
$ac_ext
3658 if $ac_preproc_ok; then :
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3671 $as_echo "$CPP" >&6; }
3673 for ac_c_preproc_warn_flag
in '' yes
3675 # Use a header file that comes with gcc, so configuring glibc
3676 # with a fresh cross-compiler works.
3677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 # <limits.h> exists even on freestanding compilers.
3679 # On the NeXT, cc -E runs the code through the compiler's parser,
3680 # not just through cpp. "Syntax error" is here to catch this case.
3681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3684 # include <limits.h>
3686 # include <assert.h>
3690 if ac_fn_c_try_cpp
"$LINENO"; then :
3693 # Broken: fails on valid input.
3696 rm -f conftest.err conftest.i conftest.
$ac_ext
3698 # OK, works on sane cases. Now check whether nonexistent headers
3699 # can be detected and how.
3700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3702 #include <ac_nonexistent.h>
3704 if ac_fn_c_try_cpp
"$LINENO"; then :
3705 # Broken: success on invalid input.
3708 # Passes both tests.
3712 rm -f conftest.err conftest.i conftest.
$ac_ext
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.i conftest.err conftest.
$ac_ext
3717 if $ac_preproc_ok; then :
3720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3723 See \`config.log' for more details" "$LINENO" 5; }
3727 ac_cpp
='$CPP $CPPFLAGS'
3728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3734 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3735 if ${ac_cv_path_GREP+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -z "$GREP"; then
3739 ac_path_GREP_found
=false
3740 # Loop through the user's path and test for each of PROGNAME-LIST
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_prog
in grep ggrep
; do
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3749 as_fn_executable_p
"$ac_path_GREP" ||
continue
3750 # Check for GNU ac_path_GREP and select it if it is found.
3751 # Check for GNU $ac_path_GREP
3752 case `"$ac_path_GREP" --version 2>&1` in
3754 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3757 $as_echo_n 0123456789 >"conftest.in"
3760 cat "conftest.in" "conftest.in" >"conftest.tmp"
3761 mv "conftest.tmp" "conftest.in"
3762 cp "conftest.in" "conftest.nl"
3763 $as_echo 'GREP' >> "conftest.nl"
3764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3765 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3766 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3768 # Best one so far, save it but keep looking for a better one
3769 ac_cv_path_GREP
="$ac_path_GREP"
3770 ac_path_GREP_max
=$ac_count
3772 # 10*(2^10) chars as input seems more than enough
3773 test $ac_count -gt 10 && break
3775 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3778 $ac_path_GREP_found && break 3
3783 if test -z "$ac_cv_path_GREP"; then
3784 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3787 ac_cv_path_GREP
=$GREP
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3792 $as_echo "$ac_cv_path_GREP" >&6; }
3793 GREP
="$ac_cv_path_GREP"
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3797 $as_echo_n "checking for egrep... " >&6; }
3798 if ${ac_cv_path_EGREP+:} false
; then :
3799 $as_echo_n "(cached) " >&6
3801 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3802 then ac_cv_path_EGREP
="$GREP -E"
3804 if test -z "$EGREP"; then
3805 ac_path_EGREP_found
=false
3806 # Loop through the user's path and test for each of PROGNAME-LIST
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_prog
in egrep; do
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3815 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3816 # Check for GNU ac_path_EGREP and select it if it is found.
3817 # Check for GNU $ac_path_EGREP
3818 case `"$ac_path_EGREP" --version 2>&1` in
3820 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3823 $as_echo_n 0123456789 >"conftest.in"
3826 cat "conftest.in" "conftest.in" >"conftest.tmp"
3827 mv "conftest.tmp" "conftest.in"
3828 cp "conftest.in" "conftest.nl"
3829 $as_echo 'EGREP' >> "conftest.nl"
3830 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3831 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3832 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3833 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3834 # Best one so far, save it but keep looking for a better one
3835 ac_cv_path_EGREP
="$ac_path_EGREP"
3836 ac_path_EGREP_max
=$ac_count
3838 # 10*(2^10) chars as input seems more than enough
3839 test $ac_count -gt 10 && break
3841 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3844 $ac_path_EGREP_found && break 3
3849 if test -z "$ac_cv_path_EGREP"; then
3850 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3853 ac_cv_path_EGREP
=$EGREP
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3859 $as_echo "$ac_cv_path_EGREP" >&6; }
3860 EGREP
="$ac_cv_path_EGREP"
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3864 $as_echo_n "checking for ANSI C header files... " >&6; }
3865 if ${ac_cv_header_stdc+:} false
; then :
3866 $as_echo_n "(cached) " >&6
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3883 if ac_fn_c_try_compile
"$LINENO"; then :
3884 ac_cv_header_stdc
=yes
3886 ac_cv_header_stdc
=no
3888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3890 if test $ac_cv_header_stdc = yes; then
3891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3898 $EGREP "memchr" >/dev
/null
2>&1; then :
3901 ac_cv_header_stdc
=no
3907 if test $ac_cv_header_stdc = yes; then
3908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3915 $EGREP "free" >/dev
/null
2>&1; then :
3918 ac_cv_header_stdc
=no
3924 if test $ac_cv_header_stdc = yes; then
3925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3926 if test "$cross_compiling" = yes; then :
3929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3933 #if ((' ' & 0x0FF) == 0x020)
3934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3937 # define ISLOWER(c) \
3938 (('a' <= (c) && (c) <= 'i') \
3939 || ('j' <= (c) && (c) <= 'r') \
3940 || ('s' <= (c) && (c) <= 'z'))
3941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3949 for (i = 0; i < 256; i++)
3950 if (XOR (islower (i), ISLOWER (i))
3951 || toupper (i) != TOUPPER (i))
3956 if ac_fn_c_try_run
"$LINENO"; then :
3959 ac_cv_header_stdc
=no
3961 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3962 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3968 $as_echo "$ac_cv_header_stdc" >&6; }
3969 if test $ac_cv_header_stdc = yes; then
3971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3976 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3977 inttypes.h stdint.h unistd.h
3979 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3980 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3982 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3983 cat >>confdefs.h
<<_ACEOF
3984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3993 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3994 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4001 if test "$MINIX" = yes; then
4003 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4006 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4009 $as_echo "#define _MINIX 1" >>confdefs.h
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4015 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4016 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4017 $as_echo_n "(cached) " >&6
4019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4022 # define __EXTENSIONS__ 1
4023 $ac_includes_default
4032 if ac_fn_c_try_compile
"$LINENO"; then :
4033 ac_cv_safe_to_define___extensions__
=yes
4035 ac_cv_safe_to_define___extensions__
=no
4037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4040 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4041 test $ac_cv_safe_to_define___extensions__ = yes &&
4042 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4044 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4046 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4048 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4050 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4054 libtool_VERSION
=1:0:0
4057 # 1.11.1: Require that version of automake.
4058 # foreign: Don't require README, INSTALL, NEWS, etc.
4059 # no-define: Don't define PACKAGE and VERSION.
4060 # no-dependencies: Don't generate automatic dependencies.
4061 # (because it breaks when using bootstrap-lean, since some of the
4062 # headers are gone at "make install" time).
4063 # -Wall: Issue all automake warnings.
4064 # -Wno-portability: Don't warn about constructs supported by GNU make.
4065 # (because GCC requires GNU make anyhow).
4066 am__api_version
='1.15'
4068 # Find a good install program. We prefer a C program (faster),
4069 # so one script is as good as another. But avoid the broken or
4070 # incompatible versions:
4071 # SysV /etc/install, /usr/sbin/install
4072 # SunOS /usr/etc/install
4073 # IRIX /sbin/install
4075 # AmigaOS /C/install, which installs bootblocks on floppy discs
4076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4079 # OS/2's system install, which has a completely different semantic
4080 # ./install, which can be erroneously created by make from ./install.sh.
4081 # Reject install programs that cannot install multiple files.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4083 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4084 if test -z "$INSTALL"; then
4085 if ${ac_cv_path_install+:} false
; then :
4086 $as_echo_n "(cached) " >&6
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir
=.
4093 # Account for people who put trailing slashes in PATH elements.
4094 case $as_dir/ in #((
4095 .
/ | .
// |
/[cC
]/* | \
4096 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4097 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4100 # OSF1 and SCO ODT 3.0 have their own names for install.
4101 # Don't use installbsd from OSF since it installs stuff as root
4103 for ac_prog
in ginstall scoinst
install; do
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4106 if test $ac_prog = install &&
4107 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4108 # AIX install. It has an incompatible calling convention.
4110 elif test $ac_prog = install &&
4111 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4112 # program-specific install script used by HP pwplus--don't use.
4115 rm -rf conftest.one conftest.two conftest.dir
4116 echo one
> conftest.one
4117 echo two
> conftest.two
4119 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4120 test -s conftest.one
&& test -s conftest.two
&&
4121 test -s conftest.dir
/conftest.one
&&
4122 test -s conftest.dir
/conftest.two
4124 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4137 rm -rf conftest.one conftest.two conftest.dir
4140 if test "${ac_cv_path_install+set}" = set; then
4141 INSTALL
=$ac_cv_path_install
4143 # As a last resort, use the slow shell script. Don't cache a
4144 # value for INSTALL within a source directory, because that will
4145 # break other packages using the cache if that directory is
4146 # removed, or if the value is a relative name.
4147 INSTALL
=$ac_install_sh
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4151 $as_echo "$INSTALL" >&6; }
4153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4154 # It thinks the first close brace ends the variable substitution.
4155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4159 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4162 $as_echo_n "checking whether build environment is sane... " >&6; }
4163 # Reject unsafe characters in $srcdir or the absolute working directory
4164 # name. Accept space and tab only in the latter.
4168 *[\\\"\
#\$\&\'\`$am_lf]*)
4169 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4172 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4173 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4176 # Do 'set' in a subshell so we don't clobber the current shell's
4177 # arguments. Must try -L first in case configure is actually a
4178 # symlink; some systems play weird games with the mod time of symlinks
4179 # (eg FreeBSD returns the mod time of the symlink's containing
4183 for am_try
in 1 2; do
4184 echo "timestamp, slept: $am_has_slept" > conftest.
file
4185 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4186 if test "$*" = "X"; then
4188 set X
`ls -t "$srcdir/configure" conftest.file`
4190 if test "$*" != "X $srcdir/configure conftest.file" \
4191 && test "$*" != "X conftest.file $srcdir/configure"; then
4193 # If neither matched, then we have a broken ls. This can happen
4194 # if, for instance, CONFIG_SHELL is bash and it inherits a
4195 # broken ls alias from the environment. This has actually
4196 # happened. Such a system could not be considered "sane".
4197 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4198 alias in your environment" "$LINENO" 5
4200 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4207 test "$2" = conftest.
file
4213 as_fn_error $?
"newly created file is older than distributed files!
4214 Check your system clock" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217 $as_echo "yes" >&6; }
4218 # If we didn't sleep, we still need to ensure time stamps of config.status and
4219 # generated files are strictly newer.
4221 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4228 test "$program_prefix" != NONE
&&
4229 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4230 # Use a double $ so make ignores it.
4231 test "$program_suffix" != NONE
&&
4232 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4233 # Double any \ or $.
4234 # By default was `s,x,x', remove it if useless.
4235 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4236 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4238 if test x
"${MISSING+set}" != xset
; then
4241 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4243 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4246 # Use eval to expand $SHELL
4247 if eval "$MISSING --is-lightweight"; then
4248 am_missing_run
="$MISSING "
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4252 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4255 if test x
"${install_sh+set}" != xset
; then
4258 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4260 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4264 # Installed binaries are usually stripped using 'strip' when the user
4265 # run "make install-strip". However 'strip' might not be the right
4266 # tool to use in cross-compilation environments, therefore Automake
4267 # will honor the 'STRIP' environment variable to overrule this program.
4268 if test "$cross_compiling" != no
; then
4269 if test -n "$ac_tool_prefix"; then
4270 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4271 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_STRIP+:} false
; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$STRIP"; then
4278 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir
=.
4285 for ac_exec_ext
in '' $ac_executable_extensions; do
4286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 STRIP
=$ac_cv_prog_STRIP
4298 if test -n "$STRIP"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4300 $as_echo "$STRIP" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4308 if test -z "$ac_cv_prog_STRIP"; then
4310 # Extract the first word of "strip", so it can be a program name with args.
4311 set dummy strip
; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$ac_ct_STRIP"; then
4318 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_ac_ct_STRIP
="strip"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4338 if test -n "$ac_ct_STRIP"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4340 $as_echo "$ac_ct_STRIP" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4346 if test "x$ac_ct_STRIP" = x
; then
4349 case $cross_compiling:$ac_tool_warned in
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4353 ac_tool_warned
=yes ;;
4358 STRIP
="$ac_cv_prog_STRIP"
4362 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4365 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4366 if test -z "$MKDIR_P"; then
4367 if ${ac_cv_path_mkdir+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4371 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4374 test -z "$as_dir" && as_dir
=.
4375 for ac_prog
in mkdir gmkdir
; do
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4378 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4379 'mkdir (GNU coreutils) '* | \
4380 'mkdir (coreutils) '* | \
4381 'mkdir (fileutils) '4.1*)
4382 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4392 test -d .
/--version && rmdir .
/--version
4393 if test "${ac_cv_path_mkdir+set}" = set; then
4394 MKDIR_P
="$ac_cv_path_mkdir -p"
4396 # As a last resort, use the slow shell script. Don't cache a
4397 # value for MKDIR_P within a source directory, because that will
4398 # break other packages using the cache if that directory is
4399 # removed, or if the value is a relative name.
4400 MKDIR_P
="$ac_install_sh -d"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4404 $as_echo "$MKDIR_P" >&6; }
4406 for ac_prog
in gawk mawk nawk
awk
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy
$ac_prog; ac_word
=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_AWK+:} false
; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$AWK"; then
4416 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_AWK
="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$AWK"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4438 $as_echo "$AWK" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$AWK" && break
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4449 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4451 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4452 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4453 $as_echo_n "(cached) " >&6
4455 cat >conftest.
make <<\_ACEOF
4458 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4460 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4461 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4463 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4465 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4469 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471 $as_echo "yes" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4476 SET_MAKE
="MAKE=${MAKE-make}"
4479 rm -rf .tst
2>/dev
/null
4480 mkdir .tst
2>/dev
/null
4481 if test -d .tst
; then
4486 rmdir .tst
2>/dev
/null
4488 # Check whether --enable-silent-rules was given.
4489 if test "${enable_silent_rules+set}" = set; then :
4490 enableval
=$enable_silent_rules;
4493 case $enable_silent_rules in # (((
4494 yes) AM_DEFAULT_VERBOSITY
=0;;
4495 no
) AM_DEFAULT_VERBOSITY
=1;;
4496 *) AM_DEFAULT_VERBOSITY
=1;;
4498 am_make
=${MAKE-make}
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4500 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4501 if ${am_cv_make_support_nested_variables+:} false
; then :
4502 $as_echo_n "(cached) " >&6
4504 if $as_echo 'TRUE=$(BAR$(V))
4510 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4511 am_cv_make_support_nested_variables
=yes
4513 am_cv_make_support_nested_variables
=no
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4517 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4518 if test $am_cv_make_support_nested_variables = yes; then
4520 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4522 AM_V
=$AM_DEFAULT_VERBOSITY
4523 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4527 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4528 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4529 # is not polluted with repeated "-I."
4530 am__isrc
=' -I$(srcdir)'
4531 # test to see if srcdir already configured
4532 if test -f $srcdir/config.status
; then
4533 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4537 # test whether we have cygpath
4538 if test -z "$CYGPATH_W"; then
4539 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4540 CYGPATH_W
='cygpath -w'
4547 # Define the identity of the package.
4548 PACKAGE
='libbacktrace'
4549 VERSION
='version-unused'
4552 # Some tools Automake needs.
4554 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4557 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4560 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4563 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4566 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4568 # For better backward compatibility. To be removed once Automake 1.9.x
4569 # dies out for good. For more background, see:
4570 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4571 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4572 mkdir_p
='$(MKDIR_P)'
4574 # We need awk for the "check" target (and possibly the TAP driver). The
4575 # system "awk" is bad on some platforms.
4576 # Always define AMTAR for backward compatibility. Yes, it's still used
4577 # in the wild :-( We should find a proper way to deprecate it ...
4581 # We'll loop over all known methods to create a tar archive until one works.
4582 _am_tools
='gnutar pax cpio none'
4584 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4591 # POSIX will say in a future version that running "rm -f" with no argument
4592 # is OK; and we want to be able to make that assumption in our Makefile
4593 # recipes. So use an aggressive probe to check that the usage we want is
4594 # actually supported "in the wild" to an acceptable degree.
4595 # See automake bug#10828.
4596 # To make any issue more visible, cause the running configure to be aborted
4597 # by default if the 'rm' program in use doesn't match our expectations; the
4598 # user can still override this though.
4599 if rm -f && rm -fr && rm -rf; then : OK
; else
4603 Your 'rm' program seems unable to run without file operands specified
4604 on the command line, even when the '-f' option is present. This is contrary
4605 to the behaviour of most rm programs out there, and not conforming with
4606 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4608 Please tell bug-automake@gnu.org about your system, including the value
4609 of your $PATH and any error possibly output before this message. This
4610 can help us improve future automake versions.
4613 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4614 echo 'Configuration will proceed anyway, since you have set the' >&2
4615 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4619 Aborting the configuration process, to ensure you take notice of the issue.
4621 You can download and install GNU coreutils to get an 'rm' implementation
4622 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4624 If you want to complete the configuration process using your problematic
4625 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4626 to "yes", and re-run configure.
4629 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4636 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4637 # Check whether --enable-maintainer-mode was given.
4638 if test "${enable_maintainer_mode+set}" = set; then :
4639 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4641 USE_MAINTAINER_MODE
=no
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4645 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4646 if test $USE_MAINTAINER_MODE = yes; then
4647 MAINTAINER_MODE_TRUE
=
4648 MAINTAINER_MODE_FALSE
='#'
4650 MAINTAINER_MODE_TRUE
='#'
4651 MAINTAINER_MODE_FALSE
=
4654 MAINT
=$MAINTAINER_MODE_TRUE
4659 # Check whether --with-target-subdir was given.
4660 if test "${with_target_subdir+set}" = set; then :
4661 withval
=$with_target_subdir;
4665 # We must force CC to /not/ be precious variables; otherwise
4666 # the wrong, non-multilib-adjusted value will be used in multilibs.
4667 # As a side effect, we have to subst CFLAGS ourselves.
4671 ac_cpp
='$CPP $CPPFLAGS'
4672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4675 if test -n "$ac_tool_prefix"; then
4676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4677 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_CC+:} false
; then :
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$CC"; then
4684 ac_cv_prog_CC
="$CC" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 if test -n "$CC"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4706 $as_echo "$CC" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4714 if test -z "$ac_cv_prog_CC"; then
4716 # Extract the first word of "gcc", so it can be a program name with args.
4717 set dummy gcc
; ac_word
=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$ac_ct_CC"; then
4724 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_ac_ct_CC
="gcc"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4744 if test -n "$ac_ct_CC"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4746 $as_echo "$ac_ct_CC" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4752 if test "x$ac_ct_CC" = x
; then
4755 case $cross_compiling:$ac_tool_warned in
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759 ac_tool_warned
=yes ;;
4767 if test -z "$CC"; then
4768 if test -n "$ac_tool_prefix"; then
4769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4770 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_CC+:} false
; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$CC"; then
4777 ac_cv_prog_CC
="$CC" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 if test -n "$CC"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4799 $as_echo "$CC" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4808 if test -z "$CC"; then
4809 # Extract the first word of "cc", so it can be a program name with args.
4810 set dummy cc
; ac_word
=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_prog_CC+:} false
; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$CC"; then
4817 ac_cv_prog_CC
="$CC" # Let the user override the test.
4820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir
=.
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4828 ac_prog_rejected
=yes
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 if test $ac_prog_rejected = yes; then
4840 # We found a bogon in the path, so make sure we never use it.
4841 set dummy
$ac_cv_prog_CC
4843 if test $# != 0; then
4844 # We chose a different compiler from the bogus one.
4845 # However, it has the same basename, so the bogon will be chosen
4846 # first if we set CC to just the basename; use the full file name.
4848 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4854 if test -n "$CC"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4856 $as_echo "$CC" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4864 if test -z "$CC"; then
4865 if test -n "$ac_tool_prefix"; then
4866 for ac_prog
in cl.exe
4868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_CC+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$CC"; then
4876 ac_cv_prog_CC
="$CC" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 if test -n "$CC"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4898 $as_echo "$CC" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4905 test -n "$CC" && break
4908 if test -z "$CC"; then
4910 for ac_prog
in cl.exe
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy
$ac_prog; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$ac_ct_CC"; then
4920 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_CC
="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4940 if test -n "$ac_ct_CC"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4942 $as_echo "$ac_ct_CC" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$ac_ct_CC" && break
4952 if test "x$ac_ct_CC" = x
; then
4955 case $cross_compiling:$ac_tool_warned in
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned
=yes ;;
4968 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4970 as_fn_error $?
"no acceptable C compiler found in \$PATH
4971 See \`config.log' for more details" "$LINENO" 5; }
4973 # Provide some information about the compiler.
4974 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4977 for ac_option
in --version -v -V -qversion; do
4978 { { ac_try
="$ac_compiler $ac_option >&5"
4980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4981 *) ac_try_echo=$ac_try;;
4983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4984 $as_echo "$ac_try_echo"; } >&5
4985 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4987 if test -s conftest.err; then
4989 ... rest of stderr output deleted ...
4990 10q' conftest.err >conftest.er1
4991 cat conftest.er1 >&5
4993 rm -f conftest.er1 conftest.err
4994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4995 test $ac_status = 0; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4999 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5000 if ${ac_cv_c_compiler_gnu+:} false; then :
5001 $as_echo_n "(cached) " >&6
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5017 if ac_fn_c_try_compile "$LINENO"; then :
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5027 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5028 if test $ac_compiler_gnu = yes; then
5033 ac_test_CFLAGS=${CFLAGS+set}
5034 ac_save_CFLAGS=$CFLAGS
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5036 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5037 if ${ac_cv_prog_cc_g+:} false; then :
5038 $as_echo_n "(cached) " >&6
5040 ac_save_c_werror_flag=$ac_c_werror_flag
5041 ac_c_werror_flag=yes
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5055 if ac_fn_c_try_compile "$LINENO"; then :
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 if ac_fn_c_try_compile "$LINENO"; then :
5073 ac_c_werror_flag=$ac_save_c_werror_flag
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5086 if ac_fn_c_try_compile "$LINENO"; then :
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 ac_c_werror_flag=$ac_save_c_werror_flag
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5097 $as_echo "$ac_cv_prog_cc_g" >&6; }
5098 if test "$ac_test_CFLAGS" = set; then
5099 CFLAGS=$ac_save_CFLAGS
5100 elif test $ac_cv_prog_cc_g = yes; then
5101 if test "$GCC" = yes; then
5107 if test "$GCC" = yes; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5114 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5115 if ${ac_cv_prog_cc_c89+:} false; then :
5116 $as_echo_n "(cached) " >&6
5118 ac_cv_prog_cc_c89=no
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5126 struct buf { int x; };
5127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5128 static char *e (p, i)
5134 static char *f (char * (*g) (char **, int), char **p, ...)
5139 s = g (p, va_arg (v,int));
5144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5145 function prototypes and stuff, but not '\xHH' hex character constants.
5146 These don't provoke an error unfortunately, instead are silently treated
5147 as 'x'. The following induces an error, until -std is added to get
5148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5149 array size at least. It's necessary to write '\x00'==0 to get something
5150 that's true only with -std. */
5151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5154 inside strings and character constants. */
5156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5158 int test (int i, double x);
5159 struct s1 {int (*f) (int a);};
5160 struct s2 {int (*f) (double a);};
5161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5175 CC="$ac_save_CC $ac_arg"
5176 if ac_fn_c_try_compile "$LINENO"; then :
5177 ac_cv_prog_cc_c89=$ac_arg
5179 rm -f core conftest.err conftest.$ac_objext
5180 test "x$ac_cv_prog_cc_c89" != "xno" && break
5182 rm -f conftest.$ac_ext
5187 case "x$ac_cv_prog_cc_c89" in
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5190 $as_echo "none needed" >&6; } ;;
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5193 $as_echo "unsupported" >&6; } ;;
5195 CC="$CC $ac_cv_prog_cc_c89"
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5197 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5199 if test "x$ac_cv_prog_cc_c89" != xno; then :
5204 ac_cpp='$CPP $CPPFLAGS'
5205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5210 ac_cpp='$CPP $CPPFLAGS'
5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5215 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5216 if ${am_cv_prog_cc_c_o+:} false; then :
5217 $as_echo_n "(cached) " >&6
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5230 # Make sure it works both with $CC and with simple cc.
5231 # Following AC_PROG_CC_C_O, we do the test twice because some
5232 # compilers refuse to overwrite an existing .o file with -o,
5233 # though they will create one.
5234 am_cv_prog_cc_c_o=yes
5236 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5237 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } \
5241 && test -f conftest2.$ac_objext; then
5244 am_cv_prog_cc_c_o=no
5248 rm -f core conftest*
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5252 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5253 if test "$am_cv_prog_cc_c_o" != yes; then
5254 # Losing compiler, so override with the script.
5255 # FIXME: It is wrong to rewrite CC.
5256 # But if we don't then we get into trouble of one sort or another.
5257 # A longer-term fix would be to have automake use am__CC in this case,
5258 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5259 CC="$am_aux_dir/compile $CC"
5262 ac_cpp='$CPP $CPPFLAGS'
5263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5272 if test -n "$ac_tool_prefix"; then
5273 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5274 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_RANLIB+:} false; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$RANLIB"; then
5281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 RANLIB=$ac_cv_prog_RANLIB
5301 if test -n "$RANLIB"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5303 $as_echo "$RANLIB" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5311 if test -z "$ac_cv_prog_RANLIB"; then
5312 ac_ct_RANLIB=$RANLIB
5313 # Extract the first word of "ranlib", so it can be a program name with args.
5314 set dummy ranlib; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5318 $as_echo_n "(cached) " >&6
5320 if test -n "$ac_ct_RANLIB"; then
5321 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5330 ac_cv_prog_ac_ct_RANLIB="ranlib"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5341 if test -n "$ac_ct_RANLIB"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5343 $as_echo "$ac_ct_RANLIB" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5349 if test "x$ac_ct_RANLIB" = x; then
5352 case $cross_compiling:$ac_tool_warned in
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5356 ac_tool_warned=yes ;;
5358 RANLIB=$ac_ct_RANLIB
5361 RANLIB="$ac_cv_prog_RANLIB"
5365 for ac_prog in gawk mawk nawk awk
5367 # Extract the first word of "$ac_prog", so it can be a program name with args.
5368 set dummy $ac_prog; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_AWK+:} false; then :
5372 $as_echo_n "(cached) " >&6
5374 if test -n "$AWK"; then
5375 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5384 ac_cv_prog_AWK="$ac_prog"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 if test -n "$AWK"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5397 $as_echo "$AWK" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5404 test -n "$AWK" && break
5408 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
5411 # Extract the first word of "dwz", so it can be a program name with args.
5412 set dummy dwz; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_DWZ+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -n "$DWZ"; then
5419 ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_DWZ="dwz"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 if test -n "$DWZ"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
5441 $as_echo "$DWZ" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 if test "$DWZ" != ""; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5460 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5465 macro_version='2.2.7a'
5466 macro_revision='1.3134'
5480 ltmain="$ac_aux_dir/ltmain.sh"
5482 # Backslashify metacharacters that are still active within
5483 # double-quoted strings.
5484 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5486 # Same as above, but do not quote variable references.
5487 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5489 # Sed substitution to delay expansion of an escaped shell variable in a
5490 # double_quote_subst'ed string.
5491 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5493 # Sed substitution to delay expansion of an escaped single quote.
5494 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5496 # Sed substitution to avoid accidental globbing in evaled expressions
5497 no_glob_subst='s/\*/\\\*/g'
5499 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5500 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5501 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5504 $as_echo_n "checking how to print
strings...
" >&6; }
5505 # Test print first, because it will be a builtin if present.
5506 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5507 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5509 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5512 # Use this function as a fallback that always works.
5513 func_fallback_echo ()
5515 eval 'cat <<_LTECHO_EOF
5519 ECHO='func_fallback_echo'
5522 # func_echo_all arg...
5523 # Invoke $ECHO with all args, space-separated.
5530 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5531 $as_echo "printf" >&6; } ;;
5532 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5533 $as_echo "print
-r" >&6; } ;;
5534 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5535 $as_echo "cat" >&6; } ;;
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5552 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5553 if ${ac_cv_path_SED+:} false; then :
5554 $as_echo_n "(cached
) " >&6
5556 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5557 for ac_i in 1 2 3 4 5 6 7; do
5558 ac_script="$ac_script$as_nl$ac_script"
5560 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5561 { ac_script=; unset ac_script;}
5562 if test -z "$SED"; then
5563 ac_path_SED_found=false
5564 # Loop through the user's path and test for each of PROGNAME-LIST
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_prog in sed gsed; do
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5573 as_fn_executable_p "$ac_path_SED" || continue
5574 # Check for GNU ac_path_SED and select it if it is found.
5575 # Check for GNU $ac_path_SED
5576 case `"$ac_path_SED" --version 2>&1` in
5578 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5581 $as_echo_n 0123456789 >"conftest.
in"
5584 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5585 mv "conftest.tmp
" "conftest.
in"
5586 cp "conftest.
in" "conftest.
nl"
5587 $as_echo '' >> "conftest.
nl"
5588 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5589 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5590 as_fn_arith $ac_count + 1 && ac_count=$as_val
5591 if test $ac_count -gt ${ac_path_SED_max-0}; then
5592 # Best one so far, save it but keep looking for a better one
5593 ac_cv_path_SED="$ac_path_SED"
5594 ac_path_SED_max=$ac_count
5596 # 10*(2^10) chars as input seems more than enough
5597 test $ac_count -gt 10 && break
5599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5602 $ac_path_SED_found && break 3
5607 if test -z "$ac_cv_path_SED"; then
5608 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5616 $as_echo "$ac_cv_path_SED" >&6; }
5617 SED="$ac_cv_path_SED"
5620 test -z "$SED" && SED=sed
5621 Xsed="$SED -e 1s
/^X
//"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5634 $as_echo_n "checking
for fgrep...
" >&6; }
5635 if ${ac_cv_path_FGREP+:} false; then :
5636 $as_echo_n "(cached
) " >&6
5638 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5639 then ac_cv_path_FGREP="$GREP -F"
5641 if test -z "$FGREP"; then
5642 ac_path_FGREP_found=false
5643 # Loop through the user's path and test for each of PROGNAME-LIST
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5648 test -z "$as_dir" && as_dir=.
5649 for ac_prog in fgrep; do
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5652 as_fn_executable_p "$ac_path_FGREP" || continue
5653 # Check for GNU ac_path_FGREP and select it if it is found.
5654 # Check for GNU $ac_path_FGREP
5655 case `"$ac_path_FGREP" --version 2>&1` in
5657 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5660 $as_echo_n 0123456789 >"conftest.
in"
5663 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5664 mv "conftest.tmp
" "conftest.
in"
5665 cp "conftest.
in" "conftest.
nl"
5666 $as_echo 'FGREP' >> "conftest.
nl"
5667 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5668 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5669 as_fn_arith $ac_count + 1 && ac_count=$as_val
5670 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5671 # Best one so far, save it but keep looking for a better one
5672 ac_cv_path_FGREP="$ac_path_FGREP"
5673 ac_path_FGREP_max=$ac_count
5675 # 10*(2^10) chars as input seems more than enough
5676 test $ac_count -gt 10 && break
5678 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5681 $ac_path_FGREP_found && break 3
5686 if test -z "$ac_cv_path_FGREP"; then
5687 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5690 ac_cv_path_FGREP=$FGREP
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5696 $as_echo "$ac_cv_path_FGREP" >&6; }
5697 FGREP="$ac_cv_path_FGREP"
5700 test -z "$GREP" && GREP=grep
5720 # Check whether --with-gnu-ld was given.
5721 if test "${with_gnu_ld+set}" = set; then :
5722 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5728 if test "$GCC" = yes; then
5729 # Check if gcc -print-prog-name=ld gives a path.
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5731 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5734 # gcc leaves a trailing carriage return which upsets mingw
5735 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5737 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5740 # Accept absolute paths.
5742 re_direlt='/[^/][^/]*/\.\./'
5743 # Canonicalize the pathname of ld
5744 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5745 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5746 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5748 test -z "$LD" && LD="$ac_prog"
5751 # If it fails, then pretend we aren't using GCC.
5755 # If it is relative, then search for the first ld in PATH.
5759 elif test "$with_gnu_ld" = yes; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5761 $as_echo_n "checking
for GNU ld...
" >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5764 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5766 if ${lt_cv_path_LD+:} false; then :
5767 $as_echo_n "(cached
) " >&6
5769 if test -z "$LD"; then
5770 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5771 for ac_dir in $PATH; do
5773 test -z "$ac_dir" && ac_dir=.
5774 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5775 lt_cv_path_LD="$ac_dir/$ac_prog"
5776 # Check to see if the program is GNU ld. I'd rather use --version,
5777 # but apparently some variants of GNU ld only accept -v.
5778 # Break only if it was the GNU/non-GNU ld that we prefer.
5779 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5780 *GNU* | *'with BFD'*)
5781 test "$with_gnu_ld" != no && break
5784 test "$with_gnu_ld" != yes && break
5791 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5796 if test -n "$LD"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5798 $as_echo "$LD" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5801 $as_echo "no
" >&6; }
5803 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5805 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5806 if ${lt_cv_prog_gnu_ld+:} false; then :
5807 $as_echo_n "(cached
) " >&6
5809 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5810 case `$LD -v 2>&1 </dev/null` in
5811 *GNU* | *'with BFD'*)
5812 lt_cv_prog_gnu_ld=yes
5815 lt_cv_prog_gnu_ld=no
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5820 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5821 with_gnu_ld=$lt_cv_prog_gnu_ld
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5832 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5833 if ${lt_cv_path_NM+:} false; then :
5834 $as_echo_n "(cached
) " >&6
5836 if test -n "$NM"; then
5837 # Let the user override the nm to test.
5838 lt_nm_to_check="$NM"
5840 lt_nm_to_check="${ac_tool_prefix}nm
"
5841 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5842 lt_nm_to_check="$lt_nm_to_check nm
"
5845 for lt_tmp_nm in "$lt_nm_to_check"; do
5846 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5847 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5849 test -z "$ac_dir" && ac_dir=.
5850 # Strip out any user-provided options from the nm to test twice,
5851 # the first time to test to see if nm (rather than its options) has
5852 # an explicit path, the second time to yield a file which can be
5854 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5855 case "$tmp_nm_path" in
5856 */*|*\\*) tmp_nm="$lt_tmp_nm";;
5857 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
5859 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5860 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
5861 # Check to see if the nm accepts a BSD-compat flag.
5862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5863 # nm: unknown option "B
" ignored
5864 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5865 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
5869 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5871 lt_cv_path_NM="$tmp_nm -p"
5875 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5876 continue # so that we can try to find one that supports BSD flags
5885 : ${lt_cv_path_NM=no}
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5888 $as_echo "$lt_cv_path_NM" >&6; }
5889 if test "$lt_cv_path_NM" != "no
"; then
5892 # Didn't find any BSD compatible name lister, look for dumpbin.
5893 if test -n "$DUMPBIN"; then :
5894 # Let the user override the test.
5896 if test -n "$ac_tool_prefix"; then
5897 for ac_prog in dumpbin "link
-dump"
5899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5902 $as_echo_n "checking
for $ac_word...
" >&6; }
5903 if ${ac_cv_prog_DUMPBIN+:} false; then :
5904 $as_echo_n "(cached
) " >&6
5906 if test -n "$DUMPBIN"; then
5907 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5926 DUMPBIN=$ac_cv_prog_DUMPBIN
5927 if test -n "$DUMPBIN"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5929 $as_echo "$DUMPBIN" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5932 $as_echo "no
" >&6; }
5936 test -n "$DUMPBIN" && break
5939 if test -z "$DUMPBIN"; then
5940 ac_ct_DUMPBIN=$DUMPBIN
5941 for ac_prog in dumpbin "link
-dump"
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy $ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5946 $as_echo_n "checking
for $ac_word...
" >&6; }
5947 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5948 $as_echo_n "(cached
) " >&6
5950 if test -n "$ac_ct_DUMPBIN"; then
5951 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5970 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5971 if test -n "$ac_ct_DUMPBIN"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5973 $as_echo "$ac_ct_DUMPBIN" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5976 $as_echo "no
" >&6; }
5980 test -n "$ac_ct_DUMPBIN" && break
5983 if test "x
$ac_ct_DUMPBIN" = x; then
5986 case $cross_compiling:$ac_tool_warned in
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5989 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5990 ac_tool_warned=yes ;;
5992 DUMPBIN=$ac_ct_DUMPBIN
5996 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5998 DUMPBIN="$DUMPBIN -symbols"
6006 if test "$DUMPBIN" != ":"; then
6010 test -z "$NM" && NM=nm
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6018 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6019 if ${lt_cv_nm_interface+:} false; then :
6020 $as_echo_n "(cached
) " >&6
6022 lt_cv_nm_interface="BSD nm
"
6023 echo "int some_variable
= 0;" > conftest.$ac_ext
6024 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6025 (eval "$ac_compile" 2>conftest.err)
6026 cat conftest.err >&5
6027 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6028 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6029 cat conftest.err >&5
6030 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6031 cat conftest.out >&5
6032 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6033 lt_cv_nm_interface="MS dumpbin
"
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6038 $as_echo "$lt_cv_nm_interface" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6041 $as_echo_n "checking whether
ln -s works...
" >&6; }
6043 if test "$LN_S" = "ln -s"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6045 $as_echo "yes" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6048 $as_echo "no
, using
$LN_S" >&6; }
6051 # find the maximum length of command line arguments
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6053 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6054 if ${lt_cv_sys_max_cmd_len+:} false; then :
6055 $as_echo_n "(cached
) " >&6
6062 # On DJGPP, this test can blow up pretty badly due to problems in libc
6063 # (any single argument exceeding 2000 bytes causes a buffer overrun
6064 # during glob expansion). Even if it were fixed, the result of this
6065 # check would be larger than it should be.
6066 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6070 # Under GNU Hurd, this test is not required because there is
6071 # no limit to the length of command line arguments.
6072 # Libtool will interpret -1 as no limit whatsoever
6073 lt_cv_sys_max_cmd_len=-1;
6076 cygwin* | mingw* | cegcc*)
6077 # On Win9x/ME, this test blows up -- it succeeds, but takes
6078 # about 5 minutes as the teststring grows exponentially.
6079 # Worse, since 9x/ME are not pre-emptively multitasking,
6080 # you end up with a "frozen
" computer, even though with patience
6081 # the test eventually succeeds (with a max line length of 256k).
6082 # Instead, let's just punt: use the minimum linelength reported by
6083 # all of the supported platforms: 8192 (on NT/2K/XP).
6084 lt_cv_sys_max_cmd_len=8192;
6088 # On MiNT this can take a long time and run out of memory.
6089 lt_cv_sys_max_cmd_len=8192;
6093 # On AmigaOS with pdksh, this test takes hours, literally.
6094 # So we just punt and use a minimum line length of 8192.
6095 lt_cv_sys_max_cmd_len=8192;
6098 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6099 # This has been around since 386BSD, at least. Likely further.
6100 if test -x /sbin/sysctl; then
6101 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6102 elif test -x /usr/sbin/sysctl; then
6103 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6105 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6107 # And add a safety zone
6108 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6113 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6114 lt_cv_sys_max_cmd_len=196608
6118 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6119 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6120 # nice to cause kernel panics so lets avoid the loop below.
6121 # First set a reasonable default.
6122 lt_cv_sys_max_cmd_len=16384
6124 if test -x /sbin/sysconfig; then
6125 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6126 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6131 lt_cv_sys_max_cmd_len=102400
6133 sysv5* | sco5v6* | sysv4.2uw2*)
6134 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6135 if test -n "$kargmax"; then
6136 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6138 lt_cv_sys_max_cmd_len=32768
6142 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6143 if test -n "$lt_cv_sys_max_cmd_len"; then
6144 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6145 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6147 # Make teststring a little bigger before we do anything with it.
6148 # a 1K string should be a reasonable start.
6149 for i in 1 2 3 4 5 6 7 8 ; do
6150 teststring=$teststring$teststring
6152 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6153 # If test is not a shell built-in, we'll probably end up computing a
6154 # maximum length that is only half of the actual maximum length, but
6156 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6157 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6158 test $i != 17 # 1/2 MB should be enough
6161 teststring=$teststring$teststring
6163 # Only check the string length outside the loop.
6164 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6166 # Add a significant safety factor because C++ compilers can tack on
6167 # massive amounts of additional arguments before passing them to the
6168 # linker. It appears as though 1/2 is a usable value.
6169 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6176 if test -n $lt_cv_sys_max_cmd_len ; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6178 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6181 $as_echo "none
" >&6; }
6183 max_cmd_len=$lt_cv_sys_max_cmd_len
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6195 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6196 # Try some XSI features
6199 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6201 && eval 'test $(( 1 + 1 )) -eq 2 \
6202 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6205 $as_echo "$xsi_shell" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6209 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6211 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6213 && lt_shell_append
=yes
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6215 $as_echo "$lt_shell_append" >&6; }
6218 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6228 # test EBCDIC or ASCII
6229 case `echo X|tr X '\101'` in
6230 A
) # ASCII based system
6231 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6232 lt_SP2NL
='tr \040 \012'
6233 lt_NL2SP
='tr \015\012 \040\040'
6235 *) # EBCDIC based system
6236 lt_SP2NL
='tr \100 \n'
6237 lt_NL2SP
='tr \r\n \100\100'
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6250 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6251 if ${lt_cv_ld_reload_flag+:} false
; then :
6252 $as_echo_n "(cached) " >&6
6254 lt_cv_ld_reload_flag
='-r'
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6257 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6258 reload_flag
=$lt_cv_ld_reload_flag
6259 case $reload_flag in
6261 *) reload_flag
=" $reload_flag" ;;
6263 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6266 if test "$GCC" = yes; then
6267 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6269 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6282 if test -n "$ac_tool_prefix"; then
6283 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6284 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6288 $as_echo_n "(cached) " >&6
6290 if test -n "$OBJDUMP"; then
6291 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_exec_ext
in '' $ac_executable_extensions; do
6299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6300 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 OBJDUMP
=$ac_cv_prog_OBJDUMP
6311 if test -n "$OBJDUMP"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6313 $as_echo "$OBJDUMP" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6321 if test -z "$ac_cv_prog_OBJDUMP"; then
6322 ac_ct_OBJDUMP
=$OBJDUMP
6323 # Extract the first word of "objdump", so it can be a program name with args.
6324 set dummy objdump
; ac_word
=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6328 $as_echo_n "(cached) " >&6
6330 if test -n "$ac_ct_OBJDUMP"; then
6331 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir
=.
6338 for ac_exec_ext
in '' $ac_executable_extensions; do
6339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6340 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6351 if test -n "$ac_ct_OBJDUMP"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6353 $as_echo "$ac_ct_OBJDUMP" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6359 if test "x$ac_ct_OBJDUMP" = x
; then
6362 case $cross_compiling:$ac_tool_warned in
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6366 ac_tool_warned
=yes ;;
6368 OBJDUMP
=$ac_ct_OBJDUMP
6371 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6374 test -z "$OBJDUMP" && OBJDUMP
=objdump
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6385 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6386 if ${lt_cv_deplibs_check_method+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6390 lt_cv_file_magic_test_file
=
6391 lt_cv_deplibs_check_method
='unknown'
6392 # Need to set the preceding variable on all platforms that support
6393 # interlibrary dependencies.
6394 # 'none' -- dependencies not supported.
6395 # `unknown' -- same as none, but documents that we really don't know.
6396 # 'pass_all' -- all dependencies passed with no checks.
6397 # 'test_compile' -- check by making test program.
6398 # 'file_magic [[regex]]' -- check by looking for files in library path
6399 # which responds to the $file_magic_cmd with a given extended regex.
6400 # If you have `file' or equivalent on your system and you're not sure
6401 # whether `pass_all' will *always* work, you probably want this one.
6405 lt_cv_deplibs_check_method
=pass_all
6409 lt_cv_deplibs_check_method
=pass_all
6413 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6414 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6415 lt_cv_file_magic_test_file
=/shlib
/libc.so
6419 # func_win32_libid is a shell function defined in ltmain.sh
6420 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6421 lt_cv_file_magic_cmd
='func_win32_libid'
6425 # Base MSYS/MinGW do not provide the 'file' command needed by
6426 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6427 # unless we find 'file', for example because we are cross-compiling.
6428 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6429 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6430 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6431 lt_cv_file_magic_cmd
='func_win32_libid'
6433 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6434 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6439 # use the weaker test based on 'objdump'. See mingw*.
6440 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6441 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6444 darwin
* | rhapsody
*)
6445 lt_cv_deplibs_check_method
=pass_all
6448 freebsd
* | dragonfly
*)
6449 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6452 # Not sure whether the presence of OpenBSD here was a mistake.
6453 # Let's accept both of them until this is cleared up.
6454 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6455 lt_cv_file_magic_cmd
=/usr
/bin
/file
6456 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6460 lt_cv_deplibs_check_method
=pass_all
6465 lt_cv_deplibs_check_method
=pass_all
6469 lt_cv_deplibs_check_method
=pass_all
6472 hpux10.20
* | hpux11
*)
6473 lt_cv_file_magic_cmd
=/usr
/bin
/file
6476 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6477 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6480 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6481 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6484 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6485 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6491 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6492 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6495 irix5
* | irix6
* | nonstopux
*)
6497 *-32|
*"-32 ") libmagic
=32-bit;;
6498 *-n32|
*"-n32 ") libmagic
=N32
;;
6499 *-64|
*"-64 ") libmagic
=64-bit;;
6500 *) libmagic
=never-match
;;
6502 lt_cv_deplibs_check_method
=pass_all
6505 # This must be Linux ELF.
6506 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
6507 lt_cv_deplibs_check_method
=pass_all
6511 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6512 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6514 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6519 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6520 lt_cv_file_magic_cmd
=/usr
/bin
/file
6521 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6525 lt_cv_deplibs_check_method
=pass_all
6529 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6530 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6532 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6536 osf3
* | osf4
* | osf5
*)
6537 lt_cv_deplibs_check_method
=pass_all
6541 lt_cv_deplibs_check_method
=pass_all
6545 lt_cv_deplibs_check_method
=pass_all
6548 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6549 lt_cv_deplibs_check_method
=pass_all
6553 case $host_vendor in
6555 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6556 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6559 lt_cv_deplibs_check_method
=pass_all
6562 lt_cv_file_magic_cmd
='/bin/file'
6563 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6566 lt_cv_file_magic_cmd
='/bin/file'
6567 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6568 lt_cv_file_magic_test_file
=/lib
/libc.so
6571 lt_cv_deplibs_check_method
=pass_all
6574 lt_cv_deplibs_check_method
=pass_all
6580 lt_cv_deplibs_check_method
=pass_all
6583 # Assume VxWorks cross toolchains are built on Linux, possibly
6584 # as canadian for Windows hosts.
6585 lt_cv_deplibs_check_method
=pass_all
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6591 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6592 file_magic_cmd
=$lt_cv_file_magic_cmd
6593 deplibs_check_method
=$lt_cv_deplibs_check_method
6594 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6608 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6609 for plugin
in $plugin_names; do
6610 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
6611 if test x
$plugin_so = x
$plugin; then
6612 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
6614 if test x
$plugin_so != x
$plugin; then
6615 plugin_option
="--plugin $plugin_so"
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6622 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if ${ac_cv_prog_AR+:} false
; then :
6626 $as_echo_n "(cached) " >&6
6628 if test -n "$AR"; then
6629 ac_cv_prog_AR
="$AR" # Let the user override the test.
6631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir
=.
6636 for ac_exec_ext
in '' $ac_executable_extensions; do
6637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 if test -n "$AR"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6651 $as_echo "$AR" >&6; }
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6659 if test -z "$ac_cv_prog_AR"; then
6661 # Extract the first word of "ar", so it can be a program name with args.
6662 set dummy
ar; ac_word
=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6666 $as_echo_n "(cached) " >&6
6668 if test -n "$ac_ct_AR"; then
6669 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir
=.
6676 for ac_exec_ext
in '' $ac_executable_extensions; do
6677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_ac_ct_AR
="ar"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6689 if test -n "$ac_ct_AR"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6691 $as_echo "$ac_ct_AR" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6697 if test "x$ac_ct_AR" = x
; then
6700 case $cross_compiling:$ac_tool_warned in
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned
=yes ;;
6712 test -z "$AR" && AR
=ar
6713 if test -n "$plugin_option"; then
6714 if $AR --help 2>&1 |
grep -q "\--plugin"; then
6716 $AR $plugin_option rc conftest.a conftest.c
6717 if test "$?" != 0; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
6719 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
6721 AR
="$AR $plugin_option"
6726 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6740 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_STRIP+:} false
; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$STRIP"; then
6747 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir
=.
6754 for ac_exec_ext
in '' $ac_executable_extensions; do
6755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 STRIP
=$ac_cv_prog_STRIP
6767 if test -n "$STRIP"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6769 $as_echo "$STRIP" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_STRIP"; then
6779 # Extract the first word of "strip", so it can be a program name with args.
6780 set dummy strip
; ac_word
=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir
=.
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP
="strip"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 $as_echo "$ac_ct_STRIP" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x
; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned
=yes ;;
6827 STRIP
="$ac_cv_prog_STRIP"
6830 test -z "$STRIP" && STRIP
=:
6837 if test -n "$ac_tool_prefix"; then
6838 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6839 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_RANLIB+:} false
; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$RANLIB"; then
6846 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 RANLIB
=$ac_cv_prog_RANLIB
6866 if test -n "$RANLIB"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6868 $as_echo "$RANLIB" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6876 if test -z "$ac_cv_prog_RANLIB"; then
6877 ac_ct_RANLIB
=$RANLIB
6878 # Extract the first word of "ranlib", so it can be a program name with args.
6879 set dummy ranlib
; ac_word
=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$ac_ct_RANLIB"; then
6886 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6895 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6906 if test -n "$ac_ct_RANLIB"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6908 $as_echo "$ac_ct_RANLIB" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6914 if test "x$ac_ct_RANLIB" = x
; then
6917 case $cross_compiling:$ac_tool_warned in
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921 ac_tool_warned
=yes ;;
6923 RANLIB
=$ac_ct_RANLIB
6926 RANLIB
="$ac_cv_prog_RANLIB"
6929 test -z "$RANLIB" && RANLIB
=:
6930 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6931 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
6932 RANLIB
="$RANLIB $plugin_option"
6941 # Determine commands to create old-style static archives.
6942 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6943 old_postinstall_cmds
='chmod 644 $oldlib'
6944 old_postuninstall_cmds
=
6946 if test -n "$RANLIB"; then
6949 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6952 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6955 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6960 lock_old_archive_extraction
=yes ;;
6962 lock_old_archive_extraction
=no
;;
7003 # If no C compiler was specified, use CC.
7006 # If no C compiler flags were specified, use CFLAGS.
7007 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7009 # Allow CC to be a program name with arguments.
7013 # Check for command to grab the raw symbol name followed by C symbol from nm.
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7015 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7016 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7017 $as_echo_n "(cached) " >&6
7020 # These are sane defaults that work on at least a few old systems.
7021 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7023 # Character class describing NM global symbol codes.
7024 symcode
='[BCDEGRST]'
7026 # Regexp to match symbols that can be accessed directly from C.
7027 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7029 # Define system-specific variables.
7034 cygwin
* | mingw
* | pw32
* | cegcc
*)
7035 symcode
='[ABCDGISTW]'
7038 if test "$host_cpu" = ia64
; then
7039 symcode
='[ABCDEGRST]'
7043 symcode
='[BCDEGRST]'
7046 symcode
='[BCDEGQRST]'
7057 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7065 # If we're using GNU nm, then use its standard symbol codes.
7066 case `$NM -V 2>&1` in
7067 *GNU
* |
*'with BFD'*)
7068 symcode
='[ABCDGIRSTW]' ;;
7071 # Transform an extracted symbol line into a proper C declaration.
7072 # Some systems (esp. on ia64) link data and code symbols differently,
7073 # so use this general approach.
7074 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7076 # Transform an extracted symbol line into symbol name and symbol address
7077 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7078 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7080 # Handle CRLF in mingw tool chain
7084 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7088 # Try without a prefix underscore, then with it.
7089 for ac_symprfx
in "" "_"; do
7091 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7092 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7094 # Write the raw and C identifiers.
7095 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7096 # Fake it for dumpbin and say T for any non-static function
7097 # and D for any global variable.
7098 # Also find C++ and __fastcall symbols from MSVC++,
7099 # which start with @ or ?.
7100 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7101 " {last_section=section; section=\$ 3};"\
7102 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7103 " \$ 0!~/External *\|/{next};"\
7104 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7105 " {if(hide[section]) next};"\
7106 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7107 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7108 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7109 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7110 " ' prfx=^$ac_symprfx"
7112 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7115 # Check to see that the pipe works correctly.
7119 cat > conftest.
$ac_ext <<_LT_EOF
7124 void nm_test_func(void);
7125 void nm_test_func(void){}
7129 int main(){nm_test_var='a';nm_test_func();return(0);}
7132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7133 (eval $ac_compile) 2>&5
7135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7136 test $ac_status = 0; }; then
7137 # Now try to grab the symbols.
7139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7140 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7143 test $ac_status = 0; } && test -s "$nlist"; then
7144 # Try sorting and uniquifying the output.
7145 if sort "$nlist" |
uniq > "$nlist"T
; then
7146 mv -f "$nlist"T
"$nlist"
7151 # Make sure that we snagged all the symbols we need.
7152 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7153 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7154 cat <<_LT_EOF > conftest.$ac_ext
7160 # Now generate the symbol file.
7161 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7163 cat <<_LT_EOF >> conftest.$ac_ext
7165 /* The mapping between symbol names and symbols. */
7170 lt__PROGRAM__LTX_preloaded_symbols[] =
7172 { "@PROGRAM@", (void *) 0 },
7174 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7175 cat <<\_LT_EOF
>> conftest.
$ac_ext
7179 /* This works around a problem
in FreeBSD linker
*/
7180 #ifdef FREEBSD_WORKAROUND
7181 static const void
*lt_preloaded_setup
() {
7182 return lt__PROGRAM__LTX_preloaded_symbols
;
7190 # Now try linking the two files.
7191 mv conftest.
$ac_objext conftstm.
$ac_objext
7192 lt_save_LIBS
="$LIBS"
7193 lt_save_CFLAGS
="$CFLAGS"
7194 LIBS
="conftstm.$ac_objext"
7195 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7197 (eval $ac_link) 2>&5
7199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7200 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7203 LIBS
="$lt_save_LIBS"
7204 CFLAGS
="$lt_save_CFLAGS"
7206 echo "cannot find nm_test_func in $nlist" >&5
7209 echo "cannot find nm_test_var in $nlist" >&5
7212 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7215 echo "$progname: failed program was:" >&5
7216 cat conftest.
$ac_ext >&5
7218 rm -rf conftest
* conftst
*
7220 # Do not use the global_symbol_pipe unless it works.
7221 if test "$pipe_works" = yes; then
7224 lt_cv_sys_global_symbol_pipe
=
7230 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7231 lt_cv_sys_global_symbol_to_cdecl
=
7233 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7235 $as_echo "failed" >&6; }
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7238 $as_echo "ok" >&6; }
7262 # Check whether --enable-libtool-lock was given.
7263 if test "${enable_libtool_lock+set}" = set; then :
7264 enableval
=$enable_libtool_lock;
7267 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7269 # Some flags need to be propagated to the compiler or linker for good
7273 # Find out which ABI we are using.
7274 echo 'int i;' > conftest.
$ac_ext
7275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7276 (eval $ac_compile) 2>&5
7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7279 test $ac_status = 0; }; then
7280 case `/usr/bin/file conftest.$ac_objext` in
7292 # Find out which ABI we are using.
7293 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7295 (eval $ac_compile) 2>&5
7297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7298 test $ac_status = 0; }; then
7299 if test "$lt_cv_prog_gnu_ld" = yes; then
7300 case `/usr/bin/file conftest.$ac_objext` in
7302 LD
="${LD-ld} -melf32bsmip"
7305 LD
="${LD-ld} -melf32bmipn32"
7308 LD
="${LD-ld} -melf64bmip"
7312 case `/usr/bin/file conftest.$ac_objext` in
7328 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7329 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7330 # Find out which ABI we are using.
7331 echo 'int i;' > conftest.
$ac_ext
7332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7333 (eval $ac_compile) 2>&5
7335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336 test $ac_status = 0; }; then
7337 case `/usr/bin/file conftest.o` in
7340 x86_64-
*kfreebsd
*-gnu)
7341 LD
="${LD-ld} -m elf_i386_fbsd"
7344 case `/usr/bin/file conftest.o` in
7346 LD
="${LD-ld} -m elf32_x86_64"
7349 LD
="${LD-ld} -m elf_i386"
7353 powerpc64le-
*linux
*)
7354 LD
="${LD-ld} -m elf32lppclinux"
7357 LD
="${LD-ld} -m elf32ppclinux"
7360 LD
="${LD-ld} -m elf_s390"
7363 LD
="${LD-ld} -m elf32_sparc"
7369 x86_64-
*kfreebsd
*-gnu)
7370 LD
="${LD-ld} -m elf_x86_64_fbsd"
7373 LD
="${LD-ld} -m elf_x86_64"
7376 LD
="${LD-ld} -m elf64lppc"
7379 LD
="${LD-ld} -m elf64ppc"
7381 s390
*-*linux
*|s390
*-*tpf
*)
7382 LD
="${LD-ld} -m elf64_s390"
7385 LD
="${LD-ld} -m elf64_sparc"
7395 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7396 SAVE_CFLAGS
="$CFLAGS"
7397 CFLAGS
="$CFLAGS -belf"
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7399 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7400 if ${lt_cv_cc_needs_belf+:} false
; then :
7401 $as_echo_n "(cached) " >&6
7404 ac_cpp
='$CPP $CPPFLAGS'
7405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7410 /* end confdefs.h. */
7420 if ac_fn_c_try_link
"$LINENO"; then :
7421 lt_cv_cc_needs_belf
=yes
7423 lt_cv_cc_needs_belf
=no
7425 rm -f core conftest.err conftest.
$ac_objext \
7426 conftest
$ac_exeext conftest.
$ac_ext
7428 ac_cpp
='$CPP $CPPFLAGS'
7429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7435 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7436 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7437 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7438 CFLAGS
="$SAVE_CFLAGS"
7442 # Find out which ABI we are using.
7443 echo 'int i;' > conftest.
$ac_ext
7444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445 (eval $ac_compile) 2>&5
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 case `/usr/bin/file conftest.o` in
7451 case $lt_cv_prog_gnu_ld in
7452 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7454 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7466 need_locks
="$enable_libtool_lock"
7470 rhapsody
* | darwin
*)
7471 if test -n "$ac_tool_prefix"; then
7472 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7473 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7477 $as_echo_n "(cached) " >&6
7479 if test -n "$DSYMUTIL"; then
7480 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7486 test -z "$as_dir" && as_dir
=.
7487 for ac_exec_ext
in '' $ac_executable_extensions; do
7488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7489 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7500 if test -n "$DSYMUTIL"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7502 $as_echo "$DSYMUTIL" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7510 if test -z "$ac_cv_prog_DSYMUTIL"; then
7511 ac_ct_DSYMUTIL
=$DSYMUTIL
7512 # Extract the first word of "dsymutil", so it can be a program name with args.
7513 set dummy dsymutil
; ac_word
=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 $as_echo_n "checking for $ac_word... " >&6; }
7516 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7517 $as_echo_n "(cached) " >&6
7519 if test -n "$ac_ct_DSYMUTIL"; then
7520 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir
=.
7527 for ac_exec_ext
in '' $ac_executable_extensions; do
7528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7529 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7540 if test -n "$ac_ct_DSYMUTIL"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7542 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7548 if test "x$ac_ct_DSYMUTIL" = x
; then
7551 case $cross_compiling:$ac_tool_warned in
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7555 ac_tool_warned
=yes ;;
7557 DSYMUTIL
=$ac_ct_DSYMUTIL
7560 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7563 if test -n "$ac_tool_prefix"; then
7564 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7565 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_NMEDIT+:} false
; then :
7569 $as_echo_n "(cached) " >&6
7571 if test -n "$NMEDIT"; then
7572 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7578 test -z "$as_dir" && as_dir
=.
7579 for ac_exec_ext
in '' $ac_executable_extensions; do
7580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 NMEDIT
=$ac_cv_prog_NMEDIT
7592 if test -n "$NMEDIT"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7594 $as_echo "$NMEDIT" >&6; }
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7602 if test -z "$ac_cv_prog_NMEDIT"; then
7603 ac_ct_NMEDIT
=$NMEDIT
7604 # Extract the first word of "nmedit", so it can be a program name with args.
7605 set dummy nmedit
; ac_word
=$2
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607 $as_echo_n "checking for $ac_word... " >&6; }
7608 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7609 $as_echo_n "(cached) " >&6
7611 if test -n "$ac_ct_NMEDIT"; then
7612 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7618 test -z "$as_dir" && as_dir
=.
7619 for ac_exec_ext
in '' $ac_executable_extensions; do
7620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7621 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7632 if test -n "$ac_ct_NMEDIT"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7634 $as_echo "$ac_ct_NMEDIT" >&6; }
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7640 if test "x$ac_ct_NMEDIT" = x
; then
7643 case $cross_compiling:$ac_tool_warned in
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7647 ac_tool_warned
=yes ;;
7649 NMEDIT
=$ac_ct_NMEDIT
7652 NMEDIT
="$ac_cv_prog_NMEDIT"
7655 if test -n "$ac_tool_prefix"; then
7656 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7657 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7659 $as_echo_n "checking for $ac_word... " >&6; }
7660 if ${ac_cv_prog_LIPO+:} false
; then :
7661 $as_echo_n "(cached) " >&6
7663 if test -n "$LIPO"; then
7664 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7670 test -z "$as_dir" && as_dir
=.
7671 for ac_exec_ext
in '' $ac_executable_extensions; do
7672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7673 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 LIPO
=$ac_cv_prog_LIPO
7684 if test -n "$LIPO"; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7686 $as_echo "$LIPO" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7689 $as_echo "no" >&6; }
7694 if test -z "$ac_cv_prog_LIPO"; then
7696 # Extract the first word of "lipo", so it can be a program name with args.
7697 set dummy lipo
; ac_word
=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 $as_echo_n "checking for $ac_word... " >&6; }
7700 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7701 $as_echo_n "(cached) " >&6
7703 if test -n "$ac_ct_LIPO"; then
7704 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir
=.
7711 for ac_exec_ext
in '' $ac_executable_extensions; do
7712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_ac_ct_LIPO
="lipo"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7724 if test -n "$ac_ct_LIPO"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7726 $as_echo "$ac_ct_LIPO" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7732 if test "x$ac_ct_LIPO" = x
; then
7735 case $cross_compiling:$ac_tool_warned in
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7739 ac_tool_warned
=yes ;;
7744 LIPO
="$ac_cv_prog_LIPO"
7747 if test -n "$ac_tool_prefix"; then
7748 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7749 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751 $as_echo_n "checking for $ac_word... " >&6; }
7752 if ${ac_cv_prog_OTOOL+:} false
; then :
7753 $as_echo_n "(cached) " >&6
7755 if test -n "$OTOOL"; then
7756 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7762 test -z "$as_dir" && as_dir
=.
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7765 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 OTOOL
=$ac_cv_prog_OTOOL
7776 if test -n "$OTOOL"; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7778 $as_echo "$OTOOL" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781 $as_echo "no" >&6; }
7786 if test -z "$ac_cv_prog_OTOOL"; then
7788 # Extract the first word of "otool", so it can be a program name with args.
7789 set dummy otool
; ac_word
=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7793 $as_echo_n "(cached) " >&6
7795 if test -n "$ac_ct_OTOOL"; then
7796 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir
=.
7803 for ac_exec_ext
in '' $ac_executable_extensions; do
7804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_ac_ct_OTOOL
="otool"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7815 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7816 if test -n "$ac_ct_OTOOL"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7818 $as_echo "$ac_ct_OTOOL" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7824 if test "x$ac_ct_OTOOL" = x
; then
7827 case $cross_compiling:$ac_tool_warned in
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7831 ac_tool_warned
=yes ;;
7836 OTOOL
="$ac_cv_prog_OTOOL"
7839 if test -n "$ac_tool_prefix"; then
7840 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7841 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_prog_OTOOL64+:} false
; then :
7845 $as_echo_n "(cached) " >&6
7847 if test -n "$OTOOL64"; then
7848 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7854 test -z "$as_dir" && as_dir
=.
7855 for ac_exec_ext
in '' $ac_executable_extensions; do
7856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 OTOOL64
=$ac_cv_prog_OTOOL64
7868 if test -n "$OTOOL64"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7870 $as_echo "$OTOOL64" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7878 if test -z "$ac_cv_prog_OTOOL64"; then
7879 ac_ct_OTOOL64
=$OTOOL64
7880 # Extract the first word of "otool64", so it can be a program name with args.
7881 set dummy otool64
; ac_word
=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7887 if test -n "$ac_ct_OTOOL64"; then
7888 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir
=.
7895 for ac_exec_ext
in '' $ac_executable_extensions; do
7896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7908 if test -n "$ac_ct_OTOOL64"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7910 $as_echo "$ac_ct_OTOOL64" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7916 if test "x$ac_ct_OTOOL64" = x
; then
7919 case $cross_compiling:$ac_tool_warned in
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7923 ac_tool_warned
=yes ;;
7925 OTOOL64
=$ac_ct_OTOOL64
7928 OTOOL64
="$ac_cv_prog_OTOOL64"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7958 $as_echo_n "checking for -single_module linker flag... " >&6; }
7959 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7960 $as_echo_n "(cached) " >&6
7962 lt_cv_apple_cc_single_mod
=no
7963 if test -z "${LT_MULTI_MODULE}"; then
7964 # By default we will add the -single_module flag. You can override
7965 # by either setting the environment variable LT_MULTI_MODULE
7966 # non-empty at configure time, or by adding -multi_module to the
7968 rm -rf libconftest.dylib
*
7969 echo "int foo(void){return 1;}" > conftest.c
7970 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7971 -dynamiclib -Wl,-single_module conftest.c" >&5
7972 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7973 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7975 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7976 lt_cv_apple_cc_single_mod
=yes
7978 cat conftest.err
>&5
7980 rm -rf libconftest.dylib
*
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7985 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7987 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7988 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7989 $as_echo_n "(cached) " >&6
7991 lt_cv_ld_exported_symbols_list
=no
7992 save_LDFLAGS
=$LDFLAGS
7993 echo "_main" > conftest.sym
7994 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h. */
8006 if ac_fn_c_try_link
"$LINENO"; then :
8007 lt_cv_ld_exported_symbols_list
=yes
8009 lt_cv_ld_exported_symbols_list
=no
8011 rm -f core conftest.err conftest.
$ac_objext \
8012 conftest
$ac_exeext conftest.
$ac_ext
8013 LDFLAGS
="$save_LDFLAGS"
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8017 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8019 $as_echo_n "checking for -force_load linker flag... " >&6; }
8020 if ${lt_cv_ld_force_load+:} false
; then :
8021 $as_echo_n "(cached) " >&6
8023 lt_cv_ld_force_load
=no
8024 cat > conftest.c
<< _LT_EOF
8025 int forced_loaded() { return 2;}
8027 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8028 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8029 echo "$AR cru libconftest.a conftest.o" >&5
8030 $AR cru libconftest.a conftest.o
2>&5
8031 cat > conftest.c
<< _LT_EOF
8032 int main() { return 0;}
8034 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8035 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8037 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8038 lt_cv_ld_force_load
=yes
8040 cat conftest.err
>&5
8042 rm -f conftest.err libconftest.a conftest conftest.c
8043 rm -rf conftest.dSYM
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8047 $as_echo "$lt_cv_ld_force_load" >&6; }
8048 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8049 # build without first building modern cctools / linker.
8050 case $host_cpu-$host_os in
8051 *-rhapsody* |
*-darwin1.
[012])
8052 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8054 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8056 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8057 # deployment target is forced to an earlier version.
8058 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8059 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
8062 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8069 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8070 _lt_dar_single_mod
='$single_module'
8072 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8073 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8075 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8077 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8078 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8085 for ac_header
in dlfcn.h
8087 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8089 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8090 cat >>confdefs.h
<<_ACEOF
8091 #define HAVE_DLFCN_H 1
8112 # Check whether --enable-shared was given.
8113 if test "${enable_shared+set}" = set; then :
8114 enableval
=$enable_shared; p
=${PACKAGE-default}
8116 yes) enable_shared
=yes ;;
8117 no
) enable_shared
=no
;;
8120 # Look at the argument we got. We use all the common list separators.
8121 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8122 for pkg
in $enableval; do
8124 if test "X$pkg" = "X$p"; then
8143 # Check whether --enable-static was given.
8144 if test "${enable_static+set}" = set; then :
8145 enableval
=$enable_static; p
=${PACKAGE-default}
8147 yes) enable_static
=yes ;;
8148 no
) enable_static
=no
;;
8151 # Look at the argument we got. We use all the common list separators.
8152 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8153 for pkg
in $enableval; do
8155 if test "X$pkg" = "X$p"; then
8175 # Check whether --with-pic was given.
8176 if test "${with_pic+set}" = set; then :
8177 withval
=$with_pic; pic_mode
="$withval"
8183 test -z "$pic_mode" && pic_mode
=default
8191 # Check whether --enable-fast-install was given.
8192 if test "${enable_fast_install+set}" = set; then :
8193 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8195 yes) enable_fast_install
=yes ;;
8196 no
) enable_fast_install
=no
;;
8198 enable_fast_install
=no
8199 # Look at the argument we got. We use all the common list separators.
8200 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8201 for pkg
in $enableval; do
8203 if test "X$pkg" = "X$p"; then
8204 enable_fast_install
=yes
8211 enable_fast_install
=yes
8224 # This can be used to rebuild libtool when needed
8225 LIBTOOL_DEPS
="$ltmain"
8227 # Always use our own libtool.
8228 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8255 test -z "$LN_S" && LN_S
="ln -s"
8270 if test -n "${ZSH_VERSION+set}" ; then
8271 setopt NO_GLOB_SUBST
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8275 $as_echo_n "checking for objdir... " >&6; }
8276 if ${lt_cv_objdir+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 rm -f .libs
2>/dev
/null
8280 mkdir .libs
2>/dev
/null
8281 if test -d .libs
; then
8284 # MS-DOS does not allow filenames that begin with a dot.
8287 rmdir .libs
2>/dev
/null
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8290 $as_echo "$lt_cv_objdir" >&6; }
8291 objdir
=$lt_cv_objdir
8297 cat >>confdefs.h
<<_ACEOF
8298 #define LT_OBJDIR "$lt_cv_objdir/"
8306 # AIX sometimes has problems with the GCC collect2 program. For some
8307 # reason, if we set the COLLECT_NAMES environment variable, the problems
8308 # vanish in a puff of smoke.
8309 if test "X${COLLECT_NAMES+set}" != Xset
; then
8311 export COLLECT_NAMES
8318 can_build_shared
=yes
8320 # All known linkers require a `.a' archive for static linking (except MSVC,
8321 # which needs '.lib').
8324 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8327 old_CFLAGS
="$CFLAGS"
8329 # Set sane defaults for various variables
8330 test -z "$CC" && CC
=cc
8331 test -z "$LTCC" && LTCC
=$CC
8332 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8333 test -z "$LD" && LD
=ld
8334 test -z "$ac_objext" && ac_objext
=o
8336 for cc_temp
in $compiler""; do
8338 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8339 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8344 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8347 # Only perform the check for file, if the check method requires it
8348 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8349 case $deplibs_check_method in
8351 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8353 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8354 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8355 $as_echo_n "(cached) " >&6
8359 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8362 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8363 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8364 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8365 for ac_dir
in $ac_dummy; do
8367 test -z "$ac_dir" && ac_dir
=.
8368 if test -f $ac_dir/${ac_tool_prefix}file; then
8369 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8370 if test -n "$file_magic_test_file"; then
8371 case $deplibs_check_method in
8373 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8374 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8375 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8376 $EGREP "$file_magic_regex" > /dev
/null
; then
8381 *** Warning: the command libtool uses to detect shared libraries,
8382 *** $file_magic_cmd, produces output that libtool cannot recognize.
8383 *** The result is that libtool may fail to recognize shared libraries
8384 *** as such. This will affect the creation of libtool libraries that
8385 *** depend on shared libraries, but programs linked with such libtool
8386 *** libraries will work regardless of this problem. Nevertheless, you
8387 *** may want to report the problem to your system manager and/or to
8388 *** bug-libtool@gnu.org
8398 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8403 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8404 if test -n "$MAGIC_CMD"; then
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8406 $as_echo "$MAGIC_CMD" >&6; }
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409 $as_echo "no" >&6; }
8416 if test -z "$lt_cv_path_MAGIC_CMD"; then
8417 if test -n "$ac_tool_prefix"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8419 $as_echo_n "checking for file... " >&6; }
8420 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8421 $as_echo_n "(cached) " >&6
8425 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8428 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8429 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8430 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8431 for ac_dir
in $ac_dummy; do
8433 test -z "$ac_dir" && ac_dir
=.
8434 if test -f $ac_dir/file; then
8435 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8436 if test -n "$file_magic_test_file"; then
8437 case $deplibs_check_method in
8439 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8440 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8441 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8442 $EGREP "$file_magic_regex" > /dev
/null
; then
8447 *** Warning: the command libtool uses to detect shared libraries,
8448 *** $file_magic_cmd, produces output that libtool cannot recognize.
8449 *** The result is that libtool may fail to recognize shared libraries
8450 *** as such. This will affect the creation of libtool libraries that
8451 *** depend on shared libraries, but programs linked with such libtool
8452 *** libraries will work regardless of this problem. Nevertheless, you
8453 *** may want to report the problem to your system manager and/or to
8454 *** bug-libtool@gnu.org
8464 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8469 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8470 if test -n "$MAGIC_CMD"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8472 $as_echo "$MAGIC_CMD" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475 $as_echo "no" >&6; }
8488 # Use C for the default configuration in the libtool script
8492 ac_cpp
='$CPP $CPPFLAGS'
8493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8498 # Source file extension for C test sources.
8501 # Object file extension for compiled C test sources.
8505 # Code to be used in simple compile tests
8506 lt_simple_compile_test_code
="int some_variable = 0;"
8508 # Code to be used in simple link tests
8509 lt_simple_link_test_code
='int main(){return(0);}'
8517 # If no C compiler was specified, use CC.
8520 # If no C compiler flags were specified, use CFLAGS.
8521 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8523 # Allow CC to be a program name with arguments.
8526 # Save the default compiler, since it gets overwritten when the other
8527 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8528 compiler_DEFAULT
=$CC
8530 # save warnings/boilerplate of simple test code
8531 ac_outfile
=conftest.
$ac_objext
8532 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8533 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_compiler_boilerplate
=`cat conftest.err`
8537 ac_outfile
=conftest.
$ac_objext
8538 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8539 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8540 _lt_linker_boilerplate
=`cat conftest.err`
8545 ## There is no encapsulation within the following macros, do not change
8546 ## the running order or otherwise move them around unless you know exactly
8547 ## what you are doing...
8548 if test -n "$compiler"; then
8550 lt_prog_compiler_no_builtin_flag
=
8552 if test "$GCC" = yes; then
8553 case $cc_basename in
8555 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8557 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8561 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8562 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 lt_cv_prog_compiler_rtti_exceptions
=no
8566 ac_outfile
=conftest.
$ac_objext
8567 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8568 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8569 # Insert the option either (1) after the last *FLAGS variable, or
8570 # (2) before a word containing "conftest.", or (3) at the end.
8571 # Note that $ac_compile itself does not contain backslashes and begins
8572 # with a dollar sign (not a hyphen), so the echo should work correctly.
8573 # The option is referenced via a variable to avoid confusing sed.
8574 lt_compile
=`echo "$ac_compile" | $SED \
8575 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8577 -e 's:$: $lt_compiler_flag:'`
8578 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8579 (eval "$lt_compile" 2>conftest.err
)
8581 cat conftest.err
>&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 if (exit $ac_status) && test -s "$ac_outfile"; then
8584 # The compiler can only warn and ignore the option if not recognized
8585 # So say no if there are warnings other than the usual output.
8586 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8587 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8588 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8589 lt_cv_prog_compiler_rtti_exceptions
=yes
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8596 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8598 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8599 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8611 lt_prog_compiler_wl
=
8612 lt_prog_compiler_pic
=
8613 lt_prog_compiler_static
=
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8616 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8618 if test "$GCC" = yes; then
8619 lt_prog_compiler_wl
='-Wl,'
8620 lt_prog_compiler_static
='-static'
8624 # All AIX code is PIC.
8625 if test "$host_cpu" = ia64
; then
8626 # AIX 5 now supports IA64 processor
8627 lt_prog_compiler_static
='-Bstatic'
8629 lt_prog_compiler_pic
='-fPIC'
8635 # see comment about AmigaOS4 .so support
8636 lt_prog_compiler_pic
='-fPIC'
8639 # FIXME: we need at least 68020 code to build shared libraries, but
8640 # adding the `-m68020' flag to GCC prevents building anything better,
8642 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8647 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8648 # PIC is the default for these OSes.
8651 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8652 # This hack is so that the source file can tell whether it is being
8653 # built for inclusion in a dll (and should export symbols for example).
8654 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8655 # (--disable-auto-import) libraries
8656 lt_prog_compiler_pic
='-DDLL_EXPORT'
8659 darwin
* | rhapsody
*)
8660 # PIC is the default on this platform
8661 # Common symbols not allowed in MH_DYLIB files
8662 lt_prog_compiler_pic
='-fno-common'
8666 # PIC is the default for Haiku.
8667 # The "-static" flag exists, but is broken.
8668 lt_prog_compiler_static
=
8672 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8673 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8674 # sets the default TLS model and affects inlining.
8680 lt_prog_compiler_pic
='-fPIC'
8686 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8687 # Instead, we relocate shared libraries at runtime.
8691 # Just because we use GCC doesn't mean we suddenly get shared libraries
8692 # on systems that don't support them.
8693 lt_prog_compiler_can_build_shared
=no
8698 # QNX uses GNU C++, but need to define -shared option too, otherwise
8700 lt_prog_compiler_pic
='-fPIC -shared'
8704 if test -d /usr
/nec
; then
8705 lt_prog_compiler_pic
=-Kconform_pic
8710 lt_prog_compiler_pic
='-fPIC'
8714 case $cc_basename in
8715 nvcc
*) # Cuda Compiler Driver 2.2
8716 lt_prog_compiler_wl
='-Xlinker '
8717 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8721 # PORTME Check for flag to pass linker flags through the system compiler.
8724 lt_prog_compiler_wl
='-Wl,'
8725 if test "$host_cpu" = ia64
; then
8726 # AIX 5 now supports IA64 processor
8727 lt_prog_compiler_static
='-Bstatic'
8729 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8733 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8734 # This hack is so that the source file can tell whether it is being
8735 # built for inclusion in a dll (and should export symbols for example).
8736 lt_prog_compiler_pic
='-DDLL_EXPORT'
8739 hpux9
* | hpux10
* | hpux11
*)
8740 lt_prog_compiler_wl
='-Wl,'
8741 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8748 lt_prog_compiler_pic
='+Z'
8751 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8752 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8755 irix5
* | irix6
* | nonstopux
*)
8756 lt_prog_compiler_wl
='-Wl,'
8757 # PIC (with -KPIC) is the default.
8758 lt_prog_compiler_static
='-non_shared'
8761 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8762 case $cc_basename in
8763 # old Intel for x86_64 which still supported -KPIC.
8765 lt_prog_compiler_wl
='-Wl,'
8766 lt_prog_compiler_pic
='-KPIC'
8767 lt_prog_compiler_static
='-static'
8769 # icc used to be incompatible with GCC.
8770 # ICC 10 doesn't accept -KPIC any more.
8772 lt_prog_compiler_wl
='-Wl,'
8773 lt_prog_compiler_pic
='-fPIC'
8774 lt_prog_compiler_static
='-static'
8776 # Lahey Fortran 8.1.
8778 lt_prog_compiler_wl
='-Wl,'
8779 lt_prog_compiler_pic
='--shared'
8780 lt_prog_compiler_static
='--static'
8782 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8783 # Portland Group compilers (*not* the Pentium gcc compiler,
8784 # which looks to be a dead project)
8785 lt_prog_compiler_wl
='-Wl,'
8786 lt_prog_compiler_pic
='-fpic'
8787 lt_prog_compiler_static
='-Bstatic'
8790 lt_prog_compiler_wl
='-Wl,'
8791 # All Alpha code is PIC.
8792 lt_prog_compiler_static
='-non_shared'
8794 xl
* | bgxl
* | bgf
* | mpixl
*)
8795 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8796 lt_prog_compiler_wl
='-Wl,'
8797 lt_prog_compiler_pic
='-qpic'
8798 lt_prog_compiler_static
='-qstaticlink'
8801 case `$CC -V 2>&1 | sed 5q` in
8802 *Sun\ F
* |
*Sun
*Fortran
*)
8803 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8804 lt_prog_compiler_pic
='-KPIC'
8805 lt_prog_compiler_static
='-Bstatic'
8806 lt_prog_compiler_wl
=''
8810 lt_prog_compiler_pic
='-KPIC'
8811 lt_prog_compiler_static
='-Bstatic'
8812 lt_prog_compiler_wl
='-Wl,'
8820 lt_prog_compiler_pic
='-KPIC'
8821 lt_prog_compiler_static
='-Bstatic'
8825 # QNX uses GNU C++, but need to define -shared option too, otherwise
8827 lt_prog_compiler_pic
='-fPIC -shared'
8830 osf3
* | osf4
* | osf5
*)
8831 lt_prog_compiler_wl
='-Wl,'
8832 # All OSF/1 code is PIC.
8833 lt_prog_compiler_static
='-non_shared'
8837 lt_prog_compiler_static
='-non_shared'
8841 lt_prog_compiler_pic
='-KPIC'
8842 lt_prog_compiler_static
='-Bstatic'
8843 case $cc_basename in
8845 lt_prog_compiler_wl
='-Qoption ld ';;
8847 lt_prog_compiler_wl
='-Wl,';;
8852 lt_prog_compiler_wl
='-Qoption ld '
8853 lt_prog_compiler_pic
='-PIC'
8854 lt_prog_compiler_static
='-Bstatic'
8857 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8858 lt_prog_compiler_wl
='-Wl,'
8859 lt_prog_compiler_pic
='-KPIC'
8860 lt_prog_compiler_static
='-Bstatic'
8864 if test -d /usr
/nec
;then
8865 lt_prog_compiler_pic
='-Kconform_pic'
8866 lt_prog_compiler_static
='-Bstatic'
8870 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8871 lt_prog_compiler_wl
='-Wl,'
8872 lt_prog_compiler_pic
='-KPIC'
8873 lt_prog_compiler_static
='-Bstatic'
8877 lt_prog_compiler_wl
='-Wl,'
8878 lt_prog_compiler_can_build_shared
=no
8882 lt_prog_compiler_pic
='-pic'
8883 lt_prog_compiler_static
='-Bstatic'
8887 lt_prog_compiler_can_build_shared
=no
8893 # For platforms which do not support PIC, -DPIC is meaningless:
8895 lt_prog_compiler_pic
=
8898 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8902 $as_echo "$lt_prog_compiler_pic" >&6; }
8910 # Check to make sure the PIC flag actually works.
8912 if test -n "$lt_prog_compiler_pic"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8914 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8915 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8916 $as_echo_n "(cached) " >&6
8918 lt_cv_prog_compiler_pic_works
=no
8919 ac_outfile
=conftest.
$ac_objext
8920 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8921 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8922 # Insert the option either (1) after the last *FLAGS variable, or
8923 # (2) before a word containing "conftest.", or (3) at the end.
8924 # Note that $ac_compile itself does not contain backslashes and begins
8925 # with a dollar sign (not a hyphen), so the echo should work correctly.
8926 # The option is referenced via a variable to avoid confusing sed.
8927 lt_compile
=`echo "$ac_compile" | $SED \
8928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8930 -e 's:$: $lt_compiler_flag:'`
8931 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8932 (eval "$lt_compile" 2>conftest.err
)
8934 cat conftest.err
>&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 if (exit $ac_status) && test -s "$ac_outfile"; then
8937 # The compiler can only warn and ignore the option if not recognized
8938 # So say no if there are warnings other than the usual output.
8939 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8940 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8941 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8942 lt_cv_prog_compiler_pic_works
=yes
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8949 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8951 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8952 case $lt_prog_compiler_pic in
8954 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8957 lt_prog_compiler_pic
=
8958 lt_prog_compiler_can_build_shared
=no
8969 # Check to make sure the static flag actually works.
8971 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8973 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8974 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8975 $as_echo_n "(cached) " >&6
8977 lt_cv_prog_compiler_static_works
=no
8978 save_LDFLAGS
="$LDFLAGS"
8979 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8980 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8981 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8982 # The linker can only warn and ignore the option if not recognized
8983 # So say no if there are warnings
8984 if test -s conftest.err
; then
8985 # Append any errors to the config.log.
8986 cat conftest.err
1>&5
8987 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8988 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8989 if diff conftest.exp conftest.er2
>/dev
/null
; then
8990 lt_cv_prog_compiler_static_works
=yes
8993 lt_cv_prog_compiler_static_works
=yes
8997 LDFLAGS
="$save_LDFLAGS"
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9001 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9003 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9006 lt_prog_compiler_static
=
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9016 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9017 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9018 $as_echo_n "(cached) " >&6
9020 lt_cv_prog_compiler_c_o
=no
9021 $RM -r conftest
2>/dev
/null
9025 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9027 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9028 # Insert the option either (1) after the last *FLAGS variable, or
9029 # (2) before a word containing "conftest.", or (3) at the end.
9030 # Note that $ac_compile itself does not contain backslashes and begins
9031 # with a dollar sign (not a hyphen), so the echo should work correctly.
9032 lt_compile
=`echo "$ac_compile" | $SED \
9033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9035 -e 's:$: $lt_compiler_flag:'`
9036 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9037 (eval "$lt_compile" 2>out
/conftest.err
)
9039 cat out
/conftest.err
>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9043 # The compiler can only warn and ignore the option if not recognized
9044 # So say no if there are warnings
9045 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9046 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9047 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9048 lt_cv_prog_compiler_c_o
=yes
9053 # SGI C++ compiler will create directory out/ii_files/ for
9054 # template instantiation
9055 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9056 $RM out
/* && rmdir out
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9063 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9071 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9072 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9073 $as_echo_n "(cached) " >&6
9075 lt_cv_prog_compiler_c_o
=no
9076 $RM -r conftest
2>/dev
/null
9080 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9082 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9083 # Insert the option either (1) after the last *FLAGS variable, or
9084 # (2) before a word containing "conftest.", or (3) at the end.
9085 # Note that $ac_compile itself does not contain backslashes and begins
9086 # with a dollar sign (not a hyphen), so the echo should work correctly.
9087 lt_compile
=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>out
/conftest.err
)
9094 cat out
/conftest.err
>&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9098 # The compiler can only warn and ignore the option if not recognized
9099 # So say no if there are warnings
9100 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9101 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9102 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9103 lt_cv_prog_compiler_c_o
=yes
9108 # SGI C++ compiler will create directory out/ii_files/ for
9109 # template instantiation
9110 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9111 $RM out
/* && rmdir out
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9118 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9123 hard_links
="nottested"
9124 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9125 # do not overwrite the value of need_locks provided by the user
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9127 $as_echo_n "checking if we can lock with hard links... " >&6; }
9130 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9132 ln conftest.a conftest.b
2>&5 || hard_links
=no
9133 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9135 $as_echo "$hard_links" >&6; }
9136 if test "$hard_links" = no
; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9138 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9151 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9154 allow_undefined_flag
=
9155 always_export_symbols
=no
9157 archive_expsym_cmds
=
9158 compiler_needs_object
=no
9159 enable_shared_with_static_runtimes
=no
9160 export_dynamic_flag_spec
=
9161 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9162 hardcode_automatic
=no
9164 hardcode_direct_absolute
=no
9165 hardcode_libdir_flag_spec
=
9166 hardcode_libdir_flag_spec_ld
=
9167 hardcode_libdir_separator
=
9169 hardcode_shlibpath_var
=unsupported
9171 link_all_deplibs
=unknown
9174 old_archive_from_new_cmds
=
9175 old_archive_from_expsyms_cmds
=
9176 thread_safe_flag_spec
=
9177 whole_archive_flag_spec
=
9178 # include_expsyms should be a list of space-separated symbols to be *always*
9179 # included in the symbol list
9181 # exclude_expsyms can be an extended regexp of symbols to exclude
9182 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9183 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9184 # as well as any symbol that contains `d'.
9185 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9186 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9187 # platforms (ab)use it in PIC code, but their linkers get confused if
9188 # the symbol is explicitly referenced. Since portable code cannot
9189 # rely on this symbol name, it's probably fine to never include it in
9190 # preloaded symbol tables.
9191 # Exclude shared library initialization/finalization symbols.
9192 extract_expsyms_cmds
=
9195 cygwin
* | mingw
* | pw32
* | cegcc
*)
9196 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9197 # When not using gcc, we currently assume that we are using
9198 # Microsoft Visual C++.
9199 if test "$GCC" != yes; then
9204 # we just hope/assume this is gcc and not c89 (= MSVC++)
9214 # On some targets, GNU ld is compatible enough with the native linker
9215 # that we're better off using the native interface for both.
9216 lt_use_gnu_ld_interface
=no
9217 if test "$with_gnu_ld" = yes; then
9220 # The AIX port of GNU ld has always aspired to compatibility
9221 # with the native linker. However, as the warning in the GNU ld
9222 # block says, versions before 2.19.5* couldn't really create working
9223 # shared libraries, regardless of the interface used.
9224 case `$LD -v 2>&1` in
9225 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9226 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9227 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9229 lt_use_gnu_ld_interface
=yes
9234 lt_use_gnu_ld_interface
=yes
9239 if test "$lt_use_gnu_ld_interface" = yes; then
9240 # If archive_cmds runs LD, not CC, wlarc should be empty
9243 # Set some defaults for GNU ld with shared library support. These
9244 # are reset later if shared libraries are not supported. Putting them
9245 # here allows them to be overridden if necessary.
9246 runpath_var
=LD_RUN_PATH
9247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9248 export_dynamic_flag_spec
='${wl}--export-dynamic'
9249 # ancient GNU ld didn't support --whole-archive et. al.
9250 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9251 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9253 whole_archive_flag_spec
=
9255 supports_anon_versioning
=no
9256 case `$LD -v 2>&1` in
9257 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9258 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9259 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9260 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9261 *\
2.11.
*) ;; # other 2.11 versions
9262 *) supports_anon_versioning
=yes ;;
9265 # See if GNU ld supports shared libraries.
9268 # On AIX/PPC, the GNU linker is very broken
9269 if test "$host_cpu" != ia64
; then
9273 *** Warning: the GNU linker, at least up to release 2.19, is reported
9274 *** to be unable to reliably create shared libraries on AIX.
9275 *** Therefore, libtool is disabling shared libraries support. If you
9276 *** really care for shared libraries, you may want to install binutils
9277 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9278 *** You will then need to restart the configuration process.
9287 # see comment about AmigaOS4 .so support
9288 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 archive_expsym_cmds
=''
9292 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9293 hardcode_libdir_flag_spec
='-L$libdir'
9294 hardcode_minus_L
=yes
9300 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9301 allow_undefined_flag
=unsupported
9302 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9303 # support --undefined. This deserves some investigation. FIXME
9304 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 cygwin
* | mingw
* | pw32
* | cegcc
*)
9311 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9312 # as there is no search path for DLLs.
9313 hardcode_libdir_flag_spec
='-L$libdir'
9314 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9315 allow_undefined_flag
=unsupported
9316 always_export_symbols
=no
9317 enable_shared_with_static_runtimes
=yes
9318 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9320 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9321 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9322 # If the export-symbols file already is a .def file (1st line
9323 # is EXPORTS), use it as is; otherwise, prepend...
9324 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9325 cp $export_symbols $output_objdir/$soname.def;
9327 echo EXPORTS > $output_objdir/$soname.def;
9328 cat $export_symbols >> $output_objdir/$soname.def;
9330 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9337 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 link_all_deplibs
=yes
9343 hardcode_shlibpath_var
=no
9344 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9345 export_dynamic_flag_spec
='${wl}-E'
9346 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9347 # Instead, shared libraries are loaded at an image base (0x10000000 by
9348 # default) and relocated if they conflict, which is a slow very memory
9349 # consuming and fragmenting process. To avoid this, we pick a random,
9350 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9351 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9352 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9353 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'
9356 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9358 if test "$host_os" = linux-dietlibc
; then
9359 case $cc_basename in
9360 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9363 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9364 && test "$tmp_diet" = no
9366 tmp_addflag
=' $pic_flag'
9367 tmp_sharedflag
='-shared'
9368 case $cc_basename,$host_cpu in
9369 pgcc
*) # Portland Group C compiler
9370 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9371 tmp_addflag
=' $pic_flag'
9373 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9374 # Portland Group f77 and f90 compilers
9375 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9376 tmp_addflag
=' $pic_flag -Mnomain' ;;
9377 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9378 tmp_addflag
=' -i_dynamic' ;;
9379 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9380 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9381 ifc
* | ifort
*) # Intel Fortran compiler
9382 tmp_addflag
=' -nofor_main' ;;
9383 lf95
*) # Lahey Fortran 8.1
9384 whole_archive_flag_spec
=
9385 tmp_sharedflag
='--shared' ;;
9386 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9387 tmp_sharedflag
='-qmkshrobj'
9389 nvcc
*) # Cuda Compiler Driver 2.2
9390 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9391 compiler_needs_object
=yes
9394 case `$CC -V 2>&1 | sed 5q` in
9395 *Sun\ C
*) # Sun C 5.9
9396 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'
9397 compiler_needs_object
=yes
9398 tmp_sharedflag
='-G' ;;
9399 *Sun\ F
*) # Sun Fortran 8.3
9400 tmp_sharedflag
='-G' ;;
9402 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 if test "x$supports_anon_versioning" = xyes
; then
9405 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9406 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9407 echo "local: *; };" >> $output_objdir/$libname.ver~
9408 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9411 case $cc_basename in
9412 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9413 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9414 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9415 hardcode_libdir_flag_spec
=
9416 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9417 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9418 if test "x$supports_anon_versioning" = xyes
; then
9419 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9420 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9421 echo "local: *; };" >> $output_objdir/$libname.ver~
9422 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9432 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9433 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9446 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9447 *** create shared libraries on Solaris systems. Therefore, libtool
9448 *** is disabling shared libraries support. We urge you to upgrade GNU
9449 *** binutils to release 2.9.1 or newer. Another option is to modify
9450 *** your PATH or compiler configuration so that the native linker is
9451 *** used, and then restart.
9454 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9455 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9462 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9463 case `$LD -v 2>&1` in
9464 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9468 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9469 *** reliably create shared libraries on SCO systems. Therefore, libtool
9470 *** is disabling shared libraries support. We urge you to upgrade GNU
9471 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9472 *** your PATH or compiler configuration so that the native linker is
9473 *** used, and then restart.
9478 # For security reasons, it is highly recommended that you always
9479 # use absolute paths for naming shared libraries, and exclude the
9480 # DT_RUNPATH tag from executables and libraries. But doing so
9481 # requires that you compile everything twice, which is a pain.
9482 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9483 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9484 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9485 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9497 hardcode_shlibpath_var
=no
9501 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9502 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510 if test "$ld_shlibs" = no
; then
9512 hardcode_libdir_flag_spec
=
9513 export_dynamic_flag_spec
=
9514 whole_archive_flag_spec
=
9517 # PORTME fill in a description of your system's linker (not GNU ld)
9520 allow_undefined_flag
=unsupported
9521 always_export_symbols
=yes
9522 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9523 # Note: this linker hardcodes the directories in LIBPATH if there
9524 # are no directories specified by -L.
9525 hardcode_minus_L
=yes
9526 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9527 # Neither direct hardcoding nor static linking is supported with a
9529 hardcode_direct
=unsupported
9534 if test "$host_cpu" = ia64
; then
9535 # On IA64, the linker does run time linking by default, so we don't
9536 # have to do anything special.
9537 aix_use_runtimelinking
=no
9538 exp_sym_flag
='-Bexport'
9541 # If we're using GNU nm, then we don't want the "-C" option.
9542 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9543 # Also, AIX nm treats weak defined symbols like other global
9544 # defined symbols, whereas GNU nm marks them as "W".
9545 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9546 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9548 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9550 aix_use_runtimelinking
=no
9552 # Test if we are trying to use run time linking or normal
9553 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9554 # need to do runtime linking.
9555 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9556 for ld_flag
in $LDFLAGS; do
9557 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9558 aix_use_runtimelinking
=yes
9565 exp_sym_flag
='-bexport'
9566 no_entry_flag
='-bnoentry'
9569 # When large executables or shared objects are built, AIX ld can
9570 # have problems creating the table of contents. If linking a library
9571 # or program results in "error TOC overflow" add -mminimal-toc to
9572 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9573 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9577 hardcode_direct_absolute
=yes
9578 hardcode_libdir_separator
=':'
9579 link_all_deplibs
=yes
9580 file_list_spec
='${wl}-f,'
9582 if test "$GCC" = yes; then
9583 case $host_os in aix4.
[012]|aix4.
[012].
*)
9584 # We only want to do this on AIX 4.2 and lower, the check
9585 # below for broken collect2 doesn't work under 4.3+
9586 collect2name
=`${CC} -print-prog-name=collect2`
9587 if test -f "$collect2name" &&
9588 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9590 # We have reworked collect2
9593 # We have old collect2
9594 hardcode_direct
=unsupported
9595 # It fails to find uninstalled libraries when the uninstalled
9596 # path is not listed in the libpath. Setting hardcode_minus_L
9597 # to unsupported forces relinking
9598 hardcode_minus_L
=yes
9599 hardcode_libdir_flag_spec
='-L$libdir'
9600 hardcode_libdir_separator
=
9604 shared_flag
='-shared'
9605 if test "$aix_use_runtimelinking" = yes; then
9606 shared_flag
="$shared_flag "'${wl}-G'
9610 if test "$host_cpu" = ia64
; then
9611 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9612 # chokes on -Wl,-G. The following line is correct:
9615 if test "$aix_use_runtimelinking" = yes; then
9616 shared_flag
='${wl}-G'
9618 shared_flag
='${wl}-bM:SRE'
9623 export_dynamic_flag_spec
='${wl}-bexpall'
9624 # It seems that -bexpall does not export symbols beginning with
9625 # underscore (_), so it is better to generate a list of symbols to export.
9626 always_export_symbols
=yes
9627 if test "$aix_use_runtimelinking" = yes; then
9628 # Warning - without using the other runtime loading flags (-brtl),
9629 # -berok will link without error, but may produce a broken library.
9630 allow_undefined_flag
='-berok'
9631 # Determine the default libpath from the value encoded in an
9633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9644 if ac_fn_c_try_link
"$LINENO"; then :
9646 lt_aix_libpath_sed
='
9647 /Import File Strings/,/^$/ {
9653 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 # Check for a 64-bit object if we didn't find anything.
9655 if test -z "$aix_libpath"; then
9656 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 rm -f core conftest.err conftest.
$ac_objext \
9660 conftest
$ac_exeext conftest.
$ac_ext
9661 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9663 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9666 if test "$host_cpu" = ia64
; then
9667 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9668 allow_undefined_flag
="-z nodefs"
9669 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9671 # Determine the default libpath from the value encoded in an
9673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9684 if ac_fn_c_try_link
"$LINENO"; then :
9686 lt_aix_libpath_sed
='
9687 /Import File Strings/,/^$/ {
9693 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9703 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag
=' ${wl}-bernotok'
9707 allow_undefined_flag
=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec
='$convenience'
9715 archive_cmds_need_lc
=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds
=''
9730 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9731 hardcode_libdir_flag_spec
='-L$libdir'
9732 hardcode_minus_L
=yes
9738 export_dynamic_flag_spec
=-rdynamic
9741 cygwin
* | mingw
* | pw32
* | cegcc
*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec
=' '
9747 allow_undefined_flag
=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9750 # Tell ltmain to make .dll files, not .so files.
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds
='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes
=yes
9762 darwin
* | rhapsody
*)
9766 # Publish an arg to allow the user to select that Darwin host (and target)
9767 # libraries should be given install-names like @rpath/libfoo.dylib. This
9768 # requires that the user of the library then adds an 'rpath' to the DSO that
9770 # NOTE: there are defaults below, for systems that support rpaths. The person
9771 # configuring can override the defaults for any system version that supports
9772 # them - they are, however, forced off for system versions without support.
9773 # Check whether --enable-darwin-at-rpath was given.
9774 if test "${enable_darwin_at_rpath+set}" = set; then :
9775 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
9776 # This is not supported before macOS 10.5 / Darwin9.
9777 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9778 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
9780 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
9781 enable_darwin_at_rpath
=no
9786 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9787 # As above, before 10.5 / Darwin9 this does not work.
9788 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9789 enable_darwin_at_rpath
=no
9792 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
9793 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
9794 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
9795 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
9797 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
9798 enable_darwin_at_rpath
=yes
9800 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
9801 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
9808 archive_cmds_need_lc
=no
9810 hardcode_automatic
=yes
9811 hardcode_shlibpath_var
=unsupported
9812 if test "$lt_cv_ld_force_load" = "yes"; then
9813 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9815 whole_archive_flag_spec
=''
9817 link_all_deplibs
=yes
9818 allow_undefined_flag
="$_lt_dar_allow_undefined"
9819 case $cc_basename in
9820 ifort
*) _lt_dar_can_shared
=yes ;;
9821 *) _lt_dar_can_shared
=$GCC ;;
9823 if test "$_lt_dar_can_shared" = "yes"; then
9824 output_verbose_link_cmd
=func_echo_all
9825 _lt_install_name
='\$rpath/\$soname'
9826 if test "x$enable_darwin_at_rpath" = "xyes"; then
9827 _lt_install_name
='@rpath/\$soname'
9829 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
9830 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9831 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
9832 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}"
9841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_libdir_flag_spec
='-L$libdir'
9843 hardcode_shlibpath_var
=no
9846 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9847 # support. Future versions do this automatically, but an explicit c++rt0.o
9848 # does not break anything, and helps significantly (at the cost of a little
9851 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9852 hardcode_libdir_flag_spec
='-R$libdir'
9854 hardcode_shlibpath_var
=no
9857 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9859 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_minus_L
=yes
9862 hardcode_shlibpath_var
=no
9865 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9866 freebsd
* | dragonfly
*)
9867 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9868 hardcode_libdir_flag_spec
='-R$libdir'
9870 hardcode_shlibpath_var
=no
9874 if test "$GCC" = yes; then
9875 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9877 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9879 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9880 hardcode_libdir_separator
=:
9883 # hardcode_minus_L: Not really in the search PATH,
9884 # but as the default location of the library.
9885 hardcode_minus_L
=yes
9886 export_dynamic_flag_spec
='${wl}-E'
9890 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9891 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9895 if test "$with_gnu_ld" = no
; then
9896 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9897 hardcode_libdir_flag_spec_ld
='+b $libdir'
9898 hardcode_libdir_separator
=:
9900 hardcode_direct_absolute
=yes
9901 export_dynamic_flag_spec
='${wl}-E'
9902 # hardcode_minus_L: Not really in the search PATH,
9903 # but as the default location of the library.
9904 hardcode_minus_L
=yes
9909 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9912 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9915 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9924 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9931 # Older versions of the 11.00 compiler do not understand -b yet
9932 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9934 $as_echo_n "checking if $CC understands -b... " >&6; }
9935 if ${lt_cv_prog_compiler__b+:} false
; then :
9936 $as_echo_n "(cached) " >&6
9938 lt_cv_prog_compiler__b
=no
9939 save_LDFLAGS
="$LDFLAGS"
9940 LDFLAGS
="$LDFLAGS -b"
9941 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9942 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9943 # The linker can only warn and ignore the option if not recognized
9944 # So say no if there are warnings
9945 if test -s conftest.err
; then
9946 # Append any errors to the config.log.
9947 cat conftest.err
1>&5
9948 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9949 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9950 if diff conftest.exp conftest.er2
>/dev
/null
; then
9951 lt_cv_prog_compiler__b
=yes
9954 lt_cv_prog_compiler__b
=yes
9958 LDFLAGS
="$save_LDFLAGS"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9962 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9964 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9965 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9973 if test "$with_gnu_ld" = no
; then
9974 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9975 hardcode_libdir_separator
=:
9980 hardcode_shlibpath_var
=no
9984 hardcode_direct_absolute
=yes
9985 export_dynamic_flag_spec
='${wl}-E'
9987 # hardcode_minus_L: Not really in the search PATH,
9988 # but as the default location of the library.
9989 hardcode_minus_L
=yes
9995 irix5
* | irix6
* | nonstopux
*)
9996 if test "$GCC" = yes; then
9997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9998 # Try to use the -exported_symbol ld option, if it does not
9999 # work, assume that -exports_file does not work either and
10000 # implicitly export all symbols.
10001 save_LDFLAGS
="$LDFLAGS"
10002 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10007 if ac_fn_c_try_link
"$LINENO"; then :
10008 archive_expsym_cmds
='$CC -shared $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'
10011 rm -f core conftest.err conftest.
$ac_objext \
10012 conftest
$ac_exeext conftest.
$ac_ext
10013 LDFLAGS
="$save_LDFLAGS"
10015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10016 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10018 archive_cmds_need_lc
='no'
10019 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10020 hardcode_libdir_separator
=:
10022 link_all_deplibs
=yes
10026 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10027 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10029 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10031 hardcode_libdir_flag_spec
='-R$libdir'
10032 hardcode_direct
=yes
10033 hardcode_shlibpath_var
=no
10037 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct
=yes
10039 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10040 hardcode_libdir_separator
=:
10041 hardcode_shlibpath_var
=no
10048 if test -f /usr
/libexec
/ld.so
; then
10049 hardcode_direct
=yes
10050 hardcode_shlibpath_var
=no
10051 hardcode_direct_absolute
=yes
10052 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10053 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10055 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10056 export_dynamic_flag_spec
='${wl}-E'
10059 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10060 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_libdir_flag_spec
='-R$libdir'
10064 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10065 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10075 hardcode_libdir_flag_spec
='-L$libdir'
10076 hardcode_minus_L
=yes
10077 allow_undefined_flag
=unsupported
10078 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10079 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10083 if test "$GCC" = yes; then
10084 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10085 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10087 allow_undefined_flag
=' -expect_unresolved \*'
10088 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10090 archive_cmds_need_lc
='no'
10091 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10092 hardcode_libdir_separator
=:
10095 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10096 if test "$GCC" = yes; then
10097 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10098 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10099 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10101 allow_undefined_flag
=' -expect_unresolved \*'
10102 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10103 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10104 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10106 # Both c and cxx compiler support -rpath directly
10107 hardcode_libdir_flag_spec
='-rpath $libdir'
10109 archive_cmds_need_lc
='no'
10110 hardcode_libdir_separator
=:
10114 no_undefined_flag
=' -z defs'
10115 if test "$GCC" = yes; then
10117 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10119 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10121 case `$CC -V 2>&1` in
10124 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10126 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10130 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10132 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10136 hardcode_libdir_flag_spec
='-R$libdir'
10137 hardcode_shlibpath_var
=no
10139 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10141 # The compiler driver will combine and reorder linker options,
10142 # but understands `-z linker_flag'. GCC discards it without `$wl',
10143 # but is careful enough not to reorder.
10144 # Supported since Solaris 2.6 (maybe 2.5.1?)
10145 if test "$GCC" = yes; then
10146 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10148 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10152 link_all_deplibs
=yes
10156 if test "x$host_vendor" = xsequent
; then
10157 # Use $CC to link under sequent, because it throws in some extra .o
10158 # files that make .init and .fini sections work.
10159 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10161 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_libdir_flag_spec
='-L$libdir'
10164 hardcode_direct
=yes
10165 hardcode_minus_L
=yes
10166 hardcode_shlibpath_var
=no
10170 case $host_vendor in
10172 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10173 hardcode_direct
=yes # is this really true???
10176 ## LD is ld it makes a PLAMLIB
10177 ## CC just makes a GrossModule.
10178 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10179 reload_cmds
='$CC -r -o $output$reload_objs'
10183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10184 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10187 runpath_var
='LD_RUN_PATH'
10188 hardcode_shlibpath_var
=no
10192 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10193 hardcode_shlibpath_var
=no
10194 export_dynamic_flag_spec
='-Bexport'
10198 if test -d /usr
/nec
; then
10199 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10200 hardcode_shlibpath_var
=no
10201 runpath_var
=LD_RUN_PATH
10202 hardcode_runpath_var
=yes
10207 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10208 no_undefined_flag
='${wl}-z,text'
10209 archive_cmds_need_lc
=no
10210 hardcode_shlibpath_var
=no
10211 runpath_var
='LD_RUN_PATH'
10213 if test "$GCC" = yes; then
10214 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10222 sysv5
* | sco3.2v5
* | sco5v6
*)
10223 # Note: We can NOT use -z defs as we might desire, because we do not
10224 # link with -lc, and that would cause any symbols used from libc to
10225 # always be unresolved, which means just about no library would
10226 # ever link correctly. If we're not using GNU ld we use -z text
10227 # though, which does catch some bad symbols but isn't as heavy-handed
10229 no_undefined_flag
='${wl}-z,text'
10230 allow_undefined_flag
='${wl}-z,nodefs'
10231 archive_cmds_need_lc
=no
10232 hardcode_shlibpath_var
=no
10233 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10234 hardcode_libdir_separator
=':'
10235 link_all_deplibs
=yes
10236 export_dynamic_flag_spec
='${wl}-Bexport'
10237 runpath_var
='LD_RUN_PATH'
10239 if test "$GCC" = yes; then
10240 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10250 hardcode_libdir_flag_spec
='-L$libdir'
10251 hardcode_shlibpath_var
=no
10259 if test x
$host_vendor = xsni
; then
10261 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10262 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10269 $as_echo "$ld_shlibs" >&6; }
10270 test "$ld_shlibs" = no
&& can_build_shared
=no
10272 with_gnu_ld
=$with_gnu_ld
10289 # Do we need to explicitly link libc?
10291 case "x$archive_cmds_need_lc" in
10293 # Assume -lc should be added
10294 archive_cmds_need_lc
=yes
10296 if test "$enable_shared" = yes && test "$GCC" = yes; then
10297 case $archive_cmds in
10299 # FIXME: we may have to deal with multi-command sequences.
10302 # Test whether the compiler implicitly links with -lc since on some
10303 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10304 # to ld, don't add -lc before -lgcc.
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10306 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10307 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10311 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10314 (eval $ac_compile) 2>&5
10316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10317 test $ac_status = 0; } 2>conftest.err
; then
10320 libobjs
=conftest.
$ac_objext
10322 wl
=$lt_prog_compiler_wl
10323 pic_flag
=$lt_prog_compiler_pic
10329 lt_save_allow_undefined_flag
=$allow_undefined_flag
10330 allow_undefined_flag
=
10331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10332 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10335 test $ac_status = 0; }
10337 lt_cv_archive_cmds_need_lc
=no
10339 lt_cv_archive_cmds_need_lc
=yes
10341 allow_undefined_flag
=$lt_save_allow_undefined_flag
10343 cat conftest.err
1>&5
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10349 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10350 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10514 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10516 if test "$GCC" = yes; then
10518 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10519 *) lt_awk_arg
="/^libraries:/" ;;
10522 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10523 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10525 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10526 case $lt_search_path_spec in
10528 # if the path contains ";" then we assume it to be the separator
10529 # otherwise default to the standard path separator (i.e. ":") - it is
10530 # assumed that no part of a normal pathname contains ";" but that should
10531 # okay in the real world where ";" in dirpaths is itself problematic.
10532 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10535 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10538 # Ok, now we have the path, separated by spaces, we can step through it
10539 # and add multilib dir if necessary.
10540 lt_tmp_lt_search_path_spec
=
10541 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10542 for lt_sys_path
in $lt_search_path_spec; do
10543 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10544 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10546 test -d "$lt_sys_path" && \
10547 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10550 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10551 BEGIN {RS=" "; FS="/|\n";} {
10554 for (lt_i = NF; lt_i > 0; lt_i--) {
10555 if ($lt_i != "" && $lt_i != ".") {
10556 if ($lt_i == "..") {
10559 if (lt_count == 0) {
10560 lt_foo="/" $lt_i lt_foo;
10567 if (lt_foo != "") { lt_freq[lt_foo]++; }
10568 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10570 # AWK program above erroneously prepends '/' to C:/dos/paths
10573 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10574 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10576 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10578 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10580 library_names_spec
=
10581 libname_spec
='lib$name'
10585 postuninstall_cmds
=
10589 shlibpath_overrides_runpath
=unknown
10591 dynamic_linker
="$host_os ld.so"
10592 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10593 need_lib_prefix
=unknown
10594 hardcode_into_libs
=no
10596 # when you set need_version to no, make sure it does not cause -set_version
10597 # flags to be left without arguments
10598 need_version
=unknown
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10604 shlibpath_var
=LIBPATH
10606 # AIX 3 has no versioning support, so we append a major version to the name.
10607 soname_spec
='${libname}${release}${shared_ext}$major'
10614 hardcode_into_libs
=yes
10615 if test "$host_cpu" = ia64
; then
10616 # AIX 5 supports IA64
10617 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10618 shlibpath_var
=LD_LIBRARY_PATH
10620 # With GCC up to 2.95.x, collect2 would create an import file
10621 # for dependence libraries. The import file would start with
10622 # the line `#! .'. This would cause the generated library to
10623 # depend on `.', always an invalid library. This was fixed in
10624 # development snapshots of GCC prior to 3.0.
10626 aix4 | aix4.
[01] | aix4.
[01].
*)
10627 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10629 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10632 can_build_shared
=no
10636 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10637 # soname into executable. Probably we can add versioning support to
10638 # collect2, so additional links can be useful in future.
10639 if test "$aix_use_runtimelinking" = yes; then
10640 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10641 # instead of lib<name>.a to let people know that these are not
10642 # typical AIX shared libraries.
10643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 # We preserve .a as extension for shared libraries through AIX4.2
10646 # and later when we are not doing run time linking.
10647 library_names_spec
='${libname}${release}.a $libname.a'
10648 soname_spec
='${libname}${release}${shared_ext}$major'
10650 shlibpath_var
=LIBPATH
10657 # Since July 2007 AmigaOS4 officially supports .so libraries.
10658 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 library_names_spec
='$libname.ixlibrary $libname.a'
10663 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10664 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10670 library_names_spec
='${libname}${shared_ext}'
10671 dynamic_linker
="$host_os ld.so"
10672 shlibpath_var
=LIBRARY_PATH
10678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679 soname_spec
='${libname}${release}${shared_ext}$major'
10680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10681 shlibpath_var
=LD_LIBRARY_PATH
10682 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10683 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10684 # the default ld.so.conf also contains /usr/contrib/lib and
10685 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10686 # libtool to hard-code these into programs
10689 cygwin
* | mingw
* | pw32
* | cegcc
*)
10690 version_type
=windows
10695 case $GCC,$host_os in
10696 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10697 library_names_spec
='$libname.dll.a'
10698 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10699 postinstall_cmds
='base_file=`basename \${file}`~
10700 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10701 dldir=$destdir/`dirname \$dlpath`~
10702 test -d \$dldir || mkdir -p \$dldir~
10703 $install_prog $dir/$dlname \$dldir/$dlname~
10704 chmod a+x \$dldir/$dlname~
10705 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10706 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10708 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10709 dlpath=$dir/\$dldll~
10711 shlibpath_overrides_runpath
=yes
10715 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10716 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10718 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10721 # MinGW DLLs use traditional 'lib' prefix
10722 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10725 # pw32 DLLs use 'pw' prefix rather than 'lib'
10726 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10732 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10735 dynamic_linker
='Win32 ld.exe'
10736 # FIXME: first we should search . and the directory the executable is in
10740 darwin
* | rhapsody
*)
10741 dynamic_linker
="$host_os dyld"
10742 version_type
=darwin
10745 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10746 soname_spec
='${libname}${release}${major}$shared_ext'
10747 shlibpath_overrides_runpath
=yes
10748 shlibpath_var
=DYLD_LIBRARY_PATH
10749 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10751 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10752 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10760 soname_spec
='${libname}${release}${shared_ext}$major'
10761 shlibpath_var
=LD_LIBRARY_PATH
10764 freebsd
* | dragonfly
*)
10765 # DragonFly does not have aout. When/if they implement a new
10766 # versioning mechanism, adjust this.
10767 if test -x /usr
/bin
/objformat
; then
10768 objformat
=`/usr/bin/objformat`
10771 freebsd
[23].
*) objformat
=aout
;;
10772 *) objformat
=elf
;;
10775 version_type
=freebsd-
$objformat
10776 case $version_type in
10778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10783 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10787 shlibpath_var
=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath
=yes
10792 freebsd3.
[01]* | freebsdelf3.
[01]*)
10793 shlibpath_overrides_runpath
=yes
10794 hardcode_into_libs
=yes
10796 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10797 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10798 shlibpath_overrides_runpath
=no
10799 hardcode_into_libs
=yes
10801 *) # from 4.6 on, and DragonFly
10802 shlibpath_overrides_runpath
=yes
10803 hardcode_into_libs
=yes
10812 dynamic_linker
="$host_os runtime_loader"
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10814 soname_spec
='${libname}${release}${shared_ext}$major'
10815 shlibpath_var
=LIBRARY_PATH
10816 shlibpath_overrides_runpath
=yes
10817 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10818 hardcode_into_libs
=yes
10821 hpux9
* | hpux10
* | hpux11
*)
10822 # Give a soname corresponding to the major version so that dld.sl refuses to
10823 # link against other versions.
10830 hardcode_into_libs
=yes
10831 dynamic_linker
="$host_os dld.so"
10832 shlibpath_var
=LD_LIBRARY_PATH
10833 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec
='${libname}${release}${shared_ext}$major'
10836 if test "X$HPUX_IA64_MODE" = X32
; then
10837 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10839 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10841 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10845 hardcode_into_libs
=yes
10846 dynamic_linker
="$host_os dld.sl"
10847 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10848 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 soname_spec
='${libname}${release}${shared_ext}$major'
10851 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10852 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10856 dynamic_linker
="$host_os dld.sl"
10857 shlibpath_var
=SHLIB_PATH
10858 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec
='${libname}${release}${shared_ext}$major'
10863 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10864 postinstall_cmds
='chmod 555 $lib'
10865 # or fails outright, so override atomically:
10866 install_override_mode
=555
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10874 soname_spec
='${libname}${release}${shared_ext}$major'
10875 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath
=no
10878 hardcode_into_libs
=yes
10881 irix5
* | irix6
* | nonstopux
*)
10883 nonstopux
*) version_type
=nonstopux
;;
10885 if test "$lt_cv_prog_gnu_ld" = yes; then
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10896 irix5
* | nonstopux
*)
10897 libsuff
= shlibsuff
=
10900 case $LD in # libtool.m4 will add one of these switches to LD
10901 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10902 libsuff
= shlibsuff
= libmagic
=32-bit;;
10903 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10904 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10905 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10906 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10907 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10911 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10912 shlibpath_overrides_runpath
=no
10913 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10914 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10915 hardcode_into_libs
=yes
10918 # No shared lib support for Linux oldld, aout, or coff.
10919 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10923 # This must be Linux ELF.
10925 # uclinux* changes (here and below) have been submitted to the libtool
10926 # project, but have not yet been accepted: they are GCC-local changes
10927 # for the time being. (See
10928 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10929 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10934 soname_spec
='${libname}${release}${shared_ext}$major'
10935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10936 shlibpath_var
=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath
=no
10939 # Some binutils ld are patched to set DT_RUNPATH
10940 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10941 $as_echo_n "(cached) " >&6
10943 lt_cv_shlibpath_overrides_runpath
=no
10944 save_LDFLAGS
=$LDFLAGS
10945 save_libdir
=$libdir
10946 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10947 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10959 if ac_fn_c_try_link
"$LINENO"; then :
10960 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10961 lt_cv_shlibpath_overrides_runpath
=yes
10964 rm -f core conftest.err conftest.
$ac_objext \
10965 conftest
$ac_exeext conftest.
$ac_ext
10966 LDFLAGS
=$save_LDFLAGS
10967 libdir
=$save_libdir
10971 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10973 # This implies no fast_install, which is unacceptable.
10974 # Some rework will be needed to allow for fast_install
10975 # before this can be enabled.
10976 hardcode_into_libs
=yes
10978 # Append ld.so.conf contents to the search path
10979 if test -f /etc
/ld.so.conf
; then
10980 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10981 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10984 # We used to test for /lib/ld.so.1 and disable shared libraries on
10985 # powerpc, because MkLinux only supported shared libraries with the
10986 # GNU dynamic linker. Since this was broken with cross compilers,
10987 # most powerpc-linux boxes support dynamic linking these days and
10988 # people can always --disable-shared, the test was removed, and we
10989 # assume the GNU/Linux dynamic linker is in use.
10990 dynamic_linker
='GNU/Linux ld.so'
10997 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11000 dynamic_linker
='NetBSD (a.out) ld.so'
11002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11003 soname_spec
='${libname}${release}${shared_ext}$major'
11004 dynamic_linker
='NetBSD ld.elf_so'
11006 shlibpath_var
=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath
=yes
11008 hardcode_into_libs
=yes
11013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014 shlibpath_var
=LD_LIBRARY_PATH
11015 shlibpath_overrides_runpath
=yes
11022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 soname_spec
='${libname}${release}${shared_ext}$major'
11024 shlibpath_var
=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath
=no
11026 hardcode_into_libs
=yes
11027 dynamic_linker
='ldqnx.so'
11032 sys_lib_dlsearch_path_spec
="/usr/lib"
11034 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11036 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11037 *) need_version
=no
;;
11039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11040 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11041 shlibpath_var
=LD_LIBRARY_PATH
11042 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11044 openbsd2.
[89] | openbsd2.
[89].
*)
11045 shlibpath_overrides_runpath
=no
11048 shlibpath_overrides_runpath
=yes
11052 shlibpath_overrides_runpath
=yes
11057 libname_spec
='$name'
11060 library_names_spec
='$libname${shared_ext} $libname.a'
11061 dynamic_linker
='OS/2 ld.exe'
11062 shlibpath_var
=LIBPATH
11065 osf3
* | osf4
* | osf5
*)
11069 soname_spec
='${libname}${release}${shared_ext}$major'
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 shlibpath_var
=LD_LIBRARY_PATH
11072 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11073 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec
='${libname}${release}${shared_ext}$major'
11086 shlibpath_var
=LD_LIBRARY_PATH
11087 shlibpath_overrides_runpath
=yes
11088 hardcode_into_libs
=yes
11089 # ldd complains unless libraries are executable
11090 postinstall_cmds
='chmod +x $lib'
11095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11096 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11097 shlibpath_var
=LD_LIBRARY_PATH
11098 shlibpath_overrides_runpath
=yes
11099 if test "$with_gnu_ld" = yes; then
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11109 shlibpath_var
=LD_LIBRARY_PATH
11110 case $host_vendor in
11112 shlibpath_overrides_runpath
=no
11114 runpath_var
=LD_RUN_PATH
11122 shlibpath_overrides_runpath
=no
11123 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11129 if test -d /usr
/nec
;then
11131 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11132 soname_spec
='$libname${shared_ext}.$major'
11133 shlibpath_var
=LD_LIBRARY_PATH
11137 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11138 version_type
=freebsd-elf
11141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11142 soname_spec
='${libname}${release}${shared_ext}$major'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11145 hardcode_into_libs
=yes
11146 if test "$with_gnu_ld" = yes; then
11147 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11149 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11152 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11156 sys_lib_dlsearch_path_spec
='/usr/lib'
11160 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11165 shlibpath_var
=LD_LIBRARY_PATH
11166 shlibpath_overrides_runpath
=no
11167 hardcode_into_libs
=yes
11172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 soname_spec
='${libname}${release}${shared_ext}$major'
11174 shlibpath_var
=LD_LIBRARY_PATH
11177 # Shared libraries for VwWorks, >= 7 only at this stage
11178 # and (fpic) still incompatible with "large" code models
11179 # in a few configurations. Only for RTP mode in any case,
11180 # and upon explicit request at configure time.
11183 case ${with_multisubdir}-${enable_shared} in
11190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191 soname_spec
='${libname}${release}${shared_ext}$major'
11192 dynamic_linker
="$host_os module_loader"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11201 $as_echo "$dynamic_linker" >&6; }
11202 test "$dynamic_linker" = no
&& can_build_shared
=no
11204 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11205 if test "$GCC" = yes; then
11206 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11209 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11210 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11212 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11213 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11308 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11310 if test -n "$hardcode_libdir_flag_spec" ||
11311 test -n "$runpath_var" ||
11312 test "X$hardcode_automatic" = "Xyes" ; then
11314 # We can hardcode non-existent directories.
11315 if test "$hardcode_direct" != no
&&
11316 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11317 # have to relink, otherwise we might link with an installed library
11318 # when we should be linking with a yet-to-be-installed one
11319 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11320 test "$hardcode_minus_L" != no
; then
11321 # Linking always hardcodes the temporary library directory.
11322 hardcode_action
=relink
11324 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11325 hardcode_action
=immediate
11328 # We cannot hardcode anything, or else we can only hardcode existing
11330 hardcode_action
=unsupported
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11333 $as_echo "$hardcode_action" >&6; }
11335 if test "$hardcode_action" = relink ||
11336 test "$inherit_rpath" = yes; then
11337 # Fast installation is not supported
11338 enable_fast_install
=no
11339 elif test "$shlibpath_overrides_runpath" = yes ||
11340 test "$enable_shared" = no
; then
11341 # Fast installation is not necessary
11342 enable_fast_install
=needless
11350 if test "x$enable_dlopen" != xyes
; then
11351 enable_dlopen
=unknown
11352 enable_dlopen_self
=unknown
11353 enable_dlopen_self_static
=unknown
11360 lt_cv_dlopen
="load_add_on"
11362 lt_cv_dlopen_self
=yes
11365 mingw
* | pw32
* | cegcc
*)
11366 lt_cv_dlopen
="LoadLibrary"
11371 lt_cv_dlopen
="dlopen"
11376 # if libdl is installed we need to link against it
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11378 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11379 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 ac_check_lib_save_LIBS
=$LIBS
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11402 if ac_fn_c_try_link
"$LINENO"; then :
11403 ac_cv_lib_dl_dlopen
=yes
11405 ac_cv_lib_dl_dlopen
=no
11407 rm -f core conftest.err conftest.
$ac_objext \
11408 conftest
$ac_exeext conftest.
$ac_ext
11409 LIBS
=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11412 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11413 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11414 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11417 lt_cv_dlopen
="dyld"
11419 lt_cv_dlopen_self
=yes
11426 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11427 if test "x$ac_cv_func_shl_load" = xyes
; then :
11428 lt_cv_dlopen
="shl_load"
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11431 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11432 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11433 $as_echo_n "(cached) " >&6
11435 ac_check_lib_save_LIBS
=$LIBS
11437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11450 return shl_load ();
11455 if ac_fn_c_try_link
"$LINENO"; then :
11456 ac_cv_lib_dld_shl_load
=yes
11458 ac_cv_lib_dld_shl_load
=no
11460 rm -f core conftest.err conftest.
$ac_objext \
11461 conftest
$ac_exeext conftest.
$ac_ext
11462 LIBS
=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11465 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11466 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11467 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11469 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11470 if test "x$ac_cv_func_dlopen" = xyes
; then :
11471 lt_cv_dlopen
="dlopen"
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11474 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11475 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11476 $as_echo_n "(cached) " >&6
11478 ac_check_lib_save_LIBS
=$LIBS
11480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11498 if ac_fn_c_try_link
"$LINENO"; then :
11499 ac_cv_lib_dl_dlopen
=yes
11501 ac_cv_lib_dl_dlopen
=no
11503 rm -f core conftest.err conftest.
$ac_objext \
11504 conftest
$ac_exeext conftest.
$ac_ext
11505 LIBS
=$ac_check_lib_save_LIBS
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11508 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11509 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11510 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11513 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11514 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11515 $as_echo_n "(cached) " >&6
11517 ac_check_lib_save_LIBS
=$LIBS
11518 LIBS
="-lsvld $LIBS"
11519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11537 if ac_fn_c_try_link
"$LINENO"; then :
11538 ac_cv_lib_svld_dlopen
=yes
11540 ac_cv_lib_svld_dlopen
=no
11542 rm -f core conftest.err conftest.
$ac_objext \
11543 conftest
$ac_exeext conftest.
$ac_ext
11544 LIBS
=$ac_check_lib_save_LIBS
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11547 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11548 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11549 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11552 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11553 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11554 $as_echo_n "(cached) " >&6
11556 ac_check_lib_save_LIBS
=$LIBS
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11571 return dld_link ();
11576 if ac_fn_c_try_link
"$LINENO"; then :
11577 ac_cv_lib_dld_dld_link
=yes
11579 ac_cv_lib_dld_dld_link
=no
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 LIBS
=$ac_check_lib_save_LIBS
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11586 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11587 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11588 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11609 if test "x$lt_cv_dlopen" != xno
; then
11615 case $lt_cv_dlopen in
11617 save_CPPFLAGS
="$CPPFLAGS"
11618 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11620 save_LDFLAGS
="$LDFLAGS"
11621 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11624 LIBS
="$lt_cv_dlopen_libs $LIBS"
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11627 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11628 if ${lt_cv_dlopen_self+:} false
; then :
11629 $as_echo_n "(cached) " >&6
11631 if test "$cross_compiling" = yes; then :
11632 lt_cv_dlopen_self
=cross
11634 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11635 lt_status
=$lt_dlunknown
11636 cat > conftest.
$ac_ext <<_LT_EOF
11637 #line 11637 "configure"
11638 #include "confdefs.h"
11647 # define LT_DLGLOBAL RTLD_GLOBAL
11650 # define LT_DLGLOBAL DL_GLOBAL
11652 # define LT_DLGLOBAL 0
11656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11657 find out it does not work in some platform. */
11658 #ifndef LT_DLLAZY_OR_NOW
11660 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW DL_LAZY
11666 # define LT_DLLAZY_OR_NOW RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW DL_NOW
11671 # define LT_DLLAZY_OR_NOW 0
11678 /* When -fvisbility=hidden is used, assume the code has been annotated
11679 correspondingly for the symbols needed. */
11680 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11681 void fnord () __attribute__((visibility("default")));
11684 void fnord () { int i=42; }
11687 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11688 int status = $lt_dlunknown;
11692 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11695 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11696 else puts (dlerror ());
11698 /* dlclose (self); */
11706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11707 (eval $ac_link) 2>&5
11709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11710 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11711 (.
/conftest
; exit; ) >&5 2>/dev
/null
11713 case x
$lt_status in
11714 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11715 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11716 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11719 # compilation failed
11720 lt_cv_dlopen_self
=no
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11728 $as_echo "$lt_cv_dlopen_self" >&6; }
11730 if test "x$lt_cv_dlopen_self" = xyes
; then
11731 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11733 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11734 if ${lt_cv_dlopen_self_static+:} false
; then :
11735 $as_echo_n "(cached) " >&6
11737 if test "$cross_compiling" = yes; then :
11738 lt_cv_dlopen_self_static
=cross
11740 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11741 lt_status
=$lt_dlunknown
11742 cat > conftest.
$ac_ext <<_LT_EOF
11743 #line 11743 "configure"
11744 #include "confdefs.h"
11753 # define LT_DLGLOBAL RTLD_GLOBAL
11756 # define LT_DLGLOBAL DL_GLOBAL
11758 # define LT_DLGLOBAL 0
11762 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11763 find out it does not work in some platform. */
11764 #ifndef LT_DLLAZY_OR_NOW
11766 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11769 # define LT_DLLAZY_OR_NOW DL_LAZY
11772 # define LT_DLLAZY_OR_NOW RTLD_NOW
11775 # define LT_DLLAZY_OR_NOW DL_NOW
11777 # define LT_DLLAZY_OR_NOW 0
11784 /* When -fvisbility=hidden is used, assume the code has been annotated
11785 correspondingly for the symbols needed. */
11786 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11787 void fnord () __attribute__((visibility("default")));
11790 void fnord () { int i=42; }
11793 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11794 int status = $lt_dlunknown;
11798 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11801 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11802 else puts (dlerror ());
11804 /* dlclose (self); */
11812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11813 (eval $ac_link) 2>&5
11815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11816 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11817 (.
/conftest
; exit; ) >&5 2>/dev
/null
11819 case x
$lt_status in
11820 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11821 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11822 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11825 # compilation failed
11826 lt_cv_dlopen_self_static
=no
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11834 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11837 CPPFLAGS
="$save_CPPFLAGS"
11838 LDFLAGS
="$save_LDFLAGS"
11843 case $lt_cv_dlopen_self in
11844 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11845 *) enable_dlopen_self
=unknown
;;
11848 case $lt_cv_dlopen_self_static in
11849 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11850 *) enable_dlopen_self_static
=unknown
;;
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11873 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11874 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11875 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11876 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11878 $as_echo "yes" >&6; }
11880 # FIXME - insert some real tests, host_os isn't really good enough
11883 if test -n "$STRIP" ; then
11884 striplib
="$STRIP -x"
11885 old_striplib
="$STRIP -S"
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11887 $as_echo "yes" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11895 $as_echo "no" >&6; }
11911 # Report which library types will actually be built
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11913 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11915 $as_echo "$can_build_shared" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11918 $as_echo_n "checking whether to build shared libraries... " >&6; }
11919 test "$can_build_shared" = "no" && enable_shared
=no
11921 # On AIX, shared libraries and static libraries use the same namespace, and
11922 # are all built from PIC.
11925 test "$enable_shared" = yes && enable_static
=no
11926 if test -n "$RANLIB"; then
11927 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11928 postinstall_cmds
='$RANLIB $lib'
11933 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11934 test "$enable_shared" = yes && enable_static
=no
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11939 $as_echo "$enable_shared" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11942 $as_echo_n "checking whether to build static libraries... " >&6; }
11943 # Make sure either enable_shared or enable_static is yes.
11944 test "$enable_shared" = yes || enable_static
=yes
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11946 $as_echo "$enable_static" >&6; }
11953 ac_cpp
='$CPP $CPPFLAGS'
11954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11972 ac_config_commands
="$ac_config_commands libtool"
11977 # Only expand once:
11982 if test x
$enable_darwin_at_rpath = xyes
; then
11983 ENABLE_DARWIN_AT_RPATH_TRUE
=
11984 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
11986 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
11987 ENABLE_DARWIN_AT_RPATH_FALSE
=
11991 # Check whether --enable-largefile was given.
11992 if test "${enable_largefile+set}" = set; then :
11993 enableval
=$enable_largefile;
11996 if test "$enable_largefile" != no
; then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11999 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12000 if ${ac_cv_sys_largefile_CC+:} false
; then :
12001 $as_echo_n "(cached) " >&6
12003 ac_cv_sys_largefile_CC
=no
12004 if test "$GCC" != yes; then
12007 # IRIX 6.2 and later do not support large files by default,
12008 # so use the C compiler's -n32 option if that helps.
12009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12011 #include <sys/types.h>
12012 /* Check that off_t can represent 2**63 - 1 correctly.
12013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12014 since some C++ compilers masquerading as C compilers
12015 incorrectly reject 9223372036854775807. */
12016 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12018 && LARGE_OFF_T % 2147483647 == 1)
12028 if ac_fn_c_try_compile
"$LINENO"; then :
12031 rm -f core conftest.err conftest.
$ac_objext
12033 if ac_fn_c_try_compile
"$LINENO"; then :
12034 ac_cv_sys_largefile_CC
=' -n32'; break
12036 rm -f core conftest.err conftest.
$ac_objext
12040 rm -f conftest.
$ac_ext
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12044 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12045 if test "$ac_cv_sys_largefile_CC" != no
; then
12046 CC
=$CC$ac_cv_sys_largefile_CC
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12050 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12051 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12052 $as_echo_n "(cached) " >&6
12055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #include <sys/types.h>
12058 /* Check that off_t can represent 2**63 - 1 correctly.
12059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12060 since some C++ compilers masquerading as C compilers
12061 incorrectly reject 9223372036854775807. */
12062 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12064 && LARGE_OFF_T % 2147483647 == 1)
12074 if ac_fn_c_try_compile
"$LINENO"; then :
12075 ac_cv_sys_file_offset_bits
=no
; break
12077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12080 #define _FILE_OFFSET_BITS 64
12081 #include <sys/types.h>
12082 /* Check that off_t can represent 2**63 - 1 correctly.
12083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12084 since some C++ compilers masquerading as C compilers
12085 incorrectly reject 9223372036854775807. */
12086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12088 && LARGE_OFF_T % 2147483647 == 1)
12098 if ac_fn_c_try_compile
"$LINENO"; then :
12099 ac_cv_sys_file_offset_bits
=64; break
12101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12102 ac_cv_sys_file_offset_bits
=unknown
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12107 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12108 case $ac_cv_sys_file_offset_bits in #(
12111 cat >>confdefs.h
<<_ACEOF
12112 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12117 if test $ac_cv_sys_file_offset_bits = unknown
; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12119 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12120 if ${ac_cv_sys_large_files+:} false
; then :
12121 $as_echo_n "(cached) " >&6
12124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 #include <sys/types.h>
12127 /* Check that off_t can represent 2**63 - 1 correctly.
12128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12129 since some C++ compilers masquerading as C compilers
12130 incorrectly reject 9223372036854775807. */
12131 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12133 && LARGE_OFF_T % 2147483647 == 1)
12143 if ac_fn_c_try_compile
"$LINENO"; then :
12144 ac_cv_sys_large_files
=no
; break
12146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #define _LARGE_FILES 1
12150 #include <sys/types.h>
12151 /* Check that off_t can represent 2**63 - 1 correctly.
12152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12153 since some C++ compilers masquerading as C compilers
12154 incorrectly reject 9223372036854775807. */
12155 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12157 && LARGE_OFF_T % 2147483647 == 1)
12167 if ac_fn_c_try_compile
"$LINENO"; then :
12168 ac_cv_sys_large_files
=1; break
12170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12171 ac_cv_sys_large_files
=unknown
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12176 $as_echo "$ac_cv_sys_large_files" >&6; }
12177 case $ac_cv_sys_large_files in #(
12180 cat >>confdefs.h
<<_ACEOF
12181 #define _LARGE_FILES $ac_cv_sys_large_files
12192 backtrace_supported
=yes
12194 if test -n "${with_target_subdir}"; then
12195 # We are compiling a GCC library. We can assume that the unwind
12197 BACKTRACE_FILE
="backtrace.lo simple.lo"
12199 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
12200 if test "x$ac_cv_header_unwind_h" = xyes
; then :
12201 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
12202 if test "x$ac_cv_func__Unwind_Backtrace" = xyes
; then :
12203 BACKTRACE_FILE
="backtrace.lo simple.lo"
12205 BACKTRACE_FILE
="nounwind.lo"
12206 backtrace_supported
=no
12210 BACKTRACE_FILE
="nounwind.lo"
12211 backtrace_supported
=no
12219 if test -n "${with_target_subdir}"; then
12220 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
12223 $as_echo_n "checking for -funwind-tables option... " >&6; }
12224 if ${libbacktrace_cv_c_unwind_tables+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 CFLAGS_hold
="$CFLAGS"
12228 CFLAGS
="$CFLAGS -funwind-tables"
12229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12231 static int f() { return 0; }
12240 if ac_fn_c_try_compile
"$LINENO"; then :
12241 libbacktrace_cv_c_unwind_tables
=yes
12243 libbacktrace_cv_c_unwind_tables
=no
12245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12246 CFLAGS
="$CFLAGS_hold"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
12249 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
12250 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
12251 EXTRA_FLAGS
=-funwind-tables
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
12254 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
12255 if ${libbacktrace_cv_c_random_seed_string+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 CFLAGS_hold
="$CFLAGS"
12259 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
12260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12271 if ac_fn_c_try_compile
"$LINENO"; then :
12272 libbacktrace_cv_c_random_seed_string
=yes
12274 libbacktrace_cv_c_random_seed_string
=no
12276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12277 CFLAGS
="$CFLAGS_hold"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
12280 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
12281 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
12282 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
12286 if test -n "${with_target_subdir}"; then
12287 # Add CET specific flags is Intel CET is enabled.
12288 # Check whether --enable-cet was given.
12289 if test "${enable_cet+set}" = set; then :
12290 enableval
=$enable_cet;
12291 case "$enableval" in
12293 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12302 $as_echo_n "checking for CET support... " >&6; }
12304 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
12306 i
[34567]86-*-linux* | x86_64-
*-linux*)
12307 case "$enable_cet" in
12309 # Check if target supports multi-byte NOPs
12310 # and if compiler and assembler support CET insn.
12311 cet_save_CFLAGS
="$CFLAGS"
12312 CFLAGS
="$CFLAGS -fcf-protection"
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12320 #if !defined(__SSE2__)
12321 #error target does not support multi-byte NOPs
12330 if ac_fn_c_try_compile
"$LINENO"; then :
12335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12336 CFLAGS
="$cet_save_CFLAGS"
12339 # Check if assembler supports CET.
12340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12351 if ac_fn_c_try_compile
"$LINENO"; then :
12354 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
12356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12364 if test x
$enable_cet = xyes
; then
12365 CET_FLAGS
="-fcf-protection -mshstk"
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12367 $as_echo "yes" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12373 EXTRA_FLAGS
="$EXTRA_FLAGS $CET_FLAGS"
12378 ac_cpp
='$CPP $CPPFLAGS'
12379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12384 save_CFLAGS
="$CFLAGS"
12385 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
12386 -Wmissing-prototypes -Wold-style-definition \
12387 -Wmissing-format-attribute -Wcast-qual \
12388 -Wno-attributes -Wno-unknown-attributes; do
12389 # Do the check with the no- prefix removed since gcc silently
12390 # accepts any -Wno-* option on purpose
12391 case $real_option in
12392 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12393 *) option
=$real_option ;;
12395 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12398 $as_echo_n "checking whether $CC supports $option... " >&6; }
12399 if eval \
${$as_acx_Woption+:} false
; then :
12400 $as_echo_n "(cached) " >&6
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12414 if ac_fn_c_try_compile
"$LINENO"; then :
12415 eval "$as_acx_Woption=yes"
12417 eval "$as_acx_Woption=no"
12419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12422 eval ac_res
=\$
$as_acx_Woption
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12424 $as_echo "$ac_res" >&6; }
12425 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12426 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
12429 CFLAGS
="$save_CFLAGS"
12431 ac_cpp
='$CPP $CPPFLAGS'
12432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12438 # Check whether --enable-werror was given.
12439 if test "${enable_werror+set}" = set; then :
12440 enableval
=$enable_werror;
12443 if test "x$enable_werror" != "xno" && test -n "${with_target_subdir}"; then :
12444 WARN_FLAGS
="$WARN_FLAGS -Werror"
12448 if test -n "${with_target_subdir}"; then
12451 # Check whether --with-system-libunwind was given.
12452 if test "${with_system_libunwind+set}" = set; then :
12453 withval
=$with_system_libunwind;
12456 # If system-libunwind was not specifically set, pick a default setting.
12457 if test x
$with_system_libunwind = x
; then
12459 ia64-
*-hpux*) with_system_libunwind
=yes ;;
12460 *) with_system_libunwind
=no
;;
12463 # Based on system-libunwind and target, do we have ipinfo?
12464 if test x
$with_system_libunwind = xyes
; then
12466 ia64-
*-*) have_unwind_getipinfo
=no
;;
12467 *) have_unwind_getipinfo
=yes ;;
12470 # Darwin before version 9 does not have _Unwind_GetIPInfo.
12473 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
12474 *) have_unwind_getipinfo
=yes ;;
12479 if test x
$have_unwind_getipinfo = xyes
; then
12481 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12486 ac_save_CFFLAGS
="$CFLAGS"
12487 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12489 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 #include "unwind.h"
12493 struct _Unwind_Context *context;
12494 int ip_before_insn = 0;
12498 return _Unwind_GetIPInfo (context, &ip_before_insn);
12503 if ac_fn_c_try_link
"$LINENO"; then :
12504 have_unwind_getipinfo
=yes
12506 have_unwind_getipinfo
=no
12508 rm -f core conftest.err conftest.
$ac_objext \
12509 conftest
$ac_exeext conftest.
$ac_ext
12510 CFLAGS
="$ac_save_CFLAGS"
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12512 $as_echo "$have_unwind_getipinfo" >&6; }
12513 if test "$have_unwind_getipinfo" = "yes"; then
12515 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12520 # Enable --enable-host-shared.
12521 # Check whether --enable-host-shared was given.
12522 if test "${enable_host_shared+set}" = set; then :
12523 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12530 # Enable Intel CET on Intel CET enabled host if jit is enabled.
12531 # Check whether --enable-cet was given.
12532 if test "${enable_cet+set}" = set; then :
12533 enableval
=$enable_cet;
12534 case "$enableval" in
12536 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12545 $as_echo_n "checking for CET support... " >&6; }
12548 i
[34567]86-*-linux* | x86_64-
*-linux*)
12550 cet_save_CFLAGS
="$CFLAGS"
12551 CFLAGS
="$CFLAGS -fcf-protection"
12552 case "$enable_cet" in
12554 # Check if target supports multi-byte NOPs
12555 # and if compiler and assembler support CET.
12556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12563 #if !defined(__SSE2__)
12564 #error target does not support multi-byte NOPs
12573 if ac_fn_c_try_compile
"$LINENO"; then :
12578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12581 # Check if compiler and assembler support CET.
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12593 if ac_fn_c_try_compile
"$LINENO"; then :
12598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12599 if test $support_cet = "no"; then
12600 if test x
$enable_bootstrap != xno \
12601 && test -z "${with_build_subdir}" \
12602 && (test ! -f ..
/stage_current \
12603 ||
test `cat ../stage_current` != "stage1"); then
12604 # Require CET support only for the final GCC build.
12605 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
12607 # Don't enable CET without CET support for non-bootstrap
12608 # build, in stage1 nor for build support.
12614 CFLAGS
="$cet_save_CFLAGS"
12622 cet_save_CFLAGS
="$CFLAGS"
12623 CFLAGS
="$CFLAGS -fcf-protection=none"
12624 cet_save_LDFLAGS
="$LDFLAGS"
12625 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
12626 if test x
$may_have_cet = xyes
; then
12627 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12639 if ac_fn_c_try_link
"$LINENO"; then :
12644 rm -f core conftest.err conftest.
$ac_objext \
12645 conftest
$ac_exeext conftest.
$ac_ext
12648 if test x
$may_have_cet = xyes
; then
12649 if test x
$cross_compiling = xno
; then
12650 if test "$cross_compiling" = yes; then :
12651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12653 as_fn_error $?
"cannot run test program while cross compiling
12654 See \`config.log' for more details" "$LINENO" 5; }
12656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12667 if ac_fn_c_try_run
"$LINENO"; then :
12668 have_multi_byte_nop
=yes
12670 have_multi_byte_nop
=no
12672 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12673 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12677 if test x
$have_multi_byte_nop = xyes
; then
12678 if test "$cross_compiling" = yes; then :
12679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12681 as_fn_error $?
"cannot run test program while cross compiling
12682 See \`config.log' for more details" "$LINENO" 5; }
12684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12693 __attribute__ ((noinline, noclone))
12694 xxx (void (*f) (void))
12700 __attribute__ ((noinline, noclone))
12714 if ac_fn_c_try_run
"$LINENO"; then :
12719 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12720 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12724 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
12725 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
12729 # Enable CET in cross compiler if possible so that it will run on both
12730 # CET and non-CET hosts.
12733 if test x
$enable_cet = xyes
; then
12734 CET_HOST_FLAGS
="-fcf-protection"
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12736 $as_echo "yes" >&6; }
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12739 $as_echo "no" >&6; }
12741 CFLAGS
="$cet_save_CFLAGS"
12742 LDFLAGS
="$cet_save_LDFLAGS"
12744 case x
$enable_languages in
12753 # Test for __sync support.
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12755 $as_echo_n "checking __sync extensions... " >&6; }
12756 if ${libbacktrace_cv_sys_sync+:} false
; then :
12757 $as_echo_n "(cached) " >&6
12759 if test -n "${with_target_subdir}"; then
12761 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12762 *) libbacktrace_cv_sys_sync
=yes ;;
12765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12771 __sync_bool_compare_and_swap (&i, i, i);
12772 __sync_lock_test_and_set (&i, 1);
12773 __sync_lock_release (&i);
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 libbacktrace_cv_sys_sync
=yes
12781 libbacktrace_cv_sys_sync
=no
12783 rm -f core conftest.err conftest.
$ac_objext \
12784 conftest
$ac_exeext conftest.
$ac_ext
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12788 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12789 BACKTRACE_SUPPORTS_THREADS
=0
12790 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12791 BACKTRACE_SUPPORTS_THREADS
=1
12793 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12798 # Test for __atomic support.
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12800 $as_echo_n "checking __atomic extensions... " >&6; }
12801 if ${libbacktrace_cv_sys_atomic+:} false
; then :
12802 $as_echo_n "(cached) " >&6
12804 if test -n "${with_target_subdir}"; then
12805 libbacktrace_cv_sys_atomic
=yes
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12813 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12814 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12819 if ac_fn_c_try_link
"$LINENO"; then :
12820 libbacktrace_cv_sys_atomic
=yes
12822 libbacktrace_cv_sys_atomic
=no
12824 rm -f core conftest.err conftest.
$ac_objext \
12825 conftest
$ac_exeext conftest.
$ac_ext
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12829 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12830 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12832 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12836 # The library needs to be able to read the executable itself. Compile
12837 # a file to determine the executable format. The awk script
12838 # filetype.awk prints out the file type.
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12840 $as_echo_n "checking output filetype... " >&6; }
12841 if ${libbacktrace_cv_sys_filetype+:} false
; then :
12842 $as_echo_n "(cached) " >&6
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12856 if ac_fn_c_try_compile
"$LINENO"; then :
12857 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12861 as_fn_error $?
"compiler failed
12862 See \`config.log' for more details" "$LINENO" 5; }
12864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12865 libbacktrace_cv_sys_filetype
=$filetype
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12868 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12870 # Match the file type to decide what files to compile.
12872 backtrace_supports_data
=yes
12873 case "$libbacktrace_cv_sys_filetype" in
12874 elf
*) FORMAT_FILE
="elf.lo" ;;
12875 macho
) FORMAT_FILE
="macho.lo" ;;
12876 pecoff
) FORMAT_FILE
="pecoff.lo"
12877 backtrace_supports_data
=no
12879 xcoff
*) FORMAT_FILE
="xcoff.lo"
12880 backtrace_supports_data
=no
12882 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12883 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12884 FORMAT_FILE
="unknown.lo"
12885 backtrace_supported
=no
12892 case "$libbacktrace_cv_sys_filetype" in
12893 elf32
) elfsize
=32 ;;
12894 elf64
) elfsize
=64 ;;
12898 cat >>confdefs.h
<<_ACEOF
12899 #define BACKTRACE_ELF_SIZE $elfsize
12902 if test "$FORMAT_FILE" = "elf.lo"; then
12913 case "$libbacktrace_cv_sys_filetype" in
12914 xcoff32
) xcoffsize
=32 ;;
12915 xcoff64
) xcoffsize
=64 ;;
12916 *) xcoffsize
=unused
12919 cat >>confdefs.h
<<_ACEOF
12920 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12924 BACKTRACE_SUPPORTED
=0
12925 if test "$backtrace_supported" = "yes"; then
12926 BACKTRACE_SUPPORTED
=1
12930 BACKTRACE_SUPPORTS_DATA
=0
12931 if test "$backtrace_supports_data" = "yes"; then
12932 BACKTRACE_SUPPORTS_DATA
=1
12938 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12940 acx_cv_header_stdint
=stddef.h
12941 acx_cv_header_stdint_kind
="(already complete)"
12942 for i
in stdint.h
$inttype_headers; do
12943 unset ac_cv_type_uintptr_t
12944 unset ac_cv_type_uintmax_t
12945 unset ac_cv_type_int_least32_t
12946 unset ac_cv_type_int_fast32_t
12947 unset ac_cv_type_uint64_t
12948 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12949 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12952 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
12953 acx_cv_header_stdint
=$i
12958 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12961 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12964 acx_cv_header_stdint_kind
="(mostly complete)"
12967 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12970 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
12973 acx_cv_header_stdint_kind
="(mostly complete)"
12976 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12979 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
12982 acx_cv_header_stdint_kind
="(mostly complete)"
12985 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12988 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12991 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12996 if test "$acx_cv_header_stdint" = stddef.h
; then
12997 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12998 for i
in stdint.h
$inttype_headers; do
12999 unset ac_cv_type_uintptr_t
13000 unset ac_cv_type_uint32_t
13001 unset ac_cv_type_uint64_t
13002 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
13003 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
13006 if test "x$ac_cv_type_uint32_t" = xyes
; then :
13007 acx_cv_header_stdint
=$i
13012 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
13015 if test "x$ac_cv_type_uint64_t" = xyes
; then :
13019 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
13022 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
13029 if test "$acx_cv_header_stdint" = stddef.h
; then
13030 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13031 for i
in sys
/types.h
$inttype_headers; do
13032 unset ac_cv_type_u_int32_t
13033 unset ac_cv_type_u_int64_t
13034 $as_echo_n "looking for u_intXX_t types in $i, " >&6
13035 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
13038 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
13039 acx_cv_header_stdint
=$i
13044 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
13047 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
13054 if test "$acx_cv_header_stdint" = stddef.h
; then
13055 acx_cv_header_stdint_kind
="(using manual detection)"
13058 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13059 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13060 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13061 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13062 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13064 # ----------------- Summarize what we found so far
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
13067 $as_echo_n "checking what to include in gstdint.h... " >&6; }
13069 case `$as_basename -- gstdint.h ||
13070 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
13071 Xgstdint.h : 'X\(//\)$' \| \
13072 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
13073 $as_echo X/gstdint.h |
13074 sed '/^.*\/\([^/][^/]*\)\/*$/{
13087 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13088 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13089 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13090 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13095 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
13097 # ----------------- done included file, check C basic types --------
13099 # Lacking an uintptr_t? Test size of void *
13100 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13101 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
13102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13104 # This bug is HP SR number 8606223364.
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13106 $as_echo_n "checking size of void *... " >&6; }
13107 if ${ac_cv_sizeof_void_p+:} false
; then :
13108 $as_echo_n "(cached) " >&6
13110 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13113 if test "$ac_cv_type_void_p" = yes; then
13114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13116 as_fn_error
77 "cannot compute sizeof (void *)
13117 See \`config.log' for more details" "$LINENO" 5; }
13119 ac_cv_sizeof_void_p
=0
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13125 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13129 cat >>confdefs.h
<<_ACEOF
13130 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13136 # Lacking an uint64_t? Test size of long
13137 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13138 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
13139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13141 # This bug is HP SR number 8606223364.
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13143 $as_echo_n "checking size of long... " >&6; }
13144 if ${ac_cv_sizeof_long+:} false
; then :
13145 $as_echo_n "(cached) " >&6
13147 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13150 if test "$ac_cv_type_long" = yes; then
13151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13153 as_fn_error
77 "cannot compute sizeof (long)
13154 See \`config.log' for more details" "$LINENO" 5; }
13156 ac_cv_sizeof_long
=0
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13162 $as_echo "$ac_cv_sizeof_long" >&6; }
13166 cat >>confdefs.h
<<_ACEOF
13167 #define SIZEOF_LONG $ac_cv_sizeof_long
13173 if test $acx_cv_header_stdint = stddef.h
; then
13174 # Lacking a good header? Test size of everything and deduce all types.
13175 # The cast to long int works around a bug in the HP C Compiler
13176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13178 # This bug is HP SR number 8606223364.
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13180 $as_echo_n "checking size of int... " >&6; }
13181 if ${ac_cv_sizeof_int+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13184 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13187 if test "$ac_cv_type_int" = yes; then
13188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13190 as_fn_error
77 "cannot compute sizeof (int)
13191 See \`config.log' for more details" "$LINENO" 5; }
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13199 $as_echo "$ac_cv_sizeof_int" >&6; }
13203 cat >>confdefs.h
<<_ACEOF
13204 #define SIZEOF_INT $ac_cv_sizeof_int
13208 # The cast to long int works around a bug in the HP C Compiler
13209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13211 # This bug is HP SR number 8606223364.
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13213 $as_echo_n "checking size of short... " >&6; }
13214 if ${ac_cv_sizeof_short+:} false
; then :
13215 $as_echo_n "(cached) " >&6
13217 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13220 if test "$ac_cv_type_short" = yes; then
13221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13223 as_fn_error
77 "cannot compute sizeof (short)
13224 See \`config.log' for more details" "$LINENO" 5; }
13226 ac_cv_sizeof_short
=0
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13232 $as_echo "$ac_cv_sizeof_short" >&6; }
13236 cat >>confdefs.h
<<_ACEOF
13237 #define SIZEOF_SHORT $ac_cv_sizeof_short
13241 # The cast to long int works around a bug in the HP C Compiler
13242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13244 # This bug is HP SR number 8606223364.
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13246 $as_echo_n "checking size of char... " >&6; }
13247 if ${ac_cv_sizeof_char+:} false
; then :
13248 $as_echo_n "(cached) " >&6
13250 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13253 if test "$ac_cv_type_char" = yes; then
13254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13256 as_fn_error
77 "cannot compute sizeof (char)
13257 See \`config.log' for more details" "$LINENO" 5; }
13259 ac_cv_sizeof_char
=0
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13265 $as_echo "$ac_cv_sizeof_char" >&6; }
13269 cat >>confdefs.h
<<_ACEOF
13270 #define SIZEOF_CHAR $ac_cv_sizeof_char
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
13276 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
13277 case "$ac_cv_sizeof_char" in
13278 1) acx_cv_type_int8_t
=char
;;
13279 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
13282 $as_echo "$acx_cv_type_int8_t" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
13285 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
13286 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13287 2:*) acx_cv_type_int16_t
=int
;;
13288 *:2) acx_cv_type_int16_t
=short
;;
13289 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
13292 $as_echo "$acx_cv_type_int16_t" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
13295 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
13296 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13297 4:*) acx_cv_type_int32_t
=int
;;
13298 *:4) acx_cv_type_int32_t
=long
;;
13299 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
13302 $as_echo "$acx_cv_type_int32_t" >&6; }
13305 # These tests are here to make the output prettier
13307 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13308 case "$ac_cv_sizeof_long" in
13309 8) acx_cv_type_int64_t
=long
;;
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
13312 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13314 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
13317 # Now we can use the above types
13319 if test "$ac_cv_type_uintptr_t" != yes; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
13321 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
13322 case $ac_cv_sizeof_void_p in
13323 2) acx_cv_type_intptr_t
=int16_t
;;
13324 4) acx_cv_type_intptr_t
=int32_t
;;
13325 8) acx_cv_type_intptr_t
=int64_t
;;
13326 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
13329 $as_echo "$acx_cv_type_intptr_t" >&6; }
13332 # ----------------- done all checks, emit header -------------
13333 ac_config_commands
="$ac_config_commands gstdint.h"
13338 for ac_header
in sys
/mman.h
13340 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13341 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
13342 cat >>confdefs.h
<<_ACEOF
13343 #define HAVE_SYS_MMAN_H 1
13350 if test "$ac_cv_header_sys_mman_h" = "no"; then
13353 if test -n "${with_target_subdir}"; then
13354 # When built as a GCC target library, we can't do a link test. We
13355 # simply assume that if we have mman.h, we have mmap.
13359 # DJGPP has sys/man.h, but no mmap
13363 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
13364 if test "x$ac_cv_func_mmap" = xyes
; then :
13372 if test "$have_mmap" = "no"; then
13374 ALLOC_FILE
=alloc.lo
13376 VIEW_FILE
=mmapio.lo
13377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 #include <sys/mman.h>
13381 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
13382 #error no MAP_ANONYMOUS
13386 if ac_fn_c_try_cpp
"$LINENO"; then :
13389 ALLOC_FILE
=alloc.lo
13391 rm -f conftest.err conftest.i conftest.
$ac_ext
13396 BACKTRACE_USES_MALLOC
=0
13397 if test "$ALLOC_FILE" = "alloc.lo"; then
13398 BACKTRACE_USES_MALLOC
=1
13402 # Check for dl_iterate_phdr.
13403 for ac_header
in link.h sys
/link.h
13405 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13407 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13408 cat >>confdefs.h
<<_ACEOF
13409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13416 if test "$ac_cv_header_link_h" = "no" -a "$ac_cv_header_sys_link_h" = "no"; then
13417 have_dl_iterate_phdr
=no
13419 if test -n "${with_target_subdir}"; then
13421 if test "$ac_cv_header_link_h" = "no"; then
13424 # When built as a GCC target library, we can't do a link test.
13425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13426 /* end confdefs.h. */
13430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13431 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
13432 have_dl_iterate_phdr
=yes
13434 have_dl_iterate_phdr
=no
13439 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
13440 if test "x$ac_cv_func_dl_iterate_phdr" = xyes
; then :
13441 have_dl_iterate_phdr
=yes
13443 have_dl_iterate_phdr
=no
13448 if test "$have_dl_iterate_phdr" = "yes"; then
13450 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
13454 # Check for header file for Mach-O image functions.
13455 for ac_header
in mach-o
/dyld.h
13457 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
13458 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
13459 cat >>confdefs.h
<<_ACEOF
13460 #define HAVE_MACH_O_DYLD_H 1
13468 # Check for loadquery.
13469 for ac_header
in sys
/ldr.h
13471 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
13472 if test "x$ac_cv_header_sys_ldr_h" = xyes
; then :
13473 cat >>confdefs.h
<<_ACEOF
13474 #define HAVE_SYS_LDR_H 1
13481 if test "$ac_cv_header_sys_ldr_h" = "no"; then
13484 if test -n "${with_target_subdir}"; then
13485 # When built as a GCC target library, we can't do a link test.
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <sys/ldr.h>
13491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13492 $EGREP "loadquery" >/dev
/null
2>&1; then :
13500 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
13501 if test "x$ac_cv_func_loadquery" = xyes
; then :
13509 if test "$have_loadquery" = "yes"; then
13511 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
13515 for ac_header
in windows.h
13517 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_windows_h" = xyes
; then :
13519 cat >>confdefs.h
<<_ACEOF
13520 #define HAVE_WINDOWS_H 1
13527 for ac_header
in tlhelp32.h
13529 ac_fn_c_check_header_compile
"$LINENO" "tlhelp32.h" "ac_cv_header_tlhelp32_h" "#ifdef HAVE_WINDOWS_H
13530 # include <windows.h>
13533 if test "x$ac_cv_header_tlhelp32_h" = xyes
; then :
13534 cat >>confdefs.h
<<_ACEOF
13535 #define HAVE_TLHELP32_H 1
13543 # Check for the fcntl function.
13544 if test -n "${with_target_subdir}"; then
13546 *-*-mingw*) have_fcntl
=no
;;
13547 *) have_fcntl
=yes ;;
13550 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
13551 if test "x$ac_cv_func_fcntl" = xyes
; then :
13558 if test "$have_fcntl" = "yes"; then
13560 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
13564 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13565 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
13571 cat >>confdefs.h
<<_ACEOF
13572 #define HAVE_DECL_STRNLEN $ac_have_decl
13574 ac_fn_c_check_decl
"$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
13575 if test "x$ac_cv_have_decl_getpagesize" = xyes
; then :
13581 cat >>confdefs.h
<<_ACEOF
13582 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
13585 for ac_func
in lstat readlink
13587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13589 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13590 cat >>confdefs.h
<<_ACEOF
13591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13598 # Check for getexecname function.
13599 if test -n "${with_target_subdir}"; then
13601 *-*-solaris2*) have_getexecname
=yes ;;
13602 *) have_getexecname
=no
;;
13605 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
13606 if test "x$ac_cv_func_getexecname" = xyes
; then :
13607 have_getexecname
=yes
13609 have_getexecname
=no
13613 if test "$have_getexecname" = "yes"; then
13615 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
13619 # Check for _pgmptr variable, contains the executable filename on windows
13620 ac_fn_c_check_decl
"$LINENO" "_pgmptr" "ac_cv_have_decl__pgmptr" "$ac_includes_default"
13621 if test "x$ac_cv_have_decl__pgmptr" = xyes
; then :
13627 cat >>confdefs.h
<<_ACEOF
13628 #define HAVE_DECL__PGMPTR $ac_have_decl
13632 # Check for sysctl definitions.
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
13635 $as_echo_n "checking for KERN_PROC... " >&6; }
13636 if ${libbacktrace_cv_proc+:} false
; then :
13637 $as_echo_n "(cached) " >&6
13639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 #include <sys/types.h>
13643 #include <sys/sysctl.h>
13648 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
13653 if ac_fn_c_try_compile
"$LINENO"; then :
13654 libbacktrace_cv_proc
=yes
13656 libbacktrace_cv_proc
=no
13658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
13661 $as_echo "$libbacktrace_cv_proc" >&6; }
13662 if test "$libbacktrace_cv_proc" = "yes"; then
13664 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
13669 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
13670 if ${libbacktrace_cv_procargs+:} false
; then :
13671 $as_echo_n "(cached) " >&6
13673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13676 #include <sys/types.h>
13677 #include <sys/sysctl.h>
13682 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
13687 if ac_fn_c_try_compile
"$LINENO"; then :
13688 libbacktrace_cv_procargs
=yes
13690 libbacktrace_cv_procargs
=no
13692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
13695 $as_echo "$libbacktrace_cv_procargs" >&6; }
13696 if test "$libbacktrace_cv_procargs" = "yes"; then
13698 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
13702 # Check for the clock_gettime function.
13703 for ac_func
in clock_gettime
13705 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13706 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13707 cat >>confdefs.h
<<_ACEOF
13708 #define HAVE_CLOCK_GETTIME 1
13714 clock_gettime_link
=
13715 # At least for glibc, clock_gettime is in librt. But don't
13716 # pull that in if it still doesn't give us the function we want. This
13717 # test is copied from libgomp, and modified to not link in -lrt as
13718 # we're using this for test timing only.
13719 if test "$ac_cv_func_clock_gettime" = no
; then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13721 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13722 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
13723 $as_echo_n "(cached) " >&6
13725 ac_check_lib_save_LIBS
=$LIBS
13727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13736 char clock_gettime ();
13740 return clock_gettime ();
13745 if ac_fn_c_try_link
"$LINENO"; then :
13746 ac_cv_lib_rt_clock_gettime
=yes
13748 ac_cv_lib_rt_clock_gettime
=no
13750 rm -f core conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13752 LIBS
=$ac_check_lib_save_LIBS
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13755 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13756 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
13757 CLOCK_GETTIME_LINK
=-lrt
13759 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13767 $as_echo_n "checking whether -pthread is supported... " >&6; }
13768 if ${libgo_cv_lib_pthread+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 CFLAGS_hold
=$CFLAGS
13772 CFLAGS
="$CFLAGS -pthread"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13777 if ac_fn_c_try_compile
"$LINENO"; then :
13778 libgo_cv_lib_pthread
=yes
13780 libgo_cv_lib_pthread
=no
13782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13783 CFLAGS
=$CFLAGS_hold
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13786 $as_echo "$libgo_cv_lib_pthread" >&6; }
13788 if test "$libgo_cv_lib_pthread" = yes; then
13789 PTHREAD_CFLAGS
=-pthread
13793 if test "$libgo_cv_lib_pthread" = yes; then
13795 HAVE_PTHREAD_FALSE
='#'
13797 HAVE_PTHREAD_TRUE
='#'
13798 HAVE_PTHREAD_FALSE
=
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
13803 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
13804 if ${libbacktrace_cv_lib_dwarf5+:} false
; then :
13805 $as_echo_n "(cached) " >&6
13807 CFLAGS_hold
=$CFLAGS
13808 CFLAGS
="$CFLAGS -gdwarf-5"
13809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13820 if ac_fn_c_try_link
"$LINENO"; then :
13821 libbacktrace_cv_lib_dwarf5
=yes
13823 libbacktrace_cv_lib_dwarf5
=no
13825 rm -f core conftest.err conftest.
$ac_objext \
13826 conftest
$ac_exeext conftest.
$ac_ext
13827 CFLAGS
=$CFLAGS_hold
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
13830 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
13831 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
13833 HAVE_DWARF5_FALSE
='#'
13835 HAVE_DWARF5_TRUE
='#'
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
13841 $as_echo_n "checking for compress in -lz... " >&6; }
13842 if ${ac_cv_lib_z_compress+:} false
; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_check_lib_save_LIBS
=$LIBS
13847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13860 return compress ();
13865 if ac_fn_c_try_link
"$LINENO"; then :
13866 ac_cv_lib_z_compress
=yes
13868 ac_cv_lib_z_compress
=no
13870 rm -f core conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 LIBS
=$ac_check_lib_save_LIBS
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
13875 $as_echo "$ac_cv_lib_z_compress" >&6; }
13876 if test "x$ac_cv_lib_z_compress" = xyes
; then :
13878 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13882 if test "$ac_cv_lib_z_compress" = yes; then
13884 HAVE_ZLIB_FALSE
='#'
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --build-id is supported" >&5
13892 $as_echo_n "checking whether --build-id is supported... " >&6; }
13893 if ${libbacktrace_cv_ld_buildid+:} false
; then :
13894 $as_echo_n "(cached) " >&6
13896 LDFLAGS_hold
=$LDFLAGS
13897 LDFLAGS
="$LDFLAGS -Wl,--build-id"
13898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13909 if ac_fn_c_try_link
"$LINENO"; then :
13910 libbacktrace_cv_ld_buildid
=yes
13912 libbacktrace_cv_ld_buildid
=no
13914 rm -f core conftest.err conftest.
$ac_objext \
13915 conftest
$ac_exeext conftest.
$ac_ext
13916 LDFLAGS
=$LDFLAGS_hold
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_ld_buildid" >&5
13919 $as_echo "$libbacktrace_cv_ld_buildid" >&6; }
13920 if test "$libbacktrace_cv_ld_buildid" = yes; then
13922 HAVE_BUILDID_FALSE
='#'
13924 HAVE_BUILDID_TRUE
='#'
13925 HAVE_BUILDID_FALSE
=
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zlib-gnu is supported" >&5
13930 $as_echo_n "checking whether --compress-debug-sections=zlib-gnu is supported... " >&6; }
13931 if ${libgo_cv_ld_compress_zlib_gnu+:} false
; then :
13932 $as_echo_n "(cached) " >&6
13934 LDFLAGS_hold
=$LDFLAGS
13935 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13947 if ac_fn_c_try_link
"$LINENO"; then :
13948 libgo_cv_ld_compress_zlib_gnu
=yes
13950 libgo_cv_ld_compress_zlib_gnu
=no
13952 rm -f core conftest.err conftest.
$ac_objext \
13953 conftest
$ac_exeext conftest.
$ac_ext
13954 LDFLAGS
=$LDFLAGS_hold
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zlib_gnu" >&5
13957 $as_echo "$libgo_cv_ld_compress_zlib_gnu" >&6; }
13958 if test "$libgo_cv_ld_compress_zlib_gnu" = yes; then
13959 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE
=
13960 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE
='#'
13962 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE
='#'
13963 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE
=
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zlib-gabi is supported" >&5
13968 $as_echo_n "checking whether --compress-debug-sections=zlib-gabi is supported... " >&6; }
13969 if ${libgo_cv_ld_compress_zlib_gabi+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 LDFLAGS_hold
=$LDFLAGS
13973 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gabi"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 libgo_cv_ld_compress_zlib_gabi
=yes
13988 libgo_cv_ld_compress_zlib_gabi
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 LDFLAGS
=$LDFLAGS_hold
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zlib_gabi" >&5
13995 $as_echo "$libgo_cv_ld_compress_zlib_gabi" >&6; }
13996 if test "$libgo_cv_ld_compress_zlib_gabi" = yes; then
13997 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE
=
13998 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE
='#'
14000 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE
='#'
14001 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE
=
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZSTD_compress in -lzstd" >&5
14006 $as_echo_n "checking for ZSTD_compress in -lzstd... " >&6; }
14007 if ${ac_cv_lib_zstd_ZSTD_compress+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 ac_check_lib_save_LIBS
=$LIBS
14011 LIBS
="-lzstd $LIBS"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14015 /* Override any GCC internal prototype to avoid an error.
14016 Use char because int might match the return type of a GCC
14017 builtin and then its argument prototype would still apply. */
14021 char ZSTD_compress ();
14025 return ZSTD_compress ();
14030 if ac_fn_c_try_link
"$LINENO"; then :
14031 ac_cv_lib_zstd_ZSTD_compress
=yes
14033 ac_cv_lib_zstd_ZSTD_compress
=no
14035 rm -f core conftest.err conftest.
$ac_objext \
14036 conftest
$ac_exeext conftest.
$ac_ext
14037 LIBS
=$ac_check_lib_save_LIBS
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_compress" >&5
14040 $as_echo "$ac_cv_lib_zstd_ZSTD_compress" >&6; }
14041 if test "x$ac_cv_lib_zstd_ZSTD_compress" = xyes
; then :
14043 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
14047 if test "$ac_cv_lib_zstd_ZSTD_compress" = yes; then
14049 HAVE_ZSTD_FALSE
='#'
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zstd is supported" >&5
14057 $as_echo_n "checking whether --compress-debug-sections=zstd is supported... " >&6; }
14058 if ${libgo_cv_ld_compress_zstd+:} false
; then :
14059 $as_echo_n "(cached) " >&6
14061 LDFLAGS_hold
=$LDFLAGS
14062 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zstd"
14063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14074 if ac_fn_c_try_link
"$LINENO"; then :
14075 libgo_cv_ld_compress_zstd
=yes
14077 libgo_cv_ld_compress_zstd
=no
14079 rm -f core conftest.err conftest.
$ac_objext \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 LDFLAGS
=$LDFLAGS_hold
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zstd" >&5
14084 $as_echo "$libgo_cv_ld_compress_zstd" >&6; }
14085 if test "$libgo_cv_ld_compress_zstd" = yes; then
14086 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
=
14087 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
='#'
14089 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
='#'
14090 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
=
14095 # Extract the first word of "objcopy", so it can be a program name with args.
14096 set dummy objcopy
; ac_word
=$2
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14098 $as_echo_n "checking for $ac_word... " >&6; }
14099 if ${ac_cv_prog_OBJCOPY+:} false
; then :
14100 $as_echo_n "(cached) " >&6
14102 if test -n "$OBJCOPY"; then
14103 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
14105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14106 for as_dir
in $PATH
14109 test -z "$as_dir" && as_dir
=.
14110 for ac_exec_ext
in '' $ac_executable_extensions; do
14111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14112 ac_cv_prog_OBJCOPY
="objcopy"
14113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14122 OBJCOPY
=$ac_cv_prog_OBJCOPY
14123 if test -n "$OBJCOPY"; then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14125 $as_echo "$OBJCOPY" >&6; }
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14128 $as_echo "no" >&6; }
14132 # Extract the first word of "readelf", so it can be a program name with args.
14133 set dummy readelf
; ac_word
=$2
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14135 $as_echo_n "checking for $ac_word... " >&6; }
14136 if ${ac_cv_prog_READELF+:} false
; then :
14137 $as_echo_n "(cached) " >&6
14139 if test -n "$READELF"; then
14140 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
14142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14143 for as_dir
in $PATH
14146 test -z "$as_dir" && as_dir
=.
14147 for ac_exec_ext
in '' $ac_executable_extensions; do
14148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14149 ac_cv_prog_READELF
="readelf"
14150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 READELF
=$ac_cv_prog_READELF
14160 if test -n "$READELF"; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
14162 $as_echo "$READELF" >&6; }
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165 $as_echo "no" >&6; }
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
14170 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
14171 if ${libbacktrace_cv_objcopy_debuglink+:} false
; then :
14172 $as_echo_n "(cached) " >&6
14174 if test -n "${with_target_subdir}"; then
14175 libbacktrace_cv_objcopy_debuglink
=no
14176 elif ! test -n "${OBJCOPY}"; then
14177 libbacktrace_cv_objcopy_debuglink
=no
14178 elif ${OBJCOPY} --help |
grep add-gnu-debuglink
>/dev
/null
2>&1; then
14179 libbacktrace_cv_objcopy_debuglink
=yes
14181 libbacktrace_cv_objcopy_debuglink
=no
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
14185 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
14186 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
14187 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
14188 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
14190 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
14191 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
14196 # Extract the first word of "dsymutil", so it can be a program name with args.
14197 set dummy dsymutil
; ac_word
=$2
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14199 $as_echo_n "checking for $ac_word... " >&6; }
14200 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
14201 $as_echo_n "(cached) " >&6
14203 if test -n "$DSYMUTIL"; then
14204 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
14206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14207 for as_dir
in $PATH
14210 test -z "$as_dir" && as_dir
=.
14211 for ac_exec_ext
in '' $ac_executable_extensions; do
14212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14213 ac_cv_prog_DSYMUTIL
="dsymutil"
14214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14223 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
14224 if test -n "$DSYMUTIL"; then
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
14226 $as_echo "$DSYMUTIL" >&6; }
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14229 $as_echo "no" >&6; }
14233 if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
14235 USE_DSYMUTIL_FALSE
='#'
14237 USE_DSYMUTIL_TRUE
='#'
14238 USE_DSYMUTIL_FALSE
=
14243 # Extract the first word of "nm", so it can be a program name with args.
14244 set dummy nm
; ac_word
=$2
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14246 $as_echo_n "checking for $ac_word... " >&6; }
14247 if ${ac_cv_prog_NM+:} false
; then :
14248 $as_echo_n "(cached) " >&6
14250 if test -n "$NM"; then
14251 ac_cv_prog_NM
="$NM" # Let the user override the test.
14253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14254 for as_dir
in $PATH
14257 test -z "$as_dir" && as_dir
=.
14258 for ac_exec_ext
in '' $ac_executable_extensions; do
14259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 if test -n "$NM"; then
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14273 $as_echo "$NM" >&6; }
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14276 $as_echo "no" >&6; }
14281 # Extract the first word of "xz", so it can be a program name with args.
14282 set dummy xz
; ac_word
=$2
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14284 $as_echo_n "checking for $ac_word... " >&6; }
14285 if ${ac_cv_prog_XZ+:} false
; then :
14286 $as_echo_n "(cached) " >&6
14288 if test -n "$XZ"; then
14289 ac_cv_prog_XZ
="$XZ" # Let the user override the test.
14291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14292 for as_dir
in $PATH
14295 test -z "$as_dir" && as_dir
=.
14296 for ac_exec_ext
in '' $ac_executable_extensions; do
14297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 if test -n "$XZ"; then
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
14311 $as_echo "$XZ" >&6; }
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14314 $as_echo "no" >&6; }
14318 if test "$XZ" != ""; then
14326 # Extract the first word of "comm", so it can be a program name with args.
14327 set dummy
comm; ac_word
=$2
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14329 $as_echo_n "checking for $ac_word... " >&6; }
14330 if ${ac_cv_prog_COMM+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 if test -n "$COMM"; then
14334 ac_cv_prog_COMM
="$COMM" # Let the user override the test.
14336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14337 for as_dir
in $PATH
14340 test -z "$as_dir" && as_dir
=.
14341 for ac_exec_ext
in '' $ac_executable_extensions; do
14342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14343 ac_cv_prog_COMM
="comm"
14344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14353 COMM
=$ac_cv_prog_COMM
14354 if test -n "$COMM"; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
14356 $as_echo "$COMM" >&6; }
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14363 if test "$COMM" != ""; then
14365 HAVE_COMM_FALSE
='#'
14372 if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
14373 HAVE_MINIDEBUG_TRUE
=
14374 HAVE_MINIDEBUG_FALSE
='#'
14376 HAVE_MINIDEBUG_TRUE
='#'
14377 HAVE_MINIDEBUG_FALSE
=
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
14382 $as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
14383 if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 ac_check_lib_save_LIBS
=$LIBS
14387 LIBS
="-llzma $LIBS"
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14391 /* Override any GCC internal prototype to avoid an error.
14392 Use char because int might match the return type of a GCC
14393 builtin and then its argument prototype would still apply. */
14397 char lzma_auto_decoder ();
14401 return lzma_auto_decoder ();
14406 if ac_fn_c_try_link
"$LINENO"; then :
14407 ac_cv_lib_lzma_lzma_auto_decoder
=yes
14409 ac_cv_lib_lzma_lzma_auto_decoder
=no
14411 rm -f core conftest.err conftest.
$ac_objext \
14412 conftest
$ac_exeext conftest.
$ac_ext
14413 LIBS
=$ac_check_lib_save_LIBS
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
14416 $as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
14417 if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes
; then :
14419 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
14423 if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
14425 HAVE_LIBLZMA_FALSE
='#'
14427 HAVE_LIBLZMA_TRUE
='#'
14428 HAVE_LIBLZMA_FALSE
=
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
14433 $as_echo_n "checking whether tests can run... " >&6; }
14434 if ${libbacktrace_cv_sys_native+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 if test "$cross_compiling" = yes; then :
14438 libbacktrace_cv_sys_native
=no
14440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14451 if ac_fn_c_try_run
"$LINENO"; then :
14452 libbacktrace_cv_sys_native
=yes
14454 libbacktrace_cv_sys_native
=no
14456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
14462 $as_echo "$libbacktrace_cv_sys_native" >&6; }
14463 if test "$libbacktrace_cv_sys_native" = "yes"; then
14472 if test "${multilib}" = "yes"; then
14473 multilib_arg
="--enable-multilib"
14478 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
14480 ac_config_files
="$ac_config_files install-debuginfo-for-buildid.sh"
14483 # We need multilib support, but only if configuring for the target.
14484 ac_config_commands
="$ac_config_commands default"
14487 cat >confcache
<<\_ACEOF
14488 # This file is a shell script that caches the results of configure
14489 # tests run on this system so they can be shared between configure
14490 # scripts and configure runs, see configure's option --config-cache.
14491 # It is not useful on other systems. If it contains results you don't
14492 # want to keep, you may remove or edit it.
14494 # config.status only pays attention to the cache file if you give it
14495 # the --recheck option to rerun configure.
14497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14499 # following values.
14503 # The following way of writing the cache mishandles newlines in values,
14504 # but we know of no workaround that is simple, portable, and efficient.
14505 # So, we kill variables containing newlines.
14506 # Ultrix sh set writes to stderr and can't be redirected directly,
14507 # and sets the high bit in the cache file unless we assign to the vars.
14509 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14510 eval ac_val
=\$
$ac_var
14514 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14518 _ | IFS | as_nl
) ;; #(
14519 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14520 *) { eval $ac_var=; unset $ac_var;} ;;
14526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14527 *${as_nl}ac_space
=\
*)
14528 # `set' does not quote correctly, so add quotes: double-quote
14529 # substitution turns \\\\ into \\, and sed turns \\ into \.
14532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14535 # `set' quotes correctly as required by POSIX, so do not add quotes.
14536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14549 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14550 if test -w "$cache_file"; then
14551 if test "x$cache_file" != "x/dev/null"; then
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14553 $as_echo "$as_me: updating cache $cache_file" >&6;}
14554 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14555 cat confcache
>"$cache_file"
14557 case $cache_file in #(
14559 mv -f confcache
"$cache_file"$$
&&
14560 mv -f "$cache_file"$$
"$cache_file" ;; #(
14562 mv -f confcache
"$cache_file" ;;
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14574 # Let make expand exec_prefix.
14575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14577 DEFS
=-DHAVE_CONFIG_H
14582 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14583 # 1. Remove the extension, and $U if already installed.
14584 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14585 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14587 # will be set to the directory where LIBOBJS objects are built.
14588 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14589 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14591 LIBOBJS
=$ac_libobjs
14593 LTLIBOBJS
=$ac_ltlibobjs
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14597 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14598 if test -n "$am_sleep_pid"; then
14599 # Hide warnings about reused PIDs.
14600 wait $am_sleep_pid 2>/dev
/null
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14603 $as_echo "done" >&6; }
14604 if test -n "$EXEEXT"; then
14606 am__EXEEXT_FALSE
='#'
14608 am__EXEEXT_TRUE
='#'
14612 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14613 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14616 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
14617 as_fn_error $?
"conditional \"HAVE_DWZ\" was never defined.
14618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14620 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
14621 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
14622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14624 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
14625 as_fn_error $?
"conditional \"HAVE_ELF\" was never defined.
14626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14628 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
14629 as_fn_error $?
"conditional \"HAVE_PTHREAD\" was never defined.
14630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14632 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
14633 as_fn_error $?
"conditional \"HAVE_DWARF5\" was never defined.
14634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14636 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
14637 as_fn_error $?
"conditional \"HAVE_ZLIB\" was never defined.
14638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14640 if test -z "${HAVE_BUILDID_TRUE}" && test -z "${HAVE_BUILDID_FALSE}"; then
14641 as_fn_error $?
"conditional \"HAVE_BUILDID\" was never defined.
14642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14644 if test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE}"; then
14645 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZLIB_GNU\" was never defined.
14646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14648 if test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE}"; then
14649 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZLIB_GABI\" was never defined.
14650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14652 if test -z "${HAVE_ZSTD_TRUE}" && test -z "${HAVE_ZSTD_FALSE}"; then
14653 as_fn_error $?
"conditional \"HAVE_ZSTD\" was never defined.
14654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14656 if test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_FALSE}"; then
14657 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZSTD\" was never defined.
14658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
14661 as_fn_error $?
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
14662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664 if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
14665 as_fn_error $?
"conditional \"USE_DSYMUTIL\" was never defined.
14666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
14669 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
14670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672 if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
14673 as_fn_error $?
"conditional \"HAVE_COMM\" was never defined.
14674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676 if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
14677 as_fn_error $?
"conditional \"HAVE_MINIDEBUG\" was never defined.
14678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14680 if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
14681 as_fn_error $?
"conditional \"HAVE_LIBLZMA\" was never defined.
14682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14684 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
14685 as_fn_error $?
"conditional \"NATIVE\" was never defined.
14686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14689 : "${CONFIG_STATUS=./config.status}"
14691 ac_clean_files_save
=$ac_clean_files
14692 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14694 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14696 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14698 # Generated by $as_me.
14699 # Run this file to recreate the current configuration.
14700 # Compiler output produced by configure, useful for debugging
14701 # configure, is in config.log if it exists.
14704 ac_cs_recheck=false
14707 SHELL=\${CONFIG_SHELL-$SHELL}
14710 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14711 ## -------------------- ##
14712 ## M4sh Initialization. ##
14713 ## -------------------- ##
14715 # Be more Bourne compatible
14716 DUALCASE
=1; export DUALCASE
# for MKS sh
14717 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14720 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14721 # is contrary to our usage. Disable this feature.
14722 alias -g '${1+"$@"}'='"$@"'
14723 setopt NO_GLOB_SUBST
14725 case `(set -o) 2>/dev/null` in #(
14737 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14738 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14739 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14740 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14741 # Prefer a ksh shell builtin over an external printf program on Solaris,
14742 # but without wasting forks for bash or zsh.
14743 if test -z "$BASH_VERSION$ZSH_VERSION" \
14744 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14745 as_echo='print
-r --'
14746 as_echo_n='print
-rn --'
14747 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14748 as_echo='printf %s
\n'
14749 as_echo_n='printf %s
'
14751 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14752 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14753 as_echo_n='/usr
/ucb
/echo -n'
14755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14756 as_echo_n_body='eval
14760 expr "X$arg" : "X\\(.*\\)$as_nl";
14761 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14763 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14765 export as_echo_n_body
14766 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14768 export as_echo_body
14769 as_echo='sh
-c $as_echo_body as_echo
'
14772 # The user is always right.
14773 if test "${PATH_SEPARATOR+set}" != set; then
14775 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14776 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14783 # We need space, tab and new line, in precisely that order. Quoting is
14784 # there to prevent editors from complaining about space-tab.
14785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14786 # splitting by setting IFS to empty value.)
14789 # Find who we are. Look in the path if we contain no directory separator.
14792 *[\\/]* ) as_myself=$0 ;;
14793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14794 for as_dir in $PATH
14797 test -z "$as_dir" && as_dir=.
14798 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14804 # We did not find ourselves, most probably we were run as `sh COMMAND'
14805 # in which case we are not to be found in the path.
14806 if test "x$as_myself" = x
; then
14809 if test ! -f "$as_myself"; then
14810 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14814 # Unset variables that we do not need and which cause bugs (e.g. in
14815 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14816 # suppresses any "Segmentation fault" message there. '((' could
14817 # trigger a bug in pdksh 5.2.14.
14818 for as_var
in BASH_ENV ENV MAIL MAILPATH
14819 do eval test x\
${$as_var+set} = xset \
14820 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14833 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14836 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14837 # ----------------------------------------
14838 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14839 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14840 # script with STATUS, using 1 if that was 0.
14843 as_status
=$1; test $as_status -eq 0 && as_status
=1
14845 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14846 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14848 $as_echo "$as_me: error: $2" >&2
14849 as_fn_exit
$as_status
14853 # as_fn_set_status STATUS
14854 # -----------------------
14855 # Set $? to STATUS, without forking.
14856 as_fn_set_status
()
14859 } # as_fn_set_status
14861 # as_fn_exit STATUS
14862 # -----------------
14863 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14867 as_fn_set_status
$1
14873 # Portably unset VAR.
14876 { eval $1=; unset $1;}
14878 as_unset
=as_fn_unset
14879 # as_fn_append VAR VALUE
14880 # ----------------------
14881 # Append the text in VALUE to the end of the definition contained in VAR. Take
14882 # advantage of any shell optimizations that allow amortized linear growth over
14883 # repeated appends, instead of the typical quadratic growth present in naive
14885 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14886 eval 'as_fn_append ()
14897 # as_fn_arith ARG...
14898 # ------------------
14899 # Perform arithmetic evaluation on the ARGs, and store the result in the
14900 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14901 # must be portable across $(()) and expr.
14902 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14903 eval 'as_fn_arith ()
14910 as_val
=`expr "$@" || test $? -eq 1`
14915 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14916 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14922 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14923 as_basename
=basename
14928 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14934 as_me
=`$as_basename -- "$0" ||
14935 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14936 X"$0" : 'X\(//\)$' \| \
14937 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14939 sed '/^.*\/\([^/][^/]*\)\/*$/{
14953 # Avoid depending upon Character Ranges.
14954 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14955 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14956 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14957 as_cr_digits
='0123456789'
14958 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14960 ECHO_C
= ECHO_N
= ECHO_T
=
14961 case `echo -n x` in #(((((
14963 case `echo 'xy\c'` in
14964 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14966 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14973 rm -f conf$$ conf$$.exe conf$$.
file
14974 if test -d conf$$.dir
; then
14975 rm -f conf$$.dir
/conf$$.
file
14978 mkdir conf$$.dir
2>/dev
/null
14980 if (echo >conf$$.
file) 2>/dev
/null
; then
14981 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14983 # ... but there are two gotchas:
14984 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14985 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14986 # In both cases, we have to default to `cp -pR'.
14987 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14989 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14997 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14998 rmdir conf$$.dir
2>/dev
/null
15003 # Create "$as_dir" as a directory, including parents if necessary.
15008 -*) as_dir
=.
/$as_dir;;
15010 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15014 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15015 *) as_qdir
=$as_dir;;
15017 as_dirs
="'$as_qdir' $as_dirs"
15018 as_dir
=`$as_dirname -- "$as_dir" ||
15019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15020 X"$as_dir" : 'X\(//\)[^/]' \| \
15021 X"$as_dir" : 'X\(//\)$' \| \
15022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15023 $as_echo X"$as_dir" |
15024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15028 /^X\(\/\/\)[^/].*/{
15041 test -d "$as_dir" && break
15043 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15044 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15048 if mkdir
-p .
2>/dev
/null
; then
15049 as_mkdir_p
='mkdir -p "$as_dir"'
15051 test -d .
/-p && rmdir .
/-p
15056 # as_fn_executable_p FILE
15057 # -----------------------
15058 # Test if FILE is an executable regular file.
15059 as_fn_executable_p
()
15061 test -f "$1" && test -x "$1"
15062 } # as_fn_executable_p
15063 as_test_x
='test -x'
15064 as_executable_p
=as_fn_executable_p
15066 # Sed expression to map a string onto a valid CPP name.
15067 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15069 # Sed expression to map a string onto a valid variable name.
15070 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15074 ## ----------------------------------- ##
15075 ## Main body of $CONFIG_STATUS script. ##
15076 ## ----------------------------------- ##
15078 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15081 # Save the log message, to keep $0 and so on meaningful, and to
15082 # report actual input values of CONFIG_FILES etc. instead of their
15083 # values after options handling.
15085 This file was extended by package-unused $as_me version-unused, which was
15086 generated by GNU Autoconf 2.69. Invocation command line was
15088 CONFIG_FILES = $CONFIG_FILES
15089 CONFIG_HEADERS = $CONFIG_HEADERS
15090 CONFIG_LINKS = $CONFIG_LINKS
15091 CONFIG_COMMANDS = $CONFIG_COMMANDS
15094 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15099 case $ac_config_files in *"
15100 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15103 case $ac_config_headers in *"
15104 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15109 # Files that config.status was made for.
15110 config_files="$ac_config_files"
15111 config_headers="$ac_config_headers"
15112 config_commands="$ac_config_commands"
15116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15118 \`$as_me' instantiates files and other configuration actions
15119 from templates according to the current configuration. Unless the files
15120 and actions are specified as TAGs, all are instantiated by default.
15122 Usage: $0 [OPTION]... [TAG]...
15124 -h, --help print this help, then exit
15125 -V, --version print version number and configuration settings, then exit
15126 --config print configuration, then exit
15127 -q, --quiet, --silent
15128 do not print progress messages
15129 -d, --debug don't remove temporary files
15130 --recheck update $as_me by reconfiguring in the same conditions
15131 --file=FILE[:TEMPLATE]
15132 instantiate the configuration file FILE
15133 --header=FILE[:TEMPLATE]
15134 instantiate the configuration header FILE
15136 Configuration files:
15139 Configuration headers:
15142 Configuration commands:
15145 Report bugs to the package provider."
15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15151 package-unused config.status version-unused
15152 configured by $0, generated by GNU Autoconf 2.69,
15153 with options \\"\$ac_cs_config\\"
15155 Copyright (C) 2012 Free Software Foundation, Inc.
15156 This config.status script is free software; the Free Software Foundation
15157 gives unlimited permission to copy, distribute and modify it."
15164 test -n "\$AWK" || AWK=awk
15167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15168 # The default lists apply if the user does not specify any file.
15174 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15175 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15191 # Handling of the options.
15192 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15194 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15195 $as_echo "$ac_cs_version"; exit ;;
15196 --config |
--confi |
--conf |
--con |
--co |
--c )
15197 $as_echo "$ac_cs_config"; exit ;;
15198 --debug |
--debu |
--deb |
--de |
--d |
-d )
15200 --file |
--fil |
--fi |
--f )
15203 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15204 '') as_fn_error $?
"missing file argument" ;;
15206 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15207 ac_need_defaults
=false
;;
15208 --header |
--heade |
--head |
--hea )
15211 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15213 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15214 ac_need_defaults
=false
;;
15216 # Conflict between --help and --header
15217 as_fn_error $?
"ambiguous option: \`$1'
15218 Try \`$0 --help' for more information.";;
15219 --help |
--hel |
-h )
15220 $as_echo "$ac_cs_usage"; exit ;;
15221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15222 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15225 # This is an error.
15226 -*) as_fn_error $?
"unrecognized option: \`$1'
15227 Try \`$0 --help' for more information." ;;
15229 *) as_fn_append ac_config_targets
" $1"
15230 ac_need_defaults
=false
;;
15236 ac_configure_extra_args
=
15238 if $ac_cs_silent; then
15240 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15245 if \$ac_cs_recheck; then
15246 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15248 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15249 CONFIG_SHELL='$SHELL'
15250 export CONFIG_SHELL
15255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15260 ## Running $as_me. ##
15266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15274 with_multisubdir="$with_multisubdir"
15275 with_multisrctop="$with_multisrctop"
15276 with_target_subdir="$with_target_subdir"
15277 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15278 multi_basedir="$multi_basedir"
15279 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15282 GFORTRAN="$GFORTRAN"
15286 # The HP-UX ksh and POSIX shell print the target directory to stdout
15287 # if CDPATH is set.
15288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15290 sed_quote_subst='$sed_quote_subst'
15291 double_quote_subst='$double_quote_subst'
15292 delay_variable_subst='$delay_variable_subst'
15293 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15294 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15295 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15296 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15297 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15298 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15299 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15300 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15301 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15302 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15303 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15304 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15305 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15306 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15307 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15308 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15309 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15310 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15311 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15312 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15313 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15314 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15315 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15316 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15317 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15318 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15319 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15320 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15321 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15322 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15323 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15324 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15325 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15326 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15327 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15328 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15329 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15330 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15331 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15332 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15333 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15334 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15335 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15336 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15337 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15338 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15339 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15340 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15341 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15342 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15343 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15344 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15345 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15346 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15347 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15348 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15349 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15350 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15351 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15352 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15353 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15354 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15355 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15356 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15357 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15358 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15359 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15360 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15361 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15362 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15363 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15364 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15365 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15366 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15367 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15368 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15369 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15370 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15371 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15372 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15373 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15374 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15375 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15376 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15377 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15378 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15379 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15380 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15381 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15382 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15383 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15384 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15385 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15386 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15387 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15388 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15389 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15390 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15391 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15392 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15393 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15394 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15395 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15396 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15397 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15398 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15399 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15400 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15401 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15402 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15403 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15404 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15405 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15406 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15407 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15408 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15409 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15410 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15411 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15412 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15415 LTCFLAGS='$LTCFLAGS'
15416 compiler='$compiler_DEFAULT'
15418 # A function that is used when there is no print builtin or printf.
15419 func_fallback_echo ()
15421 eval 'cat <<_LTECHO_EOF
15426 # Quote evaled strings.
15440 deplibs_check_method \
15449 lt_cv_sys_global_symbol_pipe \
15450 lt_cv_sys_global_symbol_to_cdecl \
15451 lt_cv_sys_global_symbol_to_c_name_address \
15452 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15453 lt_prog_compiler_no_builtin_flag \
15454 lt_prog_compiler_wl \
15455 lt_prog_compiler_pic \
15456 lt_prog_compiler_static \
15457 lt_cv_prog_compiler_c_o \
15465 export_dynamic_flag_spec \
15466 whole_archive_flag_spec \
15467 compiler_needs_object \
15469 allow_undefined_flag \
15470 no_undefined_flag \
15471 hardcode_libdir_flag_spec \
15472 hardcode_libdir_flag_spec_ld \
15473 hardcode_libdir_separator \
15478 variables_saved_for_relink \
15480 library_names_spec \
15482 install_override_mode \
15486 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15487 *[\\\\\\\`\\"\\\$]*)
15488 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15491 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15496 # Double-quote double-evaled strings.
15497 for var in reload_cmds \
15498 old_postinstall_cmds \
15499 old_postuninstall_cmds \
15501 extract_expsyms_cmds \
15502 old_archive_from_new_cmds \
15503 old_archive_from_expsyms_cmds \
15505 archive_expsym_cmds \
15507 module_expsym_cmds \
15508 export_symbols_cmds \
15511 postuninstall_cmds \
15513 sys_lib_search_path_spec \
15514 sys_lib_dlsearch_path_spec; do
15515 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15516 *[\\\\\\\`\\"\\\$]*)
15517 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15520 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15525 ac_aux_dir='$ac_aux_dir'
15526 xsi_shell='$xsi_shell'
15527 lt_shell_append='$lt_shell_append'
15529 # See if we are running on zsh, and set the options which allow our
15530 # commands through without removal of \ escapes INIT.
15531 if test -n "\${ZSH_VERSION+set}" ; then
15532 setopt NO_GLOB_SUBST
15538 TIMESTAMP='$TIMESTAMP'
15547 acx_cv_header_stdint="$acx_cv_header_stdint"
15548 acx_cv_type_int8_t="$acx_cv_type_int8_t"
15549 acx_cv_type_int16_t="$acx_cv_type_int16_t"
15550 acx_cv_type_int32_t="$acx_cv_type_int32_t"
15551 acx_cv_type_int64_t="$acx_cv_type_int64_t"
15552 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
15553 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
15554 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
15555 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15556 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15557 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
15558 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15559 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15560 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
15563 # Variables needed in config.status (file generation) which aren't already
15564 # passed by autoconf.
15570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15572 # Handling of arguments.
15573 for ac_config_target
in $ac_config_targets
15575 case $ac_config_target in
15576 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15577 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15578 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15579 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
15580 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15581 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
15582 "install-debuginfo-for-buildid.sh") CONFIG_FILES
="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
15583 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15585 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15590 # If the user did not use the arguments to specify the items to instantiate,
15591 # then the envvar interface is used. Set only those that are not.
15592 # We use the long form for the default assignment because of an extremely
15593 # bizarre bug on SunOS 4.1.3.
15594 if $ac_need_defaults; then
15595 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15596 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15597 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15600 # Have a temporary directory for convenience. Make it in the build tree
15601 # simply because there is no reason against having it here, and in addition,
15602 # creating and moving files from /tmp can sometimes cause problems.
15603 # Hook for its removal unless debugging.
15604 # Note that there is a small window in which the directory will not be cleaned:
15605 # after its creation but before its name has been assigned to `$tmp'.
15609 trap 'exit_status=$?
15610 : "${ac_tmp:=$tmp}"
15611 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15613 trap 'as_fn_exit 1' 1 2 13 15
15615 # Create a (secure) tmp directory for tmp files.
15618 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15622 tmp
=.
/conf$$
-$RANDOM
15623 (umask 077 && mkdir
"$tmp")
15624 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15627 # Set up the scripts for CONFIG_FILES section.
15628 # No need to generate them if there are no CONFIG_FILES.
15629 # This happens for instance with `./config.status config.h'.
15630 if test -n "$CONFIG_FILES"; then
15633 ac_cr
=`echo X | tr X '\015'`
15634 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15635 # But we know of no other shell where ac_cr would be empty at this
15636 # point, so we can use a bashism as a fallback.
15637 if test "x$ac_cr" = x
; then
15638 eval ac_cr
=\$
\'\\r
\'
15640 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15641 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15644 ac_cs_awk_cr
=$ac_cr
15647 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15652 echo "cat >conf$$subs.awk <<_ACEOF" &&
15653 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15655 } >conf$$subs.sh ||
15656 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15657 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15659 for ac_last_try in false false false false false :; do
15660 . ./conf$$subs.sh ||
15661 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15663 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15664 if test $ac_delim_n = $ac_delim_num; then
15666 elif $ac_last_try; then
15667 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15669 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15672 rm -f conf$$subs.sh
15674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15675 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15679 s/^/S["/; s
/!.
*/"]=/
15689 s/\(.\{148\}\)..*/\1/
15691 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15696 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15703 s/\(.\{148\}\)..*/\1/
15705 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15709 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15714 ' <conf$$subs.awk | sed '
15719 ' >>$CONFIG_STATUS || ac_write_fail=1
15720 rm -f conf$$subs.awk
15721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15723 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15724 for (key in S) S_is_set[key] = 1
15730 nfields = split(line, field, "@
")
15732 len = length(field[1])
15733 for (i = 2; i < nfields; i++) {
15735 keylen = length(key)
15736 if (S_is_set[key]) {
15738 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15739 len += length(value) + length(field[++i])
15750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15751 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15752 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15755 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15756 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15759 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15760 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15761 # trailing colons and then remove the whole line if VPATH becomes empty
15762 # (actually we leave an empty line to preserve line numbers).
15763 if test "x
$srcdir" = x.; then
15764 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15783 fi # test -n "$CONFIG_FILES"
15785 # Set up the scripts for CONFIG_HEADERS section.
15786 # No need to generate them if there are no CONFIG_HEADERS.
15787 # This happens for instance with `./config.status Makefile'.
15788 if test -n "$CONFIG_HEADERS"; then
15789 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15793 # Transform confdefs.h into an awk script `defines.awk', embedded as
15794 # here-document in config.status, that substitutes the proper values into
15795 # config.h.in to produce config.h.
15797 # Create a delimiter string that does not exist in confdefs.h, to ease
15798 # handling of long lines.
15800 for ac_last_try in false false :; do
15801 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15802 if test -z "$ac_tt"; then
15804 elif $ac_last_try; then
15805 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15807 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15811 # For the awk script, D is an array of macro values keyed by name,
15812 # likewise P contains macro parameters if any. Preserve backslash
15813 # newline sequences.
15815 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15817 s/.\{148\}/&'"$ac_delim"'/g
15820 s/^[ ]*#[ ]*define[ ][ ]*/ /
15827 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15829 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15833 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15834 D["\
1"]=" \
3\\\\\\n
"\\/p
15836 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15841 s/.\{148\}/&'"$ac_delim"'/g
15846 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15849 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15851 ' <confdefs.h | sed '
15852 s/'"$ac_delim"'/"\\\
15853 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15856 for (key in D) D_is_set[key] = 1
15859 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15861 split(line, arg, " ")
15862 if (arg[1] == "#") {
15866 defundef
= substr
(arg
[1], 2)
15869 split(mac1
, mac2
, "(") #)
15871 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15872 if (D_is_set
[macro
]) {
15873 # Preserve the white space surrounding the "#".
15874 print prefix
"define", macro P
[macro
] D
[macro
]
15877 # Replace #undef with comments. This is necessary, for example,
15878 # in the case of _POSIX_SOURCE, which is predefined and required
15879 # on some systems where configure will not decide to define it.
15880 if (defundef
== "undef") {
15881 print
"/*", prefix defundef
, macro
, "*/"
15889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15890 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15891 fi # test -n "$CONFIG_HEADERS"
15894 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15899 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15901 case $ac_mode$ac_tag in
15903 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15904 :[FH
]-) ac_tag
=-:-;;
15905 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15922 -) ac_f
="$ac_tmp/stdin";;
15923 *) # Look for the file first in the build tree, then in the source tree
15924 # (if the path is not absolute). The absolute path cannot be DOS-style,
15925 # because $ac_f cannot contain `:'.
15929 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15931 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15933 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15934 as_fn_append ac_file_inputs
" '$ac_f'"
15937 # Let's still pretend it is `configure' which instantiates (i.e., don't
15938 # use $as_me), people would be surprised to read:
15939 # /* config.h. Generated by config.status. */
15940 configure_input
='Generated from '`
15941 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15943 if test x
"$ac_file" != x-
; then
15944 configure_input
="$ac_file. $configure_input"
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15946 $as_echo "$as_me: creating $ac_file" >&6;}
15948 # Neutralize special characters interpreted by sed in replacement strings.
15949 case $configure_input in #(
15950 *\
&* |
*\|
* |
*\\* )
15951 ac_sed_conf_input
=`$as_echo "$configure_input" |
15952 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15953 *) ac_sed_conf_input
=$configure_input;;
15957 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15958 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15963 ac_dir
=`$as_dirname -- "$ac_file" ||
15964 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15965 X"$ac_file" : 'X\(//\)[^/]' \| \
15966 X"$ac_file" : 'X\(//\)$' \| \
15967 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15968 $as_echo X"$ac_file" |
15969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15973 /^X\(\/\/\)[^/].*/{
15986 as_dir
="$ac_dir"; as_fn_mkdir_p
15990 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15992 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15993 # A ".." for each directory in $ac_dir_suffix.
15994 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15995 case $ac_top_builddir_sub in
15996 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15997 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16000 ac_abs_top_builddir
=$ac_pwd
16001 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16002 # for backward compatibility:
16003 ac_top_builddir
=$ac_top_build_prefix
16006 .
) # We are building in place.
16008 ac_top_srcdir
=$ac_top_builddir_sub
16009 ac_abs_top_srcdir
=$ac_pwd ;;
16010 [\\/]* | ?
:[\\/]* ) # Absolute name.
16011 ac_srcdir
=$srcdir$ac_dir_suffix;
16012 ac_top_srcdir
=$srcdir
16013 ac_abs_top_srcdir
=$srcdir ;;
16014 *) # Relative name.
16015 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16016 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16017 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16019 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16029 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16030 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16032 ac_MKDIR_P
=$MKDIR_P
16034 [\\/$
]* | ?
:[\\/]* ) ;;
16035 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16040 # If the template does not know about datarootdir, expand it.
16041 # FIXME: This hack should be removed a few years after 2.60.
16042 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16053 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16054 *datarootdir
*) ac_datarootdir_seen
=yes;;
16055 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16057 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16060 ac_datarootdir_hack='
16061 s&@datadir@&$datadir&g
16062 s&@docdir@&$docdir&g
16063 s&@infodir@&$infodir&g
16064 s&@localedir@&$localedir&g
16065 s&@mandir@&$mandir&g
16066 s&\\\${datarootdir}&$datarootdir&g' ;;
16070 # Neutralize VPATH when `$srcdir' = `.'.
16071 # Shell code in configure.ac might set extrasub.
16072 # FIXME: do we really want to maintain this feature?
16073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16074 ac_sed_extra="$ac_vpsub
16077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16079 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16080 s|@configure_input@|
$ac_sed_conf_input|
;t t
16081 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16082 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16083 s
&@srcdir@
&$ac_srcdir&;t t
16084 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16085 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16086 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16087 s
&@builddir@
&$ac_builddir&;t t
16088 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16089 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16090 s
&@INSTALL@
&$ac_INSTALL&;t t
16091 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16092 $ac_datarootdir_hack
16094 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16095 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16097 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16098 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16099 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16100 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16102 which seems to be undefined. Please make sure it is defined" >&5
16103 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16104 which seems to be undefined. Please make sure it is defined" >&2;}
16106 rm -f "$ac_tmp/stdin"
16108 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16109 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16117 if test x"$ac_file" != x-; then
16119 $as_echo "/* $configure_input */" \
16120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16121 } >"$ac_tmp/config.h" \
16122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16123 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16125 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16128 mv "$ac_tmp/config.h" "$ac_file" \
16129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16132 $as_echo "/* $configure_input */" \
16133 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16134 || as_fn_error $? "could not create -" "$LINENO" 5
16136 # Compute "$ac_file"'s index
in $config_headers.
16139 for _am_header
in $config_headers :; do
16140 case $_am_header in
16141 $_am_arg |
$_am_arg:* )
16144 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16147 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16148 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16149 X"$_am_arg" : 'X\(//\)[^/]' \| \
16150 X"$_am_arg" : 'X\(//\)$' \| \
16151 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16152 $as_echo X"$_am_arg" |
16153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16157 /^X\(\/\/\)[^/].*/{
16169 s/.*/./; q'`/stamp-h
$_am_stamp_count
16172 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16173 $as_echo "$as_me: executing $ac_file commands" >&6;}
16178 case $ac_file$ac_mode in
16180 # Only add multilib support code if we just rebuilt the top-level
16182 case " $CONFIG_FILES " in
16184 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16189 # See if we are running on zsh, and set the options which allow our
16190 # commands through without removal of \ escapes.
16191 if test -n "${ZSH_VERSION+set}" ; then
16192 setopt NO_GLOB_SUBST
16195 cfgfile
="${ofile}T"
16196 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16199 cat <<_LT_EOF >> "$cfgfile"
16202 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16203 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16205 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16207 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16208 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16209 # Written by Gordon Matzigkeit, 1996
16211 # This file is part of GNU Libtool.
16213 # GNU Libtool is free software; you can redistribute it and/or
16214 # modify it under the terms of the GNU General Public License as
16215 # published by the Free Software Foundation; either version 2 of
16216 # the License, or (at your option) any later version.
16218 # As a special exception to the GNU General Public License,
16219 # if you distribute this file as part of a program or library that
16220 # is built using GNU Libtool, you may include this file under the
16221 # same distribution terms that you use for the rest of that program.
16223 # GNU Libtool is distributed in the hope that it will be useful,
16224 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16226 # GNU General Public License for more details.
16228 # You should have received a copy of the GNU General Public License
16229 # along with GNU Libtool; see the file COPYING. If not, a copy
16230 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16231 # obtained by writing to the Free Software Foundation, Inc.,
16232 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16235 # The names of the tagged configurations supported by this script.
16238 # ### BEGIN LIBTOOL CONFIG
16240 # Which release of libtool.m4 was used?
16241 macro_version=$macro_version
16242 macro_revision=$macro_revision
16244 # Whether or not to build shared libraries.
16245 build_libtool_libs=$enable_shared
16247 # Whether or not to build static libraries.
16248 build_old_libs=$enable_static
16250 # What type of objects to build.
16253 # Whether or not to optimize for fast installation.
16254 fast_install=$enable_fast_install
16256 # Shell to use when invoking shell scripts.
16259 # An echo program that protects backslashes.
16263 host_alias=$host_alias
16267 # The build system.
16268 build_alias=$build_alias
16272 # A sed program that does not truncate output.
16275 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16276 Xsed="\$SED -e 1s/^X//"
16278 # A grep program that handles long lines.
16284 # A literal string matcher.
16287 # A BSD- or MS-compatible name lister.
16290 # Whether we need soft or hard links.
16293 # What is the maximum length of a command?
16294 max_cmd_len=$max_cmd_len
16296 # Object file suffix (normally "o").
16299 # Executable file suffix (normally "").
16302 # whether the shell understands "unset".
16305 # turn spaces into newlines.
16308 # turn newlines into spaces.
16311 # An object symbol dumper.
16312 OBJDUMP=$lt_OBJDUMP
16314 # Method to check whether dependent libraries are shared objects.
16315 deplibs_check_method=$lt_deplibs_check_method
16317 # Command to use when deplibs_check_method == "file_magic".
16318 file_magic_cmd=$lt_file_magic_cmd
16322 AR_FLAGS=$lt_AR_FLAGS
16324 # A symbol stripping program.
16327 # Commands used to install an old-style archive.
16329 old_postinstall_cmds=$lt_old_postinstall_cmds
16330 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16332 # Whether to use a lock for old archive extraction.
16333 lock_old_archive_extraction=$lock_old_archive_extraction
16338 # LTCC compiler flags.
16339 LTCFLAGS=$lt_CFLAGS
16341 # Take the output of nm and produce a listing of raw symbols and C names.
16342 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16344 # Transform the output of nm in a proper C declaration.
16345 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16347 # Transform the output of nm in a C name address pair.
16348 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16350 # Transform the output of nm in a C name address pair when lib prefix is needed.
16351 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16353 # The name of the directory that contains temporary libtool files.
16356 # Used to examine libraries when file_magic_cmd begins with "file".
16357 MAGIC_CMD=$MAGIC_CMD
16359 # Must we lock files when doing compilation?
16360 need_locks=$lt_need_locks
16362 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16363 DSYMUTIL=$lt_DSYMUTIL
16365 # Tool to change global to local symbols on Mac OS X.
16368 # Tool to manipulate fat objects and archives on Mac OS X.
16371 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16374 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16375 OTOOL64=$lt_OTOOL64
16377 # Old archive suffix (normally "a").
16380 # Shared library suffix (normally ".so").
16381 shrext_cmds=$lt_shrext_cmds
16383 # The commands to extract the exported symbol list from a shared archive.
16384 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16386 # Variables whose values should be saved in libtool wrapper scripts and
16387 # restored at link time.
16388 variables_saved_for_relink=$lt_variables_saved_for_relink
16390 # Do we need the "lib" prefix for modules?
16391 need_lib_prefix=$need_lib_prefix
16393 # Do we need a version for libraries?
16394 need_version=$need_version
16396 # Library versioning type.
16397 version_type=$version_type
16399 # Shared library runtime path variable.
16400 runpath_var=$runpath_var
16402 # Shared library path variable.
16403 shlibpath_var=$shlibpath_var
16405 # Is shlibpath searched before the hard-coded library search path?
16406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16408 # Format of library name prefix.
16409 libname_spec=$lt_libname_spec
16411 # List of archive names. First name is the real one, the rest are links.
16412 # The last name is the one that the linker finds with -lNAME
16413 library_names_spec=$lt_library_names_spec
16415 # The coded name of the library, if different from the real name.
16416 soname_spec=$lt_soname_spec
16418 # Permission mode override for installation of shared libraries.
16419 install_override_mode=$lt_install_override_mode
16421 # Command to use after installation of a shared archive.
16422 postinstall_cmds=$lt_postinstall_cmds
16424 # Command to use after uninstallation of a shared archive.
16425 postuninstall_cmds=$lt_postuninstall_cmds
16427 # Commands used to finish a libtool library installation in a directory.
16428 finish_cmds=$lt_finish_cmds
16430 # As "finish_cmds", except a single script fragment to be evaled but
16432 finish_eval=$lt_finish_eval
16434 # Whether we should hardcode library paths into libraries.
16435 hardcode_into_libs=$hardcode_into_libs
16437 # Compile-time system search path for libraries.
16438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16440 # Run-time system search path for libraries.
16441 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16443 # Whether dlopen is supported.
16444 dlopen_support=$enable_dlopen
16446 # Whether dlopen of programs is supported.
16447 dlopen_self=$enable_dlopen_self
16449 # Whether dlopen of statically linked programs is supported.
16450 dlopen_self_static=$enable_dlopen_self_static
16452 # Commands to strip libraries.
16453 old_striplib=$lt_old_striplib
16454 striplib=$lt_striplib
16457 # The linker used to build libraries.
16460 # How to create reloadable object files.
16461 reload_flag=$lt_reload_flag
16462 reload_cmds=$lt_reload_cmds
16464 # Commands used to build an old-style archive.
16465 old_archive_cmds=$lt_old_archive_cmds
16467 # A language specific compiler.
16470 # Is the compiler the GNU compiler?
16473 # Compiler flag to turn off builtin functions.
16474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16476 # How to pass a linker flag through the compiler.
16477 wl=$lt_lt_prog_compiler_wl
16479 # Additional compiler flags for building library objects.
16480 pic_flag=$lt_lt_prog_compiler_pic
16482 # Compiler flag to prevent dynamic linking.
16483 link_static_flag=$lt_lt_prog_compiler_static
16485 # Does compiler simultaneously support -c and -o options?
16486 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16488 # Whether or not to add -lc for building shared libraries.
16489 build_libtool_need_lc=$archive_cmds_need_lc
16491 # Whether or not to disallow shared libs when runtime libs are static.
16492 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16494 # Compiler flag to allow reflexive dlopens.
16495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16497 # Compiler flag to generate shared objects directly from archives.
16498 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16500 # Whether the compiler copes with passing no objects directly.
16501 compiler_needs_object=$lt_compiler_needs_object
16503 # Create an old-style archive from a shared archive.
16504 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16506 # Create a temporary old-style archive to link instead of a shared archive.
16507 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16509 # Commands used to build a shared archive.
16510 archive_cmds=$lt_archive_cmds
16511 archive_expsym_cmds=$lt_archive_expsym_cmds
16513 # Commands used to build a loadable module if different from building
16514 # a shared archive.
16515 module_cmds=$lt_module_cmds
16516 module_expsym_cmds=$lt_module_expsym_cmds
16518 # Whether we are building with GNU ld or not.
16519 with_gnu_ld=$lt_with_gnu_ld
16521 # Flag that allows shared libraries with undefined symbols to be built.
16522 allow_undefined_flag=$lt_allow_undefined_flag
16524 # Flag that enforces no undefined symbols.
16525 no_undefined_flag=$lt_no_undefined_flag
16527 # Flag to hardcode \$libdir into a binary during linking.
16528 # This must work even if \$libdir does not exist
16529 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16531 # If ld is used when linking, flag to hardcode \$libdir into a binary
16532 # during linking. This must work even if \$libdir does not exist.
16533 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16535 # Whether we need a single "-rpath" flag with a separated argument.
16536 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16539 # DIR into the resulting binary.
16540 hardcode_direct=$hardcode_direct
16542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16543 # DIR into the resulting binary and the resulting library dependency is
16544 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16545 # library is relocated.
16546 hardcode_direct_absolute=$hardcode_direct_absolute
16548 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16549 # into the resulting binary.
16550 hardcode_minus_L=$hardcode_minus_L
16552 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16553 # into the resulting binary.
16554 hardcode_shlibpath_var=$hardcode_shlibpath_var
16556 # Set to "yes" if building a shared library automatically hardcodes DIR
16557 # into the library and all subsequent libraries and executables linked
16559 hardcode_automatic=$hardcode_automatic
16561 # Set to yes if linker adds runtime paths of dependent libraries
16562 # to runtime path list.
16563 inherit_rpath=$inherit_rpath
16565 # Whether libtool must link a program against all its dependency libraries.
16566 link_all_deplibs=$link_all_deplibs
16568 # Fix the shell variable \$srcfile for the compiler.
16569 fix_srcfile_path=$lt_fix_srcfile_path
16571 # Set to "yes" if exported symbols are required.
16572 always_export_symbols=$always_export_symbols
16574 # The commands to list exported symbols.
16575 export_symbols_cmds=$lt_export_symbols_cmds
16577 # Symbols that should not be listed in the preloaded symbols.
16578 exclude_expsyms=$lt_exclude_expsyms
16580 # Symbols that must always be exported.
16581 include_expsyms=$lt_include_expsyms
16583 # Commands necessary for linking programs (against libraries) with templates.
16584 prelink_cmds=$lt_prelink_cmds
16586 # Specify filename containing input files.
16587 file_list_spec=$lt_file_list_spec
16589 # How to hardcode a shared library path into an executable.
16590 hardcode_action=$hardcode_action
16592 # ### END LIBTOOL CONFIG
16598 cat <<\_LT_EOF
>> "$cfgfile"
16599 # AIX sometimes has problems with the GCC collect2 program. For some
16600 # reason, if we set the COLLECT_NAMES environment variable, the problems
16601 # vanish in a puff of smoke.
16602 if test "X${COLLECT_NAMES+set}" != Xset
; then
16604 export COLLECT_NAMES
16611 ltmain
="$ac_aux_dir/ltmain.sh"
16614 # We use sed instead of cat because bash on DJGPP gets confused if
16615 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16616 # text mode, it properly converts lines to CR/LF. This bash problem
16617 # is reportedly fixed, but why not run on old versions too?
16618 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16619 ||
(rm -f "$cfgfile"; exit 1)
16623 cat << \_LT_EOF
>> "$cfgfile"
16625 # func_dirname file append nondir_replacement
16626 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16627 # otherwise set result to NONDIR_REPLACEMENT.
16631 */*) func_dirname_result
="${1%/*}${2}" ;;
16632 * ) func_dirname_result
="${3}" ;;
16636 # func_basename file
16639 func_basename_result
="${1##*/}"
16642 # func_dirname_and_basename file append nondir_replacement
16643 # perform func_basename and func_dirname in a single function
16645 # dirname: Compute the dirname of FILE. If nonempty,
16646 # add APPEND to the result, otherwise set result
16647 # to NONDIR_REPLACEMENT.
16648 # value returned in "$func_dirname_result"
16649 # basename: Compute filename of FILE.
16650 # value retuned in "$func_basename_result"
16651 # Implementation must be kept synchronized with func_dirname
16652 # and func_basename. For efficiency, we do not delegate to
16653 # those functions but instead duplicate the functionality here.
16654 func_dirname_and_basename
()
16657 */*) func_dirname_result
="${1%/*}${2}" ;;
16658 * ) func_dirname_result
="${3}" ;;
16660 func_basename_result
="${1##*/}"
16663 # func_stripname prefix suffix name
16664 # strip PREFIX and SUFFIX off of NAME.
16665 # PREFIX and SUFFIX must not contain globbing or regex special
16666 # characters, hashes, percent signs, but SUFFIX may contain a leading
16667 # dot (in which case that matches only a dot).
16670 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16671 # positional parameters, so assign one to ordinary parameter first.
16672 func_stripname_result
=${3}
16673 func_stripname_result
=${func_stripname_result#"${1}"}
16674 func_stripname_result
=${func_stripname_result%"${2}"}
16680 func_opt_split_opt
=${1%%=*}
16681 func_opt_split_arg
=${1#*=}
16688 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16689 *) func_lo2o_result
=${1} ;;
16693 # func_xform libobj-or-source
16696 func_xform_result
=${1%.*}.lo
16699 # func_arith arithmetic-term...
16702 func_arith_result
=$
(( $
* ))
16706 # STRING may not start with a hyphen.
16709 func_len_result
=${#1}
16714 *) # Bourne compatible functions.
16715 cat << \_LT_EOF
>> "$cfgfile"
16717 # func_dirname file append nondir_replacement
16718 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16719 # otherwise set result to NONDIR_REPLACEMENT.
16722 # Extract subdirectory from the argument.
16723 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16724 if test "X$func_dirname_result" = "X${1}"; then
16725 func_dirname_result
="${3}"
16727 func_dirname_result
="$func_dirname_result${2}"
16731 # func_basename file
16734 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16738 # func_stripname prefix suffix name
16739 # strip PREFIX and SUFFIX off of NAME.
16740 # PREFIX and SUFFIX must not contain globbing or regex special
16741 # characters, hashes, percent signs, but SUFFIX may contain a leading
16742 # dot (in which case that matches only a dot).
16743 # func_strip_suffix prefix name
16747 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16748 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16753 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16754 my_sed_long_arg
='1s/^-[^=]*=//'
16759 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16760 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16766 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16769 # func_xform libobj-or-source
16772 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16775 # func_arith arithmetic-term...
16778 func_arith_result
=`expr "$@"`
16782 # STRING may not start with a hyphen.
16785 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16791 case $lt_shell_append in
16793 cat << \_LT_EOF
>> "$cfgfile"
16795 # func_append var value
16796 # Append VALUE to the end of shell variable VAR.
16804 cat << \_LT_EOF
>> "$cfgfile"
16806 # func_append var value
16807 # Append VALUE to the end of shell variable VAR.
16818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16819 ||
(rm -f "$cfgfile"; exit 1)
16821 mv -f "$cfgfile" "$ofile" ||
16822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16827 if test "$GCC" = yes; then
16828 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16830 echo "/* generated for $CC */" > tmp-stdint.h
16833 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16835 #ifndef GCC_GENERATED_STDINT_H
16836 #define GCC_GENERATED_STDINT_H 1
16838 #include <sys/types.h>
16841 if test "$acx_cv_header_stdint" != stdint.h
; then
16842 echo "#include <stddef.h>" >> tmp-stdint.h
16844 if test "$acx_cv_header_stdint" != stddef.h
; then
16845 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16848 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16849 /* glibc uses these symbols as guards to prevent redefinitions. */
16850 #ifdef __int8_t_defined
16855 #ifdef __uint32_t_defined
16861 # ----------------- done header, emit basic int types -------------
16862 if test "$acx_cv_header_stdint" = stddef.h
; then
16863 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16867 #ifndef __uint8_t_defined
16868 #define __uint8_t_defined
16870 typedef unsigned $acx_cv_type_int8_t uint8_t;
16877 #ifndef __uint16_t_defined
16878 #define __uint16_t_defined
16880 typedef unsigned $acx_cv_type_int16_t uint16_t;
16887 #ifndef __uint32_t_defined
16888 #define __uint32_t_defined
16890 typedef unsigned $acx_cv_type_int32_t uint32_t;
16897 #ifndef __int8_t_defined
16898 #define __int8_t_defined
16900 typedef $acx_cv_type_int8_t int8_t;
16907 #ifndef __int16_t_defined
16908 #define __int16_t_defined
16910 typedef $acx_cv_type_int16_t int16_t;
16917 #ifndef __int32_t_defined
16918 #define __int32_t_defined
16920 typedef $acx_cv_type_int32_t int32_t;
16925 elif test "$ac_cv_type_u_int32_t" = yes; then
16926 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16928 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16941 #ifndef __uint8_t_defined
16942 #define __uint8_t_defined
16944 typedef u_int8_t uint8_t;
16951 #ifndef __uint16_t_defined
16952 #define __uint16_t_defined
16954 typedef u_int16_t uint16_t;
16961 #ifndef __uint32_t_defined
16962 #define __uint32_t_defined
16964 typedef u_int32_t uint32_t;
16970 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16972 /* Some systems have guard macros to prevent redefinitions, define them. */
16994 # ------------- done basic int types, emit int64_t types ------------
16995 if test "$ac_cv_type_uint64_t" = yes; then
16996 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16998 /* system headers have good uint64_t and int64_t */
17006 elif test "$ac_cv_type_u_int64_t" = yes; then
17007 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17009 /* system headers have an u_int64_t (and int64_t) */
17015 #ifndef __uint64_t_defined
17016 #define __uint64_t_defined
17018 typedef u_int64_t uint64_t;
17023 elif test -n "$acx_cv_type_int64_t"; then
17024 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17026 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
17030 typedef $acx_cv_type_int64_t int64_t;
17035 #ifndef __uint64_t_defined
17036 #define __uint64_t_defined
17038 typedef unsigned $acx_cv_type_int64_t uint64_t;
17044 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17046 /* some common heuristics for int64_t, using compiler-specific tests */
17047 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
17050 #ifndef __int64_t_defined
17052 typedef long long int64_t;
17059 typedef unsigned long long uint64_t;
17063 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
17064 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
17065 does not implement __extension__. But that compiler doesn't define
17067 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
17068 # define __extension__
17074 __extension__ typedef long long int64_t;
17080 __extension__ typedef unsigned long long uint64_t;
17084 #elif !defined __STRICT_ANSI__
17085 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
17090 typedef __int64 int64_t;
17096 typedef unsigned __int64 uint64_t;
17099 # endif /* compiler */
17101 #endif /* ANSI version */
17105 # ------------- done int64_t types, emit intptr types ------------
17106 if test "$ac_cv_type_uintptr_t" != yes; then
17107 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17109 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
17110 #ifndef __uintptr_t_defined
17112 typedef u$acx_cv_type_intptr_t uintptr_t;
17115 #ifndef __intptr_t_defined
17117 typedef $acx_cv_type_intptr_t intptr_t;
17123 # ------------- done intptr types, emit int_least types ------------
17124 if test "$ac_cv_type_int_least32_t" != yes; then
17125 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17127 /* Define int_least types */
17128 typedef int8_t int_least8_t;
17129 typedef int16_t int_least16_t;
17130 typedef int32_t int_least32_t;
17132 typedef int64_t int_least64_t;
17135 typedef uint8_t uint_least8_t;
17136 typedef uint16_t uint_least16_t;
17137 typedef uint32_t uint_least32_t;
17139 typedef uint64_t uint_least64_t;
17144 # ------------- done intptr types, emit int_fast types ------------
17145 if test "$ac_cv_type_int_fast32_t" != yes; then
17146 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17148 /* Define int_fast types. short is often slow */
17149 typedef int8_t int_fast8_t;
17150 typedef int int_fast16_t;
17151 typedef int32_t int_fast32_t;
17153 typedef int64_t int_fast64_t;
17156 typedef uint8_t uint_fast8_t;
17157 typedef unsigned int uint_fast16_t;
17158 typedef uint32_t uint_fast32_t;
17160 typedef uint64_t uint_fast64_t;
17165 if test "$ac_cv_type_uintmax_t" != yes; then
17166 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17168 /* Define intmax based on what we found */
17171 typedef int64_t intmax_t;
17173 typedef long intmax_t;
17178 typedef uint64_t uintmax_t;
17180 typedef unsigned long uintmax_t;
17186 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17188 #endif /* GCC_GENERATED_STDINT_H */
17191 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
17194 mv -f tmp-stdint.h gstdint.h
17198 "install-debuginfo-for-buildid.sh":F
) chmod +x install-debuginfo-for-buildid.sh
;;
17199 "default":C
) if test -n "$CONFIG_FILES"; then
17200 if test -n "${with_target_subdir}"; then
17201 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17202 # that multilib installs will end up installed in the correct place.
17203 # The testsuite needs it for multilib-aware ABI baseline files.
17204 # To work around this not being passed down from config-ml.in ->
17205 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17206 # append it here. Only modify Makefiles that have just been created.
17208 # Also, get rid of this simulated-VPATH thing that automake does.
17209 cat > vpsed
<< \_EOF
17210 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17212 for i
in $SUBDIRS; do
17213 case $CONFIG_FILES in
17215 #echo "Adding MULTISUBDIR to $i/Makefile"
17216 sed -f vpsed
$i/Makefile
> tmp
17217 grep '^MULTISUBDIR =' Makefile
>> tmp
17233 ac_clean_files
=$ac_clean_files_save
17235 test $ac_write_fail = 0 ||
17236 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17239 # configure is writing to config.log, and then calls config.status.
17240 # config.status does its own redirection, appending to config.log.
17241 # Unfortunately, on DOS this fails, as config.log is still kept open
17242 # by configure, so config.status won't be able to write to it; its
17243 # output is simply discarded. So we exec the FD to /dev/null,
17244 # effectively closing config.log, so it can be properly (re)opened and
17245 # appended to by config.status. When coming back to configure, we
17246 # need to make the FD available again.
17247 if test "$no_create" != yes; then
17249 ac_config_status_args
=
17250 test "$silent" = yes &&
17251 ac_config_status_args
="$ac_config_status_args --quiet"
17253 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17256 # would make configure fail if this is the last instruction.
17257 $ac_cs_success || as_fn_exit
1
17259 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17261 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}