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
640 HAVE_OBJCOPY_DEBUGLINK_FALSE
641 HAVE_OBJCOPY_DEBUGLINK_TRUE
644 HAVE_COMPRESSED_DEBUG_FALSE
645 HAVE_COMPRESSED_DEBUG_TRUE
654 BACKTRACE_USES_MALLOC
657 BACKTRACE_SUPPORTS_DATA
662 BACKTRACE_SUPPORTS_THREADS
688 MAINTAINER_MODE_FALSE
702 INSTALL_STRIP_PROGRAM
768 program_transform_name
781 enable_option_checking
784 enable_maintainer_mode
794 with_system_libunwind
797 ac_precious_vars
='build_alias
810 # Initialize some variables set by options.
812 ac_init_version
=false
813 ac_unrecognized_opts
=
815 # The variables have the same names as the options, with
816 # dashes changed to underlines.
824 program_transform_name
=s
,x
,x
,
832 # Installation directory options.
833 # These are left unexpanded so users can "make install exec_prefix=/foo"
834 # and all the variables that are supposed to be based on exec_prefix
835 # by default will actually change.
836 # Use braces instead of parens because sh, perl, etc. also accept them.
837 # (The list follows the same order as the GNU Coding Standards.)
838 bindir
='${exec_prefix}/bin'
839 sbindir
='${exec_prefix}/sbin'
840 libexecdir
='${exec_prefix}/libexec'
841 datarootdir
='${prefix}/share'
842 datadir
='${datarootdir}'
843 sysconfdir
='${prefix}/etc'
844 sharedstatedir
='${prefix}/com'
845 localstatedir
='${prefix}/var'
846 includedir
='${prefix}/include'
847 oldincludedir
='/usr/include'
848 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
849 infodir
='${datarootdir}/info'
854 libdir
='${exec_prefix}/lib'
855 localedir
='${datarootdir}/locale'
856 mandir
='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 eval $ac_prev=\
$ac_option
870 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
883 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
886 -build |
--build |
--buil |
--bui |
--bu)
887 ac_prev
=build_alias
;;
888 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
889 build_alias
=$ac_optarg ;;
891 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
892 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
893 ac_prev
=cache_file
;;
894 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
895 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
896 cache_file
=$ac_optarg ;;
899 cache_file
=config.cache
;;
901 -datadir |
--datadir |
--datadi |
--datad)
903 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
904 datadir
=$ac_optarg ;;
906 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
907 |
--dataroo |
--dataro |
--datar)
908 ac_prev
=datarootdir
;;
909 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
910 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
911 datarootdir
=$ac_optarg ;;
913 -disable-* |
--disable-*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error $?
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=no
;;
929 -docdir |
--docdir |
--docdi |
--doc |
--do)
931 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
934 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
936 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
939 -enable-* |
--enable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=\
$ac_optarg ;;
955 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
956 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
957 |
--exec |
--exe |
--ex)
958 ac_prev
=exec_prefix
;;
959 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
960 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
961 |
--exec=* |
--exe=* |
--ex=*)
962 exec_prefix
=$ac_optarg ;;
964 -gas |
--gas |
--ga |
--g)
965 # Obsolete; use --with-gas.
968 -help |
--help |
--hel |
--he |
-h)
970 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
971 ac_init_help
=recursive
;;
972 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
973 ac_init_help
=short
;;
975 -host |
--host |
--hos |
--ho)
976 ac_prev
=host_alias
;;
977 -host=* |
--host=* |
--hos=* |
--ho=*)
978 host_alias
=$ac_optarg ;;
980 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
982 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
984 htmldir
=$ac_optarg ;;
986 -includedir |
--includedir |
--includedi |
--included |
--include \
987 |
--includ |
--inclu |
--incl |
--inc)
988 ac_prev
=includedir
;;
989 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
990 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
991 includedir
=$ac_optarg ;;
993 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
995 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
996 infodir
=$ac_optarg ;;
998 -libdir |
--libdir |
--libdi |
--libd)
1000 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1001 libdir
=$ac_optarg ;;
1003 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1004 |
--libexe |
--libex |
--libe)
1005 ac_prev
=libexecdir
;;
1006 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1007 |
--libexe=* |
--libex=* |
--libe=*)
1008 libexecdir
=$ac_optarg ;;
1010 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1011 ac_prev
=localedir
;;
1012 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1013 localedir
=$ac_optarg ;;
1015 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1016 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1017 ac_prev
=localstatedir
;;
1018 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1019 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1020 localstatedir
=$ac_optarg ;;
1022 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1024 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1025 mandir
=$ac_optarg ;;
1027 -nfp |
--nfp |
--nf)
1028 # Obsolete; use --without-fp.
1031 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1032 |
--no-cr |
--no-c |
-n)
1035 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1036 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1039 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1040 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1041 |
--oldin |
--oldi |
--old |
--ol |
--o)
1042 ac_prev
=oldincludedir
;;
1043 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1044 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1045 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1046 oldincludedir
=$ac_optarg ;;
1048 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1050 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1051 prefix
=$ac_optarg ;;
1053 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1054 |
--program-pre |
--program-pr |
--program-p)
1055 ac_prev
=program_prefix
;;
1056 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1057 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1058 program_prefix
=$ac_optarg ;;
1060 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1061 |
--program-suf |
--program-su |
--program-s)
1062 ac_prev
=program_suffix
;;
1063 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1064 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1065 program_suffix
=$ac_optarg ;;
1067 -program-transform-name |
--program-transform-name \
1068 |
--program-transform-nam |
--program-transform-na \
1069 |
--program-transform-n |
--program-transform- \
1070 |
--program-transform |
--program-transfor \
1071 |
--program-transfo |
--program-transf \
1072 |
--program-trans |
--program-tran \
1073 |
--progr-tra |
--program-tr |
--program-t)
1074 ac_prev
=program_transform_name
;;
1075 -program-transform-name=* |
--program-transform-name=* \
1076 |
--program-transform-nam=* |
--program-transform-na=* \
1077 |
--program-transform-n=* |
--program-transform-=* \
1078 |
--program-transform=* |
--program-transfor=* \
1079 |
--program-transfo=* |
--program-transf=* \
1080 |
--program-trans=* |
--program-tran=* \
1081 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1082 program_transform_name
=$ac_optarg ;;
1084 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1086 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1087 pdfdir
=$ac_optarg ;;
1089 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1091 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1095 |
-silent |
--silent |
--silen |
--sile |
--sil)
1098 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1100 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1102 sbindir
=$ac_optarg ;;
1104 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1105 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1106 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1108 ac_prev
=sharedstatedir
;;
1109 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1110 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1111 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1113 sharedstatedir
=$ac_optarg ;;
1115 -site |
--site |
--sit)
1117 -site=* |
--site=* |
--sit=*)
1120 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1122 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1123 srcdir
=$ac_optarg ;;
1125 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1126 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1127 ac_prev
=sysconfdir
;;
1128 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1129 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1130 sysconfdir
=$ac_optarg ;;
1132 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1133 ac_prev
=target_alias
;;
1134 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1135 target_alias
=$ac_optarg ;;
1137 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1140 -version |
--version |
--versio |
--versi |
--vers |
-V)
1141 ac_init_version
=: ;;
1144 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1147 as_fn_error $?
"invalid package name: $ac_useropt"
1148 ac_useropt_orig
=$ac_useropt
1149 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep
=', ';;
1157 eval with_
$ac_useropt=\
$ac_optarg ;;
1159 -without-* |
--without-*)
1160 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1163 as_fn_error $?
"invalid package name: $ac_useropt"
1164 ac_useropt_orig
=$ac_useropt
1165 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep
=', ';;
1173 eval with_
$ac_useropt=no
;;
1176 # Obsolete; use --with-x.
1179 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1180 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1181 ac_prev
=x_includes
;;
1182 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1183 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1184 x_includes
=$ac_optarg ;;
1186 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1187 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1188 ac_prev
=x_libraries
;;
1189 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1190 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1191 x_libraries
=$ac_optarg ;;
1193 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information"
1198 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1202 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\
$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 if test -n "$ac_prev"; then
1219 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error $?
"missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val
=\$
$ac_var
1238 # Remove trailing slashes.
1241 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\
$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$
]* | ?
:[\\/]* ) continue;;
1247 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1249 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target
=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x
; then
1261 if test "x$build_alias" = x
; then
1262 cross_compiling
=maybe
1263 elif test "x$build_alias" != "x$host_alias"; then
1269 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1271 test "$silent" = yes && exec 6>/dev
/null
1274 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1275 ac_ls_di
=`ls -di .` &&
1276 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1277 as_fn_error $?
"working directory cannot be determined"
1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279 as_fn_error $?
"pwd does not report name of working directory"
1282 # Find the source files, if location was not specified.
1283 if test -z "$srcdir"; then
1284 ac_srcdir_defaulted
=yes
1285 # Try the directory containing this script, then the parent directory.
1286 ac_confdir
=`$as_dirname -- "$as_myself" ||
1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1288 X"$as_myself" : 'X\(//\)[^/]' \| \
1289 X"$as_myself" : 'X\(//\)$' \| \
1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1291 $as_echo X"$as_myself" |
1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1314 ac_srcdir_defaulted
=no
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1317 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1318 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1320 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var
in $ac_precious_vars; do
1335 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1337 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking ...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1397 --htmldir=DIR html documentation [DOCDIR]
1398 --dvidir=DIR dvi documentation [DOCDIR]
1399 --pdfdir=DIR pdf documentation [DOCDIR]
1400 --psdir=DIR ps documentation [DOCDIR]
1406 --program-prefix=PREFIX prepend PREFIX to installed program names
1407 --program-suffix=SUFFIX append SUFFIX to installed program names
1408 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1411 --build=BUILD configure
for building on BUILD
[guessed
]
1412 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1413 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1417 if test -n "$ac_init_help"; then
1418 case $ac_init_help in
1419 short | recursive
) echo "Configuration of package-unused version-unused:";;
1424 --disable-option-checking ignore unrecognized
--enable/--with options
1425 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1426 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1427 --enable-multilib build many library versions
(default
)
1428 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1429 --disable-silent-rules verbose build output
(undo
: "make V=0")
1430 --enable-maintainer-mode
1431 enable make rules and dependencies not useful
(and
1432 sometimes confusing
) to the casual installer
1433 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1434 --enable-static[=PKGS
] build static libraries
[default
=yes]
1435 --enable-fast-install[=PKGS
]
1436 optimize
for fast installation
[default
=yes]
1437 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1438 --disable-largefile omit support
for large files
1439 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1440 --enable-host-shared build
host code as shared libraries
1441 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1444 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1445 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1446 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1447 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1449 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1450 --with-system-libunwind use installed libunwind
1452 Some influential environment variables
:
1453 CC C compiler
command
1454 CFLAGS C compiler flags
1455 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1456 nonstandard directory
<lib dir
>
1457 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1458 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1459 you have headers
in a nonstandard directory
<include dir
>
1461 OBJCOPY location of objcopy
1462 DSYMUTIL location of dsymutil
1464 Use these variables to override the choices made by
`configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1467 Report bugs to the package provider.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1530 package-unused configure version-unused
1531 generated by GNU Autoconf 2.69
1533 Copyright (C) 2012 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext
1551 if { { ac_try="$ac_compile"
1553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1554 *) ac_try_echo
=$ac_try;;
1556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err
; then
1561 grep -v '^ *+' conftest.err
>conftest.er1
1562 cat conftest.er1
>&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.
$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.
$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status
$ac_retval
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_cpp LINENO
1583 # ----------------------
1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1588 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } > conftest.i && {
1604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1622 # the include files in INCLUDES and setting the cache variable VAR
1624 ac_fn_c_check_header_mongrel ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if eval \${$3+:} false; then :
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 $as_echo_n "checking for $2... " >&6; }
1630 if eval \${$3+:} false; then :
1631 $as_echo_n "(cached) " >&6
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1637 # Is the header compilable?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1639 $as_echo_n "checking $2 usability... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646 ac_header_compiler=yes
1648 ac_header_compiler=no
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1652 $as_echo "$ac_header_compiler" >&6; }
1654 # Is the header present?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1656 $as_echo_n "checking $2 presence... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1661 if ac_fn_c_try_cpp "$LINENO"; then :
1662 ac_header_preproc=yes
1664 ac_header_preproc=no
1666 rm -f conftest.err conftest.i conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1668 $as_echo "$ac_header_preproc" >&6; }
1670 # So? What about this header?
1671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1696 eval "$3=\$ac_header_compiler"
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 } # ac_fn_c_check_header_mongrel
1706 # ac_fn_c_try_run LINENO
1707 # ----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1709 # that executables *can* be run.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if { { ac_try="$ac_link"
1715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1716 *) ac_try_echo
=$ac_try;;
1718 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_header_compile
1779 # ac_fn_c_try_link LINENO
1780 # -----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1789 *) ac_try_echo
=$ac_try;;
1791 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1795 if test -s conftest.err
; then
1796 grep -v '^ *+' conftest.err
>conftest.er1
1797 cat conftest.er1
>&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest
$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 test -x conftest
$ac_exeext
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.
$ac_ext >&5
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status
$ac_retval
1823 } # ac_fn_c_try_link
1825 # ac_fn_c_check_func LINENO FUNC VAR
1826 # ----------------------------------
1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func
()
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \
${$3+:} false
; then :
1834 $as_echo_n "(cached) " >&6
1836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840 #define $2 innocuous_$2
1842 /* System header to define __stub macros and hopefully few prototypes,
1843 which can conflict with char $2 (); below.
1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845 <limits.h> exists even on freestanding compilers. */
1848 # include <limits.h>
1850 # include <assert.h>
1855 /* Override any GCC internal prototype to avoid an error.
1856 Use char because int might match the return type of a GCC
1857 builtin and then its argument prototype would still apply. */
1862 /* The GNU C library defines this for functions which it implements
1863 to always fail with ENOSYS. Some functions are actually named
1864 something starting with __ and the normal name is an alias. */
1865 #if defined __stub_$2 || defined __stub___$2
1877 if ac_fn_c_try_link
"$LINENO"; then :
1882 rm -f core conftest.err conftest.
$ac_objext \
1883 conftest
$ac_exeext conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 } # ac_fn_c_check_func
1892 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1893 # -------------------------------------------
1894 # Tests whether TYPE exists after having included INCLUDES, setting cache
1895 # variable VAR accordingly.
1896 ac_fn_c_check_type
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \
${$3+:} false
; then :
1902 $as_echo_n "(cached) " >&6
1905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1917 if ac_fn_c_try_compile
"$LINENO"; then :
1918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1930 if ac_fn_c_try_compile
"$LINENO"; then :
1935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_type
1946 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1947 # --------------------------------------------
1948 # Tries to find the compile-time value of EXPR in a program that includes
1949 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1951 ac_fn_c_compute_int
()
1953 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1954 if test "$cross_compiling" = yes; then
1955 # Depending upon the size, compute the lo and hi bounds.
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1962 static int test_array [1 - 2 * !(($2) >= 0)];
1964 return test_array [0];
1970 if ac_fn_c_try_compile
"$LINENO"; then :
1973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1979 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1981 return test_array [0];
1987 if ac_fn_c_try_compile
"$LINENO"; then :
1988 ac_hi
=$ac_mid; break
1990 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1991 if test $ac_lo -le $ac_mid; then
1995 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2006 static int test_array [1 - 2 * !(($2) < 0)];
2008 return test_array [0];
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2023 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2025 return test_array [0];
2031 if ac_fn_c_try_compile
"$LINENO"; then :
2032 ac_lo
=$ac_mid; break
2034 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2035 if test $ac_mid -le $ac_hi; then
2039 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2049 # Binary search between lo and hi bounds.
2050 while test "x$ac_lo" != "x$ac_hi"; do
2051 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2060 return test_array [0];
2066 if ac_fn_c_try_compile
"$LINENO"; then :
2069 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2081 static long int longval () { return $2; }
2082 static unsigned long int ulongval () { return $2; }
2089 FILE *f = fopen ("conftest.val", "w");
2094 long int i = longval ();
2097 fprintf (f, "%ld", i);
2101 unsigned long int i = ulongval ();
2104 fprintf (f, "%lu", i);
2106 /* Do not output a trailing newline, as this causes \r\n confusion
2107 on some platforms. */
2108 return ferror (f) || fclose (f) != 0;
2114 if ac_fn_c_try_run
"$LINENO"; then :
2115 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2119 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2120 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 as_fn_set_status
$ac_retval
2127 } # ac_fn_c_compute_int
2129 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2130 # ---------------------------------------------
2131 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2133 ac_fn_c_check_decl
()
2135 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2136 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2137 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2139 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2140 if eval \
${$3+:} false
; then :
2141 $as_echo_n "(cached) " >&6
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2149 #ifndef $as_decl_name
2151 (void) $as_decl_use;
2153 (void) $as_decl_name;
2161 if ac_fn_c_try_compile
"$LINENO"; then :
2166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2173 } # ac_fn_c_check_decl
2174 cat >config.log
<<_ACEOF
2175 This file contains any messages produced by compilers while
2176 running configure, to aid debugging if configure makes a mistake.
2178 It was created by package-unused $as_me version-unused, which was
2179 generated by GNU Autoconf 2.69. Invocation command line was
2191 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2192 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2193 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2194 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2195 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2197 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2198 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2200 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2201 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2202 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2203 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2204 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2205 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2206 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 $as_echo "PATH: $as_dir"
2231 # Keep a trace of the command line.
2232 # Strip out --no-create and --no-recursion so they do not pile up.
2233 # Strip out --silent because we don't want to record it for future runs.
2234 # Also quote any args containing shell meta-characters.
2235 # Make two passes to allow for proper duplicate-argument suppression.
2239 ac_must_keep_next
=false
2245 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2246 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2247 |
-silent |
--silent |
--silen |
--sile |
--sil)
2250 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2253 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2255 as_fn_append ac_configure_args1
" '$ac_arg'"
2256 if test $ac_must_keep_next = true
; then
2257 ac_must_keep_next
=false
# Got value, back to normal.
2260 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2261 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2262 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2263 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2264 case "$ac_configure_args0 " in
2265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2268 -* ) ac_must_keep_next
=true
;;
2271 as_fn_append ac_configure_args
" '$ac_arg'"
2276 { ac_configure_args0
=; unset ac_configure_args0
;}
2277 { ac_configure_args1
=; unset ac_configure_args1
;}
2279 # When interrupted or exit'd, cleanup temporary files, and complete
2280 # config.log. We remove comments because anyway the quotes in there
2281 # would cause problems or look ugly.
2282 # WARNING: Use '\'' to represent an apostrophe within the trap.
2283 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2284 trap 'exit_status=$?
2285 # Save into config.log some information that might help in debugging.
2289 $as_echo "## ---------------- ##
2290 ## Cache variables. ##
2291 ## ---------------- ##"
2293 # The following way of writing the cache mishandles newlines in values,
2295 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2296 eval ac_val=\$$ac_var
2300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2301 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2304 _ | IFS | as_nl) ;; #(
2305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2306 *) { eval $ac_var=; unset $ac_var;} ;;
2311 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2312 *${as_nl}ac_space=\ *)
2314 "s/'\''/'\''\\\\'\'''\''/g;
2315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2325 $as_echo "## ----------------- ##
2326 ## Output variables. ##
2327 ## ----------------- ##"
2329 for ac_var in $ac_subst_vars
2331 eval ac_val=\$$ac_var
2333 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335 $as_echo "$ac_var='\''$ac_val'\''"
2339 if test -n "$ac_subst_files"; then
2340 $as_echo "## ------------------- ##
2341 ## File substitutions. ##
2342 ## ------------------- ##"
2344 for ac_var
in $ac_subst_files
2346 eval ac_val
=\$
$ac_var
2348 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2350 $as_echo "$ac_var='\''$ac_val'\''"
2355 if test -s confdefs.h; then
2356 $as_echo "## ----------- ##
2363 test "$ac_signal" != 0 &&
2364 $as_echo "$as_me: caught signal $ac_signal"
2365 $as_echo "$as_me: exit $exit_status"
2367 rm -f core *.core core.conftest.* &&
2368 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2371 for ac_signal
in 1 2 13 15; do
2372 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2377 rm -f -r conftest
* confdefs.h
2379 $as_echo "/* confdefs.h */" > confdefs.h
2381 # Predefined preprocessor variables.
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_NAME "$PACKAGE_NAME"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_STRING "$PACKAGE_STRING"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_URL "$PACKAGE_URL"
2408 # Let the site file select an alternate cache file if it wants to.
2409 # Prefer an explicitly selected file to automatically selected ones.
2412 if test -n "$CONFIG_SITE"; then
2413 # We do not want a PATH search for config.site.
2414 case $CONFIG_SITE in #((
2415 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2416 */*) ac_site_file1
=$CONFIG_SITE;;
2417 *) ac_site_file1
=.
/$CONFIG_SITE;;
2419 elif test "x$prefix" != xNONE
; then
2420 ac_site_file1
=$prefix/share
/config.site
2421 ac_site_file2
=$prefix/etc
/config.site
2423 ac_site_file1
=$ac_default_prefix/share
/config.site
2424 ac_site_file2
=$ac_default_prefix/etc
/config.site
2426 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2428 test "x$ac_site_file" = xNONE
&& continue
2429 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2431 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2432 sed 's/^/| /' "$ac_site_file" >&5
2434 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436 as_fn_error $?
"failed to load site script $ac_site_file
2437 See \`config.log' for more details" "$LINENO" 5; }
2441 if test -r "$cache_file"; then
2442 # Some versions of bash will fail to source /dev/null (special files
2443 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2444 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2446 $as_echo "$as_me: loading cache $cache_file" >&6;}
2448 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2449 *) .
"./$cache_file";;
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2454 $as_echo "$as_me: creating cache $cache_file" >&6;}
2458 # Check that the precious variables saved in the cache have kept the same
2460 ac_cache_corrupted
=false
2461 for ac_var
in $ac_precious_vars; do
2462 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2463 eval ac_new_set
=\
$ac_env_${ac_var}_set
2464 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2465 eval ac_new_val
=\
$ac_env_${ac_var}_value
2466 case $ac_old_set,$ac_new_set in
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2469 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2470 ac_cache_corrupted
=: ;;
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2473 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2474 ac_cache_corrupted
=: ;;
2477 if test "x$ac_old_val" != "x$ac_new_val"; then
2478 # differences in whitespace do not lead to failure.
2479 ac_old_val_w
=`echo x $ac_old_val`
2480 ac_new_val_w
=`echo x $ac_new_val`
2481 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2483 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2484 ac_cache_corrupted
=:
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2487 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2488 eval $ac_var=\
$ac_old_val
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2491 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2493 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2496 # Pass precious variables to config.status.
2497 if test "$ac_new_set" = set; then
2499 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2500 *) ac_arg
=$ac_var=$ac_new_val ;;
2502 case " $ac_configure_args " in
2503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2504 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2508 if $ac_cache_corrupted; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2512 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2513 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2515 ## -------------------- ##
2516 ## Main body of script. ##
2517 ## -------------------- ##
2520 ac_cpp
='$CPP $CPPFLAGS'
2521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2530 ac_config_headers
="$ac_config_headers config.h"
2533 if test -n "${with_target_subdir}"; then
2534 # Default to --enable-multilib
2535 # Check whether --enable-multilib was given.
2536 if test "${enable_multilib+set}" = set; then :
2537 enableval
=$enable_multilib; case "$enableval" in
2538 yes) multilib
=yes ;;
2540 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2547 # We may get other options which we leave undocumented:
2548 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2549 # See config-ml.in if you want the gory details.
2551 if test "$srcdir" = "."; then
2552 if test "$with_target_subdir" != "."; then
2553 multi_basedir
="$srcdir/$with_multisrctop../.."
2555 multi_basedir
="$srcdir/$with_multisrctop.."
2558 multi_basedir
="$srcdir/.."
2562 # Even if the default multilib is not a cross compilation,
2563 # it may be that some of the other multilibs are.
2564 if test $cross_compiling = no
&& test $multilib = yes \
2565 && test "x${with_multisubdir}" != x
; then
2566 cross_compiling
=maybe
2569 ac_config_commands
="$ac_config_commands default-1"
2574 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2575 if test -f "$ac_dir/install-sh"; then
2577 ac_install_sh
="$ac_aux_dir/install-sh -c"
2579 elif test -f "$ac_dir/install.sh"; then
2581 ac_install_sh
="$ac_aux_dir/install.sh -c"
2583 elif test -f "$ac_dir/shtool"; then
2585 ac_install_sh
="$ac_aux_dir/shtool install -c"
2589 if test -z "$ac_aux_dir"; then
2590 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2593 # These three variables are undocumented and unsupported,
2594 # and are intended to be withdrawn in a future Autoconf release.
2595 # They can cause serious problems if a builder's source tree is in a directory
2596 # whose full name contains unusual characters.
2597 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2598 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2599 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2602 # Make sure we can run config.sub.
2603 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2604 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2607 $as_echo_n "checking build system type... " >&6; }
2608 if ${ac_cv_build+:} false
; then :
2609 $as_echo_n "(cached) " >&6
2611 ac_build_alias
=$build_alias
2612 test "x$ac_build_alias" = x
&&
2613 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2614 test "x$ac_build_alias" = x
&&
2615 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2616 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2617 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2621 $as_echo "$ac_cv_build" >&6; }
2622 case $ac_cv_build in
2624 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2627 ac_save_IFS
=$IFS; IFS
='-'
2633 # Remember, the first character of IFS is used to create $*,
2634 # except with old shells:
2637 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2641 $as_echo_n "checking host system type... " >&6; }
2642 if ${ac_cv_host+:} false
; then :
2643 $as_echo_n "(cached) " >&6
2645 if test "x$host_alias" = x
; then
2646 ac_cv_host
=$ac_cv_build
2648 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2649 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2654 $as_echo "$ac_cv_host" >&6; }
2657 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2660 ac_save_IFS
=$IFS; IFS
='-'
2666 # Remember, the first character of IFS is used to create $*,
2667 # except with old shells:
2670 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2674 $as_echo_n "checking target system type... " >&6; }
2675 if ${ac_cv_target+:} false
; then :
2676 $as_echo_n "(cached) " >&6
2678 if test "x$target_alias" = x
; then
2679 ac_cv_target
=$ac_cv_host
2681 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2682 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2687 $as_echo "$ac_cv_target" >&6; }
2688 case $ac_cv_target in
2690 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2692 target
=$ac_cv_target
2693 ac_save_IFS
=$IFS; IFS
='-'
2699 # Remember, the first character of IFS is used to create $*,
2700 # except with old shells:
2703 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2706 # The aliases save the names the user supplied, while $host etc.
2707 # will get canonicalized.
2708 test -n "$target_alias" &&
2709 test "$program_prefix$program_suffix$program_transform_name" = \
2711 program_prefix
=${target_alias}-
2713 target_alias
=${target_alias-$host_alias}
2715 # Expand $ac_aux_dir to an absolute path.
2716 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2719 ac_cpp
='$CPP $CPPFLAGS'
2720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2723 if test -n "$ac_tool_prefix"; then
2724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2725 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_CC+:} false
; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC
="$CC" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2762 if test -z "$ac_cv_prog_CC"; then
2764 # Extract the first word of "gcc", so it can be a program name with args.
2765 set dummy gcc
; ac_word
=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$ac_ct_CC"; then
2772 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_ac_ct_CC
="gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2794 $as_echo "$ac_ct_CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2800 if test "x$ac_ct_CC" = x
; then
2803 case $cross_compiling:$ac_tool_warned in
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2807 ac_tool_warned
=yes ;;
2815 if test -z "$CC"; then
2816 if test -n "$ac_tool_prefix"; then
2817 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2818 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_CC+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$CC"; then
2825 ac_cv_prog_CC
="$CC" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test -n "$CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2847 $as_echo "$CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2856 if test -z "$CC"; then
2857 # Extract the first word of "cc", so it can be a program name with args.
2858 set dummy cc
; ac_word
=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC
="$CC" # Let the user override the test.
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2875 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2876 ac_prog_rejected
=yes
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 if test $ac_prog_rejected = yes; then
2888 # We found a bogon in the path, so make sure we never use it.
2889 set dummy
$ac_cv_prog_CC
2891 if test $# != 0; then
2892 # We chose a different compiler from the bogus one.
2893 # However, it has the same basename, so the bogon will be chosen
2894 # first if we set CC to just the basename; use the full file name.
2896 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2912 if test -z "$CC"; then
2913 if test -n "$ac_tool_prefix"; then
2914 for ac_prog
in cl.exe
2916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2917 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if ${ac_cv_prog_CC+:} false
; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$CC"; then
2924 ac_cv_prog_CC
="$CC" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test -n "$CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2946 $as_echo "$CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$CC" && break
2956 if test -z "$CC"; then
2958 for ac_prog
in cl.exe
2960 # Extract the first word of "$ac_prog", so it can be a program name with args.
2961 set dummy
$ac_prog; ac_word
=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_CC"; then
2968 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir
=.
2975 for ac_exec_ext
in '' $ac_executable_extensions; do
2976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2977 ac_cv_prog_ac_ct_CC
="$ac_prog"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2988 if test -n "$ac_ct_CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2990 $as_echo "$ac_ct_CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2997 test -n "$ac_ct_CC" && break
3000 if test "x$ac_ct_CC" = x
; then
3003 case $cross_compiling:$ac_tool_warned in
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3007 ac_tool_warned
=yes ;;
3016 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018 as_fn_error $?
"no acceptable C compiler found in \$PATH
3019 See \`config.log' for more details" "$LINENO" 5; }
3021 # Provide some information about the compiler.
3022 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3025 for ac_option
in --version -v -V -qversion; do
3026 { { ac_try
="$ac_compiler $ac_option >&5"
3028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3032 $as_echo "$ac_try_echo"; } >&5
3033 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3035 if test -s conftest.err; then
3037 ... rest of stderr output deleted ...
3038 10q' conftest.err >conftest.er1
3039 cat conftest.er1 >&5
3041 rm -f conftest.er1 conftest.err
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; }
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3057 ac_clean_files_save=$ac_clean_files
3058 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3059 # Try to create an executable without -o first, disregard a.out.
3060 # It will help us diagnose broken compilers, and finding out an intuition
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3063 $as_echo_n "checking whether the C compiler works... " >&6; }
3064 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3066 # The possible output files:
3067 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3070 for ac_file in $ac_files
3073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3074 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3079 if { { ac_try="$ac_link_default"
3081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3082 *) ac_try_echo
=$ac_try;;
3084 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 $as_echo "$ac_try_echo"; } >&5
3086 (eval "$ac_link_default") 2>&5
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; }; then :
3090 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3091 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3092 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3093 # so that the user can short-circuit this test for compilers unknown to
3095 for ac_file
in $ac_files ''
3097 test -f "$ac_file" ||
continue
3099 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3102 # We found the default executable, but exeext='' is most
3106 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3108 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3110 # We set ac_cv_exeext here because the later test for it is not
3111 # safe: cross compilers may not add the suffix if given an `-o'
3112 # argument, so we may need to know it at that point already.
3113 # Even if this section looks crufty: it has the advantage of
3120 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3125 if test -z "$ac_file"; then :
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3128 $as_echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.
$ac_ext >&5
3131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 as_fn_error
77 "C compiler cannot create executables
3134 See \`config.log' for more details" "$LINENO" 5; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3137 $as_echo "yes" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3140 $as_echo_n "checking for C compiler default output file name... " >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3142 $as_echo "$ac_file" >&6; }
3143 ac_exeext
=$ac_cv_exeext
3145 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3146 ac_clean_files
=$ac_clean_files_save
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3148 $as_echo_n "checking for suffix of executables... " >&6; }
3149 if { { ac_try
="$ac_link"
3151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_link") 2>&5
3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159 test $ac_status = 0; }; then :
3160 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3161 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3162 # work properly (i.e., refer to `conftest.exe'), while it won't with
3164 for ac_file
in conftest.exe conftest conftest.
*; do
3165 test -f "$ac_file" ||
continue
3167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3168 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3176 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3177 See \`config.log' for more details" "$LINENO" 5; }
3179 rm -f conftest conftest
$ac_cv_exeext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3181 $as_echo "$ac_cv_exeext" >&6; }
3183 rm -f conftest.
$ac_ext
3184 EXEEXT
=$ac_cv_exeext
3186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3192 FILE *f = fopen ("conftest.out", "w");
3193 return ferror (f) || fclose (f) != 0;
3199 ac_clean_files
="$ac_clean_files conftest.out"
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3203 $as_echo_n "checking whether we are cross compiling... " >&6; }
3204 if test "$cross_compiling" != yes; then
3205 { { ac_try
="$ac_link"
3207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_link") 2>&5
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }
3216 if { ac_try='./conftest$ac_cv_exeext'
3217 { { case "(($ac_try" in
3218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3219 *) ac_try_echo
=$ac_try;;
3221 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3222 $as_echo "$ac_try_echo"; } >&5
3223 (eval "$ac_try") 2>&5
3225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226 test $ac_status = 0; }; }; then
3229 if test "$cross_compiling" = maybe
; then
3232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error $?
"cannot run C compiled programs.
3235 If you meant to cross compile, use \`--host'.
3236 See \`config.log' for more details" "$LINENO" 5; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3241 $as_echo "$cross_compiling" >&6; }
3243 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3244 ac_clean_files
=$ac_clean_files_save
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3246 $as_echo_n "checking for suffix of object files... " >&6; }
3247 if ${ac_cv_objext+:} false
; then :
3248 $as_echo_n "(cached) " >&6
3250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3261 rm -f conftest.o conftest.obj
3262 if { { ac_try
="$ac_compile"
3264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_compile") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }; then :
3273 for ac_file in conftest.o conftest.obj conftest.*; do
3274 test -f "$ac_file" || continue;
3276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3277 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3282 $as_echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5
3285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3288 See \
`config.log' for more details" "$LINENO" 5; }
3290 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3293 $as_echo "$ac_cv_objext" >&6; }
3294 OBJEXT=$ac_cv_objext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3297 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3298 if ${ac_cv_c_compiler_gnu+:} false; then :
3299 $as_echo_n "(cached) " >&6
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3325 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3326 if test $ac_compiler_gnu = yes; then
3331 ac_test_CFLAGS=${CFLAGS+set}
3332 ac_save_CFLAGS=$CFLAGS
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3334 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3335 if ${ac_cv_prog_cc_g+:} false; then :
3336 $as_echo_n "(cached) " >&6
3338 ac_save_c_werror_flag=$ac_c_werror_flag
3339 ac_c_werror_flag=yes
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3353 if ac_fn_c_try_compile "$LINENO"; then :
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3368 if ac_fn_c_try_compile "$LINENO"; then :
3371 ac_c_werror_flag=$ac_save_c_werror_flag
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 if ac_fn_c_try_compile "$LINENO"; then :
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 ac_c_werror_flag=$ac_save_c_werror_flag
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3395 $as_echo "$ac_cv_prog_cc_g" >&6; }
3396 if test "$ac_test_CFLAGS" = set; then
3397 CFLAGS=$ac_save_CFLAGS
3398 elif test $ac_cv_prog_cc_g = yes; then
3399 if test "$GCC" = yes; then
3405 if test "$GCC" = yes; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3412 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3413 if ${ac_cv_prog_cc_c89+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 ac_cv_prog_cc_c89=no
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3424 struct buf { int x; };
3425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3426 static char *e (p, i)
3432 static char *f (char * (*g) (char **, int), char **p, ...)
3437 s = g (p, va_arg (v,int));
3442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3443 function prototypes and stuff, but not '\xHH' hex character constants.
3444 These don't provoke an error unfortunately, instead are silently treated
3445 as 'x'. The following induces an error, until -std is added to get
3446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3447 array size at least. It's necessary to write '\x00'==0 to get something
3448 that's true only with -std. */
3449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3452 inside strings and character constants. */
3454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3456 int test (int i, double x);
3457 struct s1 {int (*f) (int a);};
3458 struct s2 {int (*f) (double a);};
3459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3473 CC="$ac_save_CC $ac_arg"
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 ac_cv_prog_cc_c89=$ac_arg
3477 rm -f core conftest.err conftest.$ac_objext
3478 test "x$ac_cv_prog_cc_c89" != "xno" && break
3480 rm -f conftest.$ac_ext
3485 case "x$ac_cv_prog_cc_c89" in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3488 $as_echo "none needed" >&6; } ;;
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3491 $as_echo "unsupported" >&6; } ;;
3493 CC="$CC $ac_cv_prog_cc_c89"
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3497 if test "x$ac_cv_prog_cc_c89" != xno; then :
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3513 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3514 if ${am_cv_prog_cc_c_o+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 # Make sure it works both with $CC and with simple cc.
3529 # Following AC_PROG_CC_C_O, we do the test twice because some
3530 # compilers refuse to overwrite an existing .o file with -o,
3531 # though they will create one.
3532 am_cv_prog_cc_c_o=yes
3534 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3535 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } \
3539 && test -f conftest2.$ac_objext; then
3542 am_cv_prog_cc_c_o=no
3546 rm -f core conftest*
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3550 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3551 if test "$am_cv_prog_cc_c_o" != yes; then
3552 # Losing compiler, so override with the script.
3553 # FIXME: It is wrong to rewrite CC.
3554 # But if we don't then we get into trouble of one sort or another.
3555 # A longer-term fix would be to have automake use am__CC in this case,
3556 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3557 CC="$am_aux_dir/compile $CC"
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 ac_cpp='$CPP $CPPFLAGS'
3569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3574 # On Suns, sometimes $CPP names a directory.
3575 if test -n "$CPP" && test -d "$CPP"; then
3578 if test -z "$CPP"; then
3579 if ${ac_cv_prog_CPP+:} false; then :
3580 $as_echo_n "(cached) " >&6
3582 # Double quotes because CPP needs to be expanded
3583 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3586 for ac_c_preproc_warn_flag in '' yes
3588 # Use a header file that comes with gcc, so configuring glibc
3589 # with a fresh cross-compiler works.
3590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3591 # <limits.h> exists even on freestanding compilers.
3592 # On the NeXT, cc -E runs the code through the compiler's parser,
3593 # not just through cpp. "Syntax error" is here to catch this case.
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3597 # include <limits.h>
3599 # include <assert.h>
3603 if ac_fn_c_try_cpp "$LINENO"; then :
3606 # Broken: fails on valid input.
3609 rm -f conftest.err conftest.i conftest.$ac_ext
3611 # OK, works on sane cases. Now check whether nonexistent headers
3612 # can be detected and how.
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3615 #include <ac_nonexistent.h>
3617 if ac_fn_c_try_cpp "$LINENO"; then :
3618 # Broken: success on invalid input.
3621 # Passes both tests.
3625 rm -f conftest.err conftest.i conftest.$ac_ext
3628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3629 rm -f conftest.i conftest.err conftest.
$ac_ext
3630 if $ac_preproc_ok; then :
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3643 $as_echo "$CPP" >&6; }
3645 for ac_c_preproc_warn_flag
in '' yes
3647 # Use a header file that comes with gcc, so configuring glibc
3648 # with a fresh cross-compiler works.
3649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3650 # <limits.h> exists even on freestanding compilers.
3651 # On the NeXT, cc -E runs the code through the compiler's parser,
3652 # not just through cpp. "Syntax error" is here to catch this case.
3653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3656 # include <limits.h>
3658 # include <assert.h>
3662 if ac_fn_c_try_cpp
"$LINENO"; then :
3665 # Broken: fails on valid input.
3668 rm -f conftest.err conftest.i conftest.
$ac_ext
3670 # OK, works on sane cases. Now check whether nonexistent headers
3671 # can be detected and how.
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3674 #include <ac_nonexistent.h>
3676 if ac_fn_c_try_cpp
"$LINENO"; then :
3677 # Broken: success on invalid input.
3680 # Passes both tests.
3684 rm -f conftest.err conftest.i conftest.
$ac_ext
3687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3688 rm -f conftest.i conftest.err conftest.
$ac_ext
3689 if $ac_preproc_ok; then :
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3695 See \`config.log' for more details" "$LINENO" 5; }
3699 ac_cpp
='$CPP $CPPFLAGS'
3700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3707 if ${ac_cv_path_GREP+:} false
; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -z "$GREP"; then
3711 ac_path_GREP_found
=false
3712 # Loop through the user's path and test for each of PROGNAME-LIST
3713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3717 test -z "$as_dir" && as_dir
=.
3718 for ac_prog
in grep ggrep
; do
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3721 as_fn_executable_p
"$ac_path_GREP" ||
continue
3722 # Check for GNU ac_path_GREP and select it if it is found.
3723 # Check for GNU $ac_path_GREP
3724 case `"$ac_path_GREP" --version 2>&1` in
3726 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3729 $as_echo_n 0123456789 >"conftest.in"
3732 cat "conftest.in" "conftest.in" >"conftest.tmp"
3733 mv "conftest.tmp" "conftest.in"
3734 cp "conftest.in" "conftest.nl"
3735 $as_echo 'GREP' >> "conftest.nl"
3736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3737 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3738 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3740 # Best one so far, save it but keep looking for a better one
3741 ac_cv_path_GREP
="$ac_path_GREP"
3742 ac_path_GREP_max
=$ac_count
3744 # 10*(2^10) chars as input seems more than enough
3745 test $ac_count -gt 10 && break
3747 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3750 $ac_path_GREP_found && break 3
3755 if test -z "$ac_cv_path_GREP"; then
3756 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3759 ac_cv_path_GREP
=$GREP
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3764 $as_echo "$ac_cv_path_GREP" >&6; }
3765 GREP
="$ac_cv_path_GREP"
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3769 $as_echo_n "checking for egrep... " >&6; }
3770 if ${ac_cv_path_EGREP+:} false
; then :
3771 $as_echo_n "(cached) " >&6
3773 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3774 then ac_cv_path_EGREP
="$GREP -E"
3776 if test -z "$EGREP"; then
3777 ac_path_EGREP_found
=false
3778 # Loop through the user's path and test for each of PROGNAME-LIST
3779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3780 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3783 test -z "$as_dir" && as_dir
=.
3784 for ac_prog
in egrep; do
3785 for ac_exec_ext
in '' $ac_executable_extensions; do
3786 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3787 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3788 # Check for GNU ac_path_EGREP and select it if it is found.
3789 # Check for GNU $ac_path_EGREP
3790 case `"$ac_path_EGREP" --version 2>&1` in
3792 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3795 $as_echo_n 0123456789 >"conftest.in"
3798 cat "conftest.in" "conftest.in" >"conftest.tmp"
3799 mv "conftest.tmp" "conftest.in"
3800 cp "conftest.in" "conftest.nl"
3801 $as_echo 'EGREP' >> "conftest.nl"
3802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3803 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3804 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3806 # Best one so far, save it but keep looking for a better one
3807 ac_cv_path_EGREP
="$ac_path_EGREP"
3808 ac_path_EGREP_max
=$ac_count
3810 # 10*(2^10) chars as input seems more than enough
3811 test $ac_count -gt 10 && break
3813 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3816 $ac_path_EGREP_found && break 3
3821 if test -z "$ac_cv_path_EGREP"; then
3822 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3825 ac_cv_path_EGREP
=$EGREP
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3831 $as_echo "$ac_cv_path_EGREP" >&6; }
3832 EGREP
="$ac_cv_path_EGREP"
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3836 $as_echo_n "checking for ANSI C header files... " >&6; }
3837 if ${ac_cv_header_stdc+:} false
; then :
3838 $as_echo_n "(cached) " >&6
3840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3855 if ac_fn_c_try_compile
"$LINENO"; then :
3856 ac_cv_header_stdc
=yes
3858 ac_cv_header_stdc
=no
3860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3862 if test $ac_cv_header_stdc = yes; then
3863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3870 $EGREP "memchr" >/dev
/null
2>&1; then :
3873 ac_cv_header_stdc
=no
3879 if test $ac_cv_header_stdc = yes; then
3880 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3887 $EGREP "free" >/dev
/null
2>&1; then :
3890 ac_cv_header_stdc
=no
3896 if test $ac_cv_header_stdc = yes; then
3897 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3898 if test "$cross_compiling" = yes; then :
3901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3905 #if ((' ' & 0x0FF) == 0x020)
3906 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3907 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3909 # define ISLOWER(c) \
3910 (('a' <= (c) && (c) <= 'i') \
3911 || ('j' <= (c) && (c) <= 'r') \
3912 || ('s' <= (c) && (c) <= 'z'))
3913 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3916 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3921 for (i = 0; i < 256; i++)
3922 if (XOR (islower (i), ISLOWER (i))
3923 || toupper (i) != TOUPPER (i))
3928 if ac_fn_c_try_run
"$LINENO"; then :
3931 ac_cv_header_stdc
=no
3933 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3934 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3940 $as_echo "$ac_cv_header_stdc" >&6; }
3941 if test $ac_cv_header_stdc = yes; then
3943 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3947 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3948 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3949 inttypes.h stdint.h unistd.h
3951 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3952 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3954 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3955 cat >>confdefs.h
<<_ACEOF
3956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3965 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3966 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3973 if test "$MINIX" = yes; then
3975 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3978 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3981 $as_echo "#define _MINIX 1" >>confdefs.h
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3987 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3988 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3989 $as_echo_n "(cached) " >&6
3991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3994 # define __EXTENSIONS__ 1
3995 $ac_includes_default
4004 if ac_fn_c_try_compile
"$LINENO"; then :
4005 ac_cv_safe_to_define___extensions__
=yes
4007 ac_cv_safe_to_define___extensions__
=no
4009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4012 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4013 test $ac_cv_safe_to_define___extensions__ = yes &&
4014 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4016 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4018 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4020 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4022 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4026 libtool_VERSION
=1:0:0
4029 # 1.11.1: Require that version of automake.
4030 # foreign: Don't require README, INSTALL, NEWS, etc.
4031 # no-define: Don't define PACKAGE and VERSION.
4032 # no-dependencies: Don't generate automatic dependencies.
4033 # (because it breaks when using bootstrap-lean, since some of the
4034 # headers are gone at "make install" time).
4035 # -Wall: Issue all automake warnings.
4036 # -Wno-portability: Don't warn about constructs supported by GNU make.
4037 # (because GCC requires GNU make anyhow).
4038 am__api_version
='1.15'
4040 # Find a good install program. We prefer a C program (faster),
4041 # so one script is as good as another. But avoid the broken or
4042 # incompatible versions:
4043 # SysV /etc/install, /usr/sbin/install
4044 # SunOS /usr/etc/install
4045 # IRIX /sbin/install
4047 # AmigaOS /C/install, which installs bootblocks on floppy discs
4048 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4049 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4050 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4051 # OS/2's system install, which has a completely different semantic
4052 # ./install, which can be erroneously created by make from ./install.sh.
4053 # Reject install programs that cannot install multiple files.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4055 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4056 if test -z "$INSTALL"; then
4057 if ${ac_cv_path_install+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir
=.
4065 # Account for people who put trailing slashes in PATH elements.
4066 case $as_dir/ in #((
4067 .
/ | .
// |
/[cC
]/* | \
4068 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4069 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4072 # OSF1 and SCO ODT 3.0 have their own names for install.
4073 # Don't use installbsd from OSF since it installs stuff as root
4075 for ac_prog
in ginstall scoinst
install; do
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4078 if test $ac_prog = install &&
4079 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4080 # AIX install. It has an incompatible calling convention.
4082 elif test $ac_prog = install &&
4083 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4084 # program-specific install script used by HP pwplus--don't use.
4087 rm -rf conftest.one conftest.two conftest.dir
4088 echo one
> conftest.one
4089 echo two
> conftest.two
4091 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4092 test -s conftest.one
&& test -s conftest.two
&&
4093 test -s conftest.dir
/conftest.one
&&
4094 test -s conftest.dir
/conftest.two
4096 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4109 rm -rf conftest.one conftest.two conftest.dir
4112 if test "${ac_cv_path_install+set}" = set; then
4113 INSTALL
=$ac_cv_path_install
4115 # As a last resort, use the slow shell script. Don't cache a
4116 # value for INSTALL within a source directory, because that will
4117 # break other packages using the cache if that directory is
4118 # removed, or if the value is a relative name.
4119 INSTALL
=$ac_install_sh
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4123 $as_echo "$INSTALL" >&6; }
4125 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4126 # It thinks the first close brace ends the variable substitution.
4127 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4129 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4131 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4134 $as_echo_n "checking whether build environment is sane... " >&6; }
4135 # Reject unsafe characters in $srcdir or the absolute working directory
4136 # name. Accept space and tab only in the latter.
4140 *[\\\"\
#\$\&\'\`$am_lf]*)
4141 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4144 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4145 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4148 # Do 'set' in a subshell so we don't clobber the current shell's
4149 # arguments. Must try -L first in case configure is actually a
4150 # symlink; some systems play weird games with the mod time of symlinks
4151 # (eg FreeBSD returns the mod time of the symlink's containing
4155 for am_try
in 1 2; do
4156 echo "timestamp, slept: $am_has_slept" > conftest.
file
4157 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4158 if test "$*" = "X"; then
4160 set X
`ls -t "$srcdir/configure" conftest.file`
4162 if test "$*" != "X $srcdir/configure conftest.file" \
4163 && test "$*" != "X conftest.file $srcdir/configure"; then
4165 # If neither matched, then we have a broken ls. This can happen
4166 # if, for instance, CONFIG_SHELL is bash and it inherits a
4167 # broken ls alias from the environment. This has actually
4168 # happened. Such a system could not be considered "sane".
4169 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4170 alias in your environment" "$LINENO" 5
4172 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4179 test "$2" = conftest.
file
4185 as_fn_error $?
"newly created file is older than distributed files!
4186 Check your system clock" "$LINENO" 5
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4189 $as_echo "yes" >&6; }
4190 # If we didn't sleep, we still need to ensure time stamps of config.status and
4191 # generated files are strictly newer.
4193 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4200 test "$program_prefix" != NONE
&&
4201 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4202 # Use a double $ so make ignores it.
4203 test "$program_suffix" != NONE
&&
4204 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4205 # Double any \ or $.
4206 # By default was `s,x,x', remove it if useless.
4207 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4208 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4210 if test x
"${MISSING+set}" != xset
; then
4213 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4215 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4218 # Use eval to expand $SHELL
4219 if eval "$MISSING --is-lightweight"; then
4220 am_missing_run
="$MISSING "
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4224 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4227 if test x
"${install_sh+set}" != xset
; then
4230 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4232 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4236 # Installed binaries are usually stripped using 'strip' when the user
4237 # run "make install-strip". However 'strip' might not be the right
4238 # tool to use in cross-compilation environments, therefore Automake
4239 # will honor the 'STRIP' environment variable to overrule this program.
4240 if test "$cross_compiling" != no
; then
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4243 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_STRIP+:} false
; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$STRIP"; then
4250 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 STRIP
=$ac_cv_prog_STRIP
4270 if test -n "$STRIP"; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4272 $as_echo "$STRIP" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4280 if test -z "$ac_cv_prog_STRIP"; then
4282 # Extract the first word of "strip", so it can be a program name with args.
4283 set dummy strip
; ac_word
=$2
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285 $as_echo_n "checking for $ac_word... " >&6; }
4286 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -n "$ac_ct_STRIP"; then
4290 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_ac_ct_STRIP
="strip"
4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4310 if test -n "$ac_ct_STRIP"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4312 $as_echo "$ac_ct_STRIP" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4318 if test "x$ac_ct_STRIP" = x
; then
4321 case $cross_compiling:$ac_tool_warned in
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4325 ac_tool_warned
=yes ;;
4330 STRIP
="$ac_cv_prog_STRIP"
4334 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4337 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4338 if test -z "$MKDIR_P"; then
4339 if ${ac_cv_path_mkdir+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4343 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4346 test -z "$as_dir" && as_dir
=.
4347 for ac_prog
in mkdir gmkdir
; do
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4350 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4351 'mkdir (GNU coreutils) '* | \
4352 'mkdir (coreutils) '* | \
4353 'mkdir (fileutils) '4.1*)
4354 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4364 test -d .
/--version && rmdir .
/--version
4365 if test "${ac_cv_path_mkdir+set}" = set; then
4366 MKDIR_P
="$ac_cv_path_mkdir -p"
4368 # As a last resort, use the slow shell script. Don't cache a
4369 # value for MKDIR_P within a source directory, because that will
4370 # break other packages using the cache if that directory is
4371 # removed, or if the value is a relative name.
4372 MKDIR_P
="$ac_install_sh -d"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4376 $as_echo "$MKDIR_P" >&6; }
4378 for ac_prog
in gawk mawk nawk
awk
4380 # Extract the first word of "$ac_prog", so it can be a program name with args.
4381 set dummy
$ac_prog; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_prog_AWK+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$AWK"; then
4388 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir
=.
4395 for ac_exec_ext
in '' $ac_executable_extensions; do
4396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_prog_AWK
="$ac_prog"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 if test -n "$AWK"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4410 $as_echo "$AWK" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4417 test -n "$AWK" && break
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4423 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4424 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4425 $as_echo_n "(cached) " >&6
4427 cat >conftest.
make <<\_ACEOF
4430 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4432 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4433 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4435 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4437 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4441 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 $as_echo "yes" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4448 SET_MAKE
="MAKE=${MAKE-make}"
4451 rm -rf .tst
2>/dev
/null
4452 mkdir .tst
2>/dev
/null
4453 if test -d .tst
; then
4458 rmdir .tst
2>/dev
/null
4460 # Check whether --enable-silent-rules was given.
4461 if test "${enable_silent_rules+set}" = set; then :
4462 enableval
=$enable_silent_rules;
4465 case $enable_silent_rules in # (((
4466 yes) AM_DEFAULT_VERBOSITY
=0;;
4467 no
) AM_DEFAULT_VERBOSITY
=1;;
4468 *) AM_DEFAULT_VERBOSITY
=1;;
4470 am_make
=${MAKE-make}
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4472 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4473 if ${am_cv_make_support_nested_variables+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 if $as_echo 'TRUE=$(BAR$(V))
4482 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4483 am_cv_make_support_nested_variables
=yes
4485 am_cv_make_support_nested_variables
=no
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4489 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4490 if test $am_cv_make_support_nested_variables = yes; then
4492 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4494 AM_V
=$AM_DEFAULT_VERBOSITY
4495 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4499 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4500 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4501 # is not polluted with repeated "-I."
4502 am__isrc
=' -I$(srcdir)'
4503 # test to see if srcdir already configured
4504 if test -f $srcdir/config.status
; then
4505 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4509 # test whether we have cygpath
4510 if test -z "$CYGPATH_W"; then
4511 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4512 CYGPATH_W
='cygpath -w'
4519 # Define the identity of the package.
4520 PACKAGE
='libbacktrace'
4521 VERSION
='version-unused'
4524 # Some tools Automake needs.
4526 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4529 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4532 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4535 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4538 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4540 # For better backward compatibility. To be removed once Automake 1.9.x
4541 # dies out for good. For more background, see:
4542 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4543 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4544 mkdir_p
='$(MKDIR_P)'
4546 # We need awk for the "check" target (and possibly the TAP driver). The
4547 # system "awk" is bad on some platforms.
4548 # Always define AMTAR for backward compatibility. Yes, it's still used
4549 # in the wild :-( We should find a proper way to deprecate it ...
4553 # We'll loop over all known methods to create a tar archive until one works.
4554 _am_tools
='gnutar pax cpio none'
4556 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4563 # POSIX will say in a future version that running "rm -f" with no argument
4564 # is OK; and we want to be able to make that assumption in our Makefile
4565 # recipes. So use an aggressive probe to check that the usage we want is
4566 # actually supported "in the wild" to an acceptable degree.
4567 # See automake bug#10828.
4568 # To make any issue more visible, cause the running configure to be aborted
4569 # by default if the 'rm' program in use doesn't match our expectations; the
4570 # user can still override this though.
4571 if rm -f && rm -fr && rm -rf; then : OK
; else
4575 Your 'rm' program seems unable to run without file operands specified
4576 on the command line, even when the '-f' option is present. This is contrary
4577 to the behaviour of most rm programs out there, and not conforming with
4578 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4580 Please tell bug-automake@gnu.org about your system, including the value
4581 of your $PATH and any error possibly output before this message. This
4582 can help us improve future automake versions.
4585 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4586 echo 'Configuration will proceed anyway, since you have set the' >&2
4587 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4591 Aborting the configuration process, to ensure you take notice of the issue.
4593 You can download and install GNU coreutils to get an 'rm' implementation
4594 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4596 If you want to complete the configuration process using your problematic
4597 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4598 to "yes", and re-run configure.
4601 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4608 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4609 # Check whether --enable-maintainer-mode was given.
4610 if test "${enable_maintainer_mode+set}" = set; then :
4611 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4613 USE_MAINTAINER_MODE
=no
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4617 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4618 if test $USE_MAINTAINER_MODE = yes; then
4619 MAINTAINER_MODE_TRUE
=
4620 MAINTAINER_MODE_FALSE
='#'
4622 MAINTAINER_MODE_TRUE
='#'
4623 MAINTAINER_MODE_FALSE
=
4626 MAINT
=$MAINTAINER_MODE_TRUE
4631 # Check whether --with-target-subdir was given.
4632 if test "${with_target_subdir+set}" = set; then :
4633 withval
=$with_target_subdir;
4637 # We must force CC to /not/ be precious variables; otherwise
4638 # the wrong, non-multilib-adjusted value will be used in multilibs.
4639 # As a side effect, we have to subst CFLAGS ourselves.
4643 ac_cpp
='$CPP $CPPFLAGS'
4644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4647 if test -n "$ac_tool_prefix"; then
4648 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4649 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_CC+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$CC"; then
4656 ac_cv_prog_CC
="$CC" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$CC"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4678 $as_echo "$CC" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4686 if test -z "$ac_cv_prog_CC"; then
4688 # Extract the first word of "gcc", so it can be a program name with args.
4689 set dummy gcc
; ac_word
=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 if test -n "$ac_ct_CC"; then
4696 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_CC
="gcc"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4716 if test -n "$ac_ct_CC"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4718 $as_echo "$ac_ct_CC" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4724 if test "x$ac_ct_CC" = x
; then
4727 case $cross_compiling:$ac_tool_warned in
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731 ac_tool_warned
=yes ;;
4739 if test -z "$CC"; then
4740 if test -n "$ac_tool_prefix"; then
4741 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4742 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 $as_echo_n "checking for $ac_word... " >&6; }
4745 if ${ac_cv_prog_CC+:} false
; then :
4746 $as_echo_n "(cached) " >&6
4748 if test -n "$CC"; then
4749 ac_cv_prog_CC
="$CC" # Let the user override the test.
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_exec_ext
in '' $ac_executable_extensions; do
4757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 if test -n "$CC"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4771 $as_echo "$CC" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4780 if test -z "$CC"; then
4781 # Extract the first word of "cc", so it can be a program name with args.
4782 set dummy cc
; ac_word
=$2
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4784 $as_echo_n "checking for $ac_word... " >&6; }
4785 if ${ac_cv_prog_CC+:} false
; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -n "$CC"; then
4789 ac_cv_prog_CC
="$CC" # Let the user override the test.
4792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir
=.
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4800 ac_prog_rejected
=yes
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 if test $ac_prog_rejected = yes; then
4812 # We found a bogon in the path, so make sure we never use it.
4813 set dummy
$ac_cv_prog_CC
4815 if test $# != 0; then
4816 # We chose a different compiler from the bogus one.
4817 # However, it has the same basename, so the bogon will be chosen
4818 # first if we set CC to just the basename; use the full file name.
4820 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4826 if test -n "$CC"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4828 $as_echo "$CC" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4836 if test -z "$CC"; then
4837 if test -n "$ac_tool_prefix"; then
4838 for ac_prog
in cl.exe
4840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4841 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_CC+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$CC"; then
4848 ac_cv_prog_CC
="$CC" # Let the user override the test.
4850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir
=.
4855 for ac_exec_ext
in '' $ac_executable_extensions; do
4856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 if test -n "$CC"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4870 $as_echo "$CC" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$CC" && break
4880 if test -z "$CC"; then
4882 for ac_prog
in cl.exe
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy
$ac_prog; ac_word
=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$ac_ct_CC"; then
4892 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir
=.
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_ac_ct_CC
="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4912 if test -n "$ac_ct_CC"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4914 $as_echo "$ac_ct_CC" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$ac_ct_CC" && break
4924 if test "x$ac_ct_CC" = x
; then
4927 case $cross_compiling:$ac_tool_warned in
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned
=yes ;;
4940 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4942 as_fn_error $?
"no acceptable C compiler found in \$PATH
4943 See \`config.log' for more details" "$LINENO" 5; }
4945 # Provide some information about the compiler.
4946 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4949 for ac_option
in --version -v -V -qversion; do
4950 { { ac_try
="$ac_compiler $ac_option >&5"
4952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4953 *) ac_try_echo=$ac_try;;
4955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4956 $as_echo "$ac_try_echo"; } >&5
4957 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4959 if test -s conftest.err; then
4961 ... rest of stderr output deleted ...
4962 10q' conftest.err >conftest.er1
4963 cat conftest.er1 >&5
4965 rm -f conftest.er1 conftest.err
4966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4967 test $ac_status = 0; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4972 if ${ac_cv_c_compiler_gnu+:} false; then :
4973 $as_echo_n "(cached) " >&6
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4989 if ac_fn_c_try_compile "$LINENO"; then :
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4999 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5000 if test $ac_compiler_gnu = yes; then
5005 ac_test_CFLAGS=${CFLAGS+set}
5006 ac_save_CFLAGS=$CFLAGS
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5008 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5009 if ${ac_cv_prog_cc_g+:} false; then :
5010 $as_echo_n "(cached) " >&6
5012 ac_save_c_werror_flag=$ac_c_werror_flag
5013 ac_c_werror_flag=yes
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5027 if ac_fn_c_try_compile "$LINENO"; then :
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5042 if ac_fn_c_try_compile "$LINENO"; then :
5045 ac_c_werror_flag=$ac_save_c_werror_flag
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5058 if ac_fn_c_try_compile "$LINENO"; then :
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5066 ac_c_werror_flag=$ac_save_c_werror_flag
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5069 $as_echo "$ac_cv_prog_cc_g" >&6; }
5070 if test "$ac_test_CFLAGS" = set; then
5071 CFLAGS=$ac_save_CFLAGS
5072 elif test $ac_cv_prog_cc_g = yes; then
5073 if test "$GCC" = yes; then
5079 if test "$GCC" = yes; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5087 if ${ac_cv_prog_cc_c89+:} false; then :
5088 $as_echo_n "(cached) " >&6
5090 ac_cv_prog_cc_c89=no
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5097 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5098 struct buf { int x; };
5099 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5100 static char *e (p, i)
5106 static char *f (char * (*g) (char **, int), char **p, ...)
5111 s = g (p, va_arg (v,int));
5116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5117 function prototypes and stuff, but not '\xHH' hex character constants.
5118 These don't provoke an error unfortunately, instead are silently treated
5119 as 'x'. The following induces an error, until -std is added to get
5120 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5121 array size at least. It's necessary to write '\x00'==0 to get something
5122 that's true only with -std. */
5123 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5126 inside strings and character constants. */
5128 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5130 int test (int i, double x);
5131 struct s1 {int (*f) (int a);};
5132 struct s2 {int (*f) (double a);};
5133 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5139 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5145 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5147 CC="$ac_save_CC $ac_arg"
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 ac_cv_prog_cc_c89=$ac_arg
5151 rm -f core conftest.err conftest.$ac_objext
5152 test "x$ac_cv_prog_cc_c89" != "xno" && break
5154 rm -f conftest.$ac_ext
5159 case "x$ac_cv_prog_cc_c89" in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5162 $as_echo "none needed" >&6; } ;;
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5165 $as_echo "unsupported" >&6; } ;;
5167 CC="$CC $ac_cv_prog_cc_c89"
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5169 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5171 if test "x$ac_cv_prog_cc_c89" != xno; then :
5176 ac_cpp='$CPP $CPPFLAGS'
5177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5182 ac_cpp='$CPP $CPPFLAGS'
5183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5187 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5188 if ${am_cv_prog_cc_c_o+:} false; then :
5189 $as_echo_n "(cached) " >&6
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5202 # Make sure it works both with $CC and with simple cc.
5203 # Following AC_PROG_CC_C_O, we do the test twice because some
5204 # compilers refuse to overwrite an existing .o file with -o,
5205 # though they will create one.
5206 am_cv_prog_cc_c_o=yes
5208 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5209 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } \
5213 && test -f conftest2.$ac_objext; then
5216 am_cv_prog_cc_c_o=no
5220 rm -f core conftest*
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5224 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5225 if test "$am_cv_prog_cc_c_o" != yes; then
5226 # Losing compiler, so override with the script.
5227 # FIXME: It is wrong to rewrite CC.
5228 # But if we don't then we get into trouble of one sort or another.
5229 # A longer-term fix would be to have automake use am__CC in this case,
5230 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5231 CC="$am_aux_dir/compile $CC"
5234 ac_cpp='$CPP $CPPFLAGS'
5235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5244 if test -n "$ac_tool_prefix"; then
5245 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_RANLIB+:} false; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$RANLIB"; then
5253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 RANLIB=$ac_cv_prog_RANLIB
5273 if test -n "$RANLIB"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5275 $as_echo "$RANLIB" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test -z "$ac_cv_prog_RANLIB"; then
5284 ac_ct_RANLIB=$RANLIB
5285 # Extract the first word of "ranlib", so it can be a program name with args.
5286 set dummy ranlib; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5290 $as_echo_n "(cached) " >&6
5292 if test -n "$ac_ct_RANLIB"; then
5293 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_ac_ct_RANLIB="ranlib"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5313 if test -n "$ac_ct_RANLIB"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5315 $as_echo "$ac_ct_RANLIB" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5321 if test "x$ac_ct_RANLIB" = x; then
5324 case $cross_compiling:$ac_tool_warned in
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5330 RANLIB=$ac_ct_RANLIB
5333 RANLIB="$ac_cv_prog_RANLIB"
5337 for ac_prog in gawk mawk nawk awk
5339 # Extract the first word of "$ac_prog", so it can be a program name with args.
5340 set dummy $ac_prog; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_AWK+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$AWK"; then
5347 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_AWK="$ac_prog"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 if test -n "$AWK"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5369 $as_echo "$AWK" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5376 test -n "$AWK" && break
5380 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
5383 # Extract the first word of "dwz", so it can be a program name with args.
5384 set dummy dwz; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_DWZ+:} false; then :
5388 $as_echo_n "(cached) " >&6
5390 if test -n "$DWZ"; then
5391 ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_DWZ="dwz"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 if test -n "$DWZ"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
5413 $as_echo "$DWZ" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5420 if test "$DWZ" != ""; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5432 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5437 macro_version='2.2.7a'
5438 macro_revision='1.3134'
5452 ltmain="$ac_aux_dir/ltmain.sh"
5454 # Backslashify metacharacters that are still active within
5455 # double-quoted strings.
5456 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5458 # Same as above, but do not quote variable references.
5459 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5461 # Sed substitution to delay expansion of an escaped shell variable in a
5462 # double_quote_subst'ed string.
5463 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5465 # Sed substitution to delay expansion of an escaped single quote.
5466 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5468 # Sed substitution to avoid accidental globbing in evaled expressions
5469 no_glob_subst='s/\*/\\\*/g'
5471 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5472 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5473 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5476 $as_echo_n "checking how to print
strings...
" >&6; }
5477 # Test print first, because it will be a builtin if present.
5478 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5479 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5481 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5484 # Use this function as a fallback that always works.
5485 func_fallback_echo ()
5487 eval 'cat <<_LTECHO_EOF
5491 ECHO='func_fallback_echo'
5494 # func_echo_all arg...
5495 # Invoke $ECHO with all args, space-separated.
5502 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5503 $as_echo "printf" >&6; } ;;
5504 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5505 $as_echo "print
-r" >&6; } ;;
5506 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5507 $as_echo "cat" >&6; } ;;
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5524 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5525 if ${ac_cv_path_SED+:} false; then :
5526 $as_echo_n "(cached
) " >&6
5528 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5529 for ac_i in 1 2 3 4 5 6 7; do
5530 ac_script="$ac_script$as_nl$ac_script"
5532 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5533 { ac_script=; unset ac_script;}
5534 if test -z "$SED"; then
5535 ac_path_SED_found=false
5536 # Loop through the user's path and test for each of PROGNAME-LIST
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir=.
5542 for ac_prog in sed gsed; do
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5545 as_fn_executable_p "$ac_path_SED" || continue
5546 # Check for GNU ac_path_SED and select it if it is found.
5547 # Check for GNU $ac_path_SED
5548 case `"$ac_path_SED" --version 2>&1` in
5550 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5553 $as_echo_n 0123456789 >"conftest.
in"
5556 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5557 mv "conftest.tmp
" "conftest.
in"
5558 cp "conftest.
in" "conftest.
nl"
5559 $as_echo '' >> "conftest.
nl"
5560 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5561 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5562 as_fn_arith $ac_count + 1 && ac_count=$as_val
5563 if test $ac_count -gt ${ac_path_SED_max-0}; then
5564 # Best one so far, save it but keep looking for a better one
5565 ac_cv_path_SED="$ac_path_SED"
5566 ac_path_SED_max=$ac_count
5568 # 10*(2^10) chars as input seems more than enough
5569 test $ac_count -gt 10 && break
5571 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5574 $ac_path_SED_found && break 3
5579 if test -z "$ac_cv_path_SED"; then
5580 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5588 $as_echo "$ac_cv_path_SED" >&6; }
5589 SED="$ac_cv_path_SED"
5592 test -z "$SED" && SED=sed
5593 Xsed="$SED -e 1s
/^X
//"
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5606 $as_echo_n "checking
for fgrep...
" >&6; }
5607 if ${ac_cv_path_FGREP+:} false; then :
5608 $as_echo_n "(cached
) " >&6
5610 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5611 then ac_cv_path_FGREP="$GREP -F"
5613 if test -z "$FGREP"; then
5614 ac_path_FGREP_found=false
5615 # Loop through the user's path and test for each of PROGNAME-LIST
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5620 test -z "$as_dir" && as_dir=.
5621 for ac_prog in fgrep; do
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5624 as_fn_executable_p "$ac_path_FGREP" || continue
5625 # Check for GNU ac_path_FGREP and select it if it is found.
5626 # Check for GNU $ac_path_FGREP
5627 case `"$ac_path_FGREP" --version 2>&1` in
5629 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5632 $as_echo_n 0123456789 >"conftest.
in"
5635 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5636 mv "conftest.tmp
" "conftest.
in"
5637 cp "conftest.
in" "conftest.
nl"
5638 $as_echo 'FGREP' >> "conftest.
nl"
5639 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5640 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5641 as_fn_arith $ac_count + 1 && ac_count=$as_val
5642 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5643 # Best one so far, save it but keep looking for a better one
5644 ac_cv_path_FGREP="$ac_path_FGREP"
5645 ac_path_FGREP_max=$ac_count
5647 # 10*(2^10) chars as input seems more than enough
5648 test $ac_count -gt 10 && break
5650 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5653 $ac_path_FGREP_found && break 3
5658 if test -z "$ac_cv_path_FGREP"; then
5659 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5662 ac_cv_path_FGREP=$FGREP
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5668 $as_echo "$ac_cv_path_FGREP" >&6; }
5669 FGREP="$ac_cv_path_FGREP"
5672 test -z "$GREP" && GREP=grep
5692 # Check whether --with-gnu-ld was given.
5693 if test "${with_gnu_ld+set}" = set; then :
5694 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5700 if test "$GCC" = yes; then
5701 # Check if gcc -print-prog-name=ld gives a path.
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5703 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5706 # gcc leaves a trailing carriage return which upsets mingw
5707 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5709 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5712 # Accept absolute paths.
5714 re_direlt='/[^/][^/]*/\.\./'
5715 # Canonicalize the pathname of ld
5716 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5717 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5718 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5720 test -z "$LD" && LD="$ac_prog"
5723 # If it fails, then pretend we aren't using GCC.
5727 # If it is relative, then search for the first ld in PATH.
5731 elif test "$with_gnu_ld" = yes; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5733 $as_echo_n "checking
for GNU ld...
" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5736 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5738 if ${lt_cv_path_LD+:} false; then :
5739 $as_echo_n "(cached
) " >&6
5741 if test -z "$LD"; then
5742 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5743 for ac_dir in $PATH; do
5745 test -z "$ac_dir" && ac_dir=.
5746 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5747 lt_cv_path_LD="$ac_dir/$ac_prog"
5748 # Check to see if the program is GNU ld. I'd rather use --version,
5749 # but apparently some variants of GNU ld only accept -v.
5750 # Break only if it was the GNU/non-GNU ld that we prefer.
5751 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5752 *GNU* | *'with BFD'*)
5753 test "$with_gnu_ld" != no && break
5756 test "$with_gnu_ld" != yes && break
5763 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5768 if test -n "$LD"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5770 $as_echo "$LD" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5773 $as_echo "no
" >&6; }
5775 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5777 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5778 if ${lt_cv_prog_gnu_ld+:} false; then :
5779 $as_echo_n "(cached
) " >&6
5781 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5782 case `$LD -v 2>&1 </dev/null` in
5783 *GNU* | *'with BFD'*)
5784 lt_cv_prog_gnu_ld=yes
5787 lt_cv_prog_gnu_ld=no
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5792 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5793 with_gnu_ld=$lt_cv_prog_gnu_ld
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5804 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5805 if ${lt_cv_path_NM+:} false; then :
5806 $as_echo_n "(cached
) " >&6
5808 if test -n "$NM"; then
5809 # Let the user override the test.
5812 lt_nm_to_check="${ac_tool_prefix}nm
"
5813 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5814 lt_nm_to_check="$lt_nm_to_check nm
"
5816 for lt_tmp_nm in $lt_nm_to_check; do
5817 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5818 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5820 test -z "$ac_dir" && ac_dir=.
5821 tmp_nm="$ac_dir/$lt_tmp_nm"
5822 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5823 # Check to see if the nm accepts a BSD-compat flag.
5824 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5825 # nm: unknown option "B
" ignored
5826 # Tru64's nm complains that /dev/null is an invalid object file
5827 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5828 */dev/null* | *'Invalid file or object type'*)
5829 lt_cv_path_NM="$tmp_nm -B"
5833 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5835 lt_cv_path_NM="$tmp_nm -p"
5839 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5840 continue # so that we can try to find one that supports BSD flags
5849 : ${lt_cv_path_NM=no}
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5853 $as_echo "$lt_cv_path_NM" >&6; }
5854 if test "$lt_cv_path_NM" != "no
"; then
5857 # Didn't find any BSD compatible name lister, look for dumpbin.
5858 if test -n "$DUMPBIN"; then :
5859 # Let the user override the test.
5861 if test -n "$ac_tool_prefix"; then
5862 for ac_prog in dumpbin "link
-dump"
5864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5865 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5867 $as_echo_n "checking
for $ac_word...
" >&6; }
5868 if ${ac_cv_prog_DUMPBIN+:} false; then :
5869 $as_echo_n "(cached
) " >&6
5871 if test -n "$DUMPBIN"; then
5872 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5891 DUMPBIN=$ac_cv_prog_DUMPBIN
5892 if test -n "$DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5894 $as_echo "$DUMPBIN" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5897 $as_echo "no
" >&6; }
5901 test -n "$DUMPBIN" && break
5904 if test -z "$DUMPBIN"; then
5905 ac_ct_DUMPBIN=$DUMPBIN
5906 for ac_prog in dumpbin "link
-dump"
5908 # Extract the first word of "$ac_prog", so it can be a program name with args.
5909 set dummy $ac_prog; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5911 $as_echo_n "checking
for $ac_word...
" >&6; }
5912 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5913 $as_echo_n "(cached
) " >&6
5915 if test -n "$ac_ct_DUMPBIN"; then
5916 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5935 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5936 if test -n "$ac_ct_DUMPBIN"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5938 $as_echo "$ac_ct_DUMPBIN" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5941 $as_echo "no
" >&6; }
5945 test -n "$ac_ct_DUMPBIN" && break
5948 if test "x
$ac_ct_DUMPBIN" = x; then
5951 case $cross_compiling:$ac_tool_warned in
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5955 ac_tool_warned=yes ;;
5957 DUMPBIN=$ac_ct_DUMPBIN
5961 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5963 DUMPBIN="$DUMPBIN -symbols"
5971 if test "$DUMPBIN" != ":"; then
5975 test -z "$NM" && NM=nm
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5983 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5984 if ${lt_cv_nm_interface+:} false; then :
5985 $as_echo_n "(cached
) " >&6
5987 lt_cv_nm_interface="BSD nm
"
5988 echo "int some_variable
= 0;" > conftest.$ac_ext
5989 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5990 (eval "$ac_compile" 2>conftest.err)
5991 cat conftest.err >&5
5992 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5993 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5994 cat conftest.err >&5
5995 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5996 cat conftest.out >&5
5997 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5998 lt_cv_nm_interface="MS dumpbin
"
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6003 $as_echo "$lt_cv_nm_interface" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6006 $as_echo_n "checking whether
ln -s works...
" >&6; }
6008 if test "$LN_S" = "ln -s"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6010 $as_echo "yes" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6013 $as_echo "no
, using
$LN_S" >&6; }
6016 # find the maximum length of command line arguments
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6018 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6019 if ${lt_cv_sys_max_cmd_len+:} false; then :
6020 $as_echo_n "(cached
) " >&6
6027 # On DJGPP, this test can blow up pretty badly due to problems in libc
6028 # (any single argument exceeding 2000 bytes causes a buffer overrun
6029 # during glob expansion). Even if it were fixed, the result of this
6030 # check would be larger than it should be.
6031 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6035 # Under GNU Hurd, this test is not required because there is
6036 # no limit to the length of command line arguments.
6037 # Libtool will interpret -1 as no limit whatsoever
6038 lt_cv_sys_max_cmd_len=-1;
6041 cygwin* | mingw* | cegcc*)
6042 # On Win9x/ME, this test blows up -- it succeeds, but takes
6043 # about 5 minutes as the teststring grows exponentially.
6044 # Worse, since 9x/ME are not pre-emptively multitasking,
6045 # you end up with a "frozen
" computer, even though with patience
6046 # the test eventually succeeds (with a max line length of 256k).
6047 # Instead, let's just punt: use the minimum linelength reported by
6048 # all of the supported platforms: 8192 (on NT/2K/XP).
6049 lt_cv_sys_max_cmd_len=8192;
6053 # On MiNT this can take a long time and run out of memory.
6054 lt_cv_sys_max_cmd_len=8192;
6058 # On AmigaOS with pdksh, this test takes hours, literally.
6059 # So we just punt and use a minimum line length of 8192.
6060 lt_cv_sys_max_cmd_len=8192;
6063 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6064 # This has been around since 386BSD, at least. Likely further.
6065 if test -x /sbin/sysctl; then
6066 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6067 elif test -x /usr/sbin/sysctl; then
6068 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6070 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6072 # And add a safety zone
6073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6074 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6078 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6079 lt_cv_sys_max_cmd_len=196608
6083 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6084 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6085 # nice to cause kernel panics so lets avoid the loop below.
6086 # First set a reasonable default.
6087 lt_cv_sys_max_cmd_len=16384
6089 if test -x /sbin/sysconfig; then
6090 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6091 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6096 lt_cv_sys_max_cmd_len=102400
6098 sysv5* | sco5v6* | sysv4.2uw2*)
6099 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6100 if test -n "$kargmax"; then
6101 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6103 lt_cv_sys_max_cmd_len=32768
6107 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6108 if test -n "$lt_cv_sys_max_cmd_len"; then
6109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6112 # Make teststring a little bigger before we do anything with it.
6113 # a 1K string should be a reasonable start.
6114 for i in 1 2 3 4 5 6 7 8 ; do
6115 teststring=$teststring$teststring
6117 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6118 # If test is not a shell built-in, we'll probably end up computing a
6119 # maximum length that is only half of the actual maximum length, but
6121 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6122 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6123 test $i != 17 # 1/2 MB should be enough
6126 teststring=$teststring$teststring
6128 # Only check the string length outside the loop.
6129 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6131 # Add a significant safety factor because C++ compilers can tack on
6132 # massive amounts of additional arguments before passing them to the
6133 # linker. It appears as though 1/2 is a usable value.
6134 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6141 if test -n $lt_cv_sys_max_cmd_len ; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6143 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6146 $as_echo "none
" >&6; }
6148 max_cmd_len=$lt_cv_sys_max_cmd_len
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6160 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6161 # Try some XSI features
6164 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6166 && eval 'test $(( 1 + 1 )) -eq 2 \
6167 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6170 $as_echo "$xsi_shell" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6174 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6176 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6178 && lt_shell_append
=yes
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6180 $as_echo "$lt_shell_append" >&6; }
6183 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6193 # test EBCDIC or ASCII
6194 case `echo X|tr X '\101'` in
6195 A
) # ASCII based system
6196 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6197 lt_SP2NL
='tr \040 \012'
6198 lt_NL2SP
='tr \015\012 \040\040'
6200 *) # EBCDIC based system
6201 lt_SP2NL
='tr \100 \n'
6202 lt_NL2SP
='tr \r\n \100\100'
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6215 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6216 if ${lt_cv_ld_reload_flag+:} false
; then :
6217 $as_echo_n "(cached) " >&6
6219 lt_cv_ld_reload_flag
='-r'
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6222 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6223 reload_flag
=$lt_cv_ld_reload_flag
6224 case $reload_flag in
6226 *) reload_flag
=" $reload_flag" ;;
6228 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6231 if test "$GCC" = yes; then
6232 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6234 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6249 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6251 $as_echo_n "checking for $ac_word... " >&6; }
6252 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6253 $as_echo_n "(cached) " >&6
6255 if test -n "$OBJDUMP"; then
6256 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir
=.
6263 for ac_exec_ext
in '' $ac_executable_extensions; do
6264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6265 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275 OBJDUMP
=$ac_cv_prog_OBJDUMP
6276 if test -n "$OBJDUMP"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6278 $as_echo "$OBJDUMP" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6286 if test -z "$ac_cv_prog_OBJDUMP"; then
6287 ac_ct_OBJDUMP
=$OBJDUMP
6288 # Extract the first word of "objdump", so it can be a program name with args.
6289 set dummy objdump
; ac_word
=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6293 $as_echo_n "(cached) " >&6
6295 if test -n "$ac_ct_OBJDUMP"; then
6296 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir
=.
6303 for ac_exec_ext
in '' $ac_executable_extensions; do
6304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6305 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6316 if test -n "$ac_ct_OBJDUMP"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6318 $as_echo "$ac_ct_OBJDUMP" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6324 if test "x$ac_ct_OBJDUMP" = x
; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6331 ac_tool_warned
=yes ;;
6333 OBJDUMP
=$ac_ct_OBJDUMP
6336 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6339 test -z "$OBJDUMP" && OBJDUMP
=objdump
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6350 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6351 if ${lt_cv_deplibs_check_method+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6355 lt_cv_file_magic_test_file
=
6356 lt_cv_deplibs_check_method
='unknown'
6357 # Need to set the preceding variable on all platforms that support
6358 # interlibrary dependencies.
6359 # 'none' -- dependencies not supported.
6360 # `unknown' -- same as none, but documents that we really don't know.
6361 # 'pass_all' -- all dependencies passed with no checks.
6362 # 'test_compile' -- check by making test program.
6363 # 'file_magic [[regex]]' -- check by looking for files in library path
6364 # which responds to the $file_magic_cmd with a given extended regex.
6365 # If you have `file' or equivalent on your system and you're not sure
6366 # whether `pass_all' will *always* work, you probably want this one.
6370 lt_cv_deplibs_check_method
=pass_all
6374 lt_cv_deplibs_check_method
=pass_all
6378 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6379 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6380 lt_cv_file_magic_test_file
=/shlib
/libc.so
6384 # func_win32_libid is a shell function defined in ltmain.sh
6385 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6386 lt_cv_file_magic_cmd
='func_win32_libid'
6390 # Base MSYS/MinGW do not provide the 'file' command needed by
6391 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6392 # unless we find 'file', for example because we are cross-compiling.
6393 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6394 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6395 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6396 lt_cv_file_magic_cmd
='func_win32_libid'
6398 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6399 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6404 # use the weaker test based on 'objdump'. See mingw*.
6405 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6406 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6409 darwin
* | rhapsody
*)
6410 lt_cv_deplibs_check_method
=pass_all
6413 freebsd
* | dragonfly
*)
6414 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6417 # Not sure whether the presence of OpenBSD here was a mistake.
6418 # Let's accept both of them until this is cleared up.
6419 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6420 lt_cv_file_magic_cmd
=/usr
/bin
/file
6421 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6425 lt_cv_deplibs_check_method
=pass_all
6430 lt_cv_deplibs_check_method
=pass_all
6434 lt_cv_deplibs_check_method
=pass_all
6437 hpux10.20
* | hpux11
*)
6438 lt_cv_file_magic_cmd
=/usr
/bin
/file
6441 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6442 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6445 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]'
6446 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6449 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6450 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6456 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6457 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6460 irix5
* | irix6
* | nonstopux
*)
6462 *-32|
*"-32 ") libmagic
=32-bit;;
6463 *-n32|
*"-n32 ") libmagic
=N32
;;
6464 *-64|
*"-64 ") libmagic
=64-bit;;
6465 *) libmagic
=never-match
;;
6467 lt_cv_deplibs_check_method
=pass_all
6470 # This must be Linux ELF.
6471 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
6472 lt_cv_deplibs_check_method
=pass_all
6476 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6477 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6479 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6484 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6485 lt_cv_file_magic_cmd
=/usr
/bin
/file
6486 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6490 lt_cv_deplibs_check_method
=pass_all
6494 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6495 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6497 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6501 osf3
* | osf4
* | osf5
*)
6502 lt_cv_deplibs_check_method
=pass_all
6506 lt_cv_deplibs_check_method
=pass_all
6510 lt_cv_deplibs_check_method
=pass_all
6513 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6514 lt_cv_deplibs_check_method
=pass_all
6518 case $host_vendor in
6520 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]'
6521 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6524 lt_cv_deplibs_check_method
=pass_all
6527 lt_cv_file_magic_cmd
='/bin/file'
6528 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6531 lt_cv_file_magic_cmd
='/bin/file'
6532 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6533 lt_cv_file_magic_test_file
=/lib
/libc.so
6536 lt_cv_deplibs_check_method
=pass_all
6539 lt_cv_deplibs_check_method
=pass_all
6545 lt_cv_deplibs_check_method
=pass_all
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6551 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6552 file_magic_cmd
=$lt_cv_file_magic_cmd
6553 deplibs_check_method
=$lt_cv_deplibs_check_method
6554 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6567 if test -n "$ac_tool_prefix"; then
6568 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6569 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571 $as_echo_n "checking for $ac_word... " >&6; }
6572 if ${ac_cv_prog_AR+:} false
; then :
6573 $as_echo_n "(cached) " >&6
6575 if test -n "$AR"; then
6576 ac_cv_prog_AR
="$AR" # Let the user override the test.
6578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6582 test -z "$as_dir" && as_dir
=.
6583 for ac_exec_ext
in '' $ac_executable_extensions; do
6584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6585 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 if test -n "$AR"; then
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6598 $as_echo "$AR" >&6; }
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 $as_echo "no" >&6; }
6606 if test -z "$ac_cv_prog_AR"; then
6608 # Extract the first word of "ar", so it can be a program name with args.
6609 set dummy
ar; ac_word
=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6613 $as_echo_n "(cached) " >&6
6615 if test -n "$ac_ct_AR"; then
6616 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6622 test -z "$as_dir" && as_dir
=.
6623 for ac_exec_ext
in '' $ac_executable_extensions; do
6624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6625 ac_cv_prog_ac_ct_AR
="ar"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6636 if test -n "$ac_ct_AR"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6638 $as_echo "$ac_ct_AR" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6644 if test "x$ac_ct_AR" = x
; then
6647 case $cross_compiling:$ac_tool_warned in
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6651 ac_tool_warned
=yes ;;
6659 test -z "$AR" && AR
=ar
6660 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6672 if test -n "$ac_tool_prefix"; then
6673 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6674 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_STRIP+:} false
; then :
6678 $as_echo_n "(cached) " >&6
6680 if test -n "$STRIP"; then
6681 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir
=.
6688 for ac_exec_ext
in '' $ac_executable_extensions; do
6689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 STRIP
=$ac_cv_prog_STRIP
6701 if test -n "$STRIP"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6703 $as_echo "$STRIP" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6711 if test -z "$ac_cv_prog_STRIP"; then
6713 # Extract the first word of "strip", so it can be a program name with args.
6714 set dummy strip
; ac_word
=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6718 $as_echo_n "(cached) " >&6
6720 if test -n "$ac_ct_STRIP"; then
6721 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_ac_ct_STRIP
="strip"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6741 if test -n "$ac_ct_STRIP"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6743 $as_echo "$ac_ct_STRIP" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6749 if test "x$ac_ct_STRIP" = x
; then
6752 case $cross_compiling:$ac_tool_warned in
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756 ac_tool_warned
=yes ;;
6761 STRIP
="$ac_cv_prog_STRIP"
6764 test -z "$STRIP" && STRIP
=:
6771 if test -n "$ac_tool_prefix"; then
6772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6773 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_RANLIB+:} false
; then :
6777 $as_echo_n "(cached) " >&6
6779 if test -n "$RANLIB"; then
6780 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir
=.
6787 for ac_exec_ext
in '' $ac_executable_extensions; do
6788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799 RANLIB
=$ac_cv_prog_RANLIB
6800 if test -n "$RANLIB"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6802 $as_echo "$RANLIB" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6810 if test -z "$ac_cv_prog_RANLIB"; then
6811 ac_ct_RANLIB
=$RANLIB
6812 # Extract the first word of "ranlib", so it can be a program name with args.
6813 set dummy ranlib
; ac_word
=$2
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 $as_echo_n "checking for $ac_word... " >&6; }
6816 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6817 $as_echo_n "(cached) " >&6
6819 if test -n "$ac_ct_RANLIB"; then
6820 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6826 test -z "$as_dir" && as_dir
=.
6827 for ac_exec_ext
in '' $ac_executable_extensions; do
6828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6829 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6840 if test -n "$ac_ct_RANLIB"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6842 $as_echo "$ac_ct_RANLIB" >&6; }
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6845 $as_echo "no" >&6; }
6848 if test "x$ac_ct_RANLIB" = x
; then
6851 case $cross_compiling:$ac_tool_warned in
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6855 ac_tool_warned
=yes ;;
6857 RANLIB
=$ac_ct_RANLIB
6860 RANLIB
="$ac_cv_prog_RANLIB"
6863 test -z "$RANLIB" && RANLIB
=:
6870 # Determine commands to create old-style static archives.
6871 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6872 old_postinstall_cmds
='chmod 644 $oldlib'
6873 old_postuninstall_cmds
=
6875 if test -n "$RANLIB"; then
6878 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6881 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6884 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6889 lock_old_archive_extraction
=yes ;;
6891 lock_old_archive_extraction
=no
;;
6932 # If no C compiler was specified, use CC.
6935 # If no C compiler flags were specified, use CFLAGS.
6936 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6938 # Allow CC to be a program name with arguments.
6942 # Check for command to grab the raw symbol name followed by C symbol from nm.
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6944 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6945 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6946 $as_echo_n "(cached) " >&6
6949 # These are sane defaults that work on at least a few old systems.
6950 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6952 # Character class describing NM global symbol codes.
6953 symcode
='[BCDEGRST]'
6955 # Regexp to match symbols that can be accessed directly from C.
6956 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6958 # Define system-specific variables.
6963 cygwin
* | mingw
* | pw32
* | cegcc
*)
6964 symcode
='[ABCDGISTW]'
6967 if test "$host_cpu" = ia64
; then
6968 symcode
='[ABCDEGRST]'
6972 symcode
='[BCDEGRST]'
6975 symcode
='[BCDEGQRST]'
6986 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6994 # If we're using GNU nm, then use its standard symbol codes.
6995 case `$NM -V 2>&1` in
6996 *GNU
* |
*'with BFD'*)
6997 symcode
='[ABCDGIRSTW]' ;;
7000 # Transform an extracted symbol line into a proper C declaration.
7001 # Some systems (esp. on ia64) link data and code symbols differently,
7002 # so use this general approach.
7003 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7005 # Transform an extracted symbol line into symbol name and symbol address
7006 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7007 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'"
7009 # Handle CRLF in mingw tool chain
7013 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7017 # Try without a prefix underscore, then with it.
7018 for ac_symprfx
in "" "_"; do
7020 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7021 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7023 # Write the raw and C identifiers.
7024 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7025 # Fake it for dumpbin and say T for any non-static function
7026 # and D for any global variable.
7027 # Also find C++ and __fastcall symbols from MSVC++,
7028 # which start with @ or ?.
7029 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7030 " {last_section=section; section=\$ 3};"\
7031 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7032 " \$ 0!~/External *\|/{next};"\
7033 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7034 " {if(hide[section]) next};"\
7035 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7036 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7037 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7038 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7039 " ' prfx=^$ac_symprfx"
7041 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7044 # Check to see that the pipe works correctly.
7048 cat > conftest.
$ac_ext <<_LT_EOF
7053 void nm_test_func(void);
7054 void nm_test_func(void){}
7058 int main(){nm_test_var='a';nm_test_func();return(0);}
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 # Now try to grab the symbols.
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7069 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; } && test -s "$nlist"; then
7073 # Try sorting and uniquifying the output.
7074 if sort "$nlist" |
uniq > "$nlist"T
; then
7075 mv -f "$nlist"T
"$nlist"
7080 # Make sure that we snagged all the symbols we need.
7081 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7082 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7083 cat <<_LT_EOF > conftest.$ac_ext
7089 # Now generate the symbol file.
7090 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7092 cat <<_LT_EOF >> conftest.$ac_ext
7094 /* The mapping between symbol names and symbols. */
7099 lt__PROGRAM__LTX_preloaded_symbols[] =
7101 { "@PROGRAM@", (void *) 0 },
7103 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7104 cat <<\_LT_EOF
>> conftest.
$ac_ext
7108 /* This works around a problem
in FreeBSD linker
*/
7109 #ifdef FREEBSD_WORKAROUND
7110 static const void
*lt_preloaded_setup
() {
7111 return lt__PROGRAM__LTX_preloaded_symbols
;
7119 # Now try linking the two files.
7120 mv conftest.
$ac_objext conftstm.
$ac_objext
7121 lt_save_LIBS
="$LIBS"
7122 lt_save_CFLAGS
="$CFLAGS"
7123 LIBS
="conftstm.$ac_objext"
7124 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7126 (eval $ac_link) 2>&5
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7132 LIBS
="$lt_save_LIBS"
7133 CFLAGS
="$lt_save_CFLAGS"
7135 echo "cannot find nm_test_func in $nlist" >&5
7138 echo "cannot find nm_test_var in $nlist" >&5
7141 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7144 echo "$progname: failed program was:" >&5
7145 cat conftest.
$ac_ext >&5
7147 rm -rf conftest
* conftst
*
7149 # Do not use the global_symbol_pipe unless it works.
7150 if test "$pipe_works" = yes; then
7153 lt_cv_sys_global_symbol_pipe
=
7159 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7160 lt_cv_sys_global_symbol_to_cdecl
=
7162 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7164 $as_echo "failed" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7167 $as_echo "ok" >&6; }
7191 # Check whether --enable-libtool-lock was given.
7192 if test "${enable_libtool_lock+set}" = set; then :
7193 enableval
=$enable_libtool_lock;
7196 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7198 # Some flags need to be propagated to the compiler or linker for good
7202 # Find out which ABI we are using.
7203 echo 'int i;' > conftest.
$ac_ext
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205 (eval $ac_compile) 2>&5
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; }; then
7209 case `/usr/bin/file conftest.$ac_objext` in
7221 # Find out which ABI we are using.
7222 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7224 (eval $ac_compile) 2>&5
7226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7227 test $ac_status = 0; }; then
7228 if test "$lt_cv_prog_gnu_ld" = yes; then
7229 case `/usr/bin/file conftest.$ac_objext` in
7231 LD
="${LD-ld} -melf32bsmip"
7234 LD
="${LD-ld} -melf32bmipn32"
7237 LD
="${LD-ld} -melf64bmip"
7241 case `/usr/bin/file conftest.$ac_objext` in
7257 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7258 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7259 # Find out which ABI we are using.
7260 echo 'int i;' > conftest.
$ac_ext
7261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7262 (eval $ac_compile) 2>&5
7264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7265 test $ac_status = 0; }; then
7266 case `/usr/bin/file conftest.o` in
7269 x86_64-
*kfreebsd
*-gnu)
7270 LD
="${LD-ld} -m elf_i386_fbsd"
7273 case `/usr/bin/file conftest.o` in
7275 LD
="${LD-ld} -m elf32_x86_64"
7278 LD
="${LD-ld} -m elf_i386"
7282 powerpc64le-
*linux
*)
7283 LD
="${LD-ld} -m elf32lppclinux"
7286 LD
="${LD-ld} -m elf32ppclinux"
7289 LD
="${LD-ld} -m elf_s390"
7292 LD
="${LD-ld} -m elf32_sparc"
7298 x86_64-
*kfreebsd
*-gnu)
7299 LD
="${LD-ld} -m elf_x86_64_fbsd"
7302 LD
="${LD-ld} -m elf_x86_64"
7305 LD
="${LD-ld} -m elf64lppc"
7308 LD
="${LD-ld} -m elf64ppc"
7310 s390
*-*linux
*|s390
*-*tpf
*)
7311 LD
="${LD-ld} -m elf64_s390"
7314 LD
="${LD-ld} -m elf64_sparc"
7324 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7325 SAVE_CFLAGS
="$CFLAGS"
7326 CFLAGS
="$CFLAGS -belf"
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7328 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7329 if ${lt_cv_cc_needs_belf+:} false
; then :
7330 $as_echo_n "(cached) " >&6
7333 ac_cpp
='$CPP $CPPFLAGS'
7334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7339 /* end confdefs.h. */
7349 if ac_fn_c_try_link
"$LINENO"; then :
7350 lt_cv_cc_needs_belf
=yes
7352 lt_cv_cc_needs_belf
=no
7354 rm -f core conftest.err conftest.
$ac_objext \
7355 conftest
$ac_exeext conftest.
$ac_ext
7357 ac_cpp
='$CPP $CPPFLAGS'
7358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7364 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7365 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7366 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7367 CFLAGS
="$SAVE_CFLAGS"
7371 # Find out which ABI we are using.
7372 echo 'int i;' > conftest.
$ac_ext
7373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7374 (eval $ac_compile) 2>&5
7376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7377 test $ac_status = 0; }; then
7378 case `/usr/bin/file conftest.o` in
7380 case $lt_cv_prog_gnu_ld in
7381 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7383 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7395 need_locks
="$enable_libtool_lock"
7399 rhapsody
* | darwin
*)
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7402 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$DSYMUTIL"; then
7409 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7429 if test -n "$DSYMUTIL"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7431 $as_echo "$DSYMUTIL" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7439 if test -z "$ac_cv_prog_DSYMUTIL"; then
7440 ac_ct_DSYMUTIL
=$DSYMUTIL
7441 # Extract the first word of "dsymutil", so it can be a program name with args.
7442 set dummy dsymutil
; ac_word
=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$ac_ct_DSYMUTIL"; then
7449 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir
=.
7456 for ac_exec_ext
in '' $ac_executable_extensions; do
7457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7469 if test -n "$ac_ct_DSYMUTIL"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7471 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7477 if test "x$ac_ct_DSYMUTIL" = x
; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned
=yes ;;
7486 DSYMUTIL
=$ac_ct_DSYMUTIL
7489 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7492 if test -n "$ac_tool_prefix"; then
7493 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7494 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if ${ac_cv_prog_NMEDIT+:} false
; then :
7498 $as_echo_n "(cached) " >&6
7500 if test -n "$NMEDIT"; then
7501 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7507 test -z "$as_dir" && as_dir
=.
7508 for ac_exec_ext
in '' $ac_executable_extensions; do
7509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7510 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 NMEDIT
=$ac_cv_prog_NMEDIT
7521 if test -n "$NMEDIT"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7523 $as_echo "$NMEDIT" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7531 if test -z "$ac_cv_prog_NMEDIT"; then
7532 ac_ct_NMEDIT
=$NMEDIT
7533 # Extract the first word of "nmedit", so it can be a program name with args.
7534 set dummy nmedit
; ac_word
=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7538 $as_echo_n "(cached) " >&6
7540 if test -n "$ac_ct_NMEDIT"; then
7541 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7547 test -z "$as_dir" && as_dir
=.
7548 for ac_exec_ext
in '' $ac_executable_extensions; do
7549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7561 if test -n "$ac_ct_NMEDIT"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7563 $as_echo "$ac_ct_NMEDIT" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7569 if test "x$ac_ct_NMEDIT" = x
; then
7572 case $cross_compiling:$ac_tool_warned in
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7576 ac_tool_warned
=yes ;;
7578 NMEDIT
=$ac_ct_NMEDIT
7581 NMEDIT
="$ac_cv_prog_NMEDIT"
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7586 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_LIPO+:} false
; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$LIPO"; then
7593 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir
=.
7600 for ac_exec_ext
in '' $ac_executable_extensions; do
7601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 LIPO
=$ac_cv_prog_LIPO
7613 if test -n "$LIPO"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7615 $as_echo "$LIPO" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_LIPO"; then
7625 # Extract the first word of "lipo", so it can be a program name with args.
7626 set dummy lipo
; ac_word
=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$ac_ct_LIPO"; then
7633 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir
=.
7640 for ac_exec_ext
in '' $ac_executable_extensions; do
7641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_ac_ct_LIPO
="lipo"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7653 if test -n "$ac_ct_LIPO"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7655 $as_echo "$ac_ct_LIPO" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_LIPO" = x
; then
7664 case $cross_compiling:$ac_tool_warned in
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned
=yes ;;
7673 LIPO
="$ac_cv_prog_LIPO"
7676 if test -n "$ac_tool_prefix"; then
7677 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7678 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if ${ac_cv_prog_OTOOL+:} false
; then :
7682 $as_echo_n "(cached) " >&6
7684 if test -n "$OTOOL"; then
7685 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir
=.
7692 for ac_exec_ext
in '' $ac_executable_extensions; do
7693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7694 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 OTOOL
=$ac_cv_prog_OTOOL
7705 if test -n "$OTOOL"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7707 $as_echo "$OTOOL" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7715 if test -z "$ac_cv_prog_OTOOL"; then
7717 # Extract the first word of "otool", so it can be a program name with args.
7718 set dummy otool
; ac_word
=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7722 $as_echo_n "(cached) " >&6
7724 if test -n "$ac_ct_OTOOL"; then
7725 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir
=.
7732 for ac_exec_ext
in '' $ac_executable_extensions; do
7733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_ac_ct_OTOOL
="otool"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7745 if test -n "$ac_ct_OTOOL"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7747 $as_echo "$ac_ct_OTOOL" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7753 if test "x$ac_ct_OTOOL" = x
; then
7756 case $cross_compiling:$ac_tool_warned in
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7760 ac_tool_warned
=yes ;;
7765 OTOOL
="$ac_cv_prog_OTOOL"
7768 if test -n "$ac_tool_prefix"; then
7769 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7770 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772 $as_echo_n "checking for $ac_word... " >&6; }
7773 if ${ac_cv_prog_OTOOL64+:} false
; then :
7774 $as_echo_n "(cached) " >&6
7776 if test -n "$OTOOL64"; then
7777 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir
=.
7784 for ac_exec_ext
in '' $ac_executable_extensions; do
7785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7786 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 OTOOL64
=$ac_cv_prog_OTOOL64
7797 if test -n "$OTOOL64"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7799 $as_echo "$OTOOL64" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7807 if test -z "$ac_cv_prog_OTOOL64"; then
7808 ac_ct_OTOOL64
=$OTOOL64
7809 # Extract the first word of "otool64", so it can be a program name with args.
7810 set dummy otool64
; ac_word
=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812 $as_echo_n "checking for $ac_word... " >&6; }
7813 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7814 $as_echo_n "(cached) " >&6
7816 if test -n "$ac_ct_OTOOL64"; then
7817 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir
=.
7824 for ac_exec_ext
in '' $ac_executable_extensions; do
7825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7837 if test -n "$ac_ct_OTOOL64"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7839 $as_echo "$ac_ct_OTOOL64" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7845 if test "x$ac_ct_OTOOL64" = x
; then
7848 case $cross_compiling:$ac_tool_warned in
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7852 ac_tool_warned
=yes ;;
7854 OTOOL64
=$ac_ct_OTOOL64
7857 OTOOL64
="$ac_cv_prog_OTOOL64"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7887 $as_echo_n "checking for -single_module linker flag... " >&6; }
7888 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7889 $as_echo_n "(cached) " >&6
7891 lt_cv_apple_cc_single_mod
=no
7892 if test -z "${LT_MULTI_MODULE}"; then
7893 # By default we will add the -single_module flag. You can override
7894 # by either setting the environment variable LT_MULTI_MODULE
7895 # non-empty at configure time, or by adding -multi_module to the
7897 rm -rf libconftest.dylib
*
7898 echo "int foo(void){return 1;}" > conftest.c
7899 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7900 -dynamiclib -Wl,-single_module conftest.c" >&5
7901 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7902 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7904 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7905 lt_cv_apple_cc_single_mod
=yes
7907 cat conftest.err
>&5
7909 rm -rf libconftest.dylib
*
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7914 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7916 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7917 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7918 $as_echo_n "(cached) " >&6
7920 lt_cv_ld_exported_symbols_list
=no
7921 save_LDFLAGS
=$LDFLAGS
7922 echo "_main" > conftest.sym
7923 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7935 if ac_fn_c_try_link
"$LINENO"; then :
7936 lt_cv_ld_exported_symbols_list
=yes
7938 lt_cv_ld_exported_symbols_list
=no
7940 rm -f core conftest.err conftest.
$ac_objext \
7941 conftest
$ac_exeext conftest.
$ac_ext
7942 LDFLAGS
="$save_LDFLAGS"
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7946 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7948 $as_echo_n "checking for -force_load linker flag... " >&6; }
7949 if ${lt_cv_ld_force_load+:} false
; then :
7950 $as_echo_n "(cached) " >&6
7952 lt_cv_ld_force_load
=no
7953 cat > conftest.c
<< _LT_EOF
7954 int forced_loaded() { return 2;}
7956 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7957 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7958 echo "$AR cru libconftest.a conftest.o" >&5
7959 $AR cru libconftest.a conftest.o
2>&5
7960 cat > conftest.c
<< _LT_EOF
7961 int main() { return 0;}
7963 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7964 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7966 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7967 lt_cv_ld_force_load
=yes
7969 cat conftest.err
>&5
7971 rm -f conftest.err libconftest.a conftest conftest.c
7972 rm -rf conftest.dSYM
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7976 $as_echo "$lt_cv_ld_force_load" >&6; }
7978 rhapsody
* | darwin1.
[012])
7979 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7981 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7982 darwin
*) # darwin 5.x on
7983 # if running on 10.5 or later, the deployment target defaults
7984 # to the OS version, if on x86, and 10.4, the deployment
7985 # target defaults to 10.4. Don't you love it?
7986 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7987 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7988 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7990 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7992 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7996 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7997 _lt_dar_single_mod
='$single_module'
7999 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8000 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8002 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8004 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8005 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8012 for ac_header
in dlfcn.h
8014 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8017 cat >>confdefs.h
<<_ACEOF
8018 #define HAVE_DLFCN_H 1
8039 # Check whether --enable-shared was given.
8040 if test "${enable_shared+set}" = set; then :
8041 enableval
=$enable_shared; p
=${PACKAGE-default}
8043 yes) enable_shared
=yes ;;
8044 no
) enable_shared
=no
;;
8047 # Look at the argument we got. We use all the common list separators.
8048 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8049 for pkg
in $enableval; do
8051 if test "X$pkg" = "X$p"; then
8070 # Check whether --enable-static was given.
8071 if test "${enable_static+set}" = set; then :
8072 enableval
=$enable_static; p
=${PACKAGE-default}
8074 yes) enable_static
=yes ;;
8075 no
) enable_static
=no
;;
8078 # Look at the argument we got. We use all the common list separators.
8079 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8080 for pkg
in $enableval; do
8082 if test "X$pkg" = "X$p"; then
8102 # Check whether --with-pic was given.
8103 if test "${with_pic+set}" = set; then :
8104 withval
=$with_pic; pic_mode
="$withval"
8110 test -z "$pic_mode" && pic_mode
=default
8118 # Check whether --enable-fast-install was given.
8119 if test "${enable_fast_install+set}" = set; then :
8120 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8122 yes) enable_fast_install
=yes ;;
8123 no
) enable_fast_install
=no
;;
8125 enable_fast_install
=no
8126 # Look at the argument we got. We use all the common list separators.
8127 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8128 for pkg
in $enableval; do
8130 if test "X$pkg" = "X$p"; then
8131 enable_fast_install
=yes
8138 enable_fast_install
=yes
8151 # This can be used to rebuild libtool when needed
8152 LIBTOOL_DEPS
="$ltmain"
8154 # Always use our own libtool.
8155 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8182 test -z "$LN_S" && LN_S
="ln -s"
8197 if test -n "${ZSH_VERSION+set}" ; then
8198 setopt NO_GLOB_SUBST
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8202 $as_echo_n "checking for objdir... " >&6; }
8203 if ${lt_cv_objdir+:} false
; then :
8204 $as_echo_n "(cached) " >&6
8206 rm -f .libs
2>/dev
/null
8207 mkdir .libs
2>/dev
/null
8208 if test -d .libs
; then
8211 # MS-DOS does not allow filenames that begin with a dot.
8214 rmdir .libs
2>/dev
/null
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8217 $as_echo "$lt_cv_objdir" >&6; }
8218 objdir
=$lt_cv_objdir
8224 cat >>confdefs.h
<<_ACEOF
8225 #define LT_OBJDIR "$lt_cv_objdir/"
8233 # AIX sometimes has problems with the GCC collect2 program. For some
8234 # reason, if we set the COLLECT_NAMES environment variable, the problems
8235 # vanish in a puff of smoke.
8236 if test "X${COLLECT_NAMES+set}" != Xset
; then
8238 export COLLECT_NAMES
8245 can_build_shared
=yes
8247 # All known linkers require a `.a' archive for static linking (except MSVC,
8248 # which needs '.lib').
8251 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8254 old_CFLAGS
="$CFLAGS"
8256 # Set sane defaults for various variables
8257 test -z "$CC" && CC
=cc
8258 test -z "$LTCC" && LTCC
=$CC
8259 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8260 test -z "$LD" && LD
=ld
8261 test -z "$ac_objext" && ac_objext
=o
8263 for cc_temp
in $compiler""; do
8265 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8266 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8271 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8274 # Only perform the check for file, if the check method requires it
8275 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8276 case $deplibs_check_method in
8278 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8280 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8281 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8282 $as_echo_n "(cached) " >&6
8286 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8289 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8290 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8291 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8292 for ac_dir
in $ac_dummy; do
8294 test -z "$ac_dir" && ac_dir
=.
8295 if test -f $ac_dir/${ac_tool_prefix}file; then
8296 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8297 if test -n "$file_magic_test_file"; then
8298 case $deplibs_check_method in
8300 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8301 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8302 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8303 $EGREP "$file_magic_regex" > /dev
/null
; then
8308 *** Warning: the command libtool uses to detect shared libraries,
8309 *** $file_magic_cmd, produces output that libtool cannot recognize.
8310 *** The result is that libtool may fail to recognize shared libraries
8311 *** as such. This will affect the creation of libtool libraries that
8312 *** depend on shared libraries, but programs linked with such libtool
8313 *** libraries will work regardless of this problem. Nevertheless, you
8314 *** may want to report the problem to your system manager and/or to
8315 *** bug-libtool@gnu.org
8325 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8330 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8331 if test -n "$MAGIC_CMD"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8333 $as_echo "$MAGIC_CMD" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8343 if test -z "$lt_cv_path_MAGIC_CMD"; then
8344 if test -n "$ac_tool_prefix"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8346 $as_echo_n "checking for file... " >&6; }
8347 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8348 $as_echo_n "(cached) " >&6
8352 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8355 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8356 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8357 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8358 for ac_dir
in $ac_dummy; do
8360 test -z "$ac_dir" && ac_dir
=.
8361 if test -f $ac_dir/file; then
8362 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8363 if test -n "$file_magic_test_file"; then
8364 case $deplibs_check_method in
8366 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8367 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8368 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8369 $EGREP "$file_magic_regex" > /dev
/null
; then
8374 *** Warning: the command libtool uses to detect shared libraries,
8375 *** $file_magic_cmd, produces output that libtool cannot recognize.
8376 *** The result is that libtool may fail to recognize shared libraries
8377 *** as such. This will affect the creation of libtool libraries that
8378 *** depend on shared libraries, but programs linked with such libtool
8379 *** libraries will work regardless of this problem. Nevertheless, you
8380 *** may want to report the problem to your system manager and/or to
8381 *** bug-libtool@gnu.org
8391 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8396 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8397 if test -n "$MAGIC_CMD"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8399 $as_echo "$MAGIC_CMD" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8415 # Use C for the default configuration in the libtool script
8419 ac_cpp
='$CPP $CPPFLAGS'
8420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8425 # Source file extension for C test sources.
8428 # Object file extension for compiled C test sources.
8432 # Code to be used in simple compile tests
8433 lt_simple_compile_test_code
="int some_variable = 0;"
8435 # Code to be used in simple link tests
8436 lt_simple_link_test_code
='int main(){return(0);}'
8444 # If no C compiler was specified, use CC.
8447 # If no C compiler flags were specified, use CFLAGS.
8448 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8450 # Allow CC to be a program name with arguments.
8453 # Save the default compiler, since it gets overwritten when the other
8454 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8455 compiler_DEFAULT
=$CC
8457 # save warnings/boilerplate of simple test code
8458 ac_outfile
=conftest.
$ac_objext
8459 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8460 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8461 _lt_compiler_boilerplate
=`cat conftest.err`
8464 ac_outfile
=conftest.
$ac_objext
8465 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8466 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8467 _lt_linker_boilerplate
=`cat conftest.err`
8472 ## There is no encapsulation within the following macros, do not change
8473 ## the running order or otherwise move them around unless you know exactly
8474 ## what you are doing...
8475 if test -n "$compiler"; then
8477 lt_prog_compiler_no_builtin_flag
=
8479 if test "$GCC" = yes; then
8480 case $cc_basename in
8482 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8484 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8488 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8489 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8490 $as_echo_n "(cached) " >&6
8492 lt_cv_prog_compiler_rtti_exceptions
=no
8493 ac_outfile
=conftest.
$ac_objext
8494 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8495 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8496 # Insert the option either (1) after the last *FLAGS variable, or
8497 # (2) before a word containing "conftest.", or (3) at the end.
8498 # Note that $ac_compile itself does not contain backslashes and begins
8499 # with a dollar sign (not a hyphen), so the echo should work correctly.
8500 # The option is referenced via a variable to avoid confusing sed.
8501 lt_compile
=`echo "$ac_compile" | $SED \
8502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8504 -e 's:$: $lt_compiler_flag:'`
8505 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8506 (eval "$lt_compile" 2>conftest.err
)
8508 cat conftest.err
>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 if (exit $ac_status) && test -s "$ac_outfile"; then
8511 # The compiler can only warn and ignore the option if not recognized
8512 # So say no if there are warnings other than the usual output.
8513 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8514 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8515 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8516 lt_cv_prog_compiler_rtti_exceptions
=yes
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8523 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8525 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8526 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8538 lt_prog_compiler_wl
=
8539 lt_prog_compiler_pic
=
8540 lt_prog_compiler_static
=
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8543 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8545 if test "$GCC" = yes; then
8546 lt_prog_compiler_wl
='-Wl,'
8547 lt_prog_compiler_static
='-static'
8551 # All AIX code is PIC.
8552 if test "$host_cpu" = ia64
; then
8553 # AIX 5 now supports IA64 processor
8554 lt_prog_compiler_static
='-Bstatic'
8556 lt_prog_compiler_pic
='-fPIC'
8562 # see comment about AmigaOS4 .so support
8563 lt_prog_compiler_pic
='-fPIC'
8566 # FIXME: we need at least 68020 code to build shared libraries, but
8567 # adding the `-m68020' flag to GCC prevents building anything better,
8569 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8574 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8575 # PIC is the default for these OSes.
8578 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8579 # This hack is so that the source file can tell whether it is being
8580 # built for inclusion in a dll (and should export symbols for example).
8581 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8582 # (--disable-auto-import) libraries
8583 lt_prog_compiler_pic
='-DDLL_EXPORT'
8586 darwin
* | rhapsody
*)
8587 # PIC is the default on this platform
8588 # Common symbols not allowed in MH_DYLIB files
8589 lt_prog_compiler_pic
='-fno-common'
8593 # PIC is the default for Haiku.
8594 # The "-static" flag exists, but is broken.
8595 lt_prog_compiler_static
=
8599 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8600 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8601 # sets the default TLS model and affects inlining.
8607 lt_prog_compiler_pic
='-fPIC'
8613 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8614 # Instead, we relocate shared libraries at runtime.
8618 # Just because we use GCC doesn't mean we suddenly get shared libraries
8619 # on systems that don't support them.
8620 lt_prog_compiler_can_build_shared
=no
8625 # QNX uses GNU C++, but need to define -shared option too, otherwise
8627 lt_prog_compiler_pic
='-fPIC -shared'
8631 if test -d /usr
/nec
; then
8632 lt_prog_compiler_pic
=-Kconform_pic
8637 lt_prog_compiler_pic
='-fPIC'
8641 case $cc_basename in
8642 nvcc
*) # Cuda Compiler Driver 2.2
8643 lt_prog_compiler_wl
='-Xlinker '
8644 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8648 # PORTME Check for flag to pass linker flags through the system compiler.
8651 lt_prog_compiler_wl
='-Wl,'
8652 if test "$host_cpu" = ia64
; then
8653 # AIX 5 now supports IA64 processor
8654 lt_prog_compiler_static
='-Bstatic'
8656 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8660 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8661 # This hack is so that the source file can tell whether it is being
8662 # built for inclusion in a dll (and should export symbols for example).
8663 lt_prog_compiler_pic
='-DDLL_EXPORT'
8666 hpux9
* | hpux10
* | hpux11
*)
8667 lt_prog_compiler_wl
='-Wl,'
8668 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8675 lt_prog_compiler_pic
='+Z'
8678 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8679 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8682 irix5
* | irix6
* | nonstopux
*)
8683 lt_prog_compiler_wl
='-Wl,'
8684 # PIC (with -KPIC) is the default.
8685 lt_prog_compiler_static
='-non_shared'
8688 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8689 case $cc_basename in
8690 # old Intel for x86_64 which still supported -KPIC.
8692 lt_prog_compiler_wl
='-Wl,'
8693 lt_prog_compiler_pic
='-KPIC'
8694 lt_prog_compiler_static
='-static'
8696 # icc used to be incompatible with GCC.
8697 # ICC 10 doesn't accept -KPIC any more.
8699 lt_prog_compiler_wl
='-Wl,'
8700 lt_prog_compiler_pic
='-fPIC'
8701 lt_prog_compiler_static
='-static'
8703 # Lahey Fortran 8.1.
8705 lt_prog_compiler_wl
='-Wl,'
8706 lt_prog_compiler_pic
='--shared'
8707 lt_prog_compiler_static
='--static'
8709 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8710 # Portland Group compilers (*not* the Pentium gcc compiler,
8711 # which looks to be a dead project)
8712 lt_prog_compiler_wl
='-Wl,'
8713 lt_prog_compiler_pic
='-fpic'
8714 lt_prog_compiler_static
='-Bstatic'
8717 lt_prog_compiler_wl
='-Wl,'
8718 # All Alpha code is PIC.
8719 lt_prog_compiler_static
='-non_shared'
8721 xl
* | bgxl
* | bgf
* | mpixl
*)
8722 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8723 lt_prog_compiler_wl
='-Wl,'
8724 lt_prog_compiler_pic
='-qpic'
8725 lt_prog_compiler_static
='-qstaticlink'
8728 case `$CC -V 2>&1 | sed 5q` in
8729 *Sun\ F
* |
*Sun
*Fortran
*)
8730 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8731 lt_prog_compiler_pic
='-KPIC'
8732 lt_prog_compiler_static
='-Bstatic'
8733 lt_prog_compiler_wl
=''
8737 lt_prog_compiler_pic
='-KPIC'
8738 lt_prog_compiler_static
='-Bstatic'
8739 lt_prog_compiler_wl
='-Wl,'
8747 lt_prog_compiler_pic
='-KPIC'
8748 lt_prog_compiler_static
='-Bstatic'
8752 # QNX uses GNU C++, but need to define -shared option too, otherwise
8754 lt_prog_compiler_pic
='-fPIC -shared'
8757 osf3
* | osf4
* | osf5
*)
8758 lt_prog_compiler_wl
='-Wl,'
8759 # All OSF/1 code is PIC.
8760 lt_prog_compiler_static
='-non_shared'
8764 lt_prog_compiler_static
='-non_shared'
8768 lt_prog_compiler_pic
='-KPIC'
8769 lt_prog_compiler_static
='-Bstatic'
8770 case $cc_basename in
8772 lt_prog_compiler_wl
='-Qoption ld ';;
8774 lt_prog_compiler_wl
='-Wl,';;
8779 lt_prog_compiler_wl
='-Qoption ld '
8780 lt_prog_compiler_pic
='-PIC'
8781 lt_prog_compiler_static
='-Bstatic'
8784 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8785 lt_prog_compiler_wl
='-Wl,'
8786 lt_prog_compiler_pic
='-KPIC'
8787 lt_prog_compiler_static
='-Bstatic'
8791 if test -d /usr
/nec
;then
8792 lt_prog_compiler_pic
='-Kconform_pic'
8793 lt_prog_compiler_static
='-Bstatic'
8797 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8798 lt_prog_compiler_wl
='-Wl,'
8799 lt_prog_compiler_pic
='-KPIC'
8800 lt_prog_compiler_static
='-Bstatic'
8804 lt_prog_compiler_wl
='-Wl,'
8805 lt_prog_compiler_can_build_shared
=no
8809 lt_prog_compiler_pic
='-pic'
8810 lt_prog_compiler_static
='-Bstatic'
8814 lt_prog_compiler_can_build_shared
=no
8820 # For platforms which do not support PIC, -DPIC is meaningless:
8822 lt_prog_compiler_pic
=
8825 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8829 $as_echo "$lt_prog_compiler_pic" >&6; }
8837 # Check to make sure the PIC flag actually works.
8839 if test -n "$lt_prog_compiler_pic"; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8841 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8842 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8843 $as_echo_n "(cached) " >&6
8845 lt_cv_prog_compiler_pic_works
=no
8846 ac_outfile
=conftest.
$ac_objext
8847 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8848 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8849 # Insert the option either (1) after the last *FLAGS variable, or
8850 # (2) before a word containing "conftest.", or (3) at the end.
8851 # Note that $ac_compile itself does not contain backslashes and begins
8852 # with a dollar sign (not a hyphen), so the echo should work correctly.
8853 # The option is referenced via a variable to avoid confusing sed.
8854 lt_compile
=`echo "$ac_compile" | $SED \
8855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8857 -e 's:$: $lt_compiler_flag:'`
8858 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8859 (eval "$lt_compile" 2>conftest.err
)
8861 cat conftest.err
>&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 if (exit $ac_status) && test -s "$ac_outfile"; then
8864 # The compiler can only warn and ignore the option if not recognized
8865 # So say no if there are warnings other than the usual output.
8866 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8867 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8868 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8869 lt_cv_prog_compiler_pic_works
=yes
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8876 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8878 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8879 case $lt_prog_compiler_pic in
8881 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8884 lt_prog_compiler_pic
=
8885 lt_prog_compiler_can_build_shared
=no
8896 # Check to make sure the static flag actually works.
8898 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8900 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8901 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8902 $as_echo_n "(cached) " >&6
8904 lt_cv_prog_compiler_static_works
=no
8905 save_LDFLAGS
="$LDFLAGS"
8906 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8907 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8908 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8909 # The linker can only warn and ignore the option if not recognized
8910 # So say no if there are warnings
8911 if test -s conftest.err
; then
8912 # Append any errors to the config.log.
8913 cat conftest.err
1>&5
8914 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8915 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8916 if diff conftest.exp conftest.er2
>/dev
/null
; then
8917 lt_cv_prog_compiler_static_works
=yes
8920 lt_cv_prog_compiler_static_works
=yes
8924 LDFLAGS
="$save_LDFLAGS"
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8928 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8930 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8933 lt_prog_compiler_static
=
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8944 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8945 $as_echo_n "(cached) " >&6
8947 lt_cv_prog_compiler_c_o
=no
8948 $RM -r conftest
2>/dev
/null
8952 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8954 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8955 # Insert the option either (1) after the last *FLAGS variable, or
8956 # (2) before a word containing "conftest.", or (3) at the end.
8957 # Note that $ac_compile itself does not contain backslashes and begins
8958 # with a dollar sign (not a hyphen), so the echo should work correctly.
8959 lt_compile
=`echo "$ac_compile" | $SED \
8960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8962 -e 's:$: $lt_compiler_flag:'`
8963 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8964 (eval "$lt_compile" 2>out
/conftest.err
)
8966 cat out
/conftest.err
>&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8970 # The compiler can only warn and ignore the option if not recognized
8971 # So say no if there are warnings
8972 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8973 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8974 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8975 lt_cv_prog_compiler_c_o
=yes
8980 # SGI C++ compiler will create directory out/ii_files/ for
8981 # template instantiation
8982 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8983 $RM out
/* && rmdir out
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8990 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8999 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9002 lt_cv_prog_compiler_c_o
=no
9003 $RM -r conftest
2>/dev
/null
9007 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9009 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9010 # Insert the option either (1) after the last *FLAGS variable, or
9011 # (2) before a word containing "conftest.", or (3) at the end.
9012 # Note that $ac_compile itself does not contain backslashes and begins
9013 # with a dollar sign (not a hyphen), so the echo should work correctly.
9014 lt_compile
=`echo "$ac_compile" | $SED \
9015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9017 -e 's:$: $lt_compiler_flag:'`
9018 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9019 (eval "$lt_compile" 2>out
/conftest.err
)
9021 cat out
/conftest.err
>&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9025 # The compiler can only warn and ignore the option if not recognized
9026 # So say no if there are warnings
9027 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9028 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9029 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9030 lt_cv_prog_compiler_c_o
=yes
9035 # SGI C++ compiler will create directory out/ii_files/ for
9036 # template instantiation
9037 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9038 $RM out
/* && rmdir out
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9050 hard_links
="nottested"
9051 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9052 # do not overwrite the value of need_locks provided by the user
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9054 $as_echo_n "checking if we can lock with hard links... " >&6; }
9057 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9059 ln conftest.a conftest.b
2>&5 || hard_links
=no
9060 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9062 $as_echo "$hard_links" >&6; }
9063 if test "$hard_links" = no
; then
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9065 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9078 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9081 allow_undefined_flag
=
9082 always_export_symbols
=no
9084 archive_expsym_cmds
=
9085 compiler_needs_object
=no
9086 enable_shared_with_static_runtimes
=no
9087 export_dynamic_flag_spec
=
9088 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9089 hardcode_automatic
=no
9091 hardcode_direct_absolute
=no
9092 hardcode_libdir_flag_spec
=
9093 hardcode_libdir_flag_spec_ld
=
9094 hardcode_libdir_separator
=
9096 hardcode_shlibpath_var
=unsupported
9098 link_all_deplibs
=unknown
9101 old_archive_from_new_cmds
=
9102 old_archive_from_expsyms_cmds
=
9103 thread_safe_flag_spec
=
9104 whole_archive_flag_spec
=
9105 # include_expsyms should be a list of space-separated symbols to be *always*
9106 # included in the symbol list
9108 # exclude_expsyms can be an extended regexp of symbols to exclude
9109 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9110 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9111 # as well as any symbol that contains `d'.
9112 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9113 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9114 # platforms (ab)use it in PIC code, but their linkers get confused if
9115 # the symbol is explicitly referenced. Since portable code cannot
9116 # rely on this symbol name, it's probably fine to never include it in
9117 # preloaded symbol tables.
9118 # Exclude shared library initialization/finalization symbols.
9119 extract_expsyms_cmds
=
9122 cygwin
* | mingw
* | pw32
* | cegcc
*)
9123 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9124 # When not using gcc, we currently assume that we are using
9125 # Microsoft Visual C++.
9126 if test "$GCC" != yes; then
9131 # we just hope/assume this is gcc and not c89 (= MSVC++)
9141 # On some targets, GNU ld is compatible enough with the native linker
9142 # that we're better off using the native interface for both.
9143 lt_use_gnu_ld_interface
=no
9144 if test "$with_gnu_ld" = yes; then
9147 # The AIX port of GNU ld has always aspired to compatibility
9148 # with the native linker. However, as the warning in the GNU ld
9149 # block says, versions before 2.19.5* couldn't really create working
9150 # shared libraries, regardless of the interface used.
9151 case `$LD -v 2>&1` in
9152 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9153 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9154 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9156 lt_use_gnu_ld_interface
=yes
9161 lt_use_gnu_ld_interface
=yes
9166 if test "$lt_use_gnu_ld_interface" = yes; then
9167 # If archive_cmds runs LD, not CC, wlarc should be empty
9170 # Set some defaults for GNU ld with shared library support. These
9171 # are reset later if shared libraries are not supported. Putting them
9172 # here allows them to be overridden if necessary.
9173 runpath_var
=LD_RUN_PATH
9174 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9175 export_dynamic_flag_spec
='${wl}--export-dynamic'
9176 # ancient GNU ld didn't support --whole-archive et. al.
9177 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9178 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9180 whole_archive_flag_spec
=
9182 supports_anon_versioning
=no
9183 case `$LD -v 2>&1` in
9184 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9185 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9186 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9187 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9188 *\
2.11.
*) ;; # other 2.11 versions
9189 *) supports_anon_versioning
=yes ;;
9192 # See if GNU ld supports shared libraries.
9195 # On AIX/PPC, the GNU linker is very broken
9196 if test "$host_cpu" != ia64
; then
9200 *** Warning: the GNU linker, at least up to release 2.19, is reported
9201 *** to be unable to reliably create shared libraries on AIX.
9202 *** Therefore, libtool is disabling shared libraries support. If you
9203 *** really care for shared libraries, you may want to install binutils
9204 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9205 *** You will then need to restart the configuration process.
9214 # see comment about AmigaOS4 .so support
9215 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216 archive_expsym_cmds
=''
9219 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)'
9220 hardcode_libdir_flag_spec
='-L$libdir'
9221 hardcode_minus_L
=yes
9227 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9228 allow_undefined_flag
=unsupported
9229 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9230 # support --undefined. This deserves some investigation. FIXME
9231 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9237 cygwin
* | mingw
* | pw32
* | cegcc
*)
9238 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9239 # as there is no search path for DLLs.
9240 hardcode_libdir_flag_spec
='-L$libdir'
9241 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9242 allow_undefined_flag
=unsupported
9243 always_export_symbols
=no
9244 enable_shared_with_static_runtimes
=yes
9245 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9247 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9249 # If the export-symbols file already is a .def file (1st line
9250 # is EXPORTS), use it as is; otherwise, prepend...
9251 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9252 cp $export_symbols $output_objdir/$soname.def;
9254 echo EXPORTS > $output_objdir/$soname.def;
9255 cat $export_symbols >> $output_objdir/$soname.def;
9257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9264 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265 link_all_deplibs
=yes
9270 hardcode_shlibpath_var
=no
9271 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9272 export_dynamic_flag_spec
='${wl}-E'
9273 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9274 # Instead, shared libraries are loaded at an image base (0x10000000 by
9275 # default) and relocated if they conflict, which is a slow very memory
9276 # consuming and fragmenting process. To avoid this, we pick a random,
9277 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9278 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9279 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9280 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'
9283 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9285 if test "$host_os" = linux-dietlibc
; then
9286 case $cc_basename in
9287 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9290 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9291 && test "$tmp_diet" = no
9293 tmp_addflag
=' $pic_flag'
9294 tmp_sharedflag
='-shared'
9295 case $cc_basename,$host_cpu in
9296 pgcc
*) # Portland Group C compiler
9297 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'
9298 tmp_addflag
=' $pic_flag'
9300 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9301 # Portland Group f77 and f90 compilers
9302 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'
9303 tmp_addflag
=' $pic_flag -Mnomain' ;;
9304 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9305 tmp_addflag
=' -i_dynamic' ;;
9306 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9307 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9308 ifc
* | ifort
*) # Intel Fortran compiler
9309 tmp_addflag
=' -nofor_main' ;;
9310 lf95
*) # Lahey Fortran 8.1
9311 whole_archive_flag_spec
=
9312 tmp_sharedflag
='--shared' ;;
9313 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9314 tmp_sharedflag
='-qmkshrobj'
9316 nvcc
*) # Cuda Compiler Driver 2.2
9317 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'
9318 compiler_needs_object
=yes
9321 case `$CC -V 2>&1 | sed 5q` in
9322 *Sun\ C
*) # Sun C 5.9
9323 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'
9324 compiler_needs_object
=yes
9325 tmp_sharedflag
='-G' ;;
9326 *Sun\ F
*) # Sun Fortran 8.3
9327 tmp_sharedflag
='-G' ;;
9329 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes
; then
9332 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9338 case $cc_basename in
9339 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9340 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9341 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9342 hardcode_libdir_flag_spec
=
9343 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9344 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9345 if test "x$supports_anon_versioning" = xyes
; then
9346 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9347 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9348 echo "local: *; };" >> $output_objdir/$libname.ver~
9349 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9359 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9360 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9364 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9369 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9373 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9374 *** create shared libraries on Solaris systems. Therefore, libtool
9375 *** is disabling shared libraries support. We urge you to upgrade GNU
9376 *** binutils to release 2.9.1 or newer. Another option is to modify
9377 *** your PATH or compiler configuration so that the native linker is
9378 *** used, and then restart.
9381 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9383 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9390 case `$LD -v 2>&1` in
9391 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9395 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9396 *** reliably create shared libraries on SCO systems. Therefore, libtool
9397 *** is disabling shared libraries support. We urge you to upgrade GNU
9398 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9399 *** your PATH or compiler configuration so that the native linker is
9400 *** used, and then restart.
9405 # For security reasons, it is highly recommended that you always
9406 # use absolute paths for naming shared libraries, and exclude the
9407 # DT_RUNPATH tag from executables and libraries. But doing so
9408 # requires that you compile everything twice, which is a pain.
9409 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9411 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9421 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9424 hardcode_shlibpath_var
=no
9428 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9429 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 if test "$ld_shlibs" = no
; then
9439 hardcode_libdir_flag_spec
=
9440 export_dynamic_flag_spec
=
9441 whole_archive_flag_spec
=
9444 # PORTME fill in a description of your system's linker (not GNU ld)
9447 allow_undefined_flag
=unsupported
9448 always_export_symbols
=yes
9449 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'
9450 # Note: this linker hardcodes the directories in LIBPATH if there
9451 # are no directories specified by -L.
9452 hardcode_minus_L
=yes
9453 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9454 # Neither direct hardcoding nor static linking is supported with a
9456 hardcode_direct
=unsupported
9461 if test "$host_cpu" = ia64
; then
9462 # On IA64, the linker does run time linking by default, so we don't
9463 # have to do anything special.
9464 aix_use_runtimelinking
=no
9465 exp_sym_flag
='-Bexport'
9468 # If we're using GNU nm, then we don't want the "-C" option.
9469 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9470 # Also, AIX nm treats weak defined symbols like other global
9471 # defined symbols, whereas GNU nm marks them as "W".
9472 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9473 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'
9475 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'
9477 aix_use_runtimelinking
=no
9479 # Test if we are trying to use run time linking or normal
9480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9481 # need to do runtime linking.
9482 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9483 for ld_flag
in $LDFLAGS; do
9484 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9485 aix_use_runtimelinking
=yes
9492 exp_sym_flag
='-bexport'
9493 no_entry_flag
='-bnoentry'
9496 # When large executables or shared objects are built, AIX ld can
9497 # have problems creating the table of contents. If linking a library
9498 # or program results in "error TOC overflow" add -mminimal-toc to
9499 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9500 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9504 hardcode_direct_absolute
=yes
9505 hardcode_libdir_separator
=':'
9506 link_all_deplibs
=yes
9507 file_list_spec
='${wl}-f,'
9509 if test "$GCC" = yes; then
9510 case $host_os in aix4.
[012]|aix4.
[012].
*)
9511 # We only want to do this on AIX 4.2 and lower, the check
9512 # below for broken collect2 doesn't work under 4.3+
9513 collect2name
=`${CC} -print-prog-name=collect2`
9514 if test -f "$collect2name" &&
9515 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9517 # We have reworked collect2
9520 # We have old collect2
9521 hardcode_direct
=unsupported
9522 # It fails to find uninstalled libraries when the uninstalled
9523 # path is not listed in the libpath. Setting hardcode_minus_L
9524 # to unsupported forces relinking
9525 hardcode_minus_L
=yes
9526 hardcode_libdir_flag_spec
='-L$libdir'
9527 hardcode_libdir_separator
=
9531 shared_flag
='-shared'
9532 if test "$aix_use_runtimelinking" = yes; then
9533 shared_flag
="$shared_flag "'${wl}-G'
9537 if test "$host_cpu" = ia64
; then
9538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9539 # chokes on -Wl,-G. The following line is correct:
9542 if test "$aix_use_runtimelinking" = yes; then
9543 shared_flag
='${wl}-G'
9545 shared_flag
='${wl}-bM:SRE'
9550 export_dynamic_flag_spec
='${wl}-bexpall'
9551 # It seems that -bexpall does not export symbols beginning with
9552 # underscore (_), so it is better to generate a list of symbols to export.
9553 always_export_symbols
=yes
9554 if test "$aix_use_runtimelinking" = yes; then
9555 # Warning - without using the other runtime loading flags (-brtl),
9556 # -berok will link without error, but may produce a broken library.
9557 allow_undefined_flag
='-berok'
9558 # Determine the default libpath from the value encoded in an
9560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9571 if ac_fn_c_try_link
"$LINENO"; then :
9573 lt_aix_libpath_sed
='
9574 /Import File Strings/,/^$/ {
9580 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 # Check for a 64-bit object if we didn't find anything.
9582 if test -z "$aix_libpath"; then
9583 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 rm -f core conftest.err conftest.
$ac_objext \
9587 conftest
$ac_exeext conftest.
$ac_ext
9588 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9590 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9591 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"
9593 if test "$host_cpu" = ia64
; then
9594 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9595 allow_undefined_flag
="-z nodefs"
9596 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"
9598 # Determine the default libpath from the value encoded in an
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9611 if ac_fn_c_try_link
"$LINENO"; then :
9613 lt_aix_libpath_sed
='
9614 /Import File Strings/,/^$/ {
9620 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9621 # Check for a 64-bit object if we didn't find anything.
9622 if test -z "$aix_libpath"; then
9623 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9630 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9631 # Warning - without using the other run time loading flags,
9632 # -berok will link without error, but may produce a broken library.
9633 no_undefined_flag
=' ${wl}-bernotok'
9634 allow_undefined_flag
=' ${wl}-berok'
9635 if test "$with_gnu_ld" = yes; then
9636 # We only use this code for GNU lds that support --whole-archive.
9637 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9639 # Exported symbols can be pulled into shared objects from archives
9640 whole_archive_flag_spec
='$convenience'
9642 archive_cmds_need_lc
=yes
9643 # This is similar to how AIX traditionally builds its shared libraries.
9644 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'
9652 # see comment about AmigaOS4 .so support
9653 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9654 archive_expsym_cmds
=''
9657 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)'
9658 hardcode_libdir_flag_spec
='-L$libdir'
9659 hardcode_minus_L
=yes
9665 export_dynamic_flag_spec
=-rdynamic
9668 cygwin
* | mingw
* | pw32
* | cegcc
*)
9669 # When not using gcc, we currently assume that we are using
9670 # Microsoft Visual C++.
9671 # hardcode_libdir_flag_spec is actually meaningless, as there is
9672 # no search path for DLLs.
9673 hardcode_libdir_flag_spec
=' '
9674 allow_undefined_flag
=unsupported
9675 # Tell ltmain to make .lib files, not .a files.
9677 # Tell ltmain to make .dll files, not .so files.
9679 # FIXME: Setting linknames here is a bad hack.
9680 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9681 # The linker will automatically build a .lib file if we build a DLL.
9682 old_archive_from_new_cmds
='true'
9683 # FIXME: Should let the user specify the lib program.
9684 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9685 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9686 enable_shared_with_static_runtimes
=yes
9689 darwin
* | rhapsody
*)
9692 archive_cmds_need_lc
=no
9694 hardcode_automatic
=yes
9695 hardcode_shlibpath_var
=unsupported
9696 if test "$lt_cv_ld_force_load" = "yes"; then
9697 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\"`'
9699 whole_archive_flag_spec
=''
9701 link_all_deplibs
=yes
9702 allow_undefined_flag
="$_lt_dar_allow_undefined"
9703 case $cc_basename in
9704 ifort
*) _lt_dar_can_shared
=yes ;;
9705 *) _lt_dar_can_shared
=$GCC ;;
9707 if test "$_lt_dar_can_shared" = "yes"; then
9708 output_verbose_link_cmd
=func_echo_all
9709 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9710 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9711 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}"
9712 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}"
9721 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9722 hardcode_libdir_flag_spec
='-L$libdir'
9723 hardcode_shlibpath_var
=no
9726 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9727 # support. Future versions do this automatically, but an explicit c++rt0.o
9728 # does not break anything, and helps significantly (at the cost of a little
9731 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9732 hardcode_libdir_flag_spec
='-R$libdir'
9734 hardcode_shlibpath_var
=no
9737 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9739 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_minus_L
=yes
9742 hardcode_shlibpath_var
=no
9745 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9746 freebsd
* | dragonfly
*)
9747 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9748 hardcode_libdir_flag_spec
='-R$libdir'
9750 hardcode_shlibpath_var
=no
9754 if test "$GCC" = yes; then
9755 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'
9757 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'
9759 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9760 hardcode_libdir_separator
=:
9763 # hardcode_minus_L: Not really in the search PATH,
9764 # but as the default location of the library.
9765 hardcode_minus_L
=yes
9766 export_dynamic_flag_spec
='${wl}-E'
9770 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9771 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9773 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9775 if test "$with_gnu_ld" = no
; then
9776 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9777 hardcode_libdir_flag_spec_ld
='+b $libdir'
9778 hardcode_libdir_separator
=:
9780 hardcode_direct_absolute
=yes
9781 export_dynamic_flag_spec
='${wl}-E'
9782 # hardcode_minus_L: Not really in the search PATH,
9783 # but as the default location of the library.
9784 hardcode_minus_L
=yes
9789 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9792 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9798 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9811 # Older versions of the 11.00 compiler do not understand -b yet
9812 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9814 $as_echo_n "checking if $CC understands -b... " >&6; }
9815 if ${lt_cv_prog_compiler__b+:} false
; then :
9816 $as_echo_n "(cached) " >&6
9818 lt_cv_prog_compiler__b
=no
9819 save_LDFLAGS
="$LDFLAGS"
9820 LDFLAGS
="$LDFLAGS -b"
9821 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9822 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9823 # The linker can only warn and ignore the option if not recognized
9824 # So say no if there are warnings
9825 if test -s conftest.err
; then
9826 # Append any errors to the config.log.
9827 cat conftest.err
1>&5
9828 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9829 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9830 if diff conftest.exp conftest.er2
>/dev
/null
; then
9831 lt_cv_prog_compiler__b
=yes
9834 lt_cv_prog_compiler__b
=yes
9838 LDFLAGS
="$save_LDFLAGS"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9842 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9844 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9845 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9853 if test "$with_gnu_ld" = no
; then
9854 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9855 hardcode_libdir_separator
=:
9860 hardcode_shlibpath_var
=no
9864 hardcode_direct_absolute
=yes
9865 export_dynamic_flag_spec
='${wl}-E'
9867 # hardcode_minus_L: Not really in the search PATH,
9868 # but as the default location of the library.
9869 hardcode_minus_L
=yes
9875 irix5
* | irix6
* | nonstopux
*)
9876 if test "$GCC" = yes; then
9877 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'
9878 # Try to use the -exported_symbol ld option, if it does not
9879 # work, assume that -exports_file does not work either and
9880 # implicitly export all symbols.
9881 save_LDFLAGS
="$LDFLAGS"
9882 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9887 if ac_fn_c_try_link
"$LINENO"; then :
9888 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'
9891 rm -f core conftest.err conftest.
$ac_objext \
9892 conftest
$ac_exeext conftest.
$ac_ext
9893 LDFLAGS
="$save_LDFLAGS"
9895 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'
9896 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'
9898 archive_cmds_need_lc
='no'
9899 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9900 hardcode_libdir_separator
=:
9902 link_all_deplibs
=yes
9906 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9907 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9909 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9911 hardcode_libdir_flag_spec
='-R$libdir'
9913 hardcode_shlibpath_var
=no
9917 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9920 hardcode_libdir_separator
=:
9921 hardcode_shlibpath_var
=no
9928 if test -f /usr
/libexec
/ld.so
; then
9930 hardcode_shlibpath_var
=no
9931 hardcode_direct_absolute
=yes
9932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9933 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9935 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9936 export_dynamic_flag_spec
='${wl}-E'
9939 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9940 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_libdir_flag_spec
='-R$libdir'
9944 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9945 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9955 hardcode_libdir_flag_spec
='-L$libdir'
9956 hardcode_minus_L
=yes
9957 allow_undefined_flag
=unsupported
9958 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'
9959 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9963 if test "$GCC" = yes; then
9964 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9965 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'
9967 allow_undefined_flag
=' -expect_unresolved \*'
9968 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'
9970 archive_cmds_need_lc
='no'
9971 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9972 hardcode_libdir_separator
=:
9975 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9976 if test "$GCC" = yes; then
9977 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9978 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'
9979 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9981 allow_undefined_flag
=' -expect_unresolved \*'
9982 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'
9983 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~
9984 $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'
9986 # Both c and cxx compiler support -rpath directly
9987 hardcode_libdir_flag_spec
='-rpath $libdir'
9989 archive_cmds_need_lc
='no'
9990 hardcode_libdir_separator
=:
9994 no_undefined_flag
=' -z defs'
9995 if test "$GCC" = yes; then
9997 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9999 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10001 case `$CC -V 2>&1` in
10004 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10006 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10010 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10016 hardcode_libdir_flag_spec
='-R$libdir'
10017 hardcode_shlibpath_var
=no
10019 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10021 # The compiler driver will combine and reorder linker options,
10022 # but understands `-z linker_flag'. GCC discards it without `$wl',
10023 # but is careful enough not to reorder.
10024 # Supported since Solaris 2.6 (maybe 2.5.1?)
10025 if test "$GCC" = yes; then
10026 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10028 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10032 link_all_deplibs
=yes
10036 if test "x$host_vendor" = xsequent
; then
10037 # Use $CC to link under sequent, because it throws in some extra .o
10038 # files that make .init and .fini sections work.
10039 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_libdir_flag_spec
='-L$libdir'
10044 hardcode_direct
=yes
10045 hardcode_minus_L
=yes
10046 hardcode_shlibpath_var
=no
10050 case $host_vendor in
10052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053 hardcode_direct
=yes # is this really true???
10056 ## LD is ld it makes a PLAMLIB
10057 ## CC just makes a GrossModule.
10058 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10059 reload_cmds
='$CC -r -o $output$reload_objs'
10063 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10067 runpath_var
='LD_RUN_PATH'
10068 hardcode_shlibpath_var
=no
10072 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_shlibpath_var
=no
10074 export_dynamic_flag_spec
='-Bexport'
10078 if test -d /usr
/nec
; then
10079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_shlibpath_var
=no
10081 runpath_var
=LD_RUN_PATH
10082 hardcode_runpath_var
=yes
10087 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10088 no_undefined_flag
='${wl}-z,text'
10089 archive_cmds_need_lc
=no
10090 hardcode_shlibpath_var
=no
10091 runpath_var
='LD_RUN_PATH'
10093 if test "$GCC" = yes; then
10094 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102 sysv5
* | sco3.2v5
* | sco5v6
*)
10103 # Note: We can NOT use -z defs as we might desire, because we do not
10104 # link with -lc, and that would cause any symbols used from libc to
10105 # always be unresolved, which means just about no library would
10106 # ever link correctly. If we're not using GNU ld we use -z text
10107 # though, which does catch some bad symbols but isn't as heavy-handed
10109 no_undefined_flag
='${wl}-z,text'
10110 allow_undefined_flag
='${wl}-z,nodefs'
10111 archive_cmds_need_lc
=no
10112 hardcode_shlibpath_var
=no
10113 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10114 hardcode_libdir_separator
=':'
10115 link_all_deplibs
=yes
10116 export_dynamic_flag_spec
='${wl}-Bexport'
10117 runpath_var
='LD_RUN_PATH'
10119 if test "$GCC" = yes; then
10120 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_libdir_flag_spec
='-L$libdir'
10131 hardcode_shlibpath_var
=no
10139 if test x
$host_vendor = xsni
; then
10141 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10142 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10149 $as_echo "$ld_shlibs" >&6; }
10150 test "$ld_shlibs" = no
&& can_build_shared
=no
10152 with_gnu_ld
=$with_gnu_ld
10169 # Do we need to explicitly link libc?
10171 case "x$archive_cmds_need_lc" in
10173 # Assume -lc should be added
10174 archive_cmds_need_lc
=yes
10176 if test "$enable_shared" = yes && test "$GCC" = yes; then
10177 case $archive_cmds in
10179 # FIXME: we may have to deal with multi-command sequences.
10182 # Test whether the compiler implicitly links with -lc since on some
10183 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10184 # to ld, don't add -lc before -lgcc.
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10186 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10187 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10191 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10194 (eval $ac_compile) 2>&5
10196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10197 test $ac_status = 0; } 2>conftest.err
; then
10200 libobjs
=conftest.
$ac_objext
10202 wl
=$lt_prog_compiler_wl
10203 pic_flag
=$lt_prog_compiler_pic
10209 lt_save_allow_undefined_flag
=$allow_undefined_flag
10210 allow_undefined_flag
=
10211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10212 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10215 test $ac_status = 0; }
10217 lt_cv_archive_cmds_need_lc
=no
10219 lt_cv_archive_cmds_need_lc
=yes
10221 allow_undefined_flag
=$lt_save_allow_undefined_flag
10223 cat conftest.err
1>&5
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10229 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10230 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10394 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10396 if test "$GCC" = yes; then
10398 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10399 *) lt_awk_arg
="/^libraries:/" ;;
10402 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10403 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10405 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10406 case $lt_search_path_spec in
10408 # if the path contains ";" then we assume it to be the separator
10409 # otherwise default to the standard path separator (i.e. ":") - it is
10410 # assumed that no part of a normal pathname contains ";" but that should
10411 # okay in the real world where ";" in dirpaths is itself problematic.
10412 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10415 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10418 # Ok, now we have the path, separated by spaces, we can step through it
10419 # and add multilib dir if necessary.
10420 lt_tmp_lt_search_path_spec
=
10421 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10422 for lt_sys_path
in $lt_search_path_spec; do
10423 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10424 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10426 test -d "$lt_sys_path" && \
10427 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10430 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10431 BEGIN {RS=" "; FS="/|\n";} {
10434 for (lt_i = NF; lt_i > 0; lt_i--) {
10435 if ($lt_i != "" && $lt_i != ".") {
10436 if ($lt_i == "..") {
10439 if (lt_count == 0) {
10440 lt_foo="/" $lt_i lt_foo;
10447 if (lt_foo != "") { lt_freq[lt_foo]++; }
10448 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10450 # AWK program above erroneously prepends '/' to C:/dos/paths
10453 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10454 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10456 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10458 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10460 library_names_spec
=
10461 libname_spec
='lib$name'
10465 postuninstall_cmds
=
10469 shlibpath_overrides_runpath
=unknown
10471 dynamic_linker
="$host_os ld.so"
10472 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10473 need_lib_prefix
=unknown
10474 hardcode_into_libs
=no
10476 # when you set need_version to no, make sure it does not cause -set_version
10477 # flags to be left without arguments
10478 need_version
=unknown
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10484 shlibpath_var
=LIBPATH
10486 # AIX 3 has no versioning support, so we append a major version to the name.
10487 soname_spec
='${libname}${release}${shared_ext}$major'
10494 hardcode_into_libs
=yes
10495 if test "$host_cpu" = ia64
; then
10496 # AIX 5 supports IA64
10497 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10498 shlibpath_var
=LD_LIBRARY_PATH
10500 # With GCC up to 2.95.x, collect2 would create an import file
10501 # for dependence libraries. The import file would start with
10502 # the line `#! .'. This would cause the generated library to
10503 # depend on `.', always an invalid library. This was fixed in
10504 # development snapshots of GCC prior to 3.0.
10506 aix4 | aix4.
[01] | aix4.
[01].
*)
10507 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10509 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10512 can_build_shared
=no
10516 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10517 # soname into executable. Probably we can add versioning support to
10518 # collect2, so additional links can be useful in future.
10519 if test "$aix_use_runtimelinking" = yes; then
10520 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10521 # instead of lib<name>.a to let people know that these are not
10522 # typical AIX shared libraries.
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 # We preserve .a as extension for shared libraries through AIX4.2
10526 # and later when we are not doing run time linking.
10527 library_names_spec
='${libname}${release}.a $libname.a'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10530 shlibpath_var
=LIBPATH
10537 # Since July 2007 AmigaOS4 officially supports .so libraries.
10538 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 library_names_spec
='$libname.ixlibrary $libname.a'
10543 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10544 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'
10550 library_names_spec
='${libname}${shared_ext}'
10551 dynamic_linker
="$host_os ld.so"
10552 shlibpath_var
=LIBRARY_PATH
10558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10559 soname_spec
='${libname}${release}${shared_ext}$major'
10560 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10561 shlibpath_var
=LD_LIBRARY_PATH
10562 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10563 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10564 # the default ld.so.conf also contains /usr/contrib/lib and
10565 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10566 # libtool to hard-code these into programs
10569 cygwin
* | mingw
* | pw32
* | cegcc
*)
10570 version_type
=windows
10575 case $GCC,$host_os in
10576 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10577 library_names_spec
='$libname.dll.a'
10578 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10579 postinstall_cmds
='base_file=`basename \${file}`~
10580 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10581 dldir=$destdir/`dirname \$dlpath`~
10582 test -d \$dldir || mkdir -p \$dldir~
10583 $install_prog $dir/$dlname \$dldir/$dlname~
10584 chmod a+x \$dldir/$dlname~
10585 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10586 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10588 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10589 dlpath=$dir/\$dldll~
10591 shlibpath_overrides_runpath
=yes
10595 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10596 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10601 # MinGW DLLs use traditional 'lib' prefix
10602 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605 # pw32 DLLs use 'pw' prefix rather than 'lib'
10606 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10615 dynamic_linker
='Win32 ld.exe'
10616 # FIXME: first we should search . and the directory the executable is in
10620 darwin
* | rhapsody
*)
10621 dynamic_linker
="$host_os dyld"
10622 version_type
=darwin
10625 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10626 soname_spec
='${libname}${release}${major}$shared_ext'
10627 shlibpath_overrides_runpath
=yes
10628 shlibpath_var
=DYLD_LIBRARY_PATH
10629 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10631 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10632 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10644 freebsd
* | dragonfly
*)
10645 # DragonFly does not have aout. When/if they implement a new
10646 # versioning mechanism, adjust this.
10647 if test -x /usr
/bin
/objformat
; then
10648 objformat
=`/usr/bin/objformat`
10651 freebsd
[23].
*) objformat
=aout
;;
10652 *) objformat
=elf
;;
10655 version_type
=freebsd-
$objformat
10656 case $version_type in
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10663 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10667 shlibpath_var
=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath
=yes
10672 freebsd3.
[01]* | freebsdelf3.
[01]*)
10673 shlibpath_overrides_runpath
=yes
10674 hardcode_into_libs
=yes
10676 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10677 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10678 shlibpath_overrides_runpath
=no
10679 hardcode_into_libs
=yes
10681 *) # from 4.6 on, and DragonFly
10682 shlibpath_overrides_runpath
=yes
10683 hardcode_into_libs
=yes
10692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10693 soname_spec
='${libname}${release}${shared_ext}$major'
10694 shlibpath_var
=LD_LIBRARY_PATH
10695 hardcode_into_libs
=yes
10702 dynamic_linker
="$host_os runtime_loader"
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10704 soname_spec
='${libname}${release}${shared_ext}$major'
10705 shlibpath_var
=LIBRARY_PATH
10706 shlibpath_overrides_runpath
=yes
10707 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10708 hardcode_into_libs
=yes
10711 hpux9
* | hpux10
* | hpux11
*)
10712 # Give a soname corresponding to the major version so that dld.sl refuses to
10713 # link against other versions.
10720 hardcode_into_libs
=yes
10721 dynamic_linker
="$host_os dld.so"
10722 shlibpath_var
=LD_LIBRARY_PATH
10723 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10725 soname_spec
='${libname}${release}${shared_ext}$major'
10726 if test "X$HPUX_IA64_MODE" = X32
; then
10727 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10729 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10731 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10735 hardcode_into_libs
=yes
10736 dynamic_linker
="$host_os dld.sl"
10737 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10738 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec
='${libname}${release}${shared_ext}$major'
10741 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10742 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10746 dynamic_linker
="$host_os dld.sl"
10747 shlibpath_var
=SHLIB_PATH
10748 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10750 soname_spec
='${libname}${release}${shared_ext}$major'
10753 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10754 postinstall_cmds
='chmod 555 $lib'
10755 # or fails outright, so override atomically:
10756 install_override_mode
=555
10763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10764 soname_spec
='${libname}${release}${shared_ext}$major'
10765 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10766 shlibpath_var
=LD_LIBRARY_PATH
10767 shlibpath_overrides_runpath
=no
10768 hardcode_into_libs
=yes
10771 irix5
* | irix6
* | nonstopux
*)
10773 nonstopux
*) version_type
=nonstopux
;;
10775 if test "$lt_cv_prog_gnu_ld" = yes; then
10783 soname_spec
='${libname}${release}${shared_ext}$major'
10784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10786 irix5
* | nonstopux
*)
10787 libsuff
= shlibsuff
=
10790 case $LD in # libtool.m4 will add one of these switches to LD
10791 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10792 libsuff
= shlibsuff
= libmagic
=32-bit;;
10793 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10794 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10795 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10796 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10797 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10801 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10802 shlibpath_overrides_runpath
=no
10803 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10804 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10805 hardcode_into_libs
=yes
10808 # No shared lib support for Linux oldld, aout, or coff.
10809 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10813 # This must be Linux ELF.
10815 # uclinux* changes (here and below) have been submitted to the libtool
10816 # project, but have not yet been accepted: they are GCC-local changes
10817 # for the time being. (See
10818 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10819 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824 soname_spec
='${libname}${release}${shared_ext}$major'
10825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10826 shlibpath_var
=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath
=no
10829 # Some binutils ld are patched to set DT_RUNPATH
10830 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 lt_cv_shlibpath_overrides_runpath
=no
10834 save_LDFLAGS
=$LDFLAGS
10835 save_libdir
=$libdir
10836 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10837 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10851 lt_cv_shlibpath_overrides_runpath
=yes
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LDFLAGS
=$save_LDFLAGS
10857 libdir
=$save_libdir
10861 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10863 # This implies no fast_install, which is unacceptable.
10864 # Some rework will be needed to allow for fast_install
10865 # before this can be enabled.
10866 hardcode_into_libs
=yes
10868 # Append ld.so.conf contents to the search path
10869 if test -f /etc
/ld.so.conf
; then
10870 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' ' '`
10871 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10874 # We used to test for /lib/ld.so.1 and disable shared libraries on
10875 # powerpc, because MkLinux only supported shared libraries with the
10876 # GNU dynamic linker. Since this was broken with cross compilers,
10877 # most powerpc-linux boxes support dynamic linking these days and
10878 # people can always --disable-shared, the test was removed, and we
10879 # assume the GNU/Linux dynamic linker is in use.
10880 dynamic_linker
='GNU/Linux ld.so'
10887 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10890 dynamic_linker
='NetBSD (a.out) ld.so'
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 dynamic_linker
='NetBSD ld.elf_so'
10896 shlibpath_var
=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath
=yes
10898 hardcode_into_libs
=yes
10903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 shlibpath_var
=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath
=yes
10912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec
='${libname}${release}${shared_ext}$major'
10914 shlibpath_var
=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath
=no
10916 hardcode_into_libs
=yes
10917 dynamic_linker
='ldqnx.so'
10922 sys_lib_dlsearch_path_spec
="/usr/lib"
10924 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10926 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10927 *) need_version
=no
;;
10929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10931 shlibpath_var
=LD_LIBRARY_PATH
10932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10934 openbsd2.
[89] | openbsd2.
[89].
*)
10935 shlibpath_overrides_runpath
=no
10938 shlibpath_overrides_runpath
=yes
10942 shlibpath_overrides_runpath
=yes
10947 libname_spec
='$name'
10950 library_names_spec
='$libname${shared_ext} $libname.a'
10951 dynamic_linker
='OS/2 ld.exe'
10952 shlibpath_var
=LIBPATH
10955 osf3
* | osf4
* | osf5
*)
10959 soname_spec
='${libname}${release}${shared_ext}$major'
10960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10963 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec
='${libname}${release}${shared_ext}$major'
10976 shlibpath_var
=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath
=yes
10978 hardcode_into_libs
=yes
10979 # ldd complains unless libraries are executable
10980 postinstall_cmds
='chmod +x $lib'
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10987 shlibpath_var
=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath
=yes
10989 if test "$with_gnu_ld" = yes; then
10997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec
='${libname}${release}${shared_ext}$major'
10999 shlibpath_var
=LD_LIBRARY_PATH
11000 case $host_vendor in
11002 shlibpath_overrides_runpath
=no
11004 runpath_var
=LD_RUN_PATH
11012 shlibpath_overrides_runpath
=no
11013 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11019 if test -d /usr
/nec
;then
11021 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11022 soname_spec
='$libname${shared_ext}.$major'
11023 shlibpath_var
=LD_LIBRARY_PATH
11027 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11028 version_type
=freebsd-elf
11031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11032 soname_spec
='${libname}${release}${shared_ext}$major'
11033 shlibpath_var
=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath
=yes
11035 hardcode_into_libs
=yes
11036 if test "$with_gnu_ld" = yes; then
11037 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11039 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11042 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11046 sys_lib_dlsearch_path_spec
='/usr/lib'
11050 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 shlibpath_var
=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath
=no
11057 hardcode_into_libs
=yes
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11064 shlibpath_var
=LD_LIBRARY_PATH
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11072 $as_echo "$dynamic_linker" >&6; }
11073 test "$dynamic_linker" = no
&& can_build_shared
=no
11075 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11076 if test "$GCC" = yes; then
11077 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11080 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11081 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11083 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11084 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11181 if test -n "$hardcode_libdir_flag_spec" ||
11182 test -n "$runpath_var" ||
11183 test "X$hardcode_automatic" = "Xyes" ; then
11185 # We can hardcode non-existent directories.
11186 if test "$hardcode_direct" != no
&&
11187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11188 # have to relink, otherwise we might link with an installed library
11189 # when we should be linking with a yet-to-be-installed one
11190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11191 test "$hardcode_minus_L" != no
; then
11192 # Linking always hardcodes the temporary library directory.
11193 hardcode_action
=relink
11195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11196 hardcode_action
=immediate
11199 # We cannot hardcode anything, or else we can only hardcode existing
11201 hardcode_action
=unsupported
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11204 $as_echo "$hardcode_action" >&6; }
11206 if test "$hardcode_action" = relink ||
11207 test "$inherit_rpath" = yes; then
11208 # Fast installation is not supported
11209 enable_fast_install
=no
11210 elif test "$shlibpath_overrides_runpath" = yes ||
11211 test "$enable_shared" = no
; then
11212 # Fast installation is not necessary
11213 enable_fast_install
=needless
11221 if test "x$enable_dlopen" != xyes
; then
11222 enable_dlopen
=unknown
11223 enable_dlopen_self
=unknown
11224 enable_dlopen_self_static
=unknown
11231 lt_cv_dlopen
="load_add_on"
11233 lt_cv_dlopen_self
=yes
11236 mingw
* | pw32
* | cegcc
*)
11237 lt_cv_dlopen
="LoadLibrary"
11242 lt_cv_dlopen
="dlopen"
11247 # if libdl is installed we need to link against it
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11250 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11251 $as_echo_n "(cached) " >&6
11253 ac_check_lib_save_LIBS
=$LIBS
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11273 if ac_fn_c_try_link
"$LINENO"; then :
11274 ac_cv_lib_dl_dlopen
=yes
11276 ac_cv_lib_dl_dlopen
=no
11278 rm -f core conftest.err conftest.
$ac_objext \
11279 conftest
$ac_exeext conftest.
$ac_ext
11280 LIBS
=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11283 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11284 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11285 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11288 lt_cv_dlopen
="dyld"
11290 lt_cv_dlopen_self
=yes
11297 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11298 if test "x$ac_cv_func_shl_load" = xyes
; then :
11299 lt_cv_dlopen
="shl_load"
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11302 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11303 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11304 $as_echo_n "(cached) " >&6
11306 ac_check_lib_save_LIBS
=$LIBS
11308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11321 return shl_load ();
11326 if ac_fn_c_try_link
"$LINENO"; then :
11327 ac_cv_lib_dld_shl_load
=yes
11329 ac_cv_lib_dld_shl_load
=no
11331 rm -f core conftest.err conftest.
$ac_objext \
11332 conftest
$ac_exeext conftest.
$ac_ext
11333 LIBS
=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11336 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11337 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11338 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11340 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11341 if test "x$ac_cv_func_dlopen" = xyes
; then :
11342 lt_cv_dlopen
="dlopen"
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11346 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11347 $as_echo_n "(cached) " >&6
11349 ac_check_lib_save_LIBS
=$LIBS
11351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11369 if ac_fn_c_try_link
"$LINENO"; then :
11370 ac_cv_lib_dl_dlopen
=yes
11372 ac_cv_lib_dl_dlopen
=no
11374 rm -f core conftest.err conftest.
$ac_objext \
11375 conftest
$ac_exeext conftest.
$ac_ext
11376 LIBS
=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11380 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11381 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11384 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11385 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11389 LIBS
="-lsvld $LIBS"
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11408 if ac_fn_c_try_link
"$LINENO"; then :
11409 ac_cv_lib_svld_dlopen
=yes
11411 ac_cv_lib_svld_dlopen
=no
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LIBS
=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11418 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11419 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11420 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11423 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11424 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 ac_check_lib_save_LIBS
=$LIBS
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11442 return dld_link ();
11447 if ac_fn_c_try_link
"$LINENO"; then :
11448 ac_cv_lib_dld_dld_link
=yes
11450 ac_cv_lib_dld_dld_link
=no
11452 rm -f core conftest.err conftest.
$ac_objext \
11453 conftest
$ac_exeext conftest.
$ac_ext
11454 LIBS
=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11457 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11458 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11459 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11480 if test "x$lt_cv_dlopen" != xno
; then
11486 case $lt_cv_dlopen in
11488 save_CPPFLAGS
="$CPPFLAGS"
11489 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11491 save_LDFLAGS
="$LDFLAGS"
11492 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11495 LIBS
="$lt_cv_dlopen_libs $LIBS"
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11498 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11499 if ${lt_cv_dlopen_self+:} false
; then :
11500 $as_echo_n "(cached) " >&6
11502 if test "$cross_compiling" = yes; then :
11503 lt_cv_dlopen_self
=cross
11505 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11506 lt_status
=$lt_dlunknown
11507 cat > conftest.
$ac_ext <<_LT_EOF
11508 #line 11508 "configure"
11509 #include "confdefs.h"
11518 # define LT_DLGLOBAL RTLD_GLOBAL
11521 # define LT_DLGLOBAL DL_GLOBAL
11523 # define LT_DLGLOBAL 0
11527 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11528 find out it does not work in some platform. */
11529 #ifndef LT_DLLAZY_OR_NOW
11531 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11534 # define LT_DLLAZY_OR_NOW DL_LAZY
11537 # define LT_DLLAZY_OR_NOW RTLD_NOW
11540 # define LT_DLLAZY_OR_NOW DL_NOW
11542 # define LT_DLLAZY_OR_NOW 0
11549 /* When -fvisbility=hidden is used, assume the code has been annotated
11550 correspondingly for the symbols needed. */
11551 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11552 void fnord () __attribute__((visibility("default")));
11555 void fnord () { int i=42; }
11558 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11559 int status = $lt_dlunknown;
11563 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11566 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11567 else puts (dlerror ());
11569 /* dlclose (self); */
11577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11578 (eval $ac_link) 2>&5
11580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11581 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11582 (.
/conftest
; exit; ) >&5 2>/dev
/null
11584 case x
$lt_status in
11585 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11586 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11587 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11590 # compilation failed
11591 lt_cv_dlopen_self
=no
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11599 $as_echo "$lt_cv_dlopen_self" >&6; }
11601 if test "x$lt_cv_dlopen_self" = xyes
; then
11602 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11604 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11605 if ${lt_cv_dlopen_self_static+:} false
; then :
11606 $as_echo_n "(cached) " >&6
11608 if test "$cross_compiling" = yes; then :
11609 lt_cv_dlopen_self_static
=cross
11611 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11612 lt_status
=$lt_dlunknown
11613 cat > conftest.
$ac_ext <<_LT_EOF
11614 #line 11614 "configure"
11615 #include "confdefs.h"
11624 # define LT_DLGLOBAL RTLD_GLOBAL
11627 # define LT_DLGLOBAL DL_GLOBAL
11629 # define LT_DLGLOBAL 0
11633 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11634 find out it does not work in some platform. */
11635 #ifndef LT_DLLAZY_OR_NOW
11637 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11640 # define LT_DLLAZY_OR_NOW DL_LAZY
11643 # define LT_DLLAZY_OR_NOW RTLD_NOW
11646 # define LT_DLLAZY_OR_NOW DL_NOW
11648 # define LT_DLLAZY_OR_NOW 0
11655 /* When -fvisbility=hidden is used, assume the code has been annotated
11656 correspondingly for the symbols needed. */
11657 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11658 void fnord () __attribute__((visibility("default")));
11661 void fnord () { int i=42; }
11664 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11665 int status = $lt_dlunknown;
11669 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11672 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11673 else puts (dlerror ());
11675 /* dlclose (self); */
11683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11684 (eval $ac_link) 2>&5
11686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11687 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11688 (.
/conftest
; exit; ) >&5 2>/dev
/null
11690 case x
$lt_status in
11691 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11692 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11693 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11696 # compilation failed
11697 lt_cv_dlopen_self_static
=no
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11705 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11708 CPPFLAGS
="$save_CPPFLAGS"
11709 LDFLAGS
="$save_LDFLAGS"
11714 case $lt_cv_dlopen_self in
11715 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11716 *) enable_dlopen_self
=unknown
;;
11719 case $lt_cv_dlopen_self_static in
11720 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11721 *) enable_dlopen_self_static
=unknown
;;
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11744 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11745 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11746 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11747 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11749 $as_echo "yes" >&6; }
11751 # FIXME - insert some real tests, host_os isn't really good enough
11754 if test -n "$STRIP" ; then
11755 striplib
="$STRIP -x"
11756 old_striplib
="$STRIP -S"
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758 $as_echo "yes" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766 $as_echo "no" >&6; }
11782 # Report which library types will actually be built
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11784 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11786 $as_echo "$can_build_shared" >&6; }
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11789 $as_echo_n "checking whether to build shared libraries... " >&6; }
11790 test "$can_build_shared" = "no" && enable_shared
=no
11792 # On AIX, shared libraries and static libraries use the same namespace, and
11793 # are all built from PIC.
11796 test "$enable_shared" = yes && enable_static
=no
11797 if test -n "$RANLIB"; then
11798 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11799 postinstall_cmds
='$RANLIB $lib'
11804 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11805 test "$enable_shared" = yes && enable_static
=no
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11810 $as_echo "$enable_shared" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11813 $as_echo_n "checking whether to build static libraries... " >&6; }
11814 # Make sure either enable_shared or enable_static is yes.
11815 test "$enable_shared" = yes || enable_static
=yes
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11817 $as_echo "$enable_static" >&6; }
11824 ac_cpp
='$CPP $CPPFLAGS'
11825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11843 ac_config_commands
="$ac_config_commands libtool"
11848 # Only expand once:
11853 # Check whether --enable-largefile was given.
11854 if test "${enable_largefile+set}" = set; then :
11855 enableval
=$enable_largefile;
11858 if test "$enable_largefile" != no
; then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11861 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11862 if ${ac_cv_sys_largefile_CC+:} false
; then :
11863 $as_echo_n "(cached) " >&6
11865 ac_cv_sys_largefile_CC
=no
11866 if test "$GCC" != yes; then
11869 # IRIX 6.2 and later do not support large files by default,
11870 # so use the C compiler's -n32 option if that helps.
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873 #include <sys/types.h>
11874 /* Check that off_t can represent 2**63 - 1 correctly.
11875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11876 since some C++ compilers masquerading as C compilers
11877 incorrectly reject 9223372036854775807. */
11878 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11880 && LARGE_OFF_T % 2147483647 == 1)
11890 if ac_fn_c_try_compile
"$LINENO"; then :
11893 rm -f core conftest.err conftest.
$ac_objext
11895 if ac_fn_c_try_compile
"$LINENO"; then :
11896 ac_cv_sys_largefile_CC
=' -n32'; break
11898 rm -f core conftest.err conftest.
$ac_objext
11902 rm -f conftest.
$ac_ext
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11906 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11907 if test "$ac_cv_sys_largefile_CC" != no
; then
11908 CC
=$CC$ac_cv_sys_largefile_CC
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11912 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11913 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11914 $as_echo_n "(cached) " >&6
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 #include <sys/types.h>
11920 /* Check that off_t can represent 2**63 - 1 correctly.
11921 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11922 since some C++ compilers masquerading as C compilers
11923 incorrectly reject 9223372036854775807. */
11924 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11925 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11926 && LARGE_OFF_T % 2147483647 == 1)
11936 if ac_fn_c_try_compile
"$LINENO"; then :
11937 ac_cv_sys_file_offset_bits
=no
; break
11939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 #define _FILE_OFFSET_BITS 64
11943 #include <sys/types.h>
11944 /* Check that off_t can represent 2**63 - 1 correctly.
11945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11946 since some C++ compilers masquerading as C compilers
11947 incorrectly reject 9223372036854775807. */
11948 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11950 && LARGE_OFF_T % 2147483647 == 1)
11960 if ac_fn_c_try_compile
"$LINENO"; then :
11961 ac_cv_sys_file_offset_bits
=64; break
11963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11964 ac_cv_sys_file_offset_bits
=unknown
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11969 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11970 case $ac_cv_sys_file_offset_bits in #(
11973 cat >>confdefs.h
<<_ACEOF
11974 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11979 if test $ac_cv_sys_file_offset_bits = unknown
; then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11981 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11982 if ${ac_cv_sys_large_files+:} false
; then :
11983 $as_echo_n "(cached) " >&6
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11988 #include <sys/types.h>
11989 /* Check that off_t can represent 2**63 - 1 correctly.
11990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11991 since some C++ compilers masquerading as C compilers
11992 incorrectly reject 9223372036854775807. */
11993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11995 && LARGE_OFF_T % 2147483647 == 1)
12005 if ac_fn_c_try_compile
"$LINENO"; then :
12006 ac_cv_sys_large_files
=no
; break
12008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12011 #define _LARGE_FILES 1
12012 #include <sys/types.h>
12013 /* Check that off_t can represent 2**63 - 1 correctly.
12014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12015 since some C++ compilers masquerading as C compilers
12016 incorrectly reject 9223372036854775807. */
12017 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12019 && LARGE_OFF_T % 2147483647 == 1)
12029 if ac_fn_c_try_compile
"$LINENO"; then :
12030 ac_cv_sys_large_files
=1; break
12032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12033 ac_cv_sys_large_files
=unknown
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12038 $as_echo "$ac_cv_sys_large_files" >&6; }
12039 case $ac_cv_sys_large_files in #(
12042 cat >>confdefs.h
<<_ACEOF
12043 #define _LARGE_FILES $ac_cv_sys_large_files
12054 backtrace_supported
=yes
12056 if test -n "${with_target_subdir}"; then
12057 # We are compiling a GCC library. We can assume that the unwind
12059 BACKTRACE_FILE
="backtrace.lo simple.lo"
12061 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
12062 if test "x$ac_cv_header_unwind_h" = xyes
; then :
12063 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
12064 if test "x$ac_cv_func__Unwind_Backtrace" = xyes
; then :
12065 BACKTRACE_FILE
="backtrace.lo simple.lo"
12067 BACKTRACE_FILE
="nounwind.lo"
12068 backtrace_supported
=no
12072 BACKTRACE_FILE
="nounwind.lo"
12073 backtrace_supported
=no
12081 if test -n "${with_target_subdir}"; then
12082 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
12085 $as_echo_n "checking for -funwind-tables option... " >&6; }
12086 if ${libbacktrace_cv_c_unwind_tables+:} false
; then :
12087 $as_echo_n "(cached) " >&6
12089 CFLAGS_hold
="$CFLAGS"
12090 CFLAGS
="$CFLAGS -funwind-tables"
12091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 static int f() { return 0; }
12102 if ac_fn_c_try_compile
"$LINENO"; then :
12103 libbacktrace_cv_c_unwind_tables
=yes
12105 libbacktrace_cv_c_unwind_tables
=no
12107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12108 CFLAGS
="$CFLAGS_hold"
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
12111 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
12112 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
12113 EXTRA_FLAGS
=-funwind-tables
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
12116 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
12117 if ${libbacktrace_cv_c_random_seed_string+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 CFLAGS_hold
="$CFLAGS"
12121 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12133 if ac_fn_c_try_compile
"$LINENO"; then :
12134 libbacktrace_cv_c_random_seed_string
=yes
12136 libbacktrace_cv_c_random_seed_string
=no
12138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12139 CFLAGS
="$CFLAGS_hold"
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
12142 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
12143 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
12144 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
12148 if test -n "${with_target_subdir}"; then
12149 # Add CET specific flags is Intel CET is enabled.
12150 # Check whether --enable-cet was given.
12151 if test "${enable_cet+set}" = set; then :
12152 enableval
=$enable_cet;
12153 case "$enableval" in
12155 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12164 $as_echo_n "checking for CET support... " >&6; }
12166 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
12168 i
[34567]86-*-linux* | x86_64-
*-linux*)
12169 case "$enable_cet" in
12171 # Check if target supports multi-byte NOPs
12172 # and if assembler supports CET insn.
12173 cet_save_CFLAGS
="$CFLAGS"
12174 CFLAGS
="$CFLAGS -fcf-protection"
12175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12182 #if !defined(__SSE2__)
12183 #error target does not support multi-byte NOPs
12192 if ac_fn_c_try_compile
"$LINENO"; then :
12197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12198 CFLAGS
="$cet_save_CFLAGS"
12201 # Check if assembler supports CET.
12202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12213 if ac_fn_c_try_compile
"$LINENO"; then :
12216 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
12218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12226 if test x
$enable_cet = xyes
; then
12227 CET_FLAGS
="-fcf-protection -mshstk"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12235 EXTRA_FLAGS
="$EXTRA_FLAGS $CET_FLAGS"
12240 ac_cpp
='$CPP $CPPFLAGS'
12241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12246 save_CFLAGS
="$CFLAGS"
12247 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
12248 -Wmissing-prototypes -Wold-style-definition \
12249 -Wmissing-format-attribute -Wcast-qual; do
12250 # Do the check with the no- prefix removed since gcc silently
12251 # accepts any -Wno-* option on purpose
12252 case $real_option in
12253 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
12254 *) option
=$real_option ;;
12256 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
12259 $as_echo_n "checking whether $CC supports $option... " >&6; }
12260 if eval \
${$as_acx_Woption+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12275 if ac_fn_c_try_compile
"$LINENO"; then :
12276 eval "$as_acx_Woption=yes"
12278 eval "$as_acx_Woption=no"
12280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12283 eval ac_res
=\$
$as_acx_Woption
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12285 $as_echo "$ac_res" >&6; }
12286 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
12287 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
12290 CFLAGS
="$save_CFLAGS"
12292 ac_cpp
='$CPP $CPPFLAGS'
12293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12299 if test -n "${with_target_subdir}"; then
12300 WARN_FLAGS
="$WARN_FLAGS -Werror"
12305 if test -n "${with_target_subdir}"; then
12308 # Check whether --with-system-libunwind was given.
12309 if test "${with_system_libunwind+set}" = set; then :
12310 withval
=$with_system_libunwind;
12313 # If system-libunwind was not specifically set, pick a default setting.
12314 if test x
$with_system_libunwind = x
; then
12316 ia64-
*-hpux*) with_system_libunwind
=yes ;;
12317 *) with_system_libunwind
=no
;;
12320 # Based on system-libunwind and target, do we have ipinfo?
12321 if test x
$with_system_libunwind = xyes
; then
12323 ia64-
*-*) have_unwind_getipinfo
=no
;;
12324 *) have_unwind_getipinfo
=yes ;;
12327 # Darwin before version 9 does not have _Unwind_GetIPInfo.
12330 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
12331 *) have_unwind_getipinfo
=yes ;;
12336 if test x
$have_unwind_getipinfo = xyes
; then
12338 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12343 ac_save_CFFLAGS
="$CFLAGS"
12344 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12346 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12349 #include "unwind.h"
12350 struct _Unwind_Context *context;
12351 int ip_before_insn = 0;
12355 return _Unwind_GetIPInfo (context, &ip_before_insn);
12360 if ac_fn_c_try_link
"$LINENO"; then :
12361 have_unwind_getipinfo
=yes
12363 have_unwind_getipinfo
=no
12365 rm -f core conftest.err conftest.
$ac_objext \
12366 conftest
$ac_exeext conftest.
$ac_ext
12367 CFLAGS
="$ac_save_CFLAGS"
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12369 $as_echo "$have_unwind_getipinfo" >&6; }
12370 if test "$have_unwind_getipinfo" = "yes"; then
12372 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12377 # Enable --enable-host-shared.
12378 # Check whether --enable-host-shared was given.
12379 if test "${enable_host_shared+set}" = set; then :
12380 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12387 # Enable Intel CET on Intel CET enabled host if jit is enabled.
12388 # Check whether --enable-cet was given.
12389 if test "${enable_cet+set}" = set; then :
12390 enableval
=$enable_cet;
12391 case "$enableval" in
12393 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
12402 $as_echo_n "checking for CET support... " >&6; }
12405 i
[34567]86-*-linux* | x86_64-
*-linux*)
12407 cet_save_CFLAGS
="$CFLAGS"
12408 CFLAGS
="$CFLAGS -fcf-protection"
12409 case "$enable_cet" in
12411 # Check if target supports multi-byte NOPs
12412 # and if assembler supports CET insn.
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12420 #if !defined(__SSE2__)
12421 #error target does not support multi-byte NOPs
12430 if ac_fn_c_try_compile
"$LINENO"; then :
12435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12438 # Check if assembler supports CET.
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12450 if ac_fn_c_try_compile
"$LINENO"; then :
12453 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
12455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12458 CFLAGS
="$cet_save_CFLAGS"
12466 cet_save_CFLAGS
="$CFLAGS"
12467 CFLAGS
="$CFLAGS -fcf-protection=none"
12468 cet_save_LDFLAGS
="$LDFLAGS"
12469 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
12470 if test x
$may_have_cet = xyes
; then
12471 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
12472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12483 if ac_fn_c_try_link
"$LINENO"; then :
12488 rm -f core conftest.err conftest.
$ac_objext \
12489 conftest
$ac_exeext conftest.
$ac_ext
12492 if test x
$may_have_cet = xyes
; then
12493 if test x
$cross_compiling = xno
; then
12494 if test "$cross_compiling" = yes; then :
12495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12497 as_fn_error $?
"cannot run test program while cross compiling
12498 See \`config.log' for more details" "$LINENO" 5; }
12500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12509 __attribute__ ((noinline, noclone))
12510 xxx (void (*f) (void))
12516 __attribute__ ((noinline, noclone))
12530 if ac_fn_c_try_run
"$LINENO"; then :
12535 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12536 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12539 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
12540 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
12544 # Enable CET in cross compiler if possible so that it will run on both
12545 # CET and non-CET hosts.
12548 if test x
$enable_cet = xyes
; then
12549 CET_HOST_FLAGS
="-fcf-protection"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12551 $as_echo "yes" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12554 $as_echo "no" >&6; }
12556 CFLAGS
="$cet_save_CFLAGS"
12557 LDFLAGS
="$cet_save_LDFLAGS"
12559 case x
$enable_languages in
12568 # Test for __sync support.
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12570 $as_echo_n "checking __sync extensions... " >&6; }
12571 if ${libbacktrace_cv_sys_sync+:} false
; then :
12572 $as_echo_n "(cached) " >&6
12574 if test -n "${with_target_subdir}"; then
12576 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12577 *) libbacktrace_cv_sys_sync
=yes ;;
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12586 __sync_bool_compare_and_swap (&i, i, i);
12587 __sync_lock_test_and_set (&i, 1);
12588 __sync_lock_release (&i);
12593 if ac_fn_c_try_link
"$LINENO"; then :
12594 libbacktrace_cv_sys_sync
=yes
12596 libbacktrace_cv_sys_sync
=no
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12603 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12604 BACKTRACE_SUPPORTS_THREADS
=0
12605 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12606 BACKTRACE_SUPPORTS_THREADS
=1
12608 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12613 # Test for __atomic support.
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12615 $as_echo_n "checking __atomic extensions... " >&6; }
12616 if ${libbacktrace_cv_sys_atomic+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 if test -n "${with_target_subdir}"; then
12620 libbacktrace_cv_sys_atomic
=yes
12622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12628 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12629 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12634 if ac_fn_c_try_link
"$LINENO"; then :
12635 libbacktrace_cv_sys_atomic
=yes
12637 libbacktrace_cv_sys_atomic
=no
12639 rm -f core conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12644 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12645 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12647 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12651 # The library needs to be able to read the executable itself. Compile
12652 # a file to determine the executable format. The awk script
12653 # filetype.awk prints out the file type.
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12655 $as_echo_n "checking output filetype... " >&6; }
12656 if ${libbacktrace_cv_sys_filetype+:} false
; then :
12657 $as_echo_n "(cached) " >&6
12660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12671 if ac_fn_c_try_compile
"$LINENO"; then :
12672 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12676 as_fn_error $?
"compiler failed
12677 See \`config.log' for more details" "$LINENO" 5; }
12679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12680 libbacktrace_cv_sys_filetype
=$filetype
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12683 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12685 # Match the file type to decide what files to compile.
12687 backtrace_supports_data
=yes
12688 case "$libbacktrace_cv_sys_filetype" in
12689 elf
*) FORMAT_FILE
="elf.lo" ;;
12690 macho
) FORMAT_FILE
="macho.lo" ;;
12691 pecoff
) FORMAT_FILE
="pecoff.lo"
12692 backtrace_supports_data
=no
12694 xcoff
*) FORMAT_FILE
="xcoff.lo"
12695 backtrace_supports_data
=no
12697 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12698 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12699 FORMAT_FILE
="unknown.lo"
12700 backtrace_supported
=no
12707 case "$libbacktrace_cv_sys_filetype" in
12708 elf32
) elfsize
=32 ;;
12709 elf64
) elfsize
=64 ;;
12713 cat >>confdefs.h
<<_ACEOF
12714 #define BACKTRACE_ELF_SIZE $elfsize
12717 if test "$FORMAT_FILE" = "elf.lo"; then
12728 case "$libbacktrace_cv_sys_filetype" in
12729 xcoff32
) xcoffsize
=32 ;;
12730 xcoff64
) xcoffsize
=64 ;;
12731 *) xcoffsize
=unused
12734 cat >>confdefs.h
<<_ACEOF
12735 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12739 BACKTRACE_SUPPORTED
=0
12740 if test "$backtrace_supported" = "yes"; then
12741 BACKTRACE_SUPPORTED
=1
12745 BACKTRACE_SUPPORTS_DATA
=0
12746 if test "$backtrace_supports_data" = "yes"; then
12747 BACKTRACE_SUPPORTS_DATA
=1
12753 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12755 acx_cv_header_stdint
=stddef.h
12756 acx_cv_header_stdint_kind
="(already complete)"
12757 for i
in stdint.h
$inttype_headers; do
12758 unset ac_cv_type_uintptr_t
12759 unset ac_cv_type_uintmax_t
12760 unset ac_cv_type_int_least32_t
12761 unset ac_cv_type_int_fast32_t
12762 unset ac_cv_type_uint64_t
12763 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12764 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12767 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
12768 acx_cv_header_stdint
=$i
12773 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12776 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12779 acx_cv_header_stdint_kind
="(mostly complete)"
12782 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12785 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
12788 acx_cv_header_stdint_kind
="(mostly complete)"
12791 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12794 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
12797 acx_cv_header_stdint_kind
="(mostly complete)"
12800 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12803 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12806 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12811 if test "$acx_cv_header_stdint" = stddef.h
; then
12812 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12813 for i
in stdint.h
$inttype_headers; do
12814 unset ac_cv_type_uintptr_t
12815 unset ac_cv_type_uint32_t
12816 unset ac_cv_type_uint64_t
12817 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12818 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12821 if test "x$ac_cv_type_uint32_t" = xyes
; then :
12822 acx_cv_header_stdint
=$i
12827 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12830 if test "x$ac_cv_type_uint64_t" = xyes
; then :
12834 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12837 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
12844 if test "$acx_cv_header_stdint" = stddef.h
; then
12845 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12846 for i
in sys
/types.h
$inttype_headers; do
12847 unset ac_cv_type_u_int32_t
12848 unset ac_cv_type_u_int64_t
12849 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12850 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12853 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
12854 acx_cv_header_stdint
=$i
12859 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12862 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
12869 if test "$acx_cv_header_stdint" = stddef.h
; then
12870 acx_cv_header_stdint_kind
="(using manual detection)"
12873 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12874 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12875 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12876 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12877 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12879 # ----------------- Summarize what we found so far
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12882 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12884 case `$as_basename -- gstdint.h ||
12885 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12886 Xgstdint.h : 'X\(//\)$' \| \
12887 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12888 $as_echo X/gstdint.h |
12889 sed '/^.*\/\([^/][^/]*\)\/*$/{
12902 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12903 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12904 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12905 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12910 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
12912 # ----------------- done included file, check C basic types --------
12914 # Lacking an uintptr_t? Test size of void *
12915 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12916 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
12917 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12918 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12919 # This bug is HP SR number 8606223364.
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12921 $as_echo_n "checking size of void *... " >&6; }
12922 if ${ac_cv_sizeof_void_p+:} false
; then :
12923 $as_echo_n "(cached) " >&6
12925 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12928 if test "$ac_cv_type_void_p" = yes; then
12929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12931 as_fn_error
77 "cannot compute sizeof (void *)
12932 See \`config.log' for more details" "$LINENO" 5; }
12934 ac_cv_sizeof_void_p
=0
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12940 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12944 cat >>confdefs.h
<<_ACEOF
12945 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12951 # Lacking an uint64_t? Test size of long
12952 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12953 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
12954 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12955 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12956 # This bug is HP SR number 8606223364.
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12958 $as_echo_n "checking size of long... " >&6; }
12959 if ${ac_cv_sizeof_long+:} false
; then :
12960 $as_echo_n "(cached) " >&6
12962 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12965 if test "$ac_cv_type_long" = yes; then
12966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12968 as_fn_error
77 "cannot compute sizeof (long)
12969 See \`config.log' for more details" "$LINENO" 5; }
12971 ac_cv_sizeof_long
=0
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12977 $as_echo "$ac_cv_sizeof_long" >&6; }
12981 cat >>confdefs.h
<<_ACEOF
12982 #define SIZEOF_LONG $ac_cv_sizeof_long
12988 if test $acx_cv_header_stdint = stddef.h
; then
12989 # Lacking a good header? Test size of everything and deduce all types.
12990 # The cast to long int works around a bug in the HP C Compiler
12991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12993 # This bug is HP SR number 8606223364.
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12995 $as_echo_n "checking size of int... " >&6; }
12996 if ${ac_cv_sizeof_int+:} false
; then :
12997 $as_echo_n "(cached) " >&6
12999 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13002 if test "$ac_cv_type_int" = yes; then
13003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13005 as_fn_error
77 "cannot compute sizeof (int)
13006 See \`config.log' for more details" "$LINENO" 5; }
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13014 $as_echo "$ac_cv_sizeof_int" >&6; }
13018 cat >>confdefs.h
<<_ACEOF
13019 #define SIZEOF_INT $ac_cv_sizeof_int
13023 # The cast to long int works around a bug in the HP C Compiler
13024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13026 # This bug is HP SR number 8606223364.
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13028 $as_echo_n "checking size of short... " >&6; }
13029 if ${ac_cv_sizeof_short+:} false
; then :
13030 $as_echo_n "(cached) " >&6
13032 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13035 if test "$ac_cv_type_short" = yes; then
13036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13038 as_fn_error
77 "cannot compute sizeof (short)
13039 See \`config.log' for more details" "$LINENO" 5; }
13041 ac_cv_sizeof_short
=0
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13047 $as_echo "$ac_cv_sizeof_short" >&6; }
13051 cat >>confdefs.h
<<_ACEOF
13052 #define SIZEOF_SHORT $ac_cv_sizeof_short
13056 # The cast to long int works around a bug in the HP C Compiler
13057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13059 # This bug is HP SR number 8606223364.
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13061 $as_echo_n "checking size of char... " >&6; }
13062 if ${ac_cv_sizeof_char+:} false
; then :
13063 $as_echo_n "(cached) " >&6
13065 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13068 if test "$ac_cv_type_char" = yes; then
13069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13071 as_fn_error
77 "cannot compute sizeof (char)
13072 See \`config.log' for more details" "$LINENO" 5; }
13074 ac_cv_sizeof_char
=0
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13080 $as_echo "$ac_cv_sizeof_char" >&6; }
13084 cat >>confdefs.h
<<_ACEOF
13085 #define SIZEOF_CHAR $ac_cv_sizeof_char
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
13091 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
13092 case "$ac_cv_sizeof_char" in
13093 1) acx_cv_type_int8_t
=char
;;
13094 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
13097 $as_echo "$acx_cv_type_int8_t" >&6; }
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
13100 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
13101 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
13102 2:*) acx_cv_type_int16_t
=int
;;
13103 *:2) acx_cv_type_int16_t
=short
;;
13104 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
13107 $as_echo "$acx_cv_type_int16_t" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
13110 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
13111 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
13112 4:*) acx_cv_type_int32_t
=int
;;
13113 *:4) acx_cv_type_int32_t
=long
;;
13114 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
13117 $as_echo "$acx_cv_type_int32_t" >&6; }
13120 # These tests are here to make the output prettier
13122 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
13123 case "$ac_cv_sizeof_long" in
13124 8) acx_cv_type_int64_t
=long
;;
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
13127 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
13129 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
13132 # Now we can use the above types
13134 if test "$ac_cv_type_uintptr_t" != yes; then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
13136 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
13137 case $ac_cv_sizeof_void_p in
13138 2) acx_cv_type_intptr_t
=int16_t
;;
13139 4) acx_cv_type_intptr_t
=int32_t
;;
13140 8) acx_cv_type_intptr_t
=int64_t
;;
13141 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
13144 $as_echo "$acx_cv_type_intptr_t" >&6; }
13147 # ----------------- done all checks, emit header -------------
13148 ac_config_commands
="$ac_config_commands gstdint.h"
13153 for ac_header
in sys
/mman.h
13155 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13156 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
13157 cat >>confdefs.h
<<_ACEOF
13158 #define HAVE_SYS_MMAN_H 1
13165 if test "$ac_cv_header_sys_mman_h" = "no"; then
13168 if test -n "${with_target_subdir}"; then
13169 # When built as a GCC target library, we can't do a link test. We
13170 # simply assume that if we have mman.h, we have mmap.
13174 # DJGPP has sys/man.h, but no mmap
13178 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
13179 if test "x$ac_cv_func_mmap" = xyes
; then :
13187 if test "$have_mmap" = "no"; then
13189 ALLOC_FILE
=alloc.lo
13191 VIEW_FILE
=mmapio.lo
13192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13195 #include <sys/mman.h>
13196 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
13197 #error no MAP_ANONYMOUS
13201 if ac_fn_c_try_cpp
"$LINENO"; then :
13204 ALLOC_FILE
=alloc.lo
13206 rm -f conftest.err conftest.i conftest.
$ac_ext
13211 BACKTRACE_USES_MALLOC
=0
13212 if test "$ALLOC_FILE" = "alloc.lo"; then
13213 BACKTRACE_USES_MALLOC
=1
13217 # Check for dl_iterate_phdr.
13218 for ac_header
in link.h
13220 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
13221 if test "x$ac_cv_header_link_h" = xyes
; then :
13222 cat >>confdefs.h
<<_ACEOF
13223 #define HAVE_LINK_H 1
13230 if test "$ac_cv_header_link_h" = "no"; then
13231 have_dl_iterate_phdr
=no
13233 if test -n "${with_target_subdir}"; then
13234 # When built as a GCC target library, we can't do a link test.
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13241 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
13242 have_dl_iterate_phdr
=yes
13244 have_dl_iterate_phdr
=no
13249 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
13250 if test "x$ac_cv_func_dl_iterate_phdr" = xyes
; then :
13251 have_dl_iterate_phdr
=yes
13253 have_dl_iterate_phdr
=no
13258 if test "$have_dl_iterate_phdr" = "yes"; then
13260 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
13264 # Check for header file for Mach-O image functions.
13265 for ac_header
in mach-o
/dyld.h
13267 ac_fn_c_check_header_mongrel
"$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
13268 if test "x$ac_cv_header_mach_o_dyld_h" = xyes
; then :
13269 cat >>confdefs.h
<<_ACEOF
13270 #define HAVE_MACH_O_DYLD_H 1
13278 # Check for loadquery.
13279 for ac_header
in sys
/ldr.h
13281 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
13282 if test "x$ac_cv_header_sys_ldr_h" = xyes
; then :
13283 cat >>confdefs.h
<<_ACEOF
13284 #define HAVE_SYS_LDR_H 1
13291 if test "$ac_cv_header_sys_ldr_h" = "no"; then
13294 if test -n "${with_target_subdir}"; then
13295 # When built as a GCC target library, we can't do a link test.
13296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13298 #include <sys/ldr.h>
13301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13302 $EGREP "loadquery" >/dev
/null
2>&1; then :
13310 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
13311 if test "x$ac_cv_func_loadquery" = xyes
; then :
13319 if test "$have_loadquery" = "yes"; then
13321 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
13325 # Check for the fcntl function.
13326 if test -n "${with_target_subdir}"; then
13328 *-*-mingw*) have_fcntl
=no
;;
13329 *) have_fcntl
=yes ;;
13332 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
13333 if test "x$ac_cv_func_fcntl" = xyes
; then :
13340 if test "$have_fcntl" = "yes"; then
13342 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
13346 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
13347 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
13353 cat >>confdefs.h
<<_ACEOF
13354 #define HAVE_DECL_STRNLEN $ac_have_decl
13356 ac_fn_c_check_decl
"$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
13357 if test "x$ac_cv_have_decl_getpagesize" = xyes
; then :
13363 cat >>confdefs.h
<<_ACEOF
13364 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
13367 for ac_func
in lstat readlink
13369 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13370 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13371 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13372 cat >>confdefs.h
<<_ACEOF
13373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13380 # Check for getexecname function.
13381 if test -n "${with_target_subdir}"; then
13383 *-*-solaris2*) have_getexecname
=yes ;;
13384 *) have_getexecname
=no
;;
13387 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
13388 if test "x$ac_cv_func_getexecname" = xyes
; then :
13389 have_getexecname
=yes
13391 have_getexecname
=no
13395 if test "$have_getexecname" = "yes"; then
13397 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
13401 # Check for sysctl definitions.
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
13404 $as_echo_n "checking for KERN_PROC... " >&6; }
13405 if ${libbacktrace_cv_proc+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 #include <sys/types.h>
13412 #include <sys/sysctl.h>
13417 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
13422 if ac_fn_c_try_compile
"$LINENO"; then :
13423 libbacktrace_cv_proc
=yes
13425 libbacktrace_cv_proc
=no
13427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
13430 $as_echo "$libbacktrace_cv_proc" >&6; }
13431 if test "$libbacktrace_cv_proc" = "yes"; then
13433 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
13438 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
13439 if ${libbacktrace_cv_procargs+:} false
; then :
13440 $as_echo_n "(cached) " >&6
13442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13445 #include <sys/types.h>
13446 #include <sys/sysctl.h>
13451 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
13456 if ac_fn_c_try_compile
"$LINENO"; then :
13457 libbacktrace_cv_procargs
=yes
13459 libbacktrace_cv_procargs
=no
13461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
13464 $as_echo "$libbacktrace_cv_procargs" >&6; }
13465 if test "$libbacktrace_cv_procargs" = "yes"; then
13467 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
13471 # Check for the clock_gettime function.
13472 for ac_func
in clock_gettime
13474 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
13475 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
13476 cat >>confdefs.h
<<_ACEOF
13477 #define HAVE_CLOCK_GETTIME 1
13483 clock_gettime_link
=
13484 # At least for glibc, clock_gettime is in librt. But don't
13485 # pull that in if it still doesn't give us the function we want. This
13486 # test is copied from libgomp, and modified to not link in -lrt as
13487 # we're using this for test timing only.
13488 if test "$ac_cv_func_clock_gettime" = no
; then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13490 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13491 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 ac_check_lib_save_LIBS
=$LIBS
13496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13505 char clock_gettime ();
13509 return clock_gettime ();
13514 if ac_fn_c_try_link
"$LINENO"; then :
13515 ac_cv_lib_rt_clock_gettime
=yes
13517 ac_cv_lib_rt_clock_gettime
=no
13519 rm -f core conftest.err conftest.
$ac_objext \
13520 conftest
$ac_exeext conftest.
$ac_ext
13521 LIBS
=$ac_check_lib_save_LIBS
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13524 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13525 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
13526 CLOCK_GETTIME_LINK
=-lrt
13528 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13536 $as_echo_n "checking whether -pthread is supported... " >&6; }
13537 if ${libgo_cv_lib_pthread+:} false
; then :
13538 $as_echo_n "(cached) " >&6
13540 CFLAGS_hold
=$CFLAGS
13541 CFLAGS
="$CFLAGS -pthread"
13542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13546 if ac_fn_c_try_compile
"$LINENO"; then :
13547 libgo_cv_lib_pthread
=yes
13549 libgo_cv_lib_pthread
=no
13551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13552 CFLAGS
=$CFLAGS_hold
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
13555 $as_echo "$libgo_cv_lib_pthread" >&6; }
13557 if test "$libgo_cv_lib_pthread" = yes; then
13558 PTHREAD_CFLAGS
=-pthread
13562 if test "$libgo_cv_lib_pthread" = yes; then
13564 HAVE_PTHREAD_FALSE
='#'
13566 HAVE_PTHREAD_TRUE
='#'
13567 HAVE_PTHREAD_FALSE
=
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
13572 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
13573 if ${libbacktrace_cv_lib_dwarf5+:} false
; then :
13574 $as_echo_n "(cached) " >&6
13576 CFLAGS_hold
=$CFLAGS
13577 CFLAGS
="$CFLAGS -gdwarf-5"
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13582 if ac_fn_c_try_compile
"$LINENO"; then :
13583 libbacktrace_cv_lib_dwarf5
=yes
13585 libbacktrace_cv_lib_dwarf5
=no
13587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13588 CFLAGS
=$CFLAGS_hold
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
13591 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
13592 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
13594 HAVE_DWARF5_FALSE
='#'
13596 HAVE_DWARF5_TRUE
='#'
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
13602 $as_echo_n "checking for compress in -lz... " >&6; }
13603 if ${ac_cv_lib_z_compress+:} false
; then :
13604 $as_echo_n "(cached) " >&6
13606 ac_check_lib_save_LIBS
=$LIBS
13608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13611 /* Override any GCC internal prototype to avoid an error.
13612 Use char because int might match the return type of a GCC
13613 builtin and then its argument prototype would still apply. */
13621 return compress ();
13626 if ac_fn_c_try_link
"$LINENO"; then :
13627 ac_cv_lib_z_compress
=yes
13629 ac_cv_lib_z_compress
=no
13631 rm -f core conftest.err conftest.
$ac_objext \
13632 conftest
$ac_exeext conftest.
$ac_ext
13633 LIBS
=$ac_check_lib_save_LIBS
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
13636 $as_echo "$ac_cv_lib_z_compress" >&6; }
13637 if test "x$ac_cv_lib_z_compress" = xyes
; then :
13639 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13643 if test "$ac_cv_lib_z_compress" = yes; then
13645 HAVE_ZLIB_FALSE
='#'
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
13653 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
13654 if ${libgo_cv_ld_compress+:} false
; then :
13655 $as_echo_n "(cached) " >&6
13657 LDFLAGS_hold
=$LDFLAGS
13658 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13670 if ac_fn_c_try_link
"$LINENO"; then :
13671 libgo_cv_ld_compress
=yes
13673 libgo_cv_ld_compress
=no
13675 rm -f core conftest.err conftest.
$ac_objext \
13676 conftest
$ac_exeext conftest.
$ac_ext
13677 LDFLAGS
=$LDFLAGS_hold
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
13680 $as_echo "$libgo_cv_ld_compress" >&6; }
13681 if test "$libgo_cv_ld_compress" = yes; then
13682 HAVE_COMPRESSED_DEBUG_TRUE
=
13683 HAVE_COMPRESSED_DEBUG_FALSE
='#'
13685 HAVE_COMPRESSED_DEBUG_TRUE
='#'
13686 HAVE_COMPRESSED_DEBUG_FALSE
=
13691 # Extract the first word of "objcopy", so it can be a program name with args.
13692 set dummy objcopy
; ac_word
=$2
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13694 $as_echo_n "checking for $ac_word... " >&6; }
13695 if ${ac_cv_prog_OBJCOPY+:} false
; then :
13696 $as_echo_n "(cached) " >&6
13698 if test -n "$OBJCOPY"; then
13699 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
13701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13702 for as_dir
in $PATH
13705 test -z "$as_dir" && as_dir
=.
13706 for ac_exec_ext
in '' $ac_executable_extensions; do
13707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13708 ac_cv_prog_OBJCOPY
="objcopy"
13709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13718 OBJCOPY
=$ac_cv_prog_OBJCOPY
13719 if test -n "$OBJCOPY"; then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
13721 $as_echo "$OBJCOPY" >&6; }
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13724 $as_echo "no" >&6; }
13728 # Extract the first word of "readelf", so it can be a program name with args.
13729 set dummy readelf
; ac_word
=$2
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13731 $as_echo_n "checking for $ac_word... " >&6; }
13732 if ${ac_cv_prog_READELF+:} false
; then :
13733 $as_echo_n "(cached) " >&6
13735 if test -n "$READELF"; then
13736 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
13738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13739 for as_dir
in $PATH
13742 test -z "$as_dir" && as_dir
=.
13743 for ac_exec_ext
in '' $ac_executable_extensions; do
13744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13745 ac_cv_prog_READELF
="readelf"
13746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13755 READELF
=$ac_cv_prog_READELF
13756 if test -n "$READELF"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
13758 $as_echo "$READELF" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13761 $as_echo "no" >&6; }
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
13766 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
13767 if ${libbacktrace_cv_objcopy_debuglink+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 if test -n "${with_target_subdir}"; then
13771 libbacktrace_cv_objcopy_debuglink
=no
13772 elif ! test -n "${OBJCOPY}"; then
13773 libbacktrace_cv_objcopy_debuglink
=no
13774 elif ${OBJCOPY} --add-gnu-debuglink=x
/bin
/ls /tmp
/ls$$
; then
13776 libbacktrace_cv_objcopy_debuglink
=yes
13778 libbacktrace_cv_objcopy_debuglink
=no
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
13782 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
13783 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
13784 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
13785 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
13787 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
13788 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
13793 # Extract the first word of "dsymutil", so it can be a program name with args.
13794 set dummy dsymutil
; ac_word
=$2
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13796 $as_echo_n "checking for $ac_word... " >&6; }
13797 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
13798 $as_echo_n "(cached) " >&6
13800 if test -n "$DSYMUTIL"; then
13801 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
13803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13804 for as_dir
in $PATH
13807 test -z "$as_dir" && as_dir
=.
13808 for ac_exec_ext
in '' $ac_executable_extensions; do
13809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13810 ac_cv_prog_DSYMUTIL
="dsymutil"
13811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13820 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
13821 if test -n "$DSYMUTIL"; then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
13823 $as_echo "$DSYMUTIL" >&6; }
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13826 $as_echo "no" >&6; }
13830 if test -n "${DSYMUTIL}"; then
13831 HAVE_DSYMUTIL_TRUE
=
13832 HAVE_DSYMUTIL_FALSE
='#'
13834 HAVE_DSYMUTIL_TRUE
='#'
13835 HAVE_DSYMUTIL_FALSE
=
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
13840 $as_echo_n "checking whether tests can run... " >&6; }
13841 if ${libbacktrace_cv_sys_native+:} false
; then :
13842 $as_echo_n "(cached) " >&6
13844 if test "$cross_compiling" = yes; then :
13845 libbacktrace_cv_sys_native
=no
13847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13858 if ac_fn_c_try_run
"$LINENO"; then :
13859 libbacktrace_cv_sys_native
=yes
13861 libbacktrace_cv_sys_native
=no
13863 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13864 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
13869 $as_echo "$libbacktrace_cv_sys_native" >&6; }
13870 if test "$libbacktrace_cv_sys_native" = "yes"; then
13879 if test "${multilib}" = "yes"; then
13880 multilib_arg
="--enable-multilib"
13885 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
13887 ac_config_files
="$ac_config_files install-debuginfo-for-buildid.sh"
13890 # We need multilib support, but only if configuring for the target.
13891 ac_config_commands
="$ac_config_commands default"
13894 cat >confcache
<<\_ACEOF
13895 # This file is a shell script that caches the results of configure
13896 # tests run on this system so they can be shared between configure
13897 # scripts and configure runs, see configure's option --config-cache.
13898 # It is not useful on other systems. If it contains results you don't
13899 # want to keep, you may remove or edit it.
13901 # config.status only pays attention to the cache file if you give it
13902 # the --recheck option to rerun configure.
13904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13906 # following values.
13910 # The following way of writing the cache mishandles newlines in values,
13911 # but we know of no workaround that is simple, portable, and efficient.
13912 # So, we kill variables containing newlines.
13913 # Ultrix sh set writes to stderr and can't be redirected directly,
13914 # and sets the high bit in the cache file unless we assign to the vars.
13916 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13917 eval ac_val
=\$
$ac_var
13921 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13925 _ | IFS | as_nl
) ;; #(
13926 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13927 *) { eval $ac_var=; unset $ac_var;} ;;
13933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13934 *${as_nl}ac_space
=\
*)
13935 # `set' does not quote correctly, so add quotes: double-quote
13936 # substitution turns \\\\ into \\, and sed turns \\ into \.
13939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13942 # `set' quotes correctly as required by POSIX, so do not add quotes.
13943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13956 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13957 if test -w "$cache_file"; then
13958 if test "x$cache_file" != "x/dev/null"; then
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13960 $as_echo "$as_me: updating cache $cache_file" >&6;}
13961 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13962 cat confcache
>"$cache_file"
13964 case $cache_file in #(
13966 mv -f confcache
"$cache_file"$$
&&
13967 mv -f "$cache_file"$$
"$cache_file" ;; #(
13969 mv -f confcache
"$cache_file" ;;
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13980 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13981 # Let make expand exec_prefix.
13982 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13984 DEFS
=-DHAVE_CONFIG_H
13989 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13990 # 1. Remove the extension, and $U if already installed.
13991 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13992 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13993 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13994 # will be set to the directory where LIBOBJS objects are built.
13995 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13996 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13998 LIBOBJS
=$ac_libobjs
14000 LTLIBOBJS
=$ac_ltlibobjs
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14004 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14005 if test -n "$am_sleep_pid"; then
14006 # Hide warnings about reused PIDs.
14007 wait $am_sleep_pid 2>/dev
/null
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14010 $as_echo "done" >&6; }
14011 if test -n "$EXEEXT"; then
14013 am__EXEEXT_FALSE
='#'
14015 am__EXEEXT_TRUE
='#'
14019 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14020 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14023 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
14024 as_fn_error $?
"conditional \"HAVE_DWZ\" was never defined.
14025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14027 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
14028 as_fn_error $?
"conditional \"HAVE_ELF\" was never defined.
14029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14031 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
14032 as_fn_error $?
"conditional \"HAVE_PTHREAD\" was never defined.
14033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14035 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
14036 as_fn_error $?
"conditional \"HAVE_DWARF5\" was never defined.
14037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14039 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
14040 as_fn_error $?
"conditional \"HAVE_ZLIB\" was never defined.
14041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14043 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
14044 as_fn_error $?
"conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
14045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14047 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
14048 as_fn_error $?
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
14049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14051 if test -z "${HAVE_DSYMUTIL_TRUE}" && test -z "${HAVE_DSYMUTIL_FALSE}"; then
14052 as_fn_error $?
"conditional \"HAVE_DSYMUTIL\" was never defined.
14053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14055 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
14056 as_fn_error $?
"conditional \"NATIVE\" was never defined.
14057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14060 : "${CONFIG_STATUS=./config.status}"
14062 ac_clean_files_save
=$ac_clean_files
14063 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14069 # Generated by $as_me.
14070 # Run this file to recreate the current configuration.
14071 # Compiler output produced by configure, useful for debugging
14072 # configure, is in config.log if it exists.
14075 ac_cs_recheck=false
14078 SHELL=\${CONFIG_SHELL-$SHELL}
14081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14082 ## -------------------- ##
14083 ## M4sh Initialization. ##
14084 ## -------------------- ##
14086 # Be more Bourne compatible
14087 DUALCASE
=1; export DUALCASE
# for MKS sh
14088 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14091 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14092 # is contrary to our usage. Disable this feature.
14093 alias -g '${1+"$@"}'='"$@"'
14094 setopt NO_GLOB_SUBST
14096 case `(set -o) 2>/dev/null` in #(
14108 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14109 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14112 # Prefer a ksh shell builtin over an external printf program on Solaris,
14113 # but without wasting forks for bash or zsh.
14114 if test -z "$BASH_VERSION$ZSH_VERSION" \
14115 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14116 as_echo='print
-r --'
14117 as_echo_n='print
-rn --'
14118 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14119 as_echo='printf %s
\n'
14120 as_echo_n='printf %s
'
14122 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14123 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14124 as_echo_n='/usr
/ucb
/echo -n'
14126 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14127 as_echo_n_body='eval
14131 expr "X$arg" : "X\\(.*\\)$as_nl";
14132 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14134 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14136 export as_echo_n_body
14137 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14139 export as_echo_body
14140 as_echo='sh
-c $as_echo_body as_echo
'
14143 # The user is always right.
14144 if test "${PATH_SEPARATOR+set}" != set; then
14146 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14147 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14154 # We need space, tab and new line, in precisely that order. Quoting is
14155 # there to prevent editors from complaining about space-tab.
14156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14157 # splitting by setting IFS to empty value.)
14160 # Find who we are. Look in the path if we contain no directory separator.
14163 *[\\/]* ) as_myself=$0 ;;
14164 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14165 for as_dir in $PATH
14168 test -z "$as_dir" && as_dir=.
14169 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14175 # We did not find ourselves, most probably we were run as `sh COMMAND'
14176 # in which case we are not to be found in the path.
14177 if test "x$as_myself" = x
; then
14180 if test ! -f "$as_myself"; then
14181 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14185 # Unset variables that we do not need and which cause bugs (e.g. in
14186 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14187 # suppresses any "Segmentation fault" message there. '((' could
14188 # trigger a bug in pdksh 5.2.14.
14189 for as_var
in BASH_ENV ENV MAIL MAILPATH
14190 do eval test x\
${$as_var+set} = xset \
14191 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14204 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14208 # ----------------------------------------
14209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14211 # script with STATUS, using 1 if that was 0.
14214 as_status
=$1; test $as_status -eq 0 && as_status
=1
14216 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14217 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14219 $as_echo "$as_me: error: $2" >&2
14220 as_fn_exit
$as_status
14224 # as_fn_set_status STATUS
14225 # -----------------------
14226 # Set $? to STATUS, without forking.
14227 as_fn_set_status
()
14230 } # as_fn_set_status
14232 # as_fn_exit STATUS
14233 # -----------------
14234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14238 as_fn_set_status
$1
14244 # Portably unset VAR.
14247 { eval $1=; unset $1;}
14249 as_unset
=as_fn_unset
14250 # as_fn_append VAR VALUE
14251 # ----------------------
14252 # Append the text in VALUE to the end of the definition contained in VAR. Take
14253 # advantage of any shell optimizations that allow amortized linear growth over
14254 # repeated appends, instead of the typical quadratic growth present in naive
14256 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14257 eval 'as_fn_append ()
14268 # as_fn_arith ARG...
14269 # ------------------
14270 # Perform arithmetic evaluation on the ARGs, and store the result in the
14271 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14272 # must be portable across $(()) and expr.
14273 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14274 eval 'as_fn_arith ()
14281 as_val
=`expr "$@" || test $? -eq 1`
14286 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14287 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14293 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14294 as_basename
=basename
14299 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14305 as_me
=`$as_basename -- "$0" ||
14306 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14307 X"$0" : 'X\(//\)$' \| \
14308 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14310 sed '/^.*\/\([^/][^/]*\)\/*$/{
14324 # Avoid depending upon Character Ranges.
14325 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14326 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14327 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14328 as_cr_digits
='0123456789'
14329 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14331 ECHO_C
= ECHO_N
= ECHO_T
=
14332 case `echo -n x` in #(((((
14334 case `echo 'xy\c'` in
14335 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14337 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14344 rm -f conf$$ conf$$.exe conf$$.
file
14345 if test -d conf$$.dir
; then
14346 rm -f conf$$.dir
/conf$$.
file
14349 mkdir conf$$.dir
2>/dev
/null
14351 if (echo >conf$$.
file) 2>/dev
/null
; then
14352 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14354 # ... but there are two gotchas:
14355 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14356 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14357 # In both cases, we have to default to `cp -pR'.
14358 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14360 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14368 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14369 rmdir conf$$.dir
2>/dev
/null
14374 # Create "$as_dir" as a directory, including parents if necessary.
14379 -*) as_dir
=.
/$as_dir;;
14381 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14385 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14386 *) as_qdir
=$as_dir;;
14388 as_dirs
="'$as_qdir' $as_dirs"
14389 as_dir
=`$as_dirname -- "$as_dir" ||
14390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14391 X"$as_dir" : 'X\(//\)[^/]' \| \
14392 X"$as_dir" : 'X\(//\)$' \| \
14393 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14394 $as_echo X"$as_dir" |
14395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14399 /^X\(\/\/\)[^/].*/{
14412 test -d "$as_dir" && break
14414 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14415 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14419 if mkdir
-p .
2>/dev
/null
; then
14420 as_mkdir_p
='mkdir -p "$as_dir"'
14422 test -d .
/-p && rmdir .
/-p
14427 # as_fn_executable_p FILE
14428 # -----------------------
14429 # Test if FILE is an executable regular file.
14430 as_fn_executable_p
()
14432 test -f "$1" && test -x "$1"
14433 } # as_fn_executable_p
14434 as_test_x
='test -x'
14435 as_executable_p
=as_fn_executable_p
14437 # Sed expression to map a string onto a valid CPP name.
14438 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14440 # Sed expression to map a string onto a valid variable name.
14441 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14445 ## ----------------------------------- ##
14446 ## Main body of $CONFIG_STATUS script. ##
14447 ## ----------------------------------- ##
14449 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14452 # Save the log message, to keep $0 and so on meaningful, and to
14453 # report actual input values of CONFIG_FILES etc. instead of their
14454 # values after options handling.
14456 This file was extended by package-unused $as_me version-unused, which was
14457 generated by GNU Autoconf 2.69. Invocation command line was
14459 CONFIG_FILES = $CONFIG_FILES
14460 CONFIG_HEADERS = $CONFIG_HEADERS
14461 CONFIG_LINKS = $CONFIG_LINKS
14462 CONFIG_COMMANDS = $CONFIG_COMMANDS
14465 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14470 case $ac_config_files in *"
14471 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14474 case $ac_config_headers in *"
14475 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14480 # Files that config.status was made for.
14481 config_files="$ac_config_files"
14482 config_headers="$ac_config_headers"
14483 config_commands="$ac_config_commands"
14487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14489 \`$as_me' instantiates files and other configuration actions
14490 from templates according to the current configuration. Unless the files
14491 and actions are specified as TAGs, all are instantiated by default.
14493 Usage: $0 [OPTION]... [TAG]...
14495 -h, --help print this help, then exit
14496 -V, --version print version number and configuration settings, then exit
14497 --config print configuration, then exit
14498 -q, --quiet, --silent
14499 do not print progress messages
14500 -d, --debug don't remove temporary files
14501 --recheck update $as_me by reconfiguring in the same conditions
14502 --file=FILE[:TEMPLATE]
14503 instantiate the configuration file FILE
14504 --header=FILE[:TEMPLATE]
14505 instantiate the configuration header FILE
14507 Configuration files:
14510 Configuration headers:
14513 Configuration commands:
14516 Report bugs to the package provider."
14519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14520 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14522 package-unused config.status version-unused
14523 configured by $0, generated by GNU Autoconf 2.69,
14524 with options \\"\$ac_cs_config\\"
14526 Copyright (C) 2012 Free Software Foundation, Inc.
14527 This config.status script is free software; the Free Software Foundation
14528 gives unlimited permission to copy, distribute and modify it."
14535 test -n "\$AWK" || AWK=awk
14538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14539 # The default lists apply if the user does not specify any file.
14545 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14546 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14550 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14562 # Handling of the options.
14563 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14565 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14566 $as_echo "$ac_cs_version"; exit ;;
14567 --config |
--confi |
--conf |
--con |
--co |
--c )
14568 $as_echo "$ac_cs_config"; exit ;;
14569 --debug |
--debu |
--deb |
--de |
--d |
-d )
14571 --file |
--fil |
--fi |
--f )
14574 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14575 '') as_fn_error $?
"missing file argument" ;;
14577 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14578 ac_need_defaults
=false
;;
14579 --header |
--heade |
--head |
--hea )
14582 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14584 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14585 ac_need_defaults
=false
;;
14587 # Conflict between --help and --header
14588 as_fn_error $?
"ambiguous option: \`$1'
14589 Try \`$0 --help' for more information.";;
14590 --help |
--hel |
-h )
14591 $as_echo "$ac_cs_usage"; exit ;;
14592 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14593 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14596 # This is an error.
14597 -*) as_fn_error $?
"unrecognized option: \`$1'
14598 Try \`$0 --help' for more information." ;;
14600 *) as_fn_append ac_config_targets
" $1"
14601 ac_need_defaults
=false
;;
14607 ac_configure_extra_args
=
14609 if $ac_cs_silent; then
14611 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14616 if \$ac_cs_recheck; then
14617 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14619 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14620 CONFIG_SHELL='$SHELL'
14621 export CONFIG_SHELL
14626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14631 ## Running $as_me. ##
14637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14645 with_multisubdir="$with_multisubdir"
14646 with_multisrctop="$with_multisrctop"
14647 with_target_subdir="$with_target_subdir"
14648 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14649 multi_basedir="$multi_basedir"
14650 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14653 GFORTRAN="$GFORTRAN"
14657 # The HP-UX ksh and POSIX shell print the target directory to stdout
14658 # if CDPATH is set.
14659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14661 sed_quote_subst='$sed_quote_subst'
14662 double_quote_subst='$double_quote_subst'
14663 delay_variable_subst='$delay_variable_subst'
14664 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14665 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14666 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14667 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14668 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14669 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14670 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14671 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14672 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14673 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14674 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14675 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14676 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14677 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14678 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14679 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14680 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14681 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14682 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14683 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14684 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14685 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14686 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14687 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14688 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14689 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14690 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14691 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14692 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14693 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14694 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14695 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14696 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14697 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14698 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14699 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14700 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14701 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14702 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14703 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14704 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14705 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14706 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14707 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14708 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14709 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14710 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14711 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14712 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"`'
14713 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14714 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14715 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14716 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14717 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14718 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14719 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14720 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14721 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14722 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14723 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14724 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14725 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14726 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14727 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14728 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14729 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14730 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14731 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14732 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14733 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14734 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14735 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14736 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14737 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14738 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14739 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14740 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14741 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14742 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14743 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14744 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14745 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14746 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14747 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14748 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14749 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14750 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14751 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14752 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14753 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14754 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14755 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14756 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14757 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14758 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14759 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14760 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14761 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14762 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14763 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14764 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14765 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14766 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14767 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14768 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14769 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14770 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14771 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14772 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14773 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14774 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14775 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14776 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14777 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14778 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14779 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14780 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14781 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14782 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14783 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14786 LTCFLAGS='$LTCFLAGS'
14787 compiler='$compiler_DEFAULT'
14789 # A function that is used when there is no print builtin or printf.
14790 func_fallback_echo ()
14792 eval 'cat <<_LTECHO_EOF
14797 # Quote evaled strings.
14811 deplibs_check_method \
14820 lt_cv_sys_global_symbol_pipe \
14821 lt_cv_sys_global_symbol_to_cdecl \
14822 lt_cv_sys_global_symbol_to_c_name_address \
14823 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14824 lt_prog_compiler_no_builtin_flag \
14825 lt_prog_compiler_wl \
14826 lt_prog_compiler_pic \
14827 lt_prog_compiler_static \
14828 lt_cv_prog_compiler_c_o \
14836 export_dynamic_flag_spec \
14837 whole_archive_flag_spec \
14838 compiler_needs_object \
14840 allow_undefined_flag \
14841 no_undefined_flag \
14842 hardcode_libdir_flag_spec \
14843 hardcode_libdir_flag_spec_ld \
14844 hardcode_libdir_separator \
14849 variables_saved_for_relink \
14851 library_names_spec \
14853 install_override_mode \
14857 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14858 *[\\\\\\\`\\"\\\$]*)
14859 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14862 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14867 # Double-quote double-evaled strings.
14868 for var in reload_cmds \
14869 old_postinstall_cmds \
14870 old_postuninstall_cmds \
14872 extract_expsyms_cmds \
14873 old_archive_from_new_cmds \
14874 old_archive_from_expsyms_cmds \
14876 archive_expsym_cmds \
14878 module_expsym_cmds \
14879 export_symbols_cmds \
14882 postuninstall_cmds \
14884 sys_lib_search_path_spec \
14885 sys_lib_dlsearch_path_spec; do
14886 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14887 *[\\\\\\\`\\"\\\$]*)
14888 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14891 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14896 ac_aux_dir='$ac_aux_dir'
14897 xsi_shell='$xsi_shell'
14898 lt_shell_append='$lt_shell_append'
14900 # See if we are running on zsh, and set the options which allow our
14901 # commands through without removal of \ escapes INIT.
14902 if test -n "\${ZSH_VERSION+set}" ; then
14903 setopt NO_GLOB_SUBST
14909 TIMESTAMP='$TIMESTAMP'
14918 acx_cv_header_stdint="$acx_cv_header_stdint"
14919 acx_cv_type_int8_t="$acx_cv_type_int8_t"
14920 acx_cv_type_int16_t="$acx_cv_type_int16_t"
14921 acx_cv_type_int32_t="$acx_cv_type_int32_t"
14922 acx_cv_type_int64_t="$acx_cv_type_int64_t"
14923 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
14924 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
14925 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
14926 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
14927 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
14928 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
14929 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
14930 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
14931 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
14934 # Variables needed in config.status (file generation) which aren't already
14935 # passed by autoconf.
14941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14943 # Handling of arguments.
14944 for ac_config_target
in $ac_config_targets
14946 case $ac_config_target in
14947 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14948 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14949 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14950 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
14951 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14952 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
14953 "install-debuginfo-for-buildid.sh") CONFIG_FILES
="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
14954 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14956 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14961 # If the user did not use the arguments to specify the items to instantiate,
14962 # then the envvar interface is used. Set only those that are not.
14963 # We use the long form for the default assignment because of an extremely
14964 # bizarre bug on SunOS 4.1.3.
14965 if $ac_need_defaults; then
14966 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14967 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14968 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14971 # Have a temporary directory for convenience. Make it in the build tree
14972 # simply because there is no reason against having it here, and in addition,
14973 # creating and moving files from /tmp can sometimes cause problems.
14974 # Hook for its removal unless debugging.
14975 # Note that there is a small window in which the directory will not be cleaned:
14976 # after its creation but before its name has been assigned to `$tmp'.
14980 trap 'exit_status=$?
14981 : "${ac_tmp:=$tmp}"
14982 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14984 trap 'as_fn_exit 1' 1 2 13 15
14986 # Create a (secure) tmp directory for tmp files.
14989 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14993 tmp
=.
/conf$$
-$RANDOM
14994 (umask 077 && mkdir
"$tmp")
14995 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14998 # Set up the scripts for CONFIG_FILES section.
14999 # No need to generate them if there are no CONFIG_FILES.
15000 # This happens for instance with `./config.status config.h'.
15001 if test -n "$CONFIG_FILES"; then
15004 ac_cr
=`echo X | tr X '\015'`
15005 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15006 # But we know of no other shell where ac_cr would be empty at this
15007 # point, so we can use a bashism as a fallback.
15008 if test "x$ac_cr" = x
; then
15009 eval ac_cr
=\$
\'\\r
\'
15011 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15012 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15015 ac_cs_awk_cr
=$ac_cr
15018 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15023 echo "cat >conf$$subs.awk <<_ACEOF" &&
15024 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15026 } >conf$$subs.sh ||
15027 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15028 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15030 for ac_last_try in false false false false false :; do
15031 . ./conf$$subs.sh ||
15032 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15034 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15035 if test $ac_delim_n = $ac_delim_num; then
15037 elif $ac_last_try; then
15038 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15040 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15043 rm -f conf$$subs.sh
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15050 s/^/S["/; s
/!.
*/"]=/
15060 s/\(.\{148\}\)..*/\1/
15062 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15067 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15074 s/\(.\{148\}\)..*/\1/
15076 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15080 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15085 ' <conf$$subs.awk | sed '
15090 ' >>$CONFIG_STATUS || ac_write_fail=1
15091 rm -f conf$$subs.awk
15092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15094 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15095 for (key in S) S_is_set[key] = 1
15101 nfields = split(line, field, "@
")
15103 len = length(field[1])
15104 for (i = 2; i < nfields; i++) {
15106 keylen = length(key)
15107 if (S_is_set[key]) {
15109 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15110 len += length(value) + length(field[++i])
15121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15122 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15123 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15126 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15127 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15130 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15131 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15132 # trailing colons and then remove the whole line if VPATH becomes empty
15133 # (actually we leave an empty line to preserve line numbers).
15134 if test "x
$srcdir" = x.; then
15135 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15154 fi # test -n "$CONFIG_FILES"
15156 # Set up the scripts for CONFIG_HEADERS section.
15157 # No need to generate them if there are no CONFIG_HEADERS.
15158 # This happens for instance with `./config.status Makefile'.
15159 if test -n "$CONFIG_HEADERS"; then
15160 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15164 # Transform confdefs.h into an awk script `defines.awk', embedded as
15165 # here-document in config.status, that substitutes the proper values into
15166 # config.h.in to produce config.h.
15168 # Create a delimiter string that does not exist in confdefs.h, to ease
15169 # handling of long lines.
15171 for ac_last_try in false false :; do
15172 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15173 if test -z "$ac_tt"; then
15175 elif $ac_last_try; then
15176 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15178 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15182 # For the awk script, D is an array of macro values keyed by name,
15183 # likewise P contains macro parameters if any. Preserve backslash
15184 # newline sequences.
15186 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15188 s/.\{148\}/&'"$ac_delim"'/g
15191 s/^[ ]*#[ ]*define[ ][ ]*/ /
15198 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15200 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15204 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15205 D["\
1"]=" \
3\\\\\\n
"\\/p
15207 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15212 s/.\{148\}/&'"$ac_delim"'/g
15217 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15220 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15222 ' <confdefs.h | sed '
15223 s/'"$ac_delim"'/"\\\
15224 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15227 for (key in D) D_is_set[key] = 1
15230 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15232 split(line, arg, " ")
15233 if (arg[1] == "#") {
15237 defundef
= substr
(arg
[1], 2)
15240 split(mac1
, mac2
, "(") #)
15242 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15243 if (D_is_set
[macro
]) {
15244 # Preserve the white space surrounding the "#".
15245 print prefix
"define", macro P
[macro
] D
[macro
]
15248 # Replace #undef with comments. This is necessary, for example,
15249 # in the case of _POSIX_SOURCE, which is predefined and required
15250 # on some systems where configure will not decide to define it.
15251 if (defundef
== "undef") {
15252 print
"/*", prefix defundef
, macro
, "*/"
15260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15261 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15262 fi # test -n "$CONFIG_HEADERS"
15265 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15270 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15272 case $ac_mode$ac_tag in
15274 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15275 :[FH
]-) ac_tag
=-:-;;
15276 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15293 -) ac_f
="$ac_tmp/stdin";;
15294 *) # Look for the file first in the build tree, then in the source tree
15295 # (if the path is not absolute). The absolute path cannot be DOS-style,
15296 # because $ac_f cannot contain `:'.
15300 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15302 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15304 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15305 as_fn_append ac_file_inputs
" '$ac_f'"
15308 # Let's still pretend it is `configure' which instantiates (i.e., don't
15309 # use $as_me), people would be surprised to read:
15310 # /* config.h. Generated by config.status. */
15311 configure_input
='Generated from '`
15312 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15314 if test x
"$ac_file" != x-
; then
15315 configure_input
="$ac_file. $configure_input"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15317 $as_echo "$as_me: creating $ac_file" >&6;}
15319 # Neutralize special characters interpreted by sed in replacement strings.
15320 case $configure_input in #(
15321 *\
&* |
*\|
* |
*\\* )
15322 ac_sed_conf_input
=`$as_echo "$configure_input" |
15323 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15324 *) ac_sed_conf_input
=$configure_input;;
15328 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15329 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15334 ac_dir
=`$as_dirname -- "$ac_file" ||
15335 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15336 X"$ac_file" : 'X\(//\)[^/]' \| \
15337 X"$ac_file" : 'X\(//\)$' \| \
15338 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15339 $as_echo X"$ac_file" |
15340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15344 /^X\(\/\/\)[^/].*/{
15357 as_dir
="$ac_dir"; as_fn_mkdir_p
15361 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15363 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15364 # A ".." for each directory in $ac_dir_suffix.
15365 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15366 case $ac_top_builddir_sub in
15367 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15368 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15371 ac_abs_top_builddir
=$ac_pwd
15372 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15373 # for backward compatibility:
15374 ac_top_builddir
=$ac_top_build_prefix
15377 .
) # We are building in place.
15379 ac_top_srcdir
=$ac_top_builddir_sub
15380 ac_abs_top_srcdir
=$ac_pwd ;;
15381 [\\/]* | ?
:[\\/]* ) # Absolute name.
15382 ac_srcdir
=$srcdir$ac_dir_suffix;
15383 ac_top_srcdir
=$srcdir
15384 ac_abs_top_srcdir
=$srcdir ;;
15385 *) # Relative name.
15386 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15387 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15388 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15390 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15400 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15401 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15403 ac_MKDIR_P
=$MKDIR_P
15405 [\\/$
]* | ?
:[\\/]* ) ;;
15406 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15411 # If the template does not know about datarootdir, expand it.
15412 # FIXME: This hack should be removed a few years after 2.60.
15413 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15424 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15425 *datarootdir
*) ac_datarootdir_seen
=yes;;
15426 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15428 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15431 ac_datarootdir_hack='
15432 s&@datadir@&$datadir&g
15433 s&@docdir@&$docdir&g
15434 s&@infodir@&$infodir&g
15435 s&@localedir@&$localedir&g
15436 s&@mandir@&$mandir&g
15437 s&\\\${datarootdir}&$datarootdir&g' ;;
15441 # Neutralize VPATH when `$srcdir' = `.'.
15442 # Shell code in configure.ac might set extrasub.
15443 # FIXME: do we really want to maintain this feature?
15444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15445 ac_sed_extra="$ac_vpsub
15448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15450 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15451 s|@configure_input@|
$ac_sed_conf_input|
;t t
15452 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15453 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15454 s
&@srcdir@
&$ac_srcdir&;t t
15455 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15456 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15457 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15458 s
&@builddir@
&$ac_builddir&;t t
15459 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15460 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15461 s
&@INSTALL@
&$ac_INSTALL&;t t
15462 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15463 $ac_datarootdir_hack
15465 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15466 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15468 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15469 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15470 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15471 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15473 which seems to be undefined. Please make sure it is defined" >&5
15474 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15475 which seems to be undefined. Please make sure it is defined" >&2;}
15477 rm -f "$ac_tmp/stdin"
15479 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15480 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15488 if test x"$ac_file" != x-; then
15490 $as_echo "/* $configure_input */" \
15491 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15492 } >"$ac_tmp/config.h" \
15493 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15494 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15496 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15499 mv "$ac_tmp/config.h" "$ac_file" \
15500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15503 $as_echo "/* $configure_input */" \
15504 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15505 || as_fn_error $? "could not create -" "$LINENO" 5
15507 # Compute "$ac_file"'s index
in $config_headers.
15510 for _am_header
in $config_headers :; do
15511 case $_am_header in
15512 $_am_arg |
$_am_arg:* )
15515 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15518 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15519 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15520 X"$_am_arg" : 'X\(//\)[^/]' \| \
15521 X"$_am_arg" : 'X\(//\)$' \| \
15522 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15523 $as_echo X"$_am_arg" |
15524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15528 /^X\(\/\/\)[^/].*/{
15540 s/.*/./; q'`/stamp-h
$_am_stamp_count
15543 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15544 $as_echo "$as_me: executing $ac_file commands" >&6;}
15549 case $ac_file$ac_mode in
15551 # Only add multilib support code if we just rebuilt the top-level
15553 case " $CONFIG_FILES " in
15555 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15560 # See if we are running on zsh, and set the options which allow our
15561 # commands through without removal of \ escapes.
15562 if test -n "${ZSH_VERSION+set}" ; then
15563 setopt NO_GLOB_SUBST
15566 cfgfile
="${ofile}T"
15567 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15570 cat <<_LT_EOF >> "$cfgfile"
15573 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15574 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15575 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15576 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15578 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15579 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15580 # Written by Gordon Matzigkeit, 1996
15582 # This file is part of GNU Libtool.
15584 # GNU Libtool is free software; you can redistribute it and/or
15585 # modify it under the terms of the GNU General Public License as
15586 # published by the Free Software Foundation; either version 2 of
15587 # the License, or (at your option) any later version.
15589 # As a special exception to the GNU General Public License,
15590 # if you distribute this file as part of a program or library that
15591 # is built using GNU Libtool, you may include this file under the
15592 # same distribution terms that you use for the rest of that program.
15594 # GNU Libtool is distributed in the hope that it will be useful,
15595 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15596 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15597 # GNU General Public License for more details.
15599 # You should have received a copy of the GNU General Public License
15600 # along with GNU Libtool; see the file COPYING. If not, a copy
15601 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15602 # obtained by writing to the Free Software Foundation, Inc.,
15603 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15606 # The names of the tagged configurations supported by this script.
15609 # ### BEGIN LIBTOOL CONFIG
15611 # Which release of libtool.m4 was used?
15612 macro_version=$macro_version
15613 macro_revision=$macro_revision
15615 # Whether or not to build shared libraries.
15616 build_libtool_libs=$enable_shared
15618 # Whether or not to build static libraries.
15619 build_old_libs=$enable_static
15621 # What type of objects to build.
15624 # Whether or not to optimize for fast installation.
15625 fast_install=$enable_fast_install
15627 # Shell to use when invoking shell scripts.
15630 # An echo program that protects backslashes.
15634 host_alias=$host_alias
15638 # The build system.
15639 build_alias=$build_alias
15643 # A sed program that does not truncate output.
15646 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15647 Xsed="\$SED -e 1s/^X//"
15649 # A grep program that handles long lines.
15655 # A literal string matcher.
15658 # A BSD- or MS-compatible name lister.
15661 # Whether we need soft or hard links.
15664 # What is the maximum length of a command?
15665 max_cmd_len=$max_cmd_len
15667 # Object file suffix (normally "o").
15670 # Executable file suffix (normally "").
15673 # whether the shell understands "unset".
15676 # turn spaces into newlines.
15679 # turn newlines into spaces.
15682 # An object symbol dumper.
15683 OBJDUMP=$lt_OBJDUMP
15685 # Method to check whether dependent libraries are shared objects.
15686 deplibs_check_method=$lt_deplibs_check_method
15688 # Command to use when deplibs_check_method == "file_magic".
15689 file_magic_cmd=$lt_file_magic_cmd
15693 AR_FLAGS=$lt_AR_FLAGS
15695 # A symbol stripping program.
15698 # Commands used to install an old-style archive.
15700 old_postinstall_cmds=$lt_old_postinstall_cmds
15701 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15703 # Whether to use a lock for old archive extraction.
15704 lock_old_archive_extraction=$lock_old_archive_extraction
15709 # LTCC compiler flags.
15710 LTCFLAGS=$lt_CFLAGS
15712 # Take the output of nm and produce a listing of raw symbols and C names.
15713 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15715 # Transform the output of nm in a proper C declaration.
15716 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15718 # Transform the output of nm in a C name address pair.
15719 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15721 # Transform the output of nm in a C name address pair when lib prefix is needed.
15722 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15724 # The name of the directory that contains temporary libtool files.
15727 # Used to examine libraries when file_magic_cmd begins with "file".
15728 MAGIC_CMD=$MAGIC_CMD
15730 # Must we lock files when doing compilation?
15731 need_locks=$lt_need_locks
15733 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15734 DSYMUTIL=$lt_DSYMUTIL
15736 # Tool to change global to local symbols on Mac OS X.
15739 # Tool to manipulate fat objects and archives on Mac OS X.
15742 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15745 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15746 OTOOL64=$lt_OTOOL64
15748 # Old archive suffix (normally "a").
15751 # Shared library suffix (normally ".so").
15752 shrext_cmds=$lt_shrext_cmds
15754 # The commands to extract the exported symbol list from a shared archive.
15755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15757 # Variables whose values should be saved in libtool wrapper scripts and
15758 # restored at link time.
15759 variables_saved_for_relink=$lt_variables_saved_for_relink
15761 # Do we need the "lib" prefix for modules?
15762 need_lib_prefix=$need_lib_prefix
15764 # Do we need a version for libraries?
15765 need_version=$need_version
15767 # Library versioning type.
15768 version_type=$version_type
15770 # Shared library runtime path variable.
15771 runpath_var=$runpath_var
15773 # Shared library path variable.
15774 shlibpath_var=$shlibpath_var
15776 # Is shlibpath searched before the hard-coded library search path?
15777 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15779 # Format of library name prefix.
15780 libname_spec=$lt_libname_spec
15782 # List of archive names. First name is the real one, the rest are links.
15783 # The last name is the one that the linker finds with -lNAME
15784 library_names_spec=$lt_library_names_spec
15786 # The coded name of the library, if different from the real name.
15787 soname_spec=$lt_soname_spec
15789 # Permission mode override for installation of shared libraries.
15790 install_override_mode=$lt_install_override_mode
15792 # Command to use after installation of a shared archive.
15793 postinstall_cmds=$lt_postinstall_cmds
15795 # Command to use after uninstallation of a shared archive.
15796 postuninstall_cmds=$lt_postuninstall_cmds
15798 # Commands used to finish a libtool library installation in a directory.
15799 finish_cmds=$lt_finish_cmds
15801 # As "finish_cmds", except a single script fragment to be evaled but
15803 finish_eval=$lt_finish_eval
15805 # Whether we should hardcode library paths into libraries.
15806 hardcode_into_libs=$hardcode_into_libs
15808 # Compile-time system search path for libraries.
15809 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15811 # Run-time system search path for libraries.
15812 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15814 # Whether dlopen is supported.
15815 dlopen_support=$enable_dlopen
15817 # Whether dlopen of programs is supported.
15818 dlopen_self=$enable_dlopen_self
15820 # Whether dlopen of statically linked programs is supported.
15821 dlopen_self_static=$enable_dlopen_self_static
15823 # Commands to strip libraries.
15824 old_striplib=$lt_old_striplib
15825 striplib=$lt_striplib
15828 # The linker used to build libraries.
15831 # How to create reloadable object files.
15832 reload_flag=$lt_reload_flag
15833 reload_cmds=$lt_reload_cmds
15835 # Commands used to build an old-style archive.
15836 old_archive_cmds=$lt_old_archive_cmds
15838 # A language specific compiler.
15841 # Is the compiler the GNU compiler?
15844 # Compiler flag to turn off builtin functions.
15845 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15847 # How to pass a linker flag through the compiler.
15848 wl=$lt_lt_prog_compiler_wl
15850 # Additional compiler flags for building library objects.
15851 pic_flag=$lt_lt_prog_compiler_pic
15853 # Compiler flag to prevent dynamic linking.
15854 link_static_flag=$lt_lt_prog_compiler_static
15856 # Does compiler simultaneously support -c and -o options?
15857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15859 # Whether or not to add -lc for building shared libraries.
15860 build_libtool_need_lc=$archive_cmds_need_lc
15862 # Whether or not to disallow shared libs when runtime libs are static.
15863 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15865 # Compiler flag to allow reflexive dlopens.
15866 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15868 # Compiler flag to generate shared objects directly from archives.
15869 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15871 # Whether the compiler copes with passing no objects directly.
15872 compiler_needs_object=$lt_compiler_needs_object
15874 # Create an old-style archive from a shared archive.
15875 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15877 # Create a temporary old-style archive to link instead of a shared archive.
15878 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15880 # Commands used to build a shared archive.
15881 archive_cmds=$lt_archive_cmds
15882 archive_expsym_cmds=$lt_archive_expsym_cmds
15884 # Commands used to build a loadable module if different from building
15885 # a shared archive.
15886 module_cmds=$lt_module_cmds
15887 module_expsym_cmds=$lt_module_expsym_cmds
15889 # Whether we are building with GNU ld or not.
15890 with_gnu_ld=$lt_with_gnu_ld
15892 # Flag that allows shared libraries with undefined symbols to be built.
15893 allow_undefined_flag=$lt_allow_undefined_flag
15895 # Flag that enforces no undefined symbols.
15896 no_undefined_flag=$lt_no_undefined_flag
15898 # Flag to hardcode \$libdir into a binary during linking.
15899 # This must work even if \$libdir does not exist
15900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15902 # If ld is used when linking, flag to hardcode \$libdir into a binary
15903 # during linking. This must work even if \$libdir does not exist.
15904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15906 # Whether we need a single "-rpath" flag with a separated argument.
15907 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15910 # DIR into the resulting binary.
15911 hardcode_direct=$hardcode_direct
15913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15914 # DIR into the resulting binary and the resulting library dependency is
15915 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15916 # library is relocated.
15917 hardcode_direct_absolute=$hardcode_direct_absolute
15919 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15920 # into the resulting binary.
15921 hardcode_minus_L=$hardcode_minus_L
15923 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15924 # into the resulting binary.
15925 hardcode_shlibpath_var=$hardcode_shlibpath_var
15927 # Set to "yes" if building a shared library automatically hardcodes DIR
15928 # into the library and all subsequent libraries and executables linked
15930 hardcode_automatic=$hardcode_automatic
15932 # Set to yes if linker adds runtime paths of dependent libraries
15933 # to runtime path list.
15934 inherit_rpath=$inherit_rpath
15936 # Whether libtool must link a program against all its dependency libraries.
15937 link_all_deplibs=$link_all_deplibs
15939 # Fix the shell variable \$srcfile for the compiler.
15940 fix_srcfile_path=$lt_fix_srcfile_path
15942 # Set to "yes" if exported symbols are required.
15943 always_export_symbols=$always_export_symbols
15945 # The commands to list exported symbols.
15946 export_symbols_cmds=$lt_export_symbols_cmds
15948 # Symbols that should not be listed in the preloaded symbols.
15949 exclude_expsyms=$lt_exclude_expsyms
15951 # Symbols that must always be exported.
15952 include_expsyms=$lt_include_expsyms
15954 # Commands necessary for linking programs (against libraries) with templates.
15955 prelink_cmds=$lt_prelink_cmds
15957 # Specify filename containing input files.
15958 file_list_spec=$lt_file_list_spec
15960 # How to hardcode a shared library path into an executable.
15961 hardcode_action=$hardcode_action
15963 # ### END LIBTOOL CONFIG
15969 cat <<\_LT_EOF
>> "$cfgfile"
15970 # AIX sometimes has problems with the GCC collect2 program. For some
15971 # reason, if we set the COLLECT_NAMES environment variable, the problems
15972 # vanish in a puff of smoke.
15973 if test "X${COLLECT_NAMES+set}" != Xset
; then
15975 export COLLECT_NAMES
15982 ltmain
="$ac_aux_dir/ltmain.sh"
15985 # We use sed instead of cat because bash on DJGPP gets confused if
15986 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15987 # text mode, it properly converts lines to CR/LF. This bash problem
15988 # is reportedly fixed, but why not run on old versions too?
15989 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15990 ||
(rm -f "$cfgfile"; exit 1)
15994 cat << \_LT_EOF
>> "$cfgfile"
15996 # func_dirname file append nondir_replacement
15997 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15998 # otherwise set result to NONDIR_REPLACEMENT.
16002 */*) func_dirname_result
="${1%/*}${2}" ;;
16003 * ) func_dirname_result
="${3}" ;;
16007 # func_basename file
16010 func_basename_result
="${1##*/}"
16013 # func_dirname_and_basename file append nondir_replacement
16014 # perform func_basename and func_dirname in a single function
16016 # dirname: Compute the dirname of FILE. If nonempty,
16017 # add APPEND to the result, otherwise set result
16018 # to NONDIR_REPLACEMENT.
16019 # value returned in "$func_dirname_result"
16020 # basename: Compute filename of FILE.
16021 # value retuned in "$func_basename_result"
16022 # Implementation must be kept synchronized with func_dirname
16023 # and func_basename. For efficiency, we do not delegate to
16024 # those functions but instead duplicate the functionality here.
16025 func_dirname_and_basename
()
16028 */*) func_dirname_result
="${1%/*}${2}" ;;
16029 * ) func_dirname_result
="${3}" ;;
16031 func_basename_result
="${1##*/}"
16034 # func_stripname prefix suffix name
16035 # strip PREFIX and SUFFIX off of NAME.
16036 # PREFIX and SUFFIX must not contain globbing or regex special
16037 # characters, hashes, percent signs, but SUFFIX may contain a leading
16038 # dot (in which case that matches only a dot).
16041 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16042 # positional parameters, so assign one to ordinary parameter first.
16043 func_stripname_result
=${3}
16044 func_stripname_result
=${func_stripname_result#"${1}"}
16045 func_stripname_result
=${func_stripname_result%"${2}"}
16051 func_opt_split_opt
=${1%%=*}
16052 func_opt_split_arg
=${1#*=}
16059 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16060 *) func_lo2o_result
=${1} ;;
16064 # func_xform libobj-or-source
16067 func_xform_result
=${1%.*}.lo
16070 # func_arith arithmetic-term...
16073 func_arith_result
=$
(( $
* ))
16077 # STRING may not start with a hyphen.
16080 func_len_result
=${#1}
16085 *) # Bourne compatible functions.
16086 cat << \_LT_EOF
>> "$cfgfile"
16088 # func_dirname file append nondir_replacement
16089 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16090 # otherwise set result to NONDIR_REPLACEMENT.
16093 # Extract subdirectory from the argument.
16094 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16095 if test "X$func_dirname_result" = "X${1}"; then
16096 func_dirname_result
="${3}"
16098 func_dirname_result
="$func_dirname_result${2}"
16102 # func_basename file
16105 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16109 # func_stripname prefix suffix name
16110 # strip PREFIX and SUFFIX off of NAME.
16111 # PREFIX and SUFFIX must not contain globbing or regex special
16112 # characters, hashes, percent signs, but SUFFIX may contain a leading
16113 # dot (in which case that matches only a dot).
16114 # func_strip_suffix prefix name
16118 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16119 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16124 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16125 my_sed_long_arg
='1s/^-[^=]*=//'
16130 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16131 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16137 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16140 # func_xform libobj-or-source
16143 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16146 # func_arith arithmetic-term...
16149 func_arith_result
=`expr "$@"`
16153 # STRING may not start with a hyphen.
16156 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16162 case $lt_shell_append in
16164 cat << \_LT_EOF
>> "$cfgfile"
16166 # func_append var value
16167 # Append VALUE to the end of shell variable VAR.
16175 cat << \_LT_EOF
>> "$cfgfile"
16177 # func_append var value
16178 # Append VALUE to the end of shell variable VAR.
16189 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16190 ||
(rm -f "$cfgfile"; exit 1)
16192 mv -f "$cfgfile" "$ofile" ||
16193 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16198 if test "$GCC" = yes; then
16199 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16201 echo "/* generated for $CC */" > tmp-stdint.h
16204 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16206 #ifndef GCC_GENERATED_STDINT_H
16207 #define GCC_GENERATED_STDINT_H 1
16209 #include <sys/types.h>
16212 if test "$acx_cv_header_stdint" != stdint.h
; then
16213 echo "#include <stddef.h>" >> tmp-stdint.h
16215 if test "$acx_cv_header_stdint" != stddef.h
; then
16216 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16219 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16220 /* glibc uses these symbols as guards to prevent redefinitions. */
16221 #ifdef __int8_t_defined
16226 #ifdef __uint32_t_defined
16232 # ----------------- done header, emit basic int types -------------
16233 if test "$acx_cv_header_stdint" = stddef.h
; then
16234 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16238 #ifndef __uint8_t_defined
16239 #define __uint8_t_defined
16241 typedef unsigned $acx_cv_type_int8_t uint8_t;
16248 #ifndef __uint16_t_defined
16249 #define __uint16_t_defined
16251 typedef unsigned $acx_cv_type_int16_t uint16_t;
16258 #ifndef __uint32_t_defined
16259 #define __uint32_t_defined
16261 typedef unsigned $acx_cv_type_int32_t uint32_t;
16268 #ifndef __int8_t_defined
16269 #define __int8_t_defined
16271 typedef $acx_cv_type_int8_t int8_t;
16278 #ifndef __int16_t_defined
16279 #define __int16_t_defined
16281 typedef $acx_cv_type_int16_t int16_t;
16288 #ifndef __int32_t_defined
16289 #define __int32_t_defined
16291 typedef $acx_cv_type_int32_t int32_t;
16296 elif test "$ac_cv_type_u_int32_t" = yes; then
16297 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16299 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16312 #ifndef __uint8_t_defined
16313 #define __uint8_t_defined
16315 typedef u_int8_t uint8_t;
16322 #ifndef __uint16_t_defined
16323 #define __uint16_t_defined
16325 typedef u_int16_t uint16_t;
16332 #ifndef __uint32_t_defined
16333 #define __uint32_t_defined
16335 typedef u_int32_t uint32_t;
16341 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16343 /* Some systems have guard macros to prevent redefinitions, define them. */
16365 # ------------- done basic int types, emit int64_t types ------------
16366 if test "$ac_cv_type_uint64_t" = yes; then
16367 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16369 /* system headers have good uint64_t and int64_t */
16377 elif test "$ac_cv_type_u_int64_t" = yes; then
16378 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16380 /* system headers have an u_int64_t (and int64_t) */
16386 #ifndef __uint64_t_defined
16387 #define __uint64_t_defined
16389 typedef u_int64_t uint64_t;
16394 elif test -n "$acx_cv_type_int64_t"; then
16395 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16397 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
16401 typedef $acx_cv_type_int64_t int64_t;
16406 #ifndef __uint64_t_defined
16407 #define __uint64_t_defined
16409 typedef unsigned $acx_cv_type_int64_t uint64_t;
16415 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16417 /* some common heuristics for int64_t, using compiler-specific tests */
16418 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
16421 #ifndef __int64_t_defined
16423 typedef long long int64_t;
16430 typedef unsigned long long uint64_t;
16434 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
16435 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
16436 does not implement __extension__. But that compiler doesn't define
16438 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
16439 # define __extension__
16445 __extension__ typedef long long int64_t;
16451 __extension__ typedef unsigned long long uint64_t;
16455 #elif !defined __STRICT_ANSI__
16456 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
16461 typedef __int64 int64_t;
16467 typedef unsigned __int64 uint64_t;
16470 # endif /* compiler */
16472 #endif /* ANSI version */
16476 # ------------- done int64_t types, emit intptr types ------------
16477 if test "$ac_cv_type_uintptr_t" != yes; then
16478 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16480 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
16481 #ifndef __uintptr_t_defined
16483 typedef u$acx_cv_type_intptr_t uintptr_t;
16486 #ifndef __intptr_t_defined
16488 typedef $acx_cv_type_intptr_t intptr_t;
16494 # ------------- done intptr types, emit int_least types ------------
16495 if test "$ac_cv_type_int_least32_t" != yes; then
16496 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16498 /* Define int_least types */
16499 typedef int8_t int_least8_t;
16500 typedef int16_t int_least16_t;
16501 typedef int32_t int_least32_t;
16503 typedef int64_t int_least64_t;
16506 typedef uint8_t uint_least8_t;
16507 typedef uint16_t uint_least16_t;
16508 typedef uint32_t uint_least32_t;
16510 typedef uint64_t uint_least64_t;
16515 # ------------- done intptr types, emit int_fast types ------------
16516 if test "$ac_cv_type_int_fast32_t" != yes; then
16517 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16519 /* Define int_fast types. short is often slow */
16520 typedef int8_t int_fast8_t;
16521 typedef int int_fast16_t;
16522 typedef int32_t int_fast32_t;
16524 typedef int64_t int_fast64_t;
16527 typedef uint8_t uint_fast8_t;
16528 typedef unsigned int uint_fast16_t;
16529 typedef uint32_t uint_fast32_t;
16531 typedef uint64_t uint_fast64_t;
16536 if test "$ac_cv_type_uintmax_t" != yes; then
16537 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16539 /* Define intmax based on what we found */
16542 typedef int64_t intmax_t;
16544 typedef long intmax_t;
16549 typedef uint64_t uintmax_t;
16551 typedef unsigned long uintmax_t;
16557 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16559 #endif /* GCC_GENERATED_STDINT_H */
16562 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
16565 mv -f tmp-stdint.h gstdint.h
16569 "install-debuginfo-for-buildid.sh":F
) chmod +x install-debuginfo-for-buildid.sh
;;
16570 "default":C
) if test -n "$CONFIG_FILES"; then
16571 if test -n "${with_target_subdir}"; then
16572 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
16573 # that multilib installs will end up installed in the correct place.
16574 # The testsuite needs it for multilib-aware ABI baseline files.
16575 # To work around this not being passed down from config-ml.in ->
16576 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
16577 # append it here. Only modify Makefiles that have just been created.
16579 # Also, get rid of this simulated-VPATH thing that automake does.
16580 cat > vpsed
<< \_EOF
16581 s
!`test -f '$<' || echo '$(srcdir)/'`!!
16583 for i
in $SUBDIRS; do
16584 case $CONFIG_FILES in
16586 #echo "Adding MULTISUBDIR to $i/Makefile"
16587 sed -f vpsed
$i/Makefile
> tmp
16588 grep '^MULTISUBDIR =' Makefile
>> tmp
16604 ac_clean_files
=$ac_clean_files_save
16606 test $ac_write_fail = 0 ||
16607 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16610 # configure is writing to config.log, and then calls config.status.
16611 # config.status does its own redirection, appending to config.log.
16612 # Unfortunately, on DOS this fails, as config.log is still kept open
16613 # by configure, so config.status won't be able to write to it; its
16614 # output is simply discarded. So we exec the FD to /dev/null,
16615 # effectively closing config.log, so it can be properly (re)opened and
16616 # appended to by config.status. When coming back to configure, we
16617 # need to make the FD available again.
16618 if test "$no_create" != yes; then
16620 ac_config_status_args
=
16621 test "$silent" = yes &&
16622 ac_config_status_args
="$ac_config_status_args --quiet"
16624 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16626 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16627 # would make configure fail if this is the last instruction.
16628 $ac_cs_success || as_fn_exit
1
16630 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16632 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}