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_FALSE
655 HAVE_COMPRESSED_DEBUG_TRUE
664 BACKTRACE_USES_MALLOC
667 BACKTRACE_SUPPORTS_DATA
672 BACKTRACE_SUPPORTS_THREADS
698 MAINTAINER_MODE_FALSE
712 INSTALL_STRIP_PROGRAM
778 program_transform_name
791 enable_option_checking
794 enable_maintainer_mode
804 with_system_libunwind
807 ac_precious_vars
='build_alias
821 # Initialize some variables set by options.
823 ac_init_version
=false
824 ac_unrecognized_opts
=
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
835 program_transform_name
=s
,x
,x
,
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir
='${exec_prefix}/bin'
850 sbindir
='${exec_prefix}/sbin'
851 libexecdir
='${exec_prefix}/libexec'
852 datarootdir
='${prefix}/share'
853 datadir
='${datarootdir}'
854 sysconfdir
='${prefix}/etc'
855 sharedstatedir
='${prefix}/com'
856 localstatedir
='${prefix}/var'
857 includedir
='${prefix}/include'
858 oldincludedir
='/usr/include'
859 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
860 infodir
='${datarootdir}/info'
865 libdir
='${exec_prefix}/lib'
866 localedir
='${datarootdir}/locale'
867 mandir
='${datarootdir}/man'
873 # If the previous option needs an argument, assign it.
874 if test -n "$ac_prev"; then
875 eval $ac_prev=\
$ac_option
881 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
928 as_fn_error $?
"invalid feature name: $ac_useropt"
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 as_fn_error $?
"invalid feature name: $ac_useropt"
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=\
$ac_optarg ;;
966 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
967 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
968 |
--exec |
--exe |
--ex)
969 ac_prev
=exec_prefix
;;
970 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
971 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
972 |
--exec=* |
--exe=* |
--ex=*)
973 exec_prefix
=$ac_optarg ;;
975 -gas |
--gas |
--ga |
--g)
976 # Obsolete; use --with-gas.
979 -help |
--help |
--hel |
--he |
-h)
981 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
982 ac_init_help
=recursive
;;
983 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
984 ac_init_help
=short
;;
986 -host |
--host |
--hos |
--ho)
987 ac_prev
=host_alias
;;
988 -host=* |
--host=* |
--hos=* |
--ho=*)
989 host_alias
=$ac_optarg ;;
991 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
993 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
995 htmldir
=$ac_optarg ;;
997 -includedir |
--includedir |
--includedi |
--included |
--include \
998 |
--includ |
--inclu |
--incl |
--inc)
999 ac_prev
=includedir
;;
1000 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1001 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1002 includedir
=$ac_optarg ;;
1004 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1006 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1007 infodir
=$ac_optarg ;;
1009 -libdir |
--libdir |
--libdi |
--libd)
1011 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1012 libdir
=$ac_optarg ;;
1014 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1015 |
--libexe |
--libex |
--libe)
1016 ac_prev
=libexecdir
;;
1017 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1018 |
--libexe=* |
--libex=* |
--libe=*)
1019 libexecdir
=$ac_optarg ;;
1021 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1022 ac_prev
=localedir
;;
1023 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1024 localedir
=$ac_optarg ;;
1026 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1027 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1028 ac_prev
=localstatedir
;;
1029 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1030 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1031 localstatedir
=$ac_optarg ;;
1033 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1035 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1036 mandir
=$ac_optarg ;;
1038 -nfp |
--nfp |
--nf)
1039 # Obsolete; use --without-fp.
1042 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1043 |
--no-cr |
--no-c |
-n)
1046 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1047 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1050 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1051 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1052 |
--oldin |
--oldi |
--old |
--ol |
--o)
1053 ac_prev
=oldincludedir
;;
1054 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1055 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1056 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1057 oldincludedir
=$ac_optarg ;;
1059 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1061 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1062 prefix
=$ac_optarg ;;
1064 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1065 |
--program-pre |
--program-pr |
--program-p)
1066 ac_prev
=program_prefix
;;
1067 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1068 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1069 program_prefix
=$ac_optarg ;;
1071 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1072 |
--program-suf |
--program-su |
--program-s)
1073 ac_prev
=program_suffix
;;
1074 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1075 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1076 program_suffix
=$ac_optarg ;;
1078 -program-transform-name |
--program-transform-name \
1079 |
--program-transform-nam |
--program-transform-na \
1080 |
--program-transform-n |
--program-transform- \
1081 |
--program-transform |
--program-transfor \
1082 |
--program-transfo |
--program-transf \
1083 |
--program-trans |
--program-tran \
1084 |
--progr-tra |
--program-tr |
--program-t)
1085 ac_prev
=program_transform_name
;;
1086 -program-transform-name=* |
--program-transform-name=* \
1087 |
--program-transform-nam=* |
--program-transform-na=* \
1088 |
--program-transform-n=* |
--program-transform-=* \
1089 |
--program-transform=* |
--program-transfor=* \
1090 |
--program-transfo=* |
--program-transf=* \
1091 |
--program-trans=* |
--program-tran=* \
1092 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1093 program_transform_name
=$ac_optarg ;;
1095 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1097 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1098 pdfdir
=$ac_optarg ;;
1100 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1102 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1106 |
-silent |
--silent |
--silen |
--sile |
--sil)
1109 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1111 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1113 sbindir
=$ac_optarg ;;
1115 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1116 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1117 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1119 ac_prev
=sharedstatedir
;;
1120 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1121 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1122 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1124 sharedstatedir
=$ac_optarg ;;
1126 -site |
--site |
--sit)
1128 -site=* |
--site=* |
--sit=*)
1131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1134 srcdir
=$ac_optarg ;;
1136 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1137 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1138 ac_prev
=sysconfdir
;;
1139 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1140 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1141 sysconfdir
=$ac_optarg ;;
1143 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1144 ac_prev
=target_alias
;;
1145 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1146 target_alias
=$ac_optarg ;;
1148 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1151 -version |
--version |
--versio |
--versi |
--vers |
-V)
1152 ac_init_version
=: ;;
1155 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=no
;;
1187 # Obsolete; use --with-x.
1190 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1191 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1192 ac_prev
=x_includes
;;
1193 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1194 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1195 x_includes
=$ac_optarg ;;
1197 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1198 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1199 ac_prev
=x_libraries
;;
1200 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1201 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1202 x_libraries
=$ac_optarg ;;
1204 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1205 Try \`$0 --help' for more information"
1209 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1210 # Reject names that are not valid shell variable names.
1211 case $ac_envvar in #(
1212 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1213 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1215 eval $ac_envvar=\
$ac_optarg
1216 export $ac_envvar ;;
1219 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229 if test -n "$ac_prev"; then
1230 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1231 as_fn_error $?
"missing argument to $ac_option"
1234 if test -n "$ac_unrecognized_opts"; then
1235 case $enable_option_checking in
1237 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 # Check all directory arguments for consistency.
1243 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244 datadir sysconfdir sharedstatedir localstatedir includedir \
1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246 libdir localedir mandir
1248 eval ac_val
=\$
$ac_var
1249 # Remove trailing slashes.
1252 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253 eval $ac_var=\
$ac_val;;
1255 # Be sure to have absolute directory names.
1257 [\\/$
]* | ?
:[\\/]* ) continue;;
1258 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1260 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1263 # There might be people who depend on the old broken behavior: `$host'
1264 # used to hold the argument of --host etc.
1265 # FIXME: To remove some day.
1268 target
=$target_alias
1270 # FIXME: To remove some day.
1271 if test "x$host_alias" != x
; then
1272 if test "x$build_alias" = x
; then
1273 cross_compiling
=maybe
1274 elif test "x$build_alias" != "x$host_alias"; then
1280 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1282 test "$silent" = yes && exec 6>/dev
/null
1285 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1286 ac_ls_di
=`ls -di .` &&
1287 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1288 as_fn_error $?
"working directory cannot be determined"
1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290 as_fn_error $?
"pwd does not report name of working directory"
1293 # Find the source files, if location was not specified.
1294 if test -z "$srcdir"; then
1295 ac_srcdir_defaulted
=yes
1296 # Try the directory containing this script, then the parent directory.
1297 ac_confdir
=`$as_dirname -- "$as_myself" ||
1298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1299 X"$as_myself" : 'X\(//\)[^/]' \| \
1300 X"$as_myself" : 'X\(//\)$' \| \
1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1302 $as_echo X"$as_myself" |
1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1325 ac_srcdir_defaulted
=no
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1328 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1329 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1331 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335 # When building in place, set srcdir=.
1336 if test "$ac_abs_confdir" = "$ac_pwd"; then
1339 # Remove unnecessary trailing slashes from srcdir.
1340 # Double slashes in file names in object file debugging info
1341 # mess up M-x gdb in Emacs.
1343 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 for ac_var
in $ac_precious_vars; do
1346 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1348 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1349 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1353 # Report the --help message.
1355 if test "$ac_init_help" = "long"; then
1356 # Omit some internal or obsolete options to make the list less imposing.
1357 # This message is too long to be a string in the A/UX 3.1 sh.
1359 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1361 Usage: $0 [OPTION]... [VAR=VALUE]...
1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364 VAR=VALUE. See below for descriptions of some of the useful variables.
1366 Defaults for the options are specified in brackets.
1369 -h, --help display this help and exit
1370 --help=short display options specific to this package
1371 --help=recursive display the short help of all the included packages
1372 -V, --version display version information and exit
1373 -q, --quiet, --silent do not print \`checking ...' messages
1374 --cache-file=FILE cache test results in FILE [disabled]
1375 -C, --config-cache alias for \`--cache-file=config.cache'
1376 -n, --no-create do not create output files
1377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379 Installation directories:
1380 --prefix=PREFIX install architecture-independent files in PREFIX
1381 [$ac_default_prefix]
1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 By default, \`make install' will install all the files in
1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388 for instance \`--prefix=\$HOME'.
1390 For better control, use the options below.
1392 Fine tuning of the installation directories:
1393 --bindir=DIR user executables [EPREFIX/bin]
1394 --sbindir=DIR system admin executables [EPREFIX/sbin]
1395 --libexecdir=DIR program executables [EPREFIX/libexec]
1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1399 --libdir=DIR object code libraries [EPREFIX/lib]
1400 --includedir=DIR C header files [PREFIX/include]
1401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 --infodir=DIR info documentation [DATAROOTDIR/info]
1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1406 --mandir=DIR man documentation [DATAROOTDIR/man]
1407 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1408 --htmldir=DIR html documentation [DOCDIR]
1409 --dvidir=DIR dvi documentation [DOCDIR]
1410 --pdfdir=DIR pdf documentation [DOCDIR]
1411 --psdir=DIR ps documentation [DOCDIR]
1417 --program-prefix=PREFIX prepend PREFIX to installed program names
1418 --program-suffix=SUFFIX append SUFFIX to installed program names
1419 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1422 --build=BUILD configure
for building on BUILD
[guessed
]
1423 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1424 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1428 if test -n "$ac_init_help"; then
1429 case $ac_init_help in
1430 short | recursive
) echo "Configuration of package-unused version-unused:";;
1435 --disable-option-checking ignore unrecognized
--enable/--with options
1436 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1437 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1438 --enable-multilib build many library versions
(default
)
1439 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1440 --disable-silent-rules verbose build output
(undo
: "make V=0")
1441 --enable-maintainer-mode
1442 enable make rules and dependencies not useful
(and
1443 sometimes confusing
) to the casual installer
1444 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1445 --enable-static[=PKGS
] build static libraries
[default
=yes]
1446 --enable-fast-install[=PKGS
]
1447 optimize
for fast installation
[default
=yes]
1448 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1449 --disable-largefile omit support
for large files
1450 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1451 --enable-host-shared build
host code as shared libraries
1452 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1455 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1456 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1457 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1458 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1460 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1461 --with-system-libunwind use installed libunwind
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1469 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1470 you have headers
in a nonstandard directory
<include dir
>
1472 OBJCOPY location of objcopy
1473 DSYMUTIL location of dsymutil
1476 Use these variables to override the choices made by
`configure' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to the package provider.
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1542 package-unused configure version-unused
1543 generated by GNU Autoconf 2.69
1545 Copyright (C) 2012 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1572 if test -s conftest.err
; then
1573 grep -v '^ *+' conftest.err
>conftest.er1
1574 cat conftest.er1
>&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.
$ac_objext; then :
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.
$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status
$ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } > conftest.i && {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1631 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1632 # -------------------------------------------------------
1633 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1634 # the include files in INCLUDES and setting the cache variable VAR
1636 ac_fn_c_check_header_mongrel ()
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 if eval \${$3+:} false; then :
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if eval \${$3+:} false; then :
1643 $as_echo_n "(cached) " >&6
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 $as_echo "$ac_res" >&6; }
1649 # Is the header compilable?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1651 $as_echo_n "checking $2 usability... " >&6; }
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1658 ac_header_compiler=yes
1660 ac_header_compiler=no
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1664 $as_echo "$ac_header_compiler" >&6; }
1666 # Is the header present?
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1668 $as_echo_n "checking $2 presence... " >&6; }
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h. */
1673 if ac_fn_c_try_cpp "$LINENO"; then :
1674 ac_header_preproc=yes
1676 ac_header_preproc=no
1678 rm -f conftest.err conftest.i conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1680 $as_echo "$ac_header_preproc" >&6; }
1682 # So? What about this header?
1683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1686 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1692 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1694 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1696 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1698 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1700 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1708 eval "$3=\$ac_header_compiler"
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_mongrel
1718 # ac_fn_c_try_run LINENO
1719 # ----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1721 # that executables *can* be run.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1736 { { case "(($ac_try" in
1737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_try") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; }; }; then :
1748 $as_echo "$as_me: program exited with status $ac_status" >&5
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1752 ac_retval=$ac_status
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1760 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1761 # -------------------------------------------------------
1762 # Tests whether HEADER exists and can be compiled using the include files in
1763 # INCLUDES, setting the cache variable VAR accordingly.
1764 ac_fn_c_check_header_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 } # ac_fn_c_check_header_compile
1791 # ac_fn_c_try_link LINENO
1792 # -----------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded.
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 rm -f conftest.$ac_objext conftest$ac_exeext
1798 if { { ac_try="$ac_link"
1800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1801 *) ac_try_echo
=$ac_try;;
1803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>conftest.err
1807 if test -s conftest.err
; then
1808 grep -v '^ *+' conftest.err
>conftest.er1
1809 cat conftest.er1
>&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest
$ac_exeext && {
1817 test "$cross_compiling" = yes ||
1818 test -x conftest
$ac_exeext
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.
$ac_ext >&5
1827 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1828 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1829 # interfere with the next link command; also delete a directory that is
1830 # left behind by Apple's compiler. We do this before executing the actions.
1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status
$ac_retval
1835 } # ac_fn_c_try_link
1837 # ac_fn_c_check_func LINENO FUNC VAR
1838 # ----------------------------------
1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1840 ac_fn_c_check_func
()
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \
${$3+:} false
; then :
1846 $as_echo_n "(cached) " >&6
1848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1852 #define $2 innocuous_$2
1854 /* System header to define __stub macros and hopefully few prototypes,
1855 which can conflict with char $2 (); below.
1856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1857 <limits.h> exists even on freestanding compilers. */
1860 # include <limits.h>
1862 # include <assert.h>
1867 /* Override any GCC internal prototype to avoid an error.
1868 Use char because int might match the return type of a GCC
1869 builtin and then its argument prototype would still apply. */
1874 /* The GNU C library defines this for functions which it implements
1875 to always fail with ENOSYS. Some functions are actually named
1876 something starting with __ and the normal name is an alias. */
1877 #if defined __stub_$2 || defined __stub___$2
1889 if ac_fn_c_try_link
"$LINENO"; then :
1894 rm -f core conftest.err conftest.
$ac_objext \
1895 conftest
$ac_exeext conftest.
$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 } # ac_fn_c_check_func
1904 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1905 # -------------------------------------------
1906 # Tests whether TYPE exists after having included INCLUDES, setting cache
1907 # variable VAR accordingly.
1908 ac_fn_c_check_type
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if eval \
${$3+:} false
; then :
1914 $as_echo_n "(cached) " >&6
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1929 if ac_fn_c_try_compile
"$LINENO"; then :
1930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1942 if ac_fn_c_try_compile
"$LINENO"; then :
1947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 } # ac_fn_c_check_type
1958 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1959 # --------------------------------------------
1960 # Tries to find the compile-time value of EXPR in a program that includes
1961 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1963 ac_fn_c_compute_int
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 if test "$cross_compiling" = yes; then
1967 # Depending upon the size, compute the lo and hi bounds.
1968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1974 static int test_array [1 - 2 * !(($2) >= 0)];
1976 return test_array [0];
1982 if ac_fn_c_try_compile
"$LINENO"; then :
1985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1991 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1993 return test_array [0];
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2000 ac_hi
=$ac_mid; break
2002 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2003 if test $ac_lo -le $ac_mid; then
2007 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2018 static int test_array [1 - 2 * !(($2) < 0)];
2020 return test_array [0];
2026 if ac_fn_c_try_compile
"$LINENO"; then :
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2035 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2037 return test_array [0];
2043 if ac_fn_c_try_compile
"$LINENO"; then :
2044 ac_lo
=$ac_mid; break
2046 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2047 if test $ac_mid -le $ac_hi; then
2051 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2061 # Binary search between lo and hi bounds.
2062 while test "x$ac_lo" != "x$ac_hi"; do
2063 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2072 return test_array [0];
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2081 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2086 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2093 static long int longval () { return $2; }
2094 static unsigned long int ulongval () { return $2; }
2101 FILE *f = fopen ("conftest.val", "w");
2106 long int i = longval ();
2109 fprintf (f, "%ld", i);
2113 unsigned long int i = ulongval ();
2116 fprintf (f, "%lu", i);
2118 /* Do not output a trailing newline, as this causes \r\n confusion
2119 on some platforms. */
2120 return ferror (f) || fclose (f) != 0;
2126 if ac_fn_c_try_run
"$LINENO"; then :
2127 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2131 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2132 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137 as_fn_set_status
$ac_retval
2139 } # ac_fn_c_compute_int
2141 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2142 # ---------------------------------------------
2143 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2145 ac_fn_c_check_decl
()
2147 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2148 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2149 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2151 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2152 if eval \
${$3+:} false
; then :
2153 $as_echo_n "(cached) " >&6
2155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2161 #ifndef $as_decl_name
2163 (void) $as_decl_use;
2165 (void) $as_decl_name;
2173 if ac_fn_c_try_compile
"$LINENO"; then :
2178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185 } # ac_fn_c_check_decl
2186 cat >config.log
<<_ACEOF
2187 This file contains any messages produced by compilers while
2188 running configure, to aid debugging if configure makes a mistake.
2190 It was created by package-unused $as_me version-unused, which was
2191 generated by GNU Autoconf 2.69. Invocation command line was
2203 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2204 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2205 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2206 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2207 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2209 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2210 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2212 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2213 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2214 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2215 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2216 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2217 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2218 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir
=.
2227 $as_echo "PATH: $as_dir"
2243 # Keep a trace of the command line.
2244 # Strip out --no-create and --no-recursion so they do not pile up.
2245 # Strip out --silent because we don't want to record it for future runs.
2246 # Also quote any args containing shell meta-characters.
2247 # Make two passes to allow for proper duplicate-argument suppression.
2251 ac_must_keep_next
=false
2257 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2258 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2259 |
-silent |
--silent |
--silen |
--sile |
--sil)
2262 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2265 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2267 as_fn_append ac_configure_args1
" '$ac_arg'"
2268 if test $ac_must_keep_next = true
; then
2269 ac_must_keep_next
=false
# Got value, back to normal.
2272 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2273 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2274 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2275 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2276 case "$ac_configure_args0 " in
2277 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2280 -* ) ac_must_keep_next
=true
;;
2283 as_fn_append ac_configure_args
" '$ac_arg'"
2288 { ac_configure_args0
=; unset ac_configure_args0
;}
2289 { ac_configure_args1
=; unset ac_configure_args1
;}
2291 # When interrupted or exit'd, cleanup temporary files, and complete
2292 # config.log. We remove comments because anyway the quotes in there
2293 # would cause problems or look ugly.
2294 # WARNING: Use '\'' to represent an apostrophe within the trap.
2295 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2296 trap 'exit_status=$?
2297 # Save into config.log some information that might help in debugging.
2301 $as_echo "## ---------------- ##
2302 ## Cache variables. ##
2303 ## ---------------- ##"
2305 # The following way of writing the cache mishandles newlines in values,
2307 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2308 eval ac_val=\$$ac_var
2312 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2316 _ | IFS | as_nl) ;; #(
2317 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2318 *) { eval $ac_var=; unset $ac_var;} ;;
2323 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2324 *${as_nl}ac_space=\ *)
2326 "s/'\''/'\''\\\\'\'''\''/g;
2327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2337 $as_echo "## ----------------- ##
2338 ## Output variables. ##
2339 ## ----------------- ##"
2341 for ac_var in $ac_subst_vars
2343 eval ac_val=\$$ac_var
2345 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347 $as_echo "$ac_var='\''$ac_val'\''"
2351 if test -n "$ac_subst_files"; then
2352 $as_echo "## ------------------- ##
2353 ## File substitutions. ##
2354 ## ------------------- ##"
2356 for ac_var
in $ac_subst_files
2358 eval ac_val
=\$
$ac_var
2360 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2362 $as_echo "$ac_var='\''$ac_val'\''"
2367 if test -s confdefs.h; then
2368 $as_echo "## ----------- ##
2375 test "$ac_signal" != 0 &&
2376 $as_echo "$as_me: caught signal $ac_signal"
2377 $as_echo "$as_me: exit $exit_status"
2379 rm -f core *.core core.conftest.* &&
2380 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2383 for ac_signal
in 1 2 13 15; do
2384 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2388 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2389 rm -f -r conftest
* confdefs.h
2391 $as_echo "/* confdefs.h */" > confdefs.h
2393 # Predefined preprocessor variables.
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_NAME "$PACKAGE_NAME"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_STRING "$PACKAGE_STRING"
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_URL "$PACKAGE_URL"
2420 # Let the site file select an alternate cache file if it wants to.
2421 # Prefer an explicitly selected file to automatically selected ones.
2424 if test -n "$CONFIG_SITE"; then
2425 # We do not want a PATH search for config.site.
2426 case $CONFIG_SITE in #((
2427 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2428 */*) ac_site_file1
=$CONFIG_SITE;;
2429 *) ac_site_file1
=.
/$CONFIG_SITE;;
2431 elif test "x$prefix" != xNONE
; then
2432 ac_site_file1
=$prefix/share
/config.site
2433 ac_site_file2
=$prefix/etc
/config.site
2435 ac_site_file1
=$ac_default_prefix/share
/config.site
2436 ac_site_file2
=$ac_default_prefix/etc
/config.site
2438 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2440 test "x$ac_site_file" = xNONE
&& continue
2441 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2443 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2444 sed 's/^/| /' "$ac_site_file" >&5
2446 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error $?
"failed to load site script $ac_site_file
2449 See \`config.log' for more details" "$LINENO" 5; }
2453 if test -r "$cache_file"; then
2454 # Some versions of bash will fail to source /dev/null (special files
2455 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2456 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2458 $as_echo "$as_me: loading cache $cache_file" >&6;}
2460 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2461 *) .
"./$cache_file";;
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2466 $as_echo "$as_me: creating cache $cache_file" >&6;}
2470 # Check that the precious variables saved in the cache have kept the same
2472 ac_cache_corrupted
=false
2473 for ac_var
in $ac_precious_vars; do
2474 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2475 eval ac_new_set
=\
$ac_env_${ac_var}_set
2476 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2477 eval ac_new_val
=\
$ac_env_${ac_var}_value
2478 case $ac_old_set,$ac_new_set in
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2481 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2482 ac_cache_corrupted
=: ;;
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2485 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2486 ac_cache_corrupted
=: ;;
2489 if test "x$ac_old_val" != "x$ac_new_val"; then
2490 # differences in whitespace do not lead to failure.
2491 ac_old_val_w
=`echo x $ac_old_val`
2492 ac_new_val_w
=`echo x $ac_new_val`
2493 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2495 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2496 ac_cache_corrupted
=:
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2499 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2500 eval $ac_var=\
$ac_old_val
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2503 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2505 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2508 # Pass precious variables to config.status.
2509 if test "$ac_new_set" = set; then
2511 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2512 *) ac_arg
=$ac_var=$ac_new_val ;;
2514 case " $ac_configure_args " in
2515 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2516 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2520 if $ac_cache_corrupted; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2524 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2525 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2527 ## -------------------- ##
2528 ## Main body of script. ##
2529 ## -------------------- ##
2532 ac_cpp
='$CPP $CPPFLAGS'
2533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2542 ac_config_headers
="$ac_config_headers config.h"
2545 if test -n "${with_target_subdir}"; then
2546 # Default to --enable-multilib
2547 # Check whether --enable-multilib was given.
2548 if test "${enable_multilib+set}" = set; then :
2549 enableval
=$enable_multilib; case "$enableval" in
2550 yes) multilib
=yes ;;
2552 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2559 # We may get other options which we leave undocumented:
2560 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2561 # See config-ml.in if you want the gory details.
2563 if test "$srcdir" = "."; then
2564 if test "$with_target_subdir" != "."; then
2565 multi_basedir
="$srcdir/$with_multisrctop../.."
2567 multi_basedir
="$srcdir/$with_multisrctop.."
2570 multi_basedir
="$srcdir/.."
2574 # Even if the default multilib is not a cross compilation,
2575 # it may be that some of the other multilibs are.
2576 if test $cross_compiling = no
&& test $multilib = yes \
2577 && test "x${with_multisubdir}" != x
; then
2578 cross_compiling
=maybe
2581 ac_config_commands
="$ac_config_commands default-1"
2586 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2587 if test -f "$ac_dir/install-sh"; then
2589 ac_install_sh
="$ac_aux_dir/install-sh -c"
2591 elif test -f "$ac_dir/install.sh"; then
2593 ac_install_sh
="$ac_aux_dir/install.sh -c"
2595 elif test -f "$ac_dir/shtool"; then
2597 ac_install_sh
="$ac_aux_dir/shtool install -c"
2601 if test -z "$ac_aux_dir"; then
2602 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2605 # These three variables are undocumented and unsupported,
2606 # and are intended to be withdrawn in a future Autoconf release.
2607 # They can cause serious problems if a builder's source tree is in a directory
2608 # whose full name contains unusual characters.
2609 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2610 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2611 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2614 # Make sure we can run config.sub.
2615 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2616 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2619 $as_echo_n "checking build system type... " >&6; }
2620 if ${ac_cv_build+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 ac_build_alias
=$build_alias
2624 test "x$ac_build_alias" = x
&&
2625 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2626 test "x$ac_build_alias" = x
&&
2627 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2628 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2629 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2633 $as_echo "$ac_cv_build" >&6; }
2634 case $ac_cv_build in
2636 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2639 ac_save_IFS
=$IFS; IFS
='-'
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2649 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2653 $as_echo_n "checking host system type... " >&6; }
2654 if ${ac_cv_host+:} false
; then :
2655 $as_echo_n "(cached) " >&6
2657 if test "x$host_alias" = x
; then
2658 ac_cv_host
=$ac_cv_build
2660 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2661 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2666 $as_echo "$ac_cv_host" >&6; }
2669 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2672 ac_save_IFS
=$IFS; IFS
='-'
2678 # Remember, the first character of IFS is used to create $*,
2679 # except with old shells:
2682 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2686 $as_echo_n "checking target system type... " >&6; }
2687 if ${ac_cv_target+:} false
; then :
2688 $as_echo_n "(cached) " >&6
2690 if test "x$target_alias" = x
; then
2691 ac_cv_target
=$ac_cv_host
2693 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2694 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2699 $as_echo "$ac_cv_target" >&6; }
2700 case $ac_cv_target in
2702 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2704 target
=$ac_cv_target
2705 ac_save_IFS
=$IFS; IFS
='-'
2711 # Remember, the first character of IFS is used to create $*,
2712 # except with old shells:
2715 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2718 # The aliases save the names the user supplied, while $host etc.
2719 # will get canonicalized.
2720 test -n "$target_alias" &&
2721 test "$program_prefix$program_suffix$program_transform_name" = \
2723 program_prefix
=${target_alias}-
2725 target_alias
=${target_alias-$host_alias}
2727 # Expand $ac_aux_dir to an absolute path.
2728 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2731 ac_cpp
='$CPP $CPPFLAGS'
2732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2735 if test -n "$ac_tool_prefix"; then
2736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2737 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2739 $as_echo_n "checking for $ac_word... " >&6; }
2740 if ${ac_cv_prog_CC+:} false
; then :
2741 $as_echo_n "(cached) " >&6
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC
="$CC" # Let the user override the test.
2746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir
=.
2751 for ac_exec_ext
in '' $ac_executable_extensions; do
2752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2753 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 if test -n "$CC"; then
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2766 $as_echo "$CC" >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769 $as_echo "no" >&6; }
2774 if test -z "$ac_cv_prog_CC"; then
2776 # Extract the first word of "gcc", so it can be a program name with args.
2777 set dummy gcc
; ac_word
=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$ac_ct_CC"; then
2784 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_exec_ext
in '' $ac_executable_extensions; do
2792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_ac_ct_CC
="gcc"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2804 if test -n "$ac_ct_CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2806 $as_echo "$ac_ct_CC" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2812 if test "x$ac_ct_CC" = x
; then
2815 case $cross_compiling:$ac_tool_warned in
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2819 ac_tool_warned
=yes ;;
2827 if test -z "$CC"; then
2828 if test -n "$ac_tool_prefix"; then
2829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2830 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if ${ac_cv_prog_CC+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$CC"; then
2837 ac_cv_prog_CC
="$CC" # Let the user override the test.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 for ac_exec_ext
in '' $ac_executable_extensions; do
2845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2846 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2859 $as_echo "$CC" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2868 if test -z "$CC"; then
2869 # Extract the first word of "cc", so it can be a program name with args.
2870 set dummy cc
; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC
="$CC" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2888 ac_prog_rejected
=yes
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test $ac_prog_rejected = yes; then
2900 # We found a bogon in the path, so make sure we never use it.
2901 set dummy
$ac_cv_prog_CC
2903 if test $# != 0; then
2904 # We chose a different compiler from the bogus one.
2905 # However, it has the same basename, so the bogon will be chosen
2906 # first if we set CC to just the basename; use the full file name.
2908 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2914 if test -n "$CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2916 $as_echo "$CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2926 for ac_prog
in cl.exe
2928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2929 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_CC+:} false
; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC
="$CC" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$CC" && break
2968 if test -z "$CC"; then
2970 for ac_prog
in cl.exe
2972 # Extract the first word of "$ac_prog", so it can be a program name with args.
2973 set dummy
$ac_prog; ac_word
=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$ac_ct_CC"; then
2980 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_ac_ct_CC
="$ac_prog"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002 $as_echo "$ac_ct_CC" >&6; }
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3009 test -n "$ac_ct_CC" && break
3012 if test "x$ac_ct_CC" = x
; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned
=yes ;;
3028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $?
"no acceptable C compiler found in \$PATH
3031 See \`config.log' for more details" "$LINENO" 5; }
3033 # Provide some information about the compiler.
3034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3037 for ac_option
in --version -v -V -qversion; do
3038 { { ac_try
="$ac_compiler $ac_option >&5"
3040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3047 if test -s conftest.err; then
3049 ... rest of stderr output deleted ...
3050 10q' conftest.err >conftest.er1
3051 cat conftest.er1 >&5
3053 rm -f conftest.er1 conftest.err
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3069 ac_clean_files_save=$ac_clean_files
3070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3071 # Try to create an executable without -o first, disregard a.out.
3072 # It will help us diagnose broken compilers, and finding out an intuition
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3075 $as_echo_n "checking whether the C compiler works... " >&6; }
3076 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3078 # The possible output files:
3079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3082 for ac_file in $ac_files
3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3091 if { { ac_try="$ac_link_default"
3093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3094 *) ac_try_echo
=$ac_try;;
3096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3097 $as_echo "$ac_try_echo"; } >&5
3098 (eval "$ac_link_default") 2>&5
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; }; then :
3102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3105 # so that the user can short-circuit this test for compilers unknown to
3107 for ac_file
in $ac_files ''
3109 test -f "$ac_file" ||
continue
3111 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3114 # We found the default executable, but exeext='' is most
3118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3120 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3122 # We set ac_cv_exeext here because the later test for it is not
3123 # safe: cross compilers may not add the suffix if given an `-o'
3124 # argument, so we may need to know it at that point already.
3125 # Even if this section looks crufty: it has the advantage of
3132 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3137 if test -z "$ac_file"; then :
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3140 $as_echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.
$ac_ext >&5
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error
77 "C compiler cannot create executables
3146 See \`config.log' for more details" "$LINENO" 5; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149 $as_echo "yes" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3152 $as_echo_n "checking for C compiler default output file name... " >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3154 $as_echo "$ac_file" >&6; }
3155 ac_exeext
=$ac_cv_exeext
3157 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3158 ac_clean_files
=$ac_clean_files_save
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3160 $as_echo_n "checking for suffix of executables... " >&6; }
3161 if { { ac_try
="$ac_link"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_link") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3173 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3174 # work properly (i.e., refer to `conftest.exe'), while it won't with
3176 for ac_file
in conftest.exe conftest conftest.
*; do
3177 test -f "$ac_file" ||
continue
3179 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3180 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3189 See \`config.log' for more details" "$LINENO" 5; }
3191 rm -f conftest conftest
$ac_cv_exeext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3193 $as_echo "$ac_cv_exeext" >&6; }
3195 rm -f conftest.
$ac_ext
3196 EXEEXT
=$ac_cv_exeext
3198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3204 FILE *f = fopen ("conftest.out", "w");
3205 return ferror (f) || fclose (f) != 0;
3211 ac_clean_files
="$ac_clean_files conftest.out"
3212 # Check that the compiler produces executables we can run. If not, either
3213 # the compiler is broken, or we cross compile.
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3215 $as_echo_n "checking whether we are cross compiling... " >&6; }
3216 if test "$cross_compiling" != yes; then
3217 { { ac_try
="$ac_link"
3219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_link") 2>&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }
3228 if { ac_try='./conftest$ac_cv_exeext'
3229 { { case "(($ac_try" in
3230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3231 *) ac_try_echo
=$ac_try;;
3233 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 $as_echo "$ac_try_echo"; } >&5
3235 (eval "$ac_try") 2>&5
3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3238 test $ac_status = 0; }; }; then
3241 if test "$cross_compiling" = maybe
; then
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 as_fn_error $?
"cannot run C compiled programs.
3247 If you meant to cross compile, use \`--host'.
3248 See \`config.log' for more details" "$LINENO" 5; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3253 $as_echo "$cross_compiling" >&6; }
3255 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3256 ac_clean_files
=$ac_clean_files_save
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3258 $as_echo_n "checking for suffix of object files... " >&6; }
3259 if ${ac_cv_objext+:} false
; then :
3260 $as_echo_n "(cached) " >&6
3262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 rm -f conftest.o conftest.obj
3274 if { { ac_try
="$ac_compile"
3276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_compile") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }; then :
3285 for ac_file in conftest.o conftest.obj conftest.*; do
3286 test -f "$ac_file" || continue;
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3294 $as_echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3300 See \
`config.log' for more details" "$LINENO" 5; }
3302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3305 $as_echo "$ac_cv_objext" >&6; }
3306 OBJEXT=$ac_cv_objext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3310 if ${ac_cv_c_compiler_gnu+:} false; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3327 if ac_fn_c_try_compile "$LINENO"; then :
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3338 if test $ac_compiler_gnu = yes; then
3343 ac_test_CFLAGS=${CFLAGS+set}
3344 ac_save_CFLAGS=$CFLAGS
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3347 if ${ac_cv_prog_cc_g+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 ac_save_c_werror_flag=$ac_c_werror_flag
3351 ac_c_werror_flag=yes
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 if ac_fn_c_try_compile "$LINENO"; then :
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3380 if ac_fn_c_try_compile "$LINENO"; then :
3383 ac_c_werror_flag=$ac_save_c_werror_flag
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3396 if ac_fn_c_try_compile "$LINENO"; then :
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 ac_c_werror_flag=$ac_save_c_werror_flag
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3407 $as_echo "$ac_cv_prog_cc_g" >&6; }
3408 if test "$ac_test_CFLAGS" = set; then
3409 CFLAGS=$ac_save_CFLAGS
3410 elif test $ac_cv_prog_cc_g = yes; then
3411 if test "$GCC" = yes; then
3417 if test "$GCC" = yes; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3425 if ${ac_cv_prog_cc_c89+:} false; then :
3426 $as_echo_n "(cached) " >&6
3428 ac_cv_prog_cc_c89=no
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3435 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3436 struct buf { int x; };
3437 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3438 static char *e (p, i)
3444 static char *f (char * (*g) (char **, int), char **p, ...)
3449 s = g (p, va_arg (v,int));
3454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3455 function prototypes and stuff, but not '\xHH' hex character constants.
3456 These don't provoke an error unfortunately, instead are silently treated
3457 as 'x'. The following induces an error, until -std is added to get
3458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3459 array size at least. It's necessary to write '\x00'==0 to get something
3460 that's true only with -std. */
3461 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3464 inside strings and character constants. */
3466 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3468 int test (int i, double x);
3469 struct s1 {int (*f) (int a);};
3470 struct s2 {int (*f) (double a);};
3471 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3477 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3482 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3485 CC="$ac_save_CC $ac_arg"
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 ac_cv_prog_cc_c89=$ac_arg
3489 rm -f core conftest.err conftest.$ac_objext
3490 test "x$ac_cv_prog_cc_c89" != "xno" && break
3492 rm -f conftest.$ac_ext
3497 case "x$ac_cv_prog_cc_c89" in
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3500 $as_echo "none needed" >&6; } ;;
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3503 $as_echo "unsupported" >&6; } ;;
3505 CC="$CC $ac_cv_prog_cc_c89"
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3509 if test "x$ac_cv_prog_cc_c89" != xno; then :
3514 ac_cpp='$CPP $CPPFLAGS'
3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 ac_cpp='$CPP $CPPFLAGS'
3521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3525 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3526 if ${am_cv_prog_cc_c_o+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 # Make sure it works both with $CC and with simple cc.
3541 # Following AC_PROG_CC_C_O, we do the test twice because some
3542 # compilers refuse to overwrite an existing .o file with -o,
3543 # though they will create one.
3544 am_cv_prog_cc_c_o=yes
3546 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3547 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); } \
3551 && test -f conftest2.$ac_objext; then
3554 am_cv_prog_cc_c_o=no
3558 rm -f core conftest*
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3562 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3563 if test "$am_cv_prog_cc_c_o" != yes; then
3564 # Losing compiler, so override with the script.
3565 # FIXME: It is wrong to rewrite CC.
3566 # But if we don't then we get into trouble of one sort or another.
3567 # A longer-term fix would be to have automake use am__CC in this case,
3568 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3569 CC="$am_aux_dir/compile $CC"
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580 ac_cpp='$CPP $CPPFLAGS'
3581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3585 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3586 # On Suns, sometimes $CPP names a directory.
3587 if test -n "$CPP" && test -d "$CPP"; then
3590 if test -z "$CPP"; then
3591 if ${ac_cv_prog_CPP+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 # Double quotes because CPP needs to be expanded
3595 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3598 for ac_c_preproc_warn_flag in '' yes
3600 # Use a header file that comes with gcc, so configuring glibc
3601 # with a fresh cross-compiler works.
3602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3603 # <limits.h> exists even on freestanding compilers.
3604 # On the NeXT, cc -E runs the code through the compiler's parser,
3605 # not just through cpp. "Syntax error" is here to catch this case.
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3609 # include <limits.h>
3611 # include <assert.h>
3615 if ac_fn_c_try_cpp "$LINENO"; then :
3618 # Broken: fails on valid input.
3621 rm -f conftest.err conftest.i conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3627 #include <ac_nonexistent.h>
3629 if ac_fn_c_try_cpp "$LINENO"; then :
3630 # Broken: success on invalid input.
3633 # Passes both tests.
3637 rm -f conftest.err conftest.i conftest.$ac_ext
3640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3641 rm -f conftest.i conftest.err conftest.
$ac_ext
3642 if $ac_preproc_ok; then :
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3655 $as_echo "$CPP" >&6; }
3657 for ac_c_preproc_warn_flag
in '' yes
3659 # Use a header file that comes with gcc, so configuring glibc
3660 # with a fresh cross-compiler works.
3661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662 # <limits.h> exists even on freestanding compilers.
3663 # On the NeXT, cc -E runs the code through the compiler's parser,
3664 # not just through cpp. "Syntax error" is here to catch this case.
3665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3668 # include <limits.h>
3670 # include <assert.h>
3674 if ac_fn_c_try_cpp
"$LINENO"; then :
3677 # Broken: fails on valid input.
3680 rm -f conftest.err conftest.i conftest.
$ac_ext
3682 # OK, works on sane cases. Now check whether nonexistent headers
3683 # can be detected and how.
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3686 #include <ac_nonexistent.h>
3688 if ac_fn_c_try_cpp
"$LINENO"; then :
3689 # Broken: success on invalid input.
3692 # Passes both tests.
3696 rm -f conftest.err conftest.i conftest.
$ac_ext
3699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3700 rm -f conftest.i conftest.err conftest.
$ac_ext
3701 if $ac_preproc_ok; then :
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3707 See \`config.log' for more details" "$LINENO" 5; }
3711 ac_cpp
='$CPP $CPPFLAGS'
3712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3718 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3719 if ${ac_cv_path_GREP+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -z "$GREP"; then
3723 ac_path_GREP_found
=false
3724 # Loop through the user's path and test for each of PROGNAME-LIST
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3726 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_prog
in grep ggrep
; do
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3733 as_fn_executable_p
"$ac_path_GREP" ||
continue
3734 # Check for GNU ac_path_GREP and select it if it is found.
3735 # Check for GNU $ac_path_GREP
3736 case `"$ac_path_GREP" --version 2>&1` in
3738 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3741 $as_echo_n 0123456789 >"conftest.in"
3744 cat "conftest.in" "conftest.in" >"conftest.tmp"
3745 mv "conftest.tmp" "conftest.in"
3746 cp "conftest.in" "conftest.nl"
3747 $as_echo 'GREP' >> "conftest.nl"
3748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3749 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3750 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3752 # Best one so far, save it but keep looking for a better one
3753 ac_cv_path_GREP
="$ac_path_GREP"
3754 ac_path_GREP_max
=$ac_count
3756 # 10*(2^10) chars as input seems more than enough
3757 test $ac_count -gt 10 && break
3759 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3762 $ac_path_GREP_found && break 3
3767 if test -z "$ac_cv_path_GREP"; then
3768 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3771 ac_cv_path_GREP
=$GREP
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3776 $as_echo "$ac_cv_path_GREP" >&6; }
3777 GREP
="$ac_cv_path_GREP"
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3781 $as_echo_n "checking for egrep... " >&6; }
3782 if ${ac_cv_path_EGREP+:} false
; then :
3783 $as_echo_n "(cached) " >&6
3785 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3786 then ac_cv_path_EGREP
="$GREP -E"
3788 if test -z "$EGREP"; then
3789 ac_path_EGREP_found
=false
3790 # Loop through the user's path and test for each of PROGNAME-LIST
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3795 test -z "$as_dir" && as_dir
=.
3796 for ac_prog
in egrep; do
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3799 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3800 # Check for GNU ac_path_EGREP and select it if it is found.
3801 # Check for GNU $ac_path_EGREP
3802 case `"$ac_path_EGREP" --version 2>&1` in
3804 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3807 $as_echo_n 0123456789 >"conftest.in"
3810 cat "conftest.in" "conftest.in" >"conftest.tmp"
3811 mv "conftest.tmp" "conftest.in"
3812 cp "conftest.in" "conftest.nl"
3813 $as_echo 'EGREP' >> "conftest.nl"
3814 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3815 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3816 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3817 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3818 # Best one so far, save it but keep looking for a better one
3819 ac_cv_path_EGREP
="$ac_path_EGREP"
3820 ac_path_EGREP_max
=$ac_count
3822 # 10*(2^10) chars as input seems more than enough
3823 test $ac_count -gt 10 && break
3825 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3828 $ac_path_EGREP_found && break 3
3833 if test -z "$ac_cv_path_EGREP"; then
3834 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3837 ac_cv_path_EGREP
=$EGREP
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3843 $as_echo "$ac_cv_path_EGREP" >&6; }
3844 EGREP
="$ac_cv_path_EGREP"
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3848 $as_echo_n "checking for ANSI C header files... " >&6; }
3849 if ${ac_cv_header_stdc+:} false
; then :
3850 $as_echo_n "(cached) " >&6
3852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3867 if ac_fn_c_try_compile
"$LINENO"; then :
3868 ac_cv_header_stdc
=yes
3870 ac_cv_header_stdc
=no
3872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3874 if test $ac_cv_header_stdc = yes; then
3875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3882 $EGREP "memchr" >/dev
/null
2>&1; then :
3885 ac_cv_header_stdc
=no
3891 if test $ac_cv_header_stdc = yes; then
3892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3899 $EGREP "free" >/dev
/null
2>&1; then :
3902 ac_cv_header_stdc
=no
3908 if test $ac_cv_header_stdc = yes; then
3909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3910 if test "$cross_compiling" = yes; then :
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3917 #if ((' ' & 0x0FF) == 0x020)
3918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3921 # define ISLOWER(c) \
3922 (('a' <= (c) && (c) <= 'i') \
3923 || ('j' <= (c) && (c) <= 'r') \
3924 || ('s' <= (c) && (c) <= 'z'))
3925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3933 for (i = 0; i < 256; i++)
3934 if (XOR (islower (i), ISLOWER (i))
3935 || toupper (i) != TOUPPER (i))
3940 if ac_fn_c_try_run
"$LINENO"; then :
3943 ac_cv_header_stdc
=no
3945 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3946 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3952 $as_echo "$ac_cv_header_stdc" >&6; }
3953 if test $ac_cv_header_stdc = yes; then
3955 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3959 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3960 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3961 inttypes.h stdint.h unistd.h
3963 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3964 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3966 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3967 cat >>confdefs.h
<<_ACEOF
3968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3977 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3978 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3985 if test "$MINIX" = yes; then
3987 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3990 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3993 $as_echo "#define _MINIX 1" >>confdefs.h
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3999 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4000 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4001 $as_echo_n "(cached) " >&6
4003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4006 # define __EXTENSIONS__ 1
4007 $ac_includes_default
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4017 ac_cv_safe_to_define___extensions__
=yes
4019 ac_cv_safe_to_define___extensions__
=no
4021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4024 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4025 test $ac_cv_safe_to_define___extensions__ = yes &&
4026 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4028 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4030 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4032 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4034 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4038 libtool_VERSION
=1:0:0
4041 # 1.11.1: Require that version of automake.
4042 # foreign: Don't require README, INSTALL, NEWS, etc.
4043 # no-define: Don't define PACKAGE and VERSION.
4044 # no-dependencies: Don't generate automatic dependencies.
4045 # (because it breaks when using bootstrap-lean, since some of the
4046 # headers are gone at "make install" time).
4047 # -Wall: Issue all automake warnings.
4048 # -Wno-portability: Don't warn about constructs supported by GNU make.
4049 # (because GCC requires GNU make anyhow).
4050 am__api_version
='1.15'
4052 # Find a good install program. We prefer a C program (faster),
4053 # so one script is as good as another. But avoid the broken or
4054 # incompatible versions:
4055 # SysV /etc/install, /usr/sbin/install
4056 # SunOS /usr/etc/install
4057 # IRIX /sbin/install
4059 # AmigaOS /C/install, which installs bootblocks on floppy discs
4060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4063 # OS/2's system install, which has a completely different semantic
4064 # ./install, which can be erroneously created by make from ./install.sh.
4065 # Reject install programs that cannot install multiple files.
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4067 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4068 if test -z "$INSTALL"; then
4069 if ${ac_cv_path_install+:} false
; then :
4070 $as_echo_n "(cached) " >&6
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 # Account for people who put trailing slashes in PATH elements.
4078 case $as_dir/ in #((
4079 .
/ | .
// |
/[cC
]/* | \
4080 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4081 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4084 # OSF1 and SCO ODT 3.0 have their own names for install.
4085 # Don't use installbsd from OSF since it installs stuff as root
4087 for ac_prog
in ginstall scoinst
install; do
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4090 if test $ac_prog = install &&
4091 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4092 # AIX install. It has an incompatible calling convention.
4094 elif test $ac_prog = install &&
4095 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4096 # program-specific install script used by HP pwplus--don't use.
4099 rm -rf conftest.one conftest.two conftest.dir
4100 echo one
> conftest.one
4101 echo two
> conftest.two
4103 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4104 test -s conftest.one
&& test -s conftest.two
&&
4105 test -s conftest.dir
/conftest.one
&&
4106 test -s conftest.dir
/conftest.two
4108 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4121 rm -rf conftest.one conftest.two conftest.dir
4124 if test "${ac_cv_path_install+set}" = set; then
4125 INSTALL
=$ac_cv_path_install
4127 # As a last resort, use the slow shell script. Don't cache a
4128 # value for INSTALL within a source directory, because that will
4129 # break other packages using the cache if that directory is
4130 # removed, or if the value is a relative name.
4131 INSTALL
=$ac_install_sh
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4135 $as_echo "$INSTALL" >&6; }
4137 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4138 # It thinks the first close brace ends the variable substitution.
4139 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4141 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4143 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4146 $as_echo_n "checking whether build environment is sane... " >&6; }
4147 # Reject unsafe characters in $srcdir or the absolute working directory
4148 # name. Accept space and tab only in the latter.
4152 *[\\\"\
#\$\&\'\`$am_lf]*)
4153 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4156 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4157 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4160 # Do 'set' in a subshell so we don't clobber the current shell's
4161 # arguments. Must try -L first in case configure is actually a
4162 # symlink; some systems play weird games with the mod time of symlinks
4163 # (eg FreeBSD returns the mod time of the symlink's containing
4167 for am_try
in 1 2; do
4168 echo "timestamp, slept: $am_has_slept" > conftest.
file
4169 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4170 if test "$*" = "X"; then
4172 set X
`ls -t "$srcdir/configure" conftest.file`
4174 if test "$*" != "X $srcdir/configure conftest.file" \
4175 && test "$*" != "X conftest.file $srcdir/configure"; then
4177 # If neither matched, then we have a broken ls. This can happen
4178 # if, for instance, CONFIG_SHELL is bash and it inherits a
4179 # broken ls alias from the environment. This has actually
4180 # happened. Such a system could not be considered "sane".
4181 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4182 alias in your environment" "$LINENO" 5
4184 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4191 test "$2" = conftest.
file
4197 as_fn_error $?
"newly created file is older than distributed files!
4198 Check your system clock" "$LINENO" 5
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 $as_echo "yes" >&6; }
4202 # If we didn't sleep, we still need to ensure time stamps of config.status and
4203 # generated files are strictly newer.
4205 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4212 test "$program_prefix" != NONE
&&
4213 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4214 # Use a double $ so make ignores it.
4215 test "$program_suffix" != NONE
&&
4216 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4217 # Double any \ or $.
4218 # By default was `s,x,x', remove it if useless.
4219 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4220 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4222 if test x
"${MISSING+set}" != xset
; then
4225 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4227 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4230 # Use eval to expand $SHELL
4231 if eval "$MISSING --is-lightweight"; then
4232 am_missing_run
="$MISSING "
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4236 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4239 if test x
"${install_sh+set}" != xset
; then
4242 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4244 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4248 # Installed binaries are usually stripped using 'strip' when the user
4249 # run "make install-strip". However 'strip' might not be the right
4250 # tool to use in cross-compilation environments, therefore Automake
4251 # will honor the 'STRIP' environment variable to overrule this program.
4252 if test "$cross_compiling" != no
; then
4253 if test -n "$ac_tool_prefix"; then
4254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4255 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257 $as_echo_n "checking for $ac_word... " >&6; }
4258 if ${ac_cv_prog_STRIP+:} false
; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$STRIP"; then
4262 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir
=.
4269 for ac_exec_ext
in '' $ac_executable_extensions; do
4270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 STRIP
=$ac_cv_prog_STRIP
4282 if test -n "$STRIP"; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4284 $as_echo "$STRIP" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4292 if test -z "$ac_cv_prog_STRIP"; then
4294 # Extract the first word of "strip", so it can be a program name with args.
4295 set dummy strip
; ac_word
=$2
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$ac_ct_STRIP"; then
4302 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_ac_ct_STRIP
="strip"
4312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4322 if test -n "$ac_ct_STRIP"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4324 $as_echo "$ac_ct_STRIP" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4330 if test "x$ac_ct_STRIP" = x
; then
4333 case $cross_compiling:$ac_tool_warned in
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4337 ac_tool_warned
=yes ;;
4342 STRIP
="$ac_cv_prog_STRIP"
4346 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4349 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4350 if test -z "$MKDIR_P"; then
4351 if ${ac_cv_path_mkdir+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4355 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4358 test -z "$as_dir" && as_dir
=.
4359 for ac_prog
in mkdir gmkdir
; do
4360 for ac_exec_ext
in '' $ac_executable_extensions; do
4361 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4362 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4363 'mkdir (GNU coreutils) '* | \
4364 'mkdir (coreutils) '* | \
4365 'mkdir (fileutils) '4.1*)
4366 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4376 test -d .
/--version && rmdir .
/--version
4377 if test "${ac_cv_path_mkdir+set}" = set; then
4378 MKDIR_P
="$ac_cv_path_mkdir -p"
4380 # As a last resort, use the slow shell script. Don't cache a
4381 # value for MKDIR_P within a source directory, because that will
4382 # break other packages using the cache if that directory is
4383 # removed, or if the value is a relative name.
4384 MKDIR_P
="$ac_install_sh -d"
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4388 $as_echo "$MKDIR_P" >&6; }
4390 for ac_prog
in gawk mawk nawk
awk
4392 # Extract the first word of "$ac_prog", so it can be a program name with args.
4393 set dummy
$ac_prog; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_AWK+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$AWK"; then
4400 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_AWK
="$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$AWK"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4422 $as_echo "$AWK" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$AWK" && break
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4433 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4435 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4436 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 cat >conftest.
make <<\_ACEOF
4442 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4444 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4445 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4447 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4449 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4453 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4455 $as_echo "yes" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4460 SET_MAKE
="MAKE=${MAKE-make}"
4463 rm -rf .tst
2>/dev
/null
4464 mkdir .tst
2>/dev
/null
4465 if test -d .tst
; then
4470 rmdir .tst
2>/dev
/null
4472 # Check whether --enable-silent-rules was given.
4473 if test "${enable_silent_rules+set}" = set; then :
4474 enableval
=$enable_silent_rules;
4477 case $enable_silent_rules in # (((
4478 yes) AM_DEFAULT_VERBOSITY
=0;;
4479 no
) AM_DEFAULT_VERBOSITY
=1;;
4480 *) AM_DEFAULT_VERBOSITY
=1;;
4482 am_make
=${MAKE-make}
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4484 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4485 if ${am_cv_make_support_nested_variables+:} false
; then :
4486 $as_echo_n "(cached) " >&6
4488 if $as_echo 'TRUE=$(BAR$(V))
4494 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4495 am_cv_make_support_nested_variables
=yes
4497 am_cv_make_support_nested_variables
=no
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4501 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4502 if test $am_cv_make_support_nested_variables = yes; then
4504 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4506 AM_V
=$AM_DEFAULT_VERBOSITY
4507 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4511 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4512 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4513 # is not polluted with repeated "-I."
4514 am__isrc
=' -I$(srcdir)'
4515 # test to see if srcdir already configured
4516 if test -f $srcdir/config.status
; then
4517 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4521 # test whether we have cygpath
4522 if test -z "$CYGPATH_W"; then
4523 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4524 CYGPATH_W
='cygpath -w'
4531 # Define the identity of the package.
4532 PACKAGE
='libbacktrace'
4533 VERSION
='version-unused'
4536 # Some tools Automake needs.
4538 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4541 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4544 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4547 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4550 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4552 # For better backward compatibility. To be removed once Automake 1.9.x
4553 # dies out for good. For more background, see:
4554 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4555 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4556 mkdir_p
='$(MKDIR_P)'
4558 # We need awk for the "check" target (and possibly the TAP driver). The
4559 # system "awk" is bad on some platforms.
4560 # Always define AMTAR for backward compatibility. Yes, it's still used
4561 # in the wild :-( We should find a proper way to deprecate it ...
4565 # We'll loop over all known methods to create a tar archive until one works.
4566 _am_tools
='gnutar pax cpio none'
4568 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4575 # POSIX will say in a future version that running "rm -f" with no argument
4576 # is OK; and we want to be able to make that assumption in our Makefile
4577 # recipes. So use an aggressive probe to check that the usage we want is
4578 # actually supported "in the wild" to an acceptable degree.
4579 # See automake bug#10828.
4580 # To make any issue more visible, cause the running configure to be aborted
4581 # by default if the 'rm' program in use doesn't match our expectations; the
4582 # user can still override this though.
4583 if rm -f && rm -fr && rm -rf; then : OK
; else
4587 Your 'rm' program seems unable to run without file operands specified
4588 on the command line, even when the '-f' option is present. This is contrary
4589 to the behaviour of most rm programs out there, and not conforming with
4590 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4592 Please tell bug-automake@gnu.org about your system, including the value
4593 of your $PATH and any error possibly output before this message. This
4594 can help us improve future automake versions.
4597 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4598 echo 'Configuration will proceed anyway, since you have set the' >&2
4599 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4603 Aborting the configuration process, to ensure you take notice of the issue.
4605 You can download and install GNU coreutils to get an 'rm' implementation
4606 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4608 If you want to complete the configuration process using your problematic
4609 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4610 to "yes", and re-run configure.
4613 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4620 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4621 # Check whether --enable-maintainer-mode was given.
4622 if test "${enable_maintainer_mode+set}" = set; then :
4623 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4625 USE_MAINTAINER_MODE
=no
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4629 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4630 if test $USE_MAINTAINER_MODE = yes; then
4631 MAINTAINER_MODE_TRUE
=
4632 MAINTAINER_MODE_FALSE
='#'
4634 MAINTAINER_MODE_TRUE
='#'
4635 MAINTAINER_MODE_FALSE
=
4638 MAINT
=$MAINTAINER_MODE_TRUE
4643 # Check whether --with-target-subdir was given.
4644 if test "${with_target_subdir+set}" = set; then :
4645 withval
=$with_target_subdir;
4649 # We must force CC to /not/ be precious variables; otherwise
4650 # the wrong, non-multilib-adjusted value will be used in multilibs.
4651 # As a side effect, we have to subst CFLAGS ourselves.
4655 ac_cpp
='$CPP $CPPFLAGS'
4656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_CC+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC
="$CC" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$CC"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4690 $as_echo "$CC" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4698 if test -z "$ac_cv_prog_CC"; then
4700 # Extract the first word of "gcc", so it can be a program name with args.
4701 set dummy gcc
; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$ac_ct_CC"; then
4708 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4717 ac_cv_prog_ac_ct_CC
="gcc"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4728 if test -n "$ac_ct_CC"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4730 $as_echo "$ac_ct_CC" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4736 if test "x$ac_ct_CC" = x
; then
4739 case $cross_compiling:$ac_tool_warned in
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned
=yes ;;
4751 if test -z "$CC"; then
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4754 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_CC+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC
="$CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$CC"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4783 $as_echo "$CC" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4792 if test -z "$CC"; then
4793 # Extract the first word of "cc", so it can be a program name with args.
4794 set dummy cc
; ac_word
=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_CC+:} false
; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$CC"; then
4801 ac_cv_prog_CC
="$CC" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4812 ac_prog_rejected
=yes
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 if test $ac_prog_rejected = yes; then
4824 # We found a bogon in the path, so make sure we never use it.
4825 set dummy
$ac_cv_prog_CC
4827 if test $# != 0; then
4828 # We chose a different compiler from the bogus one.
4829 # However, it has the same basename, so the bogon will be chosen
4830 # first if we set CC to just the basename; use the full file name.
4832 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4838 if test -n "$CC"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4840 $as_echo "$CC" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4848 if test -z "$CC"; then
4849 if test -n "$ac_tool_prefix"; then
4850 for ac_prog
in cl.exe
4852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4853 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_CC+:} false
; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$CC"; then
4860 ac_cv_prog_CC
="$CC" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 if test -n "$CC"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4882 $as_echo "$CC" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$CC" && break
4892 if test -z "$CC"; then
4894 for ac_prog
in cl.exe
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$ac_ct_CC"; then
4904 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_ac_ct_CC
="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4924 if test -n "$ac_ct_CC"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4926 $as_echo "$ac_ct_CC" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$ac_ct_CC" && break
4936 if test "x$ac_ct_CC" = x
; then
4939 case $cross_compiling:$ac_tool_warned in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4943 ac_tool_warned
=yes ;;
4952 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4954 as_fn_error $?
"no acceptable C compiler found in \$PATH
4955 See \`config.log' for more details" "$LINENO" 5; }
4957 # Provide some information about the compiler.
4958 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4961 for ac_option
in --version -v -V -qversion; do
4962 { { ac_try
="$ac_compiler $ac_option >&5"
4964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4968 $as_echo "$ac_try_echo"; } >&5
4969 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4971 if test -s conftest.err; then
4973 ... rest of stderr output deleted ...
4974 10q' conftest.err >conftest.er1
4975 cat conftest.er1 >&5
4977 rm -f conftest.er1 conftest.err
4978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4979 test $ac_status = 0; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4984 if ${ac_cv_c_compiler_gnu+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
5001 if ac_fn_c_try_compile "$LINENO"; then :
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5012 if test $ac_compiler_gnu = yes; then
5017 ac_test_CFLAGS=${CFLAGS+set}
5018 ac_save_CFLAGS=$CFLAGS
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5021 if ${ac_cv_prog_cc_g+:} false; then :
5022 $as_echo_n "(cached) " >&6
5024 ac_save_c_werror_flag=$ac_c_werror_flag
5025 ac_c_werror_flag=yes
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5039 if ac_fn_c_try_compile "$LINENO"; then :
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5054 if ac_fn_c_try_compile "$LINENO"; then :
5057 ac_c_werror_flag=$ac_save_c_werror_flag
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 if ac_fn_c_try_compile "$LINENO"; then :
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_c_werror_flag=$ac_save_c_werror_flag
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5081 $as_echo "$ac_cv_prog_cc_g" >&6; }
5082 if test "$ac_test_CFLAGS" = set; then
5083 CFLAGS=$ac_save_CFLAGS
5084 elif test $ac_cv_prog_cc_g = yes; then
5085 if test "$GCC" = yes; then
5091 if test "$GCC" = yes; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5099 if ${ac_cv_prog_cc_c89+:} false; then :
5100 $as_echo_n "(cached) " >&6
5102 ac_cv_prog_cc_c89=no
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5110 struct buf { int x; };
5111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5112 static char *e (p, i)
5118 static char *f (char * (*g) (char **, int), char **p, ...)
5123 s = g (p, va_arg (v,int));
5128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5129 function prototypes and stuff, but not '\xHH' hex character constants.
5130 These don't provoke an error unfortunately, instead are silently treated
5131 as 'x'. The following induces an error, until -std is added to get
5132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5133 array size at least. It's necessary to write '\x00'==0 to get something
5134 that's true only with -std. */
5135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5138 inside strings and character constants. */
5140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5142 int test (int i, double x);
5143 struct s1 {int (*f) (int a);};
5144 struct s2 {int (*f) (double a);};
5145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5159 CC="$ac_save_CC $ac_arg"
5160 if ac_fn_c_try_compile "$LINENO"; then :
5161 ac_cv_prog_cc_c89=$ac_arg
5163 rm -f core conftest.err conftest.$ac_objext
5164 test "x$ac_cv_prog_cc_c89" != "xno" && break
5166 rm -f conftest.$ac_ext
5171 case "x$ac_cv_prog_cc_c89" in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5174 $as_echo "none needed" >&6; } ;;
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5177 $as_echo "unsupported" >&6; } ;;
5179 CC="$CC $ac_cv_prog_cc_c89"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5183 if test "x$ac_cv_prog_cc_c89" != xno; then :
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 ac_cpp='$CPP $CPPFLAGS'
5195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5199 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5200 if ${am_cv_prog_cc_c_o+:} false; then :
5201 $as_echo_n "(cached) " >&6
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5214 # Make sure it works both with $CC and with simple cc.
5215 # Following AC_PROG_CC_C_O, we do the test twice because some
5216 # compilers refuse to overwrite an existing .o file with -o,
5217 # though they will create one.
5218 am_cv_prog_cc_c_o=yes
5220 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5221 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } \
5225 && test -f conftest2.$ac_objext; then
5228 am_cv_prog_cc_c_o=no
5232 rm -f core conftest*
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5236 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5237 if test "$am_cv_prog_cc_c_o" != yes; then
5238 # Losing compiler, so override with the script.
5239 # FIXME: It is wrong to rewrite CC.
5240 # But if we don't then we get into trouble of one sort or another.
5241 # A longer-term fix would be to have automake use am__CC in this case,
5242 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5243 CC="$am_aux_dir/compile $CC"
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5256 if test -n "$ac_tool_prefix"; then
5257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5258 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_RANLIB+:} false; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$RANLIB"; then
5265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 RANLIB=$ac_cv_prog_RANLIB
5285 if test -n "$RANLIB"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5287 $as_echo "$RANLIB" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$ac_cv_prog_RANLIB"; then
5296 ac_ct_RANLIB=$RANLIB
5297 # Extract the first word of "ranlib", so it can be a program name with args.
5298 set dummy ranlib; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$ac_ct_RANLIB"; then
5305 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_RANLIB="ranlib"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5325 if test -n "$ac_ct_RANLIB"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5327 $as_echo "$ac_ct_RANLIB" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5333 if test "x$ac_ct_RANLIB" = x; then
5336 case $cross_compiling:$ac_tool_warned in
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned=yes ;;
5342 RANLIB=$ac_ct_RANLIB
5345 RANLIB="$ac_cv_prog_RANLIB"
5349 for ac_prog in gawk mawk nawk awk
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set dummy $ac_prog; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_AWK+:} false; then :
5356 $as_echo_n "(cached) " >&6
5358 if test -n "$AWK"; then
5359 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_AWK="$ac_prog"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 if test -n "$AWK"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5381 $as_echo "$AWK" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 test -n "$AWK" && break
5392 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
5395 # Extract the first word of "dwz", so it can be a program name with args.
5396 set dummy dwz; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_DWZ+:} false; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -n "$DWZ"; then
5403 ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_DWZ="dwz"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 if test -n "$DWZ"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
5425 $as_echo "$DWZ" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5432 if test "$DWZ" != ""; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5444 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5449 macro_version='2.2.7a'
5450 macro_revision='1.3134'
5464 ltmain="$ac_aux_dir/ltmain.sh"
5466 # Backslashify metacharacters that are still active within
5467 # double-quoted strings.
5468 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5470 # Same as above, but do not quote variable references.
5471 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5473 # Sed substitution to delay expansion of an escaped shell variable in a
5474 # double_quote_subst'ed string.
5475 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5477 # Sed substitution to delay expansion of an escaped single quote.
5478 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5480 # Sed substitution to avoid accidental globbing in evaled expressions
5481 no_glob_subst='s/\*/\\\*/g'
5483 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5484 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5485 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5488 $as_echo_n "checking how to print
strings...
" >&6; }
5489 # Test print first, because it will be a builtin if present.
5490 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5491 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5493 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5496 # Use this function as a fallback that always works.
5497 func_fallback_echo ()
5499 eval 'cat <<_LTECHO_EOF
5503 ECHO='func_fallback_echo'
5506 # func_echo_all arg...
5507 # Invoke $ECHO with all args, space-separated.
5514 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5515 $as_echo "printf" >&6; } ;;
5516 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5517 $as_echo "print
-r" >&6; } ;;
5518 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5519 $as_echo "cat" >&6; } ;;
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5536 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5537 if ${ac_cv_path_SED+:} false; then :
5538 $as_echo_n "(cached
) " >&6
5540 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5541 for ac_i in 1 2 3 4 5 6 7; do
5542 ac_script="$ac_script$as_nl$ac_script"
5544 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5545 { ac_script=; unset ac_script;}
5546 if test -z "$SED"; then
5547 ac_path_SED_found=false
5548 # Loop through the user's path and test for each of PROGNAME-LIST
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_prog in sed gsed; do
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5557 as_fn_executable_p "$ac_path_SED" || continue
5558 # Check for GNU ac_path_SED and select it if it is found.
5559 # Check for GNU $ac_path_SED
5560 case `"$ac_path_SED" --version 2>&1` in
5562 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5565 $as_echo_n 0123456789 >"conftest.
in"
5568 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5569 mv "conftest.tmp
" "conftest.
in"
5570 cp "conftest.
in" "conftest.
nl"
5571 $as_echo '' >> "conftest.
nl"
5572 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5573 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5574 as_fn_arith $ac_count + 1 && ac_count=$as_val
5575 if test $ac_count -gt ${ac_path_SED_max-0}; then
5576 # Best one so far, save it but keep looking for a better one
5577 ac_cv_path_SED="$ac_path_SED"
5578 ac_path_SED_max=$ac_count
5580 # 10*(2^10) chars as input seems more than enough
5581 test $ac_count -gt 10 && break
5583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5586 $ac_path_SED_found && break 3
5591 if test -z "$ac_cv_path_SED"; then
5592 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5600 $as_echo "$ac_cv_path_SED" >&6; }
5601 SED="$ac_cv_path_SED"
5604 test -z "$SED" && SED=sed
5605 Xsed="$SED -e 1s
/^X
//"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5618 $as_echo_n "checking
for fgrep...
" >&6; }
5619 if ${ac_cv_path_FGREP+:} false; then :
5620 $as_echo_n "(cached
) " >&6
5622 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5623 then ac_cv_path_FGREP="$GREP -F"
5625 if test -z "$FGREP"; then
5626 ac_path_FGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in fgrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_FGREP" || continue
5637 # Check for GNU ac_path_FGREP and select it if it is found.
5638 # Check for GNU $ac_path_FGREP
5639 case `"$ac_path_FGREP" --version 2>&1` in
5641 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5644 $as_echo_n 0123456789 >"conftest.
in"
5647 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5648 mv "conftest.tmp
" "conftest.
in"
5649 cp "conftest.
in" "conftest.
nl"
5650 $as_echo 'FGREP' >> "conftest.
nl"
5651 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5652 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_FGREP="$ac_path_FGREP"
5657 ac_path_FGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 $ac_path_FGREP_found && break 3
5670 if test -z "$ac_cv_path_FGREP"; then
5671 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5674 ac_cv_path_FGREP=$FGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5680 $as_echo "$ac_cv_path_FGREP" >&6; }
5681 FGREP="$ac_cv_path_FGREP"
5684 test -z "$GREP" && GREP=grep
5704 # Check whether --with-gnu-ld was given.
5705 if test "${with_gnu_ld+set}" = set; then :
5706 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5712 if test "$GCC" = yes; then
5713 # Check if gcc -print-prog-name=ld gives a path.
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5715 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5718 # gcc leaves a trailing carriage return which upsets mingw
5719 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5721 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5724 # Accept absolute paths.
5726 re_direlt='/[^/][^/]*/\.\./'
5727 # Canonicalize the pathname of ld
5728 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5729 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5730 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5732 test -z "$LD" && LD="$ac_prog"
5735 # If it fails, then pretend we aren't using GCC.
5739 # If it is relative, then search for the first ld in PATH.
5743 elif test "$with_gnu_ld" = yes; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5745 $as_echo_n "checking
for GNU ld...
" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5748 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5750 if ${lt_cv_path_LD+:} false; then :
5751 $as_echo_n "(cached
) " >&6
5753 if test -z "$LD"; then
5754 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5755 for ac_dir in $PATH; do
5757 test -z "$ac_dir" && ac_dir=.
5758 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5759 lt_cv_path_LD="$ac_dir/$ac_prog"
5760 # Check to see if the program is GNU ld. I'd rather use --version,
5761 # but apparently some variants of GNU ld only accept -v.
5762 # Break only if it was the GNU/non-GNU ld that we prefer.
5763 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5764 *GNU* | *'with BFD'*)
5765 test "$with_gnu_ld" != no && break
5768 test "$with_gnu_ld" != yes && break
5775 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5780 if test -n "$LD"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5782 $as_echo "$LD" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5785 $as_echo "no
" >&6; }
5787 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5789 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5790 if ${lt_cv_prog_gnu_ld+:} false; then :
5791 $as_echo_n "(cached
) " >&6
5793 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5794 case `$LD -v 2>&1 </dev/null` in
5795 *GNU* | *'with BFD'*)
5796 lt_cv_prog_gnu_ld=yes
5799 lt_cv_prog_gnu_ld=no
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5804 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5805 with_gnu_ld=$lt_cv_prog_gnu_ld
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5816 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5817 if ${lt_cv_path_NM+:} false; then :
5818 $as_echo_n "(cached
) " >&6
5820 if test -n "$NM"; then
5821 # Let the user override the nm to test.
5822 lt_nm_to_check="$NM"
5824 lt_nm_to_check="${ac_tool_prefix}nm
"
5825 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5826 lt_nm_to_check="$lt_nm_to_check nm
"
5829 for lt_tmp_nm in "$lt_nm_to_check"; do
5830 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5831 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5833 test -z "$ac_dir" && ac_dir=.
5834 # Strip out any user-provided options from the nm to test twice,
5835 # the first time to test to see if nm (rather than its options) has
5836 # an explicit path, the second time to yield a file which can be
5838 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5839 case "$tmp_nm_path" in
5840 */*|*\\*) tmp_nm="$lt_tmp_nm";;
5841 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
5843 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5844 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
5845 # Check to see if the nm accepts a BSD-compat flag.
5846 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5847 # nm: unknown option "B
" ignored
5848 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5849 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
5853 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5855 lt_cv_path_NM="$tmp_nm -p"
5859 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5860 continue # so that we can try to find one that supports BSD flags
5869 : ${lt_cv_path_NM=no}
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5872 $as_echo "$lt_cv_path_NM" >&6; }
5873 if test "$lt_cv_path_NM" != "no
"; then
5876 # Didn't find any BSD compatible name lister, look for dumpbin.
5877 if test -n "$DUMPBIN"; then :
5878 # Let the user override the test.
5880 if test -n "$ac_tool_prefix"; then
5881 for ac_prog in dumpbin "link
-dump"
5883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5886 $as_echo_n "checking
for $ac_word...
" >&6; }
5887 if ${ac_cv_prog_DUMPBIN+:} false; then :
5888 $as_echo_n "(cached
) " >&6
5890 if test -n "$DUMPBIN"; then
5891 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5910 DUMPBIN=$ac_cv_prog_DUMPBIN
5911 if test -n "$DUMPBIN"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5913 $as_echo "$DUMPBIN" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5916 $as_echo "no
" >&6; }
5920 test -n "$DUMPBIN" && break
5923 if test -z "$DUMPBIN"; then
5924 ac_ct_DUMPBIN=$DUMPBIN
5925 for ac_prog in dumpbin "link
-dump"
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5930 $as_echo_n "checking
for $ac_word...
" >&6; }
5931 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5932 $as_echo_n "(cached
) " >&6
5934 if test -n "$ac_ct_DUMPBIN"; then
5935 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5954 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5955 if test -n "$ac_ct_DUMPBIN"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5957 $as_echo "$ac_ct_DUMPBIN" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5960 $as_echo "no
" >&6; }
5964 test -n "$ac_ct_DUMPBIN" && break
5967 if test "x
$ac_ct_DUMPBIN" = x; then
5970 case $cross_compiling:$ac_tool_warned in
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5973 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5974 ac_tool_warned=yes ;;
5976 DUMPBIN=$ac_ct_DUMPBIN
5980 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5982 DUMPBIN="$DUMPBIN -symbols"
5990 if test "$DUMPBIN" != ":"; then
5994 test -z "$NM" && NM=nm
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6002 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6003 if ${lt_cv_nm_interface+:} false; then :
6004 $as_echo_n "(cached
) " >&6
6006 lt_cv_nm_interface="BSD nm
"
6007 echo "int some_variable
= 0;" > conftest.$ac_ext
6008 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6009 (eval "$ac_compile" 2>conftest.err)
6010 cat conftest.err >&5
6011 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6012 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6013 cat conftest.err >&5
6014 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6015 cat conftest.out >&5
6016 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6017 lt_cv_nm_interface="MS dumpbin
"
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6022 $as_echo "$lt_cv_nm_interface" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6025 $as_echo_n "checking whether
ln -s works...
" >&6; }
6027 if test "$LN_S" = "ln -s"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6029 $as_echo "yes" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6032 $as_echo "no
, using
$LN_S" >&6; }
6035 # find the maximum length of command line arguments
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6037 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6038 if ${lt_cv_sys_max_cmd_len+:} false; then :
6039 $as_echo_n "(cached
) " >&6
6046 # On DJGPP, this test can blow up pretty badly due to problems in libc
6047 # (any single argument exceeding 2000 bytes causes a buffer overrun
6048 # during glob expansion). Even if it were fixed, the result of this
6049 # check would be larger than it should be.
6050 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6054 # Under GNU Hurd, this test is not required because there is
6055 # no limit to the length of command line arguments.
6056 # Libtool will interpret -1 as no limit whatsoever
6057 lt_cv_sys_max_cmd_len=-1;
6060 cygwin* | mingw* | cegcc*)
6061 # On Win9x/ME, this test blows up -- it succeeds, but takes
6062 # about 5 minutes as the teststring grows exponentially.
6063 # Worse, since 9x/ME are not pre-emptively multitasking,
6064 # you end up with a "frozen
" computer, even though with patience
6065 # the test eventually succeeds (with a max line length of 256k).
6066 # Instead, let's just punt: use the minimum linelength reported by
6067 # all of the supported platforms: 8192 (on NT/2K/XP).
6068 lt_cv_sys_max_cmd_len=8192;
6072 # On MiNT this can take a long time and run out of memory.
6073 lt_cv_sys_max_cmd_len=8192;
6077 # On AmigaOS with pdksh, this test takes hours, literally.
6078 # So we just punt and use a minimum line length of 8192.
6079 lt_cv_sys_max_cmd_len=8192;
6082 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6083 # This has been around since 386BSD, at least. Likely further.
6084 if test -x /sbin/sysctl; then
6085 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6086 elif test -x /usr/sbin/sysctl; then
6087 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6089 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6091 # And add a safety zone
6092 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6097 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6098 lt_cv_sys_max_cmd_len=196608
6102 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6103 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6104 # nice to cause kernel panics so lets avoid the loop below.
6105 # First set a reasonable default.
6106 lt_cv_sys_max_cmd_len=16384
6108 if test -x /sbin/sysconfig; then
6109 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6110 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6115 lt_cv_sys_max_cmd_len=102400
6117 sysv5* | sco5v6* | sysv4.2uw2*)
6118 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6119 if test -n "$kargmax"; then
6120 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6122 lt_cv_sys_max_cmd_len=32768
6126 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6127 if test -n "$lt_cv_sys_max_cmd_len"; then
6128 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6129 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6131 # Make teststring a little bigger before we do anything with it.
6132 # a 1K string should be a reasonable start.
6133 for i in 1 2 3 4 5 6 7 8 ; do
6134 teststring=$teststring$teststring
6136 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6137 # If test is not a shell built-in, we'll probably end up computing a
6138 # maximum length that is only half of the actual maximum length, but
6140 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6141 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6142 test $i != 17 # 1/2 MB should be enough
6145 teststring=$teststring$teststring
6147 # Only check the string length outside the loop.
6148 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6150 # Add a significant safety factor because C++ compilers can tack on
6151 # massive amounts of additional arguments before passing them to the
6152 # linker. It appears as though 1/2 is a usable value.
6153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6160 if test -n $lt_cv_sys_max_cmd_len ; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6162 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6165 $as_echo "none
" >&6; }
6167 max_cmd_len=$lt_cv_sys_max_cmd_len
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6179 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6180 # Try some XSI features
6183 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6185 && eval 'test $(( 1 + 1 )) -eq 2 \
6186 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6189 $as_echo "$xsi_shell" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6193 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6195 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6197 && lt_shell_append
=yes
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6199 $as_echo "$lt_shell_append" >&6; }
6202 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6212 # test EBCDIC or ASCII
6213 case `echo X|tr X '\101'` in
6214 A
) # ASCII based system
6215 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6216 lt_SP2NL
='tr \040 \012'
6217 lt_NL2SP
='tr \015\012 \040\040'
6219 *) # EBCDIC based system
6220 lt_SP2NL
='tr \100 \n'
6221 lt_NL2SP
='tr \r\n \100\100'
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6234 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6235 if ${lt_cv_ld_reload_flag+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 lt_cv_ld_reload_flag
='-r'
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6241 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6242 reload_flag
=$lt_cv_ld_reload_flag
6243 case $reload_flag in
6245 *) reload_flag
=" $reload_flag" ;;
6247 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6250 if test "$GCC" = yes; then
6251 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6253 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6266 if test -n "$ac_tool_prefix"; then
6267 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6268 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6272 $as_echo_n "(cached) " >&6
6274 if test -n "$OBJDUMP"; then
6275 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir
=.
6282 for ac_exec_ext
in '' $ac_executable_extensions; do
6283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 OBJDUMP
=$ac_cv_prog_OBJDUMP
6295 if test -n "$OBJDUMP"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6297 $as_echo "$OBJDUMP" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6305 if test -z "$ac_cv_prog_OBJDUMP"; then
6306 ac_ct_OBJDUMP
=$OBJDUMP
6307 # Extract the first word of "objdump", so it can be a program name with args.
6308 set dummy objdump
; ac_word
=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6314 if test -n "$ac_ct_OBJDUMP"; then
6315 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir
=.
6322 for ac_exec_ext
in '' $ac_executable_extensions; do
6323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6335 if test -n "$ac_ct_OBJDUMP"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6337 $as_echo "$ac_ct_OBJDUMP" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6343 if test "x$ac_ct_OBJDUMP" = x
; then
6346 case $cross_compiling:$ac_tool_warned in
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6350 ac_tool_warned
=yes ;;
6352 OBJDUMP
=$ac_ct_OBJDUMP
6355 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6358 test -z "$OBJDUMP" && OBJDUMP
=objdump
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6369 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6370 if ${lt_cv_deplibs_check_method+:} false
; then :
6371 $as_echo_n "(cached) " >&6
6373 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6374 lt_cv_file_magic_test_file
=
6375 lt_cv_deplibs_check_method
='unknown'
6376 # Need to set the preceding variable on all platforms that support
6377 # interlibrary dependencies.
6378 # 'none' -- dependencies not supported.
6379 # `unknown' -- same as none, but documents that we really don't know.
6380 # 'pass_all' -- all dependencies passed with no checks.
6381 # 'test_compile' -- check by making test program.
6382 # 'file_magic [[regex]]' -- check by looking for files in library path
6383 # which responds to the $file_magic_cmd with a given extended regex.
6384 # If you have `file' or equivalent on your system and you're not sure
6385 # whether `pass_all' will *always* work, you probably want this one.
6389 lt_cv_deplibs_check_method
=pass_all
6393 lt_cv_deplibs_check_method
=pass_all
6397 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6398 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6399 lt_cv_file_magic_test_file
=/shlib
/libc.so
6403 # func_win32_libid is a shell function defined in ltmain.sh
6404 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6405 lt_cv_file_magic_cmd
='func_win32_libid'
6409 # Base MSYS/MinGW do not provide the 'file' command needed by
6410 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6411 # unless we find 'file', for example because we are cross-compiling.
6412 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6413 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6414 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6415 lt_cv_file_magic_cmd
='func_win32_libid'
6417 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6418 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6423 # use the weaker test based on 'objdump'. See mingw*.
6424 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6425 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6428 darwin
* | rhapsody
*)
6429 lt_cv_deplibs_check_method
=pass_all
6432 freebsd
* | dragonfly
*)
6433 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6436 # Not sure whether the presence of OpenBSD here was a mistake.
6437 # Let's accept both of them until this is cleared up.
6438 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6439 lt_cv_file_magic_cmd
=/usr
/bin
/file
6440 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6444 lt_cv_deplibs_check_method
=pass_all
6449 lt_cv_deplibs_check_method
=pass_all
6453 lt_cv_deplibs_check_method
=pass_all
6456 hpux10.20
* | hpux11
*)
6457 lt_cv_file_magic_cmd
=/usr
/bin
/file
6460 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6461 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6464 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]'
6465 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6468 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6469 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6475 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6476 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6479 irix5
* | irix6
* | nonstopux
*)
6481 *-32|
*"-32 ") libmagic
=32-bit;;
6482 *-n32|
*"-n32 ") libmagic
=N32
;;
6483 *-64|
*"-64 ") libmagic
=64-bit;;
6484 *) libmagic
=never-match
;;
6486 lt_cv_deplibs_check_method
=pass_all
6489 # This must be Linux ELF.
6490 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
6491 lt_cv_deplibs_check_method
=pass_all
6495 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6496 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6498 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6503 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6504 lt_cv_file_magic_cmd
=/usr
/bin
/file
6505 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6509 lt_cv_deplibs_check_method
=pass_all
6513 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6514 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6516 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6520 osf3
* | osf4
* | osf5
*)
6521 lt_cv_deplibs_check_method
=pass_all
6525 lt_cv_deplibs_check_method
=pass_all
6529 lt_cv_deplibs_check_method
=pass_all
6532 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6533 lt_cv_deplibs_check_method
=pass_all
6537 case $host_vendor in
6539 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]'
6540 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6543 lt_cv_deplibs_check_method
=pass_all
6546 lt_cv_file_magic_cmd
='/bin/file'
6547 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6550 lt_cv_file_magic_cmd
='/bin/file'
6551 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6552 lt_cv_file_magic_test_file
=/lib
/libc.so
6555 lt_cv_deplibs_check_method
=pass_all
6558 lt_cv_deplibs_check_method
=pass_all
6564 lt_cv_deplibs_check_method
=pass_all
6567 # Assume VxWorks cross toolchains are built on Linux, possibly
6568 # as canadian for Windows hosts.
6569 lt_cv_deplibs_check_method
=pass_all
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6575 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6576 file_magic_cmd
=$lt_cv_file_magic_cmd
6577 deplibs_check_method
=$lt_cv_deplibs_check_method
6578 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6592 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6593 for plugin
in $plugin_names; do
6594 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
6595 if test x
$plugin_so = x
$plugin; then
6596 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
6598 if test x
$plugin_so != x
$plugin; then
6599 plugin_option
="--plugin $plugin_so"
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6606 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_AR+:} false
; then :
6610 $as_echo_n "(cached) " >&6
6612 if test -n "$AR"; then
6613 ac_cv_prog_AR
="$AR" # Let the user override the test.
6615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6619 test -z "$as_dir" && as_dir
=.
6620 for ac_exec_ext
in '' $ac_executable_extensions; do
6621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 if test -n "$AR"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6635 $as_echo "$AR" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6643 if test -z "$ac_cv_prog_AR"; then
6645 # Extract the first word of "ar", so it can be a program name with args.
6646 set dummy
ar; ac_word
=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6650 $as_echo_n "(cached) " >&6
6652 if test -n "$ac_ct_AR"; then
6653 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6659 test -z "$as_dir" && as_dir
=.
6660 for ac_exec_ext
in '' $ac_executable_extensions; do
6661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6662 ac_cv_prog_ac_ct_AR
="ar"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6673 if test -n "$ac_ct_AR"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6675 $as_echo "$ac_ct_AR" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6681 if test "x$ac_ct_AR" = x
; then
6684 case $cross_compiling:$ac_tool_warned in
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned
=yes ;;
6696 test -z "$AR" && AR
=ar
6697 if test -n "$plugin_option"; then
6698 if $AR --help 2>&1 |
grep -q "\--plugin"; then
6700 $AR $plugin_option rc conftest.a conftest.c
6701 if test "$?" != 0; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
6703 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
6705 AR
="$AR $plugin_option"
6710 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6722 if test -n "$ac_tool_prefix"; then
6723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6724 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if ${ac_cv_prog_STRIP+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 if test -n "$STRIP"; then
6731 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir
=.
6738 for ac_exec_ext
in '' $ac_executable_extensions; do
6739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6740 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 STRIP
=$ac_cv_prog_STRIP
6751 if test -n "$STRIP"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6753 $as_echo "$STRIP" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6761 if test -z "$ac_cv_prog_STRIP"; then
6763 # Extract the first word of "strip", so it can be a program name with args.
6764 set dummy strip
; ac_word
=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6768 $as_echo_n "(cached) " >&6
6770 if test -n "$ac_ct_STRIP"; then
6771 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir
=.
6778 for ac_exec_ext
in '' $ac_executable_extensions; do
6779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_ac_ct_STRIP
="strip"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6791 if test -n "$ac_ct_STRIP"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6793 $as_echo "$ac_ct_STRIP" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6799 if test "x$ac_ct_STRIP" = x
; then
6802 case $cross_compiling:$ac_tool_warned in
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806 ac_tool_warned
=yes ;;
6811 STRIP
="$ac_cv_prog_STRIP"
6814 test -z "$STRIP" && STRIP
=:
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6823 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 $as_echo_n "checking for $ac_word... " >&6; }
6826 if ${ac_cv_prog_RANLIB+:} false
; then :
6827 $as_echo_n "(cached) " >&6
6829 if test -n "$RANLIB"; then
6830 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir
=.
6837 for ac_exec_ext
in '' $ac_executable_extensions; do
6838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6839 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6849 RANLIB
=$ac_cv_prog_RANLIB
6850 if test -n "$RANLIB"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6852 $as_echo "$RANLIB" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6860 if test -z "$ac_cv_prog_RANLIB"; then
6861 ac_ct_RANLIB
=$RANLIB
6862 # Extract the first word of "ranlib", so it can be a program name with args.
6863 set dummy ranlib
; ac_word
=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 $as_echo_n "checking for $ac_word... " >&6; }
6866 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6867 $as_echo_n "(cached) " >&6
6869 if test -n "$ac_ct_RANLIB"; then
6870 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir
=.
6877 for ac_exec_ext
in '' $ac_executable_extensions; do
6878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6879 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6890 if test -n "$ac_ct_RANLIB"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6892 $as_echo "$ac_ct_RANLIB" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 $as_echo "no" >&6; }
6898 if test "x$ac_ct_RANLIB" = x
; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned
=yes ;;
6907 RANLIB
=$ac_ct_RANLIB
6910 RANLIB
="$ac_cv_prog_RANLIB"
6913 test -z "$RANLIB" && RANLIB
=:
6914 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6915 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
6916 RANLIB
="$RANLIB $plugin_option"
6925 # Determine commands to create old-style static archives.
6926 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6927 old_postinstall_cmds
='chmod 644 $oldlib'
6928 old_postuninstall_cmds
=
6930 if test -n "$RANLIB"; then
6933 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6936 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6939 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6944 lock_old_archive_extraction
=yes ;;
6946 lock_old_archive_extraction
=no
;;
6987 # If no C compiler was specified, use CC.
6990 # If no C compiler flags were specified, use CFLAGS.
6991 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6993 # Allow CC to be a program name with arguments.
6997 # Check for command to grab the raw symbol name followed by C symbol from nm.
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6999 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7000 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7001 $as_echo_n "(cached) " >&6
7004 # These are sane defaults that work on at least a few old systems.
7005 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7007 # Character class describing NM global symbol codes.
7008 symcode
='[BCDEGRST]'
7010 # Regexp to match symbols that can be accessed directly from C.
7011 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7013 # Define system-specific variables.
7018 cygwin
* | mingw
* | pw32
* | cegcc
*)
7019 symcode
='[ABCDGISTW]'
7022 if test "$host_cpu" = ia64
; then
7023 symcode
='[ABCDEGRST]'
7027 symcode
='[BCDEGRST]'
7030 symcode
='[BCDEGQRST]'
7041 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7049 # If we're using GNU nm, then use its standard symbol codes.
7050 case `$NM -V 2>&1` in
7051 *GNU
* |
*'with BFD'*)
7052 symcode
='[ABCDGIRSTW]' ;;
7055 # Transform an extracted symbol line into a proper C declaration.
7056 # Some systems (esp. on ia64) link data and code symbols differently,
7057 # so use this general approach.
7058 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7060 # Transform an extracted symbol line into symbol name and symbol address
7061 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7062 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'"
7064 # Handle CRLF in mingw tool chain
7068 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7072 # Try without a prefix underscore, then with it.
7073 for ac_symprfx
in "" "_"; do
7075 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7076 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7078 # Write the raw and C identifiers.
7079 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7080 # Fake it for dumpbin and say T for any non-static function
7081 # and D for any global variable.
7082 # Also find C++ and __fastcall symbols from MSVC++,
7083 # which start with @ or ?.
7084 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7085 " {last_section=section; section=\$ 3};"\
7086 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7087 " \$ 0!~/External *\|/{next};"\
7088 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7089 " {if(hide[section]) next};"\
7090 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7091 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7092 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7093 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7094 " ' prfx=^$ac_symprfx"
7096 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7099 # Check to see that the pipe works correctly.
7103 cat > conftest.
$ac_ext <<_LT_EOF
7108 void nm_test_func(void);
7109 void nm_test_func(void){}
7113 int main(){nm_test_var='a';nm_test_func();return(0);}
7116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7117 (eval $ac_compile) 2>&5
7119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7120 test $ac_status = 0; }; then
7121 # Now try to grab the symbols.
7123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7124 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; } && test -s "$nlist"; then
7128 # Try sorting and uniquifying the output.
7129 if sort "$nlist" |
uniq > "$nlist"T
; then
7130 mv -f "$nlist"T
"$nlist"
7135 # Make sure that we snagged all the symbols we need.
7136 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7137 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7138 cat <<_LT_EOF > conftest.$ac_ext
7144 # Now generate the symbol file.
7145 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7147 cat <<_LT_EOF >> conftest.$ac_ext
7149 /* The mapping between symbol names and symbols. */
7154 lt__PROGRAM__LTX_preloaded_symbols[] =
7156 { "@PROGRAM@", (void *) 0 },
7158 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7159 cat <<\_LT_EOF
>> conftest.
$ac_ext
7163 /* This works around a problem
in FreeBSD linker
*/
7164 #ifdef FREEBSD_WORKAROUND
7165 static const void
*lt_preloaded_setup
() {
7166 return lt__PROGRAM__LTX_preloaded_symbols
;
7174 # Now try linking the two files.
7175 mv conftest.
$ac_objext conftstm.
$ac_objext
7176 lt_save_LIBS
="$LIBS"
7177 lt_save_CFLAGS
="$CFLAGS"
7178 LIBS
="conftstm.$ac_objext"
7179 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7181 (eval $ac_link) 2>&5
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7187 LIBS
="$lt_save_LIBS"
7188 CFLAGS
="$lt_save_CFLAGS"
7190 echo "cannot find nm_test_func in $nlist" >&5
7193 echo "cannot find nm_test_var in $nlist" >&5
7196 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7199 echo "$progname: failed program was:" >&5
7200 cat conftest.
$ac_ext >&5
7202 rm -rf conftest
* conftst
*
7204 # Do not use the global_symbol_pipe unless it works.
7205 if test "$pipe_works" = yes; then
7208 lt_cv_sys_global_symbol_pipe
=
7214 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7215 lt_cv_sys_global_symbol_to_cdecl
=
7217 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7219 $as_echo "failed" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7222 $as_echo "ok" >&6; }
7246 # Check whether --enable-libtool-lock was given.
7247 if test "${enable_libtool_lock+set}" = set; then :
7248 enableval
=$enable_libtool_lock;
7251 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7253 # Some flags need to be propagated to the compiler or linker for good
7257 # Find out which ABI we are using.
7258 echo 'int i;' > conftest.
$ac_ext
7259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7260 (eval $ac_compile) 2>&5
7262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7263 test $ac_status = 0; }; then
7264 case `/usr/bin/file conftest.$ac_objext` in
7276 # Find out which ABI we are using.
7277 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7279 (eval $ac_compile) 2>&5
7281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7282 test $ac_status = 0; }; then
7283 if test "$lt_cv_prog_gnu_ld" = yes; then
7284 case `/usr/bin/file conftest.$ac_objext` in
7286 LD
="${LD-ld} -melf32bsmip"
7289 LD
="${LD-ld} -melf32bmipn32"
7292 LD
="${LD-ld} -melf64bmip"
7296 case `/usr/bin/file conftest.$ac_objext` in
7312 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7313 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7314 # Find out which ABI we are using.
7315 echo 'int i;' > conftest.
$ac_ext
7316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7317 (eval $ac_compile) 2>&5
7319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320 test $ac_status = 0; }; then
7321 case `/usr/bin/file conftest.o` in
7324 x86_64-
*kfreebsd
*-gnu)
7325 LD
="${LD-ld} -m elf_i386_fbsd"
7328 case `/usr/bin/file conftest.o` in
7330 LD
="${LD-ld} -m elf32_x86_64"
7333 LD
="${LD-ld} -m elf_i386"
7337 powerpc64le-
*linux
*)
7338 LD
="${LD-ld} -m elf32lppclinux"
7341 LD
="${LD-ld} -m elf32ppclinux"
7344 LD
="${LD-ld} -m elf_s390"
7347 LD
="${LD-ld} -m elf32_sparc"
7353 x86_64-
*kfreebsd
*-gnu)
7354 LD
="${LD-ld} -m elf_x86_64_fbsd"
7357 LD
="${LD-ld} -m elf_x86_64"
7360 LD
="${LD-ld} -m elf64lppc"
7363 LD
="${LD-ld} -m elf64ppc"
7365 s390
*-*linux
*|s390
*-*tpf
*)
7366 LD
="${LD-ld} -m elf64_s390"
7369 LD
="${LD-ld} -m elf64_sparc"
7379 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7380 SAVE_CFLAGS
="$CFLAGS"
7381 CFLAGS
="$CFLAGS -belf"
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7383 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7384 if ${lt_cv_cc_needs_belf+:} false
; then :
7385 $as_echo_n "(cached) " >&6
7388 ac_cpp
='$CPP $CPPFLAGS'
7389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7394 /* end confdefs.h. */
7404 if ac_fn_c_try_link
"$LINENO"; then :
7405 lt_cv_cc_needs_belf
=yes
7407 lt_cv_cc_needs_belf
=no
7409 rm -f core conftest.err conftest.
$ac_objext \
7410 conftest
$ac_exeext conftest.
$ac_ext
7412 ac_cpp
='$CPP $CPPFLAGS'
7413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7419 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7420 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7421 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7422 CFLAGS
="$SAVE_CFLAGS"
7426 # Find out which ABI we are using.
7427 echo 'int i;' > conftest.
$ac_ext
7428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7429 (eval $ac_compile) 2>&5
7431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7432 test $ac_status = 0; }; then
7433 case `/usr/bin/file conftest.o` in
7435 case $lt_cv_prog_gnu_ld in
7436 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7438 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7450 need_locks
="$enable_libtool_lock"
7454 rhapsody
* | darwin
*)
7455 if test -n "$ac_tool_prefix"; then
7456 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7457 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7461 $as_echo_n "(cached) " >&6
7463 if test -n "$DSYMUTIL"; then
7464 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7470 test -z "$as_dir" && as_dir
=.
7471 for ac_exec_ext
in '' $ac_executable_extensions; do
7472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7473 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7484 if test -n "$DSYMUTIL"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7486 $as_echo "$DSYMUTIL" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7494 if test -z "$ac_cv_prog_DSYMUTIL"; then
7495 ac_ct_DSYMUTIL
=$DSYMUTIL
7496 # Extract the first word of "dsymutil", so it can be a program name with args.
7497 set dummy dsymutil
; ac_word
=$2
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7499 $as_echo_n "checking for $ac_word... " >&6; }
7500 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7501 $as_echo_n "(cached) " >&6
7503 if test -n "$ac_ct_DSYMUTIL"; then
7504 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7510 test -z "$as_dir" && as_dir
=.
7511 for ac_exec_ext
in '' $ac_executable_extensions; do
7512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7513 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7524 if test -n "$ac_ct_DSYMUTIL"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7526 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7529 $as_echo "no" >&6; }
7532 if test "x$ac_ct_DSYMUTIL" = x
; then
7535 case $cross_compiling:$ac_tool_warned in
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7539 ac_tool_warned
=yes ;;
7541 DSYMUTIL
=$ac_ct_DSYMUTIL
7544 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7547 if test -n "$ac_tool_prefix"; then
7548 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7549 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_NMEDIT+:} false
; then :
7553 $as_echo_n "(cached) " >&6
7555 if test -n "$NMEDIT"; then
7556 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir
=.
7563 for ac_exec_ext
in '' $ac_executable_extensions; do
7564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 NMEDIT
=$ac_cv_prog_NMEDIT
7576 if test -n "$NMEDIT"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7578 $as_echo "$NMEDIT" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7586 if test -z "$ac_cv_prog_NMEDIT"; then
7587 ac_ct_NMEDIT
=$NMEDIT
7588 # Extract the first word of "nmedit", so it can be a program name with args.
7589 set dummy nmedit
; ac_word
=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7595 if test -n "$ac_ct_NMEDIT"; then
7596 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir
=.
7603 for ac_exec_ext
in '' $ac_executable_extensions; do
7604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7616 if test -n "$ac_ct_NMEDIT"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7618 $as_echo "$ac_ct_NMEDIT" >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7624 if test "x$ac_ct_NMEDIT" = x
; then
7627 case $cross_compiling:$ac_tool_warned in
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7631 ac_tool_warned
=yes ;;
7633 NMEDIT
=$ac_ct_NMEDIT
7636 NMEDIT
="$ac_cv_prog_NMEDIT"
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7641 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_LIPO+:} false
; then :
7645 $as_echo_n "(cached) " >&6
7647 if test -n "$LIPO"; then
7648 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir
=.
7655 for ac_exec_ext
in '' $ac_executable_extensions; do
7656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 LIPO
=$ac_cv_prog_LIPO
7668 if test -n "$LIPO"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7670 $as_echo "$LIPO" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7678 if test -z "$ac_cv_prog_LIPO"; then
7680 # Extract the first word of "lipo", so it can be a program name with args.
7681 set dummy lipo
; ac_word
=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7685 $as_echo_n "(cached) " >&6
7687 if test -n "$ac_ct_LIPO"; then
7688 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir
=.
7695 for ac_exec_ext
in '' $ac_executable_extensions; do
7696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_ac_ct_LIPO
="lipo"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7708 if test -n "$ac_ct_LIPO"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7710 $as_echo "$ac_ct_LIPO" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7716 if test "x$ac_ct_LIPO" = x
; then
7719 case $cross_compiling:$ac_tool_warned in
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned
=yes ;;
7728 LIPO
="$ac_cv_prog_LIPO"
7731 if test -n "$ac_tool_prefix"; then
7732 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7733 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_OTOOL+:} false
; then :
7737 $as_echo_n "(cached) " >&6
7739 if test -n "$OTOOL"; then
7740 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir
=.
7747 for ac_exec_ext
in '' $ac_executable_extensions; do
7748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 OTOOL
=$ac_cv_prog_OTOOL
7760 if test -n "$OTOOL"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7762 $as_echo "$OTOOL" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7770 if test -z "$ac_cv_prog_OTOOL"; then
7772 # Extract the first word of "otool", so it can be a program name with args.
7773 set dummy otool
; ac_word
=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7777 $as_echo_n "(cached) " >&6
7779 if test -n "$ac_ct_OTOOL"; then
7780 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir
=.
7787 for ac_exec_ext
in '' $ac_executable_extensions; do
7788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_ac_ct_OTOOL
="otool"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7800 if test -n "$ac_ct_OTOOL"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7802 $as_echo "$ac_ct_OTOOL" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7808 if test "x$ac_ct_OTOOL" = x
; then
7811 case $cross_compiling:$ac_tool_warned in
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7815 ac_tool_warned
=yes ;;
7820 OTOOL
="$ac_cv_prog_OTOOL"
7823 if test -n "$ac_tool_prefix"; then
7824 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7825 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827 $as_echo_n "checking for $ac_word... " >&6; }
7828 if ${ac_cv_prog_OTOOL64+:} false
; then :
7829 $as_echo_n "(cached) " >&6
7831 if test -n "$OTOOL64"; then
7832 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7838 test -z "$as_dir" && as_dir
=.
7839 for ac_exec_ext
in '' $ac_executable_extensions; do
7840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7841 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 OTOOL64
=$ac_cv_prog_OTOOL64
7852 if test -n "$OTOOL64"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7854 $as_echo "$OTOOL64" >&6; }
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7857 $as_echo "no" >&6; }
7862 if test -z "$ac_cv_prog_OTOOL64"; then
7863 ac_ct_OTOOL64
=$OTOOL64
7864 # Extract the first word of "otool64", so it can be a program name with args.
7865 set dummy otool64
; ac_word
=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7869 $as_echo_n "(cached) " >&6
7871 if test -n "$ac_ct_OTOOL64"; then
7872 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7878 test -z "$as_dir" && as_dir
=.
7879 for ac_exec_ext
in '' $ac_executable_extensions; do
7880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7892 if test -n "$ac_ct_OTOOL64"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7894 $as_echo "$ac_ct_OTOOL64" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7900 if test "x$ac_ct_OTOOL64" = x
; then
7903 case $cross_compiling:$ac_tool_warned in
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7907 ac_tool_warned
=yes ;;
7909 OTOOL64
=$ac_ct_OTOOL64
7912 OTOOL64
="$ac_cv_prog_OTOOL64"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7942 $as_echo_n "checking for -single_module linker flag... " >&6; }
7943 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 lt_cv_apple_cc_single_mod
=no
7947 if test -z "${LT_MULTI_MODULE}"; then
7948 # By default we will add the -single_module flag. You can override
7949 # by either setting the environment variable LT_MULTI_MODULE
7950 # non-empty at configure time, or by adding -multi_module to the
7952 rm -rf libconftest.dylib
*
7953 echo "int foo(void){return 1;}" > conftest.c
7954 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7955 -dynamiclib -Wl,-single_module conftest.c" >&5
7956 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7957 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7959 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7960 lt_cv_apple_cc_single_mod
=yes
7962 cat conftest.err
>&5
7964 rm -rf libconftest.dylib
*
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7969 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7971 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7972 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 lt_cv_ld_exported_symbols_list
=no
7976 save_LDFLAGS
=$LDFLAGS
7977 echo "_main" > conftest.sym
7978 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7990 if ac_fn_c_try_link
"$LINENO"; then :
7991 lt_cv_ld_exported_symbols_list
=yes
7993 lt_cv_ld_exported_symbols_list
=no
7995 rm -f core conftest.err conftest.
$ac_objext \
7996 conftest
$ac_exeext conftest.
$ac_ext
7997 LDFLAGS
="$save_LDFLAGS"
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8001 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8003 $as_echo_n "checking for -force_load linker flag... " >&6; }
8004 if ${lt_cv_ld_force_load+:} false
; then :
8005 $as_echo_n "(cached) " >&6
8007 lt_cv_ld_force_load
=no
8008 cat > conftest.c
<< _LT_EOF
8009 int forced_loaded() { return 2;}
8011 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8012 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8013 echo "$AR cru libconftest.a conftest.o" >&5
8014 $AR cru libconftest.a conftest.o
2>&5
8015 cat > conftest.c
<< _LT_EOF
8016 int main() { return 0;}
8018 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8019 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8021 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8022 lt_cv_ld_force_load
=yes
8024 cat conftest.err
>&5
8026 rm -f conftest.err libconftest.a conftest conftest.c
8027 rm -rf conftest.dSYM
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8031 $as_echo "$lt_cv_ld_force_load" >&6; }
8032 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8033 # build without first building modern cctools / linker.
8034 case $host_cpu-$host_os in
8035 *-rhapsody* |
*-darwin1.
[012])
8036 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8038 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8040 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8041 # deployment target is forced to an earlier version.
8042 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8043 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
8046 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8053 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8054 _lt_dar_single_mod
='$single_module'
8056 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8057 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8059 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8061 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8062 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8069 for ac_header
in dlfcn.h
8071 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8073 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8074 cat >>confdefs.h
<<_ACEOF
8075 #define HAVE_DLFCN_H 1
8096 # Check whether --enable-shared was given.
8097 if test "${enable_shared+set}" = set; then :
8098 enableval
=$enable_shared; p
=${PACKAGE-default}
8100 yes) enable_shared
=yes ;;
8101 no
) enable_shared
=no
;;
8104 # Look at the argument we got. We use all the common list separators.
8105 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8106 for pkg
in $enableval; do
8108 if test "X$pkg" = "X$p"; then
8127 # Check whether --enable-static was given.
8128 if test "${enable_static+set}" = set; then :
8129 enableval
=$enable_static; p
=${PACKAGE-default}
8131 yes) enable_static
=yes ;;
8132 no
) enable_static
=no
;;
8135 # Look at the argument we got. We use all the common list separators.
8136 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8137 for pkg
in $enableval; do
8139 if test "X$pkg" = "X$p"; then
8159 # Check whether --with-pic was given.
8160 if test "${with_pic+set}" = set; then :
8161 withval
=$with_pic; pic_mode
="$withval"
8167 test -z "$pic_mode" && pic_mode
=default
8175 # Check whether --enable-fast-install was given.
8176 if test "${enable_fast_install+set}" = set; then :
8177 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8179 yes) enable_fast_install
=yes ;;
8180 no
) enable_fast_install
=no
;;
8182 enable_fast_install
=no
8183 # Look at the argument we got. We use all the common list separators.
8184 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8185 for pkg
in $enableval; do
8187 if test "X$pkg" = "X$p"; then
8188 enable_fast_install
=yes
8195 enable_fast_install
=yes
8208 # This can be used to rebuild libtool when needed
8209 LIBTOOL_DEPS
="$ltmain"
8211 # Always use our own libtool.
8212 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8239 test -z "$LN_S" && LN_S
="ln -s"
8254 if test -n "${ZSH_VERSION+set}" ; then
8255 setopt NO_GLOB_SUBST
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8259 $as_echo_n "checking for objdir... " >&6; }
8260 if ${lt_cv_objdir+:} false
; then :
8261 $as_echo_n "(cached) " >&6
8263 rm -f .libs
2>/dev
/null
8264 mkdir .libs
2>/dev
/null
8265 if test -d .libs
; then
8268 # MS-DOS does not allow filenames that begin with a dot.
8271 rmdir .libs
2>/dev
/null
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8274 $as_echo "$lt_cv_objdir" >&6; }
8275 objdir
=$lt_cv_objdir
8281 cat >>confdefs.h
<<_ACEOF
8282 #define LT_OBJDIR "$lt_cv_objdir/"
8290 # AIX sometimes has problems with the GCC collect2 program. For some
8291 # reason, if we set the COLLECT_NAMES environment variable, the problems
8292 # vanish in a puff of smoke.
8293 if test "X${COLLECT_NAMES+set}" != Xset
; then
8295 export COLLECT_NAMES
8302 can_build_shared
=yes
8304 # All known linkers require a `.a' archive for static linking (except MSVC,
8305 # which needs '.lib').
8308 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8311 old_CFLAGS
="$CFLAGS"
8313 # Set sane defaults for various variables
8314 test -z "$CC" && CC
=cc
8315 test -z "$LTCC" && LTCC
=$CC
8316 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8317 test -z "$LD" && LD
=ld
8318 test -z "$ac_objext" && ac_objext
=o
8320 for cc_temp
in $compiler""; do
8322 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8323 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8328 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8331 # Only perform the check for file, if the check method requires it
8332 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8333 case $deplibs_check_method in
8335 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8337 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8338 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8343 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8346 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8347 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8348 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8349 for ac_dir
in $ac_dummy; do
8351 test -z "$ac_dir" && ac_dir
=.
8352 if test -f $ac_dir/${ac_tool_prefix}file; then
8353 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8354 if test -n "$file_magic_test_file"; then
8355 case $deplibs_check_method in
8357 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8358 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8359 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8360 $EGREP "$file_magic_regex" > /dev
/null
; then
8365 *** Warning: the command libtool uses to detect shared libraries,
8366 *** $file_magic_cmd, produces output that libtool cannot recognize.
8367 *** The result is that libtool may fail to recognize shared libraries
8368 *** as such. This will affect the creation of libtool libraries that
8369 *** depend on shared libraries, but programs linked with such libtool
8370 *** libraries will work regardless of this problem. Nevertheless, you
8371 *** may want to report the problem to your system manager and/or to
8372 *** bug-libtool@gnu.org
8382 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8387 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8388 if test -n "$MAGIC_CMD"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8390 $as_echo "$MAGIC_CMD" >&6; }
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8400 if test -z "$lt_cv_path_MAGIC_CMD"; then
8401 if test -n "$ac_tool_prefix"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8403 $as_echo_n "checking for file... " >&6; }
8404 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8405 $as_echo_n "(cached) " >&6
8409 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8412 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8413 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8414 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8415 for ac_dir
in $ac_dummy; do
8417 test -z "$ac_dir" && ac_dir
=.
8418 if test -f $ac_dir/file; then
8419 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8420 if test -n "$file_magic_test_file"; then
8421 case $deplibs_check_method in
8423 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8424 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8425 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8426 $EGREP "$file_magic_regex" > /dev
/null
; then
8431 *** Warning: the command libtool uses to detect shared libraries,
8432 *** $file_magic_cmd, produces output that libtool cannot recognize.
8433 *** The result is that libtool may fail to recognize shared libraries
8434 *** as such. This will affect the creation of libtool libraries that
8435 *** depend on shared libraries, but programs linked with such libtool
8436 *** libraries will work regardless of this problem. Nevertheless, you
8437 *** may want to report the problem to your system manager and/or to
8438 *** bug-libtool@gnu.org
8448 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8453 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8454 if test -n "$MAGIC_CMD"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8456 $as_echo "$MAGIC_CMD" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8472 # Use C for the default configuration in the libtool script
8476 ac_cpp
='$CPP $CPPFLAGS'
8477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8482 # Source file extension for C test sources.
8485 # Object file extension for compiled C test sources.
8489 # Code to be used in simple compile tests
8490 lt_simple_compile_test_code
="int some_variable = 0;"
8492 # Code to be used in simple link tests
8493 lt_simple_link_test_code
='int main(){return(0);}'
8501 # If no C compiler was specified, use CC.
8504 # If no C compiler flags were specified, use CFLAGS.
8505 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8507 # Allow CC to be a program name with arguments.
8510 # Save the default compiler, since it gets overwritten when the other
8511 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8512 compiler_DEFAULT
=$CC
8514 # save warnings/boilerplate of simple test code
8515 ac_outfile
=conftest.
$ac_objext
8516 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8517 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8518 _lt_compiler_boilerplate
=`cat conftest.err`
8521 ac_outfile
=conftest.
$ac_objext
8522 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8523 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8524 _lt_linker_boilerplate
=`cat conftest.err`
8529 ## There is no encapsulation within the following macros, do not change
8530 ## the running order or otherwise move them around unless you know exactly
8531 ## what you are doing...
8532 if test -n "$compiler"; then
8534 lt_prog_compiler_no_builtin_flag
=
8536 if test "$GCC" = yes; then
8537 case $cc_basename in
8539 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8541 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8545 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8546 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8547 $as_echo_n "(cached) " >&6
8549 lt_cv_prog_compiler_rtti_exceptions
=no
8550 ac_outfile
=conftest.
$ac_objext
8551 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8552 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8553 # Insert the option either (1) after the last *FLAGS variable, or
8554 # (2) before a word containing "conftest.", or (3) at the end.
8555 # Note that $ac_compile itself does not contain backslashes and begins
8556 # with a dollar sign (not a hyphen), so the echo should work correctly.
8557 # The option is referenced via a variable to avoid confusing sed.
8558 lt_compile
=`echo "$ac_compile" | $SED \
8559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8561 -e 's:$: $lt_compiler_flag:'`
8562 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8563 (eval "$lt_compile" 2>conftest.err
)
8565 cat conftest.err
>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 if (exit $ac_status) && test -s "$ac_outfile"; then
8568 # The compiler can only warn and ignore the option if not recognized
8569 # So say no if there are warnings other than the usual output.
8570 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8571 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8572 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8573 lt_cv_prog_compiler_rtti_exceptions
=yes
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8580 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8582 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8583 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8595 lt_prog_compiler_wl
=
8596 lt_prog_compiler_pic
=
8597 lt_prog_compiler_static
=
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8600 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8602 if test "$GCC" = yes; then
8603 lt_prog_compiler_wl
='-Wl,'
8604 lt_prog_compiler_static
='-static'
8608 # All AIX code is PIC.
8609 if test "$host_cpu" = ia64
; then
8610 # AIX 5 now supports IA64 processor
8611 lt_prog_compiler_static
='-Bstatic'
8613 lt_prog_compiler_pic
='-fPIC'
8619 # see comment about AmigaOS4 .so support
8620 lt_prog_compiler_pic
='-fPIC'
8623 # FIXME: we need at least 68020 code to build shared libraries, but
8624 # adding the `-m68020' flag to GCC prevents building anything better,
8626 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8631 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8632 # PIC is the default for these OSes.
8635 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8636 # This hack is so that the source file can tell whether it is being
8637 # built for inclusion in a dll (and should export symbols for example).
8638 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8639 # (--disable-auto-import) libraries
8640 lt_prog_compiler_pic
='-DDLL_EXPORT'
8643 darwin
* | rhapsody
*)
8644 # PIC is the default on this platform
8645 # Common symbols not allowed in MH_DYLIB files
8646 lt_prog_compiler_pic
='-fno-common'
8650 # PIC is the default for Haiku.
8651 # The "-static" flag exists, but is broken.
8652 lt_prog_compiler_static
=
8656 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8657 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8658 # sets the default TLS model and affects inlining.
8664 lt_prog_compiler_pic
='-fPIC'
8670 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8671 # Instead, we relocate shared libraries at runtime.
8675 # Just because we use GCC doesn't mean we suddenly get shared libraries
8676 # on systems that don't support them.
8677 lt_prog_compiler_can_build_shared
=no
8682 # QNX uses GNU C++, but need to define -shared option too, otherwise
8684 lt_prog_compiler_pic
='-fPIC -shared'
8688 if test -d /usr
/nec
; then
8689 lt_prog_compiler_pic
=-Kconform_pic
8694 lt_prog_compiler_pic
='-fPIC'
8698 case $cc_basename in
8699 nvcc
*) # Cuda Compiler Driver 2.2
8700 lt_prog_compiler_wl
='-Xlinker '
8701 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8705 # PORTME Check for flag to pass linker flags through the system compiler.
8708 lt_prog_compiler_wl
='-Wl,'
8709 if test "$host_cpu" = ia64
; then
8710 # AIX 5 now supports IA64 processor
8711 lt_prog_compiler_static
='-Bstatic'
8713 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8717 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8718 # This hack is so that the source file can tell whether it is being
8719 # built for inclusion in a dll (and should export symbols for example).
8720 lt_prog_compiler_pic
='-DDLL_EXPORT'
8723 hpux9
* | hpux10
* | hpux11
*)
8724 lt_prog_compiler_wl
='-Wl,'
8725 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8732 lt_prog_compiler_pic
='+Z'
8735 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8736 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8739 irix5
* | irix6
* | nonstopux
*)
8740 lt_prog_compiler_wl
='-Wl,'
8741 # PIC (with -KPIC) is the default.
8742 lt_prog_compiler_static
='-non_shared'
8745 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8746 case $cc_basename in
8747 # old Intel for x86_64 which still supported -KPIC.
8749 lt_prog_compiler_wl
='-Wl,'
8750 lt_prog_compiler_pic
='-KPIC'
8751 lt_prog_compiler_static
='-static'
8753 # icc used to be incompatible with GCC.
8754 # ICC 10 doesn't accept -KPIC any more.
8756 lt_prog_compiler_wl
='-Wl,'
8757 lt_prog_compiler_pic
='-fPIC'
8758 lt_prog_compiler_static
='-static'
8760 # Lahey Fortran 8.1.
8762 lt_prog_compiler_wl
='-Wl,'
8763 lt_prog_compiler_pic
='--shared'
8764 lt_prog_compiler_static
='--static'
8766 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8767 # Portland Group compilers (*not* the Pentium gcc compiler,
8768 # which looks to be a dead project)
8769 lt_prog_compiler_wl
='-Wl,'
8770 lt_prog_compiler_pic
='-fpic'
8771 lt_prog_compiler_static
='-Bstatic'
8774 lt_prog_compiler_wl
='-Wl,'
8775 # All Alpha code is PIC.
8776 lt_prog_compiler_static
='-non_shared'
8778 xl
* | bgxl
* | bgf
* | mpixl
*)
8779 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8780 lt_prog_compiler_wl
='-Wl,'
8781 lt_prog_compiler_pic
='-qpic'
8782 lt_prog_compiler_static
='-qstaticlink'
8785 case `$CC -V 2>&1 | sed 5q` in
8786 *Sun\ F
* |
*Sun
*Fortran
*)
8787 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8788 lt_prog_compiler_pic
='-KPIC'
8789 lt_prog_compiler_static
='-Bstatic'
8790 lt_prog_compiler_wl
=''
8794 lt_prog_compiler_pic
='-KPIC'
8795 lt_prog_compiler_static
='-Bstatic'
8796 lt_prog_compiler_wl
='-Wl,'
8804 lt_prog_compiler_pic
='-KPIC'
8805 lt_prog_compiler_static
='-Bstatic'
8809 # QNX uses GNU C++, but need to define -shared option too, otherwise
8811 lt_prog_compiler_pic
='-fPIC -shared'
8814 osf3
* | osf4
* | osf5
*)
8815 lt_prog_compiler_wl
='-Wl,'
8816 # All OSF/1 code is PIC.
8817 lt_prog_compiler_static
='-non_shared'
8821 lt_prog_compiler_static
='-non_shared'
8825 lt_prog_compiler_pic
='-KPIC'
8826 lt_prog_compiler_static
='-Bstatic'
8827 case $cc_basename in
8829 lt_prog_compiler_wl
='-Qoption ld ';;
8831 lt_prog_compiler_wl
='-Wl,';;
8836 lt_prog_compiler_wl
='-Qoption ld '
8837 lt_prog_compiler_pic
='-PIC'
8838 lt_prog_compiler_static
='-Bstatic'
8841 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8842 lt_prog_compiler_wl
='-Wl,'
8843 lt_prog_compiler_pic
='-KPIC'
8844 lt_prog_compiler_static
='-Bstatic'
8848 if test -d /usr
/nec
;then
8849 lt_prog_compiler_pic
='-Kconform_pic'
8850 lt_prog_compiler_static
='-Bstatic'
8854 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8855 lt_prog_compiler_wl
='-Wl,'
8856 lt_prog_compiler_pic
='-KPIC'
8857 lt_prog_compiler_static
='-Bstatic'
8861 lt_prog_compiler_wl
='-Wl,'
8862 lt_prog_compiler_can_build_shared
=no
8866 lt_prog_compiler_pic
='-pic'
8867 lt_prog_compiler_static
='-Bstatic'
8871 lt_prog_compiler_can_build_shared
=no
8877 # For platforms which do not support PIC, -DPIC is meaningless:
8879 lt_prog_compiler_pic
=
8882 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8886 $as_echo "$lt_prog_compiler_pic" >&6; }
8894 # Check to make sure the PIC flag actually works.
8896 if test -n "$lt_prog_compiler_pic"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8898 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8899 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8900 $as_echo_n "(cached) " >&6
8902 lt_cv_prog_compiler_pic_works
=no
8903 ac_outfile
=conftest.
$ac_objext
8904 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8905 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8906 # Insert the option either (1) after the last *FLAGS variable, or
8907 # (2) before a word containing "conftest.", or (3) at the end.
8908 # Note that $ac_compile itself does not contain backslashes and begins
8909 # with a dollar sign (not a hyphen), so the echo should work correctly.
8910 # The option is referenced via a variable to avoid confusing sed.
8911 lt_compile
=`echo "$ac_compile" | $SED \
8912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8914 -e 's:$: $lt_compiler_flag:'`
8915 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8916 (eval "$lt_compile" 2>conftest.err
)
8918 cat conftest.err
>&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 if (exit $ac_status) && test -s "$ac_outfile"; then
8921 # The compiler can only warn and ignore the option if not recognized
8922 # So say no if there are warnings other than the usual output.
8923 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8924 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8925 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8926 lt_cv_prog_compiler_pic_works
=yes
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8933 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8935 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8936 case $lt_prog_compiler_pic in
8938 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8941 lt_prog_compiler_pic
=
8942 lt_prog_compiler_can_build_shared
=no
8953 # Check to make sure the static flag actually works.
8955 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8957 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8958 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 lt_cv_prog_compiler_static_works
=no
8962 save_LDFLAGS
="$LDFLAGS"
8963 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8964 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8965 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8966 # The linker can only warn and ignore the option if not recognized
8967 # So say no if there are warnings
8968 if test -s conftest.err
; then
8969 # Append any errors to the config.log.
8970 cat conftest.err
1>&5
8971 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8972 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8973 if diff conftest.exp conftest.er2
>/dev
/null
; then
8974 lt_cv_prog_compiler_static_works
=yes
8977 lt_cv_prog_compiler_static_works
=yes
8981 LDFLAGS
="$save_LDFLAGS"
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8985 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8987 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8990 lt_prog_compiler_static
=
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9001 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9002 $as_echo_n "(cached) " >&6
9004 lt_cv_prog_compiler_c_o
=no
9005 $RM -r conftest
2>/dev
/null
9009 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9011 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9012 # Insert the option either (1) after the last *FLAGS variable, or
9013 # (2) before a word containing "conftest.", or (3) at the end.
9014 # Note that $ac_compile itself does not contain backslashes and begins
9015 # with a dollar sign (not a hyphen), so the echo should work correctly.
9016 lt_compile
=`echo "$ac_compile" | $SED \
9017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9019 -e 's:$: $lt_compiler_flag:'`
9020 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9021 (eval "$lt_compile" 2>out
/conftest.err
)
9023 cat out
/conftest.err
>&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9027 # The compiler can only warn and ignore the option if not recognized
9028 # So say no if there are warnings
9029 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9030 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9031 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9032 lt_cv_prog_compiler_c_o
=yes
9037 # SGI C++ compiler will create directory out/ii_files/ for
9038 # template instantiation
9039 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9040 $RM out
/* && rmdir out
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9047 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9055 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9056 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9057 $as_echo_n "(cached) " >&6
9059 lt_cv_prog_compiler_c_o
=no
9060 $RM -r conftest
2>/dev
/null
9064 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9066 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9067 # Insert the option either (1) after the last *FLAGS variable, or
9068 # (2) before a word containing "conftest.", or (3) at the end.
9069 # Note that $ac_compile itself does not contain backslashes and begins
9070 # with a dollar sign (not a hyphen), so the echo should work correctly.
9071 lt_compile
=`echo "$ac_compile" | $SED \
9072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9074 -e 's:$: $lt_compiler_flag:'`
9075 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9076 (eval "$lt_compile" 2>out
/conftest.err
)
9078 cat out
/conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9082 # The compiler can only warn and ignore the option if not recognized
9083 # So say no if there are warnings
9084 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9085 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9086 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9087 lt_cv_prog_compiler_c_o
=yes
9092 # SGI C++ compiler will create directory out/ii_files/ for
9093 # template instantiation
9094 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9095 $RM out
/* && rmdir out
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9102 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9107 hard_links
="nottested"
9108 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9109 # do not overwrite the value of need_locks provided by the user
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9111 $as_echo_n "checking if we can lock with hard links... " >&6; }
9114 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9116 ln conftest.a conftest.b
2>&5 || hard_links
=no
9117 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9119 $as_echo "$hard_links" >&6; }
9120 if test "$hard_links" = no
; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9122 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9135 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9138 allow_undefined_flag
=
9139 always_export_symbols
=no
9141 archive_expsym_cmds
=
9142 compiler_needs_object
=no
9143 enable_shared_with_static_runtimes
=no
9144 export_dynamic_flag_spec
=
9145 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9146 hardcode_automatic
=no
9148 hardcode_direct_absolute
=no
9149 hardcode_libdir_flag_spec
=
9150 hardcode_libdir_flag_spec_ld
=
9151 hardcode_libdir_separator
=
9153 hardcode_shlibpath_var
=unsupported
9155 link_all_deplibs
=unknown
9158 old_archive_from_new_cmds
=
9159 old_archive_from_expsyms_cmds
=
9160 thread_safe_flag_spec
=
9161 whole_archive_flag_spec
=
9162 # include_expsyms should be a list of space-separated symbols to be *always*
9163 # included in the symbol list
9165 # exclude_expsyms can be an extended regexp of symbols to exclude
9166 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9167 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9168 # as well as any symbol that contains `d'.
9169 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9170 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9171 # platforms (ab)use it in PIC code, but their linkers get confused if
9172 # the symbol is explicitly referenced. Since portable code cannot
9173 # rely on this symbol name, it's probably fine to never include it in
9174 # preloaded symbol tables.
9175 # Exclude shared library initialization/finalization symbols.
9176 extract_expsyms_cmds
=
9179 cygwin
* | mingw
* | pw32
* | cegcc
*)
9180 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9181 # When not using gcc, we currently assume that we are using
9182 # Microsoft Visual C++.
9183 if test "$GCC" != yes; then
9188 # we just hope/assume this is gcc and not c89 (= MSVC++)
9198 # On some targets, GNU ld is compatible enough with the native linker
9199 # that we're better off using the native interface for both.
9200 lt_use_gnu_ld_interface
=no
9201 if test "$with_gnu_ld" = yes; then
9204 # The AIX port of GNU ld has always aspired to compatibility
9205 # with the native linker. However, as the warning in the GNU ld
9206 # block says, versions before 2.19.5* couldn't really create working
9207 # shared libraries, regardless of the interface used.
9208 case `$LD -v 2>&1` in
9209 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9210 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9211 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9213 lt_use_gnu_ld_interface
=yes
9218 lt_use_gnu_ld_interface
=yes
9223 if test "$lt_use_gnu_ld_interface" = yes; then
9224 # If archive_cmds runs LD, not CC, wlarc should be empty
9227 # Set some defaults for GNU ld with shared library support. These
9228 # are reset later if shared libraries are not supported. Putting them
9229 # here allows them to be overridden if necessary.
9230 runpath_var
=LD_RUN_PATH
9231 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9232 export_dynamic_flag_spec
='${wl}--export-dynamic'
9233 # ancient GNU ld didn't support --whole-archive et. al.
9234 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9235 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9237 whole_archive_flag_spec
=
9239 supports_anon_versioning
=no
9240 case `$LD -v 2>&1` in
9241 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9242 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9243 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9244 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9245 *\
2.11.
*) ;; # other 2.11 versions
9246 *) supports_anon_versioning
=yes ;;
9249 # See if GNU ld supports shared libraries.
9252 # On AIX/PPC, the GNU linker is very broken
9253 if test "$host_cpu" != ia64
; then
9257 *** Warning: the GNU linker, at least up to release 2.19, is reported
9258 *** to be unable to reliably create shared libraries on AIX.
9259 *** Therefore, libtool is disabling shared libraries support. If you
9260 *** really care for shared libraries, you may want to install binutils
9261 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9262 *** You will then need to restart the configuration process.
9271 # see comment about AmigaOS4 .so support
9272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273 archive_expsym_cmds
=''
9276 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)'
9277 hardcode_libdir_flag_spec
='-L$libdir'
9278 hardcode_minus_L
=yes
9284 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9285 allow_undefined_flag
=unsupported
9286 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9287 # support --undefined. This deserves some investigation. FIXME
9288 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294 cygwin
* | mingw
* | pw32
* | cegcc
*)
9295 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9296 # as there is no search path for DLLs.
9297 hardcode_libdir_flag_spec
='-L$libdir'
9298 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9299 allow_undefined_flag
=unsupported
9300 always_export_symbols
=no
9301 enable_shared_with_static_runtimes
=yes
9302 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9304 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9305 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9306 # If the export-symbols file already is a .def file (1st line
9307 # is EXPORTS), use it as is; otherwise, prepend...
9308 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9309 cp $export_symbols $output_objdir/$soname.def;
9311 echo EXPORTS > $output_objdir/$soname.def;
9312 cat $export_symbols >> $output_objdir/$soname.def;
9314 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9321 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 link_all_deplibs
=yes
9327 hardcode_shlibpath_var
=no
9328 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9329 export_dynamic_flag_spec
='${wl}-E'
9330 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9331 # Instead, shared libraries are loaded at an image base (0x10000000 by
9332 # default) and relocated if they conflict, which is a slow very memory
9333 # consuming and fragmenting process. To avoid this, we pick a random,
9334 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9335 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9336 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9337 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'
9340 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9342 if test "$host_os" = linux-dietlibc
; then
9343 case $cc_basename in
9344 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9347 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9348 && test "$tmp_diet" = no
9350 tmp_addflag
=' $pic_flag'
9351 tmp_sharedflag
='-shared'
9352 case $cc_basename,$host_cpu in
9353 pgcc
*) # Portland Group C compiler
9354 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'
9355 tmp_addflag
=' $pic_flag'
9357 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9358 # Portland Group f77 and f90 compilers
9359 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'
9360 tmp_addflag
=' $pic_flag -Mnomain' ;;
9361 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9362 tmp_addflag
=' -i_dynamic' ;;
9363 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9364 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9365 ifc
* | ifort
*) # Intel Fortran compiler
9366 tmp_addflag
=' -nofor_main' ;;
9367 lf95
*) # Lahey Fortran 8.1
9368 whole_archive_flag_spec
=
9369 tmp_sharedflag
='--shared' ;;
9370 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9371 tmp_sharedflag
='-qmkshrobj'
9373 nvcc
*) # Cuda Compiler Driver 2.2
9374 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'
9375 compiler_needs_object
=yes
9378 case `$CC -V 2>&1 | sed 5q` in
9379 *Sun\ C
*) # Sun C 5.9
9380 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'
9381 compiler_needs_object
=yes
9382 tmp_sharedflag
='-G' ;;
9383 *Sun\ F
*) # Sun Fortran 8.3
9384 tmp_sharedflag
='-G' ;;
9386 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 if test "x$supports_anon_versioning" = xyes
; then
9389 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9390 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9391 echo "local: *; };" >> $output_objdir/$libname.ver~
9392 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9395 case $cc_basename in
9396 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9397 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9398 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9399 hardcode_libdir_flag_spec
=
9400 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9401 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9402 if test "x$supports_anon_versioning" = xyes
; then
9403 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9404 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9405 echo "local: *; };" >> $output_objdir/$libname.ver~
9406 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9416 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9417 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9420 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9421 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9426 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9430 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9431 *** create shared libraries on Solaris systems. Therefore, libtool
9432 *** is disabling shared libraries support. We urge you to upgrade GNU
9433 *** binutils to release 2.9.1 or newer. Another option is to modify
9434 *** your PATH or compiler configuration so that the native linker is
9435 *** used, and then restart.
9438 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9439 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9447 case `$LD -v 2>&1` in
9448 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9452 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9453 *** reliably create shared libraries on SCO systems. Therefore, libtool
9454 *** is disabling shared libraries support. We urge you to upgrade GNU
9455 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9456 *** your PATH or compiler configuration so that the native linker is
9457 *** used, and then restart.
9462 # For security reasons, it is highly recommended that you always
9463 # use absolute paths for naming shared libraries, and exclude the
9464 # DT_RUNPATH tag from executables and libraries. But doing so
9465 # requires that you compile everything twice, which is a pain.
9466 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9478 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9481 hardcode_shlibpath_var
=no
9485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9486 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9487 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9494 if test "$ld_shlibs" = no
; then
9496 hardcode_libdir_flag_spec
=
9497 export_dynamic_flag_spec
=
9498 whole_archive_flag_spec
=
9501 # PORTME fill in a description of your system's linker (not GNU ld)
9504 allow_undefined_flag
=unsupported
9505 always_export_symbols
=yes
9506 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'
9507 # Note: this linker hardcodes the directories in LIBPATH if there
9508 # are no directories specified by -L.
9509 hardcode_minus_L
=yes
9510 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9511 # Neither direct hardcoding nor static linking is supported with a
9513 hardcode_direct
=unsupported
9518 if test "$host_cpu" = ia64
; then
9519 # On IA64, the linker does run time linking by default, so we don't
9520 # have to do anything special.
9521 aix_use_runtimelinking
=no
9522 exp_sym_flag
='-Bexport'
9525 # If we're using GNU nm, then we don't want the "-C" option.
9526 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9527 # Also, AIX nm treats weak defined symbols like other global
9528 # defined symbols, whereas GNU nm marks them as "W".
9529 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9530 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'
9532 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'
9534 aix_use_runtimelinking
=no
9536 # Test if we are trying to use run time linking or normal
9537 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9538 # need to do runtime linking.
9539 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9540 for ld_flag
in $LDFLAGS; do
9541 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9542 aix_use_runtimelinking
=yes
9549 exp_sym_flag
='-bexport'
9550 no_entry_flag
='-bnoentry'
9553 # When large executables or shared objects are built, AIX ld can
9554 # have problems creating the table of contents. If linking a library
9555 # or program results in "error TOC overflow" add -mminimal-toc to
9556 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9557 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9561 hardcode_direct_absolute
=yes
9562 hardcode_libdir_separator
=':'
9563 link_all_deplibs
=yes
9564 file_list_spec
='${wl}-f,'
9566 if test "$GCC" = yes; then
9567 case $host_os in aix4.
[012]|aix4.
[012].
*)
9568 # We only want to do this on AIX 4.2 and lower, the check
9569 # below for broken collect2 doesn't work under 4.3+
9570 collect2name
=`${CC} -print-prog-name=collect2`
9571 if test -f "$collect2name" &&
9572 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9574 # We have reworked collect2
9577 # We have old collect2
9578 hardcode_direct
=unsupported
9579 # It fails to find uninstalled libraries when the uninstalled
9580 # path is not listed in the libpath. Setting hardcode_minus_L
9581 # to unsupported forces relinking
9582 hardcode_minus_L
=yes
9583 hardcode_libdir_flag_spec
='-L$libdir'
9584 hardcode_libdir_separator
=
9588 shared_flag
='-shared'
9589 if test "$aix_use_runtimelinking" = yes; then
9590 shared_flag
="$shared_flag "'${wl}-G'
9594 if test "$host_cpu" = ia64
; then
9595 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9596 # chokes on -Wl,-G. The following line is correct:
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag
='${wl}-G'
9602 shared_flag
='${wl}-bM:SRE'
9607 export_dynamic_flag_spec
='${wl}-bexpall'
9608 # It seems that -bexpall does not export symbols beginning with
9609 # underscore (_), so it is better to generate a list of symbols to export.
9610 always_export_symbols
=yes
9611 if test "$aix_use_runtimelinking" = yes; then
9612 # Warning - without using the other runtime loading flags (-brtl),
9613 # -berok will link without error, but may produce a broken library.
9614 allow_undefined_flag
='-berok'
9615 # Determine the default libpath from the value encoded in an
9617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9628 if ac_fn_c_try_link
"$LINENO"; then :
9630 lt_aix_libpath_sed
='
9631 /Import File Strings/,/^$/ {
9637 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9638 # Check for a 64-bit object if we didn't find anything.
9639 if test -z "$aix_libpath"; then
9640 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9643 rm -f core conftest.err conftest.
$ac_objext \
9644 conftest
$ac_exeext conftest.
$ac_ext
9645 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9647 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9648 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"
9650 if test "$host_cpu" = ia64
; then
9651 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9652 allow_undefined_flag
="-z nodefs"
9653 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"
9655 # Determine the default libpath from the value encoded in an
9657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9668 if ac_fn_c_try_link
"$LINENO"; then :
9670 lt_aix_libpath_sed
='
9671 /Import File Strings/,/^$/ {
9677 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9678 # Check for a 64-bit object if we didn't find anything.
9679 if test -z "$aix_libpath"; then
9680 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9683 rm -f core conftest.err conftest.
$ac_objext \
9684 conftest
$ac_exeext conftest.
$ac_ext
9685 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9687 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9688 # Warning - without using the other run time loading flags,
9689 # -berok will link without error, but may produce a broken library.
9690 no_undefined_flag
=' ${wl}-bernotok'
9691 allow_undefined_flag
=' ${wl}-berok'
9692 if test "$with_gnu_ld" = yes; then
9693 # We only use this code for GNU lds that support --whole-archive.
9694 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9696 # Exported symbols can be pulled into shared objects from archives
9697 whole_archive_flag_spec
='$convenience'
9699 archive_cmds_need_lc
=yes
9700 # This is similar to how AIX traditionally builds its shared libraries.
9701 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'
9709 # see comment about AmigaOS4 .so support
9710 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9711 archive_expsym_cmds
=''
9714 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)'
9715 hardcode_libdir_flag_spec
='-L$libdir'
9716 hardcode_minus_L
=yes
9722 export_dynamic_flag_spec
=-rdynamic
9725 cygwin
* | mingw
* | pw32
* | cegcc
*)
9726 # When not using gcc, we currently assume that we are using
9727 # Microsoft Visual C++.
9728 # hardcode_libdir_flag_spec is actually meaningless, as there is
9729 # no search path for DLLs.
9730 hardcode_libdir_flag_spec
=' '
9731 allow_undefined_flag
=unsupported
9732 # Tell ltmain to make .lib files, not .a files.
9734 # Tell ltmain to make .dll files, not .so files.
9736 # FIXME: Setting linknames here is a bad hack.
9737 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9738 # The linker will automatically build a .lib file if we build a DLL.
9739 old_archive_from_new_cmds
='true'
9740 # FIXME: Should let the user specify the lib program.
9741 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9742 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9743 enable_shared_with_static_runtimes
=yes
9746 darwin
* | rhapsody
*)
9749 archive_cmds_need_lc
=no
9751 hardcode_automatic
=yes
9752 hardcode_shlibpath_var
=unsupported
9753 if test "$lt_cv_ld_force_load" = "yes"; then
9754 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\"`'
9756 whole_archive_flag_spec
=''
9758 link_all_deplibs
=yes
9759 allow_undefined_flag
="$_lt_dar_allow_undefined"
9760 case $cc_basename in
9761 ifort
*) _lt_dar_can_shared
=yes ;;
9762 *) _lt_dar_can_shared
=$GCC ;;
9764 if test "$_lt_dar_can_shared" = "yes"; then
9765 output_verbose_link_cmd
=func_echo_all
9766 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9767 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9768 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9769 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}"
9778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9779 hardcode_libdir_flag_spec
='-L$libdir'
9780 hardcode_shlibpath_var
=no
9783 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9784 # support. Future versions do this automatically, but an explicit c++rt0.o
9785 # does not break anything, and helps significantly (at the cost of a little
9788 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9789 hardcode_libdir_flag_spec
='-R$libdir'
9791 hardcode_shlibpath_var
=no
9794 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9796 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_minus_L
=yes
9799 hardcode_shlibpath_var
=no
9802 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9803 freebsd
* | dragonfly
*)
9804 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9805 hardcode_libdir_flag_spec
='-R$libdir'
9807 hardcode_shlibpath_var
=no
9811 if test "$GCC" = yes; then
9812 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'
9814 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'
9816 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9817 hardcode_libdir_separator
=:
9820 # hardcode_minus_L: Not really in the search PATH,
9821 # but as the default location of the library.
9822 hardcode_minus_L
=yes
9823 export_dynamic_flag_spec
='${wl}-E'
9827 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9828 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9832 if test "$with_gnu_ld" = no
; then
9833 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9834 hardcode_libdir_flag_spec_ld
='+b $libdir'
9835 hardcode_libdir_separator
=:
9837 hardcode_direct_absolute
=yes
9838 export_dynamic_flag_spec
='${wl}-E'
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L
=yes
9846 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9849 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9852 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9855 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9868 # Older versions of the 11.00 compiler do not understand -b yet
9869 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9871 $as_echo_n "checking if $CC understands -b... " >&6; }
9872 if ${lt_cv_prog_compiler__b+:} false
; then :
9873 $as_echo_n "(cached) " >&6
9875 lt_cv_prog_compiler__b
=no
9876 save_LDFLAGS
="$LDFLAGS"
9877 LDFLAGS
="$LDFLAGS -b"
9878 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9879 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9880 # The linker can only warn and ignore the option if not recognized
9881 # So say no if there are warnings
9882 if test -s conftest.err
; then
9883 # Append any errors to the config.log.
9884 cat conftest.err
1>&5
9885 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9886 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9887 if diff conftest.exp conftest.er2
>/dev
/null
; then
9888 lt_cv_prog_compiler__b
=yes
9891 lt_cv_prog_compiler__b
=yes
9895 LDFLAGS
="$save_LDFLAGS"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9899 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9901 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9902 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9910 if test "$with_gnu_ld" = no
; then
9911 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9912 hardcode_libdir_separator
=:
9917 hardcode_shlibpath_var
=no
9921 hardcode_direct_absolute
=yes
9922 export_dynamic_flag_spec
='${wl}-E'
9924 # hardcode_minus_L: Not really in the search PATH,
9925 # but as the default location of the library.
9926 hardcode_minus_L
=yes
9932 irix5
* | irix6
* | nonstopux
*)
9933 if test "$GCC" = yes; then
9934 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'
9935 # Try to use the -exported_symbol ld option, if it does not
9936 # work, assume that -exports_file does not work either and
9937 # implicitly export all symbols.
9938 save_LDFLAGS
="$LDFLAGS"
9939 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9944 if ac_fn_c_try_link
"$LINENO"; then :
9945 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'
9948 rm -f core conftest.err conftest.
$ac_objext \
9949 conftest
$ac_exeext conftest.
$ac_ext
9950 LDFLAGS
="$save_LDFLAGS"
9952 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'
9953 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'
9955 archive_cmds_need_lc
='no'
9956 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9957 hardcode_libdir_separator
=:
9959 link_all_deplibs
=yes
9963 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9964 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9966 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9968 hardcode_libdir_flag_spec
='-R$libdir'
9970 hardcode_shlibpath_var
=no
9974 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9977 hardcode_libdir_separator
=:
9978 hardcode_shlibpath_var
=no
9985 if test -f /usr
/libexec
/ld.so
; then
9987 hardcode_shlibpath_var
=no
9988 hardcode_direct_absolute
=yes
9989 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9990 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9992 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9993 export_dynamic_flag_spec
='${wl}-E'
9996 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9997 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_libdir_flag_spec
='-R$libdir'
10001 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10002 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10012 hardcode_libdir_flag_spec
='-L$libdir'
10013 hardcode_minus_L
=yes
10014 allow_undefined_flag
=unsupported
10015 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'
10016 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10020 if test "$GCC" = yes; then
10021 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10022 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'
10024 allow_undefined_flag
=' -expect_unresolved \*'
10025 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'
10027 archive_cmds_need_lc
='no'
10028 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10029 hardcode_libdir_separator
=:
10032 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10033 if test "$GCC" = yes; then
10034 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10035 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'
10036 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10038 allow_undefined_flag
=' -expect_unresolved \*'
10039 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'
10040 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~
10041 $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'
10043 # Both c and cxx compiler support -rpath directly
10044 hardcode_libdir_flag_spec
='-rpath $libdir'
10046 archive_cmds_need_lc
='no'
10047 hardcode_libdir_separator
=:
10051 no_undefined_flag
=' -z defs'
10052 if test "$GCC" = yes; then
10054 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10055 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10056 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10058 case `$CC -V 2>&1` in
10061 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10063 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10067 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10069 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10073 hardcode_libdir_flag_spec
='-R$libdir'
10074 hardcode_shlibpath_var
=no
10076 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10078 # The compiler driver will combine and reorder linker options,
10079 # but understands `-z linker_flag'. GCC discards it without `$wl',
10080 # but is careful enough not to reorder.
10081 # Supported since Solaris 2.6 (maybe 2.5.1?)
10082 if test "$GCC" = yes; then
10083 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10085 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10089 link_all_deplibs
=yes
10093 if test "x$host_vendor" = xsequent
; then
10094 # Use $CC to link under sequent, because it throws in some extra .o
10095 # files that make .init and .fini sections work.
10096 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec
='-L$libdir'
10101 hardcode_direct
=yes
10102 hardcode_minus_L
=yes
10103 hardcode_shlibpath_var
=no
10107 case $host_vendor in
10109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_direct
=yes # is this really true???
10113 ## LD is ld it makes a PLAMLIB
10114 ## CC just makes a GrossModule.
10115 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10116 reload_cmds
='$CC -r -o $output$reload_objs'
10120 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10124 runpath_var
='LD_RUN_PATH'
10125 hardcode_shlibpath_var
=no
10129 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_shlibpath_var
=no
10131 export_dynamic_flag_spec
='-Bexport'
10135 if test -d /usr
/nec
; then
10136 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10137 hardcode_shlibpath_var
=no
10138 runpath_var
=LD_RUN_PATH
10139 hardcode_runpath_var
=yes
10144 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10145 no_undefined_flag
='${wl}-z,text'
10146 archive_cmds_need_lc
=no
10147 hardcode_shlibpath_var
=no
10148 runpath_var
='LD_RUN_PATH'
10150 if test "$GCC" = yes; then
10151 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10159 sysv5
* | sco3.2v5
* | sco5v6
*)
10160 # Note: We can NOT use -z defs as we might desire, because we do not
10161 # link with -lc, and that would cause any symbols used from libc to
10162 # always be unresolved, which means just about no library would
10163 # ever link correctly. If we're not using GNU ld we use -z text
10164 # though, which does catch some bad symbols but isn't as heavy-handed
10166 no_undefined_flag
='${wl}-z,text'
10167 allow_undefined_flag
='${wl}-z,nodefs'
10168 archive_cmds_need_lc
=no
10169 hardcode_shlibpath_var
=no
10170 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10171 hardcode_libdir_separator
=':'
10172 link_all_deplibs
=yes
10173 export_dynamic_flag_spec
='${wl}-Bexport'
10174 runpath_var
='LD_RUN_PATH'
10176 if test "$GCC" = yes; then
10177 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_libdir_flag_spec
='-L$libdir'
10188 hardcode_shlibpath_var
=no
10196 if test x
$host_vendor = xsni
; then
10198 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10199 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10206 $as_echo "$ld_shlibs" >&6; }
10207 test "$ld_shlibs" = no
&& can_build_shared
=no
10209 with_gnu_ld
=$with_gnu_ld
10226 # Do we need to explicitly link libc?
10228 case "x$archive_cmds_need_lc" in
10230 # Assume -lc should be added
10231 archive_cmds_need_lc
=yes
10233 if test "$enable_shared" = yes && test "$GCC" = yes; then
10234 case $archive_cmds in
10236 # FIXME: we may have to deal with multi-command sequences.
10239 # Test whether the compiler implicitly links with -lc since on some
10240 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10241 # to ld, don't add -lc before -lgcc.
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10243 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10244 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10245 $as_echo_n "(cached) " >&6
10248 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10251 (eval $ac_compile) 2>&5
10253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10254 test $ac_status = 0; } 2>conftest.err
; then
10257 libobjs
=conftest.
$ac_objext
10259 wl
=$lt_prog_compiler_wl
10260 pic_flag
=$lt_prog_compiler_pic
10266 lt_save_allow_undefined_flag
=$allow_undefined_flag
10267 allow_undefined_flag
=
10268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10269 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10272 test $ac_status = 0; }
10274 lt_cv_archive_cmds_need_lc
=no
10276 lt_cv_archive_cmds_need_lc
=yes
10278 allow_undefined_flag
=$lt_save_allow_undefined_flag
10280 cat conftest.err
1>&5
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10286 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10287 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10451 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10453 if test "$GCC" = yes; then
10455 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10456 *) lt_awk_arg
="/^libraries:/" ;;
10459 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10460 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10462 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10463 case $lt_search_path_spec in
10465 # if the path contains ";" then we assume it to be the separator
10466 # otherwise default to the standard path separator (i.e. ":") - it is
10467 # assumed that no part of a normal pathname contains ";" but that should
10468 # okay in the real world where ";" in dirpaths is itself problematic.
10469 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10472 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10475 # Ok, now we have the path, separated by spaces, we can step through it
10476 # and add multilib dir if necessary.
10477 lt_tmp_lt_search_path_spec
=
10478 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10479 for lt_sys_path
in $lt_search_path_spec; do
10480 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10481 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10483 test -d "$lt_sys_path" && \
10484 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10487 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10488 BEGIN {RS=" "; FS="/|\n";} {
10491 for (lt_i = NF; lt_i > 0; lt_i--) {
10492 if ($lt_i != "" && $lt_i != ".") {
10493 if ($lt_i == "..") {
10496 if (lt_count == 0) {
10497 lt_foo="/" $lt_i lt_foo;
10504 if (lt_foo != "") { lt_freq[lt_foo]++; }
10505 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10507 # AWK program above erroneously prepends '/' to C:/dos/paths
10510 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10511 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10513 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10515 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10517 library_names_spec
=
10518 libname_spec
='lib$name'
10522 postuninstall_cmds
=
10526 shlibpath_overrides_runpath
=unknown
10528 dynamic_linker
="$host_os ld.so"
10529 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10530 need_lib_prefix
=unknown
10531 hardcode_into_libs
=no
10533 # when you set need_version to no, make sure it does not cause -set_version
10534 # flags to be left without arguments
10535 need_version
=unknown
10540 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10541 shlibpath_var
=LIBPATH
10543 # AIX 3 has no versioning support, so we append a major version to the name.
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10551 hardcode_into_libs
=yes
10552 if test "$host_cpu" = ia64
; then
10553 # AIX 5 supports IA64
10554 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10555 shlibpath_var
=LD_LIBRARY_PATH
10557 # With GCC up to 2.95.x, collect2 would create an import file
10558 # for dependence libraries. The import file would start with
10559 # the line `#! .'. This would cause the generated library to
10560 # depend on `.', always an invalid library. This was fixed in
10561 # development snapshots of GCC prior to 3.0.
10563 aix4 | aix4.
[01] | aix4.
[01].
*)
10564 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10566 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10569 can_build_shared
=no
10573 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10574 # soname into executable. Probably we can add versioning support to
10575 # collect2, so additional links can be useful in future.
10576 if test "$aix_use_runtimelinking" = yes; then
10577 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10578 # instead of lib<name>.a to let people know that these are not
10579 # typical AIX shared libraries.
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 # We preserve .a as extension for shared libraries through AIX4.2
10583 # and later when we are not doing run time linking.
10584 library_names_spec
='${libname}${release}.a $libname.a'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10587 shlibpath_var
=LIBPATH
10594 # Since July 2007 AmigaOS4 officially supports .so libraries.
10595 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10599 library_names_spec
='$libname.ixlibrary $libname.a'
10600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10601 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'
10607 library_names_spec
='${libname}${shared_ext}'
10608 dynamic_linker
="$host_os ld.so"
10609 shlibpath_var
=LIBRARY_PATH
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10617 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10618 shlibpath_var
=LD_LIBRARY_PATH
10619 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10620 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10621 # the default ld.so.conf also contains /usr/contrib/lib and
10622 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10623 # libtool to hard-code these into programs
10626 cygwin
* | mingw
* | pw32
* | cegcc
*)
10627 version_type
=windows
10632 case $GCC,$host_os in
10633 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10634 library_names_spec
='$libname.dll.a'
10635 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10636 postinstall_cmds
='base_file=`basename \${file}`~
10637 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10638 dldir=$destdir/`dirname \$dlpath`~
10639 test -d \$dldir || mkdir -p \$dldir~
10640 $install_prog $dir/$dlname \$dldir/$dlname~
10641 chmod a+x \$dldir/$dlname~
10642 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10643 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10645 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10646 dlpath=$dir/\$dldll~
10648 shlibpath_overrides_runpath
=yes
10652 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10653 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10655 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10658 # MinGW DLLs use traditional 'lib' prefix
10659 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10662 # pw32 DLLs use 'pw' prefix rather than 'lib'
10663 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10669 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10672 dynamic_linker
='Win32 ld.exe'
10673 # FIXME: first we should search . and the directory the executable is in
10677 darwin
* | rhapsody
*)
10678 dynamic_linker
="$host_os dyld"
10679 version_type
=darwin
10682 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10683 soname_spec
='${libname}${release}${major}$shared_ext'
10684 shlibpath_overrides_runpath
=yes
10685 shlibpath_var
=DYLD_LIBRARY_PATH
10686 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10688 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10689 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10697 soname_spec
='${libname}${release}${shared_ext}$major'
10698 shlibpath_var
=LD_LIBRARY_PATH
10701 freebsd
* | dragonfly
*)
10702 # DragonFly does not have aout. When/if they implement a new
10703 # versioning mechanism, adjust this.
10704 if test -x /usr
/bin
/objformat
; then
10705 objformat
=`/usr/bin/objformat`
10708 freebsd
[23].
*) objformat
=aout
;;
10709 *) objformat
=elf
;;
10712 version_type
=freebsd-
$objformat
10713 case $version_type in
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10720 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10724 shlibpath_var
=LD_LIBRARY_PATH
10727 shlibpath_overrides_runpath
=yes
10729 freebsd3.
[01]* | freebsdelf3.
[01]*)
10730 shlibpath_overrides_runpath
=yes
10731 hardcode_into_libs
=yes
10733 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10734 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10735 shlibpath_overrides_runpath
=no
10736 hardcode_into_libs
=yes
10738 *) # from 4.6 on, and DragonFly
10739 shlibpath_overrides_runpath
=yes
10740 hardcode_into_libs
=yes
10749 dynamic_linker
="$host_os runtime_loader"
10750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10751 soname_spec
='${libname}${release}${shared_ext}$major'
10752 shlibpath_var
=LIBRARY_PATH
10753 shlibpath_overrides_runpath
=yes
10754 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10755 hardcode_into_libs
=yes
10758 hpux9
* | hpux10
* | hpux11
*)
10759 # Give a soname corresponding to the major version so that dld.sl refuses to
10760 # link against other versions.
10767 hardcode_into_libs
=yes
10768 dynamic_linker
="$host_os dld.so"
10769 shlibpath_var
=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 soname_spec
='${libname}${release}${shared_ext}$major'
10773 if test "X$HPUX_IA64_MODE" = X32
; then
10774 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10776 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10778 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10782 hardcode_into_libs
=yes
10783 dynamic_linker
="$host_os dld.sl"
10784 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10785 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec
='${libname}${release}${shared_ext}$major'
10788 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10789 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10793 dynamic_linker
="$host_os dld.sl"
10794 shlibpath_var
=SHLIB_PATH
10795 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10797 soname_spec
='${libname}${release}${shared_ext}$major'
10800 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10801 postinstall_cmds
='chmod 555 $lib'
10802 # or fails outright, so override atomically:
10803 install_override_mode
=555
10810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10811 soname_spec
='${libname}${release}${shared_ext}$major'
10812 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10813 shlibpath_var
=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath
=no
10815 hardcode_into_libs
=yes
10818 irix5
* | irix6
* | nonstopux
*)
10820 nonstopux
*) version_type
=nonstopux
;;
10822 if test "$lt_cv_prog_gnu_ld" = yes; then
10830 soname_spec
='${libname}${release}${shared_ext}$major'
10831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10833 irix5
* | nonstopux
*)
10834 libsuff
= shlibsuff
=
10837 case $LD in # libtool.m4 will add one of these switches to LD
10838 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10839 libsuff
= shlibsuff
= libmagic
=32-bit;;
10840 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10841 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10842 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10843 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10844 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10848 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10849 shlibpath_overrides_runpath
=no
10850 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10851 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10852 hardcode_into_libs
=yes
10855 # No shared lib support for Linux oldld, aout, or coff.
10856 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10860 # This must be Linux ELF.
10862 # uclinux* changes (here and below) have been submitted to the libtool
10863 # project, but have not yet been accepted: they are GCC-local changes
10864 # for the time being. (See
10865 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10866 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10873 shlibpath_var
=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath
=no
10876 # Some binutils ld are patched to set DT_RUNPATH
10877 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10878 $as_echo_n "(cached) " >&6
10880 lt_cv_shlibpath_overrides_runpath
=no
10881 save_LDFLAGS
=$LDFLAGS
10882 save_libdir
=$libdir
10883 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10884 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10896 if ac_fn_c_try_link
"$LINENO"; then :
10897 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10898 lt_cv_shlibpath_overrides_runpath
=yes
10901 rm -f core conftest.err conftest.
$ac_objext \
10902 conftest
$ac_exeext conftest.
$ac_ext
10903 LDFLAGS
=$save_LDFLAGS
10904 libdir
=$save_libdir
10908 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10910 # This implies no fast_install, which is unacceptable.
10911 # Some rework will be needed to allow for fast_install
10912 # before this can be enabled.
10913 hardcode_into_libs
=yes
10915 # Append ld.so.conf contents to the search path
10916 if test -f /etc
/ld.so.conf
; then
10917 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' ' '`
10918 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10921 # We used to test for /lib/ld.so.1 and disable shared libraries on
10922 # powerpc, because MkLinux only supported shared libraries with the
10923 # GNU dynamic linker. Since this was broken with cross compilers,
10924 # most powerpc-linux boxes support dynamic linking these days and
10925 # people can always --disable-shared, the test was removed, and we
10926 # assume the GNU/Linux dynamic linker is in use.
10927 dynamic_linker
='GNU/Linux ld.so'
10934 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 dynamic_linker
='NetBSD (a.out) ld.so'
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 dynamic_linker
='NetBSD ld.elf_so'
10943 shlibpath_var
=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath
=yes
10945 hardcode_into_libs
=yes
10950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10951 shlibpath_var
=LD_LIBRARY_PATH
10952 shlibpath_overrides_runpath
=yes
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 soname_spec
='${libname}${release}${shared_ext}$major'
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath
=no
10963 hardcode_into_libs
=yes
10964 dynamic_linker
='ldqnx.so'
10969 sys_lib_dlsearch_path_spec
="/usr/lib"
10971 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10973 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10974 *) need_version
=no
;;
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10981 openbsd2.
[89] | openbsd2.
[89].
*)
10982 shlibpath_overrides_runpath
=no
10985 shlibpath_overrides_runpath
=yes
10989 shlibpath_overrides_runpath
=yes
10994 libname_spec
='$name'
10997 library_names_spec
='$libname${shared_ext} $libname.a'
10998 dynamic_linker
='OS/2 ld.exe'
10999 shlibpath_var
=LIBPATH
11002 osf3
* | osf4
* | osf5
*)
11006 soname_spec
='${libname}${release}${shared_ext}$major'
11007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 shlibpath_var
=LD_LIBRARY_PATH
11009 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11010 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022 soname_spec
='${libname}${release}${shared_ext}$major'
11023 shlibpath_var
=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath
=yes
11025 hardcode_into_libs
=yes
11026 # ldd complains unless libraries are executable
11027 postinstall_cmds
='chmod +x $lib'
11032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11033 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11034 shlibpath_var
=LD_LIBRARY_PATH
11035 shlibpath_overrides_runpath
=yes
11036 if test "$with_gnu_ld" = yes; then
11044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 soname_spec
='${libname}${release}${shared_ext}$major'
11046 shlibpath_var
=LD_LIBRARY_PATH
11047 case $host_vendor in
11049 shlibpath_overrides_runpath
=no
11051 runpath_var
=LD_RUN_PATH
11059 shlibpath_overrides_runpath
=no
11060 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11066 if test -d /usr
/nec
;then
11068 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11069 soname_spec
='$libname${shared_ext}.$major'
11070 shlibpath_var
=LD_LIBRARY_PATH
11074 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11075 version_type
=freebsd-elf
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 shlibpath_var
=LD_LIBRARY_PATH
11081 shlibpath_overrides_runpath
=yes
11082 hardcode_into_libs
=yes
11083 if test "$with_gnu_ld" = yes; then
11084 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11086 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11089 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11093 sys_lib_dlsearch_path_spec
='/usr/lib'
11097 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102 shlibpath_var
=LD_LIBRARY_PATH
11103 shlibpath_overrides_runpath
=no
11104 hardcode_into_libs
=yes
11109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec
='${libname}${release}${shared_ext}$major'
11111 shlibpath_var
=LD_LIBRARY_PATH
11114 # Shared libraries for VwWorks, >= 7 only at this stage
11115 # and (fpic) still incompatible with "large" code models
11116 # in a few configurations. Only for RTP mode in any case,
11117 # and upon explicit request at configure time.
11120 case ${with_multisubdir}-${enable_shared} in
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 dynamic_linker
="$host_os module_loader"
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11138 $as_echo "$dynamic_linker" >&6; }
11139 test "$dynamic_linker" = no
&& can_build_shared
=no
11141 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11142 if test "$GCC" = yes; then
11143 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11146 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11147 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11149 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11150 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11245 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11247 if test -n "$hardcode_libdir_flag_spec" ||
11248 test -n "$runpath_var" ||
11249 test "X$hardcode_automatic" = "Xyes" ; then
11251 # We can hardcode non-existent directories.
11252 if test "$hardcode_direct" != no
&&
11253 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11254 # have to relink, otherwise we might link with an installed library
11255 # when we should be linking with a yet-to-be-installed one
11256 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11257 test "$hardcode_minus_L" != no
; then
11258 # Linking always hardcodes the temporary library directory.
11259 hardcode_action
=relink
11261 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11262 hardcode_action
=immediate
11265 # We cannot hardcode anything, or else we can only hardcode existing
11267 hardcode_action
=unsupported
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11270 $as_echo "$hardcode_action" >&6; }
11272 if test "$hardcode_action" = relink ||
11273 test "$inherit_rpath" = yes; then
11274 # Fast installation is not supported
11275 enable_fast_install
=no
11276 elif test "$shlibpath_overrides_runpath" = yes ||
11277 test "$enable_shared" = no
; then
11278 # Fast installation is not necessary
11279 enable_fast_install
=needless
11287 if test "x$enable_dlopen" != xyes
; then
11288 enable_dlopen
=unknown
11289 enable_dlopen_self
=unknown
11290 enable_dlopen_self_static
=unknown
11297 lt_cv_dlopen
="load_add_on"
11299 lt_cv_dlopen_self
=yes
11302 mingw
* | pw32
* | cegcc
*)
11303 lt_cv_dlopen
="LoadLibrary"
11308 lt_cv_dlopen
="dlopen"
11313 # if libdl is installed we need to link against it
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11316 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_lib_save_LIBS
=$LIBS
11321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11339 if ac_fn_c_try_link
"$LINENO"; then :
11340 ac_cv_lib_dl_dlopen
=yes
11342 ac_cv_lib_dl_dlopen
=no
11344 rm -f core conftest.err conftest.
$ac_objext \
11345 conftest
$ac_exeext conftest.
$ac_ext
11346 LIBS
=$ac_check_lib_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11350 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11351 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11354 lt_cv_dlopen
="dyld"
11356 lt_cv_dlopen_self
=yes
11363 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11364 if test "x$ac_cv_func_shl_load" = xyes
; then :
11365 lt_cv_dlopen
="shl_load"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11368 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11369 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11370 $as_echo_n "(cached) " >&6
11372 ac_check_lib_save_LIBS
=$LIBS
11374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11387 return shl_load ();
11392 if ac_fn_c_try_link
"$LINENO"; then :
11393 ac_cv_lib_dld_shl_load
=yes
11395 ac_cv_lib_dld_shl_load
=no
11397 rm -f core conftest.err conftest.
$ac_objext \
11398 conftest
$ac_exeext conftest.
$ac_ext
11399 LIBS
=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11402 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11403 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11404 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11406 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11407 if test "x$ac_cv_func_dlopen" = xyes
; then :
11408 lt_cv_dlopen
="dlopen"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11411 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11412 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_lib_save_LIBS
=$LIBS
11417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11435 if ac_fn_c_try_link
"$LINENO"; then :
11436 ac_cv_lib_dl_dlopen
=yes
11438 ac_cv_lib_dl_dlopen
=no
11440 rm -f core conftest.err conftest.
$ac_objext \
11441 conftest
$ac_exeext conftest.
$ac_ext
11442 LIBS
=$ac_check_lib_save_LIBS
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11445 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11446 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11447 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11450 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11451 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11452 $as_echo_n "(cached) " >&6
11454 ac_check_lib_save_LIBS
=$LIBS
11455 LIBS
="-lsvld $LIBS"
11456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11474 if ac_fn_c_try_link
"$LINENO"; then :
11475 ac_cv_lib_svld_dlopen
=yes
11477 ac_cv_lib_svld_dlopen
=no
11479 rm -f core conftest.err conftest.
$ac_objext \
11480 conftest
$ac_exeext conftest.
$ac_ext
11481 LIBS
=$ac_check_lib_save_LIBS
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11484 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11485 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11486 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11489 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11490 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 ac_check_lib_save_LIBS
=$LIBS
11495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11508 return dld_link ();
11513 if ac_fn_c_try_link
"$LINENO"; then :
11514 ac_cv_lib_dld_dld_link
=yes
11516 ac_cv_lib_dld_dld_link
=no
11518 rm -f core conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11523 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11524 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11525 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11546 if test "x$lt_cv_dlopen" != xno
; then
11552 case $lt_cv_dlopen in
11554 save_CPPFLAGS
="$CPPFLAGS"
11555 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11557 save_LDFLAGS
="$LDFLAGS"
11558 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11561 LIBS
="$lt_cv_dlopen_libs $LIBS"
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11564 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11565 if ${lt_cv_dlopen_self+:} false
; then :
11566 $as_echo_n "(cached) " >&6
11568 if test "$cross_compiling" = yes; then :
11569 lt_cv_dlopen_self
=cross
11571 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11572 lt_status
=$lt_dlunknown
11573 cat > conftest.
$ac_ext <<_LT_EOF
11574 #line 11574 "configure"
11575 #include "confdefs.h"
11584 # define LT_DLGLOBAL RTLD_GLOBAL
11587 # define LT_DLGLOBAL DL_GLOBAL
11589 # define LT_DLGLOBAL 0
11593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11594 find out it does not work in some platform. */
11595 #ifndef LT_DLLAZY_OR_NOW
11597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11600 # define LT_DLLAZY_OR_NOW DL_LAZY
11603 # define LT_DLLAZY_OR_NOW RTLD_NOW
11606 # define LT_DLLAZY_OR_NOW DL_NOW
11608 # define LT_DLLAZY_OR_NOW 0
11615 /* When -fvisbility=hidden is used, assume the code has been annotated
11616 correspondingly for the symbols needed. */
11617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11618 void fnord () __attribute__((visibility("default")));
11621 void fnord () { int i=42; }
11624 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11625 int status = $lt_dlunknown;
11629 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11632 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11633 else puts (dlerror ());
11635 /* dlclose (self); */
11643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11644 (eval $ac_link) 2>&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11647 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11648 (.
/conftest
; exit; ) >&5 2>/dev
/null
11650 case x
$lt_status in
11651 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11652 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11653 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11656 # compilation failed
11657 lt_cv_dlopen_self
=no
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11665 $as_echo "$lt_cv_dlopen_self" >&6; }
11667 if test "x$lt_cv_dlopen_self" = xyes
; then
11668 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11670 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11671 if ${lt_cv_dlopen_self_static+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 if test "$cross_compiling" = yes; then :
11675 lt_cv_dlopen_self_static
=cross
11677 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11678 lt_status
=$lt_dlunknown
11679 cat > conftest.
$ac_ext <<_LT_EOF
11680 #line 11680 "configure"
11681 #include "confdefs.h"
11690 # define LT_DLGLOBAL RTLD_GLOBAL
11693 # define LT_DLGLOBAL DL_GLOBAL
11695 # define LT_DLGLOBAL 0
11699 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11700 find out it does not work in some platform. */
11701 #ifndef LT_DLLAZY_OR_NOW
11703 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11706 # define LT_DLLAZY_OR_NOW DL_LAZY
11709 # define LT_DLLAZY_OR_NOW RTLD_NOW
11712 # define LT_DLLAZY_OR_NOW DL_NOW
11714 # define LT_DLLAZY_OR_NOW 0
11721 /* When -fvisbility=hidden is used, assume the code has been annotated
11722 correspondingly for the symbols needed. */
11723 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11724 void fnord () __attribute__((visibility("default")));
11727 void fnord () { int i=42; }
11730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11731 int status = $lt_dlunknown;
11735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11738 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11739 else puts (dlerror ());
11741 /* dlclose (self); */
11749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11750 (eval $ac_link) 2>&5
11752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11753 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11754 (.
/conftest
; exit; ) >&5 2>/dev
/null
11756 case x
$lt_status in
11757 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11758 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11759 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11762 # compilation failed
11763 lt_cv_dlopen_self_static
=no
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11771 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11774 CPPFLAGS
="$save_CPPFLAGS"
11775 LDFLAGS
="$save_LDFLAGS"
11780 case $lt_cv_dlopen_self in
11781 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11782 *) enable_dlopen_self
=unknown
;;
11785 case $lt_cv_dlopen_self_static in
11786 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11787 *) enable_dlopen_self_static
=unknown
;;
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11810 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11811 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11812 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11813 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11815 $as_echo "yes" >&6; }
11817 # FIXME - insert some real tests, host_os isn't really good enough
11820 if test -n "$STRIP" ; then
11821 striplib
="$STRIP -x"
11822 old_striplib
="$STRIP -S"
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11824 $as_echo "yes" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11848 # Report which library types will actually be built
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11850 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11852 $as_echo "$can_build_shared" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11855 $as_echo_n "checking whether to build shared libraries... " >&6; }
11856 test "$can_build_shared" = "no" && enable_shared
=no
11858 # On AIX, shared libraries and static libraries use the same namespace, and
11859 # are all built from PIC.
11862 test "$enable_shared" = yes && enable_static
=no
11863 if test -n "$RANLIB"; then
11864 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11865 postinstall_cmds
='$RANLIB $lib'
11870 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11871 test "$enable_shared" = yes && enable_static
=no
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11876 $as_echo "$enable_shared" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11879 $as_echo_n "checking whether to build static libraries... " >&6; }
11880 # Make sure either enable_shared or enable_static is yes.
11881 test "$enable_shared" = yes || enable_static
=yes
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11883 $as_echo "$enable_static" >&6; }
11890 ac_cpp
='$CPP $CPPFLAGS'
11891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11909 ac_config_commands
="$ac_config_commands libtool"
11914 # Only expand once:
11919 # Check whether --enable-largefile was given.
11920 if test "${enable_largefile+set}" = set; then :
11921 enableval
=$enable_largefile;
11924 if test "$enable_largefile" != no
; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11927 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11928 if ${ac_cv_sys_largefile_CC+:} false
; then :
11929 $as_echo_n "(cached) " >&6
11931 ac_cv_sys_largefile_CC
=no
11932 if test "$GCC" != yes; then
11935 # IRIX 6.2 and later do not support large files by default,
11936 # so use the C compiler's -n32 option if that helps.
11937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #include <sys/types.h>
11940 /* Check that off_t can represent 2**63 - 1 correctly.
11941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11942 since some C++ compilers masquerading as C compilers
11943 incorrectly reject 9223372036854775807. */
11944 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11946 && LARGE_OFF_T % 2147483647 == 1)
11956 if ac_fn_c_try_compile
"$LINENO"; then :
11959 rm -f core conftest.err conftest.
$ac_objext
11961 if ac_fn_c_try_compile
"$LINENO"; then :
11962 ac_cv_sys_largefile_CC
=' -n32'; break
11964 rm -f core conftest.err conftest.
$ac_objext
11968 rm -f conftest.
$ac_ext
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11972 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11973 if test "$ac_cv_sys_largefile_CC" != no
; then
11974 CC
=$CC$ac_cv_sys_largefile_CC
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11978 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11979 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11980 $as_echo_n "(cached) " >&6
11983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11985 #include <sys/types.h>
11986 /* Check that off_t can represent 2**63 - 1 correctly.
11987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11988 since some C++ compilers masquerading as C compilers
11989 incorrectly reject 9223372036854775807. */
11990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11992 && LARGE_OFF_T % 2147483647 == 1)
12002 if ac_fn_c_try_compile
"$LINENO"; then :
12003 ac_cv_sys_file_offset_bits
=no
; break
12005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12008 #define _FILE_OFFSET_BITS 64
12009 #include <sys/types.h>
12010 /* Check that off_t can represent 2**63 - 1 correctly.
12011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12012 since some C++ compilers masquerading as C compilers
12013 incorrectly reject 9223372036854775807. */
12014 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12016 && LARGE_OFF_T % 2147483647 == 1)
12026 if ac_fn_c_try_compile
"$LINENO"; then :
12027 ac_cv_sys_file_offset_bits
=64; break
12029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12030 ac_cv_sys_file_offset_bits
=unknown
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12035 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12036 case $ac_cv_sys_file_offset_bits in #(
12039 cat >>confdefs.h
<<_ACEOF
12040 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12045 if test $ac_cv_sys_file_offset_bits = unknown
; then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12047 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12048 if ${ac_cv_sys_large_files+:} false
; then :
12049 $as_echo_n "(cached) " >&6
12052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 #include <sys/types.h>
12055 /* Check that off_t can represent 2**63 - 1 correctly.
12056 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12057 since some C++ compilers masquerading as C compilers
12058 incorrectly reject 9223372036854775807. */
12059 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12060 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12061 && LARGE_OFF_T % 2147483647 == 1)
12071 if ac_fn_c_try_compile
"$LINENO"; then :
12072 ac_cv_sys_large_files
=no
; break
12074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 #define _LARGE_FILES 1
12078 #include <sys/types.h>
12079 /* Check that off_t can represent 2**63 - 1 correctly.
12080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12081 since some C++ compilers masquerading as C compilers
12082 incorrectly reject 9223372036854775807. */
12083 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12085 && LARGE_OFF_T % 2147483647 == 1)
12095 if ac_fn_c_try_compile
"$LINENO"; then :
12096 ac_cv_sys_large_files
=1; break
12098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12099 ac_cv_sys_large_files
=unknown
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12104 $as_echo "$ac_cv_sys_large_files" >&6; }
12105 case $ac_cv_sys_large_files in #(
12108 cat >>confdefs.h
<<_ACEOF
12109 #define _LARGE_FILES $ac_cv_sys_large_files
12120 backtrace_supported
=yes
12122 if test -n "${with_target_subdir}"; then
12123 # We are compiling a GCC library. We can assume that the unwind
12125 BACKTRACE_FILE
="backtrace.lo simple.lo"
12127 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_unwind_h" = xyes
; then :
12129 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
12130 if test "x$ac_cv_func__Unwind_Backtrace" = xyes
; then :
12131 BACKTRACE_FILE
="backtrace.lo simple.lo"
12133 BACKTRACE_FILE
="nounwind.lo"
12134 backtrace_supported
=no
12138 BACKTRACE_FILE
="nounwind.lo"
12139 backtrace_supported
=no
12147 if test -n "${with_target_subdir}"; then
12148 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
12151 $as_echo_n "checking for -funwind-tables option... " >&6; }
12152 if ${libbacktrace_cv_c_unwind_tables+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 CFLAGS_hold
="$CFLAGS"
12156 CFLAGS
="$CFLAGS -funwind-tables"
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 static int f() { return 0; }
12168 if ac_fn_c_try_compile
"$LINENO"; then :
12169 libbacktrace_cv_c_unwind_tables
=yes
12171 libbacktrace_cv_c_unwind_tables
=no
12173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12174 CFLAGS
="$CFLAGS_hold"
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
12177 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
12178 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
12179 EXTRA_FLAGS
=-funwind-tables
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
12182 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
12183 if ${libbacktrace_cv_c_random_seed_string+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 CFLAGS_hold
="$CFLAGS"
12187 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12199 if ac_fn_c_try_compile
"$LINENO"; then :
12200 libbacktrace_cv_c_random_seed_string
=yes
12202 libbacktrace_cv_c_random_seed_string
=no
12204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12205 CFLAGS
="$CFLAGS_hold"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
12208 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
12209 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
12210 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
12214 if test -n "${with_target_subdir}"; then
12215 # Add CET specific flags is Intel CET is enabled.
12216 # Check whether --enable-cet was given.
12217 if test "${enable_cet+set}" = set; then :
12218 enableval
=$enable_cet;
12219 case "$enableval" in
12221 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12230 $as_echo_n "checking for CET support... " >&6; }
12232 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
12234 i
[34567]86-*-linux* | x86_64-
*-linux*)
12235 case "$enable_cet" in
12237 # Check if target supports multi-byte NOPs
12238 # and if compiler and assembler support CET insn.
12239 cet_save_CFLAGS
="$CFLAGS"
12240 CFLAGS
="$CFLAGS -fcf-protection"
12241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12248 #if !defined(__SSE2__)
12249 #error target does not support multi-byte NOPs
12258 if ac_fn_c_try_compile
"$LINENO"; then :
12263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12264 CFLAGS
="$cet_save_CFLAGS"
12267 # Check if assembler supports CET.
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12279 if ac_fn_c_try_compile
"$LINENO"; then :
12282 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
12284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 if test x
$enable_cet = xyes
; then
12293 CET_FLAGS
="-fcf-protection -mshstk"
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12295 $as_echo "yes" >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12298 $as_echo "no" >&6; }
12301 EXTRA_FLAGS
="$EXTRA_FLAGS $CET_FLAGS"
12306 ac_cpp
='$CPP $CPPFLAGS'
12307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12312 save_CFLAGS
="$CFLAGS"
12313 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
12314 -Wmissing-prototypes -Wold-style-definition \
12315 -Wmissing-format-attribute -Wcast-qual; do
12316 # Do the check with the no- prefix removed since gcc silently
12317 # accepts any -Wno-* option on purpose
12318 case $real_option in
12319 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12320 *) option
=$real_option ;;
12322 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12325 $as_echo_n "checking whether $CC supports $option... " >&6; }
12326 if eval \
${$as_acx_Woption+:} false
; then :
12327 $as_echo_n "(cached) " >&6
12330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12341 if ac_fn_c_try_compile
"$LINENO"; then :
12342 eval "$as_acx_Woption=yes"
12344 eval "$as_acx_Woption=no"
12346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12349 eval ac_res
=\$
$as_acx_Woption
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12351 $as_echo "$ac_res" >&6; }
12352 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12353 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
12356 CFLAGS
="$save_CFLAGS"
12358 ac_cpp
='$CPP $CPPFLAGS'
12359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12365 if test -n "${with_target_subdir}"; then
12366 WARN_FLAGS
="$WARN_FLAGS -Werror"
12371 if test -n "${with_target_subdir}"; then
12374 # Check whether --with-system-libunwind was given.
12375 if test "${with_system_libunwind+set}" = set; then :
12376 withval
=$with_system_libunwind;
12379 # If system-libunwind was not specifically set, pick a default setting.
12380 if test x
$with_system_libunwind = x
; then
12382 ia64-
*-hpux*) with_system_libunwind
=yes ;;
12383 *) with_system_libunwind
=no
;;
12386 # Based on system-libunwind and target, do we have ipinfo?
12387 if test x
$with_system_libunwind = xyes
; then
12389 ia64-
*-*) have_unwind_getipinfo
=no
;;
12390 *) have_unwind_getipinfo
=yes ;;
12393 # Darwin before version 9 does not have _Unwind_GetIPInfo.
12396 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
12397 *) have_unwind_getipinfo
=yes ;;
12402 if test x
$have_unwind_getipinfo = xyes
; then
12404 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12409 ac_save_CFFLAGS
="$CFLAGS"
12410 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12412 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 #include "unwind.h"
12416 struct _Unwind_Context *context;
12417 int ip_before_insn = 0;
12421 return _Unwind_GetIPInfo (context, &ip_before_insn);
12426 if ac_fn_c_try_link
"$LINENO"; then :
12427 have_unwind_getipinfo
=yes
12429 have_unwind_getipinfo
=no
12431 rm -f core conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12433 CFLAGS
="$ac_save_CFLAGS"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12435 $as_echo "$have_unwind_getipinfo" >&6; }
12436 if test "$have_unwind_getipinfo" = "yes"; then
12438 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12443 # Enable --enable-host-shared.
12444 # Check whether --enable-host-shared was given.
12445 if test "${enable_host_shared+set}" = set; then :
12446 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12453 # Enable Intel CET on Intel CET enabled host if jit is enabled.
12454 # Check whether --enable-cet was given.
12455 if test "${enable_cet+set}" = set; then :
12456 enableval
=$enable_cet;
12457 case "$enableval" in
12459 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12468 $as_echo_n "checking for CET support... " >&6; }
12471 i
[34567]86-*-linux* | x86_64-
*-linux*)
12473 cet_save_CFLAGS
="$CFLAGS"
12474 CFLAGS
="$CFLAGS -fcf-protection"
12475 case "$enable_cet" in
12477 # Check if target supports multi-byte NOPs
12478 # and if compiler and assembler support CET.
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12486 #if !defined(__SSE2__)
12487 #error target does not support multi-byte NOPs
12496 if ac_fn_c_try_compile
"$LINENO"; then :
12501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12504 # Check if compiler and assembler support CET.
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12516 if ac_fn_c_try_compile
"$LINENO"; then :
12521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12522 if test $support_cet = "no"; then
12523 if test x
$enable_bootstrap != xno \
12524 && test -z "${with_build_subdir}" \
12525 && (test ! -f ..
/stage_current \
12526 ||
test `cat ../stage_current` != "stage1"); then
12527 # Require CET support only for the final GCC build.
12528 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
12530 # Don't enable CET without CET support for non-bootstrap
12531 # build, in stage1 nor for build support.
12537 CFLAGS
="$cet_save_CFLAGS"
12545 cet_save_CFLAGS
="$CFLAGS"
12546 CFLAGS
="$CFLAGS -fcf-protection=none"
12547 cet_save_LDFLAGS
="$LDFLAGS"
12548 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
12549 if test x
$may_have_cet = xyes
; then
12550 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
12551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12562 if ac_fn_c_try_link
"$LINENO"; then :
12567 rm -f core conftest.err conftest.
$ac_objext \
12568 conftest
$ac_exeext conftest.
$ac_ext
12571 if test x
$may_have_cet = xyes
; then
12572 if test x
$cross_compiling = xno
; then
12573 if test "$cross_compiling" = yes; then :
12574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12576 as_fn_error $?
"cannot run test program while cross compiling
12577 See \`config.log' for more details" "$LINENO" 5; }
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12590 if ac_fn_c_try_run
"$LINENO"; then :
12591 have_multi_byte_nop
=yes
12593 have_multi_byte_nop
=no
12595 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12596 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12600 if test x
$have_multi_byte_nop = xyes
; then
12601 if test "$cross_compiling" = yes; then :
12602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12604 as_fn_error $?
"cannot run test program while cross compiling
12605 See \`config.log' for more details" "$LINENO" 5; }
12607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12616 __attribute__ ((noinline, noclone))
12617 xxx (void (*f) (void))
12623 __attribute__ ((noinline, noclone))
12637 if ac_fn_c_try_run
"$LINENO"; then :
12642 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12643 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12647 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
12648 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
12652 # Enable CET in cross compiler if possible so that it will run on both
12653 # CET and non-CET hosts.
12656 if test x
$enable_cet = xyes
; then
12657 CET_HOST_FLAGS
="-fcf-protection"
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12659 $as_echo "yes" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12664 CFLAGS
="$cet_save_CFLAGS"
12665 LDFLAGS
="$cet_save_LDFLAGS"
12667 case x
$enable_languages in
12676 # Test for __sync support.
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12678 $as_echo_n "checking __sync extensions... " >&6; }
12679 if ${libbacktrace_cv_sys_sync+:} false
; then :
12680 $as_echo_n "(cached) " >&6
12682 if test -n "${with_target_subdir}"; then
12684 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12685 *) libbacktrace_cv_sys_sync
=yes ;;
12688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12694 __sync_bool_compare_and_swap (&i, i, i);
12695 __sync_lock_test_and_set (&i, 1);
12696 __sync_lock_release (&i);
12701 if ac_fn_c_try_link
"$LINENO"; then :
12702 libbacktrace_cv_sys_sync
=yes
12704 libbacktrace_cv_sys_sync
=no
12706 rm -f core conftest.err conftest.
$ac_objext \
12707 conftest
$ac_exeext conftest.
$ac_ext
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12711 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12712 BACKTRACE_SUPPORTS_THREADS
=0
12713 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12714 BACKTRACE_SUPPORTS_THREADS
=1
12716 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12721 # Test for __atomic support.
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12723 $as_echo_n "checking __atomic extensions... " >&6; }
12724 if ${libbacktrace_cv_sys_atomic+:} false
; then :
12725 $as_echo_n "(cached) " >&6
12727 if test -n "${with_target_subdir}"; then
12728 libbacktrace_cv_sys_atomic
=yes
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12736 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12737 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12742 if ac_fn_c_try_link
"$LINENO"; then :
12743 libbacktrace_cv_sys_atomic
=yes
12745 libbacktrace_cv_sys_atomic
=no
12747 rm -f core conftest.err conftest.
$ac_objext \
12748 conftest
$ac_exeext conftest.
$ac_ext
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12752 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12753 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12755 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12759 # The library needs to be able to read the executable itself. Compile
12760 # a file to determine the executable format. The awk script
12761 # filetype.awk prints out the file type.
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12763 $as_echo_n "checking output filetype... " >&6; }
12764 if ${libbacktrace_cv_sys_filetype+:} false
; then :
12765 $as_echo_n "(cached) " >&6
12768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12779 if ac_fn_c_try_compile
"$LINENO"; then :
12780 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12784 as_fn_error $?
"compiler failed
12785 See \`config.log' for more details" "$LINENO" 5; }
12787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12788 libbacktrace_cv_sys_filetype
=$filetype
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12791 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12793 # Match the file type to decide what files to compile.
12795 backtrace_supports_data
=yes
12796 case "$libbacktrace_cv_sys_filetype" in
12797 elf
*) FORMAT_FILE
="elf.lo" ;;
12798 macho
) FORMAT_FILE
="macho.lo" ;;
12799 pecoff
) FORMAT_FILE
="pecoff.lo"
12800 backtrace_supports_data
=no
12802 xcoff
*) FORMAT_FILE
="xcoff.lo"
12803 backtrace_supports_data
=no
12805 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12806 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12807 FORMAT_FILE
="unknown.lo"
12808 backtrace_supported
=no
12815 case "$libbacktrace_cv_sys_filetype" in
12816 elf32
) elfsize
=32 ;;
12817 elf64
) elfsize
=64 ;;
12821 cat >>confdefs.h
<<_ACEOF
12822 #define BACKTRACE_ELF_SIZE $elfsize
12825 if test "$FORMAT_FILE" = "elf.lo"; then
12836 case "$libbacktrace_cv_sys_filetype" in
12837 xcoff32
) xcoffsize
=32 ;;
12838 xcoff64
) xcoffsize
=64 ;;
12839 *) xcoffsize
=unused
12842 cat >>confdefs.h
<<_ACEOF
12843 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12847 BACKTRACE_SUPPORTED
=0
12848 if test "$backtrace_supported" = "yes"; then
12849 BACKTRACE_SUPPORTED
=1
12853 BACKTRACE_SUPPORTS_DATA
=0
12854 if test "$backtrace_supports_data" = "yes"; then
12855 BACKTRACE_SUPPORTS_DATA
=1
12861 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12863 acx_cv_header_stdint
=stddef.h
12864 acx_cv_header_stdint_kind
="(already complete)"
12865 for i
in stdint.h
$inttype_headers; do
12866 unset ac_cv_type_uintptr_t
12867 unset ac_cv_type_uintmax_t
12868 unset ac_cv_type_int_least32_t
12869 unset ac_cv_type_int_fast32_t
12870 unset ac_cv_type_uint64_t
12871 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12872 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12875 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
12876 acx_cv_header_stdint
=$i
12881 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12884 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12887 acx_cv_header_stdint_kind
="(mostly complete)"
12890 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12893 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
12896 acx_cv_header_stdint_kind
="(mostly complete)"
12899 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12902 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
12905 acx_cv_header_stdint_kind
="(mostly complete)"
12908 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12911 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12914 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12919 if test "$acx_cv_header_stdint" = stddef.h
; then
12920 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12921 for i
in stdint.h
$inttype_headers; do
12922 unset ac_cv_type_uintptr_t
12923 unset ac_cv_type_uint32_t
12924 unset ac_cv_type_uint64_t
12925 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12926 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12929 if test "x$ac_cv_type_uint32_t" = xyes
; then :
12930 acx_cv_header_stdint
=$i
12935 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12938 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12942 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12945 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12952 if test "$acx_cv_header_stdint" = stddef.h
; then
12953 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12954 for i
in sys
/types.h
$inttype_headers; do
12955 unset ac_cv_type_u_int32_t
12956 unset ac_cv_type_u_int64_t
12957 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12958 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12961 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
12962 acx_cv_header_stdint
=$i
12967 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12970 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
12977 if test "$acx_cv_header_stdint" = stddef.h
; then
12978 acx_cv_header_stdint_kind
="(using manual detection)"
12981 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12982 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12983 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12984 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12985 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12987 # ----------------- Summarize what we found so far
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12990 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12992 case `$as_basename -- gstdint.h ||
12993 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12994 Xgstdint.h : 'X\(//\)$' \| \
12995 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12996 $as_echo X/gstdint.h |
12997 sed '/^.*\/\([^/][^/]*\)\/*$/{
13010 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13011 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13012 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
13013 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13018 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
13020 # ----------------- done included file, check C basic types --------
13022 # Lacking an uintptr_t? Test size of void *
13023 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13024 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
13025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13027 # This bug is HP SR number 8606223364.
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13029 $as_echo_n "checking size of void *... " >&6; }
13030 if ${ac_cv_sizeof_void_p+:} false
; then :
13031 $as_echo_n "(cached) " >&6
13033 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
13036 if test "$ac_cv_type_void_p" = yes; then
13037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13039 as_fn_error
77 "cannot compute sizeof (void *)
13040 See \`config.log' for more details" "$LINENO" 5; }
13042 ac_cv_sizeof_void_p
=0
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13048 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13052 cat >>confdefs.h
<<_ACEOF
13053 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13059 # Lacking an uint64_t? Test size of long
13060 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
13061 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
13062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13064 # This bug is HP SR number 8606223364.
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13066 $as_echo_n "checking size of long... " >&6; }
13067 if ${ac_cv_sizeof_long+:} false
; then :
13068 $as_echo_n "(cached) " >&6
13070 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13073 if test "$ac_cv_type_long" = yes; then
13074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13076 as_fn_error
77 "cannot compute sizeof (long)
13077 See \`config.log' for more details" "$LINENO" 5; }
13079 ac_cv_sizeof_long
=0
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13085 $as_echo "$ac_cv_sizeof_long" >&6; }
13089 cat >>confdefs.h
<<_ACEOF
13090 #define SIZEOF_LONG $ac_cv_sizeof_long
13096 if test $acx_cv_header_stdint = stddef.h
; then
13097 # Lacking a good header? Test size of everything and deduce all types.
13098 # The cast to long int works around a bug in the HP C Compiler
13099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13101 # This bug is HP SR number 8606223364.
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13103 $as_echo_n "checking size of int... " >&6; }
13104 if ${ac_cv_sizeof_int+:} false
; then :
13105 $as_echo_n "(cached) " >&6
13107 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13110 if test "$ac_cv_type_int" = yes; then
13111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13113 as_fn_error
77 "cannot compute sizeof (int)
13114 See \`config.log' for more details" "$LINENO" 5; }
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13122 $as_echo "$ac_cv_sizeof_int" >&6; }
13126 cat >>confdefs.h
<<_ACEOF
13127 #define SIZEOF_INT $ac_cv_sizeof_int
13131 # The cast to long int works around a bug in the HP C Compiler
13132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13134 # This bug is HP SR number 8606223364.
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13136 $as_echo_n "checking size of short... " >&6; }
13137 if ${ac_cv_sizeof_short+:} false
; then :
13138 $as_echo_n "(cached) " >&6
13140 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13143 if test "$ac_cv_type_short" = yes; then
13144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13146 as_fn_error
77 "cannot compute sizeof (short)
13147 See \`config.log' for more details" "$LINENO" 5; }
13149 ac_cv_sizeof_short
=0
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13155 $as_echo "$ac_cv_sizeof_short" >&6; }
13159 cat >>confdefs.h
<<_ACEOF
13160 #define SIZEOF_SHORT $ac_cv_sizeof_short
13164 # The cast to long int works around a bug in the HP C Compiler
13165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13167 # This bug is HP SR number 8606223364.
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13169 $as_echo_n "checking size of char... " >&6; }
13170 if ${ac_cv_sizeof_char+:} false
; then :
13171 $as_echo_n "(cached) " >&6
13173 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13176 if test "$ac_cv_type_char" = yes; then
13177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179 as_fn_error
77 "cannot compute sizeof (char)
13180 See \`config.log' for more details" "$LINENO" 5; }
13182 ac_cv_sizeof_char
=0
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13188 $as_echo "$ac_cv_sizeof_char" >&6; }
13192 cat >>confdefs.h
<<_ACEOF
13193 #define SIZEOF_CHAR $ac_cv_sizeof_char
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
13199 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
13200 case "$ac_cv_sizeof_char" in
13201 1) acx_cv_type_int8_t
=char
;;
13202 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
13205 $as_echo "$acx_cv_type_int8_t" >&6; }
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
13208 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
13209 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13210 2:*) acx_cv_type_int16_t
=int
;;
13211 *:2) acx_cv_type_int16_t
=short
;;
13212 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
13215 $as_echo "$acx_cv_type_int16_t" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
13218 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
13219 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13220 4:*) acx_cv_type_int32_t
=int
;;
13221 *:4) acx_cv_type_int32_t
=long
;;
13222 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
13225 $as_echo "$acx_cv_type_int32_t" >&6; }
13228 # These tests are here to make the output prettier
13230 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13231 case "$ac_cv_sizeof_long" in
13232 8) acx_cv_type_int64_t
=long
;;
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
13235 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13237 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
13240 # Now we can use the above types
13242 if test "$ac_cv_type_uintptr_t" != yes; then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
13244 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
13245 case $ac_cv_sizeof_void_p in
13246 2) acx_cv_type_intptr_t
=int16_t
;;
13247 4) acx_cv_type_intptr_t
=int32_t
;;
13248 8) acx_cv_type_intptr_t
=int64_t
;;
13249 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
13252 $as_echo "$acx_cv_type_intptr_t" >&6; }
13255 # ----------------- done all checks, emit header -------------
13256 ac_config_commands
="$ac_config_commands gstdint.h"
13261 for ac_header
in sys
/mman.h
13263 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
13265 cat >>confdefs.h
<<_ACEOF
13266 #define HAVE_SYS_MMAN_H 1
13273 if test "$ac_cv_header_sys_mman_h" = "no"; then
13276 if test -n "${with_target_subdir}"; then
13277 # When built as a GCC target library, we can't do a link test. We
13278 # simply assume that if we have mman.h, we have mmap.
13282 # DJGPP has sys/man.h, but no mmap
13286 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
13287 if test "x$ac_cv_func_mmap" = xyes
; then :
13295 if test "$have_mmap" = "no"; then
13297 ALLOC_FILE
=alloc.lo
13299 VIEW_FILE
=mmapio.lo
13300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13303 #include <sys/mman.h>
13304 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
13305 #error no MAP_ANONYMOUS
13309 if ac_fn_c_try_cpp
"$LINENO"; then :
13312 ALLOC_FILE
=alloc.lo
13314 rm -f conftest.err conftest.i conftest.
$ac_ext
13319 BACKTRACE_USES_MALLOC
=0
13320 if test "$ALLOC_FILE" = "alloc.lo"; then
13321 BACKTRACE_USES_MALLOC
=1
13325 # Check for dl_iterate_phdr.
13326 for ac_header
in link.h
13328 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
13329 if test "x$ac_cv_header_link_h" = xyes
; then :
13330 cat >>confdefs.h
<<_ACEOF
13331 #define HAVE_LINK_H 1
13338 if test "$ac_cv_header_link_h" = "no"; then
13339 have_dl_iterate_phdr
=no
13341 if test -n "${with_target_subdir}"; then
13342 # When built as a GCC target library, we can't do a link test.
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13349 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
13350 have_dl_iterate_phdr
=yes
13352 have_dl_iterate_phdr
=no
13357 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
13358 if test "x$ac_cv_func_dl_iterate_phdr" = xyes
; then :
13359 have_dl_iterate_phdr
=yes
13361 have_dl_iterate_phdr
=no
13366 if test "$have_dl_iterate_phdr" = "yes"; then
13368 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
13372 # Check for header file for Mach-O image functions.
13373 for ac_header
in mach-o
/dyld.h
13375 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
13376 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
13377 cat >>confdefs.h
<<_ACEOF
13378 #define HAVE_MACH_O_DYLD_H 1
13386 # Check for loadquery.
13387 for ac_header
in sys
/ldr.h
13389 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
13390 if test "x$ac_cv_header_sys_ldr_h" = xyes
; then :
13391 cat >>confdefs.h
<<_ACEOF
13392 #define HAVE_SYS_LDR_H 1
13399 if test "$ac_cv_header_sys_ldr_h" = "no"; then
13402 if test -n "${with_target_subdir}"; then
13403 # When built as a GCC target library, we can't do a link test.
13404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13406 #include <sys/ldr.h>
13409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13410 $EGREP "loadquery" >/dev
/null
2>&1; then :
13418 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
13419 if test "x$ac_cv_func_loadquery" = xyes
; then :
13427 if test "$have_loadquery" = "yes"; then
13429 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
13433 # Check for the fcntl function.
13434 if test -n "${with_target_subdir}"; then
13436 *-*-mingw*) have_fcntl
=no
;;
13437 *) have_fcntl
=yes ;;
13440 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
13441 if test "x$ac_cv_func_fcntl" = xyes
; then :
13448 if test "$have_fcntl" = "yes"; then
13450 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
13454 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13455 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
13461 cat >>confdefs.h
<<_ACEOF
13462 #define HAVE_DECL_STRNLEN $ac_have_decl
13464 ac_fn_c_check_decl
"$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
13465 if test "x$ac_cv_have_decl_getpagesize" = xyes
; then :
13471 cat >>confdefs.h
<<_ACEOF
13472 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
13475 for ac_func
in lstat readlink
13477 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13478 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13479 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13480 cat >>confdefs.h
<<_ACEOF
13481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488 # Check for getexecname function.
13489 if test -n "${with_target_subdir}"; then
13491 *-*-solaris2*) have_getexecname
=yes ;;
13492 *) have_getexecname
=no
;;
13495 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
13496 if test "x$ac_cv_func_getexecname" = xyes
; then :
13497 have_getexecname
=yes
13499 have_getexecname
=no
13503 if test "$have_getexecname" = "yes"; then
13505 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
13509 # Check for sysctl definitions.
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
13512 $as_echo_n "checking for KERN_PROC... " >&6; }
13513 if ${libbacktrace_cv_proc+:} false
; then :
13514 $as_echo_n "(cached) " >&6
13516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13519 #include <sys/types.h>
13520 #include <sys/sysctl.h>
13525 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
13530 if ac_fn_c_try_compile
"$LINENO"; then :
13531 libbacktrace_cv_proc
=yes
13533 libbacktrace_cv_proc
=no
13535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
13538 $as_echo "$libbacktrace_cv_proc" >&6; }
13539 if test "$libbacktrace_cv_proc" = "yes"; then
13541 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
13546 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
13547 if ${libbacktrace_cv_procargs+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 #include <sys/types.h>
13554 #include <sys/sysctl.h>
13559 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
13564 if ac_fn_c_try_compile
"$LINENO"; then :
13565 libbacktrace_cv_procargs
=yes
13567 libbacktrace_cv_procargs
=no
13569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
13572 $as_echo "$libbacktrace_cv_procargs" >&6; }
13573 if test "$libbacktrace_cv_procargs" = "yes"; then
13575 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
13579 # Check for the clock_gettime function.
13580 for ac_func
in clock_gettime
13582 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13583 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13584 cat >>confdefs.h
<<_ACEOF
13585 #define HAVE_CLOCK_GETTIME 1
13591 clock_gettime_link
=
13592 # At least for glibc, clock_gettime is in librt. But don't
13593 # pull that in if it still doesn't give us the function we want. This
13594 # test is copied from libgomp, and modified to not link in -lrt as
13595 # we're using this for test timing only.
13596 if test "$ac_cv_func_clock_gettime" = no
; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13598 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13599 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
13600 $as_echo_n "(cached) " >&6
13602 ac_check_lib_save_LIBS
=$LIBS
13604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13613 char clock_gettime ();
13617 return clock_gettime ();
13622 if ac_fn_c_try_link
"$LINENO"; then :
13623 ac_cv_lib_rt_clock_gettime
=yes
13625 ac_cv_lib_rt_clock_gettime
=no
13627 rm -f core conftest.err conftest.
$ac_objext \
13628 conftest
$ac_exeext conftest.
$ac_ext
13629 LIBS
=$ac_check_lib_save_LIBS
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13632 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13633 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
13634 CLOCK_GETTIME_LINK
=-lrt
13636 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13644 $as_echo_n "checking whether -pthread is supported... " >&6; }
13645 if ${libgo_cv_lib_pthread+:} false
; then :
13646 $as_echo_n "(cached) " >&6
13648 CFLAGS_hold
=$CFLAGS
13649 CFLAGS
="$CFLAGS -pthread"
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13654 if ac_fn_c_try_compile
"$LINENO"; then :
13655 libgo_cv_lib_pthread
=yes
13657 libgo_cv_lib_pthread
=no
13659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 CFLAGS
=$CFLAGS_hold
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13663 $as_echo "$libgo_cv_lib_pthread" >&6; }
13665 if test "$libgo_cv_lib_pthread" = yes; then
13666 PTHREAD_CFLAGS
=-pthread
13670 if test "$libgo_cv_lib_pthread" = yes; then
13672 HAVE_PTHREAD_FALSE
='#'
13674 HAVE_PTHREAD_TRUE
='#'
13675 HAVE_PTHREAD_FALSE
=
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
13680 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
13681 if ${libbacktrace_cv_lib_dwarf5+:} false
; then :
13682 $as_echo_n "(cached) " >&6
13684 CFLAGS_hold
=$CFLAGS
13685 CFLAGS
="$CFLAGS -gdwarf-5"
13686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13697 if ac_fn_c_try_link
"$LINENO"; then :
13698 libbacktrace_cv_lib_dwarf5
=yes
13700 libbacktrace_cv_lib_dwarf5
=no
13702 rm -f core conftest.err conftest.
$ac_objext \
13703 conftest
$ac_exeext conftest.
$ac_ext
13704 CFLAGS
=$CFLAGS_hold
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
13707 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
13708 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
13710 HAVE_DWARF5_FALSE
='#'
13712 HAVE_DWARF5_TRUE
='#'
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
13718 $as_echo_n "checking for compress in -lz... " >&6; }
13719 if ${ac_cv_lib_z_compress+:} false
; then :
13720 $as_echo_n "(cached) " >&6
13722 ac_check_lib_save_LIBS
=$LIBS
13724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13737 return compress ();
13742 if ac_fn_c_try_link
"$LINENO"; then :
13743 ac_cv_lib_z_compress
=yes
13745 ac_cv_lib_z_compress
=no
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 LIBS
=$ac_check_lib_save_LIBS
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
13752 $as_echo "$ac_cv_lib_z_compress" >&6; }
13753 if test "x$ac_cv_lib_z_compress" = xyes
; then :
13755 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13759 if test "$ac_cv_lib_z_compress" = yes; then
13761 HAVE_ZLIB_FALSE
='#'
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
13769 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
13770 if ${libgo_cv_ld_compress+:} false
; then :
13771 $as_echo_n "(cached) " >&6
13773 LDFLAGS_hold
=$LDFLAGS
13774 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13786 if ac_fn_c_try_link
"$LINENO"; then :
13787 libgo_cv_ld_compress
=yes
13789 libgo_cv_ld_compress
=no
13791 rm -f core conftest.err conftest.
$ac_objext \
13792 conftest
$ac_exeext conftest.
$ac_ext
13793 LDFLAGS
=$LDFLAGS_hold
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
13796 $as_echo "$libgo_cv_ld_compress" >&6; }
13797 if test "$libgo_cv_ld_compress" = yes; then
13798 HAVE_COMPRESSED_DEBUG_TRUE
=
13799 HAVE_COMPRESSED_DEBUG_FALSE
='#'
13801 HAVE_COMPRESSED_DEBUG_TRUE
='#'
13802 HAVE_COMPRESSED_DEBUG_FALSE
=
13807 # Extract the first word of "objcopy", so it can be a program name with args.
13808 set dummy objcopy
; ac_word
=$2
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13810 $as_echo_n "checking for $ac_word... " >&6; }
13811 if ${ac_cv_prog_OBJCOPY+:} false
; then :
13812 $as_echo_n "(cached) " >&6
13814 if test -n "$OBJCOPY"; then
13815 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
13817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13818 for as_dir
in $PATH
13821 test -z "$as_dir" && as_dir
=.
13822 for ac_exec_ext
in '' $ac_executable_extensions; do
13823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13824 ac_cv_prog_OBJCOPY
="objcopy"
13825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13834 OBJCOPY
=$ac_cv_prog_OBJCOPY
13835 if test -n "$OBJCOPY"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
13837 $as_echo "$OBJCOPY" >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13840 $as_echo "no" >&6; }
13844 # Extract the first word of "readelf", so it can be a program name with args.
13845 set dummy readelf
; ac_word
=$2
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13847 $as_echo_n "checking for $ac_word... " >&6; }
13848 if ${ac_cv_prog_READELF+:} false
; then :
13849 $as_echo_n "(cached) " >&6
13851 if test -n "$READELF"; then
13852 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
13854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13855 for as_dir
in $PATH
13858 test -z "$as_dir" && as_dir
=.
13859 for ac_exec_ext
in '' $ac_executable_extensions; do
13860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13861 ac_cv_prog_READELF
="readelf"
13862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13871 READELF
=$ac_cv_prog_READELF
13872 if test -n "$READELF"; then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
13874 $as_echo "$READELF" >&6; }
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13877 $as_echo "no" >&6; }
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
13882 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
13883 if ${libbacktrace_cv_objcopy_debuglink+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13886 if test -n "${with_target_subdir}"; then
13887 libbacktrace_cv_objcopy_debuglink
=no
13888 elif ! test -n "${OBJCOPY}"; then
13889 libbacktrace_cv_objcopy_debuglink
=no
13890 elif ${OBJCOPY} --help | fgrep add-gnu-debuglink
>/dev
/null
2>&1; then
13891 libbacktrace_cv_objcopy_debuglink
=yes
13893 libbacktrace_cv_objcopy_debuglink
=no
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
13897 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
13898 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
13899 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
13900 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
13902 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
13903 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
13908 # Extract the first word of "dsymutil", so it can be a program name with args.
13909 set dummy dsymutil
; ac_word
=$2
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13911 $as_echo_n "checking for $ac_word... " >&6; }
13912 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13915 if test -n "$DSYMUTIL"; then
13916 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
13918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13919 for as_dir
in $PATH
13922 test -z "$as_dir" && as_dir
=.
13923 for ac_exec_ext
in '' $ac_executable_extensions; do
13924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13925 ac_cv_prog_DSYMUTIL
="dsymutil"
13926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13935 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
13936 if test -n "$DSYMUTIL"; then
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
13938 $as_echo "$DSYMUTIL" >&6; }
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13941 $as_echo "no" >&6; }
13945 if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
13947 USE_DSYMUTIL_FALSE
='#'
13949 USE_DSYMUTIL_TRUE
='#'
13950 USE_DSYMUTIL_FALSE
=
13955 # Extract the first word of "nm", so it can be a program name with args.
13956 set dummy nm
; ac_word
=$2
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13958 $as_echo_n "checking for $ac_word... " >&6; }
13959 if ${ac_cv_prog_NM+:} false
; then :
13960 $as_echo_n "(cached) " >&6
13962 if test -n "$NM"; then
13963 ac_cv_prog_NM
="$NM" # Let the user override the test.
13965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13966 for as_dir
in $PATH
13969 test -z "$as_dir" && as_dir
=.
13970 for ac_exec_ext
in '' $ac_executable_extensions; do
13971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 if test -n "$NM"; then
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
13985 $as_echo "$NM" >&6; }
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13988 $as_echo "no" >&6; }
13993 # Extract the first word of "xz", so it can be a program name with args.
13994 set dummy xz
; ac_word
=$2
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13996 $as_echo_n "checking for $ac_word... " >&6; }
13997 if ${ac_cv_prog_XZ+:} false
; then :
13998 $as_echo_n "(cached) " >&6
14000 if test -n "$XZ"; then
14001 ac_cv_prog_XZ
="$XZ" # Let the user override the test.
14003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14004 for as_dir
in $PATH
14007 test -z "$as_dir" && as_dir
=.
14008 for ac_exec_ext
in '' $ac_executable_extensions; do
14009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14021 if test -n "$XZ"; then
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
14023 $as_echo "$XZ" >&6; }
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026 $as_echo "no" >&6; }
14030 if test "$XZ" != ""; then
14038 # Extract the first word of "comm", so it can be a program name with args.
14039 set dummy
comm; ac_word
=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14041 $as_echo_n "checking for $ac_word... " >&6; }
14042 if ${ac_cv_prog_COMM+:} false
; then :
14043 $as_echo_n "(cached) " >&6
14045 if test -n "$COMM"; then
14046 ac_cv_prog_COMM
="$COMM" # Let the user override the test.
14048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14049 for as_dir
in $PATH
14052 test -z "$as_dir" && as_dir
=.
14053 for ac_exec_ext
in '' $ac_executable_extensions; do
14054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14055 ac_cv_prog_COMM
="comm"
14056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14065 COMM
=$ac_cv_prog_COMM
14066 if test -n "$COMM"; then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
14068 $as_echo "$COMM" >&6; }
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14071 $as_echo "no" >&6; }
14075 if test "$COMM" != ""; then
14077 HAVE_COMM_FALSE
='#'
14084 if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
14085 HAVE_MINIDEBUG_TRUE
=
14086 HAVE_MINIDEBUG_FALSE
='#'
14088 HAVE_MINIDEBUG_TRUE
='#'
14089 HAVE_MINIDEBUG_FALSE
=
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
14094 $as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
14095 if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false
; then :
14096 $as_echo_n "(cached) " >&6
14098 ac_check_lib_save_LIBS
=$LIBS
14099 LIBS
="-llzma $LIBS"
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14109 char lzma_auto_decoder ();
14113 return lzma_auto_decoder ();
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_lib_lzma_lzma_auto_decoder
=yes
14121 ac_cv_lib_lzma_lzma_auto_decoder
=no
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14125 LIBS
=$ac_check_lib_save_LIBS
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
14128 $as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
14129 if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes
; then :
14131 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
14135 if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
14137 HAVE_LIBLZMA_FALSE
='#'
14139 HAVE_LIBLZMA_TRUE
='#'
14140 HAVE_LIBLZMA_FALSE
=
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
14145 $as_echo_n "checking whether tests can run... " >&6; }
14146 if ${libbacktrace_cv_sys_native+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 if test "$cross_compiling" = yes; then :
14150 libbacktrace_cv_sys_native
=no
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14163 if ac_fn_c_try_run
"$LINENO"; then :
14164 libbacktrace_cv_sys_native
=yes
14166 libbacktrace_cv_sys_native
=no
14168 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14169 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
14174 $as_echo "$libbacktrace_cv_sys_native" >&6; }
14175 if test "$libbacktrace_cv_sys_native" = "yes"; then
14184 if test "${multilib}" = "yes"; then
14185 multilib_arg
="--enable-multilib"
14190 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
14192 ac_config_files
="$ac_config_files install-debuginfo-for-buildid.sh"
14195 # We need multilib support, but only if configuring for the target.
14196 ac_config_commands
="$ac_config_commands default"
14199 cat >confcache
<<\_ACEOF
14200 # This file is a shell script that caches the results of configure
14201 # tests run on this system so they can be shared between configure
14202 # scripts and configure runs, see configure's option --config-cache.
14203 # It is not useful on other systems. If it contains results you don't
14204 # want to keep, you may remove or edit it.
14206 # config.status only pays attention to the cache file if you give it
14207 # the --recheck option to rerun configure.
14209 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14210 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14211 # following values.
14215 # The following way of writing the cache mishandles newlines in values,
14216 # but we know of no workaround that is simple, portable, and efficient.
14217 # So, we kill variables containing newlines.
14218 # Ultrix sh set writes to stderr and can't be redirected directly,
14219 # and sets the high bit in the cache file unless we assign to the vars.
14221 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14222 eval ac_val
=\$
$ac_var
14226 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14230 _ | IFS | as_nl
) ;; #(
14231 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14232 *) { eval $ac_var=; unset $ac_var;} ;;
14238 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14239 *${as_nl}ac_space
=\
*)
14240 # `set' does not quote correctly, so add quotes: double-quote
14241 # substitution turns \\\\ into \\, and sed turns \\ into \.
14244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14247 # `set' quotes correctly as required by POSIX, so do not add quotes.
14248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14259 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14261 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14262 if test -w "$cache_file"; then
14263 if test "x$cache_file" != "x/dev/null"; then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14265 $as_echo "$as_me: updating cache $cache_file" >&6;}
14266 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14267 cat confcache
>"$cache_file"
14269 case $cache_file in #(
14271 mv -f confcache
"$cache_file"$$
&&
14272 mv -f "$cache_file"$$
"$cache_file" ;; #(
14274 mv -f confcache
"$cache_file" ;;
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14280 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14285 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14286 # Let make expand exec_prefix.
14287 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14289 DEFS
=-DHAVE_CONFIG_H
14294 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14295 # 1. Remove the extension, and $U if already installed.
14296 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14297 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14298 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14299 # will be set to the directory where LIBOBJS objects are built.
14300 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14301 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14303 LIBOBJS
=$ac_libobjs
14305 LTLIBOBJS
=$ac_ltlibobjs
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14309 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14310 if test -n "$am_sleep_pid"; then
14311 # Hide warnings about reused PIDs.
14312 wait $am_sleep_pid 2>/dev
/null
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14315 $as_echo "done" >&6; }
14316 if test -n "$EXEEXT"; then
14318 am__EXEEXT_FALSE
='#'
14320 am__EXEEXT_TRUE
='#'
14324 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14325 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14328 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
14329 as_fn_error $?
"conditional \"HAVE_DWZ\" was never defined.
14330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14332 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
14333 as_fn_error $?
"conditional \"HAVE_ELF\" was never defined.
14334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14336 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
14337 as_fn_error $?
"conditional \"HAVE_PTHREAD\" was never defined.
14338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14340 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
14341 as_fn_error $?
"conditional \"HAVE_DWARF5\" was never defined.
14342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14344 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
14345 as_fn_error $?
"conditional \"HAVE_ZLIB\" was never defined.
14346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14348 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
14349 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
14350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14352 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
14353 as_fn_error $?
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
14354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14356 if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
14357 as_fn_error $?
"conditional \"USE_DSYMUTIL\" was never defined.
14358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14360 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
14361 as_fn_error $?
"conditional \"HAVE_XZ\" was never defined.
14362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14364 if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
14365 as_fn_error $?
"conditional \"HAVE_COMM\" was never defined.
14366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14368 if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
14369 as_fn_error $?
"conditional \"HAVE_MINIDEBUG\" was never defined.
14370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14372 if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
14373 as_fn_error $?
"conditional \"HAVE_LIBLZMA\" was never defined.
14374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14376 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
14377 as_fn_error $?
"conditional \"NATIVE\" was never defined.
14378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14381 : "${CONFIG_STATUS=./config.status}"
14383 ac_clean_files_save
=$ac_clean_files
14384 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14386 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14388 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14390 # Generated by $as_me.
14391 # Run this file to recreate the current configuration.
14392 # Compiler output produced by configure, useful for debugging
14393 # configure, is in config.log if it exists.
14396 ac_cs_recheck=false
14399 SHELL=\${CONFIG_SHELL-$SHELL}
14402 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14403 ## -------------------- ##
14404 ## M4sh Initialization. ##
14405 ## -------------------- ##
14407 # Be more Bourne compatible
14408 DUALCASE
=1; export DUALCASE
# for MKS sh
14409 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14412 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14413 # is contrary to our usage. Disable this feature.
14414 alias -g '${1+"$@"}'='"$@"'
14415 setopt NO_GLOB_SUBST
14417 case `(set -o) 2>/dev/null` in #(
14429 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14430 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14431 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14432 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14433 # Prefer a ksh shell builtin over an external printf program on Solaris,
14434 # but without wasting forks for bash or zsh.
14435 if test -z "$BASH_VERSION$ZSH_VERSION" \
14436 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14437 as_echo='print
-r --'
14438 as_echo_n='print
-rn --'
14439 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14440 as_echo='printf %s
\n'
14441 as_echo_n='printf %s
'
14443 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14444 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14445 as_echo_n='/usr
/ucb
/echo -n'
14447 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14448 as_echo_n_body='eval
14452 expr "X$arg" : "X\\(.*\\)$as_nl";
14453 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14455 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14457 export as_echo_n_body
14458 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14460 export as_echo_body
14461 as_echo='sh
-c $as_echo_body as_echo
'
14464 # The user is always right.
14465 if test "${PATH_SEPARATOR+set}" != set; then
14467 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14468 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14475 # We need space, tab and new line, in precisely that order. Quoting is
14476 # there to prevent editors from complaining about space-tab.
14477 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14478 # splitting by setting IFS to empty value.)
14481 # Find who we are. Look in the path if we contain no directory separator.
14484 *[\\/]* ) as_myself=$0 ;;
14485 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14486 for as_dir in $PATH
14489 test -z "$as_dir" && as_dir=.
14490 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14496 # We did not find ourselves, most probably we were run as `sh COMMAND'
14497 # in which case we are not to be found in the path.
14498 if test "x$as_myself" = x
; then
14501 if test ! -f "$as_myself"; then
14502 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14506 # Unset variables that we do not need and which cause bugs (e.g. in
14507 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14508 # suppresses any "Segmentation fault" message there. '((' could
14509 # trigger a bug in pdksh 5.2.14.
14510 for as_var
in BASH_ENV ENV MAIL MAILPATH
14511 do eval test x\
${$as_var+set} = xset \
14512 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14525 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14528 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14529 # ----------------------------------------
14530 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14531 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14532 # script with STATUS, using 1 if that was 0.
14535 as_status
=$1; test $as_status -eq 0 && as_status
=1
14537 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14538 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14540 $as_echo "$as_me: error: $2" >&2
14541 as_fn_exit
$as_status
14545 # as_fn_set_status STATUS
14546 # -----------------------
14547 # Set $? to STATUS, without forking.
14548 as_fn_set_status
()
14551 } # as_fn_set_status
14553 # as_fn_exit STATUS
14554 # -----------------
14555 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14559 as_fn_set_status
$1
14565 # Portably unset VAR.
14568 { eval $1=; unset $1;}
14570 as_unset
=as_fn_unset
14571 # as_fn_append VAR VALUE
14572 # ----------------------
14573 # Append the text in VALUE to the end of the definition contained in VAR. Take
14574 # advantage of any shell optimizations that allow amortized linear growth over
14575 # repeated appends, instead of the typical quadratic growth present in naive
14577 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14578 eval 'as_fn_append ()
14589 # as_fn_arith ARG...
14590 # ------------------
14591 # Perform arithmetic evaluation on the ARGs, and store the result in the
14592 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14593 # must be portable across $(()) and expr.
14594 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14595 eval 'as_fn_arith ()
14602 as_val
=`expr "$@" || test $? -eq 1`
14607 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14608 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14614 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14615 as_basename
=basename
14620 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14626 as_me
=`$as_basename -- "$0" ||
14627 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14628 X"$0" : 'X\(//\)$' \| \
14629 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14631 sed '/^.*\/\([^/][^/]*\)\/*$/{
14645 # Avoid depending upon Character Ranges.
14646 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14647 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14648 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14649 as_cr_digits
='0123456789'
14650 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14652 ECHO_C
= ECHO_N
= ECHO_T
=
14653 case `echo -n x` in #(((((
14655 case `echo 'xy\c'` in
14656 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14658 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14665 rm -f conf$$ conf$$.exe conf$$.
file
14666 if test -d conf$$.dir
; then
14667 rm -f conf$$.dir
/conf$$.
file
14670 mkdir conf$$.dir
2>/dev
/null
14672 if (echo >conf$$.
file) 2>/dev
/null
; then
14673 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14675 # ... but there are two gotchas:
14676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14678 # In both cases, we have to default to `cp -pR'.
14679 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14681 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14689 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14690 rmdir conf$$.dir
2>/dev
/null
14695 # Create "$as_dir" as a directory, including parents if necessary.
14700 -*) as_dir
=.
/$as_dir;;
14702 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14706 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14707 *) as_qdir
=$as_dir;;
14709 as_dirs
="'$as_qdir' $as_dirs"
14710 as_dir
=`$as_dirname -- "$as_dir" ||
14711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14712 X"$as_dir" : 'X\(//\)[^/]' \| \
14713 X"$as_dir" : 'X\(//\)$' \| \
14714 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14715 $as_echo X"$as_dir" |
14716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14720 /^X\(\/\/\)[^/].*/{
14733 test -d "$as_dir" && break
14735 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14736 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14740 if mkdir
-p .
2>/dev
/null
; then
14741 as_mkdir_p
='mkdir -p "$as_dir"'
14743 test -d .
/-p && rmdir .
/-p
14748 # as_fn_executable_p FILE
14749 # -----------------------
14750 # Test if FILE is an executable regular file.
14751 as_fn_executable_p
()
14753 test -f "$1" && test -x "$1"
14754 } # as_fn_executable_p
14755 as_test_x
='test -x'
14756 as_executable_p
=as_fn_executable_p
14758 # Sed expression to map a string onto a valid CPP name.
14759 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14761 # Sed expression to map a string onto a valid variable name.
14762 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14766 ## ----------------------------------- ##
14767 ## Main body of $CONFIG_STATUS script. ##
14768 ## ----------------------------------- ##
14770 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14773 # Save the log message, to keep $0 and so on meaningful, and to
14774 # report actual input values of CONFIG_FILES etc. instead of their
14775 # values after options handling.
14777 This file was extended by package-unused $as_me version-unused, which was
14778 generated by GNU Autoconf 2.69. Invocation command line was
14780 CONFIG_FILES = $CONFIG_FILES
14781 CONFIG_HEADERS = $CONFIG_HEADERS
14782 CONFIG_LINKS = $CONFIG_LINKS
14783 CONFIG_COMMANDS = $CONFIG_COMMANDS
14786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14791 case $ac_config_files in *"
14792 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14795 case $ac_config_headers in *"
14796 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14801 # Files that config.status was made for.
14802 config_files="$ac_config_files"
14803 config_headers="$ac_config_headers"
14804 config_commands="$ac_config_commands"
14808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14810 \`$as_me' instantiates files and other configuration actions
14811 from templates according to the current configuration. Unless the files
14812 and actions are specified as TAGs, all are instantiated by default.
14814 Usage: $0 [OPTION]... [TAG]...
14816 -h, --help print this help, then exit
14817 -V, --version print version number and configuration settings, then exit
14818 --config print configuration, then exit
14819 -q, --quiet, --silent
14820 do not print progress messages
14821 -d, --debug don't remove temporary files
14822 --recheck update $as_me by reconfiguring in the same conditions
14823 --file=FILE[:TEMPLATE]
14824 instantiate the configuration file FILE
14825 --header=FILE[:TEMPLATE]
14826 instantiate the configuration header FILE
14828 Configuration files:
14831 Configuration headers:
14834 Configuration commands:
14837 Report bugs to the package provider."
14840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14841 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14843 package-unused config.status version-unused
14844 configured by $0, generated by GNU Autoconf 2.69,
14845 with options \\"\$ac_cs_config\\"
14847 Copyright (C) 2012 Free Software Foundation, Inc.
14848 This config.status script is free software; the Free Software Foundation
14849 gives unlimited permission to copy, distribute and modify it."
14856 test -n "\$AWK" || AWK=awk
14859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14860 # The default lists apply if the user does not specify any file.
14866 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14867 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14871 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14883 # Handling of the options.
14884 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14886 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14887 $as_echo "$ac_cs_version"; exit ;;
14888 --config |
--confi |
--conf |
--con |
--co |
--c )
14889 $as_echo "$ac_cs_config"; exit ;;
14890 --debug |
--debu |
--deb |
--de |
--d |
-d )
14892 --file |
--fil |
--fi |
--f )
14895 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14896 '') as_fn_error $?
"missing file argument" ;;
14898 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14899 ac_need_defaults
=false
;;
14900 --header |
--heade |
--head |
--hea )
14903 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14905 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14906 ac_need_defaults
=false
;;
14908 # Conflict between --help and --header
14909 as_fn_error $?
"ambiguous option: \`$1'
14910 Try \`$0 --help' for more information.";;
14911 --help |
--hel |
-h )
14912 $as_echo "$ac_cs_usage"; exit ;;
14913 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14914 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14917 # This is an error.
14918 -*) as_fn_error $?
"unrecognized option: \`$1'
14919 Try \`$0 --help' for more information." ;;
14921 *) as_fn_append ac_config_targets
" $1"
14922 ac_need_defaults
=false
;;
14928 ac_configure_extra_args
=
14930 if $ac_cs_silent; then
14932 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14937 if \$ac_cs_recheck; then
14938 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14940 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14941 CONFIG_SHELL='$SHELL'
14942 export CONFIG_SHELL
14947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14951 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14952 ## Running $as_me. ##
14958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14966 with_multisubdir="$with_multisubdir"
14967 with_multisrctop="$with_multisrctop"
14968 with_target_subdir="$with_target_subdir"
14969 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14970 multi_basedir="$multi_basedir"
14971 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14974 GFORTRAN="$GFORTRAN"
14978 # The HP-UX ksh and POSIX shell print the target directory to stdout
14979 # if CDPATH is set.
14980 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14982 sed_quote_subst='$sed_quote_subst'
14983 double_quote_subst='$double_quote_subst'
14984 delay_variable_subst='$delay_variable_subst'
14985 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14986 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14987 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14988 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14989 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14990 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14991 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14992 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14993 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14994 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14995 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14996 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14997 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14998 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14999 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15000 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15001 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15002 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15003 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15004 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15005 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15006 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15007 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15008 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15009 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15010 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15011 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15012 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15013 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15014 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15015 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15018 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15019 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15020 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15021 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15022 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15023 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15024 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15025 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15026 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15027 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15028 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15029 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15030 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15031 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15032 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15033 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"`'
15034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15037 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15038 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15042 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15043 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15044 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15045 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15046 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15047 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15048 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15049 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15050 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15051 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15052 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15053 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15054 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15055 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15056 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15057 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15058 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15059 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15060 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15061 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15062 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15063 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15064 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15065 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15066 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15067 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15068 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15069 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15070 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15071 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15072 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15073 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15074 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15075 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15076 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15077 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15078 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15079 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15080 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15081 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15082 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15083 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15084 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15085 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15086 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15087 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15088 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15089 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15090 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15091 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15092 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15093 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15094 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15095 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15096 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15097 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15098 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15099 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15100 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15101 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15102 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15103 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15104 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15107 LTCFLAGS='$LTCFLAGS'
15108 compiler='$compiler_DEFAULT'
15110 # A function that is used when there is no print builtin or printf.
15111 func_fallback_echo ()
15113 eval 'cat <<_LTECHO_EOF
15118 # Quote evaled strings.
15132 deplibs_check_method \
15141 lt_cv_sys_global_symbol_pipe \
15142 lt_cv_sys_global_symbol_to_cdecl \
15143 lt_cv_sys_global_symbol_to_c_name_address \
15144 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15145 lt_prog_compiler_no_builtin_flag \
15146 lt_prog_compiler_wl \
15147 lt_prog_compiler_pic \
15148 lt_prog_compiler_static \
15149 lt_cv_prog_compiler_c_o \
15157 export_dynamic_flag_spec \
15158 whole_archive_flag_spec \
15159 compiler_needs_object \
15161 allow_undefined_flag \
15162 no_undefined_flag \
15163 hardcode_libdir_flag_spec \
15164 hardcode_libdir_flag_spec_ld \
15165 hardcode_libdir_separator \
15170 variables_saved_for_relink \
15172 library_names_spec \
15174 install_override_mode \
15178 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15179 *[\\\\\\\`\\"\\\$]*)
15180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15188 # Double-quote double-evaled strings.
15189 for var in reload_cmds \
15190 old_postinstall_cmds \
15191 old_postuninstall_cmds \
15193 extract_expsyms_cmds \
15194 old_archive_from_new_cmds \
15195 old_archive_from_expsyms_cmds \
15197 archive_expsym_cmds \
15199 module_expsym_cmds \
15200 export_symbols_cmds \
15203 postuninstall_cmds \
15205 sys_lib_search_path_spec \
15206 sys_lib_dlsearch_path_spec; do
15207 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15208 *[\\\\\\\`\\"\\\$]*)
15209 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15212 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15217 ac_aux_dir='$ac_aux_dir'
15218 xsi_shell='$xsi_shell'
15219 lt_shell_append='$lt_shell_append'
15221 # See if we are running on zsh, and set the options which allow our
15222 # commands through without removal of \ escapes INIT.
15223 if test -n "\${ZSH_VERSION+set}" ; then
15224 setopt NO_GLOB_SUBST
15230 TIMESTAMP='$TIMESTAMP'
15239 acx_cv_header_stdint="$acx_cv_header_stdint"
15240 acx_cv_type_int8_t="$acx_cv_type_int8_t"
15241 acx_cv_type_int16_t="$acx_cv_type_int16_t"
15242 acx_cv_type_int32_t="$acx_cv_type_int32_t"
15243 acx_cv_type_int64_t="$acx_cv_type_int64_t"
15244 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
15245 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
15246 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
15247 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15248 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15249 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
15250 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15251 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15252 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
15255 # Variables needed in config.status (file generation) which aren't already
15256 # passed by autoconf.
15262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15264 # Handling of arguments.
15265 for ac_config_target
in $ac_config_targets
15267 case $ac_config_target in
15268 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15269 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15270 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15271 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
15272 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15273 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
15274 "install-debuginfo-for-buildid.sh") CONFIG_FILES
="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
15275 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15277 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15282 # If the user did not use the arguments to specify the items to instantiate,
15283 # then the envvar interface is used. Set only those that are not.
15284 # We use the long form for the default assignment because of an extremely
15285 # bizarre bug on SunOS 4.1.3.
15286 if $ac_need_defaults; then
15287 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15288 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15289 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15292 # Have a temporary directory for convenience. Make it in the build tree
15293 # simply because there is no reason against having it here, and in addition,
15294 # creating and moving files from /tmp can sometimes cause problems.
15295 # Hook for its removal unless debugging.
15296 # Note that there is a small window in which the directory will not be cleaned:
15297 # after its creation but before its name has been assigned to `$tmp'.
15301 trap 'exit_status=$?
15302 : "${ac_tmp:=$tmp}"
15303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15305 trap 'as_fn_exit 1' 1 2 13 15
15307 # Create a (secure) tmp directory for tmp files.
15310 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15314 tmp
=.
/conf$$
-$RANDOM
15315 (umask 077 && mkdir
"$tmp")
15316 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15319 # Set up the scripts for CONFIG_FILES section.
15320 # No need to generate them if there are no CONFIG_FILES.
15321 # This happens for instance with `./config.status config.h'.
15322 if test -n "$CONFIG_FILES"; then
15325 ac_cr
=`echo X | tr X '\015'`
15326 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15327 # But we know of no other shell where ac_cr would be empty at this
15328 # point, so we can use a bashism as a fallback.
15329 if test "x$ac_cr" = x
; then
15330 eval ac_cr
=\$
\'\\r
\'
15332 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15333 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15336 ac_cs_awk_cr
=$ac_cr
15339 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15344 echo "cat >conf$$subs.awk <<_ACEOF" &&
15345 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15347 } >conf$$subs.sh ||
15348 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15349 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15351 for ac_last_try in false false false false false :; do
15352 . ./conf$$subs.sh ||
15353 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15355 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15356 if test $ac_delim_n = $ac_delim_num; then
15358 elif $ac_last_try; then
15359 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15361 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15364 rm -f conf$$subs.sh
15366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15367 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15371 s/^/S["/; s
/!.
*/"]=/
15381 s/\(.\{148\}\)..*/\1/
15383 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15388 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15395 s/\(.\{148\}\)..*/\1/
15397 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15401 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15406 ' <conf$$subs.awk | sed '
15411 ' >>$CONFIG_STATUS || ac_write_fail=1
15412 rm -f conf$$subs.awk
15413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15415 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15416 for (key in S) S_is_set[key] = 1
15422 nfields = split(line, field, "@
")
15424 len = length(field[1])
15425 for (i = 2; i < nfields; i++) {
15427 keylen = length(key)
15428 if (S_is_set[key]) {
15430 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15431 len += length(value) + length(field[++i])
15442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15443 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15444 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15447 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15448 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15451 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15452 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15453 # trailing colons and then remove the whole line if VPATH becomes empty
15454 # (actually we leave an empty line to preserve line numbers).
15455 if test "x
$srcdir" = x.; then
15456 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15475 fi # test -n "$CONFIG_FILES"
15477 # Set up the scripts for CONFIG_HEADERS section.
15478 # No need to generate them if there are no CONFIG_HEADERS.
15479 # This happens for instance with `./config.status Makefile'.
15480 if test -n "$CONFIG_HEADERS"; then
15481 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15485 # Transform confdefs.h into an awk script `defines.awk', embedded as
15486 # here-document in config.status, that substitutes the proper values into
15487 # config.h.in to produce config.h.
15489 # Create a delimiter string that does not exist in confdefs.h, to ease
15490 # handling of long lines.
15492 for ac_last_try in false false :; do
15493 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15494 if test -z "$ac_tt"; then
15496 elif $ac_last_try; then
15497 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15499 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15503 # For the awk script, D is an array of macro values keyed by name,
15504 # likewise P contains macro parameters if any. Preserve backslash
15505 # newline sequences.
15507 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15509 s/.\{148\}/&'"$ac_delim"'/g
15512 s/^[ ]*#[ ]*define[ ][ ]*/ /
15519 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15521 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15526 D["\
1"]=" \
3\\\\\\n
"\\/p
15528 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15533 s/.\{148\}/&'"$ac_delim"'/g
15538 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15541 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15543 ' <confdefs.h | sed '
15544 s/'"$ac_delim"'/"\\\
15545 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15548 for (key in D) D_is_set[key] = 1
15551 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15553 split(line, arg, " ")
15554 if (arg[1] == "#") {
15558 defundef
= substr
(arg
[1], 2)
15561 split(mac1
, mac2
, "(") #)
15563 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15564 if (D_is_set
[macro
]) {
15565 # Preserve the white space surrounding the "#".
15566 print prefix
"define", macro P
[macro
] D
[macro
]
15569 # Replace #undef with comments. This is necessary, for example,
15570 # in the case of _POSIX_SOURCE, which is predefined and required
15571 # on some systems where configure will not decide to define it.
15572 if (defundef
== "undef") {
15573 print
"/*", prefix defundef
, macro
, "*/"
15581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15582 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15583 fi # test -n "$CONFIG_HEADERS"
15586 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15591 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15593 case $ac_mode$ac_tag in
15595 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15596 :[FH
]-) ac_tag
=-:-;;
15597 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15614 -) ac_f
="$ac_tmp/stdin";;
15615 *) # Look for the file first in the build tree, then in the source tree
15616 # (if the path is not absolute). The absolute path cannot be DOS-style,
15617 # because $ac_f cannot contain `:'.
15621 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15623 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15625 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15626 as_fn_append ac_file_inputs
" '$ac_f'"
15629 # Let's still pretend it is `configure' which instantiates (i.e., don't
15630 # use $as_me), people would be surprised to read:
15631 # /* config.h. Generated by config.status. */
15632 configure_input
='Generated from '`
15633 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15635 if test x
"$ac_file" != x-
; then
15636 configure_input
="$ac_file. $configure_input"
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15638 $as_echo "$as_me: creating $ac_file" >&6;}
15640 # Neutralize special characters interpreted by sed in replacement strings.
15641 case $configure_input in #(
15642 *\
&* |
*\|
* |
*\\* )
15643 ac_sed_conf_input
=`$as_echo "$configure_input" |
15644 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15645 *) ac_sed_conf_input
=$configure_input;;
15649 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15650 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15655 ac_dir
=`$as_dirname -- "$ac_file" ||
15656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15657 X"$ac_file" : 'X\(//\)[^/]' \| \
15658 X"$ac_file" : 'X\(//\)$' \| \
15659 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15660 $as_echo X"$ac_file" |
15661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15665 /^X\(\/\/\)[^/].*/{
15678 as_dir
="$ac_dir"; as_fn_mkdir_p
15682 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15684 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15685 # A ".." for each directory in $ac_dir_suffix.
15686 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15687 case $ac_top_builddir_sub in
15688 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15689 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15692 ac_abs_top_builddir
=$ac_pwd
15693 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15694 # for backward compatibility:
15695 ac_top_builddir
=$ac_top_build_prefix
15698 .
) # We are building in place.
15700 ac_top_srcdir
=$ac_top_builddir_sub
15701 ac_abs_top_srcdir
=$ac_pwd ;;
15702 [\\/]* | ?
:[\\/]* ) # Absolute name.
15703 ac_srcdir
=$srcdir$ac_dir_suffix;
15704 ac_top_srcdir
=$srcdir
15705 ac_abs_top_srcdir
=$srcdir ;;
15706 *) # Relative name.
15707 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15708 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15709 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15711 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15721 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15722 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15724 ac_MKDIR_P
=$MKDIR_P
15726 [\\/$
]* | ?
:[\\/]* ) ;;
15727 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15732 # If the template does not know about datarootdir, expand it.
15733 # FIXME: This hack should be removed a few years after 2.60.
15734 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15745 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15746 *datarootdir
*) ac_datarootdir_seen
=yes;;
15747 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15749 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15752 ac_datarootdir_hack='
15753 s&@datadir@&$datadir&g
15754 s&@docdir@&$docdir&g
15755 s&@infodir@&$infodir&g
15756 s&@localedir@&$localedir&g
15757 s&@mandir@&$mandir&g
15758 s&\\\${datarootdir}&$datarootdir&g' ;;
15762 # Neutralize VPATH when `$srcdir' = `.'.
15763 # Shell code in configure.ac might set extrasub.
15764 # FIXME: do we really want to maintain this feature?
15765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15766 ac_sed_extra="$ac_vpsub
15769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15771 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15772 s|@configure_input@|
$ac_sed_conf_input|
;t t
15773 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15774 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15775 s
&@srcdir@
&$ac_srcdir&;t t
15776 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15777 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15778 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15779 s
&@builddir@
&$ac_builddir&;t t
15780 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15781 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15782 s
&@INSTALL@
&$ac_INSTALL&;t t
15783 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15784 $ac_datarootdir_hack
15786 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15787 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15789 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15790 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15792 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15794 which seems to be undefined. Please make sure it is defined" >&5
15795 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15796 which seems to be undefined. Please make sure it is defined" >&2;}
15798 rm -f "$ac_tmp/stdin"
15800 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15801 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15809 if test x"$ac_file" != x-; then
15811 $as_echo "/* $configure_input */" \
15812 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15813 } >"$ac_tmp/config.h" \
15814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15815 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15817 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15820 mv "$ac_tmp/config.h" "$ac_file" \
15821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15824 $as_echo "/* $configure_input */" \
15825 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15826 || as_fn_error $? "could not create -" "$LINENO" 5
15828 # Compute "$ac_file"'s index
in $config_headers.
15831 for _am_header
in $config_headers :; do
15832 case $_am_header in
15833 $_am_arg |
$_am_arg:* )
15836 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15839 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15840 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15841 X"$_am_arg" : 'X\(//\)[^/]' \| \
15842 X"$_am_arg" : 'X\(//\)$' \| \
15843 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15844 $as_echo X"$_am_arg" |
15845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15849 /^X\(\/\/\)[^/].*/{
15861 s/.*/./; q'`/stamp-h
$_am_stamp_count
15864 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15865 $as_echo "$as_me: executing $ac_file commands" >&6;}
15870 case $ac_file$ac_mode in
15872 # Only add multilib support code if we just rebuilt the top-level
15874 case " $CONFIG_FILES " in
15876 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15881 # See if we are running on zsh, and set the options which allow our
15882 # commands through without removal of \ escapes.
15883 if test -n "${ZSH_VERSION+set}" ; then
15884 setopt NO_GLOB_SUBST
15887 cfgfile
="${ofile}T"
15888 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15891 cat <<_LT_EOF >> "$cfgfile"
15894 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15895 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15896 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15897 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15899 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15900 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15901 # Written by Gordon Matzigkeit, 1996
15903 # This file is part of GNU Libtool.
15905 # GNU Libtool is free software; you can redistribute it and/or
15906 # modify it under the terms of the GNU General Public License as
15907 # published by the Free Software Foundation; either version 2 of
15908 # the License, or (at your option) any later version.
15910 # As a special exception to the GNU General Public License,
15911 # if you distribute this file as part of a program or library that
15912 # is built using GNU Libtool, you may include this file under the
15913 # same distribution terms that you use for the rest of that program.
15915 # GNU Libtool is distributed in the hope that it will be useful,
15916 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15917 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15918 # GNU General Public License for more details.
15920 # You should have received a copy of the GNU General Public License
15921 # along with GNU Libtool; see the file COPYING. If not, a copy
15922 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15923 # obtained by writing to the Free Software Foundation, Inc.,
15924 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15927 # The names of the tagged configurations supported by this script.
15930 # ### BEGIN LIBTOOL CONFIG
15932 # Which release of libtool.m4 was used?
15933 macro_version=$macro_version
15934 macro_revision=$macro_revision
15936 # Whether or not to build shared libraries.
15937 build_libtool_libs=$enable_shared
15939 # Whether or not to build static libraries.
15940 build_old_libs=$enable_static
15942 # What type of objects to build.
15945 # Whether or not to optimize for fast installation.
15946 fast_install=$enable_fast_install
15948 # Shell to use when invoking shell scripts.
15951 # An echo program that protects backslashes.
15955 host_alias=$host_alias
15959 # The build system.
15960 build_alias=$build_alias
15964 # A sed program that does not truncate output.
15967 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15968 Xsed="\$SED -e 1s/^X//"
15970 # A grep program that handles long lines.
15976 # A literal string matcher.
15979 # A BSD- or MS-compatible name lister.
15982 # Whether we need soft or hard links.
15985 # What is the maximum length of a command?
15986 max_cmd_len=$max_cmd_len
15988 # Object file suffix (normally "o").
15991 # Executable file suffix (normally "").
15994 # whether the shell understands "unset".
15997 # turn spaces into newlines.
16000 # turn newlines into spaces.
16003 # An object symbol dumper.
16004 OBJDUMP=$lt_OBJDUMP
16006 # Method to check whether dependent libraries are shared objects.
16007 deplibs_check_method=$lt_deplibs_check_method
16009 # Command to use when deplibs_check_method == "file_magic".
16010 file_magic_cmd=$lt_file_magic_cmd
16014 AR_FLAGS=$lt_AR_FLAGS
16016 # A symbol stripping program.
16019 # Commands used to install an old-style archive.
16021 old_postinstall_cmds=$lt_old_postinstall_cmds
16022 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16024 # Whether to use a lock for old archive extraction.
16025 lock_old_archive_extraction=$lock_old_archive_extraction
16030 # LTCC compiler flags.
16031 LTCFLAGS=$lt_CFLAGS
16033 # Take the output of nm and produce a listing of raw symbols and C names.
16034 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16036 # Transform the output of nm in a proper C declaration.
16037 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16039 # Transform the output of nm in a C name address pair.
16040 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16042 # Transform the output of nm in a C name address pair when lib prefix is needed.
16043 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16045 # The name of the directory that contains temporary libtool files.
16048 # Used to examine libraries when file_magic_cmd begins with "file".
16049 MAGIC_CMD=$MAGIC_CMD
16051 # Must we lock files when doing compilation?
16052 need_locks=$lt_need_locks
16054 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16055 DSYMUTIL=$lt_DSYMUTIL
16057 # Tool to change global to local symbols on Mac OS X.
16060 # Tool to manipulate fat objects and archives on Mac OS X.
16063 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16066 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16067 OTOOL64=$lt_OTOOL64
16069 # Old archive suffix (normally "a").
16072 # Shared library suffix (normally ".so").
16073 shrext_cmds=$lt_shrext_cmds
16075 # The commands to extract the exported symbol list from a shared archive.
16076 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16078 # Variables whose values should be saved in libtool wrapper scripts and
16079 # restored at link time.
16080 variables_saved_for_relink=$lt_variables_saved_for_relink
16082 # Do we need the "lib" prefix for modules?
16083 need_lib_prefix=$need_lib_prefix
16085 # Do we need a version for libraries?
16086 need_version=$need_version
16088 # Library versioning type.
16089 version_type=$version_type
16091 # Shared library runtime path variable.
16092 runpath_var=$runpath_var
16094 # Shared library path variable.
16095 shlibpath_var=$shlibpath_var
16097 # Is shlibpath searched before the hard-coded library search path?
16098 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16100 # Format of library name prefix.
16101 libname_spec=$lt_libname_spec
16103 # List of archive names. First name is the real one, the rest are links.
16104 # The last name is the one that the linker finds with -lNAME
16105 library_names_spec=$lt_library_names_spec
16107 # The coded name of the library, if different from the real name.
16108 soname_spec=$lt_soname_spec
16110 # Permission mode override for installation of shared libraries.
16111 install_override_mode=$lt_install_override_mode
16113 # Command to use after installation of a shared archive.
16114 postinstall_cmds=$lt_postinstall_cmds
16116 # Command to use after uninstallation of a shared archive.
16117 postuninstall_cmds=$lt_postuninstall_cmds
16119 # Commands used to finish a libtool library installation in a directory.
16120 finish_cmds=$lt_finish_cmds
16122 # As "finish_cmds", except a single script fragment to be evaled but
16124 finish_eval=$lt_finish_eval
16126 # Whether we should hardcode library paths into libraries.
16127 hardcode_into_libs=$hardcode_into_libs
16129 # Compile-time system search path for libraries.
16130 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16132 # Run-time system search path for libraries.
16133 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16135 # Whether dlopen is supported.
16136 dlopen_support=$enable_dlopen
16138 # Whether dlopen of programs is supported.
16139 dlopen_self=$enable_dlopen_self
16141 # Whether dlopen of statically linked programs is supported.
16142 dlopen_self_static=$enable_dlopen_self_static
16144 # Commands to strip libraries.
16145 old_striplib=$lt_old_striplib
16146 striplib=$lt_striplib
16149 # The linker used to build libraries.
16152 # How to create reloadable object files.
16153 reload_flag=$lt_reload_flag
16154 reload_cmds=$lt_reload_cmds
16156 # Commands used to build an old-style archive.
16157 old_archive_cmds=$lt_old_archive_cmds
16159 # A language specific compiler.
16162 # Is the compiler the GNU compiler?
16165 # Compiler flag to turn off builtin functions.
16166 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16168 # How to pass a linker flag through the compiler.
16169 wl=$lt_lt_prog_compiler_wl
16171 # Additional compiler flags for building library objects.
16172 pic_flag=$lt_lt_prog_compiler_pic
16174 # Compiler flag to prevent dynamic linking.
16175 link_static_flag=$lt_lt_prog_compiler_static
16177 # Does compiler simultaneously support -c and -o options?
16178 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16180 # Whether or not to add -lc for building shared libraries.
16181 build_libtool_need_lc=$archive_cmds_need_lc
16183 # Whether or not to disallow shared libs when runtime libs are static.
16184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16186 # Compiler flag to allow reflexive dlopens.
16187 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16189 # Compiler flag to generate shared objects directly from archives.
16190 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16192 # Whether the compiler copes with passing no objects directly.
16193 compiler_needs_object=$lt_compiler_needs_object
16195 # Create an old-style archive from a shared archive.
16196 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16198 # Create a temporary old-style archive to link instead of a shared archive.
16199 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16201 # Commands used to build a shared archive.
16202 archive_cmds=$lt_archive_cmds
16203 archive_expsym_cmds=$lt_archive_expsym_cmds
16205 # Commands used to build a loadable module if different from building
16206 # a shared archive.
16207 module_cmds=$lt_module_cmds
16208 module_expsym_cmds=$lt_module_expsym_cmds
16210 # Whether we are building with GNU ld or not.
16211 with_gnu_ld=$lt_with_gnu_ld
16213 # Flag that allows shared libraries with undefined symbols to be built.
16214 allow_undefined_flag=$lt_allow_undefined_flag
16216 # Flag that enforces no undefined symbols.
16217 no_undefined_flag=$lt_no_undefined_flag
16219 # Flag to hardcode \$libdir into a binary during linking.
16220 # This must work even if \$libdir does not exist
16221 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16223 # If ld is used when linking, flag to hardcode \$libdir into a binary
16224 # during linking. This must work even if \$libdir does not exist.
16225 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16227 # Whether we need a single "-rpath" flag with a separated argument.
16228 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16230 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16231 # DIR into the resulting binary.
16232 hardcode_direct=$hardcode_direct
16234 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16235 # DIR into the resulting binary and the resulting library dependency is
16236 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16237 # library is relocated.
16238 hardcode_direct_absolute=$hardcode_direct_absolute
16240 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16241 # into the resulting binary.
16242 hardcode_minus_L=$hardcode_minus_L
16244 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16245 # into the resulting binary.
16246 hardcode_shlibpath_var=$hardcode_shlibpath_var
16248 # Set to "yes" if building a shared library automatically hardcodes DIR
16249 # into the library and all subsequent libraries and executables linked
16251 hardcode_automatic=$hardcode_automatic
16253 # Set to yes if linker adds runtime paths of dependent libraries
16254 # to runtime path list.
16255 inherit_rpath=$inherit_rpath
16257 # Whether libtool must link a program against all its dependency libraries.
16258 link_all_deplibs=$link_all_deplibs
16260 # Fix the shell variable \$srcfile for the compiler.
16261 fix_srcfile_path=$lt_fix_srcfile_path
16263 # Set to "yes" if exported symbols are required.
16264 always_export_symbols=$always_export_symbols
16266 # The commands to list exported symbols.
16267 export_symbols_cmds=$lt_export_symbols_cmds
16269 # Symbols that should not be listed in the preloaded symbols.
16270 exclude_expsyms=$lt_exclude_expsyms
16272 # Symbols that must always be exported.
16273 include_expsyms=$lt_include_expsyms
16275 # Commands necessary for linking programs (against libraries) with templates.
16276 prelink_cmds=$lt_prelink_cmds
16278 # Specify filename containing input files.
16279 file_list_spec=$lt_file_list_spec
16281 # How to hardcode a shared library path into an executable.
16282 hardcode_action=$hardcode_action
16284 # ### END LIBTOOL CONFIG
16290 cat <<\_LT_EOF
>> "$cfgfile"
16291 # AIX sometimes has problems with the GCC collect2 program. For some
16292 # reason, if we set the COLLECT_NAMES environment variable, the problems
16293 # vanish in a puff of smoke.
16294 if test "X${COLLECT_NAMES+set}" != Xset
; then
16296 export COLLECT_NAMES
16303 ltmain
="$ac_aux_dir/ltmain.sh"
16306 # We use sed instead of cat because bash on DJGPP gets confused if
16307 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16308 # text mode, it properly converts lines to CR/LF. This bash problem
16309 # is reportedly fixed, but why not run on old versions too?
16310 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16311 ||
(rm -f "$cfgfile"; exit 1)
16315 cat << \_LT_EOF
>> "$cfgfile"
16317 # func_dirname file append nondir_replacement
16318 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16319 # otherwise set result to NONDIR_REPLACEMENT.
16323 */*) func_dirname_result
="${1%/*}${2}" ;;
16324 * ) func_dirname_result
="${3}" ;;
16328 # func_basename file
16331 func_basename_result
="${1##*/}"
16334 # func_dirname_and_basename file append nondir_replacement
16335 # perform func_basename and func_dirname in a single function
16337 # dirname: Compute the dirname of FILE. If nonempty,
16338 # add APPEND to the result, otherwise set result
16339 # to NONDIR_REPLACEMENT.
16340 # value returned in "$func_dirname_result"
16341 # basename: Compute filename of FILE.
16342 # value retuned in "$func_basename_result"
16343 # Implementation must be kept synchronized with func_dirname
16344 # and func_basename. For efficiency, we do not delegate to
16345 # those functions but instead duplicate the functionality here.
16346 func_dirname_and_basename
()
16349 */*) func_dirname_result
="${1%/*}${2}" ;;
16350 * ) func_dirname_result
="${3}" ;;
16352 func_basename_result
="${1##*/}"
16355 # func_stripname prefix suffix name
16356 # strip PREFIX and SUFFIX off of NAME.
16357 # PREFIX and SUFFIX must not contain globbing or regex special
16358 # characters, hashes, percent signs, but SUFFIX may contain a leading
16359 # dot (in which case that matches only a dot).
16362 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16363 # positional parameters, so assign one to ordinary parameter first.
16364 func_stripname_result
=${3}
16365 func_stripname_result
=${func_stripname_result#"${1}"}
16366 func_stripname_result
=${func_stripname_result%"${2}"}
16372 func_opt_split_opt
=${1%%=*}
16373 func_opt_split_arg
=${1#*=}
16380 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16381 *) func_lo2o_result
=${1} ;;
16385 # func_xform libobj-or-source
16388 func_xform_result
=${1%.*}.lo
16391 # func_arith arithmetic-term...
16394 func_arith_result
=$
(( $
* ))
16398 # STRING may not start with a hyphen.
16401 func_len_result
=${#1}
16406 *) # Bourne compatible functions.
16407 cat << \_LT_EOF
>> "$cfgfile"
16409 # func_dirname file append nondir_replacement
16410 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16411 # otherwise set result to NONDIR_REPLACEMENT.
16414 # Extract subdirectory from the argument.
16415 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16416 if test "X$func_dirname_result" = "X${1}"; then
16417 func_dirname_result
="${3}"
16419 func_dirname_result
="$func_dirname_result${2}"
16423 # func_basename file
16426 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16430 # func_stripname prefix suffix name
16431 # strip PREFIX and SUFFIX off of NAME.
16432 # PREFIX and SUFFIX must not contain globbing or regex special
16433 # characters, hashes, percent signs, but SUFFIX may contain a leading
16434 # dot (in which case that matches only a dot).
16435 # func_strip_suffix prefix name
16439 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16440 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16445 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16446 my_sed_long_arg
='1s/^-[^=]*=//'
16451 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16452 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16458 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16461 # func_xform libobj-or-source
16464 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16467 # func_arith arithmetic-term...
16470 func_arith_result
=`expr "$@"`
16474 # STRING may not start with a hyphen.
16477 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16483 case $lt_shell_append in
16485 cat << \_LT_EOF
>> "$cfgfile"
16487 # func_append var value
16488 # Append VALUE to the end of shell variable VAR.
16496 cat << \_LT_EOF
>> "$cfgfile"
16498 # func_append var value
16499 # Append VALUE to the end of shell variable VAR.
16510 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16511 ||
(rm -f "$cfgfile"; exit 1)
16513 mv -f "$cfgfile" "$ofile" ||
16514 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16519 if test "$GCC" = yes; then
16520 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16522 echo "/* generated for $CC */" > tmp-stdint.h
16525 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16527 #ifndef GCC_GENERATED_STDINT_H
16528 #define GCC_GENERATED_STDINT_H 1
16530 #include <sys/types.h>
16533 if test "$acx_cv_header_stdint" != stdint.h
; then
16534 echo "#include <stddef.h>" >> tmp-stdint.h
16536 if test "$acx_cv_header_stdint" != stddef.h
; then
16537 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16540 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16541 /* glibc uses these symbols as guards to prevent redefinitions. */
16542 #ifdef __int8_t_defined
16547 #ifdef __uint32_t_defined
16553 # ----------------- done header, emit basic int types -------------
16554 if test "$acx_cv_header_stdint" = stddef.h
; then
16555 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16559 #ifndef __uint8_t_defined
16560 #define __uint8_t_defined
16562 typedef unsigned $acx_cv_type_int8_t uint8_t;
16569 #ifndef __uint16_t_defined
16570 #define __uint16_t_defined
16572 typedef unsigned $acx_cv_type_int16_t uint16_t;
16579 #ifndef __uint32_t_defined
16580 #define __uint32_t_defined
16582 typedef unsigned $acx_cv_type_int32_t uint32_t;
16589 #ifndef __int8_t_defined
16590 #define __int8_t_defined
16592 typedef $acx_cv_type_int8_t int8_t;
16599 #ifndef __int16_t_defined
16600 #define __int16_t_defined
16602 typedef $acx_cv_type_int16_t int16_t;
16609 #ifndef __int32_t_defined
16610 #define __int32_t_defined
16612 typedef $acx_cv_type_int32_t int32_t;
16617 elif test "$ac_cv_type_u_int32_t" = yes; then
16618 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16620 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16633 #ifndef __uint8_t_defined
16634 #define __uint8_t_defined
16636 typedef u_int8_t uint8_t;
16643 #ifndef __uint16_t_defined
16644 #define __uint16_t_defined
16646 typedef u_int16_t uint16_t;
16653 #ifndef __uint32_t_defined
16654 #define __uint32_t_defined
16656 typedef u_int32_t uint32_t;
16662 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16664 /* Some systems have guard macros to prevent redefinitions, define them. */
16686 # ------------- done basic int types, emit int64_t types ------------
16687 if test "$ac_cv_type_uint64_t" = yes; then
16688 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16690 /* system headers have good uint64_t and int64_t */
16698 elif test "$ac_cv_type_u_int64_t" = yes; then
16699 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16701 /* system headers have an u_int64_t (and int64_t) */
16707 #ifndef __uint64_t_defined
16708 #define __uint64_t_defined
16710 typedef u_int64_t uint64_t;
16715 elif test -n "$acx_cv_type_int64_t"; then
16716 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16718 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
16722 typedef $acx_cv_type_int64_t int64_t;
16727 #ifndef __uint64_t_defined
16728 #define __uint64_t_defined
16730 typedef unsigned $acx_cv_type_int64_t uint64_t;
16736 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16738 /* some common heuristics for int64_t, using compiler-specific tests */
16739 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
16742 #ifndef __int64_t_defined
16744 typedef long long int64_t;
16751 typedef unsigned long long uint64_t;
16755 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
16756 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
16757 does not implement __extension__. But that compiler doesn't define
16759 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
16760 # define __extension__
16766 __extension__ typedef long long int64_t;
16772 __extension__ typedef unsigned long long uint64_t;
16776 #elif !defined __STRICT_ANSI__
16777 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
16782 typedef __int64 int64_t;
16788 typedef unsigned __int64 uint64_t;
16791 # endif /* compiler */
16793 #endif /* ANSI version */
16797 # ------------- done int64_t types, emit intptr types ------------
16798 if test "$ac_cv_type_uintptr_t" != yes; then
16799 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16801 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
16802 #ifndef __uintptr_t_defined
16804 typedef u$acx_cv_type_intptr_t uintptr_t;
16807 #ifndef __intptr_t_defined
16809 typedef $acx_cv_type_intptr_t intptr_t;
16815 # ------------- done intptr types, emit int_least types ------------
16816 if test "$ac_cv_type_int_least32_t" != yes; then
16817 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16819 /* Define int_least types */
16820 typedef int8_t int_least8_t;
16821 typedef int16_t int_least16_t;
16822 typedef int32_t int_least32_t;
16824 typedef int64_t int_least64_t;
16827 typedef uint8_t uint_least8_t;
16828 typedef uint16_t uint_least16_t;
16829 typedef uint32_t uint_least32_t;
16831 typedef uint64_t uint_least64_t;
16836 # ------------- done intptr types, emit int_fast types ------------
16837 if test "$ac_cv_type_int_fast32_t" != yes; then
16838 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16840 /* Define int_fast types. short is often slow */
16841 typedef int8_t int_fast8_t;
16842 typedef int int_fast16_t;
16843 typedef int32_t int_fast32_t;
16845 typedef int64_t int_fast64_t;
16848 typedef uint8_t uint_fast8_t;
16849 typedef unsigned int uint_fast16_t;
16850 typedef uint32_t uint_fast32_t;
16852 typedef uint64_t uint_fast64_t;
16857 if test "$ac_cv_type_uintmax_t" != yes; then
16858 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16860 /* Define intmax based on what we found */
16863 typedef int64_t intmax_t;
16865 typedef long intmax_t;
16870 typedef uint64_t uintmax_t;
16872 typedef unsigned long uintmax_t;
16878 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16880 #endif /* GCC_GENERATED_STDINT_H */
16883 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
16886 mv -f tmp-stdint.h gstdint.h
16890 "install-debuginfo-for-buildid.sh":F
) chmod +x install-debuginfo-for-buildid.sh
;;
16891 "default":C
) if test -n "$CONFIG_FILES"; then
16892 if test -n "${with_target_subdir}"; then
16893 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
16894 # that multilib installs will end up installed in the correct place.
16895 # The testsuite needs it for multilib-aware ABI baseline files.
16896 # To work around this not being passed down from config-ml.in ->
16897 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
16898 # append it here. Only modify Makefiles that have just been created.
16900 # Also, get rid of this simulated-VPATH thing that automake does.
16901 cat > vpsed
<< \_EOF
16902 s
!`test -f '$<' || echo '$(srcdir)/'`!!
16904 for i
in $SUBDIRS; do
16905 case $CONFIG_FILES in
16907 #echo "Adding MULTISUBDIR to $i/Makefile"
16908 sed -f vpsed
$i/Makefile
> tmp
16909 grep '^MULTISUBDIR =' Makefile
>> tmp
16925 ac_clean_files
=$ac_clean_files_save
16927 test $ac_write_fail = 0 ||
16928 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16931 # configure is writing to config.log, and then calls config.status.
16932 # config.status does its own redirection, appending to config.log.
16933 # Unfortunately, on DOS this fails, as config.log is still kept open
16934 # by configure, so config.status won't be able to write to it; its
16935 # output is simply discarded. So we exec the FD to /dev/null,
16936 # effectively closing config.log, so it can be properly (re)opened and
16937 # appended to by config.status. When coming back to configure, we
16938 # need to make the FD available again.
16939 if test "$no_create" != yes; then
16941 ac_config_status_args
=
16942 test "$silent" = yes &&
16943 ac_config_status_args
="$ac_config_status_args --quiet"
16945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16948 # would make configure fail if this is the last instruction.
16949 $ac_cs_success || as_fn_exit
1
16951 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16953 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}