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 \
12389 -Wpointer-arith; do
12390 # Do the check with the no- prefix removed since gcc silently
12391 # accepts any -Wno-* option on purpose
12392 case $real_option in
12393 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12394 *) option
=$real_option ;;
12396 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12399 $as_echo_n "checking whether $CC supports $option... " >&6; }
12400 if eval \
${$as_acx_Woption+:} false
; then :
12401 $as_echo_n "(cached) " >&6
12404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12415 if ac_fn_c_try_compile
"$LINENO"; then :
12416 eval "$as_acx_Woption=yes"
12418 eval "$as_acx_Woption=no"
12420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12423 eval ac_res
=\$
$as_acx_Woption
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12425 $as_echo "$ac_res" >&6; }
12426 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12427 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
12430 CFLAGS
="$save_CFLAGS"
12432 ac_cpp
='$CPP $CPPFLAGS'
12433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12439 # Check whether --enable-werror was given.
12440 if test "${enable_werror+set}" = set; then :
12441 enableval
=$enable_werror;
12444 if test "x$enable_werror" != "xno" && test -n "${with_target_subdir}"; then :
12445 WARN_FLAGS
="$WARN_FLAGS -Werror"
12449 if test -n "${with_target_subdir}"; then
12452 # Check whether --with-system-libunwind was given.
12453 if test "${with_system_libunwind+set}" = set; then :
12454 withval
=$with_system_libunwind;
12457 # If system-libunwind was not specifically set, pick a default setting.
12458 if test x
$with_system_libunwind = x
; then
12460 ia64-
*-hpux*) with_system_libunwind
=yes ;;
12461 *) with_system_libunwind
=no
;;
12464 # Based on system-libunwind and target, do we have ipinfo?
12465 if test x
$with_system_libunwind = xyes
; then
12467 ia64-
*-*) have_unwind_getipinfo
=no
;;
12468 *) have_unwind_getipinfo
=yes ;;
12471 # Darwin before version 9 does not have _Unwind_GetIPInfo.
12474 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
12475 *) have_unwind_getipinfo
=yes ;;
12480 if test x
$have_unwind_getipinfo = xyes
; then
12482 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12487 ac_save_CFFLAGS
="$CFLAGS"
12488 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12490 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 #include "unwind.h"
12494 struct _Unwind_Context *context;
12495 int ip_before_insn = 0;
12499 return _Unwind_GetIPInfo (context, &ip_before_insn);
12504 if ac_fn_c_try_link
"$LINENO"; then :
12505 have_unwind_getipinfo
=yes
12507 have_unwind_getipinfo
=no
12509 rm -f core conftest.err conftest.
$ac_objext \
12510 conftest
$ac_exeext conftest.
$ac_ext
12511 CFLAGS
="$ac_save_CFLAGS"
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12513 $as_echo "$have_unwind_getipinfo" >&6; }
12514 if test "$have_unwind_getipinfo" = "yes"; then
12516 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12521 # Enable --enable-host-shared.
12522 # Check whether --enable-host-shared was given.
12523 if test "${enable_host_shared+set}" = set; then :
12524 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12531 # Enable Intel CET on Intel CET enabled host if jit is enabled.
12532 # Check whether --enable-cet was given.
12533 if test "${enable_cet+set}" = set; then :
12534 enableval
=$enable_cet;
12535 case "$enableval" in
12537 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12546 $as_echo_n "checking for CET support... " >&6; }
12549 i
[34567]86-*-linux* | x86_64-
*-linux*)
12551 cet_save_CFLAGS
="$CFLAGS"
12552 CFLAGS
="$CFLAGS -fcf-protection"
12553 case "$enable_cet" in
12555 # Check if target supports multi-byte NOPs
12556 # and if compiler and assembler support CET.
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12564 #if !defined(__SSE2__)
12565 #error target does not support multi-byte NOPs
12574 if ac_fn_c_try_compile
"$LINENO"; then :
12579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12582 # Check if compiler and assembler support CET.
12583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12594 if ac_fn_c_try_compile
"$LINENO"; then :
12599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12600 if test $support_cet = "no"; then
12601 if test x
$enable_bootstrap != xno \
12602 && test -z "${with_build_subdir}" \
12603 && (test ! -f ..
/stage_current \
12604 ||
test `cat ../stage_current` != "stage1"); then
12605 # Require CET support only for the final GCC build.
12606 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
12608 # Don't enable CET without CET support for non-bootstrap
12609 # build, in stage1 nor for build support.
12615 CFLAGS
="$cet_save_CFLAGS"
12623 cet_save_CFLAGS
="$CFLAGS"
12624 CFLAGS
="$CFLAGS -fcf-protection=none"
12625 cet_save_LDFLAGS
="$LDFLAGS"
12626 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
12627 if test x
$may_have_cet = xyes
; then
12628 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12640 if ac_fn_c_try_link
"$LINENO"; then :
12645 rm -f core conftest.err conftest.
$ac_objext \
12646 conftest
$ac_exeext conftest.
$ac_ext
12649 if test x
$may_have_cet = xyes
; then
12650 if test x
$cross_compiling = xno
; then
12651 if test "$cross_compiling" = yes; then :
12652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12654 as_fn_error $?
"cannot run test program while cross compiling
12655 See \`config.log' for more details" "$LINENO" 5; }
12657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12668 if ac_fn_c_try_run
"$LINENO"; then :
12669 have_multi_byte_nop
=yes
12671 have_multi_byte_nop
=no
12673 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12674 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12678 if test x
$have_multi_byte_nop = xyes
; then
12679 if test "$cross_compiling" = yes; then :
12680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12682 as_fn_error $?
"cannot run test program while cross compiling
12683 See \`config.log' for more details" "$LINENO" 5; }
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12694 __attribute__ ((noinline, noclone))
12695 xxx (void (*f) (void))
12701 __attribute__ ((noinline, noclone))
12715 if ac_fn_c_try_run
"$LINENO"; then :
12720 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12721 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12725 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
12726 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
12730 # Enable CET in cross compiler if possible so that it will run on both
12731 # CET and non-CET hosts.
12734 if test x
$enable_cet = xyes
; then
12735 CET_HOST_FLAGS
="-fcf-protection"
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12737 $as_echo "yes" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12740 $as_echo "no" >&6; }
12742 CFLAGS
="$cet_save_CFLAGS"
12743 LDFLAGS
="$cet_save_LDFLAGS"
12745 case x
$enable_languages in
12754 # Test for __sync support.
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12756 $as_echo_n "checking __sync extensions... " >&6; }
12757 if ${libbacktrace_cv_sys_sync+:} false
; then :
12758 $as_echo_n "(cached) " >&6
12760 if test -n "${with_target_subdir}"; then
12762 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12764 # Older versions of the Arm architecture lack the necessary instructions
12765 # for these constructs, so check whether we can use them.
12766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12772 __sync_bool_compare_and_swap (&i, i, i);
12773 __sync_lock_test_and_set (&i, 1);
12774 __sync_lock_release (&i);
12779 if ac_fn_c_try_link
"$LINENO"; then :
12780 libbacktrace_cv_sys_sync
=yes
12782 libbacktrace_cv_sys_sync
=no
12784 rm -f core conftest.err conftest.
$ac_objext \
12785 conftest
$ac_exeext conftest.
$ac_ext;;
12786 *) libbacktrace_cv_sys_sync
=yes ;;
12789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12795 __sync_bool_compare_and_swap (&i, i, i);
12796 __sync_lock_test_and_set (&i, 1);
12797 __sync_lock_release (&i);
12802 if ac_fn_c_try_link
"$LINENO"; then :
12803 libbacktrace_cv_sys_sync
=yes
12805 libbacktrace_cv_sys_sync
=no
12807 rm -f core conftest.err conftest.
$ac_objext \
12808 conftest
$ac_exeext conftest.
$ac_ext
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12812 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12813 BACKTRACE_SUPPORTS_THREADS
=0
12814 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12815 BACKTRACE_SUPPORTS_THREADS
=1
12817 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12822 # Test for __atomic support.
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12824 $as_echo_n "checking __atomic extensions... " >&6; }
12825 if ${libbacktrace_cv_sys_atomic+:} false
; then :
12826 $as_echo_n "(cached) " >&6
12828 if test -n "${with_target_subdir}"; then
12829 libbacktrace_cv_sys_atomic
=yes
12831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12837 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12838 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12843 if ac_fn_c_try_link
"$LINENO"; then :
12844 libbacktrace_cv_sys_atomic
=yes
12846 libbacktrace_cv_sys_atomic
=no
12848 rm -f core conftest.err conftest.
$ac_objext \
12849 conftest
$ac_exeext conftest.
$ac_ext
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12853 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12854 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12856 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12860 # The library needs to be able to read the executable itself. Compile
12861 # a file to determine the executable format. The awk script
12862 # filetype.awk prints out the file type.
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12864 $as_echo_n "checking output filetype... " >&6; }
12865 if ${libbacktrace_cv_sys_filetype+:} false
; then :
12866 $as_echo_n "(cached) " >&6
12869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12880 if ac_fn_c_try_compile
"$LINENO"; then :
12881 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12885 as_fn_error $?
"compiler failed
12886 See \`config.log' for more details" "$LINENO" 5; }
12888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 libbacktrace_cv_sys_filetype
=$filetype
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12892 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12894 # Match the file type to decide what files to compile.
12896 backtrace_supports_data
=yes
12897 case "$libbacktrace_cv_sys_filetype" in
12898 elf
*) FORMAT_FILE
="elf.lo" ;;
12899 macho
) FORMAT_FILE
="macho.lo" ;;
12900 pecoff
) FORMAT_FILE
="pecoff.lo"
12901 backtrace_supports_data
=no
12903 xcoff
*) FORMAT_FILE
="xcoff.lo"
12904 backtrace_supports_data
=no
12906 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12907 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12908 FORMAT_FILE
="unknown.lo"
12909 backtrace_supported
=no
12916 case "$libbacktrace_cv_sys_filetype" in
12917 elf32
) elfsize
=32 ;;
12918 elf64
) elfsize
=64 ;;
12922 cat >>confdefs.h
<<_ACEOF
12923 #define BACKTRACE_ELF_SIZE $elfsize
12926 if test "$FORMAT_FILE" = "elf.lo"; then
12937 case "$libbacktrace_cv_sys_filetype" in
12938 xcoff32
) xcoffsize
=32 ;;
12939 xcoff64
) xcoffsize
=64 ;;
12940 *) xcoffsize
=unused
12943 cat >>confdefs.h
<<_ACEOF
12944 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12948 BACKTRACE_SUPPORTED
=0
12949 if test "$backtrace_supported" = "yes"; then
12950 BACKTRACE_SUPPORTED
=1
12954 BACKTRACE_SUPPORTS_DATA
=0
12955 if test "$backtrace_supports_data" = "yes"; then
12956 BACKTRACE_SUPPORTS_DATA
=1
12962 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12964 acx_cv_header_stdint
=stddef.h
12965 acx_cv_header_stdint_kind
="(already complete)"
12966 for i
in stdint.h
$inttype_headers; do
12967 unset ac_cv_type_uintptr_t
12968 unset ac_cv_type_uintmax_t
12969 unset ac_cv_type_int_least32_t
12970 unset ac_cv_type_int_fast32_t
12971 unset ac_cv_type_uint64_t
12972 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12973 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12976 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
12977 acx_cv_header_stdint
=$i
12982 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12985 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12988 acx_cv_header_stdint_kind
="(mostly complete)"
12991 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12994 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
12997 acx_cv_header_stdint_kind
="(mostly complete)"
13000 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
13003 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
13006 acx_cv_header_stdint_kind
="(mostly complete)"
13009 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
13012 if test "x$ac_cv_type_uint64_t" = xyes
; then :
13015 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13020 if test "$acx_cv_header_stdint" = stddef.h
; then
13021 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13022 for i
in stdint.h
$inttype_headers; do
13023 unset ac_cv_type_uintptr_t
13024 unset ac_cv_type_uint32_t
13025 unset ac_cv_type_uint64_t
13026 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
13027 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
13030 if test "x$ac_cv_type_uint32_t" = xyes
; then :
13031 acx_cv_header_stdint
=$i
13036 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
13039 if test "x$ac_cv_type_uint64_t" = xyes
; then :
13043 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
13046 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
13053 if test "$acx_cv_header_stdint" = stddef.h
; then
13054 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13055 for i
in sys
/types.h
$inttype_headers; do
13056 unset ac_cv_type_u_int32_t
13057 unset ac_cv_type_u_int64_t
13058 $as_echo_n "looking for u_intXX_t types in $i, " >&6
13059 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
13062 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
13063 acx_cv_header_stdint
=$i
13068 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
13071 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
13078 if test "$acx_cv_header_stdint" = stddef.h
; then
13079 acx_cv_header_stdint_kind
="(using manual detection)"
13082 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13083 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13084 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13085 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13086 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13088 # ----------------- Summarize what we found so far
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
13091 $as_echo_n "checking what to include in gstdint.h... " >&6; }
13093 case `$as_basename -- gstdint.h ||
13094 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
13095 Xgstdint.h : 'X\(//\)$' \| \
13096 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
13097 $as_echo X/gstdint.h |
13098 sed '/^.*\/\([^/][^/]*\)\/*$/{
13111 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13112 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13113 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13114 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13119 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
13121 # ----------------- done included file, check C basic types --------
13123 # Lacking an uintptr_t? Test size of void *
13124 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13125 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
13126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13128 # This bug is HP SR number 8606223364.
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13130 $as_echo_n "checking size of void *... " >&6; }
13131 if ${ac_cv_sizeof_void_p+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13137 if test "$ac_cv_type_void_p" = yes; then
13138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13140 as_fn_error
77 "cannot compute sizeof (void *)
13141 See \`config.log' for more details" "$LINENO" 5; }
13143 ac_cv_sizeof_void_p
=0
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13149 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13153 cat >>confdefs.h
<<_ACEOF
13154 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13160 # Lacking an uint64_t? Test size of long
13161 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13162 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
13163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13165 # This bug is HP SR number 8606223364.
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13167 $as_echo_n "checking size of long... " >&6; }
13168 if ${ac_cv_sizeof_long+:} false
; then :
13169 $as_echo_n "(cached) " >&6
13171 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13174 if test "$ac_cv_type_long" = yes; then
13175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13177 as_fn_error
77 "cannot compute sizeof (long)
13178 See \`config.log' for more details" "$LINENO" 5; }
13180 ac_cv_sizeof_long
=0
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13186 $as_echo "$ac_cv_sizeof_long" >&6; }
13190 cat >>confdefs.h
<<_ACEOF
13191 #define SIZEOF_LONG $ac_cv_sizeof_long
13197 if test $acx_cv_header_stdint = stddef.h
; then
13198 # Lacking a good header? Test size of everything and deduce all types.
13199 # The cast to long int works around a bug in the HP C Compiler
13200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13202 # This bug is HP SR number 8606223364.
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13204 $as_echo_n "checking size of int... " >&6; }
13205 if ${ac_cv_sizeof_int+:} false
; then :
13206 $as_echo_n "(cached) " >&6
13208 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13211 if test "$ac_cv_type_int" = yes; then
13212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13214 as_fn_error
77 "cannot compute sizeof (int)
13215 See \`config.log' for more details" "$LINENO" 5; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13223 $as_echo "$ac_cv_sizeof_int" >&6; }
13227 cat >>confdefs.h
<<_ACEOF
13228 #define SIZEOF_INT $ac_cv_sizeof_int
13232 # The cast to long int works around a bug in the HP C Compiler
13233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13235 # This bug is HP SR number 8606223364.
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13237 $as_echo_n "checking size of short... " >&6; }
13238 if ${ac_cv_sizeof_short+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13244 if test "$ac_cv_type_short" = yes; then
13245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13247 as_fn_error
77 "cannot compute sizeof (short)
13248 See \`config.log' for more details" "$LINENO" 5; }
13250 ac_cv_sizeof_short
=0
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13256 $as_echo "$ac_cv_sizeof_short" >&6; }
13260 cat >>confdefs.h
<<_ACEOF
13261 #define SIZEOF_SHORT $ac_cv_sizeof_short
13265 # The cast to long int works around a bug in the HP C Compiler
13266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13268 # This bug is HP SR number 8606223364.
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13270 $as_echo_n "checking size of char... " >&6; }
13271 if ${ac_cv_sizeof_char+:} false
; then :
13272 $as_echo_n "(cached) " >&6
13274 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13277 if test "$ac_cv_type_char" = yes; then
13278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13280 as_fn_error
77 "cannot compute sizeof (char)
13281 See \`config.log' for more details" "$LINENO" 5; }
13283 ac_cv_sizeof_char
=0
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13289 $as_echo "$ac_cv_sizeof_char" >&6; }
13293 cat >>confdefs.h
<<_ACEOF
13294 #define SIZEOF_CHAR $ac_cv_sizeof_char
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
13300 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
13301 case "$ac_cv_sizeof_char" in
13302 1) acx_cv_type_int8_t
=char
;;
13303 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
13306 $as_echo "$acx_cv_type_int8_t" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
13309 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
13310 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13311 2:*) acx_cv_type_int16_t
=int
;;
13312 *:2) acx_cv_type_int16_t
=short
;;
13313 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
13316 $as_echo "$acx_cv_type_int16_t" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
13319 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
13320 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13321 4:*) acx_cv_type_int32_t
=int
;;
13322 *:4) acx_cv_type_int32_t
=long
;;
13323 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
13326 $as_echo "$acx_cv_type_int32_t" >&6; }
13329 # These tests are here to make the output prettier
13331 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13332 case "$ac_cv_sizeof_long" in
13333 8) acx_cv_type_int64_t
=long
;;
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
13336 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13338 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
13341 # Now we can use the above types
13343 if test "$ac_cv_type_uintptr_t" != yes; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
13345 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
13346 case $ac_cv_sizeof_void_p in
13347 2) acx_cv_type_intptr_t
=int16_t
;;
13348 4) acx_cv_type_intptr_t
=int32_t
;;
13349 8) acx_cv_type_intptr_t
=int64_t
;;
13350 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
13353 $as_echo "$acx_cv_type_intptr_t" >&6; }
13356 # ----------------- done all checks, emit header -------------
13357 ac_config_commands
="$ac_config_commands gstdint.h"
13362 for ac_header
in sys
/mman.h
13364 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13365 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
13366 cat >>confdefs.h
<<_ACEOF
13367 #define HAVE_SYS_MMAN_H 1
13374 if test "$ac_cv_header_sys_mman_h" = "no"; then
13377 if test -n "${with_target_subdir}"; then
13378 # When built as a GCC target library, we can't do a link test. We
13379 # simply assume that if we have mman.h, we have mmap.
13383 # DJGPP has sys/man.h, but no mmap
13387 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
13388 if test "x$ac_cv_func_mmap" = xyes
; then :
13396 if test "$have_mmap" = "no"; then
13398 ALLOC_FILE
=alloc.lo
13400 VIEW_FILE
=mmapio.lo
13401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13404 #include <sys/mman.h>
13405 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
13406 #error no MAP_ANONYMOUS
13410 if ac_fn_c_try_cpp
"$LINENO"; then :
13413 ALLOC_FILE
=alloc.lo
13415 rm -f conftest.err conftest.i conftest.
$ac_ext
13420 BACKTRACE_USES_MALLOC
=0
13421 if test "$ALLOC_FILE" = "alloc.lo"; then
13422 BACKTRACE_USES_MALLOC
=1
13426 # Check for dl_iterate_phdr.
13427 for ac_header
in link.h sys
/link.h
13429 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13430 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13431 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13432 cat >>confdefs.h
<<_ACEOF
13433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13440 if test "$ac_cv_header_link_h" = "no" -a "$ac_cv_header_sys_link_h" = "no"; then
13441 have_dl_iterate_phdr
=no
13443 if test -n "${with_target_subdir}"; then
13445 if test "$ac_cv_header_link_h" = "no"; then
13448 # When built as a GCC target library, we can't do a link test.
13449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13455 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
13456 have_dl_iterate_phdr
=yes
13458 have_dl_iterate_phdr
=no
13463 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
13464 if test "x$ac_cv_func_dl_iterate_phdr" = xyes
; then :
13465 have_dl_iterate_phdr
=yes
13467 have_dl_iterate_phdr
=no
13472 if test "$have_dl_iterate_phdr" = "yes"; then
13474 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
13478 # Check for header file for Mach-O image functions.
13479 for ac_header
in mach-o
/dyld.h
13481 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
13482 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
13483 cat >>confdefs.h
<<_ACEOF
13484 #define HAVE_MACH_O_DYLD_H 1
13492 # Check for loadquery.
13493 for ac_header
in sys
/ldr.h
13495 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
13496 if test "x$ac_cv_header_sys_ldr_h" = xyes
; then :
13497 cat >>confdefs.h
<<_ACEOF
13498 #define HAVE_SYS_LDR_H 1
13505 if test "$ac_cv_header_sys_ldr_h" = "no"; then
13508 if test -n "${with_target_subdir}"; then
13509 # When built as a GCC target library, we can't do a link test.
13510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 #include <sys/ldr.h>
13515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13516 $EGREP "loadquery" >/dev
/null
2>&1; then :
13524 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
13525 if test "x$ac_cv_func_loadquery" = xyes
; then :
13533 if test "$have_loadquery" = "yes"; then
13535 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
13539 for ac_header
in windows.h
13541 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
13542 if test "x$ac_cv_header_windows_h" = xyes
; then :
13543 cat >>confdefs.h
<<_ACEOF
13544 #define HAVE_WINDOWS_H 1
13551 for ac_header
in tlhelp32.h
13553 ac_fn_c_check_header_compile
"$LINENO" "tlhelp32.h" "ac_cv_header_tlhelp32_h" "#ifdef HAVE_WINDOWS_H
13554 # include <windows.h>
13557 if test "x$ac_cv_header_tlhelp32_h" = xyes
; then :
13558 cat >>confdefs.h
<<_ACEOF
13559 #define HAVE_TLHELP32_H 1
13567 # Check for the fcntl function.
13568 if test -n "${with_target_subdir}"; then
13570 *-*-mingw*) have_fcntl
=no
;;
13571 *) have_fcntl
=yes ;;
13574 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
13575 if test "x$ac_cv_func_fcntl" = xyes
; then :
13582 if test "$have_fcntl" = "yes"; then
13584 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
13588 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13589 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
13595 cat >>confdefs.h
<<_ACEOF
13596 #define HAVE_DECL_STRNLEN $ac_have_decl
13598 ac_fn_c_check_decl
"$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
13599 if test "x$ac_cv_have_decl_getpagesize" = xyes
; then :
13605 cat >>confdefs.h
<<_ACEOF
13606 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
13609 for ac_func
in lstat readlink
13611 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13612 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13613 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13614 cat >>confdefs.h
<<_ACEOF
13615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13622 # Check for getexecname function.
13623 if test -n "${with_target_subdir}"; then
13625 *-*-solaris2*) have_getexecname
=yes ;;
13626 *) have_getexecname
=no
;;
13629 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
13630 if test "x$ac_cv_func_getexecname" = xyes
; then :
13631 have_getexecname
=yes
13633 have_getexecname
=no
13637 if test "$have_getexecname" = "yes"; then
13639 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
13643 # Check for _pgmptr variable, contains the executable filename on windows
13644 ac_fn_c_check_decl
"$LINENO" "_pgmptr" "ac_cv_have_decl__pgmptr" "$ac_includes_default"
13645 if test "x$ac_cv_have_decl__pgmptr" = xyes
; then :
13651 cat >>confdefs.h
<<_ACEOF
13652 #define HAVE_DECL__PGMPTR $ac_have_decl
13656 # Check for sysctl definitions.
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
13659 $as_echo_n "checking for KERN_PROC... " >&6; }
13660 if ${libbacktrace_cv_proc+:} false
; then :
13661 $as_echo_n "(cached) " >&6
13663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13666 #include <sys/types.h>
13667 #include <sys/sysctl.h>
13672 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
13677 if ac_fn_c_try_compile
"$LINENO"; then :
13678 libbacktrace_cv_proc
=yes
13680 libbacktrace_cv_proc
=no
13682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
13685 $as_echo "$libbacktrace_cv_proc" >&6; }
13686 if test "$libbacktrace_cv_proc" = "yes"; then
13688 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
13693 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
13694 if ${libbacktrace_cv_procargs+:} false
; then :
13695 $as_echo_n "(cached) " >&6
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 #include <sys/types.h>
13701 #include <sys/sysctl.h>
13706 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
13711 if ac_fn_c_try_compile
"$LINENO"; then :
13712 libbacktrace_cv_procargs
=yes
13714 libbacktrace_cv_procargs
=no
13716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
13719 $as_echo "$libbacktrace_cv_procargs" >&6; }
13720 if test "$libbacktrace_cv_procargs" = "yes"; then
13722 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
13726 # Check for the clock_gettime function.
13727 for ac_func
in clock_gettime
13729 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13730 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13731 cat >>confdefs.h
<<_ACEOF
13732 #define HAVE_CLOCK_GETTIME 1
13738 clock_gettime_link
=
13739 # At least for glibc, clock_gettime is in librt. But don't
13740 # pull that in if it still doesn't give us the function we want. This
13741 # test is copied from libgomp, and modified to not link in -lrt as
13742 # we're using this for test timing only.
13743 if test "$ac_cv_func_clock_gettime" = no
; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13745 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13746 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
13747 $as_echo_n "(cached) " >&6
13749 ac_check_lib_save_LIBS
=$LIBS
13751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13760 char clock_gettime ();
13764 return clock_gettime ();
13769 if ac_fn_c_try_link
"$LINENO"; then :
13770 ac_cv_lib_rt_clock_gettime
=yes
13772 ac_cv_lib_rt_clock_gettime
=no
13774 rm -f core conftest.err conftest.
$ac_objext \
13775 conftest
$ac_exeext conftest.
$ac_ext
13776 LIBS
=$ac_check_lib_save_LIBS
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13779 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13780 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
13781 CLOCK_GETTIME_LINK
=-lrt
13783 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13791 $as_echo_n "checking whether -pthread is supported... " >&6; }
13792 if ${libgo_cv_lib_pthread+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 CFLAGS_hold
=$CFLAGS
13796 CFLAGS
="$CFLAGS -pthread"
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13801 if ac_fn_c_try_compile
"$LINENO"; then :
13802 libgo_cv_lib_pthread
=yes
13804 libgo_cv_lib_pthread
=no
13806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13807 CFLAGS
=$CFLAGS_hold
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13810 $as_echo "$libgo_cv_lib_pthread" >&6; }
13812 if test "$libgo_cv_lib_pthread" = yes; then
13813 PTHREAD_CFLAGS
=-pthread
13817 if test "$libgo_cv_lib_pthread" = yes; then
13819 HAVE_PTHREAD_FALSE
='#'
13821 HAVE_PTHREAD_TRUE
='#'
13822 HAVE_PTHREAD_FALSE
=
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
13827 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
13828 if ${libbacktrace_cv_lib_dwarf5+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 CFLAGS_hold
=$CFLAGS
13832 CFLAGS
="$CFLAGS -gdwarf-5"
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13844 if ac_fn_c_try_link
"$LINENO"; then :
13845 libbacktrace_cv_lib_dwarf5
=yes
13847 libbacktrace_cv_lib_dwarf5
=no
13849 rm -f core conftest.err conftest.
$ac_objext \
13850 conftest
$ac_exeext conftest.
$ac_ext
13851 CFLAGS
=$CFLAGS_hold
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
13854 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
13855 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
13857 HAVE_DWARF5_FALSE
='#'
13859 HAVE_DWARF5_TRUE
='#'
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
13865 $as_echo_n "checking for compress in -lz... " >&6; }
13866 if ${ac_cv_lib_z_compress+:} false
; then :
13867 $as_echo_n "(cached) " >&6
13869 ac_check_lib_save_LIBS
=$LIBS
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13874 /* Override any GCC internal prototype to avoid an error.
13875 Use char because int might match the return type of a GCC
13876 builtin and then its argument prototype would still apply. */
13884 return compress ();
13889 if ac_fn_c_try_link
"$LINENO"; then :
13890 ac_cv_lib_z_compress
=yes
13892 ac_cv_lib_z_compress
=no
13894 rm -f core conftest.err conftest.
$ac_objext \
13895 conftest
$ac_exeext conftest.
$ac_ext
13896 LIBS
=$ac_check_lib_save_LIBS
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
13899 $as_echo "$ac_cv_lib_z_compress" >&6; }
13900 if test "x$ac_cv_lib_z_compress" = xyes
; then :
13902 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13906 if test "$ac_cv_lib_z_compress" = yes; then
13908 HAVE_ZLIB_FALSE
='#'
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --build-id is supported" >&5
13916 $as_echo_n "checking whether --build-id is supported... " >&6; }
13917 if ${libbacktrace_cv_ld_buildid+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13920 LDFLAGS_hold
=$LDFLAGS
13921 LDFLAGS
="$LDFLAGS -Wl,--build-id"
13922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13933 if ac_fn_c_try_link
"$LINENO"; then :
13934 libbacktrace_cv_ld_buildid
=yes
13936 libbacktrace_cv_ld_buildid
=no
13938 rm -f core conftest.err conftest.
$ac_objext \
13939 conftest
$ac_exeext conftest.
$ac_ext
13940 LDFLAGS
=$LDFLAGS_hold
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_ld_buildid" >&5
13943 $as_echo "$libbacktrace_cv_ld_buildid" >&6; }
13944 if test "$libbacktrace_cv_ld_buildid" = yes; then
13946 HAVE_BUILDID_FALSE
='#'
13948 HAVE_BUILDID_TRUE
='#'
13949 HAVE_BUILDID_FALSE
=
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zlib-gnu is supported" >&5
13954 $as_echo_n "checking whether --compress-debug-sections=zlib-gnu is supported... " >&6; }
13955 if ${libgo_cv_ld_compress_zlib_gnu+:} false
; then :
13956 $as_echo_n "(cached) " >&6
13958 LDFLAGS_hold
=$LDFLAGS
13959 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13971 if ac_fn_c_try_link
"$LINENO"; then :
13972 libgo_cv_ld_compress_zlib_gnu
=yes
13974 libgo_cv_ld_compress_zlib_gnu
=no
13976 rm -f core conftest.err conftest.
$ac_objext \
13977 conftest
$ac_exeext conftest.
$ac_ext
13978 LDFLAGS
=$LDFLAGS_hold
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zlib_gnu" >&5
13981 $as_echo "$libgo_cv_ld_compress_zlib_gnu" >&6; }
13982 if test "$libgo_cv_ld_compress_zlib_gnu" = yes; then
13983 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE
=
13984 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE
='#'
13986 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE
='#'
13987 HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE
=
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zlib-gabi is supported" >&5
13992 $as_echo_n "checking whether --compress-debug-sections=zlib-gabi is supported... " >&6; }
13993 if ${libgo_cv_ld_compress_zlib_gabi+:} false
; then :
13994 $as_echo_n "(cached) " >&6
13996 LDFLAGS_hold
=$LDFLAGS
13997 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gabi"
13998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14009 if ac_fn_c_try_link
"$LINENO"; then :
14010 libgo_cv_ld_compress_zlib_gabi
=yes
14012 libgo_cv_ld_compress_zlib_gabi
=no
14014 rm -f core conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 LDFLAGS
=$LDFLAGS_hold
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zlib_gabi" >&5
14019 $as_echo "$libgo_cv_ld_compress_zlib_gabi" >&6; }
14020 if test "$libgo_cv_ld_compress_zlib_gabi" = yes; then
14021 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE
=
14022 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE
='#'
14024 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE
='#'
14025 HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE
=
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZSTD_compress in -lzstd" >&5
14030 $as_echo_n "checking for ZSTD_compress in -lzstd... " >&6; }
14031 if ${ac_cv_lib_zstd_ZSTD_compress+:} false
; then :
14032 $as_echo_n "(cached) " >&6
14034 ac_check_lib_save_LIBS
=$LIBS
14035 LIBS
="-lzstd $LIBS"
14036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14045 char ZSTD_compress ();
14049 return ZSTD_compress ();
14054 if ac_fn_c_try_link
"$LINENO"; then :
14055 ac_cv_lib_zstd_ZSTD_compress
=yes
14057 ac_cv_lib_zstd_ZSTD_compress
=no
14059 rm -f core conftest.err conftest.
$ac_objext \
14060 conftest
$ac_exeext conftest.
$ac_ext
14061 LIBS
=$ac_check_lib_save_LIBS
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_compress" >&5
14064 $as_echo "$ac_cv_lib_zstd_ZSTD_compress" >&6; }
14065 if test "x$ac_cv_lib_zstd_ZSTD_compress" = xyes
; then :
14067 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
14071 if test "$ac_cv_lib_zstd_ZSTD_compress" = yes; then
14073 HAVE_ZSTD_FALSE
='#'
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zstd is supported" >&5
14081 $as_echo_n "checking whether --compress-debug-sections=zstd is supported... " >&6; }
14082 if ${libgo_cv_ld_compress_zstd+:} false
; then :
14083 $as_echo_n "(cached) " >&6
14085 LDFLAGS_hold
=$LDFLAGS
14086 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zstd"
14087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14098 if ac_fn_c_try_link
"$LINENO"; then :
14099 libgo_cv_ld_compress_zstd
=yes
14101 libgo_cv_ld_compress_zstd
=no
14103 rm -f core conftest.err conftest.
$ac_objext \
14104 conftest
$ac_exeext conftest.
$ac_ext
14105 LDFLAGS
=$LDFLAGS_hold
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zstd" >&5
14108 $as_echo "$libgo_cv_ld_compress_zstd" >&6; }
14109 if test "$libgo_cv_ld_compress_zstd" = yes; then
14110 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
=
14111 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
='#'
14113 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
='#'
14114 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
=
14119 # Extract the first word of "objcopy", so it can be a program name with args.
14120 set dummy objcopy
; ac_word
=$2
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14122 $as_echo_n "checking for $ac_word... " >&6; }
14123 if ${ac_cv_prog_OBJCOPY+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 if test -n "$OBJCOPY"; then
14127 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
14129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14130 for as_dir
in $PATH
14133 test -z "$as_dir" && as_dir
=.
14134 for ac_exec_ext
in '' $ac_executable_extensions; do
14135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14136 ac_cv_prog_OBJCOPY
="objcopy"
14137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14146 OBJCOPY
=$ac_cv_prog_OBJCOPY
14147 if test -n "$OBJCOPY"; then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14149 $as_echo "$OBJCOPY" >&6; }
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14152 $as_echo "no" >&6; }
14156 # Extract the first word of "readelf", so it can be a program name with args.
14157 set dummy readelf
; ac_word
=$2
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159 $as_echo_n "checking for $ac_word... " >&6; }
14160 if ${ac_cv_prog_READELF+:} false
; then :
14161 $as_echo_n "(cached) " >&6
14163 if test -n "$READELF"; then
14164 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
14166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14167 for as_dir
in $PATH
14170 test -z "$as_dir" && as_dir
=.
14171 for ac_exec_ext
in '' $ac_executable_extensions; do
14172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14173 ac_cv_prog_READELF
="readelf"
14174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14183 READELF
=$ac_cv_prog_READELF
14184 if test -n "$READELF"; then
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
14186 $as_echo "$READELF" >&6; }
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14189 $as_echo "no" >&6; }
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
14194 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
14195 if ${libbacktrace_cv_objcopy_debuglink+:} false
; then :
14196 $as_echo_n "(cached) " >&6
14198 if test -n "${with_target_subdir}"; then
14199 libbacktrace_cv_objcopy_debuglink
=no
14200 elif ! test -n "${OBJCOPY}"; then
14201 libbacktrace_cv_objcopy_debuglink
=no
14202 elif ${OBJCOPY} --help |
grep add-gnu-debuglink
>/dev
/null
2>&1; then
14203 libbacktrace_cv_objcopy_debuglink
=yes
14205 libbacktrace_cv_objcopy_debuglink
=no
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
14209 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
14210 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
14211 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
14212 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
14214 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
14215 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
14220 # Extract the first word of "dsymutil", so it can be a program name with args.
14221 set dummy dsymutil
; ac_word
=$2
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14223 $as_echo_n "checking for $ac_word... " >&6; }
14224 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 if test -n "$DSYMUTIL"; then
14228 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
14230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14231 for as_dir
in $PATH
14234 test -z "$as_dir" && as_dir
=.
14235 for ac_exec_ext
in '' $ac_executable_extensions; do
14236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14237 ac_cv_prog_DSYMUTIL
="dsymutil"
14238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14247 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
14248 if test -n "$DSYMUTIL"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
14250 $as_echo "$DSYMUTIL" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14257 if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
14259 USE_DSYMUTIL_FALSE
='#'
14261 USE_DSYMUTIL_TRUE
='#'
14262 USE_DSYMUTIL_FALSE
=
14267 # Extract the first word of "nm", so it can be a program name with args.
14268 set dummy nm
; ac_word
=$2
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14270 $as_echo_n "checking for $ac_word... " >&6; }
14271 if ${ac_cv_prog_NM+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 if test -n "$NM"; then
14275 ac_cv_prog_NM
="$NM" # Let the user override the test.
14277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14278 for as_dir
in $PATH
14281 test -z "$as_dir" && as_dir
=.
14282 for ac_exec_ext
in '' $ac_executable_extensions; do
14283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14295 if test -n "$NM"; then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14297 $as_echo "$NM" >&6; }
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14300 $as_echo "no" >&6; }
14305 # Extract the first word of "xz", so it can be a program name with args.
14306 set dummy xz
; ac_word
=$2
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14308 $as_echo_n "checking for $ac_word... " >&6; }
14309 if ${ac_cv_prog_XZ+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 if test -n "$XZ"; then
14313 ac_cv_prog_XZ
="$XZ" # Let the user override the test.
14315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14316 for as_dir
in $PATH
14319 test -z "$as_dir" && as_dir
=.
14320 for ac_exec_ext
in '' $ac_executable_extensions; do
14321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 if test -n "$XZ"; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
14335 $as_echo "$XZ" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14342 if test "$XZ" != ""; then
14350 # Extract the first word of "comm", so it can be a program name with args.
14351 set dummy
comm; ac_word
=$2
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14353 $as_echo_n "checking for $ac_word... " >&6; }
14354 if ${ac_cv_prog_COMM+:} false
; then :
14355 $as_echo_n "(cached) " >&6
14357 if test -n "$COMM"; then
14358 ac_cv_prog_COMM
="$COMM" # Let the user override the test.
14360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14361 for as_dir
in $PATH
14364 test -z "$as_dir" && as_dir
=.
14365 for ac_exec_ext
in '' $ac_executable_extensions; do
14366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14367 ac_cv_prog_COMM
="comm"
14368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14377 COMM
=$ac_cv_prog_COMM
14378 if test -n "$COMM"; then
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
14380 $as_echo "$COMM" >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14383 $as_echo "no" >&6; }
14387 if test "$COMM" != ""; then
14389 HAVE_COMM_FALSE
='#'
14396 if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
14397 HAVE_MINIDEBUG_TRUE
=
14398 HAVE_MINIDEBUG_FALSE
='#'
14400 HAVE_MINIDEBUG_TRUE
='#'
14401 HAVE_MINIDEBUG_FALSE
=
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
14406 $as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
14407 if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 ac_check_lib_save_LIBS
=$LIBS
14411 LIBS
="-llzma $LIBS"
14412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 /* Override any GCC internal prototype to avoid an error.
14416 Use char because int might match the return type of a GCC
14417 builtin and then its argument prototype would still apply. */
14421 char lzma_auto_decoder ();
14425 return lzma_auto_decoder ();
14430 if ac_fn_c_try_link
"$LINENO"; then :
14431 ac_cv_lib_lzma_lzma_auto_decoder
=yes
14433 ac_cv_lib_lzma_lzma_auto_decoder
=no
14435 rm -f core conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14437 LIBS
=$ac_check_lib_save_LIBS
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
14440 $as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
14441 if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes
; then :
14443 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
14447 if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
14449 HAVE_LIBLZMA_FALSE
='#'
14451 HAVE_LIBLZMA_TRUE
='#'
14452 HAVE_LIBLZMA_FALSE
=
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
14457 $as_echo_n "checking whether tests can run... " >&6; }
14458 if ${libbacktrace_cv_sys_native+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 if test "$cross_compiling" = yes; then :
14462 libbacktrace_cv_sys_native
=no
14464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14475 if ac_fn_c_try_run
"$LINENO"; then :
14476 libbacktrace_cv_sys_native
=yes
14478 libbacktrace_cv_sys_native
=no
14480 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14481 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
14486 $as_echo "$libbacktrace_cv_sys_native" >&6; }
14487 if test "$libbacktrace_cv_sys_native" = "yes"; then
14496 if test "${multilib}" = "yes"; then
14497 multilib_arg
="--enable-multilib"
14502 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
14504 ac_config_files
="$ac_config_files install-debuginfo-for-buildid.sh"
14507 # We need multilib support, but only if configuring for the target.
14508 ac_config_commands
="$ac_config_commands default"
14511 cat >confcache
<<\_ACEOF
14512 # This file is a shell script that caches the results of configure
14513 # tests run on this system so they can be shared between configure
14514 # scripts and configure runs, see configure's option --config-cache.
14515 # It is not useful on other systems. If it contains results you don't
14516 # want to keep, you may remove or edit it.
14518 # config.status only pays attention to the cache file if you give it
14519 # the --recheck option to rerun configure.
14521 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14522 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14523 # following values.
14527 # The following way of writing the cache mishandles newlines in values,
14528 # but we know of no workaround that is simple, portable, and efficient.
14529 # So, we kill variables containing newlines.
14530 # Ultrix sh set writes to stderr and can't be redirected directly,
14531 # and sets the high bit in the cache file unless we assign to the vars.
14533 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14534 eval ac_val
=\$
$ac_var
14538 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14539 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14542 _ | IFS | as_nl
) ;; #(
14543 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14544 *) { eval $ac_var=; unset $ac_var;} ;;
14550 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14551 *${as_nl}ac_space
=\
*)
14552 # `set' does not quote correctly, so add quotes: double-quote
14553 # substitution turns \\\\ into \\, and sed turns \\ into \.
14556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14559 # `set' quotes correctly as required by POSIX, so do not add quotes.
14560 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14569 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14571 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14573 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14574 if test -w "$cache_file"; then
14575 if test "x$cache_file" != "x/dev/null"; then
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14577 $as_echo "$as_me: updating cache $cache_file" >&6;}
14578 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14579 cat confcache
>"$cache_file"
14581 case $cache_file in #(
14583 mv -f confcache
"$cache_file"$$
&&
14584 mv -f "$cache_file"$$
"$cache_file" ;; #(
14586 mv -f confcache
"$cache_file" ;;
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14592 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14597 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14598 # Let make expand exec_prefix.
14599 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14601 DEFS
=-DHAVE_CONFIG_H
14606 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14607 # 1. Remove the extension, and $U if already installed.
14608 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14609 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14610 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14611 # will be set to the directory where LIBOBJS objects are built.
14612 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14613 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14615 LIBOBJS
=$ac_libobjs
14617 LTLIBOBJS
=$ac_ltlibobjs
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14621 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14622 if test -n "$am_sleep_pid"; then
14623 # Hide warnings about reused PIDs.
14624 wait $am_sleep_pid 2>/dev
/null
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14627 $as_echo "done" >&6; }
14628 if test -n "$EXEEXT"; then
14630 am__EXEEXT_FALSE
='#'
14632 am__EXEEXT_TRUE
='#'
14636 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14637 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14640 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
14641 as_fn_error $?
"conditional \"HAVE_DWZ\" was never defined.
14642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14644 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
14645 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
14646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14648 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
14649 as_fn_error $?
"conditional \"HAVE_ELF\" was never defined.
14650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14652 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
14653 as_fn_error $?
"conditional \"HAVE_PTHREAD\" was never defined.
14654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14656 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
14657 as_fn_error $?
"conditional \"HAVE_DWARF5\" was never defined.
14658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14660 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
14661 as_fn_error $?
"conditional \"HAVE_ZLIB\" was never defined.
14662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664 if test -z "${HAVE_BUILDID_TRUE}" && test -z "${HAVE_BUILDID_FALSE}"; then
14665 as_fn_error $?
"conditional \"HAVE_BUILDID\" was never defined.
14666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668 if test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GNU_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GNU_FALSE}"; then
14669 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZLIB_GNU\" was never defined.
14670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672 if test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GABI_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZLIB_GABI_FALSE}"; then
14673 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZLIB_GABI\" was never defined.
14674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676 if test -z "${HAVE_ZSTD_TRUE}" && test -z "${HAVE_ZSTD_FALSE}"; then
14677 as_fn_error $?
"conditional \"HAVE_ZSTD\" was never defined.
14678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14680 if test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_FALSE}"; then
14681 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG_ZSTD\" was never defined.
14682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14684 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
14685 as_fn_error $?
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
14686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14688 if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
14689 as_fn_error $?
"conditional \"USE_DSYMUTIL\" was never defined.
14690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14692 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
14693 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
14694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14696 if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
14697 as_fn_error $?
"conditional \"HAVE_COMM\" was never defined.
14698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14700 if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
14701 as_fn_error $?
"conditional \"HAVE_MINIDEBUG\" was never defined.
14702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14704 if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
14705 as_fn_error $?
"conditional \"HAVE_LIBLZMA\" was never defined.
14706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14708 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
14709 as_fn_error $?
"conditional \"NATIVE\" was never defined.
14710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14713 : "${CONFIG_STATUS=./config.status}"
14715 ac_clean_files_save
=$ac_clean_files
14716 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14718 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14720 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14722 # Generated by $as_me.
14723 # Run this file to recreate the current configuration.
14724 # Compiler output produced by configure, useful for debugging
14725 # configure, is in config.log if it exists.
14728 ac_cs_recheck=false
14731 SHELL=\${CONFIG_SHELL-$SHELL}
14734 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14735 ## -------------------- ##
14736 ## M4sh Initialization. ##
14737 ## -------------------- ##
14739 # Be more Bourne compatible
14740 DUALCASE
=1; export DUALCASE
# for MKS sh
14741 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14744 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14745 # is contrary to our usage. Disable this feature.
14746 alias -g '${1+"$@"}'='"$@"'
14747 setopt NO_GLOB_SUBST
14749 case `(set -o) 2>/dev/null` in #(
14761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14762 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14765 # Prefer a ksh shell builtin over an external printf program on Solaris,
14766 # but without wasting forks for bash or zsh.
14767 if test -z "$BASH_VERSION$ZSH_VERSION" \
14768 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14769 as_echo='print
-r --'
14770 as_echo_n='print
-rn --'
14771 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14772 as_echo='printf %s
\n'
14773 as_echo_n='printf %s
'
14775 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14776 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14777 as_echo_n='/usr
/ucb
/echo -n'
14779 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14780 as_echo_n_body='eval
14784 expr "X$arg" : "X\\(.*\\)$as_nl";
14785 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14787 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14789 export as_echo_n_body
14790 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14792 export as_echo_body
14793 as_echo='sh
-c $as_echo_body as_echo
'
14796 # The user is always right.
14797 if test "${PATH_SEPARATOR+set}" != set; then
14799 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14800 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14807 # We need space, tab and new line, in precisely that order. Quoting is
14808 # there to prevent editors from complaining about space-tab.
14809 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14810 # splitting by setting IFS to empty value.)
14813 # Find who we are. Look in the path if we contain no directory separator.
14816 *[\\/]* ) as_myself=$0 ;;
14817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14818 for as_dir in $PATH
14821 test -z "$as_dir" && as_dir=.
14822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14828 # We did not find ourselves, most probably we were run as `sh COMMAND'
14829 # in which case we are not to be found in the path.
14830 if test "x$as_myself" = x
; then
14833 if test ! -f "$as_myself"; then
14834 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14838 # Unset variables that we do not need and which cause bugs (e.g. in
14839 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14840 # suppresses any "Segmentation fault" message there. '((' could
14841 # trigger a bug in pdksh 5.2.14.
14842 for as_var
in BASH_ENV ENV MAIL MAILPATH
14843 do eval test x\
${$as_var+set} = xset \
14844 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14857 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14860 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14861 # ----------------------------------------
14862 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14863 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14864 # script with STATUS, using 1 if that was 0.
14867 as_status
=$1; test $as_status -eq 0 && as_status
=1
14869 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14870 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14872 $as_echo "$as_me: error: $2" >&2
14873 as_fn_exit
$as_status
14877 # as_fn_set_status STATUS
14878 # -----------------------
14879 # Set $? to STATUS, without forking.
14880 as_fn_set_status
()
14883 } # as_fn_set_status
14885 # as_fn_exit STATUS
14886 # -----------------
14887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14891 as_fn_set_status
$1
14897 # Portably unset VAR.
14900 { eval $1=; unset $1;}
14902 as_unset
=as_fn_unset
14903 # as_fn_append VAR VALUE
14904 # ----------------------
14905 # Append the text in VALUE to the end of the definition contained in VAR. Take
14906 # advantage of any shell optimizations that allow amortized linear growth over
14907 # repeated appends, instead of the typical quadratic growth present in naive
14909 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14910 eval 'as_fn_append ()
14921 # as_fn_arith ARG...
14922 # ------------------
14923 # Perform arithmetic evaluation on the ARGs, and store the result in the
14924 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14925 # must be portable across $(()) and expr.
14926 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14927 eval 'as_fn_arith ()
14934 as_val
=`expr "$@" || test $? -eq 1`
14939 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14940 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14946 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14947 as_basename
=basename
14952 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14958 as_me
=`$as_basename -- "$0" ||
14959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14960 X"$0" : 'X\(//\)$' \| \
14961 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14963 sed '/^.*\/\([^/][^/]*\)\/*$/{
14977 # Avoid depending upon Character Ranges.
14978 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14979 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14980 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14981 as_cr_digits
='0123456789'
14982 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14984 ECHO_C
= ECHO_N
= ECHO_T
=
14985 case `echo -n x` in #(((((
14987 case `echo 'xy\c'` in
14988 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14990 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14997 rm -f conf$$ conf$$.exe conf$$.
file
14998 if test -d conf$$.dir
; then
14999 rm -f conf$$.dir
/conf$$.
file
15002 mkdir conf$$.dir
2>/dev
/null
15004 if (echo >conf$$.
file) 2>/dev
/null
; then
15005 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15007 # ... but there are two gotchas:
15008 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15009 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15010 # In both cases, we have to default to `cp -pR'.
15011 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15013 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15021 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15022 rmdir conf$$.dir
2>/dev
/null
15027 # Create "$as_dir" as a directory, including parents if necessary.
15032 -*) as_dir
=.
/$as_dir;;
15034 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15038 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15039 *) as_qdir
=$as_dir;;
15041 as_dirs
="'$as_qdir' $as_dirs"
15042 as_dir
=`$as_dirname -- "$as_dir" ||
15043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15044 X"$as_dir" : 'X\(//\)[^/]' \| \
15045 X"$as_dir" : 'X\(//\)$' \| \
15046 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15047 $as_echo X"$as_dir" |
15048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15052 /^X\(\/\/\)[^/].*/{
15065 test -d "$as_dir" && break
15067 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15068 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15072 if mkdir
-p .
2>/dev
/null
; then
15073 as_mkdir_p
='mkdir -p "$as_dir"'
15075 test -d .
/-p && rmdir .
/-p
15080 # as_fn_executable_p FILE
15081 # -----------------------
15082 # Test if FILE is an executable regular file.
15083 as_fn_executable_p
()
15085 test -f "$1" && test -x "$1"
15086 } # as_fn_executable_p
15087 as_test_x
='test -x'
15088 as_executable_p
=as_fn_executable_p
15090 # Sed expression to map a string onto a valid CPP name.
15091 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15093 # Sed expression to map a string onto a valid variable name.
15094 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15098 ## ----------------------------------- ##
15099 ## Main body of $CONFIG_STATUS script. ##
15100 ## ----------------------------------- ##
15102 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15105 # Save the log message, to keep $0 and so on meaningful, and to
15106 # report actual input values of CONFIG_FILES etc. instead of their
15107 # values after options handling.
15109 This file was extended by package-unused $as_me version-unused, which was
15110 generated by GNU Autoconf 2.69. Invocation command line was
15112 CONFIG_FILES = $CONFIG_FILES
15113 CONFIG_HEADERS = $CONFIG_HEADERS
15114 CONFIG_LINKS = $CONFIG_LINKS
15115 CONFIG_COMMANDS = $CONFIG_COMMANDS
15118 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15123 case $ac_config_files in *"
15124 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15127 case $ac_config_headers in *"
15128 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15133 # Files that config.status was made for.
15134 config_files="$ac_config_files"
15135 config_headers="$ac_config_headers"
15136 config_commands="$ac_config_commands"
15140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15142 \`$as_me' instantiates files and other configuration actions
15143 from templates according to the current configuration. Unless the files
15144 and actions are specified as TAGs, all are instantiated by default.
15146 Usage: $0 [OPTION]... [TAG]...
15148 -h, --help print this help, then exit
15149 -V, --version print version number and configuration settings, then exit
15150 --config print configuration, then exit
15151 -q, --quiet, --silent
15152 do not print progress messages
15153 -d, --debug don't remove temporary files
15154 --recheck update $as_me by reconfiguring in the same conditions
15155 --file=FILE[:TEMPLATE]
15156 instantiate the configuration file FILE
15157 --header=FILE[:TEMPLATE]
15158 instantiate the configuration header FILE
15160 Configuration files:
15163 Configuration headers:
15166 Configuration commands:
15169 Report bugs to the package provider."
15172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15173 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15175 package-unused config.status version-unused
15176 configured by $0, generated by GNU Autoconf 2.69,
15177 with options \\"\$ac_cs_config\\"
15179 Copyright (C) 2012 Free Software Foundation, Inc.
15180 This config.status script is free software; the Free Software Foundation
15181 gives unlimited permission to copy, distribute and modify it."
15188 test -n "\$AWK" || AWK=awk
15191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15192 # The default lists apply if the user does not specify any file.
15198 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15199 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15203 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15215 # Handling of the options.
15216 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15218 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15219 $as_echo "$ac_cs_version"; exit ;;
15220 --config |
--confi |
--conf |
--con |
--co |
--c )
15221 $as_echo "$ac_cs_config"; exit ;;
15222 --debug |
--debu |
--deb |
--de |
--d |
-d )
15224 --file |
--fil |
--fi |
--f )
15227 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15228 '') as_fn_error $?
"missing file argument" ;;
15230 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15231 ac_need_defaults
=false
;;
15232 --header |
--heade |
--head |
--hea )
15235 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15237 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15238 ac_need_defaults
=false
;;
15240 # Conflict between --help and --header
15241 as_fn_error $?
"ambiguous option: \`$1'
15242 Try \`$0 --help' for more information.";;
15243 --help |
--hel |
-h )
15244 $as_echo "$ac_cs_usage"; exit ;;
15245 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15246 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15249 # This is an error.
15250 -*) as_fn_error $?
"unrecognized option: \`$1'
15251 Try \`$0 --help' for more information." ;;
15253 *) as_fn_append ac_config_targets
" $1"
15254 ac_need_defaults
=false
;;
15260 ac_configure_extra_args
=
15262 if $ac_cs_silent; then
15264 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15269 if \$ac_cs_recheck; then
15270 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15272 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15273 CONFIG_SHELL='$SHELL'
15274 export CONFIG_SHELL
15279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15283 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15284 ## Running $as_me. ##
15290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15298 with_multisubdir="$with_multisubdir"
15299 with_multisrctop="$with_multisrctop"
15300 with_target_subdir="$with_target_subdir"
15301 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15302 multi_basedir="$multi_basedir"
15303 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15306 GFORTRAN="$GFORTRAN"
15310 # The HP-UX ksh and POSIX shell print the target directory to stdout
15311 # if CDPATH is set.
15312 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15314 sed_quote_subst='$sed_quote_subst'
15315 double_quote_subst='$double_quote_subst'
15316 delay_variable_subst='$delay_variable_subst'
15317 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15318 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15319 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15320 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15321 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15322 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15323 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15324 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15325 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15326 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15327 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15328 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15329 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15330 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15331 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15332 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15333 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15334 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15335 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15336 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15337 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15338 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15339 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15340 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15341 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15342 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15343 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15344 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15345 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15346 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15347 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15348 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15349 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15350 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15351 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15352 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15353 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15354 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15355 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15356 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15357 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15358 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15359 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15360 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15361 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15362 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15363 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15364 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15365 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"`'
15366 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15367 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15368 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15369 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15370 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15371 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15372 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15373 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15374 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15375 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15376 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15377 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15378 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15379 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15380 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15381 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15382 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15383 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15384 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15385 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15386 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15387 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15388 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15389 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15390 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15391 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15392 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15393 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15394 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15395 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15396 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15397 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15398 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15399 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15400 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15401 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15402 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15403 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15404 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15405 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15406 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15407 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15408 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15409 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15410 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15411 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15412 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15413 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15414 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15415 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15416 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15417 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15418 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15419 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15420 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15421 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15422 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15423 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15424 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15425 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15426 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15427 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15428 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15429 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15430 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15431 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15432 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15433 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15434 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15435 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15436 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15439 LTCFLAGS='$LTCFLAGS'
15440 compiler='$compiler_DEFAULT'
15442 # A function that is used when there is no print builtin or printf.
15443 func_fallback_echo ()
15445 eval 'cat <<_LTECHO_EOF
15450 # Quote evaled strings.
15464 deplibs_check_method \
15473 lt_cv_sys_global_symbol_pipe \
15474 lt_cv_sys_global_symbol_to_cdecl \
15475 lt_cv_sys_global_symbol_to_c_name_address \
15476 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15477 lt_prog_compiler_no_builtin_flag \
15478 lt_prog_compiler_wl \
15479 lt_prog_compiler_pic \
15480 lt_prog_compiler_static \
15481 lt_cv_prog_compiler_c_o \
15489 export_dynamic_flag_spec \
15490 whole_archive_flag_spec \
15491 compiler_needs_object \
15493 allow_undefined_flag \
15494 no_undefined_flag \
15495 hardcode_libdir_flag_spec \
15496 hardcode_libdir_flag_spec_ld \
15497 hardcode_libdir_separator \
15502 variables_saved_for_relink \
15504 library_names_spec \
15506 install_override_mode \
15510 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15511 *[\\\\\\\`\\"\\\$]*)
15512 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15515 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15520 # Double-quote double-evaled strings.
15521 for var in reload_cmds \
15522 old_postinstall_cmds \
15523 old_postuninstall_cmds \
15525 extract_expsyms_cmds \
15526 old_archive_from_new_cmds \
15527 old_archive_from_expsyms_cmds \
15529 archive_expsym_cmds \
15531 module_expsym_cmds \
15532 export_symbols_cmds \
15535 postuninstall_cmds \
15537 sys_lib_search_path_spec \
15538 sys_lib_dlsearch_path_spec; do
15539 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15540 *[\\\\\\\`\\"\\\$]*)
15541 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15544 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15549 ac_aux_dir='$ac_aux_dir'
15550 xsi_shell='$xsi_shell'
15551 lt_shell_append='$lt_shell_append'
15553 # See if we are running on zsh, and set the options which allow our
15554 # commands through without removal of \ escapes INIT.
15555 if test -n "\${ZSH_VERSION+set}" ; then
15556 setopt NO_GLOB_SUBST
15562 TIMESTAMP='$TIMESTAMP'
15571 acx_cv_header_stdint="$acx_cv_header_stdint"
15572 acx_cv_type_int8_t="$acx_cv_type_int8_t"
15573 acx_cv_type_int16_t="$acx_cv_type_int16_t"
15574 acx_cv_type_int32_t="$acx_cv_type_int32_t"
15575 acx_cv_type_int64_t="$acx_cv_type_int64_t"
15576 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
15577 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
15578 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
15579 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15580 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15581 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
15582 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15583 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15584 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
15587 # Variables needed in config.status (file generation) which aren't already
15588 # passed by autoconf.
15594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15596 # Handling of arguments.
15597 for ac_config_target
in $ac_config_targets
15599 case $ac_config_target in
15600 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15601 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15602 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15603 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
15604 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15605 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
15606 "install-debuginfo-for-buildid.sh") CONFIG_FILES
="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
15607 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15609 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15614 # If the user did not use the arguments to specify the items to instantiate,
15615 # then the envvar interface is used. Set only those that are not.
15616 # We use the long form for the default assignment because of an extremely
15617 # bizarre bug on SunOS 4.1.3.
15618 if $ac_need_defaults; then
15619 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15620 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15621 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15624 # Have a temporary directory for convenience. Make it in the build tree
15625 # simply because there is no reason against having it here, and in addition,
15626 # creating and moving files from /tmp can sometimes cause problems.
15627 # Hook for its removal unless debugging.
15628 # Note that there is a small window in which the directory will not be cleaned:
15629 # after its creation but before its name has been assigned to `$tmp'.
15633 trap 'exit_status=$?
15634 : "${ac_tmp:=$tmp}"
15635 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15637 trap 'as_fn_exit 1' 1 2 13 15
15639 # Create a (secure) tmp directory for tmp files.
15642 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15646 tmp
=.
/conf$$
-$RANDOM
15647 (umask 077 && mkdir
"$tmp")
15648 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15651 # Set up the scripts for CONFIG_FILES section.
15652 # No need to generate them if there are no CONFIG_FILES.
15653 # This happens for instance with `./config.status config.h'.
15654 if test -n "$CONFIG_FILES"; then
15657 ac_cr
=`echo X | tr X '\015'`
15658 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15659 # But we know of no other shell where ac_cr would be empty at this
15660 # point, so we can use a bashism as a fallback.
15661 if test "x$ac_cr" = x
; then
15662 eval ac_cr
=\$
\'\\r
\'
15664 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15665 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15668 ac_cs_awk_cr
=$ac_cr
15671 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15676 echo "cat >conf$$subs.awk <<_ACEOF" &&
15677 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15679 } >conf$$subs.sh ||
15680 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15681 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15683 for ac_last_try in false false false false false :; do
15684 . ./conf$$subs.sh ||
15685 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15687 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15688 if test $ac_delim_n = $ac_delim_num; then
15690 elif $ac_last_try; then
15691 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15693 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15696 rm -f conf$$subs.sh
15698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15699 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15703 s/^/S["/; s
/!.
*/"]=/
15713 s/\(.\{148\}\)..*/\1/
15715 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15720 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15727 s/\(.\{148\}\)..*/\1/
15729 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15733 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15738 ' <conf$$subs.awk | sed '
15743 ' >>$CONFIG_STATUS || ac_write_fail=1
15744 rm -f conf$$subs.awk
15745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15748 for (key in S) S_is_set[key] = 1
15754 nfields = split(line, field, "@
")
15756 len = length(field[1])
15757 for (i = 2; i < nfields; i++) {
15759 keylen = length(key)
15760 if (S_is_set[key]) {
15762 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15763 len += length(value) + length(field[++i])
15774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15775 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15776 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15779 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15780 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15783 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15784 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15785 # trailing colons and then remove the whole line if VPATH becomes empty
15786 # (actually we leave an empty line to preserve line numbers).
15787 if test "x
$srcdir" = x.; then
15788 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15807 fi # test -n "$CONFIG_FILES"
15809 # Set up the scripts for CONFIG_HEADERS section.
15810 # No need to generate them if there are no CONFIG_HEADERS.
15811 # This happens for instance with `./config.status Makefile'.
15812 if test -n "$CONFIG_HEADERS"; then
15813 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15817 # Transform confdefs.h into an awk script `defines.awk', embedded as
15818 # here-document in config.status, that substitutes the proper values into
15819 # config.h.in to produce config.h.
15821 # Create a delimiter string that does not exist in confdefs.h, to ease
15822 # handling of long lines.
15824 for ac_last_try in false false :; do
15825 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15826 if test -z "$ac_tt"; then
15828 elif $ac_last_try; then
15829 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15831 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15835 # For the awk script, D is an array of macro values keyed by name,
15836 # likewise P contains macro parameters if any. Preserve backslash
15837 # newline sequences.
15839 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15841 s/.\{148\}/&'"$ac_delim"'/g
15844 s/^[ ]*#[ ]*define[ ][ ]*/ /
15851 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15853 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15857 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15858 D["\
1"]=" \
3\\\\\\n
"\\/p
15860 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15865 s/.\{148\}/&'"$ac_delim"'/g
15870 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15873 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15875 ' <confdefs.h | sed '
15876 s/'"$ac_delim"'/"\\\
15877 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880 for (key in D) D_is_set[key] = 1
15883 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15885 split(line, arg, " ")
15886 if (arg[1] == "#") {
15890 defundef
= substr
(arg
[1], 2)
15893 split(mac1
, mac2
, "(") #)
15895 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15896 if (D_is_set
[macro
]) {
15897 # Preserve the white space surrounding the "#".
15898 print prefix
"define", macro P
[macro
] D
[macro
]
15901 # Replace #undef with comments. This is necessary, for example,
15902 # in the case of _POSIX_SOURCE, which is predefined and required
15903 # on some systems where configure will not decide to define it.
15904 if (defundef
== "undef") {
15905 print
"/*", prefix defundef
, macro
, "*/"
15913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15914 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15915 fi # test -n "$CONFIG_HEADERS"
15918 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15923 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15925 case $ac_mode$ac_tag in
15927 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15928 :[FH
]-) ac_tag
=-:-;;
15929 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15946 -) ac_f
="$ac_tmp/stdin";;
15947 *) # Look for the file first in the build tree, then in the source tree
15948 # (if the path is not absolute). The absolute path cannot be DOS-style,
15949 # because $ac_f cannot contain `:'.
15953 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15955 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15957 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15958 as_fn_append ac_file_inputs
" '$ac_f'"
15961 # Let's still pretend it is `configure' which instantiates (i.e., don't
15962 # use $as_me), people would be surprised to read:
15963 # /* config.h. Generated by config.status. */
15964 configure_input
='Generated from '`
15965 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15967 if test x
"$ac_file" != x-
; then
15968 configure_input
="$ac_file. $configure_input"
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15970 $as_echo "$as_me: creating $ac_file" >&6;}
15972 # Neutralize special characters interpreted by sed in replacement strings.
15973 case $configure_input in #(
15974 *\
&* |
*\|
* |
*\\* )
15975 ac_sed_conf_input
=`$as_echo "$configure_input" |
15976 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15977 *) ac_sed_conf_input
=$configure_input;;
15981 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15982 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15987 ac_dir
=`$as_dirname -- "$ac_file" ||
15988 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15989 X"$ac_file" : 'X\(//\)[^/]' \| \
15990 X"$ac_file" : 'X\(//\)$' \| \
15991 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15992 $as_echo X"$ac_file" |
15993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15997 /^X\(\/\/\)[^/].*/{
16010 as_dir
="$ac_dir"; as_fn_mkdir_p
16014 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16016 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16017 # A ".." for each directory in $ac_dir_suffix.
16018 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16019 case $ac_top_builddir_sub in
16020 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16021 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16024 ac_abs_top_builddir
=$ac_pwd
16025 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16026 # for backward compatibility:
16027 ac_top_builddir
=$ac_top_build_prefix
16030 .
) # We are building in place.
16032 ac_top_srcdir
=$ac_top_builddir_sub
16033 ac_abs_top_srcdir
=$ac_pwd ;;
16034 [\\/]* | ?
:[\\/]* ) # Absolute name.
16035 ac_srcdir
=$srcdir$ac_dir_suffix;
16036 ac_top_srcdir
=$srcdir
16037 ac_abs_top_srcdir
=$srcdir ;;
16038 *) # Relative name.
16039 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16040 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16041 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16043 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16053 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16054 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16056 ac_MKDIR_P
=$MKDIR_P
16058 [\\/$
]* | ?
:[\\/]* ) ;;
16059 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16064 # If the template does not know about datarootdir, expand it.
16065 # FIXME: This hack should be removed a few years after 2.60.
16066 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16077 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16078 *datarootdir
*) ac_datarootdir_seen
=yes;;
16079 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16081 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16084 ac_datarootdir_hack='
16085 s&@datadir@&$datadir&g
16086 s&@docdir@&$docdir&g
16087 s&@infodir@&$infodir&g
16088 s&@localedir@&$localedir&g
16089 s&@mandir@&$mandir&g
16090 s&\\\${datarootdir}&$datarootdir&g' ;;
16094 # Neutralize VPATH when `$srcdir' = `.'.
16095 # Shell code in configure.ac might set extrasub.
16096 # FIXME: do we really want to maintain this feature?
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 ac_sed_extra="$ac_vpsub
16101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16103 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16104 s|@configure_input@|
$ac_sed_conf_input|
;t t
16105 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16106 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16107 s
&@srcdir@
&$ac_srcdir&;t t
16108 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16109 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16110 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16111 s
&@builddir@
&$ac_builddir&;t t
16112 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16113 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16114 s
&@INSTALL@
&$ac_INSTALL&;t t
16115 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16116 $ac_datarootdir_hack
16118 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16119 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16121 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16122 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16123 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16124 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16126 which seems to be undefined. Please make sure it is defined" >&5
16127 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16128 which seems to be undefined. Please make sure it is defined" >&2;}
16130 rm -f "$ac_tmp/stdin"
16132 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16133 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16141 if test x"$ac_file" != x-; then
16143 $as_echo "/* $configure_input */" \
16144 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16145 } >"$ac_tmp/config.h" \
16146 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16147 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16149 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16152 mv "$ac_tmp/config.h" "$ac_file" \
16153 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16156 $as_echo "/* $configure_input */" \
16157 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16158 || as_fn_error $? "could not create -" "$LINENO" 5
16160 # Compute "$ac_file"'s index
in $config_headers.
16163 for _am_header
in $config_headers :; do
16164 case $_am_header in
16165 $_am_arg |
$_am_arg:* )
16168 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16171 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16172 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16173 X"$_am_arg" : 'X\(//\)[^/]' \| \
16174 X"$_am_arg" : 'X\(//\)$' \| \
16175 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16176 $as_echo X"$_am_arg" |
16177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16181 /^X\(\/\/\)[^/].*/{
16193 s/.*/./; q'`/stamp-h
$_am_stamp_count
16196 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16197 $as_echo "$as_me: executing $ac_file commands" >&6;}
16202 case $ac_file$ac_mode in
16204 # Only add multilib support code if we just rebuilt the top-level
16206 case " $CONFIG_FILES " in
16208 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16213 # See if we are running on zsh, and set the options which allow our
16214 # commands through without removal of \ escapes.
16215 if test -n "${ZSH_VERSION+set}" ; then
16216 setopt NO_GLOB_SUBST
16219 cfgfile
="${ofile}T"
16220 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16223 cat <<_LT_EOF >> "$cfgfile"
16226 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16227 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16228 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16229 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16231 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16232 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16233 # Written by Gordon Matzigkeit, 1996
16235 # This file is part of GNU Libtool.
16237 # GNU Libtool is free software; you can redistribute it and/or
16238 # modify it under the terms of the GNU General Public License as
16239 # published by the Free Software Foundation; either version 2 of
16240 # the License, or (at your option) any later version.
16242 # As a special exception to the GNU General Public License,
16243 # if you distribute this file as part of a program or library that
16244 # is built using GNU Libtool, you may include this file under the
16245 # same distribution terms that you use for the rest of that program.
16247 # GNU Libtool is distributed in the hope that it will be useful,
16248 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16249 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16250 # GNU General Public License for more details.
16252 # You should have received a copy of the GNU General Public License
16253 # along with GNU Libtool; see the file COPYING. If not, a copy
16254 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16255 # obtained by writing to the Free Software Foundation, Inc.,
16256 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16259 # The names of the tagged configurations supported by this script.
16262 # ### BEGIN LIBTOOL CONFIG
16264 # Which release of libtool.m4 was used?
16265 macro_version=$macro_version
16266 macro_revision=$macro_revision
16268 # Whether or not to build shared libraries.
16269 build_libtool_libs=$enable_shared
16271 # Whether or not to build static libraries.
16272 build_old_libs=$enable_static
16274 # What type of objects to build.
16277 # Whether or not to optimize for fast installation.
16278 fast_install=$enable_fast_install
16280 # Shell to use when invoking shell scripts.
16283 # An echo program that protects backslashes.
16287 host_alias=$host_alias
16291 # The build system.
16292 build_alias=$build_alias
16296 # A sed program that does not truncate output.
16299 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16300 Xsed="\$SED -e 1s/^X//"
16302 # A grep program that handles long lines.
16308 # A literal string matcher.
16311 # A BSD- or MS-compatible name lister.
16314 # Whether we need soft or hard links.
16317 # What is the maximum length of a command?
16318 max_cmd_len=$max_cmd_len
16320 # Object file suffix (normally "o").
16323 # Executable file suffix (normally "").
16326 # whether the shell understands "unset".
16329 # turn spaces into newlines.
16332 # turn newlines into spaces.
16335 # An object symbol dumper.
16336 OBJDUMP=$lt_OBJDUMP
16338 # Method to check whether dependent libraries are shared objects.
16339 deplibs_check_method=$lt_deplibs_check_method
16341 # Command to use when deplibs_check_method == "file_magic".
16342 file_magic_cmd=$lt_file_magic_cmd
16346 AR_FLAGS=$lt_AR_FLAGS
16348 # A symbol stripping program.
16351 # Commands used to install an old-style archive.
16353 old_postinstall_cmds=$lt_old_postinstall_cmds
16354 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16356 # Whether to use a lock for old archive extraction.
16357 lock_old_archive_extraction=$lock_old_archive_extraction
16362 # LTCC compiler flags.
16363 LTCFLAGS=$lt_CFLAGS
16365 # Take the output of nm and produce a listing of raw symbols and C names.
16366 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16368 # Transform the output of nm in a proper C declaration.
16369 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16371 # Transform the output of nm in a C name address pair.
16372 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16374 # Transform the output of nm in a C name address pair when lib prefix is needed.
16375 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16377 # The name of the directory that contains temporary libtool files.
16380 # Used to examine libraries when file_magic_cmd begins with "file".
16381 MAGIC_CMD=$MAGIC_CMD
16383 # Must we lock files when doing compilation?
16384 need_locks=$lt_need_locks
16386 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16387 DSYMUTIL=$lt_DSYMUTIL
16389 # Tool to change global to local symbols on Mac OS X.
16392 # Tool to manipulate fat objects and archives on Mac OS X.
16395 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16398 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16399 OTOOL64=$lt_OTOOL64
16401 # Old archive suffix (normally "a").
16404 # Shared library suffix (normally ".so").
16405 shrext_cmds=$lt_shrext_cmds
16407 # The commands to extract the exported symbol list from a shared archive.
16408 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16410 # Variables whose values should be saved in libtool wrapper scripts and
16411 # restored at link time.
16412 variables_saved_for_relink=$lt_variables_saved_for_relink
16414 # Do we need the "lib" prefix for modules?
16415 need_lib_prefix=$need_lib_prefix
16417 # Do we need a version for libraries?
16418 need_version=$need_version
16420 # Library versioning type.
16421 version_type=$version_type
16423 # Shared library runtime path variable.
16424 runpath_var=$runpath_var
16426 # Shared library path variable.
16427 shlibpath_var=$shlibpath_var
16429 # Is shlibpath searched before the hard-coded library search path?
16430 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16432 # Format of library name prefix.
16433 libname_spec=$lt_libname_spec
16435 # List of archive names. First name is the real one, the rest are links.
16436 # The last name is the one that the linker finds with -lNAME
16437 library_names_spec=$lt_library_names_spec
16439 # The coded name of the library, if different from the real name.
16440 soname_spec=$lt_soname_spec
16442 # Permission mode override for installation of shared libraries.
16443 install_override_mode=$lt_install_override_mode
16445 # Command to use after installation of a shared archive.
16446 postinstall_cmds=$lt_postinstall_cmds
16448 # Command to use after uninstallation of a shared archive.
16449 postuninstall_cmds=$lt_postuninstall_cmds
16451 # Commands used to finish a libtool library installation in a directory.
16452 finish_cmds=$lt_finish_cmds
16454 # As "finish_cmds", except a single script fragment to be evaled but
16456 finish_eval=$lt_finish_eval
16458 # Whether we should hardcode library paths into libraries.
16459 hardcode_into_libs=$hardcode_into_libs
16461 # Compile-time system search path for libraries.
16462 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16464 # Run-time system search path for libraries.
16465 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16467 # Whether dlopen is supported.
16468 dlopen_support=$enable_dlopen
16470 # Whether dlopen of programs is supported.
16471 dlopen_self=$enable_dlopen_self
16473 # Whether dlopen of statically linked programs is supported.
16474 dlopen_self_static=$enable_dlopen_self_static
16476 # Commands to strip libraries.
16477 old_striplib=$lt_old_striplib
16478 striplib=$lt_striplib
16481 # The linker used to build libraries.
16484 # How to create reloadable object files.
16485 reload_flag=$lt_reload_flag
16486 reload_cmds=$lt_reload_cmds
16488 # Commands used to build an old-style archive.
16489 old_archive_cmds=$lt_old_archive_cmds
16491 # A language specific compiler.
16494 # Is the compiler the GNU compiler?
16497 # Compiler flag to turn off builtin functions.
16498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16500 # How to pass a linker flag through the compiler.
16501 wl=$lt_lt_prog_compiler_wl
16503 # Additional compiler flags for building library objects.
16504 pic_flag=$lt_lt_prog_compiler_pic
16506 # Compiler flag to prevent dynamic linking.
16507 link_static_flag=$lt_lt_prog_compiler_static
16509 # Does compiler simultaneously support -c and -o options?
16510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16512 # Whether or not to add -lc for building shared libraries.
16513 build_libtool_need_lc=$archive_cmds_need_lc
16515 # Whether or not to disallow shared libs when runtime libs are static.
16516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16518 # Compiler flag to allow reflexive dlopens.
16519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16521 # Compiler flag to generate shared objects directly from archives.
16522 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16524 # Whether the compiler copes with passing no objects directly.
16525 compiler_needs_object=$lt_compiler_needs_object
16527 # Create an old-style archive from a shared archive.
16528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16530 # Create a temporary old-style archive to link instead of a shared archive.
16531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16533 # Commands used to build a shared archive.
16534 archive_cmds=$lt_archive_cmds
16535 archive_expsym_cmds=$lt_archive_expsym_cmds
16537 # Commands used to build a loadable module if different from building
16538 # a shared archive.
16539 module_cmds=$lt_module_cmds
16540 module_expsym_cmds=$lt_module_expsym_cmds
16542 # Whether we are building with GNU ld or not.
16543 with_gnu_ld=$lt_with_gnu_ld
16545 # Flag that allows shared libraries with undefined symbols to be built.
16546 allow_undefined_flag=$lt_allow_undefined_flag
16548 # Flag that enforces no undefined symbols.
16549 no_undefined_flag=$lt_no_undefined_flag
16551 # Flag to hardcode \$libdir into a binary during linking.
16552 # This must work even if \$libdir does not exist
16553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16555 # If ld is used when linking, flag to hardcode \$libdir into a binary
16556 # during linking. This must work even if \$libdir does not exist.
16557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16559 # Whether we need a single "-rpath" flag with a separated argument.
16560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16563 # DIR into the resulting binary.
16564 hardcode_direct=$hardcode_direct
16566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16567 # DIR into the resulting binary and the resulting library dependency is
16568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16569 # library is relocated.
16570 hardcode_direct_absolute=$hardcode_direct_absolute
16572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16573 # into the resulting binary.
16574 hardcode_minus_L=$hardcode_minus_L
16576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16577 # into the resulting binary.
16578 hardcode_shlibpath_var=$hardcode_shlibpath_var
16580 # Set to "yes" if building a shared library automatically hardcodes DIR
16581 # into the library and all subsequent libraries and executables linked
16583 hardcode_automatic=$hardcode_automatic
16585 # Set to yes if linker adds runtime paths of dependent libraries
16586 # to runtime path list.
16587 inherit_rpath=$inherit_rpath
16589 # Whether libtool must link a program against all its dependency libraries.
16590 link_all_deplibs=$link_all_deplibs
16592 # Fix the shell variable \$srcfile for the compiler.
16593 fix_srcfile_path=$lt_fix_srcfile_path
16595 # Set to "yes" if exported symbols are required.
16596 always_export_symbols=$always_export_symbols
16598 # The commands to list exported symbols.
16599 export_symbols_cmds=$lt_export_symbols_cmds
16601 # Symbols that should not be listed in the preloaded symbols.
16602 exclude_expsyms=$lt_exclude_expsyms
16604 # Symbols that must always be exported.
16605 include_expsyms=$lt_include_expsyms
16607 # Commands necessary for linking programs (against libraries) with templates.
16608 prelink_cmds=$lt_prelink_cmds
16610 # Specify filename containing input files.
16611 file_list_spec=$lt_file_list_spec
16613 # How to hardcode a shared library path into an executable.
16614 hardcode_action=$hardcode_action
16616 # ### END LIBTOOL CONFIG
16622 cat <<\_LT_EOF
>> "$cfgfile"
16623 # AIX sometimes has problems with the GCC collect2 program. For some
16624 # reason, if we set the COLLECT_NAMES environment variable, the problems
16625 # vanish in a puff of smoke.
16626 if test "X${COLLECT_NAMES+set}" != Xset
; then
16628 export COLLECT_NAMES
16635 ltmain
="$ac_aux_dir/ltmain.sh"
16638 # We use sed instead of cat because bash on DJGPP gets confused if
16639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16640 # text mode, it properly converts lines to CR/LF. This bash problem
16641 # is reportedly fixed, but why not run on old versions too?
16642 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16643 ||
(rm -f "$cfgfile"; exit 1)
16647 cat << \_LT_EOF
>> "$cfgfile"
16649 # func_dirname file append nondir_replacement
16650 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16651 # otherwise set result to NONDIR_REPLACEMENT.
16655 */*) func_dirname_result
="${1%/*}${2}" ;;
16656 * ) func_dirname_result
="${3}" ;;
16660 # func_basename file
16663 func_basename_result
="${1##*/}"
16666 # func_dirname_and_basename file append nondir_replacement
16667 # perform func_basename and func_dirname in a single function
16669 # dirname: Compute the dirname of FILE. If nonempty,
16670 # add APPEND to the result, otherwise set result
16671 # to NONDIR_REPLACEMENT.
16672 # value returned in "$func_dirname_result"
16673 # basename: Compute filename of FILE.
16674 # value retuned in "$func_basename_result"
16675 # Implementation must be kept synchronized with func_dirname
16676 # and func_basename. For efficiency, we do not delegate to
16677 # those functions but instead duplicate the functionality here.
16678 func_dirname_and_basename
()
16681 */*) func_dirname_result
="${1%/*}${2}" ;;
16682 * ) func_dirname_result
="${3}" ;;
16684 func_basename_result
="${1##*/}"
16687 # func_stripname prefix suffix name
16688 # strip PREFIX and SUFFIX off of NAME.
16689 # PREFIX and SUFFIX must not contain globbing or regex special
16690 # characters, hashes, percent signs, but SUFFIX may contain a leading
16691 # dot (in which case that matches only a dot).
16694 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16695 # positional parameters, so assign one to ordinary parameter first.
16696 func_stripname_result
=${3}
16697 func_stripname_result
=${func_stripname_result#"${1}"}
16698 func_stripname_result
=${func_stripname_result%"${2}"}
16704 func_opt_split_opt
=${1%%=*}
16705 func_opt_split_arg
=${1#*=}
16712 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16713 *) func_lo2o_result
=${1} ;;
16717 # func_xform libobj-or-source
16720 func_xform_result
=${1%.*}.lo
16723 # func_arith arithmetic-term...
16726 func_arith_result
=$
(( $
* ))
16730 # STRING may not start with a hyphen.
16733 func_len_result
=${#1}
16738 *) # Bourne compatible functions.
16739 cat << \_LT_EOF
>> "$cfgfile"
16741 # func_dirname file append nondir_replacement
16742 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16743 # otherwise set result to NONDIR_REPLACEMENT.
16746 # Extract subdirectory from the argument.
16747 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16748 if test "X$func_dirname_result" = "X${1}"; then
16749 func_dirname_result
="${3}"
16751 func_dirname_result
="$func_dirname_result${2}"
16755 # func_basename file
16758 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16762 # func_stripname prefix suffix name
16763 # strip PREFIX and SUFFIX off of NAME.
16764 # PREFIX and SUFFIX must not contain globbing or regex special
16765 # characters, hashes, percent signs, but SUFFIX may contain a leading
16766 # dot (in which case that matches only a dot).
16767 # func_strip_suffix prefix name
16771 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16772 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16777 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16778 my_sed_long_arg
='1s/^-[^=]*=//'
16783 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16784 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16790 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16793 # func_xform libobj-or-source
16796 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16799 # func_arith arithmetic-term...
16802 func_arith_result
=`expr "$@"`
16806 # STRING may not start with a hyphen.
16809 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16815 case $lt_shell_append in
16817 cat << \_LT_EOF
>> "$cfgfile"
16819 # func_append var value
16820 # Append VALUE to the end of shell variable VAR.
16828 cat << \_LT_EOF
>> "$cfgfile"
16830 # func_append var value
16831 # Append VALUE to the end of shell variable VAR.
16842 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16843 ||
(rm -f "$cfgfile"; exit 1)
16845 mv -f "$cfgfile" "$ofile" ||
16846 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16851 if test "$GCC" = yes; then
16852 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16854 echo "/* generated for $CC */" > tmp-stdint.h
16857 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16859 #ifndef GCC_GENERATED_STDINT_H
16860 #define GCC_GENERATED_STDINT_H 1
16862 #include <sys/types.h>
16865 if test "$acx_cv_header_stdint" != stdint.h
; then
16866 echo "#include <stddef.h>" >> tmp-stdint.h
16868 if test "$acx_cv_header_stdint" != stddef.h
; then
16869 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16872 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16873 /* glibc uses these symbols as guards to prevent redefinitions. */
16874 #ifdef __int8_t_defined
16879 #ifdef __uint32_t_defined
16885 # ----------------- done header, emit basic int types -------------
16886 if test "$acx_cv_header_stdint" = stddef.h
; then
16887 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16891 #ifndef __uint8_t_defined
16892 #define __uint8_t_defined
16894 typedef unsigned $acx_cv_type_int8_t uint8_t;
16901 #ifndef __uint16_t_defined
16902 #define __uint16_t_defined
16904 typedef unsigned $acx_cv_type_int16_t uint16_t;
16911 #ifndef __uint32_t_defined
16912 #define __uint32_t_defined
16914 typedef unsigned $acx_cv_type_int32_t uint32_t;
16921 #ifndef __int8_t_defined
16922 #define __int8_t_defined
16924 typedef $acx_cv_type_int8_t int8_t;
16931 #ifndef __int16_t_defined
16932 #define __int16_t_defined
16934 typedef $acx_cv_type_int16_t int16_t;
16941 #ifndef __int32_t_defined
16942 #define __int32_t_defined
16944 typedef $acx_cv_type_int32_t int32_t;
16949 elif test "$ac_cv_type_u_int32_t" = yes; then
16950 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16952 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16965 #ifndef __uint8_t_defined
16966 #define __uint8_t_defined
16968 typedef u_int8_t uint8_t;
16975 #ifndef __uint16_t_defined
16976 #define __uint16_t_defined
16978 typedef u_int16_t uint16_t;
16985 #ifndef __uint32_t_defined
16986 #define __uint32_t_defined
16988 typedef u_int32_t uint32_t;
16994 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16996 /* Some systems have guard macros to prevent redefinitions, define them. */
17018 # ------------- done basic int types, emit int64_t types ------------
17019 if test "$ac_cv_type_uint64_t" = yes; then
17020 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17022 /* system headers have good uint64_t and int64_t */
17030 elif test "$ac_cv_type_u_int64_t" = yes; then
17031 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17033 /* system headers have an u_int64_t (and int64_t) */
17039 #ifndef __uint64_t_defined
17040 #define __uint64_t_defined
17042 typedef u_int64_t uint64_t;
17047 elif test -n "$acx_cv_type_int64_t"; then
17048 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17050 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
17054 typedef $acx_cv_type_int64_t int64_t;
17059 #ifndef __uint64_t_defined
17060 #define __uint64_t_defined
17062 typedef unsigned $acx_cv_type_int64_t uint64_t;
17068 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17070 /* some common heuristics for int64_t, using compiler-specific tests */
17071 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
17074 #ifndef __int64_t_defined
17076 typedef long long int64_t;
17083 typedef unsigned long long uint64_t;
17087 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
17088 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
17089 does not implement __extension__. But that compiler doesn't define
17091 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
17092 # define __extension__
17098 __extension__ typedef long long int64_t;
17104 __extension__ typedef unsigned long long uint64_t;
17108 #elif !defined __STRICT_ANSI__
17109 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
17114 typedef __int64 int64_t;
17120 typedef unsigned __int64 uint64_t;
17123 # endif /* compiler */
17125 #endif /* ANSI version */
17129 # ------------- done int64_t types, emit intptr types ------------
17130 if test "$ac_cv_type_uintptr_t" != yes; then
17131 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17133 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
17134 #ifndef __uintptr_t_defined
17136 typedef u$acx_cv_type_intptr_t uintptr_t;
17139 #ifndef __intptr_t_defined
17141 typedef $acx_cv_type_intptr_t intptr_t;
17147 # ------------- done intptr types, emit int_least types ------------
17148 if test "$ac_cv_type_int_least32_t" != yes; then
17149 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17151 /* Define int_least types */
17152 typedef int8_t int_least8_t;
17153 typedef int16_t int_least16_t;
17154 typedef int32_t int_least32_t;
17156 typedef int64_t int_least64_t;
17159 typedef uint8_t uint_least8_t;
17160 typedef uint16_t uint_least16_t;
17161 typedef uint32_t uint_least32_t;
17163 typedef uint64_t uint_least64_t;
17168 # ------------- done intptr types, emit int_fast types ------------
17169 if test "$ac_cv_type_int_fast32_t" != yes; then
17170 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17172 /* Define int_fast types. short is often slow */
17173 typedef int8_t int_fast8_t;
17174 typedef int int_fast16_t;
17175 typedef int32_t int_fast32_t;
17177 typedef int64_t int_fast64_t;
17180 typedef uint8_t uint_fast8_t;
17181 typedef unsigned int uint_fast16_t;
17182 typedef uint32_t uint_fast32_t;
17184 typedef uint64_t uint_fast64_t;
17189 if test "$ac_cv_type_uintmax_t" != yes; then
17190 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17192 /* Define intmax based on what we found */
17195 typedef int64_t intmax_t;
17197 typedef long intmax_t;
17202 typedef uint64_t uintmax_t;
17204 typedef unsigned long uintmax_t;
17210 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17212 #endif /* GCC_GENERATED_STDINT_H */
17215 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
17218 mv -f tmp-stdint.h gstdint.h
17222 "install-debuginfo-for-buildid.sh":F
) chmod +x install-debuginfo-for-buildid.sh
;;
17223 "default":C
) if test -n "$CONFIG_FILES"; then
17224 if test -n "${with_target_subdir}"; then
17225 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17226 # that multilib installs will end up installed in the correct place.
17227 # The testsuite needs it for multilib-aware ABI baseline files.
17228 # To work around this not being passed down from config-ml.in ->
17229 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17230 # append it here. Only modify Makefiles that have just been created.
17232 # Also, get rid of this simulated-VPATH thing that automake does.
17233 cat > vpsed
<< \_EOF
17234 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17236 for i
in $SUBDIRS; do
17237 case $CONFIG_FILES in
17239 #echo "Adding MULTISUBDIR to $i/Makefile"
17240 sed -f vpsed
$i/Makefile
> tmp
17241 grep '^MULTISUBDIR =' Makefile
>> tmp
17257 ac_clean_files
=$ac_clean_files_save
17259 test $ac_write_fail = 0 ||
17260 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17263 # configure is writing to config.log, and then calls config.status.
17264 # config.status does its own redirection, appending to config.log.
17265 # Unfortunately, on DOS this fails, as config.log is still kept open
17266 # by configure, so config.status won't be able to write to it; its
17267 # output is simply discarded. So we exec the FD to /dev/null,
17268 # effectively closing config.log, so it can be properly (re)opened and
17269 # appended to by config.status. When coming back to configure, we
17270 # need to make the FD available again.
17271 if test "$no_create" != yes; then
17273 ac_config_status_args
=
17274 test "$silent" = yes &&
17275 ac_config_status_args
="$ac_config_status_args --quiet"
17277 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17279 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17280 # would make configure fail if this is the last instruction.
17281 $ac_cs_success || as_fn_exit
1
17283 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17285 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}