2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for bfd 2.36.50.
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.
589 PACKAGE_TARNAME
='bfd'
590 PACKAGE_VERSION
='2.36.50'
591 PACKAGE_STRING
='bfd 2.36.50'
595 ac_unique_file
="libbfd.c"
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>
633 ac_subst_vars
='am__EXEEXT_FALSE
645 bfd_default_target_size
662 BFD_HOST_64_BIT_DEFINED
663 BFD_HOST_64BIT_LONG_LONG
690 MAINTAINER_MODE_FALSE
694 WARN_CFLAGS_FOR_BUILD
751 INSTALL_STRIP_PROGRAM
805 program_transform_name
818 enable_option_checking
821 enable_dependency_tracking
831 enable_64_bit_archive
835 enable_leading_mingw64_underscores
836 with_separate_debug_dir
840 enable_build_warnings
841 enable_maintainer_mode
842 enable_install_libbfd
846 ac_precious_vars
='build_alias
857 # Initialize some variables set by options.
859 ac_init_version
=false
860 ac_unrecognized_opts
=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
871 program_transform_name
=s
,x
,x
,
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir
='${exec_prefix}/bin'
886 sbindir
='${exec_prefix}/sbin'
887 libexecdir
='${exec_prefix}/libexec'
888 datarootdir
='${prefix}/share'
889 datadir
='${datarootdir}'
890 sysconfdir
='${prefix}/etc'
891 sharedstatedir
='${prefix}/com'
892 localstatedir
='${prefix}/var'
893 includedir
='${prefix}/include'
894 oldincludedir
='/usr/include'
895 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
896 infodir
='${datarootdir}/info'
901 libdir
='${exec_prefix}/lib'
902 localedir
='${datarootdir}/locale'
903 mandir
='${datarootdir}/man'
909 # If the previous option needs an argument, assign it.
910 if test -n "$ac_prev"; then
911 eval $ac_prev=\
$ac_option
917 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
930 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
933 -build |
--build |
--buil |
--bui |
--bu)
934 ac_prev
=build_alias
;;
935 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
936 build_alias
=$ac_optarg ;;
938 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
939 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
940 ac_prev
=cache_file
;;
941 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
942 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
943 cache_file
=$ac_optarg ;;
946 cache_file
=config.cache
;;
948 -datadir |
--datadir |
--datadi |
--datad)
950 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
951 datadir
=$ac_optarg ;;
953 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
954 |
--dataroo |
--dataro |
--datar)
955 ac_prev
=datarootdir
;;
956 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
957 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
958 datarootdir
=$ac_optarg ;;
960 -disable-* |
--disable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error $?
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=no
;;
976 -docdir |
--docdir |
--docdi |
--doc |
--do)
978 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
981 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
983 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
986 -enable-* |
--enable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error $?
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=\
$ac_optarg ;;
1002 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1003 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1004 |
--exec |
--exe |
--ex)
1005 ac_prev
=exec_prefix
;;
1006 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1007 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1008 |
--exec=* |
--exe=* |
--ex=*)
1009 exec_prefix
=$ac_optarg ;;
1011 -gas |
--gas |
--ga |
--g)
1012 # Obsolete; use --with-gas.
1015 -help |
--help |
--hel |
--he |
-h)
1016 ac_init_help
=long
;;
1017 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1018 ac_init_help
=recursive
;;
1019 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1020 ac_init_help
=short
;;
1022 -host |
--host |
--hos |
--ho)
1023 ac_prev
=host_alias
;;
1024 -host=* |
--host=* |
--hos=* |
--ho=*)
1025 host_alias
=$ac_optarg ;;
1027 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1029 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1031 htmldir
=$ac_optarg ;;
1033 -includedir |
--includedir |
--includedi |
--included |
--include \
1034 |
--includ |
--inclu |
--incl |
--inc)
1035 ac_prev
=includedir
;;
1036 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1037 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1038 includedir
=$ac_optarg ;;
1040 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1042 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1043 infodir
=$ac_optarg ;;
1045 -libdir |
--libdir |
--libdi |
--libd)
1047 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1048 libdir
=$ac_optarg ;;
1050 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1051 |
--libexe |
--libex |
--libe)
1052 ac_prev
=libexecdir
;;
1053 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1054 |
--libexe=* |
--libex=* |
--libe=*)
1055 libexecdir
=$ac_optarg ;;
1057 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1058 ac_prev
=localedir
;;
1059 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1060 localedir
=$ac_optarg ;;
1062 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1063 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1064 ac_prev
=localstatedir
;;
1065 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1066 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1067 localstatedir
=$ac_optarg ;;
1069 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1071 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1072 mandir
=$ac_optarg ;;
1074 -nfp |
--nfp |
--nf)
1075 # Obsolete; use --without-fp.
1078 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1079 |
--no-cr |
--no-c |
-n)
1082 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1083 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1086 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1087 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1088 |
--oldin |
--oldi |
--old |
--ol |
--o)
1089 ac_prev
=oldincludedir
;;
1090 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1091 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1092 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1093 oldincludedir
=$ac_optarg ;;
1095 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1097 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1098 prefix
=$ac_optarg ;;
1100 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1101 |
--program-pre |
--program-pr |
--program-p)
1102 ac_prev
=program_prefix
;;
1103 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1104 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1105 program_prefix
=$ac_optarg ;;
1107 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1108 |
--program-suf |
--program-su |
--program-s)
1109 ac_prev
=program_suffix
;;
1110 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1111 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1112 program_suffix
=$ac_optarg ;;
1114 -program-transform-name |
--program-transform-name \
1115 |
--program-transform-nam |
--program-transform-na \
1116 |
--program-transform-n |
--program-transform- \
1117 |
--program-transform |
--program-transfor \
1118 |
--program-transfo |
--program-transf \
1119 |
--program-trans |
--program-tran \
1120 |
--progr-tra |
--program-tr |
--program-t)
1121 ac_prev
=program_transform_name
;;
1122 -program-transform-name=* |
--program-transform-name=* \
1123 |
--program-transform-nam=* |
--program-transform-na=* \
1124 |
--program-transform-n=* |
--program-transform-=* \
1125 |
--program-transform=* |
--program-transfor=* \
1126 |
--program-transfo=* |
--program-transf=* \
1127 |
--program-trans=* |
--program-tran=* \
1128 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1129 program_transform_name
=$ac_optarg ;;
1131 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1133 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1134 pdfdir
=$ac_optarg ;;
1136 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1138 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1142 |
-silent |
--silent |
--silen |
--sile |
--sil)
1145 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1147 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1149 sbindir
=$ac_optarg ;;
1151 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1152 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1153 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1155 ac_prev
=sharedstatedir
;;
1156 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1157 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1158 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1160 sharedstatedir
=$ac_optarg ;;
1162 -site |
--site |
--sit)
1164 -site=* |
--site=* |
--sit=*)
1167 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1169 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1170 srcdir
=$ac_optarg ;;
1172 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1173 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1174 ac_prev
=sysconfdir
;;
1175 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1176 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1177 sysconfdir
=$ac_optarg ;;
1179 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1180 ac_prev
=target_alias
;;
1181 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1182 target_alias
=$ac_optarg ;;
1184 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1187 -version |
--version |
--versio |
--versi |
--vers |
-V)
1188 ac_init_version
=: ;;
1191 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=\
$ac_optarg ;;
1206 -without-* |
--without-*)
1207 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1210 as_fn_error $?
"invalid package name: $ac_useropt"
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval with_
$ac_useropt=no
;;
1223 # Obsolete; use --with-x.
1226 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1227 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1228 ac_prev
=x_includes
;;
1229 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1230 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1231 x_includes
=$ac_optarg ;;
1233 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1234 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1235 ac_prev
=x_libraries
;;
1236 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1237 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1238 x_libraries
=$ac_optarg ;;
1240 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1245 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1249 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\
$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 if test -n "$ac_prev"; then
1266 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $?
"missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val
=\$
$ac_var
1285 # Remove trailing slashes.
1288 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\
$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 as_fn_error $?
"working directory cannot be determined"
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 as_fn_error $?
"pwd does not report name of working directory"
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1379 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures bfd 2.36.50 to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking ...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/bfd]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --program-prefix=PREFIX prepend PREFIX to installed program names
1454 --program-suffix=SUFFIX append SUFFIX to installed program names
1455 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1458 --build=BUILD configure
for building on BUILD
[guessed
]
1459 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1460 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive
) echo "Configuration of bfd 2.36.50:";;
1471 --disable-option-checking ignore unrecognized
--enable/--with options
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1475 --disable-silent-rules verbose build output
(undo
: "make V=0")
1476 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one-time build
1481 --enable-static[=PKGS
] build static libraries
[default
=yes]
1482 --enable-fast-install[=PKGS
]
1483 optimize
for fast installation
[default
=yes]
1484 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1485 --enable-plugins Enable support
for plugins
1486 --disable-largefile omit support
for large files
1487 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
1488 --enable-targets alternative target configurations
1489 --enable-64-bit-archive force
64-bit archives
1490 --enable-secureplt Default to creating read-only plt entries
1491 --enable-separate-code enable -z separate-code
in ELF linker by default
1492 --enable-leading-mingw64-underscores
1493 Enable leading underscores on
64 bit mingw targets
1494 --enable-werror treat compile warnings as errors
1495 --enable-build-warnings enable build-time compiler warnings
1496 --enable-maintainer-mode
1497 enable make rules and dependencies not useful
(and
1498 sometimes confusing
) to the casual installer
1499 --enable-install-libbfd controls installation of libbfd and related headers
1500 --disable-nls do not use Native Language Support
1503 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1504 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1505 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1507 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1508 --with-mmap try using mmap
for BFD input files
if available
1509 --with-separate-debug-dir=DIR
1510 Look
for global separate debug info
in DIR
1511 [[default
=LIBDIR
/debug
]]
1512 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
1514 --with-bugurl=URL Direct users to URL to report a bug
1515 --with-system-zlib use installed libz
1517 Some influential environment variables
:
1518 CC C compiler
command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1521 nonstandard directory
<lib dir
>
1522 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1523 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1524 you have headers
in a nonstandard directory
<include dir
>
1527 Use these variables to override the choices made by
`configure' or to help
1528 it to find libraries and programs with nonstandard names/locations.
1530 Report bugs to the package provider.
1535 if test "$ac_init_help" = "recursive"; then
1536 # If there are subdirs, report their specific --help.
1537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1538 test -d "$ac_dir" ||
1539 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1547 # A ".." for each directory in $ac_dir_suffix.
1548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1549 case $ac_top_builddir_sub in
1550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554 ac_abs_top_builddir=$ac_pwd
1555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1556 # for backward compatibility:
1557 ac_top_builddir=$ac_top_build_prefix
1560 .) # We are building in place.
1562 ac_top_srcdir=$ac_top_builddir_sub
1563 ac_abs_top_srcdir=$ac_pwd ;;
1564 [\\/]* | ?:[\\/]* ) # Absolute name.
1565 ac_srcdir=$srcdir$ac_dir_suffix;
1566 ac_top_srcdir=$srcdir
1567 ac_abs_top_srcdir=$srcdir ;;
1569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1570 ac_top_srcdir=$ac_top_build_prefix$srcdir
1571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1575 cd "$ac_dir" || { ac_status=$?; continue; }
1576 # Check for guested configure.
1577 if test -f "$ac_srcdir/configure.gnu"; then
1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1580 elif test -f "$ac_srcdir/configure"; then
1582 $SHELL "$ac_srcdir/configure" --help=recursive
1584 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1586 cd "$ac_pwd" || { ac_status=$?; break; }
1590 test -n "$ac_init_help" && exit $ac_status
1591 if $ac_init_version; then
1593 bfd configure 2.36.50
1594 generated by GNU Autoconf 2.69
1596 Copyright (C) 2012 Free Software Foundation, Inc.
1597 This configure script is free software; the Free Software Foundation
1598 gives unlimited permission to copy, distribute and modify it.
1603 ## ------------------------ ##
1604 ## Autoconf initialization. ##
1605 ## ------------------------ ##
1607 # ac_fn_c_try_compile LINENO
1608 # --------------------------
1609 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1610 ac_fn_c_try_compile ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 rm -f conftest.$ac_objext
1614 if { { ac_try="$ac_compile"
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_compile") 2>conftest.err
1623 if test -s conftest.err
; then
1624 grep -v '^ *+' conftest.err
>conftest.er1
1625 cat conftest.er1
>&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && {
1630 test -z "$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1632 } && test -s conftest.
$ac_objext; then :
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.
$ac_ext >&5
1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641 as_fn_set_status
$ac_retval
1643 } # ac_fn_c_try_compile
1645 # ac_fn_c_try_cpp LINENO
1646 # ----------------------
1647 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1650 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1651 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } > conftest.i && {
1667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 as_fn_set_status $ac_retval
1682 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1683 # -------------------------------------------------------
1684 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1685 # the include files in INCLUDES and setting the cache variable VAR
1687 ac_fn_c_check_header_mongrel ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 if eval \${$3+:} false; then :
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
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1700 # Is the header compilable?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1702 $as_echo_n "checking $2 usability... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1708 if ac_fn_c_try_compile "$LINENO"; then :
1709 ac_header_compiler=yes
1711 ac_header_compiler=no
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1715 $as_echo "$ac_header_compiler" >&6; }
1717 # Is the header present?
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1719 $as_echo_n "checking $2 presence... " >&6; }
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1724 if ac_fn_c_try_cpp "$LINENO"; then :
1725 ac_header_preproc=yes
1727 ac_header_preproc=no
1729 rm -f conftest.err conftest.i conftest.$ac_ext
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1731 $as_echo "$ac_header_preproc" >&6; }
1733 # So? What about this header?
1734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1737 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1743 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1745 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1747 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1749 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1751 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if eval \${$3+:} false; then :
1757 $as_echo_n "(cached) " >&6
1759 eval "$3=\$ac_header_compiler"
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_header_mongrel
1769 # ac_fn_c_try_run LINENO
1770 # ----------------------
1771 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1772 # that executables *can* be run.
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if { { ac_try="$ac_link"
1778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1779 *) ac_try_echo
=$ac_try;;
1781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_link") 2>&5
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1787 { { case "(($ac_try" in
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_try") 2>&5
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; }; }; then :
1799 $as_echo "$as_me: program exited with status $ac_status" >&5
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1803 ac_retval=$ac_status
1805 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 as_fn_set_status $ac_retval
1811 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1812 # -------------------------------------------------------
1813 # Tests whether HEADER exists and can be compiled using the include files in
1814 # INCLUDES, setting the cache variable VAR accordingly.
1815 ac_fn_c_check_header_compile ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1828 if ac_fn_c_try_compile "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 } # ac_fn_c_check_header_compile
1842 # ac_fn_c_try_link LINENO
1843 # -----------------------
1844 # Try to link conftest.$ac_ext, and return whether this succeeded.
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rm -f conftest.$ac_objext conftest$ac_exeext
1849 if { { ac_try="$ac_link"
1851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1852 *) ac_try_echo
=$ac_try;;
1854 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_link") 2>conftest.err
1858 if test -s conftest.err
; then
1859 grep -v '^ *+' conftest.err
>conftest.er1
1860 cat conftest.er1
>&5
1861 mv -f conftest.er1 conftest.err
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && {
1865 test -z "$ac_c_werror_flag" ||
1866 test ! -s conftest.err
1867 } && test -s conftest
$ac_exeext && {
1868 test "$cross_compiling" = yes ||
1869 test -x conftest
$ac_exeext
1873 $as_echo "$as_me: failed program was:" >&5
1874 sed 's/^/| /' conftest.
$ac_ext >&5
1878 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1879 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1880 # interfere with the next link command; also delete a directory that is
1881 # left behind by Apple's compiler. We do this before executing the actions.
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status
$ac_retval
1886 } # ac_fn_c_try_link
1888 # ac_fn_c_check_func LINENO FUNC VAR
1889 # ----------------------------------
1890 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1891 ac_fn_c_check_func
()
1893 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \
${$3+:} false
; then :
1897 $as_echo_n "(cached) " >&6
1899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903 #define $2 innocuous_$2
1905 /* System header to define __stub macros and hopefully few prototypes,
1906 which can conflict with char $2 (); below.
1907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908 <limits.h> exists even on freestanding compilers. */
1911 # include <limits.h>
1913 # include <assert.h>
1918 /* Override any GCC internal prototype to avoid an error.
1919 Use char because int might match the return type of a GCC
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined __stub_$2 || defined __stub___$2
1940 if ac_fn_c_try_link
"$LINENO"; then :
1945 rm -f core conftest.err conftest.
$ac_objext \
1946 conftest
$ac_exeext conftest.
$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_func
1955 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1956 # --------------------------------------------
1957 # Tries to find the compile-time value of EXPR in a program that includes
1958 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1960 ac_fn_c_compute_int
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 if test "$cross_compiling" = yes; then
1964 # Depending upon the size, compute the lo and hi bounds.
1965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1971 static int test_array [1 - 2 * !(($2) >= 0)];
1973 return test_array [0];
1979 if ac_fn_c_try_compile
"$LINENO"; then :
1982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1988 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1990 return test_array [0];
1996 if ac_fn_c_try_compile
"$LINENO"; then :
1997 ac_hi
=$ac_mid; break
1999 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2000 if test $ac_lo -le $ac_mid; then
2004 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2015 static int test_array [1 - 2 * !(($2) < 0)];
2017 return test_array [0];
2023 if ac_fn_c_try_compile
"$LINENO"; then :
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2034 return test_array [0];
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2041 ac_lo
=$ac_mid; break
2043 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2044 if test $ac_mid -le $ac_hi; then
2048 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2058 # Binary search between lo and hi bounds.
2059 while test "x$ac_lo" != "x$ac_hi"; do
2060 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2067 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2069 return test_array [0];
2075 if ac_fn_c_try_compile
"$LINENO"; then :
2078 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2083 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2090 static long int longval () { return $2; }
2091 static unsigned long int ulongval () { return $2; }
2098 FILE *f = fopen ("conftest.val", "w");
2103 long int i = longval ();
2106 fprintf (f, "%ld", i);
2110 unsigned long int i = ulongval ();
2113 fprintf (f, "%lu", i);
2115 /* Do not output a trailing newline, as this causes \r\n confusion
2116 on some platforms. */
2117 return ferror (f) || fclose (f) != 0;
2123 if ac_fn_c_try_run
"$LINENO"; then :
2124 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2128 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2129 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 as_fn_set_status
$ac_retval
2136 } # ac_fn_c_compute_int
2138 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2139 # ---------------------------------------------
2140 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2142 ac_fn_c_check_decl
()
2144 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2145 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2146 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2148 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2149 if eval \
${$3+:} false
; then :
2150 $as_echo_n "(cached) " >&6
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2158 #ifndef $as_decl_name
2160 (void) $as_decl_use;
2162 (void) $as_decl_name;
2170 if ac_fn_c_try_compile
"$LINENO"; then :
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 } # ac_fn_c_check_decl
2183 cat >config.log
<<_ACEOF
2184 This file contains any messages produced by compilers while
2185 running configure, to aid debugging if configure makes a mistake.
2187 It was created by bfd $as_me 2.36.50, which was
2188 generated by GNU Autoconf 2.69. Invocation command line was
2200 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2201 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2202 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2203 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2204 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2206 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2207 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2209 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2210 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2211 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2212 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2213 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2214 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2215 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir
=.
2224 $as_echo "PATH: $as_dir"
2240 # Keep a trace of the command line.
2241 # Strip out --no-create and --no-recursion so they do not pile up.
2242 # Strip out --silent because we don't want to record it for future runs.
2243 # Also quote any args containing shell meta-characters.
2244 # Make two passes to allow for proper duplicate-argument suppression.
2248 ac_must_keep_next
=false
2254 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2255 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2256 |
-silent |
--silent |
--silen |
--sile |
--sil)
2259 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2262 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2264 as_fn_append ac_configure_args1
" '$ac_arg'"
2265 if test $ac_must_keep_next = true
; then
2266 ac_must_keep_next
=false
# Got value, back to normal.
2269 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2270 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2271 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2272 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2273 case "$ac_configure_args0 " in
2274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2277 -* ) ac_must_keep_next
=true
;;
2280 as_fn_append ac_configure_args
" '$ac_arg'"
2285 { ac_configure_args0
=; unset ac_configure_args0
;}
2286 { ac_configure_args1
=; unset ac_configure_args1
;}
2288 # When interrupted or exit'd, cleanup temporary files, and complete
2289 # config.log. We remove comments because anyway the quotes in there
2290 # would cause problems or look ugly.
2291 # WARNING: Use '\'' to represent an apostrophe within the trap.
2292 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2293 trap 'exit_status=$?
2294 # Save into config.log some information that might help in debugging.
2298 $as_echo "## ---------------- ##
2299 ## Cache variables. ##
2300 ## ---------------- ##"
2302 # The following way of writing the cache mishandles newlines in values,
2304 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2305 eval ac_val=\$$ac_var
2309 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2313 _ | IFS | as_nl) ;; #(
2314 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2315 *) { eval $ac_var=; unset $ac_var;} ;;
2320 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2321 *${as_nl}ac_space=\ *)
2323 "s/'\''/'\''\\\\'\'''\''/g;
2324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2334 $as_echo "## ----------------- ##
2335 ## Output variables. ##
2336 ## ----------------- ##"
2338 for ac_var in $ac_subst_vars
2340 eval ac_val=\$$ac_var
2342 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2344 $as_echo "$ac_var='\''$ac_val'\''"
2348 if test -n "$ac_subst_files"; then
2349 $as_echo "## ------------------- ##
2350 ## File substitutions. ##
2351 ## ------------------- ##"
2353 for ac_var
in $ac_subst_files
2355 eval ac_val
=\$
$ac_var
2357 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2359 $as_echo "$ac_var='\''$ac_val'\''"
2364 if test -s confdefs.h; then
2365 $as_echo "## ----------- ##
2372 test "$ac_signal" != 0 &&
2373 $as_echo "$as_me: caught signal $ac_signal"
2374 $as_echo "$as_me: exit $exit_status"
2376 rm -f core *.core core.conftest.* &&
2377 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2380 for ac_signal
in 1 2 13 15; do
2381 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2386 rm -f -r conftest
* confdefs.h
2388 $as_echo "/* confdefs.h */" > confdefs.h
2390 # Predefined preprocessor variables.
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_NAME "$PACKAGE_NAME"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_STRING "$PACKAGE_STRING"
2408 cat >>confdefs.h
<<_ACEOF
2409 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2412 cat >>confdefs.h
<<_ACEOF
2413 #define PACKAGE_URL "$PACKAGE_URL"
2417 # Let the site file select an alternate cache file if it wants to.
2418 # Prefer an explicitly selected file to automatically selected ones.
2421 if test -n "$CONFIG_SITE"; then
2422 # We do not want a PATH search for config.site.
2423 case $CONFIG_SITE in #((
2424 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2425 */*) ac_site_file1
=$CONFIG_SITE;;
2426 *) ac_site_file1
=.
/$CONFIG_SITE;;
2428 elif test "x$prefix" != xNONE
; then
2429 ac_site_file1
=$prefix/share
/config.site
2430 ac_site_file2
=$prefix/etc
/config.site
2432 ac_site_file1
=$ac_default_prefix/share
/config.site
2433 ac_site_file2
=$ac_default_prefix/etc
/config.site
2435 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2437 test "x$ac_site_file" = xNONE
&& continue
2438 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2440 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2441 sed 's/^/| /' "$ac_site_file" >&5
2443 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 as_fn_error $?
"failed to load site script $ac_site_file
2446 See \`config.log' for more details" "$LINENO" 5; }
2450 if test -r "$cache_file"; then
2451 # Some versions of bash will fail to source /dev/null (special files
2452 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2453 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2455 $as_echo "$as_me: loading cache $cache_file" >&6;}
2457 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2458 *) .
"./$cache_file";;
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2463 $as_echo "$as_me: creating cache $cache_file" >&6;}
2467 as_fn_append ac_header_list
" stdlib.h"
2468 as_fn_append ac_header_list
" unistd.h"
2469 as_fn_append ac_header_list
" sys/param.h"
2470 # Check that the precious variables saved in the cache have kept the same
2472 ac_cache_corrupted
=false
2473 for ac_var
in $ac_precious_vars; do
2474 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2475 eval ac_new_set
=\
$ac_env_${ac_var}_set
2476 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2477 eval ac_new_val
=\
$ac_env_${ac_var}_value
2478 case $ac_old_set,$ac_new_set in
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2481 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2482 ac_cache_corrupted
=: ;;
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2485 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2486 ac_cache_corrupted
=: ;;
2489 if test "x$ac_old_val" != "x$ac_new_val"; then
2490 # differences in whitespace do not lead to failure.
2491 ac_old_val_w
=`echo x $ac_old_val`
2492 ac_new_val_w
=`echo x $ac_new_val`
2493 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2495 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2496 ac_cache_corrupted
=:
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2499 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2500 eval $ac_var=\
$ac_old_val
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2503 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2505 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2508 # Pass precious variables to config.status.
2509 if test "$ac_new_set" = set; then
2511 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2512 *) ac_arg
=$ac_var=$ac_new_val ;;
2514 case " $ac_configure_args " in
2515 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2516 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2520 if $ac_cache_corrupted; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2524 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2525 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2527 ## -------------------- ##
2528 ## Main body of script. ##
2529 ## -------------------- ##
2532 ac_cpp
='$CPP $CPPFLAGS'
2533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2545 if test -f "$ac_dir/install-sh"; then
2547 ac_install_sh
="$ac_aux_dir/install-sh -c"
2549 elif test -f "$ac_dir/install.sh"; then
2551 ac_install_sh
="$ac_aux_dir/install.sh -c"
2553 elif test -f "$ac_dir/shtool"; then
2555 ac_install_sh
="$ac_aux_dir/shtool install -c"
2559 if test -z "$ac_aux_dir"; then
2560 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2563 # These three variables are undocumented and unsupported,
2564 # and are intended to be withdrawn in a future Autoconf release.
2565 # They can cause serious problems if a builder's source tree is in a directory
2566 # whose full name contains unusual characters.
2567 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2568 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2569 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2572 # Make sure we can run config.sub.
2573 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2574 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2577 $as_echo_n "checking build system type... " >&6; }
2578 if ${ac_cv_build+:} false
; then :
2579 $as_echo_n "(cached) " >&6
2581 ac_build_alias
=$build_alias
2582 test "x$ac_build_alias" = x
&&
2583 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2584 test "x$ac_build_alias" = x
&&
2585 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2586 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2587 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2591 $as_echo "$ac_cv_build" >&6; }
2592 case $ac_cv_build in
2594 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2597 ac_save_IFS
=$IFS; IFS
='-'
2603 # Remember, the first character of IFS is used to create $*,
2604 # except with old shells:
2607 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2611 $as_echo_n "checking host system type... " >&6; }
2612 if ${ac_cv_host+:} false
; then :
2613 $as_echo_n "(cached) " >&6
2615 if test "x$host_alias" = x
; then
2616 ac_cv_host
=$ac_cv_build
2618 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2619 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2624 $as_echo "$ac_cv_host" >&6; }
2627 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2630 ac_save_IFS
=$IFS; IFS
='-'
2636 # Remember, the first character of IFS is used to create $*,
2637 # except with old shells:
2640 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2644 $as_echo_n "checking target system type... " >&6; }
2645 if ${ac_cv_target+:} false
; then :
2646 $as_echo_n "(cached) " >&6
2648 if test "x$target_alias" = x
; then
2649 ac_cv_target
=$ac_cv_host
2651 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2652 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2657 $as_echo "$ac_cv_target" >&6; }
2658 case $ac_cv_target in
2660 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2662 target
=$ac_cv_target
2663 ac_save_IFS
=$IFS; IFS
='-'
2669 # Remember, the first character of IFS is used to create $*,
2670 # except with old shells:
2673 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2676 # The aliases save the names the user supplied, while $host etc.
2677 # will get canonicalized.
2678 test -n "$target_alias" &&
2679 test "$program_prefix$program_suffix$program_transform_name" = \
2681 program_prefix
=${target_alias}-
2683 am__api_version
='1.15'
2685 # Find a good install program. We prefer a C program (faster),
2686 # so one script is as good as another. But avoid the broken or
2687 # incompatible versions:
2688 # SysV /etc/install, /usr/sbin/install
2689 # SunOS /usr/etc/install
2690 # IRIX /sbin/install
2692 # AmigaOS /C/install, which installs bootblocks on floppy discs
2693 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2694 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2695 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2696 # OS/2's system install, which has a completely different semantic
2697 # ./install, which can be erroneously created by make from ./install.sh.
2698 # Reject install programs that cannot install multiple files.
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2700 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2701 if test -z "$INSTALL"; then
2702 if ${ac_cv_path_install+:} false
; then :
2703 $as_echo_n "(cached) " >&6
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 # Account for people who put trailing slashes in PATH elements.
2711 case $as_dir/ in #((
2712 .
/ | .
// |
/[cC
]/* | \
2713 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2714 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2717 # OSF1 and SCO ODT 3.0 have their own names for install.
2718 # Don't use installbsd from OSF since it installs stuff as root
2720 for ac_prog
in ginstall scoinst
install; do
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2723 if test $ac_prog = install &&
2724 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2725 # AIX install. It has an incompatible calling convention.
2727 elif test $ac_prog = install &&
2728 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2729 # program-specific install script used by HP pwplus--don't use.
2732 rm -rf conftest.one conftest.two conftest.dir
2733 echo one
> conftest.one
2734 echo two
> conftest.two
2736 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2737 test -s conftest.one
&& test -s conftest.two
&&
2738 test -s conftest.dir
/conftest.one
&&
2739 test -s conftest.dir
/conftest.two
2741 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2754 rm -rf conftest.one conftest.two conftest.dir
2757 if test "${ac_cv_path_install+set}" = set; then
2758 INSTALL
=$ac_cv_path_install
2760 # As a last resort, use the slow shell script. Don't cache a
2761 # value for INSTALL within a source directory, because that will
2762 # break other packages using the cache if that directory is
2763 # removed, or if the value is a relative name.
2764 INSTALL
=$ac_install_sh
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2768 $as_echo "$INSTALL" >&6; }
2770 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2771 # It thinks the first close brace ends the variable substitution.
2772 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2774 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2776 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2779 $as_echo_n "checking whether build environment is sane... " >&6; }
2780 # Reject unsafe characters in $srcdir or the absolute working directory
2781 # name. Accept space and tab only in the latter.
2785 *[\\\"\
#\$\&\'\`$am_lf]*)
2786 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2789 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2790 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2793 # Do 'set' in a subshell so we don't clobber the current shell's
2794 # arguments. Must try -L first in case configure is actually a
2795 # symlink; some systems play weird games with the mod time of symlinks
2796 # (eg FreeBSD returns the mod time of the symlink's containing
2800 for am_try
in 1 2; do
2801 echo "timestamp, slept: $am_has_slept" > conftest.
file
2802 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2803 if test "$*" = "X"; then
2805 set X
`ls -t "$srcdir/configure" conftest.file`
2807 if test "$*" != "X $srcdir/configure conftest.file" \
2808 && test "$*" != "X conftest.file $srcdir/configure"; then
2810 # If neither matched, then we have a broken ls. This can happen
2811 # if, for instance, CONFIG_SHELL is bash and it inherits a
2812 # broken ls alias from the environment. This has actually
2813 # happened. Such a system could not be considered "sane".
2814 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2815 alias in your environment" "$LINENO" 5
2817 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2824 test "$2" = conftest.
file
2830 as_fn_error $?
"newly created file is older than distributed files!
2831 Check your system clock" "$LINENO" 5
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2835 # If we didn't sleep, we still need to ensure time stamps of config.status and
2836 # generated files are strictly newer.
2838 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2845 test "$program_prefix" != NONE
&&
2846 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2847 # Use a double $ so make ignores it.
2848 test "$program_suffix" != NONE
&&
2849 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2850 # Double any \ or $.
2851 # By default was `s,x,x', remove it if useless.
2852 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2853 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2855 # Expand $ac_aux_dir to an absolute path.
2856 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2858 if test x
"${MISSING+set}" != xset
; then
2861 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2863 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2866 # Use eval to expand $SHELL
2867 if eval "$MISSING --is-lightweight"; then
2868 am_missing_run
="$MISSING "
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2872 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2875 if test x
"${install_sh+set}" != xset
; then
2878 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2880 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2884 # Installed binaries are usually stripped using 'strip' when the user
2885 # run "make install-strip". However 'strip' might not be the right
2886 # tool to use in cross-compilation environments, therefore Automake
2887 # will honor the 'STRIP' environment variable to overrule this program.
2888 if test "$cross_compiling" != no
; then
2889 if test -n "$ac_tool_prefix"; then
2890 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2891 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893 $as_echo_n "checking for $ac_word... " >&6; }
2894 if ${ac_cv_prog_STRIP+:} false
; then :
2895 $as_echo_n "(cached) " >&6
2897 if test -n "$STRIP"; then
2898 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir
=.
2905 for ac_exec_ext
in '' $ac_executable_extensions; do
2906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2907 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 STRIP
=$ac_cv_prog_STRIP
2918 if test -n "$STRIP"; then
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2920 $as_echo "$STRIP" >&6; }
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2923 $as_echo "no" >&6; }
2928 if test -z "$ac_cv_prog_STRIP"; then
2930 # Extract the first word of "strip", so it can be a program name with args.
2931 set dummy strip
; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$ac_ct_STRIP"; then
2938 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_STRIP
="strip"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2958 if test -n "$ac_ct_STRIP"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2960 $as_echo "$ac_ct_STRIP" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2966 if test "x$ac_ct_STRIP" = x
; then
2969 case $cross_compiling:$ac_tool_warned in
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2973 ac_tool_warned
=yes ;;
2978 STRIP
="$ac_cv_prog_STRIP"
2982 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2985 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2986 if test -z "$MKDIR_P"; then
2987 if ${ac_cv_path_mkdir+:} false
; then :
2988 $as_echo_n "(cached) " >&6
2990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2991 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2994 test -z "$as_dir" && as_dir
=.
2995 for ac_prog
in mkdir gmkdir
; do
2996 for ac_exec_ext
in '' $ac_executable_extensions; do
2997 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2998 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2999 'mkdir (GNU coreutils) '* | \
3000 'mkdir (coreutils) '* | \
3001 'mkdir (fileutils) '4.1*)
3002 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3012 test -d .
/--version && rmdir .
/--version
3013 if test "${ac_cv_path_mkdir+set}" = set; then
3014 MKDIR_P
="$ac_cv_path_mkdir -p"
3016 # As a last resort, use the slow shell script. Don't cache a
3017 # value for MKDIR_P within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the value is a relative name.
3020 MKDIR_P
="$ac_install_sh -d"
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3024 $as_echo "$MKDIR_P" >&6; }
3026 for ac_prog
in gawk mawk nawk
awk
3028 # Extract the first word of "$ac_prog", so it can be a program name with args.
3029 set dummy
$ac_prog; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_AWK+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$AWK"; then
3036 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3045 ac_cv_prog_AWK
="$ac_prog"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$AWK"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3058 $as_echo "$AWK" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3065 test -n "$AWK" && break
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3069 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3071 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3072 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3073 $as_echo_n "(cached) " >&6
3075 cat >conftest.
make <<\_ACEOF
3078 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3080 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3081 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3083 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3085 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3089 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3091 $as_echo "yes" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 SET_MAKE
="MAKE=${MAKE-make}"
3099 rm -rf .tst
2>/dev
/null
3100 mkdir .tst
2>/dev
/null
3101 if test -d .tst
; then
3106 rmdir .tst
2>/dev
/null
3108 # Check whether --enable-silent-rules was given.
3109 if test "${enable_silent_rules+set}" = set; then :
3110 enableval
=$enable_silent_rules;
3113 case $enable_silent_rules in # (((
3114 yes) AM_DEFAULT_VERBOSITY
=0;;
3115 no
) AM_DEFAULT_VERBOSITY
=1;;
3116 *) AM_DEFAULT_VERBOSITY
=1;;
3118 am_make
=${MAKE-make}
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3120 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3121 if ${am_cv_make_support_nested_variables+:} false
; then :
3122 $as_echo_n "(cached) " >&6
3124 if $as_echo 'TRUE=$(BAR$(V))
3130 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3131 am_cv_make_support_nested_variables
=yes
3133 am_cv_make_support_nested_variables
=no
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3137 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3138 if test $am_cv_make_support_nested_variables = yes; then
3140 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3142 AM_V
=$AM_DEFAULT_VERBOSITY
3143 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3147 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3148 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3149 # is not polluted with repeated "-I."
3150 am__isrc
=' -I$(srcdir)'
3151 # test to see if srcdir already configured
3152 if test -f $srcdir/config.status
; then
3153 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3157 # test whether we have cygpath
3158 if test -z "$CYGPATH_W"; then
3159 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3160 CYGPATH_W
='cygpath -w'
3167 # Define the identity of the package.
3172 cat >>confdefs.h
<<_ACEOF
3173 #define PACKAGE "$PACKAGE"
3177 cat >>confdefs.h
<<_ACEOF
3178 #define VERSION "$VERSION"
3181 # Some tools Automake needs.
3183 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3186 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3189 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3192 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3195 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3197 # For better backward compatibility. To be removed once Automake 1.9.x
3198 # dies out for good. For more background, see:
3199 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3200 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3201 mkdir_p
='$(MKDIR_P)'
3203 # We need awk for the "check" target (and possibly the TAP driver). The
3204 # system "awk" is bad on some platforms.
3205 # Always define AMTAR for backward compatibility. Yes, it's still used
3206 # in the wild :-( We should find a proper way to deprecate it ...
3210 # We'll loop over all known methods to create a tar archive until one works.
3211 _am_tools
='gnutar pax cpio none'
3213 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3220 # POSIX will say in a future version that running "rm -f" with no argument
3221 # is OK; and we want to be able to make that assumption in our Makefile
3222 # recipes. So use an aggressive probe to check that the usage we want is
3223 # actually supported "in the wild" to an acceptable degree.
3224 # See automake bug#10828.
3225 # To make any issue more visible, cause the running configure to be aborted
3226 # by default if the 'rm' program in use doesn't match our expectations; the
3227 # user can still override this though.
3228 if rm -f && rm -fr && rm -rf; then : OK
; else
3232 Your 'rm' program seems unable to run without file operands specified
3233 on the command line, even when the '-f' option is present. This is contrary
3234 to the behaviour of most rm programs out there, and not conforming with
3235 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3237 Please tell bug-automake@gnu.org about your system, including the value
3238 of your $PATH and any error possibly output before this message. This
3239 can help us improve future automake versions.
3242 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3243 echo 'Configuration will proceed anyway, since you have set the' >&2
3244 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3248 Aborting the configuration process, to ensure you take notice of the issue.
3250 You can download and install GNU coreutils to get an 'rm' implementation
3251 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3253 If you want to complete the configuration process using your problematic
3254 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3255 to "yes", and re-run configure.
3258 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3263 if test -n "$ac_tool_prefix"; then
3264 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3265 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_AR+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$AR"; then
3272 ac_cv_prog_AR
="$AR" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$AR"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3294 $as_echo "$AR" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3302 if test -z "$ac_cv_prog_AR"; then
3304 # Extract the first word of "ar", so it can be a program name with args.
3305 set dummy
ar; ac_word
=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$ac_ct_AR"; then
3312 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_exec_ext
in '' $ac_executable_extensions; do
3320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_AR
="ar"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3332 if test -n "$ac_ct_AR"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3334 $as_echo "$ac_ct_AR" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3340 if test "x$ac_ct_AR" = x
; then
3343 case $cross_compiling:$ac_tool_warned in
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned
=yes ;;
3355 if test -n "$ac_tool_prefix"; then
3356 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3357 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359 $as_echo_n "checking for $ac_word... " >&6; }
3360 if ${ac_cv_prog_RANLIB+:} false
; then :
3361 $as_echo_n "(cached) " >&6
3363 if test -n "$RANLIB"; then
3364 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_exec_ext
in '' $ac_executable_extensions; do
3372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3373 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 RANLIB
=$ac_cv_prog_RANLIB
3384 if test -n "$RANLIB"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3386 $as_echo "$RANLIB" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3394 if test -z "$ac_cv_prog_RANLIB"; then
3395 ac_ct_RANLIB
=$RANLIB
3396 # Extract the first word of "ranlib", so it can be a program name with args.
3397 set dummy ranlib
; ac_word
=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$ac_ct_RANLIB"; then
3404 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3424 if test -n "$ac_ct_RANLIB"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3426 $as_echo "$ac_ct_RANLIB" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3432 if test "x$ac_ct_RANLIB" = x
; then
3435 case $cross_compiling:$ac_tool_warned in
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3439 ac_tool_warned
=yes ;;
3441 RANLIB
=$ac_ct_RANLIB
3444 RANLIB
="$ac_cv_prog_RANLIB"
3448 # Check whether --enable-shared was given.
3449 if test "${enable_shared+set}" = set; then :
3450 enableval
=$enable_shared; p
=${PACKAGE-default}
3452 yes) enable_shared
=yes ;;
3453 no
) enable_shared
=no
;;
3456 # Look at the argument we got. We use all the common list separators.
3457 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3458 for pkg
in $enableval; do
3460 if test "X$pkg" = "X$p"; then
3481 ac_cpp
='$CPP $CPPFLAGS'
3482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3485 if test -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3487 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_CC+:} false
; then :
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$CC"; then
3494 ac_cv_prog_CC
="$CC" # Let the user override the test.
3496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir
=.
3501 for ac_exec_ext
in '' $ac_executable_extensions; do
3502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 if test -n "$CC"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3516 $as_echo "$CC" >&6; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3524 if test -z "$ac_cv_prog_CC"; then
3526 # Extract the first word of "gcc", so it can be a program name with args.
3527 set dummy gcc
; ac_word
=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$ac_ct_CC"; then
3534 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_ac_ct_CC
="gcc"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3554 if test -n "$ac_ct_CC"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3556 $as_echo "$ac_ct_CC" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3562 if test "x$ac_ct_CC" = x
; then
3565 case $cross_compiling:$ac_tool_warned in
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3569 ac_tool_warned
=yes ;;
3577 if test -z "$CC"; then
3578 if test -n "$ac_tool_prefix"; then
3579 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3580 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if ${ac_cv_prog_CC+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$CC"; then
3587 ac_cv_prog_CC
="$CC" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3596 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3609 $as_echo "$CC" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3618 if test -z "$CC"; then
3619 # Extract the first word of "cc", so it can be a program name with args.
3620 set dummy cc
; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_CC+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$CC"; then
3627 ac_cv_prog_CC
="$CC" # Let the user override the test.
3630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir
=.
3635 for ac_exec_ext
in '' $ac_executable_extensions; do
3636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3637 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3638 ac_prog_rejected
=yes
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 if test $ac_prog_rejected = yes; then
3650 # We found a bogon in the path, so make sure we never use it.
3651 set dummy
$ac_cv_prog_CC
3653 if test $# != 0; then
3654 # We chose a different compiler from the bogus one.
3655 # However, it has the same basename, so the bogon will be chosen
3656 # first if we set CC to just the basename; use the full file name.
3658 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3674 if test -z "$CC"; then
3675 if test -n "$ac_tool_prefix"; then
3676 for ac_prog
in cl.exe
3678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3679 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_CC+:} false
; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC
="$CC" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test -n "$CC"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3708 $as_echo "$CC" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3715 test -n "$CC" && break
3718 if test -z "$CC"; then
3720 for ac_prog
in cl.exe
3722 # Extract the first word of "$ac_prog", so it can be a program name with args.
3723 set dummy
$ac_prog; ac_word
=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$ac_ct_CC"; then
3730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir
=.
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_ac_ct_CC
="$ac_prog"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3750 if test -n "$ac_ct_CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3752 $as_echo "$ac_ct_CC" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3759 test -n "$ac_ct_CC" && break
3762 if test "x$ac_ct_CC" = x
; then
3765 case $cross_compiling:$ac_tool_warned in
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3769 ac_tool_warned
=yes ;;
3778 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3780 as_fn_error $?
"no acceptable C compiler found in \$PATH
3781 See \`config.log' for more details" "$LINENO" 5; }
3783 # Provide some information about the compiler.
3784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3787 for ac_option
in --version -v -V -qversion; do
3788 { { ac_try
="$ac_compiler $ac_option >&5"
3790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794 $as_echo "$ac_try_echo"; } >&5
3795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3797 if test -s conftest.err; then
3799 ... rest of stderr output deleted ...
3800 10q' conftest.err >conftest.er1
3801 cat conftest.er1 >&5
3803 rm -f conftest.er1 conftest.err
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 ac_clean_files_save=$ac_clean_files
3820 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3821 # Try to create an executable without -o first, disregard a.out.
3822 # It will help us diagnose broken compilers, and finding out an intuition
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3825 $as_echo_n "checking whether the C compiler works... " >&6; }
3826 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3828 # The possible output files:
3829 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3832 for ac_file in $ac_files
3835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3836 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3841 if { { ac_try="$ac_link_default"
3843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3844 *) ac_try_echo
=$ac_try;;
3846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_link_default") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }; then :
3852 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3853 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3854 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3855 # so that the user can short-circuit this test for compilers unknown to
3857 for ac_file
in $ac_files ''
3859 test -f "$ac_file" ||
continue
3861 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3864 # We found the default executable, but exeext='' is most
3868 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3870 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3872 # We set ac_cv_exeext here because the later test for it is not
3873 # safe: cross compilers may not add the suffix if given an `-o'
3874 # argument, so we may need to know it at that point already.
3875 # Even if this section looks crufty: it has the advantage of
3882 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3887 if test -z "$ac_file"; then :
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3890 $as_echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.
$ac_ext >&5
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error
77 "C compiler cannot create executables
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3899 $as_echo "yes" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3902 $as_echo_n "checking for C compiler default output file name... " >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3904 $as_echo "$ac_file" >&6; }
3905 ac_exeext
=$ac_cv_exeext
3907 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3908 ac_clean_files
=$ac_clean_files_save
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3910 $as_echo_n "checking for suffix of executables... " >&6; }
3911 if { { ac_try
="$ac_link"
3913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3914 *) ac_try_echo=$ac_try;;
3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918 (eval "$ac_link") 2>&5
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }; then :
3922 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3923 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3924 # work properly (i.e., refer to `conftest.exe'), while it won't with
3926 for ac_file
in conftest.exe conftest conftest.
*; do
3927 test -f "$ac_file" ||
continue
3929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3930 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3939 See \`config.log' for more details" "$LINENO" 5; }
3941 rm -f conftest conftest
$ac_cv_exeext
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3943 $as_echo "$ac_cv_exeext" >&6; }
3945 rm -f conftest.
$ac_ext
3946 EXEEXT
=$ac_cv_exeext
3948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3954 FILE *f = fopen ("conftest.out", "w");
3955 return ferror (f) || fclose (f) != 0;
3961 ac_clean_files
="$ac_clean_files conftest.out"
3962 # Check that the compiler produces executables we can run. If not, either
3963 # the compiler is broken, or we cross compile.
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3965 $as_echo_n "checking whether we are cross compiling... " >&6; }
3966 if test "$cross_compiling" != yes; then
3967 { { ac_try
="$ac_link"
3969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_link") 2>&5
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }
3978 if { ac_try='./conftest$ac_cv_exeext'
3979 { { case "(($ac_try" in
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_try") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; }; then
3991 if test "$cross_compiling" = maybe
; then
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 as_fn_error $?
"cannot run C compiled programs.
3997 If you meant to cross compile, use \`--host'.
3998 See \`config.log' for more details" "$LINENO" 5; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4003 $as_echo "$cross_compiling" >&6; }
4005 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4006 ac_clean_files
=$ac_clean_files_save
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4008 $as_echo_n "checking for suffix of object files... " >&6; }
4009 if ${ac_cv_objext+:} false
; then :
4010 $as_echo_n "(cached) " >&6
4012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4023 rm -f conftest.o conftest.obj
4024 if { { ac_try
="$ac_compile"
4026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_compile") 2>&5
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 for ac_file in conftest.o conftest.obj conftest.*; do
4036 test -f "$ac_file" || continue;
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4039 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4044 $as_echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.$ac_ext >&5
4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4050 See \
`config.log' for more details" "$LINENO" 5; }
4052 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4055 $as_echo "$ac_cv_objext" >&6; }
4056 OBJEXT=$ac_cv_objext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4059 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4060 if ${ac_cv_c_compiler_gnu+:} false; then :
4061 $as_echo_n "(cached) " >&6
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4077 if ac_fn_c_try_compile "$LINENO"; then :
4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4087 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4088 if test $ac_compiler_gnu = yes; then
4093 ac_test_CFLAGS=${CFLAGS+set}
4094 ac_save_CFLAGS=$CFLAGS
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4096 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4097 if ${ac_cv_prog_cc_g+:} false; then :
4098 $as_echo_n "(cached) " >&6
4100 ac_save_c_werror_flag=$ac_c_werror_flag
4101 ac_c_werror_flag=yes
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4115 if ac_fn_c_try_compile "$LINENO"; then :
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4130 if ac_fn_c_try_compile "$LINENO"; then :
4133 ac_c_werror_flag=$ac_save_c_werror_flag
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4146 if ac_fn_c_try_compile "$LINENO"; then :
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_c_werror_flag=$ac_save_c_werror_flag
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4157 $as_echo "$ac_cv_prog_cc_g" >&6; }
4158 if test "$ac_test_CFLAGS" = set; then
4159 CFLAGS=$ac_save_CFLAGS
4160 elif test $ac_cv_prog_cc_g = yes; then
4161 if test "$GCC" = yes; then
4167 if test "$GCC" = yes; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4174 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4175 if ${ac_cv_prog_cc_c89+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 ac_cv_prog_cc_c89=no
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4186 struct buf { int x; };
4187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4188 static char *e (p, i)
4194 static char *f (char * (*g) (char **, int), char **p, ...)
4199 s = g (p, va_arg (v,int));
4204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4205 function prototypes and stuff, but not '\xHH' hex character constants.
4206 These don't provoke an error unfortunately, instead are silently treated
4207 as 'x'. The following induces an error, until -std is added to get
4208 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4209 array size at least. It's necessary to write '\x00'==0 to get something
4210 that's true only with -std. */
4211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4214 inside strings and character constants. */
4216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4218 int test (int i, double x);
4219 struct s1 {int (*f) (int a);};
4220 struct s2 {int (*f) (double a);};
4221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4233 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4235 CC="$ac_save_CC $ac_arg"
4236 if ac_fn_c_try_compile "$LINENO"; then :
4237 ac_cv_prog_cc_c89=$ac_arg
4239 rm -f core conftest.err conftest.$ac_objext
4240 test "x$ac_cv_prog_cc_c89" != "xno" && break
4242 rm -f conftest.$ac_ext
4247 case "x$ac_cv_prog_cc_c89" in
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4250 $as_echo "none needed" >&6; } ;;
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4253 $as_echo "unsupported" >&6; } ;;
4255 CC="$CC $ac_cv_prog_cc_c89"
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4257 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4259 if test "x$ac_cv_prog_cc_c89" != xno; then :
4264 ac_cpp='$CPP $CPPFLAGS'
4265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 ac_cpp='$CPP $CPPFLAGS'
4271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4275 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4276 if ${am_cv_prog_cc_c_o+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 # Make sure it works both with $CC and with simple cc.
4291 # Following AC_PROG_CC_C_O, we do the test twice because some
4292 # compilers refuse to overwrite an existing .o file with -o,
4293 # though they will create one.
4294 am_cv_prog_cc_c_o=yes
4296 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4297 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } \
4301 && test -f conftest2.$ac_objext; then
4304 am_cv_prog_cc_c_o=no
4308 rm -f core conftest*
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4312 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4313 if test "$am_cv_prog_cc_c_o" != yes; then
4314 # Losing compiler, so override with the script.
4315 # FIXME: It is wrong to rewrite CC.
4316 # But if we don't then we get into trouble of one sort or another.
4317 # A longer-term fix would be to have automake use am__CC in this case,
4318 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4319 CC="$am_aux_dir/compile $CC"
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327 DEPDIR="${am__leading_dot}deps"
4329 ac_config_commands="$ac_config_commands depfiles"
4332 am_make=${MAKE-make}
4333 cat > confinc << 'END'
4335 @echo this is the am__doit target
4338 # If we don't find an include directive, just comment out the code.
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4340 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4344 # First try GNU make style include.
4345 echo "include confinc" > confmf
4346 # Ignore all kinds of additional output from 'make'.
4347 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4348 *the\ am__doit\ target*)
4354 # Now try BSD make style include.
4355 if test "$am__include" = "#"; then
4356 echo '.include "confinc"' > confmf
4357 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4358 *the\ am__doit\ target*)
4359 am__include=.include
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4368 $as_echo "$_am_result" >&6; }
4369 rm -f confinc confmf
4371 # Check whether --enable-dependency-tracking was given.
4372 if test "${enable_dependency_tracking+set}" = set; then :
4373 enableval=$enable_dependency_tracking;
4376 if test "x$enable_dependency_tracking" != xno; then
4377 am_depcomp="$ac_aux_dir/depcomp"
4381 if test "x$enable_dependency_tracking" != xno; then
4391 depcc="$CC" am_compiler_list=
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4394 $as_echo_n "checking dependency style of $depcc... " >&6; }
4395 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4396 $as_echo_n "(cached) " >&6
4398 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4399 # We make a subdir and do the tests there. Otherwise we can end up
4400 # making bogus files that we don't know about and never remove. For
4401 # instance it was reported that on HP-UX the gcc test will end up
4402 # making a dummy file named 'D' -- because '-MD' means "put the output
4406 # Copy depcomp to subdir because otherwise we won't find it if we're
4407 # using a relative directory.
4408 cp "$am_depcomp" conftest.dir
4410 # We will build objects and dependencies in a subdirectory because
4411 # it helps to detect inapplicable dependency modes. For instance
4412 # both Tru64's cc and ICC support -MD to output dependencies as a
4413 # side effect of compilation, but ICC will put the dependencies in
4414 # the current directory while Tru64 will put them in the object
4418 am_cv_CC_dependencies_compiler_type=none
4419 if test "$am_compiler_list" = ""; then
4420 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4423 case " $depcc " in #(
4424 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4427 for depmode in $am_compiler_list; do
4428 # Setup a source with many dependencies, because some compilers
4429 # like to wrap large dependency lists on column 80 (with \), and
4430 # we should not choose a depcomp mode which is confused by this.
4432 # We need to recreate these files for each test, as the compiler may
4433 # overwrite some of them when testing with obscure command lines.
4434 # This happens at least with the AIX C compiler.
4436 for i in 1 2 3 4 5 6; do
4437 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4438 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4439 # Solaris 10 /bin/sh.
4440 echo '/* dummy */' > sub/conftst$i.h
4442 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4444 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4445 # mode. It turns out that the SunPro C++ compiler does not properly
4446 # handle '-M -o', and we need to detect this. Also, some Intel
4447 # versions had trouble with output in subdirs.
4448 am__obj=sub/conftest.${OBJEXT-o}
4449 am__minus_obj="-o $am__obj"
4452 # This depmode causes a compiler race in universal mode.
4453 test "$am__universal" = false || continue
4456 # After this tag, mechanisms are not by side-effect, so they'll
4457 # only be used when explicitly requested.
4458 if test "x$enable_dependency_tracking" = xyes; then
4464 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4465 # This compiler won't grok '-c -o', but also, the minuso test has
4466 # not run yet. These depmodes are late enough in the game, and
4467 # so weak that their functioning should not be impacted.
4468 am__obj=conftest.${OBJEXT-o}
4473 if depmode=$depmode \
4474 source=sub/conftest.c object=$am__obj \
4475 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4476 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4477 >/dev/null 2>conftest.err &&
4478 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4479 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4480 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4481 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4482 # icc doesn't choke on unknown options, it will just issue warnings
4483 # or remarks (even with -Werror). So we grep stderr for any message
4484 # that says an option was ignored or not supported.
4485 # When given -MP, icc 7.0 and 7.1 complain thusly:
4486 # icc: Command line warning: ignoring option '-M'; no argument required
4487 # The diagnosis changed in icc 8.0:
4488 # icc: Command line remark: option '-MP' not supported
4489 if (grep 'ignoring option' conftest.err ||
4490 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4491 am_cv_CC_dependencies_compiler_type=$depmode
4500 am_cv_CC_dependencies_compiler_type=none
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4505 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4506 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4509 test "x$enable_dependency_tracking" != xno \
4510 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4512 am__fastdepCC_FALSE='#'
4514 am__fastdepCC_TRUE='#'
4515 am__fastdepCC_FALSE=
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4526 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4527 # On Suns, sometimes $CPP names a directory.
4528 if test -n "$CPP" && test -d "$CPP"; then
4531 if test -z "$CPP"; then
4532 if ${ac_cv_prog_CPP+:} false; then :
4533 $as_echo_n "(cached) " >&6
4535 # Double quotes because CPP needs to be expanded
4536 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4539 for ac_c_preproc_warn_flag in '' yes
4541 # Use a header file that comes with gcc, so configuring glibc
4542 # with a fresh cross-compiler works.
4543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4544 # <limits.h> exists even on freestanding compilers.
4545 # On the NeXT, cc -E runs the code through the compiler's parser,
4546 # not just through cpp. "Syntax error" is here to catch this case.
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4550 # include <limits.h>
4552 # include <assert.h>
4556 if ac_fn_c_try_cpp "$LINENO"; then :
4559 # Broken: fails on valid input.
4562 rm -f conftest.err conftest.i conftest.$ac_ext
4564 # OK, works on sane cases. Now check whether nonexistent headers
4565 # can be detected and how.
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568 #include <ac_nonexistent.h>
4570 if ac_fn_c_try_cpp "$LINENO"; then :
4571 # Broken: success on invalid input.
4574 # Passes both tests.
4578 rm -f conftest.err conftest.i conftest.$ac_ext
4581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4582 rm -f conftest.i conftest.err conftest.
$ac_ext
4583 if $ac_preproc_ok; then :
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4596 $as_echo "$CPP" >&6; }
4598 for ac_c_preproc_warn_flag
in '' yes
4600 # Use a header file that comes with gcc, so configuring glibc
4601 # with a fresh cross-compiler works.
4602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4603 # <limits.h> exists even on freestanding compilers.
4604 # On the NeXT, cc -E runs the code through the compiler's parser,
4605 # not just through cpp. "Syntax error" is here to catch this case.
4606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4609 # include <limits.h>
4611 # include <assert.h>
4615 if ac_fn_c_try_cpp
"$LINENO"; then :
4618 # Broken: fails on valid input.
4621 rm -f conftest.err conftest.i conftest.
$ac_ext
4623 # OK, works on sane cases. Now check whether nonexistent headers
4624 # can be detected and how.
4625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 #include <ac_nonexistent.h>
4629 if ac_fn_c_try_cpp
"$LINENO"; then :
4630 # Broken: success on invalid input.
4633 # Passes both tests.
4637 rm -f conftest.err conftest.i conftest.
$ac_ext
4640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4641 rm -f conftest.i conftest.err conftest.
$ac_ext
4642 if $ac_preproc_ok; then :
4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4647 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4648 See \`config.log' for more details" "$LINENO" 5; }
4652 ac_cpp
='$CPP $CPPFLAGS'
4653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4659 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4660 if ${ac_cv_path_GREP+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -z "$GREP"; then
4664 ac_path_GREP_found
=false
4665 # Loop through the user's path and test for each of PROGNAME-LIST
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_prog
in grep ggrep
; do
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4674 as_fn_executable_p
"$ac_path_GREP" ||
continue
4675 # Check for GNU ac_path_GREP and select it if it is found.
4676 # Check for GNU $ac_path_GREP
4677 case `"$ac_path_GREP" --version 2>&1` in
4679 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4682 $as_echo_n 0123456789 >"conftest.in"
4685 cat "conftest.in" "conftest.in" >"conftest.tmp"
4686 mv "conftest.tmp" "conftest.in"
4687 cp "conftest.in" "conftest.nl"
4688 $as_echo 'GREP' >> "conftest.nl"
4689 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4690 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4691 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4692 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4693 # Best one so far, save it but keep looking for a better one
4694 ac_cv_path_GREP
="$ac_path_GREP"
4695 ac_path_GREP_max
=$ac_count
4697 # 10*(2^10) chars as input seems more than enough
4698 test $ac_count -gt 10 && break
4700 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4703 $ac_path_GREP_found && break 3
4708 if test -z "$ac_cv_path_GREP"; then
4709 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4712 ac_cv_path_GREP
=$GREP
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4717 $as_echo "$ac_cv_path_GREP" >&6; }
4718 GREP
="$ac_cv_path_GREP"
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4722 $as_echo_n "checking for egrep... " >&6; }
4723 if ${ac_cv_path_EGREP+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4727 then ac_cv_path_EGREP
="$GREP -E"
4729 if test -z "$EGREP"; then
4730 ac_path_EGREP_found
=false
4731 # Loop through the user's path and test for each of PROGNAME-LIST
4732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4736 test -z "$as_dir" && as_dir
=.
4737 for ac_prog
in egrep; do
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4740 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4741 # Check for GNU ac_path_EGREP and select it if it is found.
4742 # Check for GNU $ac_path_EGREP
4743 case `"$ac_path_EGREP" --version 2>&1` in
4745 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4748 $as_echo_n 0123456789 >"conftest.in"
4751 cat "conftest.in" "conftest.in" >"conftest.tmp"
4752 mv "conftest.tmp" "conftest.in"
4753 cp "conftest.in" "conftest.nl"
4754 $as_echo 'EGREP' >> "conftest.nl"
4755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4756 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4757 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4759 # Best one so far, save it but keep looking for a better one
4760 ac_cv_path_EGREP
="$ac_path_EGREP"
4761 ac_path_EGREP_max
=$ac_count
4763 # 10*(2^10) chars as input seems more than enough
4764 test $ac_count -gt 10 && break
4766 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4769 $ac_path_EGREP_found && break 3
4774 if test -z "$ac_cv_path_EGREP"; then
4775 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4778 ac_cv_path_EGREP
=$EGREP
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4784 $as_echo "$ac_cv_path_EGREP" >&6; }
4785 EGREP
="$ac_cv_path_EGREP"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4789 $as_echo_n "checking for ANSI C header files... " >&6; }
4790 if ${ac_cv_header_stdc+:} false
; then :
4791 $as_echo_n "(cached) " >&6
4793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4808 if ac_fn_c_try_compile
"$LINENO"; then :
4809 ac_cv_header_stdc
=yes
4811 ac_cv_header_stdc
=no
4813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4815 if test $ac_cv_header_stdc = yes; then
4816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4823 $EGREP "memchr" >/dev
/null
2>&1; then :
4826 ac_cv_header_stdc
=no
4832 if test $ac_cv_header_stdc = yes; then
4833 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4840 $EGREP "free" >/dev
/null
2>&1; then :
4843 ac_cv_header_stdc
=no
4849 if test $ac_cv_header_stdc = yes; then
4850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4851 if test "$cross_compiling" = yes; then :
4854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 #if ((' ' & 0x0FF) == 0x020)
4859 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4860 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4862 # define ISLOWER(c) \
4863 (('a' <= (c) && (c) <= 'i') \
4864 || ('j' <= (c) && (c) <= 'r') \
4865 || ('s' <= (c) && (c) <= 'z'))
4866 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4874 for (i = 0; i < 256; i++)
4875 if (XOR (islower (i), ISLOWER (i))
4876 || toupper (i) != TOUPPER (i))
4881 if ac_fn_c_try_run
"$LINENO"; then :
4884 ac_cv_header_stdc
=no
4886 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4887 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4893 $as_echo "$ac_cv_header_stdc" >&6; }
4894 if test $ac_cv_header_stdc = yes; then
4896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4900 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4901 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4902 inttypes.h stdint.h unistd.h
4904 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4905 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4907 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4908 cat >>confdefs.h
<<_ACEOF
4909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4918 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4919 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4926 if test "$MINIX" = yes; then
4928 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4931 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4934 $as_echo "#define _MINIX 1" >>confdefs.h
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4940 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4941 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4942 $as_echo_n "(cached) " >&6
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4947 # define __EXTENSIONS__ 1
4948 $ac_includes_default
4957 if ac_fn_c_try_compile
"$LINENO"; then :
4958 ac_cv_safe_to_define___extensions__
=yes
4960 ac_cv_safe_to_define___extensions__
=no
4962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4965 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4966 test $ac_cv_safe_to_define___extensions__ = yes &&
4967 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4969 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4971 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4973 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4975 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4984 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4989 macro_version
='2.2.7a'
4990 macro_revision
='1.3134'
5004 ltmain
="$ac_aux_dir/ltmain.sh"
5006 # Backslashify metacharacters that are still active within
5007 # double-quoted strings.
5008 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5010 # Same as above, but do not quote variable references.
5011 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5013 # Sed substitution to delay expansion of an escaped shell variable in a
5014 # double_quote_subst'ed string.
5015 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5017 # Sed substitution to delay expansion of an escaped single quote.
5018 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5020 # Sed substitution to avoid accidental globbing in evaled expressions
5021 no_glob_subst
='s/\*/\\\*/g'
5023 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5024 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5025 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5028 $as_echo_n "checking how to print strings... " >&6; }
5029 # Test print first, because it will be a builtin if present.
5030 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5031 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5033 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5036 # Use this function as a fallback that always works.
5037 func_fallback_echo ()
5039 eval 'cat <<_LTECHO_EOF
5043 ECHO='func_fallback_echo
'
5046 # func_echo_all arg...
5047 # Invoke $ECHO with all args, space-separated.
5054 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5055 $as_echo "printf" >&6; } ;;
5056 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5057 $as_echo "print -r" >&6; } ;;
5058 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5059 $as_echo "cat" >&6; } ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5076 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5077 if ${ac_cv_path_SED+:} false; then :
5078 $as_echo_n "(cached) " >&6
5080 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5081 for ac_i in 1 2 3 4 5 6 7; do
5082 ac_script="$ac_script$as_nl$ac_script"
5084 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5085 { ac_script=; unset ac_script;}
5086 if test -z "$SED"; then
5087 ac_path_SED_found=false
5088 # Loop through the user's path and
test for each of PROGNAME-LIST
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_prog
in sed gsed
; do
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5097 as_fn_executable_p
"$ac_path_SED" ||
continue
5098 # Check for GNU ac_path_SED and select it if it is found.
5099 # Check for GNU $ac_path_SED
5100 case `"$ac_path_SED" --version 2>&1` in
5102 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5105 $as_echo_n 0123456789 >"conftest.in"
5108 cat "conftest.in" "conftest.in" >"conftest.tmp"
5109 mv "conftest.tmp" "conftest.in"
5110 cp "conftest.in" "conftest.nl"
5111 $as_echo '' >> "conftest.nl"
5112 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5114 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5115 if test $ac_count -gt ${ac_path_SED_max-0}; then
5116 # Best one so far, save it but keep looking for a better one
5117 ac_cv_path_SED
="$ac_path_SED"
5118 ac_path_SED_max
=$ac_count
5120 # 10*(2^10) chars as input seems more than enough
5121 test $ac_count -gt 10 && break
5123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5126 $ac_path_SED_found && break 3
5131 if test -z "$ac_cv_path_SED"; then
5132 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5140 $as_echo "$ac_cv_path_SED" >&6; }
5141 SED
="$ac_cv_path_SED"
5144 test -z "$SED" && SED
=sed
5145 Xsed
="$SED -e 1s/^X//"
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5158 $as_echo_n "checking for fgrep... " >&6; }
5159 if ${ac_cv_path_FGREP+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5162 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5163 then ac_cv_path_FGREP
="$GREP -F"
5165 if test -z "$FGREP"; then
5166 ac_path_FGREP_found
=false
5167 # Loop through the user's path and test for each of PROGNAME-LIST
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_prog
in fgrep
; do
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5176 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5177 # Check for GNU ac_path_FGREP and select it if it is found.
5178 # Check for GNU $ac_path_FGREP
5179 case `"$ac_path_FGREP" --version 2>&1` in
5181 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5184 $as_echo_n 0123456789 >"conftest.in"
5187 cat "conftest.in" "conftest.in" >"conftest.tmp"
5188 mv "conftest.tmp" "conftest.in"
5189 cp "conftest.in" "conftest.nl"
5190 $as_echo 'FGREP' >> "conftest.nl"
5191 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5192 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5193 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5194 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5195 # Best one so far, save it but keep looking for a better one
5196 ac_cv_path_FGREP
="$ac_path_FGREP"
5197 ac_path_FGREP_max
=$ac_count
5199 # 10*(2^10) chars as input seems more than enough
5200 test $ac_count -gt 10 && break
5202 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5205 $ac_path_FGREP_found && break 3
5210 if test -z "$ac_cv_path_FGREP"; then
5211 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5214 ac_cv_path_FGREP
=$FGREP
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5220 $as_echo "$ac_cv_path_FGREP" >&6; }
5221 FGREP
="$ac_cv_path_FGREP"
5224 test -z "$GREP" && GREP
=grep
5244 # Check whether --with-gnu-ld was given.
5245 if test "${with_gnu_ld+set}" = set; then :
5246 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5252 if test "$GCC" = yes; then
5253 # Check if gcc -print-prog-name=ld gives a path.
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5255 $as_echo_n "checking for ld used by $CC... " >&6; }
5258 # gcc leaves a trailing carriage return which upsets mingw
5259 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5261 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5264 # Accept absolute paths.
5266 re_direlt
='/[^/][^/]*/\.\./'
5267 # Canonicalize the pathname of ld
5268 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5269 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5270 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5272 test -z "$LD" && LD
="$ac_prog"
5275 # If it fails, then pretend we aren't using GCC.
5279 # If it is relative, then search for the first ld in PATH.
5283 elif test "$with_gnu_ld" = yes; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5285 $as_echo_n "checking for GNU ld... " >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5288 $as_echo_n "checking for non-GNU ld... " >&6; }
5290 if ${lt_cv_path_LD+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -z "$LD"; then
5294 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5295 for ac_dir
in $PATH; do
5297 test -z "$ac_dir" && ac_dir
=.
5298 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5299 lt_cv_path_LD
="$ac_dir/$ac_prog"
5300 # Check to see if the program is GNU ld. I'd rather use --version,
5301 # but apparently some variants of GNU ld only accept -v.
5302 # Break only if it was the GNU/non-GNU ld that we prefer.
5303 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5304 *GNU
* |
*'with BFD'*)
5305 test "$with_gnu_ld" != no
&& break
5308 test "$with_gnu_ld" != yes && break
5315 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5320 if test -n "$LD"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5322 $as_echo "$LD" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5327 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5329 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5330 if ${lt_cv_prog_gnu_ld+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5334 case `$LD -v 2>&1 </dev/null` in
5335 *GNU
* |
*'with BFD'*)
5336 lt_cv_prog_gnu_ld
=yes
5339 lt_cv_prog_gnu_ld
=no
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5344 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5345 with_gnu_ld
=$lt_cv_prog_gnu_ld
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5356 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5357 if ${lt_cv_path_NM+:} false
; then :
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$NM"; then
5361 # Let the user override the test.
5364 lt_nm_to_check
="${ac_tool_prefix}nm"
5365 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5366 lt_nm_to_check
="$lt_nm_to_check nm"
5368 for lt_tmp_nm
in $lt_nm_to_check; do
5369 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5370 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5372 test -z "$ac_dir" && ac_dir
=.
5373 tmp_nm
="$ac_dir/$lt_tmp_nm"
5374 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5375 # Check to see if the nm accepts a BSD-compat flag.
5376 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5377 # nm: unknown option "B" ignored
5378 # Tru64's nm complains that /dev/null is an invalid object file
5379 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5380 */dev
/null
* |
*'Invalid file or object type'*)
5381 lt_cv_path_NM
="$tmp_nm -B"
5385 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5387 lt_cv_path_NM
="$tmp_nm -p"
5391 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5392 continue # so that we can try to find one that supports BSD flags
5401 : ${lt_cv_path_NM=no}
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5405 $as_echo "$lt_cv_path_NM" >&6; }
5406 if test "$lt_cv_path_NM" != "no"; then
5409 # Didn't find any BSD compatible name lister, look for dumpbin.
5410 if test -n "$DUMPBIN"; then :
5411 # Let the user override the test.
5413 if test -n "$ac_tool_prefix"; then
5414 for ac_prog
in dumpbin
"link -dump"
5416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5417 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5421 $as_echo_n "(cached) " >&6
5423 if test -n "$DUMPBIN"; then
5424 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir
=.
5431 for ac_exec_ext
in '' $ac_executable_extensions; do
5432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 DUMPBIN
=$ac_cv_prog_DUMPBIN
5444 if test -n "$DUMPBIN"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5446 $as_echo "$DUMPBIN" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$DUMPBIN" && break
5456 if test -z "$DUMPBIN"; then
5457 ac_ct_DUMPBIN
=$DUMPBIN
5458 for ac_prog
in dumpbin
"link -dump"
5460 # Extract the first word of "$ac_prog", so it can be a program name with args.
5461 set dummy
$ac_prog; ac_word
=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5467 if test -n "$ac_ct_DUMPBIN"; then
5468 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir
=.
5475 for ac_exec_ext
in '' $ac_executable_extensions; do
5476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5488 if test -n "$ac_ct_DUMPBIN"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5490 $as_echo "$ac_ct_DUMPBIN" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5497 test -n "$ac_ct_DUMPBIN" && break
5500 if test "x$ac_ct_DUMPBIN" = x
; then
5503 case $cross_compiling:$ac_tool_warned in
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5507 ac_tool_warned
=yes ;;
5509 DUMPBIN
=$ac_ct_DUMPBIN
5513 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5515 DUMPBIN
="$DUMPBIN -symbols"
5523 if test "$DUMPBIN" != ":"; then
5527 test -z "$NM" && NM
=nm
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5535 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5536 if ${lt_cv_nm_interface+:} false
; then :
5537 $as_echo_n "(cached) " >&6
5539 lt_cv_nm_interface
="BSD nm"
5540 echo "int some_variable = 0;" > conftest.
$ac_ext
5541 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5542 (eval "$ac_compile" 2>conftest.err
)
5543 cat conftest.err
>&5
5544 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5545 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5546 cat conftest.err
>&5
5547 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5548 cat conftest.out
>&5
5549 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5550 lt_cv_nm_interface
="MS dumpbin"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5555 $as_echo "$lt_cv_nm_interface" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5558 $as_echo_n "checking whether ln -s works... " >&6; }
5560 if test "$LN_S" = "ln -s"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5562 $as_echo "yes" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5565 $as_echo "no, using $LN_S" >&6; }
5568 # find the maximum length of command line arguments
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5570 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5571 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5579 # On DJGPP, this test can blow up pretty badly due to problems in libc
5580 # (any single argument exceeding 2000 bytes causes a buffer overrun
5581 # during glob expansion). Even if it were fixed, the result of this
5582 # check would be larger than it should be.
5583 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5587 # Under GNU Hurd, this test is not required because there is
5588 # no limit to the length of command line arguments.
5589 # Libtool will interpret -1 as no limit whatsoever
5590 lt_cv_sys_max_cmd_len
=-1;
5593 cygwin
* | mingw
* | cegcc
*)
5594 # On Win9x/ME, this test blows up -- it succeeds, but takes
5595 # about 5 minutes as the teststring grows exponentially.
5596 # Worse, since 9x/ME are not pre-emptively multitasking,
5597 # you end up with a "frozen" computer, even though with patience
5598 # the test eventually succeeds (with a max line length of 256k).
5599 # Instead, let's just punt: use the minimum linelength reported by
5600 # all of the supported platforms: 8192 (on NT/2K/XP).
5601 lt_cv_sys_max_cmd_len
=8192;
5605 # On MiNT this can take a long time and run out of memory.
5606 lt_cv_sys_max_cmd_len
=8192;
5610 # On AmigaOS with pdksh, this test takes hours, literally.
5611 # So we just punt and use a minimum line length of 8192.
5612 lt_cv_sys_max_cmd_len
=8192;
5615 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5616 # This has been around since 386BSD, at least. Likely further.
5617 if test -x /sbin
/sysctl
; then
5618 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5619 elif test -x /usr
/sbin
/sysctl
; then
5620 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5622 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5624 # And add a safety zone
5625 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5626 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5630 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5631 lt_cv_sys_max_cmd_len
=196608
5635 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5636 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5637 # nice to cause kernel panics so lets avoid the loop below.
5638 # First set a reasonable default.
5639 lt_cv_sys_max_cmd_len
=16384
5641 if test -x /sbin
/sysconfig
; then
5642 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5643 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5648 lt_cv_sys_max_cmd_len
=102400
5650 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5651 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5652 if test -n "$kargmax"; then
5653 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5655 lt_cv_sys_max_cmd_len
=32768
5659 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5660 if test -n "$lt_cv_sys_max_cmd_len"; then
5661 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5662 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5664 # Make teststring a little bigger before we do anything with it.
5665 # a 1K string should be a reasonable start.
5666 for i
in 1 2 3 4 5 6 7 8 ; do
5667 teststring
=$teststring$teststring
5669 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5670 # If test is not a shell built-in, we'll probably end up computing a
5671 # maximum length that is only half of the actual maximum length, but
5673 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5674 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5675 test $i != 17 # 1/2 MB should be enough
5678 teststring
=$teststring$teststring
5680 # Only check the string length outside the loop.
5681 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5683 # Add a significant safety factor because C++ compilers can tack on
5684 # massive amounts of additional arguments before passing them to the
5685 # linker. It appears as though 1/2 is a usable value.
5686 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5693 if test -n $lt_cv_sys_max_cmd_len ; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5695 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5698 $as_echo "none" >&6; }
5700 max_cmd_len
=$lt_cv_sys_max_cmd_len
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5712 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5713 # Try some XSI features
5716 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5718 && eval 'test $(( 1 + 1 )) -eq 2 \
5719 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5722 $as_echo "$xsi_shell" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5726 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5728 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5730 && lt_shell_append=yes
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5732 $as_echo "$lt_shell_append" >&6; }
5735 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5745 # test EBCDIC or ASCII
5746 case `echo X|tr X '\101'` in
5747 A) # ASCII based system
5748 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5749 lt_SP2NL='tr \040 \012'
5750 lt_NL2SP='tr \015\012 \040\040'
5752 *) # EBCDIC based system
5753 lt_SP2NL='tr \100 \n'
5754 lt_NL2SP='tr \r\n \100\100'
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5767 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5768 if ${lt_cv_ld_reload_flag+:} false; then :
5769 $as_echo_n "(cached
) " >&6
5771 lt_cv_ld_reload_flag='-r'
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5774 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5775 reload_flag=$lt_cv_ld_reload_flag
5776 case $reload_flag in
5778 *) reload_flag=" $reload_flag" ;;
5780 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5783 if test "$GCC" = yes; then
5784 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5786 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5799 if test -n "$ac_tool_prefix"; then
5800 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5801 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5803 $as_echo_n "checking
for $ac_word...
" >&6; }
5804 if ${ac_cv_prog_OBJDUMP+:} false; then :
5805 $as_echo_n "(cached
) " >&6
5807 if test -n "$OBJDUMP"; then
5808 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5827 OBJDUMP=$ac_cv_prog_OBJDUMP
5828 if test -n "$OBJDUMP"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5830 $as_echo "$OBJDUMP" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5833 $as_echo "no
" >&6; }
5838 if test -z "$ac_cv_prog_OBJDUMP"; then
5839 ac_ct_OBJDUMP=$OBJDUMP
5840 # Extract the first word of "objdump
", so it can be a program name with args.
5841 set dummy objdump; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5843 $as_echo_n "checking
for $ac_word...
" >&6; }
5844 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5845 $as_echo_n "(cached
) " >&6
5847 if test -n "$ac_ct_OBJDUMP"; then
5848 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5867 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5868 if test -n "$ac_ct_OBJDUMP"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5870 $as_echo "$ac_ct_OBJDUMP" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5873 $as_echo "no
" >&6; }
5876 if test "x
$ac_ct_OBJDUMP" = x; then
5879 case $cross_compiling:$ac_tool_warned in
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5883 ac_tool_warned=yes ;;
5885 OBJDUMP=$ac_ct_OBJDUMP
5888 OBJDUMP="$ac_cv_prog_OBJDUMP"
5891 test -z "$OBJDUMP" && OBJDUMP=objdump
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5902 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5903 if ${lt_cv_deplibs_check_method+:} false; then :
5904 $as_echo_n "(cached
) " >&6
5906 lt_cv_file_magic_cmd='$MAGIC_CMD'
5907 lt_cv_file_magic_test_file=
5908 lt_cv_deplibs_check_method='unknown'
5909 # Need to set the preceding variable on all platforms that support
5910 # interlibrary dependencies.
5911 # 'none' -- dependencies not supported.
5912 # `unknown' -- same as none, but documents that we really don't know.
5913 # 'pass_all' -- all dependencies passed with no checks.
5914 # 'test_compile' -- check by making test program.
5915 # 'file_magic [[regex]]' -- check by looking for files in library path
5916 # which responds to the $file_magic_cmd with a given extended regex.
5917 # If you have `file' or equivalent on your system and you're not sure
5918 # whether `pass_all' will *always* work, you probably want this one.
5922 lt_cv_deplibs_check_method=pass_all
5926 lt_cv_deplibs_check_method=pass_all
5930 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5931 lt_cv_file_magic_cmd='/usr/bin/file -L'
5932 lt_cv_file_magic_test_file=/shlib/libc.so
5936 # func_win32_libid is a shell function defined in ltmain.sh
5937 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5938 lt_cv_file_magic_cmd='func_win32_libid'
5942 # Base MSYS/MinGW do not provide the 'file' command needed by
5943 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5944 # unless we find 'file', for example because we are cross-compiling.
5945 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5946 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5947 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5948 lt_cv_file_magic_cmd='func_win32_libid'
5950 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5951 lt_cv_file_magic_cmd='$OBJDUMP -f'
5956 # use the weaker test based on 'objdump'. See mingw*.
5957 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5958 lt_cv_file_magic_cmd='$OBJDUMP -f'
5961 darwin* | rhapsody*)
5962 lt_cv_deplibs_check_method=pass_all
5965 freebsd* | dragonfly*)
5966 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5969 # Not sure whether the presence of OpenBSD here was a mistake.
5970 # Let's accept both of them until this is cleared up.
5971 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5972 lt_cv_file_magic_cmd=/usr/bin/file
5973 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5977 lt_cv_deplibs_check_method=pass_all
5982 lt_cv_deplibs_check_method=pass_all
5986 lt_cv_deplibs_check_method=pass_all
5989 hpux10.20* | hpux11*)
5990 lt_cv_file_magic_cmd=/usr/bin/file
5993 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5994 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5997 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]'
5998 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6001 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6002 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6008 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6012 irix5* | irix6* | nonstopux*)
6014 *-32|*"-32 ") libmagic=32-bit;;
6015 *-n32|*"-n32 ") libmagic=N32;;
6016 *-64|*"-64 ") libmagic=64-bit;;
6017 *) libmagic=never-match;;
6019 lt_cv_deplibs_check_method=pass_all
6022 # This must be Linux ELF.
6023 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6024 lt_cv_deplibs_check_method=pass_all
6028 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6029 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6031 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6036 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6037 lt_cv_file_magic_cmd=/usr/bin/file
6038 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6042 lt_cv_deplibs_check_method=pass_all
6046 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6049 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6053 osf3* | osf4* | osf5*)
6054 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_deplibs_check_method=pass_all
6062 lt_cv_deplibs_check_method=pass_all
6065 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6066 lt_cv_deplibs_check_method=pass_all
6070 case $host_vendor in
6072 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]'
6073 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6076 lt_cv_deplibs_check_method=pass_all
6079 lt_cv_file_magic_cmd='/bin/file'
6080 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6083 lt_cv_file_magic_cmd='/bin/file'
6084 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6085 lt_cv_file_magic_test_file=/lib/libc.so
6088 lt_cv_deplibs_check_method=pass_all
6091 lt_cv_deplibs_check_method=pass_all
6097 lt_cv_deplibs_check_method=pass_all
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6103 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6104 file_magic_cmd=$lt_cv_file_magic_cmd
6105 deplibs_check_method=$lt_cv_deplibs_check_method
6106 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6120 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
6121 for plugin in $plugin_names; do
6122 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
6123 if test x$plugin_so = x$plugin; then
6124 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
6126 if test x$plugin_so != x$plugin; then
6127 plugin_option="--plugin $plugin_so"
6132 if test -n "$ac_tool_prefix"; then
6133 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}ar; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6136 $as_echo_n "checking
for $ac_word...
" >&6; }
6137 if ${ac_cv_prog_AR+:} false; then :
6138 $as_echo_n "(cached
) " >&6
6140 if test -n "$AR"; then
6141 ac_cv_prog_AR="$AR" # Let the user override the test.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_AR="${ac_tool_prefix}ar"
6151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6161 if test -n "$AR"; then
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6163 $as_echo "$AR" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6166 $as_echo "no
" >&6; }
6171 if test -z "$ac_cv_prog_AR"; then
6173 # Extract the first word of "ar", so it can be a program name with args.
6174 set dummy ar; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6176 $as_echo_n "checking
for $ac_word...
" >&6; }
6177 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6178 $as_echo_n "(cached
) " >&6
6180 if test -n "$ac_ct_AR"; then
6181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190 ac_cv_prog_ac_ct_AR="ar"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6201 if test -n "$ac_ct_AR"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6203 $as_echo "$ac_ct_AR" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6206 $as_echo "no
" >&6; }
6209 if test "x
$ac_ct_AR" = x; then
6212 case $cross_compiling:$ac_tool_warned in
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6215 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6216 ac_tool_warned=yes ;;
6224 test -z "$AR" && AR=ar
6225 if test -n "$plugin_option"; then
6226 if $AR --help 2>&1 | grep -q "\
--plugin"; then
6228 $AR $plugin_option rc conftest.a conftest.c
6229 if test "$?
" != 0; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
6231 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
6233 AR="$AR $plugin_option"
6238 test -z "$AR_FLAGS" && AR_FLAGS=cru
6250 if test -n "$ac_tool_prefix"; then
6251 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6252 set dummy ${ac_tool_prefix}strip; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6254 $as_echo_n "checking
for $ac_word...
" >&6; }
6255 if ${ac_cv_prog_STRIP+:} false; then :
6256 $as_echo_n "(cached
) " >&6
6258 if test -n "$STRIP"; then
6259 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6278 STRIP=$ac_cv_prog_STRIP
6279 if test -n "$STRIP"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6281 $as_echo "$STRIP" >&6; }
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6284 $as_echo "no
" >&6; }
6289 if test -z "$ac_cv_prog_STRIP"; then
6291 # Extract the first word of "strip
", so it can be a program name with args.
6292 set dummy strip; ac_word=$2
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6294 $as_echo_n "checking
for $ac_word...
" >&6; }
6295 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6296 $as_echo_n "(cached
) " >&6
6298 if test -n "$ac_ct_STRIP"; then
6299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_ac_ct_STRIP="strip
"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6319 if test -n "$ac_ct_STRIP"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6321 $as_echo "$ac_ct_STRIP" >&6; }
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6324 $as_echo "no
" >&6; }
6327 if test "x
$ac_ct_STRIP" = x; then
6330 case $cross_compiling:$ac_tool_warned in
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6333 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6334 ac_tool_warned=yes ;;
6339 STRIP="$ac_cv_prog_STRIP"
6342 test -z "$STRIP" && STRIP=:
6349 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6351 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6353 $as_echo_n "checking
for $ac_word...
" >&6; }
6354 if ${ac_cv_prog_RANLIB+:} false; then :
6355 $as_echo_n "(cached
) " >&6
6357 if test -n "$RANLIB"; then
6358 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6377 RANLIB=$ac_cv_prog_RANLIB
6378 if test -n "$RANLIB"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6380 $as_echo "$RANLIB" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6383 $as_echo "no
" >&6; }
6388 if test -z "$ac_cv_prog_RANLIB"; then
6389 ac_ct_RANLIB=$RANLIB
6390 # Extract the first word of "ranlib
", so it can be a program name with args.
6391 set dummy ranlib; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6393 $as_echo_n "checking
for $ac_word...
" >&6; }
6394 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6395 $as_echo_n "(cached
) " >&6
6397 if test -n "$ac_ct_RANLIB"; then
6398 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6418 if test -n "$ac_ct_RANLIB"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6420 $as_echo "$ac_ct_RANLIB" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6423 $as_echo "no
" >&6; }
6426 if test "x
$ac_ct_RANLIB" = x; then
6429 case $cross_compiling:$ac_tool_warned in
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6432 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6433 ac_tool_warned=yes ;;
6435 RANLIB=$ac_ct_RANLIB
6438 RANLIB="$ac_cv_prog_RANLIB"
6441 test -z "$RANLIB" && RANLIB=:
6442 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6443 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
6444 RANLIB="$RANLIB $plugin_option"
6453 # Determine commands to create old-style static archives.
6454 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6455 old_postinstall_cmds='chmod 644 $oldlib'
6456 old_postuninstall_cmds=
6458 if test -n "$RANLIB"; then
6461 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6464 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6467 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6472 lock_old_archive_extraction=yes ;;
6474 lock_old_archive_extraction=no ;;
6515 # If no C compiler was specified, use CC.
6518 # If no C compiler flags were specified, use CFLAGS.
6519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6521 # Allow CC to be a program name with arguments.
6525 # Check for command to grab the raw symbol name followed by C symbol from nm.
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6527 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6528 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6529 $as_echo_n "(cached
) " >&6
6532 # These are sane defaults that work on at least a few old systems.
6533 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6535 # Character class describing NM global symbol codes.
6536 symcode='[BCDEGRST]'
6538 # Regexp to match symbols that can be accessed directly from C.
6539 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6541 # Define system-specific variables.
6546 cygwin* | mingw* | pw32* | cegcc*)
6547 symcode='[ABCDGISTW]'
6550 if test "$host_cpu" = ia64; then
6551 symcode='[ABCDEGRST]'
6555 symcode='[BCDEGRST]'
6558 symcode='[BCDEGQRST]'
6569 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6577 # If we're using GNU nm, then use its standard symbol codes.
6578 case `$NM -V 2>&1` in
6579 *GNU* | *'with BFD'*)
6580 symcode='[ABCDGIRSTW]' ;;
6583 # Transform an extracted symbol line into a proper C declaration.
6584 # Some systems (esp. on ia64) link data and code symbols differently,
6585 # so use this general approach.
6586 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6588 # Transform an extracted symbol line into symbol name and symbol address
6589 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6590 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'"
6592 # Handle CRLF in mingw tool chain
6596 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6600 # Try without a prefix underscore, then with it.
6601 for ac_symprfx in "" "_
"; do
6603 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6604 symxfrm="\\1 $ac_symprfx\\2 \\2"
6606 # Write the raw and C identifiers.
6607 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6608 # Fake it for dumpbin and say T for any non-static function
6609 # and D for any global variable.
6610 # Also find C++ and __fastcall symbols from MSVC++,
6611 # which start with @ or ?.
6612 lt_cv_sys_global_symbol_pipe="$AWK '"\
6613 " {last_section=section; section=\$ 3};"\
6614 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6615 " \$ 0!~/External *\|/{next};"\
6616 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6617 " {if(hide[section]) next};"\
6618 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6619 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6620 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6621 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6622 " ' prfx
=^
$ac_symprfx"
6624 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6627 # Check to see that the pipe works correctly.
6631 cat > conftest.$ac_ext <<_LT_EOF
6636 void nm_test_func(void);
6637 void nm_test_func(void){}
6641 int main(){nm_test_var='a';nm_test_func();return(0);}
6644 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6645 (eval $ac_compile) 2>&5
6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6648 test $ac_status = 0; }; then
6649 # Now try to grab the symbols.
6651 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6652 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6654 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6655 test $ac_status = 0; } && test -s "$nlist"; then
6656 # Try sorting and uniquifying the output.
6657 if sort "$nlist" | uniq > "$nlist"T; then
6658 mv -f "$nlist"T "$nlist"
6663 # Make sure that we snagged all the symbols we need.
6664 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6665 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6666 cat <<_LT_EOF > conftest.$ac_ext
6672 # Now generate the symbol file.
6673 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6675 cat <<_LT_EOF >> conftest.$ac_ext
6677 /* The mapping between symbol names and symbols. */
6682 lt__PROGRAM__LTX_preloaded_symbols[] =
6684 { "@PROGRAM@
", (void *) 0 },
6686 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6687 cat <<\_LT_EOF >> conftest.$ac_ext
6691 /* This works around a problem in FreeBSD linker */
6692 #ifdef FREEBSD_WORKAROUND
6693 static const void *lt_preloaded_setup() {
6694 return lt__PROGRAM__LTX_preloaded_symbols;
6702 # Now try linking the two files.
6703 mv conftest.$ac_objext conftstm.$ac_objext
6704 lt_save_LIBS="$LIBS"
6705 lt_save_CFLAGS="$CFLAGS"
6706 LIBS="conftstm.
$ac_objext"
6707 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6708 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6709 (eval $ac_link) 2>&5
6711 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6712 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6715 LIBS="$lt_save_LIBS"
6716 CFLAGS="$lt_save_CFLAGS"
6718 echo "cannot
find nm_test_func
in $nlist" >&5
6721 echo "cannot
find nm_test_var
in $nlist" >&5
6724 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6727 echo "$progname: failed program was
:" >&5
6728 cat conftest.$ac_ext >&5
6730 rm -rf conftest* conftst*
6732 # Do not use the global_symbol_pipe unless it works.
6733 if test "$pipe_works" = yes; then
6736 lt_cv_sys_global_symbol_pipe=
6742 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6743 lt_cv_sys_global_symbol_to_cdecl=
6745 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6747 $as_echo "failed
" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6750 $as_echo "ok
" >&6; }
6774 # Check whether --enable-libtool-lock was given.
6775 if test "${enable_libtool_lock+set}" = set; then :
6776 enableval=$enable_libtool_lock;
6779 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6781 # Some flags need to be propagated to the compiler or linker for good
6785 # Find out which ABI we are using.
6786 echo 'int i;' > conftest.$ac_ext
6787 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6788 (eval $ac_compile) 2>&5
6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6791 test $ac_status = 0; }; then
6792 case `/usr/bin/file conftest.$ac_objext` in
6804 # Find out which ABI we are using.
6805 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6806 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6807 (eval $ac_compile) 2>&5
6809 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6810 test $ac_status = 0; }; then
6811 if test "$lt_cv_prog_gnu_ld" = yes; then
6812 case `/usr/bin/file conftest.$ac_objext` in
6814 LD="${LD-ld} -melf32bsmip"
6817 LD="${LD-ld} -melf32bmipn32"
6820 LD="${LD-ld} -melf64bmip"
6824 case `/usr/bin/file conftest.$ac_objext` in
6840 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6841 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6842 # Find out which ABI we are using.
6843 echo 'int i;' > conftest.$ac_ext
6844 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6845 (eval $ac_compile) 2>&5
6847 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6848 test $ac_status = 0; }; then
6849 case `/usr/bin/file conftest.o` in
6852 x86_64-*kfreebsd*-gnu)
6853 LD="${LD-ld} -m elf_i386_fbsd
"
6856 case `/usr/bin/file conftest.o` in
6858 LD="${LD-ld} -m elf32_x86_64
"
6861 LD="${LD-ld} -m elf_i386
"
6865 powerpc64le-*linux*)
6866 LD="${LD-ld} -m elf32lppclinux
"
6869 LD="${LD-ld} -m elf32ppclinux
"
6872 LD="${LD-ld} -m elf_s390
"
6875 LD="${LD-ld} -m elf32_sparc
"
6881 x86_64-*kfreebsd*-gnu)
6882 LD="${LD-ld} -m elf_x86_64_fbsd
"
6885 LD="${LD-ld} -m elf_x86_64
"
6888 LD="${LD-ld} -m elf64lppc
"
6891 LD="${LD-ld} -m elf64ppc
"
6893 s390*-*linux*|s390*-*tpf*)
6894 LD="${LD-ld} -m elf64_s390
"
6897 LD="${LD-ld} -m elf64_sparc
"
6907 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6908 SAVE_CFLAGS="$CFLAGS"
6909 CFLAGS="$CFLAGS -belf"
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6911 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6912 if ${lt_cv_cc_needs_belf+:} false; then :
6913 $as_echo_n "(cached
) " >&6
6916 ac_cpp='$CPP $CPPFLAGS'
6917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6932 if ac_fn_c_try_link "$LINENO"; then :
6933 lt_cv_cc_needs_belf=yes
6935 lt_cv_cc_needs_belf=no
6937 rm -f core conftest.err conftest.$ac_objext \
6938 conftest$ac_exeext conftest.$ac_ext
6940 ac_cpp='$CPP $CPPFLAGS'
6941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6947 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6948 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6949 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6950 CFLAGS="$SAVE_CFLAGS"
6954 # Find out which ABI we are using.
6955 echo 'int i;' > conftest.$ac_ext
6956 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6957 (eval $ac_compile) 2>&5
6959 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6960 test $ac_status = 0; }; then
6961 case `/usr/bin/file conftest.o` in
6963 case $lt_cv_prog_gnu_ld in
6964 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6966 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6978 need_locks="$enable_libtool_lock"
6982 rhapsody* | darwin*)
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6987 $as_echo_n "checking
for $ac_word...
" >&6; }
6988 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$DSYMUTIL"; then
6992 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7012 if test -n "$DSYMUTIL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7014 $as_echo "$DSYMUTIL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7017 $as_echo "no
" >&6; }
7022 if test -z "$ac_cv_prog_DSYMUTIL"; then
7023 ac_ct_DSYMUTIL=$DSYMUTIL
7024 # Extract the first word of "dsymutil
", so it can be a program name with args.
7025 set dummy dsymutil; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7027 $as_echo_n "checking
for $ac_word...
" >&6; }
7028 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7031 if test -n "$ac_ct_DSYMUTIL"; then
7032 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7052 if test -n "$ac_ct_DSYMUTIL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7054 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7057 $as_echo "no
" >&6; }
7060 if test "x
$ac_ct_DSYMUTIL" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7067 ac_tool_warned=yes ;;
7069 DSYMUTIL=$ac_ct_DSYMUTIL
7072 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if ${ac_cv_prog_NMEDIT+:} false; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$NMEDIT"; then
7084 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 NMEDIT=$ac_cv_prog_NMEDIT
7104 if test -n "$NMEDIT"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7106 $as_echo "$NMEDIT" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_NMEDIT"; then
7115 ac_ct_NMEDIT=$NMEDIT
7116 # Extract the first word of "nmedit
", so it can be a program name with args.
7117 set dummy nmedit; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_NMEDIT"; then
7124 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7144 if test -n "$ac_ct_NMEDIT"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7146 $as_echo "$ac_ct_NMEDIT" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_NMEDIT" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7161 NMEDIT=$ac_ct_NMEDIT
7164 NMEDIT="$ac_cv_prog_NMEDIT"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7171 $as_echo_n "checking
for $ac_word...
" >&6; }
7172 if ${ac_cv_prog_LIPO+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7175 if test -n "$LIPO"; then
7176 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7195 LIPO=$ac_cv_prog_LIPO
7196 if test -n "$LIPO"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7198 $as_echo "$LIPO" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7201 $as_echo "no
" >&6; }
7206 if test -z "$ac_cv_prog_LIPO"; then
7208 # Extract the first word of "lipo
", so it can be a program name with args.
7209 set dummy lipo; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7211 $as_echo_n "checking
for $ac_word...
" >&6; }
7212 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7213 $as_echo_n "(cached
) " >&6
7215 if test -n "$ac_ct_LIPO"; then
7216 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_ac_ct_LIPO="lipo
"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7236 if test -n "$ac_ct_LIPO"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7238 $as_echo "$ac_ct_LIPO" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7241 $as_echo "no
" >&6; }
7244 if test "x
$ac_ct_LIPO" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7250 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7251 ac_tool_warned=yes ;;
7256 LIPO="$ac_cv_prog_LIPO"
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}otool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7263 $as_echo_n "checking
for $ac_word...
" >&6; }
7264 if ${ac_cv_prog_OTOOL+:} false; then :
7265 $as_echo_n "(cached
) " >&6
7267 if test -n "$OTOOL"; then
7268 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7287 OTOOL=$ac_cv_prog_OTOOL
7288 if test -n "$OTOOL"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7290 $as_echo "$OTOOL" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7293 $as_echo "no
" >&6; }
7298 if test -z "$ac_cv_prog_OTOOL"; then
7300 # Extract the first word of "otool
", so it can be a program name with args.
7301 set dummy otool; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7303 $as_echo_n "checking
for $ac_word...
" >&6; }
7304 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7305 $as_echo_n "(cached
) " >&6
7307 if test -n "$ac_ct_OTOOL"; then
7308 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_ac_ct_OTOOL="otool
"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7328 if test -n "$ac_ct_OTOOL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7330 $as_echo "$ac_ct_OTOOL" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7333 $as_echo "no
" >&6; }
7336 if test "x
$ac_ct_OTOOL" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7342 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7343 ac_tool_warned=yes ;;
7348 OTOOL="$ac_cv_prog_OTOOL"
7351 if test -n "$ac_tool_prefix"; then
7352 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7353 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7355 $as_echo_n "checking
for $ac_word...
" >&6; }
7356 if ${ac_cv_prog_OTOOL64+:} false; then :
7357 $as_echo_n "(cached
) " >&6
7359 if test -n "$OTOOL64"; then
7360 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7379 OTOOL64=$ac_cv_prog_OTOOL64
7380 if test -n "$OTOOL64"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7382 $as_echo "$OTOOL64" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7385 $as_echo "no
" >&6; }
7390 if test -z "$ac_cv_prog_OTOOL64"; then
7391 ac_ct_OTOOL64=$OTOOL64
7392 # Extract the first word of "otool64
", so it can be a program name with args.
7393 set dummy otool64; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7395 $as_echo_n "checking
for $ac_word...
" >&6; }
7396 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7397 $as_echo_n "(cached
) " >&6
7399 if test -n "$ac_ct_OTOOL64"; then
7400 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7419 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7420 if test -n "$ac_ct_OTOOL64"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7422 $as_echo "$ac_ct_OTOOL64" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7425 $as_echo "no
" >&6; }
7428 if test "x
$ac_ct_OTOOL64" = x; then
7431 case $cross_compiling:$ac_tool_warned in
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7435 ac_tool_warned=yes ;;
7437 OTOOL64=$ac_ct_OTOOL64
7440 OTOOL64="$ac_cv_prog_OTOOL64"
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7470 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7471 if ${lt_cv_apple_cc_single_mod+:} false; then :
7472 $as_echo_n "(cached
) " >&6
7474 lt_cv_apple_cc_single_mod=no
7475 if test -z "${LT_MULTI_MODULE}"; then
7476 # By default we will add the -single_module flag. You can override
7477 # by either setting the environment variable LT_MULTI_MODULE
7478 # non-empty at configure time, or by adding -multi_module to the
7480 rm -rf libconftest.dylib*
7481 echo "int foo
(void
){return 1;}" > conftest.c
7482 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7483 -dynamiclib -Wl,-single_module conftest.c
" >&5
7484 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7485 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7487 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7488 lt_cv_apple_cc_single_mod=yes
7490 cat conftest.err >&5
7492 rm -rf libconftest.dylib*
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7499 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7500 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7501 $as_echo_n "(cached
) " >&6
7503 lt_cv_ld_exported_symbols_list=no
7504 save_LDFLAGS=$LDFLAGS
7505 echo "_main
" > conftest.sym
7506 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7518 if ac_fn_c_try_link "$LINENO"; then :
7519 lt_cv_ld_exported_symbols_list=yes
7521 lt_cv_ld_exported_symbols_list=no
7523 rm -f core conftest.err conftest.$ac_objext \
7524 conftest$ac_exeext conftest.$ac_ext
7525 LDFLAGS="$save_LDFLAGS"
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7529 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7531 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7532 if ${lt_cv_ld_force_load+:} false; then :
7533 $as_echo_n "(cached
) " >&6
7535 lt_cv_ld_force_load=no
7536 cat > conftest.c << _LT_EOF
7537 int forced_loaded() { return 2;}
7539 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7540 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7541 echo "$AR cru libconftest.a conftest.o
" >&5
7542 $AR cru libconftest.a conftest.o 2>&5
7543 cat > conftest.c << _LT_EOF
7544 int main() { return 0;}
7546 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7547 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7549 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7550 lt_cv_ld_force_load=yes
7552 cat conftest.err >&5
7554 rm -f conftest.err libconftest.a conftest conftest.c
7555 rm -rf conftest.dSYM
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7559 $as_echo "$lt_cv_ld_force_load" >&6; }
7561 rhapsody* | darwin1.[012])
7562 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565 darwin*) # darwin 5.x on
7566 # if running on 10.5 or later, the deployment target defaults
7567 # to the OS version, if on x86, and 10.4, the deployment
7568 # target defaults to 10.4. Don't you love it?
7569 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7570 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7571 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7575 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7579 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7580 _lt_dar_single_mod='$single_module'
7582 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7583 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7585 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7587 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7588 _lt_dsymutil='~$DSYMUTIL $lib || :'
7595 for ac_header in dlfcn.h
7597 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7599 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7600 cat >>confdefs.h <<_ACEOF
7601 #define HAVE_DLFCN_H 1
7622 # Check whether --enable-static was given.
7623 if test "${enable_static+set}" = set; then :
7624 enableval=$enable_static; p=${PACKAGE-default}
7626 yes) enable_static=yes ;;
7627 no) enable_static=no ;;
7630 # Look at the argument we got. We use all the common list separators.
7631 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7632 for pkg in $enableval; do
7634 if test "X
$pkg" = "X
$p"; then
7654 # Check whether --with-pic was given.
7655 if test "${with_pic+set}" = set; then :
7656 withval=$with_pic; pic_mode="$withval"
7662 test -z "$pic_mode" && pic_mode=default
7670 # Check whether --enable-fast-install was given.
7671 if test "${enable_fast_install+set}" = set; then :
7672 enableval=$enable_fast_install; p=${PACKAGE-default}
7674 yes) enable_fast_install=yes ;;
7675 no) enable_fast_install=no ;;
7677 enable_fast_install=no
7678 # Look at the argument we got. We use all the common list separators.
7679 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7680 for pkg in $enableval; do
7682 if test "X
$pkg" = "X
$p"; then
7683 enable_fast_install=yes
7690 enable_fast_install=yes
7703 # This can be used to rebuild libtool when needed
7704 LIBTOOL_DEPS="$ltmain"
7706 # Always use our own libtool.
7707 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7734 test -z "$LN_S" && LN_S="ln -s"
7749 if test -n "${ZSH_VERSION+set}" ; then
7750 setopt NO_GLOB_SUBST
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7754 $as_echo_n "checking
for objdir...
" >&6; }
7755 if ${lt_cv_objdir+:} false; then :
7756 $as_echo_n "(cached
) " >&6
7758 rm -f .libs 2>/dev/null
7759 mkdir .libs 2>/dev/null
7760 if test -d .libs; then
7763 # MS-DOS does not allow filenames that begin with a dot.
7766 rmdir .libs 2>/dev/null
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7769 $as_echo "$lt_cv_objdir" >&6; }
7770 objdir=$lt_cv_objdir
7776 cat >>confdefs.h <<_ACEOF
7777 #define LT_OBJDIR "$lt_cv_objdir/"
7785 # AIX sometimes has problems with the GCC collect2 program. For some
7786 # reason, if we set the COLLECT_NAMES environment variable, the problems
7787 # vanish in a puff of smoke.
7788 if test "X
${COLLECT_NAMES+set}" != Xset; then
7790 export COLLECT_NAMES
7797 can_build_shared=yes
7799 # All known linkers require a `.a' archive for static linking (except MSVC,
7800 # which needs '.lib').
7803 with_gnu_ld="$lt_cv_prog_gnu_ld"
7806 old_CFLAGS="$CFLAGS"
7808 # Set sane defaults for various variables
7809 test -z "$CC" && CC=cc
7810 test -z "$LTCC" && LTCC=$CC
7811 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7812 test -z "$LD" && LD=ld
7813 test -z "$ac_objext" && ac_objext=o
7815 for cc_temp in $compiler""; do
7817 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7818 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7823 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7826 # Only perform the check for file, if the check method requires it
7827 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7828 case $deplibs_check_method in
7830 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7832 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7833 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7838 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7841 lt_save_MAGIC_CMD="$MAGIC_CMD"
7842 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7843 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7844 for ac_dir in $ac_dummy; do
7846 test -z "$ac_dir" && ac_dir=.
7847 if test -f $ac_dir/${ac_tool_prefix}file; then
7848 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7849 if test -n "$file_magic_test_file"; then
7850 case $deplibs_check_method in
7852 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7853 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7854 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7855 $EGREP "$file_magic_regex" > /dev/null; then
7860 *** Warning: the command libtool uses to detect shared libraries,
7861 *** $file_magic_cmd, produces output that libtool cannot recognize.
7862 *** The result is that libtool may fail to recognize shared libraries
7863 *** as such. This will affect the creation of libtool libraries that
7864 *** depend on shared libraries, but programs linked with such libtool
7865 *** libraries will work regardless of this problem. Nevertheless, you
7866 *** may want to report the problem to your system manager and/or to
7867 *** bug-libtool@gnu.org
7877 MAGIC_CMD="$lt_save_MAGIC_CMD"
7882 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7883 if test -n "$MAGIC_CMD"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7885 $as_echo "$MAGIC_CMD" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7888 $as_echo "no
" >&6; }
7895 if test -z "$lt_cv_path_MAGIC_CMD"; then
7896 if test -n "$ac_tool_prefix"; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7898 $as_echo_n "checking
for file...
" >&6; }
7899 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7900 $as_echo_n "(cached
) " >&6
7904 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7907 lt_save_MAGIC_CMD="$MAGIC_CMD"
7908 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7909 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7910 for ac_dir in $ac_dummy; do
7912 test -z "$ac_dir" && ac_dir=.
7913 if test -f $ac_dir/file; then
7914 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7915 if test -n "$file_magic_test_file"; then
7916 case $deplibs_check_method in
7918 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7919 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7920 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7921 $EGREP "$file_magic_regex" > /dev/null; then
7926 *** Warning: the command libtool uses to detect shared libraries,
7927 *** $file_magic_cmd, produces output that libtool cannot recognize.
7928 *** The result is that libtool may fail to recognize shared libraries
7929 *** as such. This will affect the creation of libtool libraries that
7930 *** depend on shared libraries, but programs linked with such libtool
7931 *** libraries will work regardless of this problem. Nevertheless, you
7932 *** may want to report the problem to your system manager and/or to
7933 *** bug-libtool@gnu.org
7943 MAGIC_CMD="$lt_save_MAGIC_CMD"
7948 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7949 if test -n "$MAGIC_CMD"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7951 $as_echo "$MAGIC_CMD" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7967 # Use C for the default configuration in the libtool script
7971 ac_cpp='$CPP $CPPFLAGS'
7972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7977 # Source file extension for C test sources.
7980 # Object file extension for compiled C test sources.
7984 # Code to be used in simple compile tests
7985 lt_simple_compile_test_code="int some_variable
= 0;"
7987 # Code to be used in simple link tests
7988 lt_simple_link_test_code='int main(){return(0);}'
7996 # If no C compiler was specified, use CC.
7999 # If no C compiler flags were specified, use CFLAGS.
8000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8002 # Allow CC to be a program name with arguments.
8005 # Save the default compiler, since it gets overwritten when the other
8006 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8007 compiler_DEFAULT=$CC
8009 # save warnings/boilerplate of simple test code
8010 ac_outfile=conftest.$ac_objext
8011 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8012 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8013 _lt_compiler_boilerplate=`cat conftest.err`
8016 ac_outfile=conftest.$ac_objext
8017 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8018 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8019 _lt_linker_boilerplate=`cat conftest.err`
8024 ## There is no encapsulation within the following macros, do not change
8025 ## the running order or otherwise move them around unless you know exactly
8026 ## what you are doing...
8027 if test -n "$compiler"; then
8029 lt_prog_compiler_no_builtin_flag=
8031 if test "$GCC" = yes; then
8032 case $cc_basename in
8034 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8036 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8040 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8041 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8042 $as_echo_n "(cached
) " >&6
8044 lt_cv_prog_compiler_rtti_exceptions=no
8045 ac_outfile=conftest.$ac_objext
8046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8047 lt_compiler_flag="-fno-rtti -fno-exceptions"
8048 # Insert the option either (1) after the last *FLAGS variable, or
8049 # (2) before a word containing "conftest.
", or (3) at the end.
8050 # Note that $ac_compile itself does not contain backslashes and begins
8051 # with a dollar sign (not a hyphen), so the echo should work correctly.
8052 # The option is referenced via a variable to avoid confusing sed.
8053 lt_compile=`echo "$ac_compile" | $SED \
8054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8056 -e 's:$: $lt_compiler_flag:'`
8057 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8058 (eval "$lt_compile" 2>conftest.err)
8060 cat conftest.err >&5
8061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8062 if (exit $ac_status) && test -s "$ac_outfile"; then
8063 # The compiler can only warn and ignore the option if not recognized
8064 # So say no if there are warnings other than the usual output.
8065 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8066 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8067 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8068 lt_cv_prog_compiler_rtti_exceptions=yes
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8075 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8077 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8078 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8090 lt_prog_compiler_wl=
8091 lt_prog_compiler_pic=
8092 lt_prog_compiler_static=
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8095 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8097 if test "$GCC" = yes; then
8098 lt_prog_compiler_wl='-Wl,'
8099 lt_prog_compiler_static='-static'
8103 # All AIX code is PIC.
8104 if test "$host_cpu" = ia64; then
8105 # AIX 5 now supports IA64 processor
8106 lt_prog_compiler_static='-Bstatic'
8108 lt_prog_compiler_pic='-fPIC'
8114 # see comment about AmigaOS4 .so support
8115 lt_prog_compiler_pic='-fPIC'
8118 # FIXME: we need at least 68020 code to build shared libraries, but
8119 # adding the `-m68020' flag to GCC prevents building anything better,
8121 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8126 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8127 # PIC is the default for these OSes.
8130 mingw* | cygwin* | pw32* | os2* | cegcc*)
8131 # This hack is so that the source file can tell whether it is being
8132 # built for inclusion in a dll (and should export symbols for example).
8133 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8134 # (--disable-auto-import) libraries
8135 lt_prog_compiler_pic='-DDLL_EXPORT'
8138 darwin* | rhapsody*)
8139 # PIC is the default on this platform
8140 # Common symbols not allowed in MH_DYLIB files
8141 lt_prog_compiler_pic='-fno-common'
8145 # PIC is the default for Haiku.
8146 # The "-static" flag exists, but is broken.
8147 lt_prog_compiler_static=
8151 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8152 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8153 # sets the default TLS model and affects inlining.
8159 lt_prog_compiler_pic='-fPIC'
8165 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8166 # Instead, we relocate shared libraries at runtime.
8170 # Just because we use GCC doesn't mean we suddenly get shared libraries
8171 # on systems that don't support them.
8172 lt_prog_compiler_can_build_shared=no
8177 # QNX uses GNU C++, but need to define -shared option too, otherwise
8179 lt_prog_compiler_pic='-fPIC -shared'
8183 if test -d /usr/nec; then
8184 lt_prog_compiler_pic=-Kconform_pic
8189 lt_prog_compiler_pic='-fPIC'
8193 case $cc_basename in
8194 nvcc*) # Cuda Compiler Driver 2.2
8195 lt_prog_compiler_wl='-Xlinker '
8196 lt_prog_compiler_pic='-Xcompiler -fPIC'
8200 # PORTME Check for flag to pass linker flags through the system compiler.
8203 lt_prog_compiler_wl='-Wl,'
8204 if test "$host_cpu" = ia64; then
8205 # AIX 5 now supports IA64 processor
8206 lt_prog_compiler_static='-Bstatic'
8208 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8212 mingw* | cygwin* | pw32* | os2* | cegcc*)
8213 # This hack is so that the source file can tell whether it is being
8214 # built for inclusion in a dll (and should export symbols for example).
8215 lt_prog_compiler_pic='-DDLL_EXPORT'
8218 hpux9* | hpux10* | hpux11*)
8219 lt_prog_compiler_wl='-Wl,'
8220 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8227 lt_prog_compiler_pic='+Z'
8230 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8231 lt_prog_compiler_static='${wl}-a ${wl}archive'
8234 irix5* | irix6* | nonstopux*)
8235 lt_prog_compiler_wl='-Wl,'
8236 # PIC (with -KPIC) is the default.
8237 lt_prog_compiler_static='-non_shared'
8240 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8241 case $cc_basename in
8242 # old Intel for x86_64 which still supported -KPIC.
8244 lt_prog_compiler_wl='-Wl,'
8245 lt_prog_compiler_pic='-KPIC'
8246 lt_prog_compiler_static='-static'
8248 # icc used to be incompatible with GCC.
8249 # ICC 10 doesn't accept -KPIC any more.
8251 lt_prog_compiler_wl='-Wl,'
8252 lt_prog_compiler_pic='-fPIC'
8253 lt_prog_compiler_static='-static'
8255 # Lahey Fortran 8.1.
8257 lt_prog_compiler_wl='-Wl,'
8258 lt_prog_compiler_pic='--shared'
8259 lt_prog_compiler_static='--static'
8261 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8262 # Portland Group compilers (*not* the Pentium gcc compiler,
8263 # which looks to be a dead project)
8264 lt_prog_compiler_wl='-Wl,'
8265 lt_prog_compiler_pic='-fpic'
8266 lt_prog_compiler_static='-Bstatic'
8269 lt_prog_compiler_wl='-Wl,'
8270 # All Alpha code is PIC.
8271 lt_prog_compiler_static='-non_shared'
8273 xl* | bgxl* | bgf* | mpixl*)
8274 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8275 lt_prog_compiler_wl='-Wl,'
8276 lt_prog_compiler_pic='-qpic'
8277 lt_prog_compiler_static='-qstaticlink'
8280 case `$CC -V 2>&1 | sed 5q` in
8281 *Sun\ F* | *Sun*Fortran*)
8282 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8283 lt_prog_compiler_pic='-KPIC'
8284 lt_prog_compiler_static='-Bstatic'
8285 lt_prog_compiler_wl=''
8289 lt_prog_compiler_pic='-KPIC'
8290 lt_prog_compiler_static='-Bstatic'
8291 lt_prog_compiler_wl='-Wl,'
8299 lt_prog_compiler_pic='-KPIC'
8300 lt_prog_compiler_static='-Bstatic'
8304 # QNX uses GNU C++, but need to define -shared option too, otherwise
8306 lt_prog_compiler_pic='-fPIC -shared'
8309 osf3* | osf4* | osf5*)
8310 lt_prog_compiler_wl='-Wl,'
8311 # All OSF/1 code is PIC.
8312 lt_prog_compiler_static='-non_shared'
8316 lt_prog_compiler_static='-non_shared'
8320 lt_prog_compiler_pic='-KPIC'
8321 lt_prog_compiler_static='-Bstatic'
8322 case $cc_basename in
8324 lt_prog_compiler_wl='-Qoption ld ';;
8326 lt_prog_compiler_wl='-Wl,';;
8331 lt_prog_compiler_wl='-Qoption ld '
8332 lt_prog_compiler_pic='-PIC'
8333 lt_prog_compiler_static='-Bstatic'
8336 sysv4 | sysv4.2uw2* | sysv4.3*)
8337 lt_prog_compiler_wl='-Wl,'
8338 lt_prog_compiler_pic='-KPIC'
8339 lt_prog_compiler_static='-Bstatic'
8343 if test -d /usr/nec ;then
8344 lt_prog_compiler_pic='-Kconform_pic'
8345 lt_prog_compiler_static='-Bstatic'
8349 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8350 lt_prog_compiler_wl='-Wl,'
8351 lt_prog_compiler_pic='-KPIC'
8352 lt_prog_compiler_static='-Bstatic'
8356 lt_prog_compiler_wl='-Wl,'
8357 lt_prog_compiler_can_build_shared=no
8361 lt_prog_compiler_pic='-pic'
8362 lt_prog_compiler_static='-Bstatic'
8366 lt_prog_compiler_can_build_shared=no
8372 # For platforms which do not support PIC, -DPIC is meaningless:
8374 lt_prog_compiler_pic=
8377 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8381 $as_echo "$lt_prog_compiler_pic" >&6; }
8389 # Check to make sure the PIC flag actually works.
8391 if test -n "$lt_prog_compiler_pic"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8393 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8394 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8395 $as_echo_n "(cached
) " >&6
8397 lt_cv_prog_compiler_pic_works=no
8398 ac_outfile=conftest.$ac_objext
8399 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8400 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8401 # Insert the option either (1) after the last *FLAGS variable, or
8402 # (2) before a word containing "conftest.
", or (3) at the end.
8403 # Note that $ac_compile itself does not contain backslashes and begins
8404 # with a dollar sign (not a hyphen), so the echo should work correctly.
8405 # The option is referenced via a variable to avoid confusing sed.
8406 lt_compile=`echo "$ac_compile" | $SED \
8407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8409 -e 's:$: $lt_compiler_flag:'`
8410 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8411 (eval "$lt_compile" 2>conftest.err)
8413 cat conftest.err >&5
8414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8415 if (exit $ac_status) && test -s "$ac_outfile"; then
8416 # The compiler can only warn and ignore the option if not recognized
8417 # So say no if there are warnings other than the usual output.
8418 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8419 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8421 lt_cv_prog_compiler_pic_works=yes
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8428 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8430 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8431 case $lt_prog_compiler_pic in
8433 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8436 lt_prog_compiler_pic=
8437 lt_prog_compiler_can_build_shared=no
8448 # Check to make sure the static flag actually works.
8450 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8452 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8453 if ${lt_cv_prog_compiler_static_works+:} false; then :
8454 $as_echo_n "(cached
) " >&6
8456 lt_cv_prog_compiler_static_works=no
8457 save_LDFLAGS="$LDFLAGS"
8458 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8459 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8460 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8461 # The linker can only warn and ignore the option if not recognized
8462 # So say no if there are warnings
8463 if test -s conftest.err; then
8464 # Append any errors to the config.log.
8465 cat conftest.err 1>&5
8466 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8467 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8468 if diff conftest.exp conftest.er2 >/dev/null; then
8469 lt_cv_prog_compiler_static_works=yes
8472 lt_cv_prog_compiler_static_works=yes
8476 LDFLAGS="$save_LDFLAGS"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8480 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8482 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8485 lt_prog_compiler_static=
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8495 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8496 if ${lt_cv_prog_compiler_c_o+:} false; then :
8497 $as_echo_n "(cached
) " >&6
8499 lt_cv_prog_compiler_c_o=no
8500 $RM -r conftest 2>/dev/null
8504 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8506 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8507 # Insert the option either (1) after the last *FLAGS variable, or
8508 # (2) before a word containing "conftest.
", or (3) at the end.
8509 # Note that $ac_compile itself does not contain backslashes and begins
8510 # with a dollar sign (not a hyphen), so the echo should work correctly.
8511 lt_compile=`echo "$ac_compile" | $SED \
8512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8514 -e 's:$: $lt_compiler_flag:'`
8515 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8516 (eval "$lt_compile" 2>out/conftest.err)
8518 cat out/conftest.err >&5
8519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8520 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8522 # The compiler can only warn and ignore the option if not recognized
8523 # So say no if there are warnings
8524 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8525 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8526 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8527 lt_cv_prog_compiler_c_o=yes
8532 # SGI C++ compiler will create directory out/ii_files/ for
8533 # template instantiation
8534 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8535 $RM out/* && rmdir out
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8542 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8550 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8551 if ${lt_cv_prog_compiler_c_o+:} false; then :
8552 $as_echo_n "(cached
) " >&6
8554 lt_cv_prog_compiler_c_o=no
8555 $RM -r conftest 2>/dev/null
8559 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8561 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8562 # Insert the option either (1) after the last *FLAGS variable, or
8563 # (2) before a word containing "conftest.
", or (3) at the end.
8564 # Note that $ac_compile itself does not contain backslashes and begins
8565 # with a dollar sign (not a hyphen), so the echo should work correctly.
8566 lt_compile=`echo "$ac_compile" | $SED \
8567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8569 -e 's:$: $lt_compiler_flag:'`
8570 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8571 (eval "$lt_compile" 2>out/conftest.err)
8573 cat out/conftest.err >&5
8574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8575 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8577 # The compiler can only warn and ignore the option if not recognized
8578 # So say no if there are warnings
8579 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8580 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8581 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8582 lt_cv_prog_compiler_c_o=yes
8587 # SGI C++ compiler will create directory out/ii_files/ for
8588 # template instantiation
8589 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8590 $RM out/* && rmdir out
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8597 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8602 hard_links="nottested
"
8603 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8604 # do not overwrite the value of need_locks provided by the user
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8606 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8609 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8611 ln conftest.a conftest.b 2>&5 || hard_links=no
8612 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8614 $as_echo "$hard_links" >&6; }
8615 if test "$hard_links" = no; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8617 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8630 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8633 allow_undefined_flag=
8634 always_export_symbols=no
8636 archive_expsym_cmds=
8637 compiler_needs_object=no
8638 enable_shared_with_static_runtimes=no
8639 export_dynamic_flag_spec=
8640 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8641 hardcode_automatic=no
8643 hardcode_direct_absolute=no
8644 hardcode_libdir_flag_spec=
8645 hardcode_libdir_flag_spec_ld=
8646 hardcode_libdir_separator=
8648 hardcode_shlibpath_var=unsupported
8650 link_all_deplibs=unknown
8653 old_archive_from_new_cmds=
8654 old_archive_from_expsyms_cmds=
8655 thread_safe_flag_spec=
8656 whole_archive_flag_spec=
8657 # include_expsyms should be a list of space-separated symbols to be *always*
8658 # included in the symbol list
8660 # exclude_expsyms can be an extended regexp of symbols to exclude
8661 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8662 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8663 # as well as any symbol that contains `d'.
8664 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8665 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8666 # platforms (ab)use it in PIC code, but their linkers get confused if
8667 # the symbol is explicitly referenced. Since portable code cannot
8668 # rely on this symbol name, it's probably fine to never include it in
8669 # preloaded symbol tables.
8670 # Exclude shared library initialization/finalization symbols.
8671 extract_expsyms_cmds=
8674 cygwin* | mingw* | pw32* | cegcc*)
8675 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8676 # When not using gcc, we currently assume that we are using
8677 # Microsoft Visual C++.
8678 if test "$GCC" != yes; then
8683 # we just hope/assume this is gcc and not c89 (= MSVC++)
8693 # On some targets, GNU ld is compatible enough with the native linker
8694 # that we're better off using the native interface for both.
8695 lt_use_gnu_ld_interface=no
8696 if test "$with_gnu_ld" = yes; then
8699 # The AIX port of GNU ld has always aspired to compatibility
8700 # with the native linker. However, as the warning in the GNU ld
8701 # block says, versions before 2.19.5* couldn't really create working
8702 # shared libraries, regardless of the interface used.
8703 case `$LD -v 2>&1` in
8704 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8705 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8706 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8708 lt_use_gnu_ld_interface=yes
8713 lt_use_gnu_ld_interface=yes
8718 if test "$lt_use_gnu_ld_interface" = yes; then
8719 # If archive_cmds runs LD, not CC, wlarc should be empty
8722 # Set some defaults for GNU ld with shared library support. These
8723 # are reset later if shared libraries are not supported. Putting them
8724 # here allows them to be overridden if necessary.
8725 runpath_var=LD_RUN_PATH
8726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8727 export_dynamic_flag_spec='${wl}--export-dynamic'
8728 # ancient GNU ld didn't support --whole-archive et. al.
8729 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8730 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8732 whole_archive_flag_spec=
8734 supports_anon_versioning=no
8735 case `$LD -v 2>&1` in
8736 *GNU\ gold*) supports_anon_versioning=yes ;;
8737 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8738 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8739 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8740 *\ 2.11.*) ;; # other 2.11 versions
8741 *) supports_anon_versioning=yes ;;
8744 # See if GNU ld supports shared libraries.
8747 # On AIX/PPC, the GNU linker is very broken
8748 if test "$host_cpu" != ia64; then
8752 *** Warning: the GNU linker, at least up to release 2.19, is reported
8753 *** to be unable to reliably create shared libraries on AIX.
8754 *** Therefore, libtool is disabling shared libraries support. If you
8755 *** really care for shared libraries, you may want to install binutils
8756 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8757 *** You will then need to restart the configuration process.
8766 # see comment about AmigaOS4 .so support
8767 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8768 archive_expsym_cmds=''
8771 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)'
8772 hardcode_libdir_flag_spec
='-L$libdir'
8773 hardcode_minus_L
=yes
8779 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8780 allow_undefined_flag
=unsupported
8781 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8782 # support --undefined. This deserves some investigation. FIXME
8783 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8789 cygwin
* | mingw
* | pw32
* | cegcc
*)
8790 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8791 # as there is no search path for DLLs.
8792 hardcode_libdir_flag_spec
='-L$libdir'
8793 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8794 allow_undefined_flag
=unsupported
8795 always_export_symbols
=no
8796 enable_shared_with_static_runtimes
=yes
8797 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8799 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8800 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8801 # If the export-symbols file already is a .def file (1st line
8802 # is EXPORTS), use it as is; otherwise, prepend...
8803 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8804 cp $export_symbols $output_objdir/$soname.def;
8806 echo EXPORTS > $output_objdir/$soname.def;
8807 cat $export_symbols >> $output_objdir/$soname.def;
8809 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8817 link_all_deplibs
=yes
8822 hardcode_shlibpath_var
=no
8823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8824 export_dynamic_flag_spec
='${wl}-E'
8825 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8826 # Instead, shared libraries are loaded at an image base (0x10000000 by
8827 # default) and relocated if they conflict, which is a slow very memory
8828 # consuming and fragmenting process. To avoid this, we pick a random,
8829 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8830 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8831 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8832 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'
8835 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8837 if test "$host_os" = linux-dietlibc
; then
8838 case $cc_basename in
8839 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8842 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8843 && test "$tmp_diet" = no
8845 tmp_addflag
=' $pic_flag'
8846 tmp_sharedflag
='-shared'
8847 case $cc_basename,$host_cpu in
8848 pgcc
*) # Portland Group C compiler
8849 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'
8850 tmp_addflag
=' $pic_flag'
8852 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8853 # Portland Group f77 and f90 compilers
8854 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'
8855 tmp_addflag
=' $pic_flag -Mnomain' ;;
8856 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8857 tmp_addflag
=' -i_dynamic' ;;
8858 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8859 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8860 ifc
* | ifort
*) # Intel Fortran compiler
8861 tmp_addflag
=' -nofor_main' ;;
8862 lf95
*) # Lahey Fortran 8.1
8863 whole_archive_flag_spec
=
8864 tmp_sharedflag
='--shared' ;;
8865 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8866 tmp_sharedflag
='-qmkshrobj'
8868 nvcc
*) # Cuda Compiler Driver 2.2
8869 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'
8870 compiler_needs_object
=yes
8873 case `$CC -V 2>&1 | sed 5q` in
8874 *Sun\ C
*) # Sun C 5.9
8875 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'
8876 compiler_needs_object
=yes
8877 tmp_sharedflag
='-G' ;;
8878 *Sun\ F
*) # Sun Fortran 8.3
8879 tmp_sharedflag
='-G' ;;
8881 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 if test "x$supports_anon_versioning" = xyes
; then
8884 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8885 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8886 echo "local: *; };" >> $output_objdir/$libname.ver~
8887 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8890 case $cc_basename in
8891 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8892 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8893 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8894 hardcode_libdir_flag_spec
=
8895 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8896 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8897 if test "x$supports_anon_versioning" = xyes
; then
8898 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8899 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8900 echo "local: *; };" >> $output_objdir/$libname.ver~
8901 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8911 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8912 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8915 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8916 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8921 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8925 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8926 *** create shared libraries on Solaris systems. Therefore, libtool
8927 *** is disabling shared libraries support. We urge you to upgrade GNU
8928 *** binutils to release 2.9.1 or newer. Another option is to modify
8929 *** your PATH or compiler configuration so that the native linker is
8930 *** used, and then restart.
8933 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8934 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8941 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8942 case `$LD -v 2>&1` in
8943 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8947 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8948 *** reliably create shared libraries on SCO systems. Therefore, libtool
8949 *** is disabling shared libraries support. We urge you to upgrade GNU
8950 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8951 *** your PATH or compiler configuration so that the native linker is
8952 *** used, and then restart.
8957 # For security reasons, it is highly recommended that you always
8958 # use absolute paths for naming shared libraries, and exclude the
8959 # DT_RUNPATH tag from executables and libraries. But doing so
8960 # requires that you compile everything twice, which is a pain.
8961 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8962 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8964 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8973 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8976 hardcode_shlibpath_var
=no
8980 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8989 if test "$ld_shlibs" = no
; then
8991 hardcode_libdir_flag_spec
=
8992 export_dynamic_flag_spec
=
8993 whole_archive_flag_spec
=
8996 # PORTME fill in a description of your system's linker (not GNU ld)
8999 allow_undefined_flag
=unsupported
9000 always_export_symbols
=yes
9001 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'
9002 # Note: this linker hardcodes the directories in LIBPATH if there
9003 # are no directories specified by -L.
9004 hardcode_minus_L
=yes
9005 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9006 # Neither direct hardcoding nor static linking is supported with a
9008 hardcode_direct
=unsupported
9013 if test "$host_cpu" = ia64
; then
9014 # On IA64, the linker does run time linking by default, so we don't
9015 # have to do anything special.
9016 aix_use_runtimelinking
=no
9017 exp_sym_flag
='-Bexport'
9020 # If we're using GNU nm, then we don't want the "-C" option.
9021 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9022 # Also, AIX nm treats weak defined symbols like other global
9023 # defined symbols, whereas GNU nm marks them as "W".
9024 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9025 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'
9027 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'
9029 aix_use_runtimelinking
=no
9031 # Test if we are trying to use run time linking or normal
9032 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9033 # need to do runtime linking.
9034 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9035 for ld_flag
in $LDFLAGS; do
9036 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9037 aix_use_runtimelinking
=yes
9044 exp_sym_flag
='-bexport'
9045 no_entry_flag
='-bnoentry'
9048 # When large executables or shared objects are built, AIX ld can
9049 # have problems creating the table of contents. If linking a library
9050 # or program results in "error TOC overflow" add -mminimal-toc to
9051 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9052 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9056 hardcode_direct_absolute
=yes
9057 hardcode_libdir_separator
=':'
9058 link_all_deplibs
=yes
9059 file_list_spec
='${wl}-f,'
9061 if test "$GCC" = yes; then
9062 case $host_os in aix4.
[012]|aix4.
[012].
*)
9063 # We only want to do this on AIX 4.2 and lower, the check
9064 # below for broken collect2 doesn't work under 4.3+
9065 collect2name
=`${CC} -print-prog-name=collect2`
9066 if test -f "$collect2name" &&
9067 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9069 # We have reworked collect2
9072 # We have old collect2
9073 hardcode_direct
=unsupported
9074 # It fails to find uninstalled libraries when the uninstalled
9075 # path is not listed in the libpath. Setting hardcode_minus_L
9076 # to unsupported forces relinking
9077 hardcode_minus_L
=yes
9078 hardcode_libdir_flag_spec
='-L$libdir'
9079 hardcode_libdir_separator
=
9083 shared_flag
='-shared'
9084 if test "$aix_use_runtimelinking" = yes; then
9085 shared_flag
="$shared_flag "'${wl}-G'
9089 if test "$host_cpu" = ia64
; then
9090 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9091 # chokes on -Wl,-G. The following line is correct:
9094 if test "$aix_use_runtimelinking" = yes; then
9095 shared_flag
='${wl}-G'
9097 shared_flag
='${wl}-bM:SRE'
9102 export_dynamic_flag_spec
='${wl}-bexpall'
9103 # It seems that -bexpall does not export symbols beginning with
9104 # underscore (_), so it is better to generate a list of symbols to export.
9105 always_export_symbols
=yes
9106 if test "$aix_use_runtimelinking" = yes; then
9107 # Warning - without using the other runtime loading flags (-brtl),
9108 # -berok will link without error, but may produce a broken library.
9109 allow_undefined_flag
='-berok'
9110 # Determine the default libpath from the value encoded in an
9112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9123 if ac_fn_c_try_link
"$LINENO"; then :
9125 lt_aix_libpath_sed
='
9126 /Import File Strings/,/^$/ {
9132 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9133 # Check for a 64-bit object if we didn't find anything.
9134 if test -z "$aix_libpath"; then
9135 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9138 rm -f core conftest.err conftest.
$ac_objext \
9139 conftest
$ac_exeext conftest.
$ac_ext
9140 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9142 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9143 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"
9145 if test "$host_cpu" = ia64
; then
9146 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9147 allow_undefined_flag
="-z nodefs"
9148 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"
9150 # Determine the default libpath from the value encoded in an
9152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9163 if ac_fn_c_try_link
"$LINENO"; then :
9165 lt_aix_libpath_sed
='
9166 /Import File Strings/,/^$/ {
9172 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9173 # Check for a 64-bit object if we didn't find anything.
9174 if test -z "$aix_libpath"; then
9175 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9178 rm -f core conftest.err conftest.
$ac_objext \
9179 conftest
$ac_exeext conftest.
$ac_ext
9180 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9182 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9183 # Warning - without using the other run time loading flags,
9184 # -berok will link without error, but may produce a broken library.
9185 no_undefined_flag
=' ${wl}-bernotok'
9186 allow_undefined_flag
=' ${wl}-berok'
9187 if test "$with_gnu_ld" = yes; then
9188 # We only use this code for GNU lds that support --whole-archive.
9189 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9191 # Exported symbols can be pulled into shared objects from archives
9192 whole_archive_flag_spec
='$convenience'
9194 archive_cmds_need_lc
=yes
9195 # This is similar to how AIX traditionally builds its shared libraries.
9196 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'
9204 # see comment about AmigaOS4 .so support
9205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206 archive_expsym_cmds
=''
9209 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)'
9210 hardcode_libdir_flag_spec
='-L$libdir'
9211 hardcode_minus_L
=yes
9217 export_dynamic_flag_spec
=-rdynamic
9220 cygwin
* | mingw
* | pw32
* | cegcc
*)
9221 # When not using gcc, we currently assume that we are using
9222 # Microsoft Visual C++.
9223 # hardcode_libdir_flag_spec is actually meaningless, as there is
9224 # no search path for DLLs.
9225 hardcode_libdir_flag_spec
=' '
9226 allow_undefined_flag
=unsupported
9227 # Tell ltmain to make .lib files, not .a files.
9229 # Tell ltmain to make .dll files, not .so files.
9231 # FIXME: Setting linknames here is a bad hack.
9232 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9233 # The linker will automatically build a .lib file if we build a DLL.
9234 old_archive_from_new_cmds
='true'
9235 # FIXME: Should let the user specify the lib program.
9236 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9237 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9238 enable_shared_with_static_runtimes
=yes
9241 darwin
* | rhapsody
*)
9244 archive_cmds_need_lc
=no
9246 hardcode_automatic
=yes
9247 hardcode_shlibpath_var
=unsupported
9248 if test "$lt_cv_ld_force_load" = "yes"; then
9249 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\"`'
9251 whole_archive_flag_spec
=''
9253 link_all_deplibs
=yes
9254 allow_undefined_flag
="$_lt_dar_allow_undefined"
9255 case $cc_basename in
9256 ifort
*) _lt_dar_can_shared
=yes ;;
9257 *) _lt_dar_can_shared
=$GCC ;;
9259 if test "$_lt_dar_can_shared" = "yes"; then
9260 output_verbose_link_cmd
=func_echo_all
9261 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9262 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9263 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}"
9264 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}"
9273 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9274 hardcode_libdir_flag_spec
='-L$libdir'
9275 hardcode_shlibpath_var
=no
9278 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9279 # support. Future versions do this automatically, but an explicit c++rt0.o
9280 # does not break anything, and helps significantly (at the cost of a little
9283 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9284 hardcode_libdir_flag_spec
='-R$libdir'
9286 hardcode_shlibpath_var
=no
9289 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9291 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293 hardcode_minus_L
=yes
9294 hardcode_shlibpath_var
=no
9297 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9298 freebsd
* | dragonfly
*)
9299 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9300 hardcode_libdir_flag_spec
='-R$libdir'
9302 hardcode_shlibpath_var
=no
9306 if test "$GCC" = yes; then
9307 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'
9309 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'
9311 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9312 hardcode_libdir_separator
=:
9315 # hardcode_minus_L: Not really in the search PATH,
9316 # but as the default location of the library.
9317 hardcode_minus_L
=yes
9318 export_dynamic_flag_spec
='${wl}-E'
9322 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9323 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9327 if test "$with_gnu_ld" = no
; then
9328 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9329 hardcode_libdir_flag_spec_ld
='+b $libdir'
9330 hardcode_libdir_separator
=:
9332 hardcode_direct_absolute
=yes
9333 export_dynamic_flag_spec
='${wl}-E'
9334 # hardcode_minus_L: Not really in the search PATH,
9335 # but as the default location of the library.
9336 hardcode_minus_L
=yes
9341 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9344 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9350 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9363 # Older versions of the 11.00 compiler do not understand -b yet
9364 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9366 $as_echo_n "checking if $CC understands -b... " >&6; }
9367 if ${lt_cv_prog_compiler__b+:} false
; then :
9368 $as_echo_n "(cached) " >&6
9370 lt_cv_prog_compiler__b
=no
9371 save_LDFLAGS
="$LDFLAGS"
9372 LDFLAGS
="$LDFLAGS -b"
9373 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9374 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9375 # The linker can only warn and ignore the option if not recognized
9376 # So say no if there are warnings
9377 if test -s conftest.err
; then
9378 # Append any errors to the config.log.
9379 cat conftest.err
1>&5
9380 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9381 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9382 if diff conftest.exp conftest.er2
>/dev
/null
; then
9383 lt_cv_prog_compiler__b
=yes
9386 lt_cv_prog_compiler__b
=yes
9390 LDFLAGS
="$save_LDFLAGS"
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9394 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9396 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9397 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9405 if test "$with_gnu_ld" = no
; then
9406 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9407 hardcode_libdir_separator
=:
9412 hardcode_shlibpath_var
=no
9416 hardcode_direct_absolute
=yes
9417 export_dynamic_flag_spec
='${wl}-E'
9419 # hardcode_minus_L: Not really in the search PATH,
9420 # but as the default location of the library.
9421 hardcode_minus_L
=yes
9427 irix5
* | irix6
* | nonstopux
*)
9428 if test "$GCC" = yes; then
9429 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'
9430 # Try to use the -exported_symbol ld option, if it does not
9431 # work, assume that -exports_file does not work either and
9432 # implicitly export all symbols.
9433 save_LDFLAGS
="$LDFLAGS"
9434 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9439 if ac_fn_c_try_link
"$LINENO"; then :
9440 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'
9443 rm -f core conftest.err conftest.
$ac_objext \
9444 conftest
$ac_exeext conftest.
$ac_ext
9445 LDFLAGS
="$save_LDFLAGS"
9447 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'
9448 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'
9450 archive_cmds_need_lc
='no'
9451 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9452 hardcode_libdir_separator
=:
9454 link_all_deplibs
=yes
9458 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9459 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9461 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9463 hardcode_libdir_flag_spec
='-R$libdir'
9465 hardcode_shlibpath_var
=no
9469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9472 hardcode_libdir_separator
=:
9473 hardcode_shlibpath_var
=no
9480 if test -f /usr
/libexec
/ld.so
; then
9482 hardcode_shlibpath_var
=no
9483 hardcode_direct_absolute
=yes
9484 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9485 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9486 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9487 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9488 export_dynamic_flag_spec
='${wl}-E'
9491 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9492 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9493 hardcode_libdir_flag_spec
='-R$libdir'
9496 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9497 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9507 hardcode_libdir_flag_spec
='-L$libdir'
9508 hardcode_minus_L
=yes
9509 allow_undefined_flag
=unsupported
9510 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'
9511 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9515 if test "$GCC" = yes; then
9516 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9517 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'
9519 allow_undefined_flag
=' -expect_unresolved \*'
9520 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'
9522 archive_cmds_need_lc
='no'
9523 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9524 hardcode_libdir_separator
=:
9527 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9528 if test "$GCC" = yes; then
9529 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9530 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'
9531 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9533 allow_undefined_flag
=' -expect_unresolved \*'
9534 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'
9535 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~
9536 $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'
9538 # Both c and cxx compiler support -rpath directly
9539 hardcode_libdir_flag_spec
='-rpath $libdir'
9541 archive_cmds_need_lc
='no'
9542 hardcode_libdir_separator
=:
9546 no_undefined_flag
=' -z defs'
9547 if test "$GCC" = yes; then
9549 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9551 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9553 case `$CC -V 2>&1` in
9556 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9558 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9562 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9563 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9564 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9568 hardcode_libdir_flag_spec
='-R$libdir'
9569 hardcode_shlibpath_var
=no
9571 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9573 # The compiler driver will combine and reorder linker options,
9574 # but understands `-z linker_flag'. GCC discards it without `$wl',
9575 # but is careful enough not to reorder.
9576 # Supported since Solaris 2.6 (maybe 2.5.1?)
9577 if test "$GCC" = yes; then
9578 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9580 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9584 link_all_deplibs
=yes
9588 if test "x$host_vendor" = xsequent
; then
9589 # Use $CC to link under sequent, because it throws in some extra .o
9590 # files that make .init and .fini sections work.
9591 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9595 hardcode_libdir_flag_spec
='-L$libdir'
9597 hardcode_minus_L
=yes
9598 hardcode_shlibpath_var
=no
9602 case $host_vendor in
9604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 hardcode_direct
=yes # is this really true???
9608 ## LD is ld it makes a PLAMLIB
9609 ## CC just makes a GrossModule.
9610 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9611 reload_cmds
='$CC -r -o $output$reload_objs'
9615 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9616 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9619 runpath_var
='LD_RUN_PATH'
9620 hardcode_shlibpath_var
=no
9624 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_shlibpath_var
=no
9626 export_dynamic_flag_spec
='-Bexport'
9630 if test -d /usr
/nec
; then
9631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_shlibpath_var
=no
9633 runpath_var
=LD_RUN_PATH
9634 hardcode_runpath_var
=yes
9639 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9640 no_undefined_flag
='${wl}-z,text'
9641 archive_cmds_need_lc
=no
9642 hardcode_shlibpath_var
=no
9643 runpath_var
='LD_RUN_PATH'
9645 if test "$GCC" = yes; then
9646 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9650 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9654 sysv5
* | sco3.2v5
* | sco5v6
*)
9655 # Note: We can NOT use -z defs as we might desire, because we do not
9656 # link with -lc, and that would cause any symbols used from libc to
9657 # always be unresolved, which means just about no library would
9658 # ever link correctly. If we're not using GNU ld we use -z text
9659 # though, which does catch some bad symbols but isn't as heavy-handed
9661 no_undefined_flag
='${wl}-z,text'
9662 allow_undefined_flag
='${wl}-z,nodefs'
9663 archive_cmds_need_lc
=no
9664 hardcode_shlibpath_var
=no
9665 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9666 hardcode_libdir_separator
=':'
9667 link_all_deplibs
=yes
9668 export_dynamic_flag_spec
='${wl}-Bexport'
9669 runpath_var
='LD_RUN_PATH'
9671 if test "$GCC" = yes; then
9672 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_libdir_flag_spec
='-L$libdir'
9683 hardcode_shlibpath_var
=no
9691 if test x
$host_vendor = xsni
; then
9693 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9694 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9701 $as_echo "$ld_shlibs" >&6; }
9702 test "$ld_shlibs" = no
&& can_build_shared
=no
9704 with_gnu_ld
=$with_gnu_ld
9721 # Do we need to explicitly link libc?
9723 case "x$archive_cmds_need_lc" in
9725 # Assume -lc should be added
9726 archive_cmds_need_lc
=yes
9728 if test "$enable_shared" = yes && test "$GCC" = yes; then
9729 case $archive_cmds in
9731 # FIXME: we may have to deal with multi-command sequences.
9734 # Test whether the compiler implicitly links with -lc since on some
9735 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9736 # to ld, don't add -lc before -lgcc.
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9738 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9739 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9743 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9746 (eval $ac_compile) 2>&5
9748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9749 test $ac_status = 0; } 2>conftest.err
; then
9752 libobjs
=conftest.
$ac_objext
9754 wl
=$lt_prog_compiler_wl
9755 pic_flag
=$lt_prog_compiler_pic
9761 lt_save_allow_undefined_flag
=$allow_undefined_flag
9762 allow_undefined_flag
=
9763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9764 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9767 test $ac_status = 0; }
9769 lt_cv_archive_cmds_need_lc
=no
9771 lt_cv_archive_cmds_need_lc
=yes
9773 allow_undefined_flag
=$lt_save_allow_undefined_flag
9775 cat conftest.err
1>&5
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9781 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9782 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9946 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9948 if test "$GCC" = yes; then
9950 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9951 *) lt_awk_arg
="/^libraries:/" ;;
9954 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9955 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9957 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9958 case $lt_search_path_spec in
9960 # if the path contains ";" then we assume it to be the separator
9961 # otherwise default to the standard path separator (i.e. ":") - it is
9962 # assumed that no part of a normal pathname contains ";" but that should
9963 # okay in the real world where ";" in dirpaths is itself problematic.
9964 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9967 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9970 # Ok, now we have the path, separated by spaces, we can step through it
9971 # and add multilib dir if necessary.
9972 lt_tmp_lt_search_path_spec
=
9973 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9974 for lt_sys_path
in $lt_search_path_spec; do
9975 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9976 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9978 test -d "$lt_sys_path" && \
9979 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9982 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9983 BEGIN {RS=" "; FS="/|\n";} {
9986 for (lt_i = NF; lt_i > 0; lt_i--) {
9987 if ($lt_i != "" && $lt_i != ".") {
9988 if ($lt_i == "..") {
9991 if (lt_count == 0) {
9992 lt_foo="/" $lt_i lt_foo;
9999 if (lt_foo != "") { lt_freq[lt_foo]++; }
10000 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10002 # AWK program above erroneously prepends '/' to C:/dos/paths
10005 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10006 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10008 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10010 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10012 library_names_spec
=
10013 libname_spec
='lib$name'
10017 postuninstall_cmds
=
10021 shlibpath_overrides_runpath
=unknown
10023 dynamic_linker
="$host_os ld.so"
10024 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10025 need_lib_prefix
=unknown
10026 hardcode_into_libs
=no
10028 # when you set need_version to no, make sure it does not cause -set_version
10029 # flags to be left without arguments
10030 need_version
=unknown
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10036 shlibpath_var
=LIBPATH
10038 # AIX 3 has no versioning support, so we append a major version to the name.
10039 soname_spec
='${libname}${release}${shared_ext}$major'
10046 hardcode_into_libs
=yes
10047 if test "$host_cpu" = ia64
; then
10048 # AIX 5 supports IA64
10049 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10050 shlibpath_var
=LD_LIBRARY_PATH
10052 # With GCC up to 2.95.x, collect2 would create an import file
10053 # for dependence libraries. The import file would start with
10054 # the line `#! .'. This would cause the generated library to
10055 # depend on `.', always an invalid library. This was fixed in
10056 # development snapshots of GCC prior to 3.0.
10058 aix4 | aix4.
[01] | aix4.
[01].
*)
10059 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10061 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10064 can_build_shared
=no
10068 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10069 # soname into executable. Probably we can add versioning support to
10070 # collect2, so additional links can be useful in future.
10071 if test "$aix_use_runtimelinking" = yes; then
10072 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10073 # instead of lib<name>.a to let people know that these are not
10074 # typical AIX shared libraries.
10075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10077 # We preserve .a as extension for shared libraries through AIX4.2
10078 # and later when we are not doing run time linking.
10079 library_names_spec
='${libname}${release}.a $libname.a'
10080 soname_spec
='${libname}${release}${shared_ext}$major'
10082 shlibpath_var
=LIBPATH
10089 # Since July 2007 AmigaOS4 officially supports .so libraries.
10090 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10094 library_names_spec
='$libname.ixlibrary $libname.a'
10095 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10096 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'
10102 library_names_spec
='${libname}${shared_ext}'
10103 dynamic_linker
="$host_os ld.so"
10104 shlibpath_var
=LIBRARY_PATH
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec
='${libname}${release}${shared_ext}$major'
10112 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10113 shlibpath_var
=LD_LIBRARY_PATH
10114 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10115 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10116 # the default ld.so.conf also contains /usr/contrib/lib and
10117 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10118 # libtool to hard-code these into programs
10121 cygwin
* | mingw
* | pw32
* | cegcc
*)
10122 version_type
=windows
10127 case $GCC,$host_os in
10128 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10129 library_names_spec
='$libname.dll.a'
10130 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10131 postinstall_cmds
='base_file=`basename \${file}`~
10132 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10133 dldir=$destdir/`dirname \$dlpath`~
10134 test -d \$dldir || mkdir -p \$dldir~
10135 $install_prog $dir/$dlname \$dldir/$dlname~
10136 chmod a+x \$dldir/$dlname~
10137 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10138 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10140 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10141 dlpath=$dir/\$dldll~
10143 shlibpath_overrides_runpath
=yes
10147 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10148 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10150 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10153 # MinGW DLLs use traditional 'lib' prefix
10154 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10157 # pw32 DLLs use 'pw' prefix rather than 'lib'
10158 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10164 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10167 dynamic_linker
='Win32 ld.exe'
10168 # FIXME: first we should search . and the directory the executable is in
10172 darwin
* | rhapsody
*)
10173 dynamic_linker
="$host_os dyld"
10174 version_type
=darwin
10177 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10178 soname_spec
='${libname}${release}${major}$shared_ext'
10179 shlibpath_overrides_runpath
=yes
10180 shlibpath_var
=DYLD_LIBRARY_PATH
10181 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10183 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10184 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10192 soname_spec
='${libname}${release}${shared_ext}$major'
10193 shlibpath_var
=LD_LIBRARY_PATH
10196 freebsd
* | dragonfly
*)
10197 # DragonFly does not have aout. When/if they implement a new
10198 # versioning mechanism, adjust this.
10199 if test -x /usr
/bin
/objformat
; then
10200 objformat
=`/usr/bin/objformat`
10203 freebsd
[23].
*) objformat
=aout
;;
10204 *) objformat
=elf
;;
10207 version_type
=freebsd-
$objformat
10208 case $version_type in
10210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10215 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10219 shlibpath_var
=LD_LIBRARY_PATH
10222 shlibpath_overrides_runpath
=yes
10224 freebsd3.
[01]* | freebsdelf3.
[01]*)
10225 shlibpath_overrides_runpath
=yes
10226 hardcode_into_libs
=yes
10228 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10229 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10230 shlibpath_overrides_runpath
=no
10231 hardcode_into_libs
=yes
10233 *) # from 4.6 on, and DragonFly
10234 shlibpath_overrides_runpath
=yes
10235 hardcode_into_libs
=yes
10244 dynamic_linker
="$host_os runtime_loader"
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10246 soname_spec
='${libname}${release}${shared_ext}$major'
10247 shlibpath_var
=LIBRARY_PATH
10248 shlibpath_overrides_runpath
=yes
10249 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10250 hardcode_into_libs
=yes
10253 hpux9
* | hpux10
* | hpux11
*)
10254 # Give a soname corresponding to the major version so that dld.sl refuses to
10255 # link against other versions.
10262 hardcode_into_libs
=yes
10263 dynamic_linker
="$host_os dld.so"
10264 shlibpath_var
=LD_LIBRARY_PATH
10265 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267 soname_spec
='${libname}${release}${shared_ext}$major'
10268 if test "X$HPUX_IA64_MODE" = X32
; then
10269 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10271 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10273 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10277 hardcode_into_libs
=yes
10278 dynamic_linker
="$host_os dld.sl"
10279 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10280 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10282 soname_spec
='${libname}${release}${shared_ext}$major'
10283 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10284 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10288 dynamic_linker
="$host_os dld.sl"
10289 shlibpath_var
=SHLIB_PATH
10290 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 soname_spec
='${libname}${release}${shared_ext}$major'
10295 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10296 postinstall_cmds
='chmod 555 $lib'
10297 # or fails outright, so override atomically:
10298 install_override_mode
=555
10305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10306 soname_spec
='${libname}${release}${shared_ext}$major'
10307 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10308 shlibpath_var
=LD_LIBRARY_PATH
10309 shlibpath_overrides_runpath
=no
10310 hardcode_into_libs
=yes
10313 irix5
* | irix6
* | nonstopux
*)
10315 nonstopux
*) version_type
=nonstopux
;;
10317 if test "$lt_cv_prog_gnu_ld" = yes; then
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10328 irix5
* | nonstopux
*)
10329 libsuff
= shlibsuff
=
10332 case $LD in # libtool.m4 will add one of these switches to LD
10333 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10334 libsuff
= shlibsuff
= libmagic
=32-bit;;
10335 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10336 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10337 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10338 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10339 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10343 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10344 shlibpath_overrides_runpath
=no
10345 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10346 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10347 hardcode_into_libs
=yes
10350 # No shared lib support for Linux oldld, aout, or coff.
10351 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10355 # This must be Linux ELF.
10356 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10363 shlibpath_var
=LD_LIBRARY_PATH
10364 shlibpath_overrides_runpath
=no
10366 # Some binutils ld are patched to set DT_RUNPATH
10367 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10368 $as_echo_n "(cached) " >&6
10370 lt_cv_shlibpath_overrides_runpath
=no
10371 save_LDFLAGS
=$LDFLAGS
10372 save_libdir
=$libdir
10373 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10374 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10386 if ac_fn_c_try_link
"$LINENO"; then :
10387 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10388 lt_cv_shlibpath_overrides_runpath
=yes
10391 rm -f core conftest.err conftest.
$ac_objext \
10392 conftest
$ac_exeext conftest.
$ac_ext
10393 LDFLAGS
=$save_LDFLAGS
10394 libdir
=$save_libdir
10398 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10400 # This implies no fast_install, which is unacceptable.
10401 # Some rework will be needed to allow for fast_install
10402 # before this can be enabled.
10403 hardcode_into_libs
=yes
10405 # Append ld.so.conf contents to the search path
10406 if test -f /etc
/ld.so.conf
; then
10407 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' ' '`
10408 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10411 # We used to test for /lib/ld.so.1 and disable shared libraries on
10412 # powerpc, because MkLinux only supported shared libraries with the
10413 # GNU dynamic linker. Since this was broken with cross compilers,
10414 # most powerpc-linux boxes support dynamic linking these days and
10415 # people can always --disable-shared, the test was removed, and we
10416 # assume the GNU/Linux dynamic linker is in use.
10417 dynamic_linker
='GNU/Linux ld.so'
10424 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10426 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10427 dynamic_linker
='NetBSD (a.out) ld.so'
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10430 soname_spec
='${libname}${release}${shared_ext}$major'
10431 dynamic_linker
='NetBSD ld.elf_so'
10433 shlibpath_var
=LD_LIBRARY_PATH
10434 shlibpath_overrides_runpath
=yes
10435 hardcode_into_libs
=yes
10440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441 shlibpath_var
=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath
=yes
10449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 soname_spec
='${libname}${release}${shared_ext}$major'
10451 shlibpath_var
=LD_LIBRARY_PATH
10452 shlibpath_overrides_runpath
=no
10453 hardcode_into_libs
=yes
10454 dynamic_linker
='ldqnx.so'
10459 sys_lib_dlsearch_path_spec
="/usr/lib"
10461 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10463 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10464 *) need_version
=no
;;
10466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10467 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10468 shlibpath_var
=LD_LIBRARY_PATH
10469 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10471 openbsd2.
[89] | openbsd2.
[89].
*)
10472 shlibpath_overrides_runpath
=no
10475 shlibpath_overrides_runpath
=yes
10479 shlibpath_overrides_runpath
=yes
10484 libname_spec
='$name'
10487 library_names_spec
='$libname${shared_ext} $libname.a'
10488 dynamic_linker
='OS/2 ld.exe'
10489 shlibpath_var
=LIBPATH
10492 osf3
* | osf4
* | osf5
*)
10496 soname_spec
='${libname}${release}${shared_ext}$major'
10497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498 shlibpath_var
=LD_LIBRARY_PATH
10499 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10500 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath
=yes
10515 hardcode_into_libs
=yes
10516 # ldd complains unless libraries are executable
10517 postinstall_cmds
='chmod +x $lib'
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10523 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10524 shlibpath_var
=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath
=yes
10526 if test "$with_gnu_ld" = yes; then
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 soname_spec
='${libname}${release}${shared_ext}$major'
10536 shlibpath_var
=LD_LIBRARY_PATH
10537 case $host_vendor in
10539 shlibpath_overrides_runpath
=no
10541 runpath_var
=LD_RUN_PATH
10549 shlibpath_overrides_runpath
=no
10550 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10556 if test -d /usr
/nec
;then
10558 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10559 soname_spec
='$libname${shared_ext}.$major'
10560 shlibpath_var
=LD_LIBRARY_PATH
10564 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10565 version_type
=freebsd-elf
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 shlibpath_var
=LD_LIBRARY_PATH
10571 shlibpath_overrides_runpath
=yes
10572 hardcode_into_libs
=yes
10573 if test "$with_gnu_ld" = yes; then
10574 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10576 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10579 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10583 sys_lib_dlsearch_path_spec
='/usr/lib'
10587 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=no
10594 hardcode_into_libs
=yes
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 shlibpath_var
=LD_LIBRARY_PATH
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10609 $as_echo "$dynamic_linker" >&6; }
10610 test "$dynamic_linker" = no
&& can_build_shared
=no
10612 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10613 if test "$GCC" = yes; then
10614 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10618 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10620 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10621 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10716 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10718 if test -n "$hardcode_libdir_flag_spec" ||
10719 test -n "$runpath_var" ||
10720 test "X$hardcode_automatic" = "Xyes" ; then
10722 # We can hardcode non-existent directories.
10723 if test "$hardcode_direct" != no
&&
10724 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10725 # have to relink, otherwise we might link with an installed library
10726 # when we should be linking with a yet-to-be-installed one
10727 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10728 test "$hardcode_minus_L" != no
; then
10729 # Linking always hardcodes the temporary library directory.
10730 hardcode_action
=relink
10732 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10733 hardcode_action
=immediate
10736 # We cannot hardcode anything, or else we can only hardcode existing
10738 hardcode_action
=unsupported
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10741 $as_echo "$hardcode_action" >&6; }
10743 if test "$hardcode_action" = relink ||
10744 test "$inherit_rpath" = yes; then
10745 # Fast installation is not supported
10746 enable_fast_install
=no
10747 elif test "$shlibpath_overrides_runpath" = yes ||
10748 test "$enable_shared" = no
; then
10749 # Fast installation is not necessary
10750 enable_fast_install
=needless
10758 if test "x$enable_dlopen" != xyes
; then
10759 enable_dlopen
=unknown
10760 enable_dlopen_self
=unknown
10761 enable_dlopen_self_static
=unknown
10768 lt_cv_dlopen
="load_add_on"
10770 lt_cv_dlopen_self
=yes
10773 mingw
* | pw32
* | cegcc
*)
10774 lt_cv_dlopen
="LoadLibrary"
10779 lt_cv_dlopen
="dlopen"
10784 # if libdl is installed we need to link against it
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10787 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_dl_dlopen
=yes
10813 ac_cv_lib_dl_dlopen
=no
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 LIBS
=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10821 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10822 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10825 lt_cv_dlopen
="dyld"
10827 lt_cv_dlopen_self
=yes
10834 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10835 if test "x$ac_cv_func_shl_load" = xyes
; then :
10836 lt_cv_dlopen
="shl_load"
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10839 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10840 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10841 $as_echo_n "(cached) " >&6
10843 ac_check_lib_save_LIBS
=$LIBS
10845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10858 return shl_load ();
10863 if ac_fn_c_try_link
"$LINENO"; then :
10864 ac_cv_lib_dld_shl_load
=yes
10866 ac_cv_lib_dld_shl_load
=no
10868 rm -f core conftest.err conftest.
$ac_objext \
10869 conftest
$ac_exeext conftest.
$ac_ext
10870 LIBS
=$ac_check_lib_save_LIBS
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10873 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10874 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10875 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10877 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10878 if test "x$ac_cv_func_dlopen" = xyes
; then :
10879 lt_cv_dlopen
="dlopen"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10883 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10884 $as_echo_n "(cached) " >&6
10886 ac_check_lib_save_LIBS
=$LIBS
10888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10906 if ac_fn_c_try_link
"$LINENO"; then :
10907 ac_cv_lib_dl_dlopen
=yes
10909 ac_cv_lib_dl_dlopen
=no
10911 rm -f core conftest.err conftest.
$ac_objext \
10912 conftest
$ac_exeext conftest.
$ac_ext
10913 LIBS
=$ac_check_lib_save_LIBS
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10916 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10917 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10918 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10921 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10922 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS
=$LIBS
10926 LIBS
="-lsvld $LIBS"
10927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10945 if ac_fn_c_try_link
"$LINENO"; then :
10946 ac_cv_lib_svld_dlopen
=yes
10948 ac_cv_lib_svld_dlopen
=no
10950 rm -f core conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10952 LIBS
=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10955 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10956 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10957 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10960 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10961 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS
=$LIBS
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10979 return dld_link ();
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 ac_cv_lib_dld_dld_link
=yes
10987 ac_cv_lib_dld_dld_link
=no
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LIBS
=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10994 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10995 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10996 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11017 if test "x$lt_cv_dlopen" != xno
; then
11023 case $lt_cv_dlopen in
11025 save_CPPFLAGS
="$CPPFLAGS"
11026 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11028 save_LDFLAGS
="$LDFLAGS"
11029 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11032 LIBS
="$lt_cv_dlopen_libs $LIBS"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11035 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11036 if ${lt_cv_dlopen_self+:} false
; then :
11037 $as_echo_n "(cached) " >&6
11039 if test "$cross_compiling" = yes; then :
11040 lt_cv_dlopen_self
=cross
11042 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11043 lt_status
=$lt_dlunknown
11044 cat > conftest.
$ac_ext <<_LT_EOF
11045 #line 11045 "configure"
11046 #include "confdefs.h"
11055 # define LT_DLGLOBAL RTLD_GLOBAL
11058 # define LT_DLGLOBAL DL_GLOBAL
11060 # define LT_DLGLOBAL 0
11064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11065 find out it does not work in some platform. */
11066 #ifndef LT_DLLAZY_OR_NOW
11068 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11071 # define LT_DLLAZY_OR_NOW DL_LAZY
11074 # define LT_DLLAZY_OR_NOW RTLD_NOW
11077 # define LT_DLLAZY_OR_NOW DL_NOW
11079 # define LT_DLLAZY_OR_NOW 0
11086 /* When -fvisbility=hidden is used, assume the code has been annotated
11087 correspondingly for the symbols needed. */
11088 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11089 void fnord () __attribute__((visibility("default")));
11092 void fnord () { int i=42; }
11095 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11096 int status = $lt_dlunknown;
11100 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11103 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11104 else puts (dlerror ());
11106 /* dlclose (self); */
11114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11115 (eval $ac_link) 2>&5
11117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11118 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11119 (.
/conftest
; exit; ) >&5 2>/dev
/null
11121 case x
$lt_status in
11122 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11123 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11124 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11127 # compilation failed
11128 lt_cv_dlopen_self
=no
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11136 $as_echo "$lt_cv_dlopen_self" >&6; }
11138 if test "x$lt_cv_dlopen_self" = xyes
; then
11139 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11141 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11142 if ${lt_cv_dlopen_self_static+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11145 if test "$cross_compiling" = yes; then :
11146 lt_cv_dlopen_self_static
=cross
11148 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11149 lt_status
=$lt_dlunknown
11150 cat > conftest.
$ac_ext <<_LT_EOF
11151 #line 11151 "configure"
11152 #include "confdefs.h"
11161 # define LT_DLGLOBAL RTLD_GLOBAL
11164 # define LT_DLGLOBAL DL_GLOBAL
11166 # define LT_DLGLOBAL 0
11170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11171 find out it does not work in some platform. */
11172 #ifndef LT_DLLAZY_OR_NOW
11174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11177 # define LT_DLLAZY_OR_NOW DL_LAZY
11180 # define LT_DLLAZY_OR_NOW RTLD_NOW
11183 # define LT_DLLAZY_OR_NOW DL_NOW
11185 # define LT_DLLAZY_OR_NOW 0
11192 /* When -fvisbility=hidden is used, assume the code has been annotated
11193 correspondingly for the symbols needed. */
11194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11195 void fnord () __attribute__((visibility("default")));
11198 void fnord () { int i=42; }
11201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11202 int status = $lt_dlunknown;
11206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11209 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11210 else puts (dlerror ());
11212 /* dlclose (self); */
11220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11221 (eval $ac_link) 2>&5
11223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11224 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11225 (.
/conftest
; exit; ) >&5 2>/dev
/null
11227 case x
$lt_status in
11228 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11229 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11230 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11233 # compilation failed
11234 lt_cv_dlopen_self_static
=no
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11242 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11245 CPPFLAGS
="$save_CPPFLAGS"
11246 LDFLAGS
="$save_LDFLAGS"
11251 case $lt_cv_dlopen_self in
11252 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11253 *) enable_dlopen_self
=unknown
;;
11256 case $lt_cv_dlopen_self_static in
11257 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11258 *) enable_dlopen_self_static
=unknown
;;
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11281 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11282 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11283 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11284 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11286 $as_echo "yes" >&6; }
11288 # FIXME - insert some real tests, host_os isn't really good enough
11291 if test -n "$STRIP" ; then
11292 striplib
="$STRIP -x"
11293 old_striplib
="$STRIP -S"
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11295 $as_echo "yes" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11298 $as_echo "no" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11303 $as_echo "no" >&6; }
11319 # Report which library types will actually be built
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11321 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11323 $as_echo "$can_build_shared" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11326 $as_echo_n "checking whether to build shared libraries... " >&6; }
11327 test "$can_build_shared" = "no" && enable_shared
=no
11329 # On AIX, shared libraries and static libraries use the same namespace, and
11330 # are all built from PIC.
11333 test "$enable_shared" = yes && enable_static
=no
11334 if test -n "$RANLIB"; then
11335 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11336 postinstall_cmds
='$RANLIB $lib'
11341 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11342 test "$enable_shared" = yes && enable_static
=no
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11347 $as_echo "$enable_shared" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11350 $as_echo_n "checking whether to build static libraries... " >&6; }
11351 # Make sure either enable_shared or enable_static is yes.
11352 test "$enable_shared" = yes || enable_static
=yes
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11354 $as_echo "$enable_static" >&6; }
11361 ac_cpp
='$CPP $CPPFLAGS'
11362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11380 ac_config_commands
="$ac_config_commands libtool"
11385 # Only expand once:
11389 # AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
11391 # The tests for host and target for $enable_largefile require
11396 # As the $enable_largefile decision depends on --enable-plugins we must set it
11397 # even in directories otherwise not depending on the $plugins option.
11401 for ac_header
in dlfcn.h
11403 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11405 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
11406 cat >>confdefs.h
<<_ACEOF
11407 #define HAVE_DLFCN_H 1
11414 for ac_header
in windows.h
11416 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11418 if test "x$ac_cv_header_windows_h" = xyes
; then :
11419 cat >>confdefs.h
<<_ACEOF
11420 #define HAVE_WINDOWS_H 1
11428 # Check whether --enable-plugins was given.
11429 if test "${enable_plugins+set}" = set; then :
11430 enableval
=$enable_plugins; case "${enableval}" in
11433 if test "$maybe_plugins" != "yes" ; then
11434 as_fn_error $?
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11438 plugins
=$maybe_plugins
11442 if test "$plugins" = "yes"; then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
11444 $as_echo_n "checking for library containing dlsym... " >&6; }
11445 if ${ac_cv_search_dlsym+:} false
; then :
11446 $as_echo_n "(cached) " >&6
11448 ac_func_search_save_LIBS
=$LIBS
11449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11467 for ac_lib
in '' dl
; do
11468 if test -z "$ac_lib"; then
11469 ac_res
="none required"
11472 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11474 if ac_fn_c_try_link
"$LINENO"; then :
11475 ac_cv_search_dlsym
=$ac_res
11477 rm -f core conftest.err conftest.
$ac_objext \
11479 if ${ac_cv_search_dlsym+:} false
; then :
11483 if ${ac_cv_search_dlsym+:} false
; then :
11486 ac_cv_search_dlsym
=no
11488 rm conftest.
$ac_ext
11489 LIBS
=$ac_func_search_save_LIBS
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
11492 $as_echo "$ac_cv_search_dlsym" >&6; }
11493 ac_res
=$ac_cv_search_dlsym
11494 if test "$ac_res" != no
; then :
11495 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11503 sparc-
*-solaris*|i?
86-*-solaris*)
11504 # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
11505 # were mutually exclusive until Solaris 11.3. Without procfs support,
11506 # the bfd/ elf module cannot provide certain routines such as
11507 # elfcore_write_prpsinfo or elfcore_write_prstatus. So unless the user
11508 # explicitly requested large-file support through the
11509 # --enable-largefile switch, disable large-file support in favor of
11512 # Check if <sys/procfs.h> is incompatible with large-file support.
11513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11515 #define _FILE_OFFSET_BITS 64
11516 #define _STRUCTURED_PROC 1
11517 #include <sys/procfs.h>
11526 if ac_fn_c_try_compile
"$LINENO"; then :
11527 acx_cv_procfs_lfs
=yes
11529 acx_cv_procfs_lfs
=no
11531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11533 # Forcefully disable large-file support only if necessary, gdb is in
11534 # tree and enabled.
11535 if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
11536 -a -d $srcdir/..
/gdb
-a "$enable_gdb" != no
; then
11537 : ${enable_largefile="no"}
11538 if test "$plugins" = yes; then
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11540 plugin support disabled; require large-file support which is incompatible with GDB." >&5
11541 $as_echo "$as_me: WARNING:
11542 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
11547 # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
11548 # benefit of g++ 9+ which predefines it on Solaris.
11549 if test "$enable_largefile" = no
; then
11550 LARGEFILE_CPPFLAGS
="-U_FILE_OFFSET_BITS"
11556 # Check whether --enable-largefile was given.
11557 if test "${enable_largefile+set}" = set; then :
11558 enableval
=$enable_largefile;
11561 if test "$enable_largefile" != no
; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11564 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11565 if ${ac_cv_sys_largefile_CC+:} false
; then :
11566 $as_echo_n "(cached) " >&6
11568 ac_cv_sys_largefile_CC
=no
11569 if test "$GCC" != yes; then
11572 # IRIX 6.2 and later do not support large files by default,
11573 # so use the C compiler's -n32 option if that helps.
11574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 #include <sys/types.h>
11577 /* Check that off_t can represent 2**63 - 1 correctly.
11578 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11579 since some C++ compilers masquerading as C compilers
11580 incorrectly reject 9223372036854775807. */
11581 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11582 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11583 && LARGE_OFF_T % 2147483647 == 1)
11593 if ac_fn_c_try_compile
"$LINENO"; then :
11596 rm -f core conftest.err conftest.
$ac_objext
11598 if ac_fn_c_try_compile
"$LINENO"; then :
11599 ac_cv_sys_largefile_CC
=' -n32'; break
11601 rm -f core conftest.err conftest.
$ac_objext
11605 rm -f conftest.
$ac_ext
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11609 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11610 if test "$ac_cv_sys_largefile_CC" != no
; then
11611 CC
=$CC$ac_cv_sys_largefile_CC
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11615 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11616 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11617 $as_echo_n "(cached) " >&6
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11622 #include <sys/types.h>
11623 /* Check that off_t can represent 2**63 - 1 correctly.
11624 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11625 since some C++ compilers masquerading as C compilers
11626 incorrectly reject 9223372036854775807. */
11627 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11628 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11629 && LARGE_OFF_T % 2147483647 == 1)
11639 if ac_fn_c_try_compile
"$LINENO"; then :
11640 ac_cv_sys_file_offset_bits
=no
; break
11642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 #define _FILE_OFFSET_BITS 64
11646 #include <sys/types.h>
11647 /* Check that off_t can represent 2**63 - 1 correctly.
11648 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11649 since some C++ compilers masquerading as C compilers
11650 incorrectly reject 9223372036854775807. */
11651 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11652 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11653 && LARGE_OFF_T % 2147483647 == 1)
11663 if ac_fn_c_try_compile
"$LINENO"; then :
11664 ac_cv_sys_file_offset_bits
=64; break
11666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11667 ac_cv_sys_file_offset_bits
=unknown
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11672 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11673 case $ac_cv_sys_file_offset_bits in #(
11676 cat >>confdefs.h
<<_ACEOF
11677 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11682 if test $ac_cv_sys_file_offset_bits = unknown
; then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11684 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11685 if ${ac_cv_sys_large_files+:} false
; then :
11686 $as_echo_n "(cached) " >&6
11689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 #include <sys/types.h>
11692 /* Check that off_t can represent 2**63 - 1 correctly.
11693 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11694 since some C++ compilers masquerading as C compilers
11695 incorrectly reject 9223372036854775807. */
11696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11697 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11698 && LARGE_OFF_T % 2147483647 == 1)
11708 if ac_fn_c_try_compile
"$LINENO"; then :
11709 ac_cv_sys_large_files
=no
; break
11711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 #define _LARGE_FILES 1
11715 #include <sys/types.h>
11716 /* Check that off_t can represent 2**63 - 1 correctly.
11717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11718 since some C++ compilers masquerading as C compilers
11719 incorrectly reject 9223372036854775807. */
11720 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11722 && LARGE_OFF_T % 2147483647 == 1)
11732 if ac_fn_c_try_compile
"$LINENO"; then :
11733 ac_cv_sys_large_files
=1; break
11735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11736 ac_cv_sys_large_files
=unknown
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11741 $as_echo "$ac_cv_sys_large_files" >&6; }
11742 case $ac_cv_sys_large_files in #(
11745 cat >>confdefs.h
<<_ACEOF
11746 #define _LARGE_FILES $ac_cv_sys_large_files
11758 case "${target}" in
11759 hppa
*64*-*-* | vax-
*-netbsdelf*) ;;
11760 *-*-*aout
* | i
[3-7]86-*-bsd* | i
[3-7]86-*-msdos* | ns32k-
*-* | \
11761 pdp11-
*-* | vax-
*-*bsd
*)
11762 if test "$plugins" = "yes"; then
11763 if test "${enable_plugins+set}" = set; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5
11765 $as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;}
11770 hppa
*-*-hpux* |
*-*-*vms
* | \
11771 powerpc
*-*-aix* | powerpc-
*-beos* | powerpc-
*-macos* | rs6000-
*-*)
11772 if test "$plugins" = "yes"; then
11773 if test "${enable_plugins+set}" = set; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5
11775 $as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;}
11782 if test "$plugins" = "yes"; then
11791 # Check whether --enable-64-bit-bfd was given.
11792 if test "${enable_64_bit_bfd+set}" = set; then :
11793 enableval
=$enable_64_bit_bfd; case "${enableval}" in
11794 yes) want64
=true
;;
11795 no
) want64
=false
;;
11796 *) as_fn_error $?
"bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
11802 # Check whether --enable-targets was given.
11803 if test "${enable_targets+set}" = set; then :
11804 enableval
=$enable_targets; case "${enableval}" in
11805 yes |
"") as_fn_error $?
"enable-targets option must specify target names or 'all'" "$LINENO" 5
11807 no
) enable_targets
= ;;
11808 *) enable_targets
=$enableval ;;
11812 # Check whether --enable-64_bit_archive was given.
11813 if test "${enable_64_bit_archive+set}" = set; then :
11814 enableval
=$enable_64_bit_archive; case "${enableval}" in
11815 yes) want_64_bit_archive
=true
;;
11816 no
) want_64_bit_archive
=false
;;
11817 *) as_fn_error $?
"bad value ${enableval} for 64-bit-archive option" "$LINENO" 5 ;;
11820 want_64_bit_archive
=unset
11824 # Check whether --with-mmap was given.
11825 if test "${with_mmap+set}" = set; then :
11826 withval
=$with_mmap; case "${withval}" in
11827 yes) want_mmap
=true
;;
11828 no
) want_mmap
=false
;;
11829 *) as_fn_error $?
"bad value ${withval} for BFD with-mmap option" "$LINENO" 5 ;;
11835 # Check whether --enable-secureplt was given.
11836 if test "${enable_secureplt+set}" = set; then :
11837 enableval
=$enable_secureplt; case "${enableval}" in
11838 yes) use_secureplt
=true
;;
11839 no
) use_secureplt
=false
;;
11840 *) as_fn_error $?
"bad value ${enableval} for secureplt option" "$LINENO" 5 ;;
11845 if test $use_secureplt = true
; then
11847 $as_echo "#define USE_SECUREPLT 1" >>confdefs.h
11851 # Decide if -z separate-code should be enabled in ELF linker by default.
11852 ac_default_ld_z_separate_code
=unset
11853 # Check whether --enable-separate-code was given.
11854 if test "${enable_separate_code+set}" = set; then :
11855 enableval
=$enable_separate_code; case "${enableval}" in
11856 yes) ac_default_ld_z_separate_code
=1 ;;
11857 no
) ac_default_ld_z_separate_code
=0 ;;
11861 # Enable -z separate-code by default for Linux/x86.
11862 case "${target}" in
11863 i
[3-7]86-*-linux-* | x86_64-
*-linux-*)
11864 if test ${ac_default_ld_z_separate_code} = unset; then
11865 ac_default_ld_z_separate_code
=1
11869 if test "${ac_default_ld_z_separate_code}" = unset; then
11870 ac_default_ld_z_separate_code
=0
11873 cat >>confdefs.h
<<_ACEOF
11874 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
11878 # Check whether --enable-leading-mingw64-underscores was given.
11879 if test "${enable_leading_mingw64_underscores+set}" = set; then :
11880 enableval
=$enable_leading_mingw64_underscores;
11883 if test x
"$enable_leading_mingw64_underscores" = xyes
; then :
11885 $as_echo "#define USE_MINGW64_LEADING_UNDERSCORES 1" >>confdefs.h
11889 DEBUGDIR
=${libdir}/debug
11891 # Check whether --with-separate-debug-dir was given.
11892 if test "${with_separate_debug_dir+set}" = set; then :
11893 withval
=$with_separate_debug_dir; DEBUGDIR
="${withval}"
11900 # Check whether --with-pkgversion was given.
11901 if test "${with_pkgversion+set}" = set; then :
11902 withval
=$with_pkgversion; case "$withval" in
11903 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
11905 *) PKGVERSION
="($withval) " ;;
11908 PKGVERSION
="(GNU Binutils) "
11916 # Check whether --with-bugurl was given.
11917 if test "${with_bugurl+set}" = set; then :
11918 withval
=$with_bugurl; case "$withval" in
11919 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
11922 *) BUGURL
="$withval"
11926 BUGURL
="https://www.sourceware.org/bugzilla/"
11936 REPORT_BUGS_TO
="<$BUGURL>"
11937 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
11945 # Set the 'development' global.
11946 .
$srcdir/..
/bfd
/development.sh
11948 # Set acp_cpp_for_build variable
11949 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
11951 # Default set of GCC warnings to enable.
11952 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11953 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11955 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
11956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11961 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11964 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
11969 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
11970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11975 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11978 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
11983 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
11984 WARN_WRITE_STRINGS
=""
11985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11990 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
11993 WARN_WRITE_STRINGS
="-Wwrite-strings"
11998 # Verify CC_FOR_BUILD to be compatible with warning flags
12000 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12005 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12006 $EGREP "(^[0-3]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12009 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
12014 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12019 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
12020 $EGREP "(^[0-4]$|^__GNUC__$)" >/dev
/null
2>&1; then :
12023 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
12028 # Check whether --enable-werror was given.
12029 if test "${enable_werror+set}" = set; then :
12030 enableval
=$enable_werror; case "${enableval}" in
12031 yes | y
) ERROR_ON_WARNING
="yes" ;;
12032 no | n
) ERROR_ON_WARNING
="no" ;;
12033 *) as_fn_error $?
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12038 # Disable -Wformat by default when using gcc on mingw
12041 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12042 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
12043 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
12049 # Enable -Werror by default when using gcc. Turn it off for releases.
12050 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
12051 ERROR_ON_WARNING
=yes
12055 if test "${ERROR_ON_WARNING}" = yes ; then
12056 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
12057 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
12058 NO_WERROR
="-Wno-error"
12061 if test "${GCC}" = yes ; then
12062 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12063 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
12066 # Check whether --enable-build-warnings was given.
12067 if test "${enable_build_warnings+set}" = set; then :
12068 enableval
=$enable_build_warnings; case "${enableval}" in
12069 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12070 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
12071 no
) if test "${GCC}" = yes ; then
12073 WARN_CFLAGS_FOR_BUILD
="-w"
12075 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12076 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
12077 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
12078 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12079 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
12080 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
12081 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
12082 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12087 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
12088 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12097 ac_config_headers
="$ac_config_headers config.h:config.in"
12103 if test -z "$target" ; then
12104 as_fn_error $?
"Unrecognized target system type; please check config.sub." "$LINENO" 5
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12109 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12110 # Check whether --enable-maintainer-mode was given.
12111 if test "${enable_maintainer_mode+set}" = set; then :
12112 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12114 USE_MAINTAINER_MODE
=no
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12118 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12119 if test $USE_MAINTAINER_MODE = yes; then
12120 MAINTAINER_MODE_TRUE
=
12121 MAINTAINER_MODE_FALSE
='#'
12123 MAINTAINER_MODE_TRUE
='#'
12124 MAINTAINER_MODE_FALSE
=
12127 MAINT
=$MAINTAINER_MODE_TRUE
12131 GENINSRC_NEVER_TRUE
=
12132 GENINSRC_NEVER_FALSE
='#'
12134 GENINSRC_NEVER_TRUE
='#'
12135 GENINSRC_NEVER_FALSE
=
12138 case ${build_alias} in
12139 "") build_noncanonical
=${build} ;;
12140 *) build_noncanonical
=${build_alias} ;;
12143 case ${host_alias} in
12144 "") host_noncanonical
=${build_noncanonical} ;;
12145 *) host_noncanonical
=${host_alias} ;;
12148 case ${target_alias} in
12149 "") target_noncanonical
=${host_noncanonical} ;;
12150 *) target_noncanonical
=${target_alias} ;;
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
12154 $as_echo_n "checking whether to install libbfd... " >&6; }
12155 # Check whether --enable-install-libbfd was given.
12156 if test "${enable_install_libbfd+set}" = set; then :
12157 enableval
=$enable_install_libbfd; install_libbfd_p
=$enableval
12159 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
12160 install_libbfd_p
=yes
12162 install_libbfd_p
=no
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
12167 $as_echo "$install_libbfd_p" >&6; }
12168 if test $install_libbfd_p = yes; then
12169 INSTALL_LIBBFD_TRUE
=
12170 INSTALL_LIBBFD_FALSE
='#'
12172 INSTALL_LIBBFD_TRUE
='#'
12173 INSTALL_LIBBFD_FALSE
=
12176 # Need _noncanonical variables for this.
12181 # libbfd.a is a host library containing target dependent code
12182 bfdlibdir
='$(libdir)'
12183 bfdincludedir
='$(includedir)'
12184 if test "${host}" != "${target}"; then
12185 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
12186 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
12198 bfd_default_target_size
=32
12202 ALL_LINGUAS
="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
12203 # If we haven't got the data from the intl directory,
12204 # assume NLS is disabled.
12213 if test -f ..
/intl
/config.intl
; then
12214 . ..
/intl
/config.intl
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12217 $as_echo_n "checking whether NLS is requested... " >&6; }
12218 if test x
"$USE_NLS" != xyes
; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12220 $as_echo "no" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12223 $as_echo "yes" >&6; }
12225 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12229 $as_echo_n "checking for catalogs to be installed... " >&6; }
12230 # Look for .po and .gmo files in the source directory.
12233 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
12234 # If there aren't any .gmo files the shell will give us the
12235 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12237 case "$cat" in *\
**)
12240 # The quadruple backslash is collapsed to a double backslash
12241 # by the backticks, then collapsed again by the double quotes,
12242 # leaving us with one backslash in the sed expression (right
12243 # before the dot that mustn't act as a wildcard).
12244 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12245 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
12246 # The user is allowed to set LINGUAS to a list of languages to
12247 # install catalogs for. If it's empty that means "all of them."
12248 if test "x$LINGUAS" = x
; then
12249 CATALOGS
="$CATALOGS $cat"
12250 XLINGUAS
="$XLINGUAS $lang"
12252 case "$LINGUAS" in *$lang*)
12253 CATALOGS
="$CATALOGS $cat"
12254 XLINGUAS
="$XLINGUAS $lang"
12259 LINGUAS
="$XLINGUAS"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12261 $as_echo "$LINGUAS" >&6; }
12275 if test -n "$ac_aux_dir"; then
12276 case "$ac_aux_dir" in
12277 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
12278 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12281 if test -z "$MKINSTALLDIRS"; then
12282 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12288 $as_echo_n "checking whether NLS is requested... " >&6; }
12289 # Check whether --enable-nls was given.
12290 if test "${enable_nls+set}" = set; then :
12291 enableval
=$enable_nls; USE_NLS
=$enableval
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12297 $as_echo "$USE_NLS" >&6; }
12304 # Prepare PATH_SEPARATOR.
12305 # The user is always right.
12306 if test "${PATH_SEPARATOR+set}" != set; then
12307 echo "#! /bin/sh" >conf$$.sh
12308 echo "exit 0" >>conf$$.sh
12310 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12318 # Find out how to test for executable files. Don't use a zero-byte file,
12319 # as systems may use methods other than mode bits to determine executability.
12320 cat >conf$$.
file <<_ASEOF
12324 chmod +x conf$$.
file
12325 if test -x conf$$.
file >/dev
/null
2>&1; then
12326 ac_executable_p
="test -x"
12328 ac_executable_p
="test -f"
12332 # Extract the first word of "msgfmt", so it can be a program name with args.
12333 set dummy msgfmt
; ac_word
=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12335 $as_echo_n "checking for $ac_word... " >&6; }
12336 if ${ac_cv_path_MSGFMT+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12341 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12344 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12345 for ac_dir
in $PATH; do
12347 test -z "$ac_dir" && ac_dir
=.
12348 for ac_exec_ext
in '' $ac_executable_extensions; do
12349 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12350 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12351 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12352 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12359 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12363 MSGFMT
="$ac_cv_path_MSGFMT"
12364 if test "$MSGFMT" != ":"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12366 $as_echo "$MSGFMT" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12372 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12373 set dummy gmsgfmt
; ac_word
=$2
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12375 $as_echo_n "checking for $ac_word... " >&6; }
12376 if ${ac_cv_path_GMSGFMT+:} false
; then :
12377 $as_echo_n "(cached) " >&6
12381 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12385 for as_dir
in $PATH
12388 test -z "$as_dir" && as_dir
=.
12389 for ac_exec_ext
in '' $ac_executable_extensions; do
12390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12391 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12399 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12403 GMSGFMT
=$ac_cv_path_GMSGFMT
12404 if test -n "$GMSGFMT"; then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12406 $as_echo "$GMSGFMT" >&6; }
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12409 $as_echo "no" >&6; }
12415 # Prepare PATH_SEPARATOR.
12416 # The user is always right.
12417 if test "${PATH_SEPARATOR+set}" != set; then
12418 echo "#! /bin/sh" >conf$$.sh
12419 echo "exit 0" >>conf$$.sh
12421 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12429 # Find out how to test for executable files. Don't use a zero-byte file,
12430 # as systems may use methods other than mode bits to determine executability.
12431 cat >conf$$.
file <<_ASEOF
12435 chmod +x conf$$.
file
12436 if test -x conf$$.
file >/dev
/null
2>&1; then
12437 ac_executable_p
="test -x"
12439 ac_executable_p
="test -f"
12443 # Extract the first word of "xgettext", so it can be a program name with args.
12444 set dummy xgettext
; ac_word
=$2
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12446 $as_echo_n "checking for $ac_word... " >&6; }
12447 if ${ac_cv_path_XGETTEXT+:} false
; then :
12448 $as_echo_n "(cached) " >&6
12450 case "$XGETTEXT" in
12452 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12455 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12456 for ac_dir
in $PATH; do
12458 test -z "$ac_dir" && ac_dir
=.
12459 for ac_exec_ext
in '' $ac_executable_extensions; do
12460 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12461 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12462 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12463 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12470 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12474 XGETTEXT
="$ac_cv_path_XGETTEXT"
12475 if test "$XGETTEXT" != ":"; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12477 $as_echo "$XGETTEXT" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480 $as_echo "no" >&6; }
12486 # Prepare PATH_SEPARATOR.
12487 # The user is always right.
12488 if test "${PATH_SEPARATOR+set}" != set; then
12489 echo "#! /bin/sh" >conf$$.sh
12490 echo "exit 0" >>conf$$.sh
12492 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12500 # Find out how to test for executable files. Don't use a zero-byte file,
12501 # as systems may use methods other than mode bits to determine executability.
12502 cat >conf$$.
file <<_ASEOF
12506 chmod +x conf$$.
file
12507 if test -x conf$$.
file >/dev
/null
2>&1; then
12508 ac_executable_p
="test -x"
12510 ac_executable_p
="test -f"
12514 # Extract the first word of "msgmerge", so it can be a program name with args.
12515 set dummy msgmerge
; ac_word
=$2
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12517 $as_echo_n "checking for $ac_word... " >&6; }
12518 if ${ac_cv_path_MSGMERGE+:} false
; then :
12519 $as_echo_n "(cached) " >&6
12521 case "$MSGMERGE" in
12523 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12526 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12527 for ac_dir
in $PATH; do
12529 test -z "$ac_dir" && ac_dir
=.
12530 for ac_exec_ext
in '' $ac_executable_extensions; do
12531 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12532 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12533 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12540 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12544 MSGMERGE
="$ac_cv_path_MSGMERGE"
12545 if test "$MSGMERGE" != ":"; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12547 $as_echo "$MSGMERGE" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12554 if test "$GMSGFMT" != ":"; then
12555 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12556 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12559 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12561 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12566 if test "$XGETTEXT" != ":"; then
12567 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12568 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12572 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12578 ac_config_commands
="$ac_config_commands default-1"
12582 # Permit host specific settings.
12583 .
${srcdir}/configure.
host
12588 BFD_HOST_64BIT_LONG
=0
12589 BFD_HOST_64BIT_LONG_LONG
=0
12590 BFD_HOST_64_BIT_DEFINED
=0
12593 BFD_HOSTPTR_T
="unsigned long"
12595 # The cast to long int works around a bug in the HP C Compiler
12596 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12597 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12598 # This bug is HP SR number 8606223364.
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12600 $as_echo_n "checking size of long long... " >&6; }
12601 if ${ac_cv_sizeof_long_long+:} false
; then :
12602 $as_echo_n "(cached) " >&6
12604 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12607 if test "$ac_cv_type_long_long" = yes; then
12608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12610 as_fn_error
77 "cannot compute sizeof (long long)
12611 See \`config.log' for more details" "$LINENO" 5; }
12613 ac_cv_sizeof_long_long
=0
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12619 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12623 cat >>confdefs.h
<<_ACEOF
12624 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12628 # The cast to long int works around a bug in the HP C Compiler
12629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12631 # This bug is HP SR number 8606223364.
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12633 $as_echo_n "checking size of void *... " >&6; }
12634 if ${ac_cv_sizeof_void_p+:} false
; then :
12635 $as_echo_n "(cached) " >&6
12637 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12640 if test "$ac_cv_type_void_p" = yes; then
12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12643 as_fn_error
77 "cannot compute sizeof (void *)
12644 See \`config.log' for more details" "$LINENO" 5; }
12646 ac_cv_sizeof_void_p
=0
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12652 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12656 cat >>confdefs.h
<<_ACEOF
12657 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12661 # The cast to long int works around a bug in the HP C Compiler
12662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12664 # This bug is HP SR number 8606223364.
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12666 $as_echo_n "checking size of long... " >&6; }
12667 if ${ac_cv_sizeof_long+:} false
; then :
12668 $as_echo_n "(cached) " >&6
12670 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12673 if test "$ac_cv_type_long" = yes; then
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
77 "cannot compute sizeof (long)
12677 See \`config.log' for more details" "$LINENO" 5; }
12679 ac_cv_sizeof_long
=0
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12685 $as_echo "$ac_cv_sizeof_long" >&6; }
12689 cat >>confdefs.h
<<_ACEOF
12690 #define SIZEOF_LONG $ac_cv_sizeof_long
12694 # The cast to long int works around a bug in the HP C Compiler
12695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12697 # This bug is HP SR number 8606223364.
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12699 $as_echo_n "checking size of int... " >&6; }
12700 if ${ac_cv_sizeof_int+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12706 if test "$ac_cv_type_int" = yes; then
12707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12709 as_fn_error
77 "cannot compute sizeof (int)
12710 See \`config.log' for more details" "$LINENO" 5; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12718 $as_echo "$ac_cv_sizeof_int" >&6; }
12722 cat >>confdefs.h
<<_ACEOF
12723 #define SIZEOF_INT $ac_cv_sizeof_int
12728 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12732 if test "x${ac_cv_sizeof_long}" = "x8"; then
12733 BFD_HOST_64BIT_LONG
=1
12734 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
12735 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
12736 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
12737 BFD_HOST_64BIT_LONG_LONG
=1
12738 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
12739 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
12740 if test "x${ac_cv_sizeof_void_p}" = "x8"; then
12741 BFD_HOSTPTR_T
="unsigned long long"
12745 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
12746 BFD_HOST_64_BIT_DEFINED
=1
12747 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
12748 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
12758 # Put a plausible default for CC_FOR_BUILD in Makefile.
12759 if test -z "$CC_FOR_BUILD"; then
12760 if test "x$cross_compiling" = "xno"; then
12761 CC_FOR_BUILD
='$(CC)'
12767 # Also set EXEEXT_FOR_BUILD.
12768 if test "x$cross_compiling" = "xno"; then
12769 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
12772 $as_echo_n "checking for build system executable suffix... " >&6; }
12773 if ${bfd_cv_build_exeext+:} false
; then :
12774 $as_echo_n "(cached) " >&6
12777 echo 'int main () { return 0; }' > conftest.c
12778 bfd_cv_build_exeext
=
12779 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12780 for file in conftest.
*; do
12782 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12783 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12787 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
12790 $as_echo "$bfd_cv_build_exeext" >&6; }
12791 EXEEXT_FOR_BUILD
=""
12792 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12796 for ac_header
in fcntl.h sys
/file.h sys
/resource.h sys
/stat.h sys
/types.h \
12799 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12800 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12801 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12802 cat >>confdefs.h
<<_ACEOF
12803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12811 for ac_func
in fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
12814 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12815 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12816 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12817 cat >>confdefs.h
<<_ACEOF
12818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12825 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
12826 if test "x$ac_cv_have_decl_basename" = xyes
; then :
12832 cat >>confdefs.h
<<_ACEOF
12833 #define HAVE_DECL_BASENAME $ac_have_decl
12835 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
12836 if test "x$ac_cv_have_decl_ffs" = xyes
; then :
12842 cat >>confdefs.h
<<_ACEOF
12843 #define HAVE_DECL_FFS $ac_have_decl
12845 ac_fn_c_check_decl
"$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
12846 if test "x$ac_cv_have_decl_stpcpy" = xyes
; then :
12852 cat >>confdefs.h
<<_ACEOF
12853 #define HAVE_DECL_STPCPY $ac_have_decl
12855 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
12856 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
12862 cat >>confdefs.h
<<_ACEOF
12863 #define HAVE_DECL_ASPRINTF $ac_have_decl
12865 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
12866 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
12872 cat >>confdefs.h
<<_ACEOF
12873 #define HAVE_DECL_VASPRINTF $ac_have_decl
12879 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
12881 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
12885 # Link in zlib if we can. This allows us to read compressed debug sections.
12886 # This is used only by compress.c.
12888 # Use the system's zlib library.
12889 zlibdir
="-L\$(top_builddir)/../zlib"
12890 zlibinc
="-I\$(top_srcdir)/../zlib"
12892 # Check whether --with-system-zlib was given.
12893 if test "${with_system_zlib+set}" = set; then :
12894 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
12905 save_CFLAGS
="$CFLAGS"
12906 CFLAGS
="$CFLAGS -Werror"
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for hidden visibility" >&5
12908 $as_echo_n "checking compiler support for hidden visibility... " >&6; }
12909 if ${bfd_cv_hidden+:} false
; then :
12910 $as_echo_n "(cached) " >&6
12912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12915 const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
12916 extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));
12925 if ac_fn_c_try_compile
"$LINENO"; then :
12930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_hidden" >&5
12933 $as_echo "$bfd_cv_hidden" >&6; }
12934 CFLAGS
="$save_CFLAGS"
12935 if test $bfd_cv_hidden = yes; then
12937 $as_echo "#define HAVE_HIDDEN 1" >>confdefs.h
12941 # Check if linker supports --as-needed and --no-as-needed options
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
12943 $as_echo_n "checking linker --as-needed support... " >&6; }
12944 if ${bfd_cv_ld_as_needed+:} false
; then :
12945 $as_echo_n "(cached) " >&6
12947 bfd_cv_ld_as_needed
=no
12948 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
12949 bfd_cv_ld_as_needed
=yes
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
12954 $as_echo "$bfd_cv_ld_as_needed" >&6; }
12958 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
12959 # These system don't have libm, or don't need it
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12963 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12964 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
12965 $as_echo_n "(cached) " >&6
12967 ac_check_lib_save_LIBS
=$LIBS
12969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12978 char _mwvalidcheckl ();
12982 return _mwvalidcheckl ();
12987 if ac_fn_c_try_link
"$LINENO"; then :
12988 ac_cv_lib_mw__mwvalidcheckl
=yes
12990 ac_cv_lib_mw__mwvalidcheckl
=no
12992 rm -f core conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12994 LIBS
=$ac_check_lib_save_LIBS
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12997 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12998 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13003 $as_echo_n "checking for cos in -lm... " >&6; }
13004 if ${ac_cv_lib_m_cos+:} false
; then :
13005 $as_echo_n "(cached) " >&6
13007 ac_check_lib_save_LIBS
=$LIBS
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13027 if ac_fn_c_try_link
"$LINENO"; then :
13028 ac_cv_lib_m_cos
=yes
13032 rm -f core conftest.err conftest.
$ac_objext \
13033 conftest
$ac_exeext conftest.
$ac_ext
13034 LIBS
=$ac_check_lib_save_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13037 $as_echo "$ac_cv_lib_m_cos" >&6; }
13038 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13045 $as_echo_n "checking for cos in -lm... " >&6; }
13046 if ${ac_cv_lib_m_cos+:} false
; then :
13047 $as_echo_n "(cached) " >&6
13049 ac_check_lib_save_LIBS
=$LIBS
13051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13069 if ac_fn_c_try_link
"$LINENO"; then :
13070 ac_cv_lib_m_cos
=yes
13074 rm -f core conftest.err conftest.
$ac_objext \
13075 conftest
$ac_exeext conftest.
$ac_ext
13076 LIBS
=$ac_check_lib_save_LIBS
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13079 $as_echo "$ac_cv_lib_m_cos" >&6; }
13080 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13089 # When building a shared libbfd, link against the pic version of libiberty
13090 # so that apps that use libbfd won't need libiberty just to satisfy any
13091 # libbfd references.
13092 # We can't do that if a pic libiberty is unavailable since including non-pic
13093 # code would insert text relocations into libbfd.
13096 if test "$enable_shared" = "yes"; then
13097 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
13098 if test -n "$x"; then
13099 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
13103 SHARED_LIBADD
="$SHARED_LIBADD $LIBINTL"
13105 if test "$enable_shared" = "yes"; then
13107 # More hacks to build DLLs on Windows.
13109 SHARED_LDFLAGS
="-no-undefined"
13110 SHARED_LIBADD
="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
13114 if test -n "$SHARED_LIBADD"; then
13115 if test -n "$LIBM"; then
13116 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
13117 # Link against libm only when needed. Put -lc, -lm inside -Wl
13118 # to stop libtool reordering these options.
13119 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
13121 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
13131 # Canonicalize the secondary target names.
13132 if test -n "$enable_targets" ; then
13133 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13135 result
=`$ac_config_sub $targ 2>/dev/null`
13136 if test -n "$result" ; then
13137 canon_targets
="$canon_targets $result"
13139 # Allow targets that config.sub doesn't recognize, like "all".
13140 canon_targets
="$canon_targets $targ"
13151 for targ
in $target $canon_targets
13153 if test $targ = all
; then
13155 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
13156 elif test $targ != plugin
; then
13157 .
$srcdir/config.bfd
13158 if test $targ = $target; then
13159 defvec
=$targ_defvec
13161 selvecs
="$selvecs $targ_defvec $targ_selvecs"
13162 selarchs
="$selarchs $targ_archs"
13163 TDEFINES
="$TDEFINES $targ_cflags"
13168 # This processing still needs to be done if we're to decide properly whether
13169 # 64-bit support needs to be compiled in. Currently, it will be included if
13170 # the default or any other explicitly requested target requires it; it
13171 # will not be included on a 32-bit host if no 64-bit target is requested, and
13172 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
13175 # uniq the default and selected vectors in all the configured targets.
13177 for i
in $selvecs ; do
13186 # uniq the associated vectors in all the configured targets.
13188 for i
in $assocvecs ; do
13197 # uniq the architectures in all the configured targets.
13199 for i
in $selarchs ; do
13207 # Target backend .o files.
13210 elf
="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
13211 dwarf1.lo dwarf2.lo"
13212 coffgen
="coffgen.lo dwarf2.lo"
13213 coff
="cofflink.lo $coffgen"
13214 ecoff
="ecofflink.lo $coffgen"
13215 xcoff
="xcofflink.lo $coffgen"
13217 elfxx_x86
="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
13218 for vec
in $selvecs
13222 # This list is alphabetized to make it easy to compare
13223 # with the two vector lists in targets.c. For the same reason,
13224 # use one entry per line, even though this leads to long lines.
13225 aarch64_elf32_be_vec
) tb
="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size
=64 ;;
13226 aarch64_elf32_le_vec
) tb
="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size
=64 ;;
13227 aarch64_elf64_be_vec
) tb
="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13228 aarch64_elf64_be_cloudabi_vec
) tb
="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13229 aarch64_elf64_le_vec
) tb
="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13230 aarch64_elf64_le_cloudabi_vec
) tb
="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13231 aarch64_mach_o_vec
) tb
="$tb mach-o-aarch64.lo"; target_size
=64 ;;
13232 alpha_ecoff_le_vec
) tb
="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size
=64 ;;
13233 alpha_elf64_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13234 alpha_elf64_fbsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13235 alpha_vms_vec
) tb
="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size
=64 ;;
13236 alpha_vms_lib_txt_vec
) tb
="$tb vms-lib.lo vms-misc.lo" ;;
13237 am33_elf32_linux_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13238 aout0_be_vec
) tb
="$tb aout0.lo aout32.lo" ;;
13239 aout64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
13240 aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13241 arc_elf32_be_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13242 arc_elf32_le_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13243 arm_elf32_be_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13244 arm_elf32_le_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13245 arm_elf32_fdpic_be_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13246 arm_elf32_fdpic_le_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13247 arm_elf32_nacl_be_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13248 arm_elf32_nacl_le_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13249 arm_elf32_vxworks_be_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13250 arm_elf32_vxworks_le_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
13251 arm_pe_be_vec
) tb
="$tb pe-arm.lo peigen.lo $coff" ;;
13252 arm_pe_le_vec
) tb
="$tb pe-arm.lo peigen.lo $coff" ;;
13253 arm_pe_wince_be_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
13254 arm_pe_wince_le_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
13255 arm_pei_be_vec
) tb
="$tb pei-arm.lo peigen.lo $coff" ;;
13256 arm_pei_le_vec
) tb
="$tb pei-arm.lo peigen.lo $coff" ;;
13257 arm_pei_wince_be_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
13258 arm_pei_wince_le_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
13259 arm_mach_o_vec
) tb
="$tb mach-o-arm.lo" ;;
13260 avr_elf32_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
13261 bfin_elf32_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13262 bfin_elf32_fdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13263 cr16_elf32_vec
) tb
="$tb elf32-cr16.lo elf32.lo $elf" ;;
13264 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
13265 cris_elf32_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13266 cris_elf32_us_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13267 crx_elf32_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
13268 csky_elf32_be_vec
) tb
="$tb elf32-csky.lo elf32.lo $elf" ;;
13269 csky_elf32_le_vec
) tb
="$tb elf32-csky.lo elf32.lo $elf" ;;
13270 d10v_elf32_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
13271 d30v_elf32_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
13272 dlx_elf32_be_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
13273 elf32_be_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13274 elf32_le_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13275 elf64_be_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13276 elf64_le_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13277 bpf_elf64_le_vec
) tb
="$tb elf64-bpf.lo elf64.lo $elf"; target_size
=64;;
13278 bpf_elf64_be_vec
) tb
="$tb elf64-bpf.lo elf64.lo $elf"; target_size
=64 ;;
13279 epiphany_elf32_vec
) tb
="$tb elf32-epiphany.lo elf32.lo $elf" ;;
13280 fr30_elf32_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
13281 frv_elf32_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13282 frv_elf32_fdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13283 h8300_elf32_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13284 h8300_elf32_linux_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13285 hppa_elf32_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13286 hppa_elf32_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13287 hppa_elf32_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13288 hppa_elf64_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13289 hppa_elf64_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13290 hppa_som_vec
) tb
="$tb som.lo" ;;
13291 i386_aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13292 i386_aout_bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13293 i386_aout_lynx_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13294 i386_coff_vec
) tb
="$tb coff-i386.lo $coff" ;;
13295 i386_coff_go32_vec
) tb
="$tb coff-go32.lo $coff" ;;
13296 i386_coff_go32stubbed_vec
) tb
="$tb coff-stgo32.lo $coff" ;;
13297 i386_coff_lynx_vec
) tb
="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
13298 i386_elf32_vec
) tb
="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
13299 i386_elf32_fbsd_vec
) tb
="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
13300 i386_elf32_sol2_vec
) tb
="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
13301 i386_elf32_vxworks_vec
) tb
="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
13302 i386_mach_o_vec
) tb
="$tb mach-o-i386.lo" ;;
13303 i386_msdos_vec
) tb
="$tb i386msdos.lo" ;;
13304 i386_pe_vec
) tb
="$tb pe-i386.lo peigen.lo $coff" ;;
13305 i386_pe_big_vec
) tb
="$tb pe-i386.lo peigen.lo $coff" ;;
13306 i386_pei_vec
) tb
="$tb pei-i386.lo peigen.lo $coff" ;;
13307 iamcu_elf32_vec
) tb
="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
13308 ia64_elf32_be_vec
) tb
="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
13309 ia64_elf32_hpux_be_vec
) tb
="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
13310 ia64_elf64_be_vec
) tb
="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13311 ia64_elf64_le_vec
) tb
="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13312 ia64_elf64_hpux_be_vec
) tb
="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13313 ia64_elf64_vms_vec
) tb
="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size
=64 ;;
13314 ia64_pei_vec
) tb
="$tb pei-ia64.lo pepigen.lo $coff"; target_size
=64 ;;
13315 ip2k_elf32_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
13316 iq2000_elf32_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
13317 k1om_elf64_vec
) tb
="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13318 k1om_elf64_fbsd_vec
) tb
="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13319 l1om_elf64_vec
) tb
="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13320 l1om_elf64_fbsd_vec
) tb
="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf64.lo $elf"; target_size
=64 ;;
13321 lm32_elf32_vec
) tb
="$tb elf32-lm32.lo elf32.lo $elf" ;;
13322 lm32_elf32_fdpic_vec
) tb
="$tb elf32-lm32.lo elf32.lo $elf" ;;
13323 m32c_elf32_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
13324 m32r_elf32_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13325 m32r_elf32_le_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13326 m32r_elf32_linux_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13327 m32r_elf32_linux_le_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13328 m68hc11_elf32_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13329 m68hc12_elf32_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13330 m68k_elf32_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
13331 s12z_elf32_vec
) tb
="$tb elf32-s12z.lo elf32.lo $elf" ;;
13332 mach_o_be_vec
) tb
="$tb mach-o.lo dwarf2.lo" ;;
13333 mach_o_le_vec
) tb
="$tb mach-o.lo dwarf2.lo" ;;
13334 mach_o_fat_vec
) tb
="$tb mach-o.lo dwarf2.lo" ;;
13335 mcore_elf32_be_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13336 mcore_elf32_le_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13337 mcore_pe_be_vec
) tb
="$tb pe-mcore.lo peigen.lo $coff" ;;
13338 mcore_pe_le_vec
) tb
="$tb pe-mcore.lo peigen.lo $coff" ;;
13339 mcore_pei_be_vec
) tb
="$tb pei-mcore.lo peigen.lo $coff" ;;
13340 mcore_pei_le_vec
) tb
="$tb pei-mcore.lo peigen.lo $coff" ;;
13341 mep_elf32_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
13342 mep_elf32_le_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
13343 metag_elf32_vec
) tb
="$tb elf32-metag.lo elf32.lo $elf" ;;
13344 microblaze_elf32_vec
) tb
="$tb elf32-microblaze.lo elf32.lo $elf" ;;
13345 microblaze_elf32_le_vec
) tb
="$tb elf32-microblaze.lo elf32.lo $elf" ;;
13346 mips_ecoff_be_vec
) tb
="$tb coff-mips.lo ecoff.lo $ecoff" ;;
13347 mips_ecoff_le_vec
) tb
="$tb coff-mips.lo ecoff.lo $ecoff" ;;
13348 mips_ecoff_bele_vec
) tb
="$tb coff-mips.lo ecoff.lo $ecoff" ;;
13349 mips_elf32_be_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13350 mips_elf32_le_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13351 mips_elf32_n_be_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13352 mips_elf32_n_le_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13353 mips_elf32_ntrad_be_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13354 mips_elf32_ntrad_le_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13355 mips_elf32_ntradfbsd_be_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13356 mips_elf32_ntradfbsd_le_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13357 mips_elf32_trad_be_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13358 mips_elf32_trad_le_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13359 mips_elf32_tradfbsd_be_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13360 mips_elf32_tradfbsd_le_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13361 mips_elf32_vxworks_be_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13362 mips_elf32_vxworks_le_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
13363 mips_elf64_be_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13364 mips_elf64_le_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13365 mips_elf64_trad_be_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13366 mips_elf64_trad_le_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13367 mips_elf64_tradfbsd_be_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13368 mips_elf64_tradfbsd_le_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size
=64 ;;
13369 mmix_elf64_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
13370 mmix_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
13371 mn10200_elf32_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
13372 mn10300_elf32_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
13373 moxie_elf32_be_vec
) tb
="$tb elf32-moxie.lo elf32.lo $elf" ;;
13374 moxie_elf32_le_vec
) tb
="$tb elf32-moxie.lo elf32.lo $elf" ;;
13375 msp430_elf32_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13376 msp430_elf32_ti_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13377 mt_elf32_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
13378 nds32_elf32_be_vec
) tb
="$tb elf32-nds32.lo elf32.lo $elf" ;;
13379 nds32_elf32_le_vec
) tb
="$tb elf32-nds32.lo elf32.lo $elf" ;;
13380 nds32_elf32_linux_be_vec
) tb
="$tb elf32-nds32.lo elf32.lo $elf" ;;
13381 nds32_elf32_linux_le_vec
) tb
="$tb elf32-nds32.lo elf32.lo $elf" ;;
13382 nfp_elf64_vec
) tb
="$tb elf64-nfp.lo elf64.lo $elf" ;;
13383 nios2_elf32_be_vec
) tb
="$tb elf32-nios2.lo elf32.lo $elf" ;;
13384 nios2_elf32_le_vec
) tb
="$tb elf32-nios2.lo elf32.lo $elf" ;;
13385 ns32k_aout_pc532mach_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13386 ns32k_aout_pc532nbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13387 or1k_elf32_vec
) tb
="$tb elf32-or1k.lo elf32.lo $elf" ;;
13388 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13389 pef_vec
) tb
="$tb pef.lo" ;;
13390 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13391 pj_elf32_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf" ;;
13392 pj_elf32_le_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf" ;;
13393 powerpc_boot_vec
) tb
="$tb ppcboot.lo" ;;
13394 powerpc_elf32_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13395 powerpc_elf32_le_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13396 powerpc_elf32_fbsd_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13397 powerpc_elf32_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13398 powerpc_elf64_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13399 powerpc_elf64_le_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13400 powerpc_elf64_fbsd_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13401 powerpc_elf64_fbsd_le_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13402 powerpc_xcoff_vec
) tb
="$tb coff-rs6000.lo $xcoff" ;;
13403 pru_elf32_vec
) tb
="$tb elf32-pru.lo elf32.lo $elf" ;;
13404 riscv_elf32_vec
) tb
="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
13405 riscv_elf64_vec
) tb
="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size
=64 ;;
13406 riscv_elf32_be_vec
) tb
="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
13407 riscv_elf64_be_vec
) tb
="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size
=64 ;;
13408 rl78_elf32_vec
) tb
="$tb elf32-rl78.lo elf32.lo $elf" ;;
13409 rs6000_xcoff64_vec
) tb
="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size
=64 ;;
13410 rs6000_xcoff64_aix_vec
) tb
="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size
=64 ;;
13411 rs6000_xcoff_vec
) tb
="$tb coff-rs6000.lo $xcoff" ;;
13412 rx_elf32_be_vec
) tb
="$tb elf32-rx.lo elf32.lo $elf" ;;
13413 rx_elf32_be_ns_vec
) tb
="$tb elf32-rx.lo elf32.lo $elf" ;;
13414 rx_elf32_le_vec
) tb
="$tb elf32-rx.lo elf32.lo $elf" ;;
13415 rx_elf32_linux_le_vec
) tb
="$tb elf32-rx.lo elf32.lo $elf" ;;
13416 s390_elf32_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
13417 s390_elf64_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
13418 score_elf32_be_vec
) tb
="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64
=true
; target_size
=64 ;;
13419 score_elf32_le_vec
) tb
="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64
=true
; target_size
=64 ;;
13420 sh_coff_vec
) tb
="$tb coff-sh.lo $coff" ;;
13421 sh_coff_le_vec
) tb
="$tb coff-sh.lo $coff" ;;
13422 sh_coff_small_vec
) tb
="$tb coff-sh.lo $coff" ;;
13423 sh_coff_small_le_vec
) tb
="$tb coff-sh.lo $coff" ;;
13424 sh_elf32_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13425 sh_elf32_le_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13426 sh_elf32_fdpic_be_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13427 sh_elf32_fdpic_le_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13428 sh_elf32_linux_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13429 sh_elf32_linux_be_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13430 sh_elf32_nbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13431 sh_elf32_nbsd_le_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13432 sh_elf32_vxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13433 sh_elf32_vxworks_le_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
13434 sh_pe_le_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
13435 sh_pei_le_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
13436 sparc_elf32_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13437 sparc_elf32_sol2_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13438 sparc_elf32_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13439 sparc_elf64_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13440 sparc_elf64_fbsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13441 sparc_elf64_sol2_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13442 spu_elf32_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
13443 sym_vec
) tb
="$tb xsym.lo" ;;
13444 tic30_coff_vec
) tb
="$tb coff-tic30.lo $coffgen" ;;
13445 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13446 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13447 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13448 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13449 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13450 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo $coffgen" ;;
13451 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13452 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13453 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13454 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13455 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13456 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo $coffgen" ;;
13457 tic6x_elf32_be_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13458 tic6x_elf32_le_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13459 tic6x_elf32_c6000_be_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13460 tic6x_elf32_c6000_le_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13461 tic6x_elf32_linux_be_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13462 tic6x_elf32_linux_le_vec
) tb
="$tb elf32-tic6x.lo elf32.lo $elf" ;;
13463 tilegx_elf32_be_vec
) tb
="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size
=32 ;;
13464 tilegx_elf32_le_vec
) tb
="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size
=32 ;;
13465 tilegx_elf64_be_vec
) tb
="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size
=64 ;;
13466 tilegx_elf64_le_vec
) tb
="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size
=64 ;;
13467 tilepro_elf32_vec
) tb
="$tb elf32-tilepro.lo elf32.lo $elf" ;;
13468 v800_elf32_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13469 v850_elf32_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13470 vax_aout_1knbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13471 vax_aout_nbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13472 vax_elf32_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
13473 ft32_elf32_vec
) tb
="$tb elf32-ft32.lo elf32.lo $elf" ;;
13474 visium_elf32_vec
) tb
="$tb elf32-visium.lo elf32.lo $elf" ;;
13475 wasm_vec
) tb
="$tb wasm-module.lo" ;;
13476 wasm32_elf32_vec
) tb
="$tb elf32-wasm32.lo elf32.lo $elf" ;;
13477 x86_64_coff_vec
) tb
="$tb coff-x86_64.lo $coff"; target_size
=64 ;;
13478 x86_64_elf32_vec
) tb
="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size
=64 ;;
13479 x86_64_elf64_vec
) tb
="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size
=64 ;;
13480 x86_64_elf64_cloudabi_vec
) tb
="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size
=64 ;;
13481 x86_64_elf64_fbsd_vec
) tb
="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size
=64 ;;
13482 x86_64_elf64_sol2_vec
) tb
="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size
=64 ;;
13483 x86_64_mach_o_vec
) tb
="$tb mach-o-x86-64.lo" ;;
13484 x86_64_pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size
=64 ;;
13485 x86_64_pe_big_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size
=64 ;;
13486 x86_64_pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size
=64 ;;
13487 xc16x_elf32_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
13488 xgate_elf32_vec
) tb
="$tb elf32-xgate.lo elf32.lo $elf" ;;
13489 xstormy16_elf32_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
13490 xtensa_elf32_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13491 xtensa_elf32_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13492 z80_coff_vec
) tb
="$tb coff-z80.lo reloc16.lo $coffgen" ;;
13493 z80_elf32_vec
) tb
="$tb elf32-z80.lo elf32.lo $elf" ;;
13494 z8k_coff_vec
) tb
="$tb coff-z8k.lo reloc16.lo $coff" ;;
13496 # These appear out of order in targets.c
13497 srec_vec
) tb
="$tb srec.lo" ;;
13498 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13499 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13500 core_cisco_be_vec
) tb
="$tb cisco-core.lo" ;;
13501 core_cisco_le_vec
) tb
="$tb cisco-core.lo" ;;
13504 *) as_fn_error $?
"*** unknown target vector $vec" "$LINENO" 5 ;;
13507 if test ${target_size} = 64; then
13510 if test x
"${vec}" = x
"${defvec}"; then
13511 bfd_default_target_size
=${target_size}
13515 if test "$plugins" = "yes"; then
13519 # Target architecture .o files.
13520 # A couple of CPUs use shorter file names to avoid problems on DOS
13522 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13524 # Weed out duplicate .o files.
13546 if test x
${all_targets} = xtrue
; then
13547 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
13548 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
13550 havevecs
=-DHAVE_all_vecs
13552 test -n "$assocvecs" &&
13553 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13554 else # all_targets is true
13555 # Only set these if they will be nonempty, for the clever echo.
13558 test -n "$selvecs" &&
13559 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
13560 test -n "$selvecs" &&
13561 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13562 test -n "$selarchs" &&
13563 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13564 fi # all_targets is true
13566 # 64-bit archives need a 64-bit bfd_vma.
13567 if test "x$want_64_bit_archive" = xtrue
; then
13570 $as_echo "#define USE_64_BIT_ARCHIVE 1" >>confdefs.h
13574 case ${host64}-${target64}-${want64} in
13577 bfd64_libs
='$(BFD64_LIBS)'
13578 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
13579 if test $BFD_HOST_64_BIT_DEFINED = 0; then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested a 64 bit BFD configuration, but" >&5
13581 $as_echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your compiler may not have a 64 bit integral type" >&5
13583 $as_echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
13585 if test -n "$GCC" ; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc version with buggy 64-bit support" >&5
13588 $as_echo_n "checking for gcc version with buggy 64-bit support... " >&6; }
13589 # Add more tests for gcc versions with non-working 64-bit support here.
13590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 :__GNUC__:__GNUC_MINOR__:__i386__:
13594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13595 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then :
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13598 $as_echo "yes: egcs-1.1.2 on ix86 spotted" >&6; }
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13601 $as_echo "no" >&6; }
13605 if test $bad_64bit_gcc = yes ; then
13606 as_fn_error $?
"A newer version of gcc is needed for the requested 64-bit BFD configuration" "$LINENO" 5
13612 all_backends
='$(BFD32_BACKENDS)'
13617 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
13618 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
13619 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
13620 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
13631 # If we are configured native, pick a core file support file.
13636 if test "${target}" = "${host}"; then
13638 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu | alpha
*-*-*vms
*)
13642 COREFILE
=trad-core.lo
13643 TRAD_HEADER
='"hosts/alphalinux.h"'
13645 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
13646 COREFILE
=netbsd-core.lo
13649 COREFILE
=osf-core.lo
13651 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
13653 arm
*-*-netbsd* | arm-
*-openbsd*)
13654 COREFILE
=netbsd-core.lo
13656 arm-
*-riscix) COREFILE
=trad-core.lo
;;
13657 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
13658 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
13659 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
13660 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
13661 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
13662 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
13663 COREFILE
=netbsd-core.lo
13666 i
[3-7]86-sequent-bsd*)
13667 COREFILE
=trad-core.lo
13668 TRAD_HEADER
='"hosts/symmetry.h"'
13670 i
[3-7]86-sequent-sysv4*) ;;
13671 i
[3-7]86-sequent-sysv*)
13672 COREFILE
=trad-core.lo
13673 TRAD_HEADER
='"hosts/symmetry.h"'
13678 i
[3-7]86-*-bsd* | i
[3-7]86-*-freebsd[123] | i
[3-7]86-*-freebsd[123]\.
* | i
[3-7]86-*-freebsd4\.
[01234] | i
[3-7]86-*-freebsd4\.
[01234]\.
* | i
[3-7]86-*-freebsd*aout
*)
13679 COREFILE
=trad-core.lo
13680 TRAD_HEADER
='"hosts/i386bsd.h"'
13682 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu | i
[3-7]86-*-dragonfly*)
13684 TRAD_HEADER
='"hosts/i386bsd.h"'
13686 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
13687 COREFILE
=netbsd-core.lo
13689 i
[3-7]86-esix-sysv3*)
13690 COREFILE
=trad-core.lo
13691 TRAD_HEADER
='"hosts/esix.h"'
13693 i
[3-7]86-*-sco3.2v5
*)
13694 COREFILE
=sco5-core.lo
13696 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
13697 COREFILE
=trad-core.lo
13698 TRAD_HEADER
='"hosts/i386sco.h"'
13701 COREFILE
=trad-core.lo
13702 TRAD_HEADER
='"hosts/i386mach3.h"'
13704 i
[3-7]86-*-linux-*)
13705 COREFILE
=trad-core.lo
13706 TRAD_HEADER
='"hosts/i386linux.h"'
13707 case "$enable_targets"-"$want64" in
13708 *x86_64-
*linux
*|
*-true)
13709 CORE_HEADER
='"hosts/x86-64linux.h"'
13712 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
13713 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
13714 mips
*-*-netbsd* | mips
*-*-openbsd*)
13715 COREFILE
=netbsd-core.lo
13717 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
13718 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
13719 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
13721 COREFILE
=trad-core.lo
13722 TRAD_HEADER
='"hosts/m68klinux.h"'
13725 COREFILE
=netbsd-core.lo
13728 COREFILE
=trad-core.lo
13729 TRAD_HEADER
='"hosts/pc532mach.h"'
13731 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
13732 COREFILE
=netbsd-core.lo
13735 COREFILE
=lynx-core.lo
13737 rs6000-
*-aix[5-9].
* | powerpc-
*-aix[5-9].
* | powerpc64-
*-aix[5-9].
*)
13738 COREFILE
=rs6000-core.lo
13739 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
13741 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
13742 COREFILE
=rs6000-core.lo
13743 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
13744 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
13745 # have c_impl as a member of struct core_dumpx
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c_impl in struct core_dumpx" >&5
13747 $as_echo_n "checking for c_impl in struct core_dumpx... " >&6; }
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13754 struct core_dumpx c; c.c_impl = 0;
13759 if ac_fn_c_try_compile
"$LINENO"; then :
13761 $as_echo "#define HAVE_ST_C_IMPL 1" >>confdefs.h
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13764 $as_echo "yes" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13767 $as_echo "no" >&6; }
13769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13771 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
13772 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
13773 powerpc64-
*-aix*) COREFILE
=rs6000-core.lo
;;
13774 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
13775 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
13776 powerpc-
*-beos*) ;;
13777 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
13779 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
13780 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
13781 s390
*-*-*) COREFILE
=trad-core.lo
;;
13782 sh
*-*-netbsd* | sh
*-*-openbsd*)
13783 COREFILE
=netbsd-core.lo
13785 sparc-
*-netbsd* | sparc
*-*-openbsd*)
13786 COREFILE
=netbsd-core.lo
13788 vax-
*-netbsd* | vax-
*-openbsd*)
13789 COREFILE
=netbsd-core.lo
13792 COREFILE
=trad-core.lo
13793 TRAD_HEADER
='"hosts/vaxult2.h"'
13796 COREFILE
=trad-core.lo
13797 TRAD_HEADER
='"hosts/vaxult2.h"'
13800 COREFILE
=trad-core.lo
13801 TRAD_HEADER
='"hosts/vaxlinux.h"'
13804 COREFILE
=trad-core.lo
13805 TRAD_HEADER
='"hosts/vaxbsd.h"'
13808 CORE_HEADER
='"hosts/x86-64linux.h"'
13810 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
13811 COREFILE
=netbsd-core.lo
13815 case "$COREFILE" in
13816 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
13817 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
13818 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
13819 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
13820 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
13821 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
13822 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
13823 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
13824 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
13825 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
13826 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
13829 # ELF corefile support has several flavors, but all of
13830 # them use something called <sys/procfs.h>
13832 $as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
13834 for ac_header
in sys
/procfs.h
13836 ac_fn_c_check_header_mongrel
"$LINENO" "sys/procfs.h" "ac_cv_header_sys_procfs_h" "$ac_includes_default"
13837 if test "x$ac_cv_header_sys_procfs_h" = xyes
; then :
13838 cat >>confdefs.h
<<_ACEOF
13839 #define HAVE_SYS_PROCFS_H 1
13846 if test "$ac_cv_header_sys_procfs_h" = yes; then
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t in sys/procfs.h" >&5
13849 $as_echo_n "checking for prstatus_t in sys/procfs.h... " >&6; }
13850 if ${bfd_cv_have_sys_procfs_type_prstatus_t+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13857 #include <sys/procfs.h>
13866 if ac_fn_c_try_compile
"$LINENO"; then :
13867 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
13869 bfd_cv_have_sys_procfs_type_prstatus_t
=no
13872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13875 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
13877 $as_echo "#define HAVE_PRSTATUS_T 1" >>confdefs.h
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
13881 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t in sys/procfs.h" >&5
13885 $as_echo_n "checking for prstatus32_t in sys/procfs.h... " >&6; }
13886 if ${bfd_cv_have_sys_procfs_type_prstatus32_t+:} false
; then :
13887 $as_echo_n "(cached) " >&6
13889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13893 #include <sys/procfs.h>
13902 if ac_fn_c_try_compile
"$LINENO"; then :
13903 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
13905 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
13908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13911 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
13913 $as_echo "#define HAVE_PRSTATUS32_T 1" >>confdefs.h
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
13917 $as_echo "$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus_t.pr_who in sys/procfs.h" >&5
13921 $as_echo_n "checking for prstatus_t.pr_who in sys/procfs.h... " >&6; }
13922 if ${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13929 #include <sys/procfs.h>
13933 prstatus_t avar; void* aref = (void*) &avar.pr_who
13938 if ac_fn_c_try_compile
"$LINENO"; then :
13939 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
13941 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
13944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13947 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
13949 $as_echo "#define HAVE_PRSTATUS_T_PR_WHO 1" >>confdefs.h
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
13953 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
13957 $as_echo_n "checking for prstatus32_t.pr_who in sys/procfs.h... " >&6; }
13958 if ${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+:} false
; then :
13959 $as_echo_n "(cached) " >&6
13961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13965 #include <sys/procfs.h>
13969 prstatus32_t avar; void* aref = (void*) &avar.pr_who
13974 if ac_fn_c_try_compile
"$LINENO"; then :
13975 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
13977 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
13980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13983 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
13985 $as_echo "#define HAVE_PRSTATUS32_T_PR_WHO 1" >>confdefs.h
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
13989 $as_echo "$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus_t in sys/procfs.h" >&5
13993 $as_echo_n "checking for pstatus_t in sys/procfs.h... " >&6; }
13994 if ${bfd_cv_have_sys_procfs_type_pstatus_t+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14001 #include <sys/procfs.h>
14010 if ac_fn_c_try_compile
"$LINENO"; then :
14011 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
14013 bfd_cv_have_sys_procfs_type_pstatus_t
=no
14016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14019 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
14021 $as_echo "#define HAVE_PSTATUS_T 1" >>confdefs.h
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
14025 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pxstatus_t in sys/procfs.h" >&5
14029 $as_echo_n "checking for pxstatus_t in sys/procfs.h... " >&6; }
14030 if ${bfd_cv_have_sys_procfs_type_pxstatus_t+:} false
; then :
14031 $as_echo_n "(cached) " >&6
14033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14037 #include <sys/procfs.h>
14046 if ac_fn_c_try_compile
"$LINENO"; then :
14047 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
14049 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
14052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
14057 $as_echo "#define HAVE_PXSTATUS_T 1" >>confdefs.h
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
14061 $as_echo "$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pstatus32_t in sys/procfs.h" >&5
14065 $as_echo_n "checking for pstatus32_t in sys/procfs.h... " >&6; }
14066 if ${bfd_cv_have_sys_procfs_type_pstatus32_t+:} false
; then :
14067 $as_echo_n "(cached) " >&6
14069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14073 #include <sys/procfs.h>
14082 if ac_fn_c_try_compile
"$LINENO"; then :
14083 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
14085 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
14088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14091 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
14093 $as_echo "#define HAVE_PSTATUS32_T 1" >>confdefs.h
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
14097 $as_echo "$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t in sys/procfs.h" >&5
14101 $as_echo_n "checking for prpsinfo_t in sys/procfs.h... " >&6; }
14102 if ${bfd_cv_have_sys_procfs_type_prpsinfo_t+:} false
; then :
14103 $as_echo_n "(cached) " >&6
14105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14109 #include <sys/procfs.h>
14118 if ac_fn_c_try_compile
"$LINENO"; then :
14119 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
14121 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
14124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14127 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
14129 $as_echo "#define HAVE_PRPSINFO_T 1" >>confdefs.h
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
14133 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo_t.pr_pid in sys/procfs.h" >&5
14137 $as_echo_n "checking for prpsinfo_t.pr_pid in sys/procfs.h... " >&6; }
14138 if ${bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid+:} false
; then :
14139 $as_echo_n "(cached) " >&6
14141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14145 #include <sys/procfs.h>
14149 prpsinfo_t avar; void* aref = (void*) &avar.pr_pid
14154 if ac_fn_c_try_compile
"$LINENO"; then :
14155 bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid
=yes
14157 bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid
=no
14160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14163 if test $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid = yes; then
14165 $as_echo "#define HAVE_PRPSINFO_T_PR_PID 1" >>confdefs.h
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&5
14169 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo_t_pr_pid" >&6; }
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t in sys/procfs.h" >&5
14173 $as_echo_n "checking for prpsinfo32_t in sys/procfs.h... " >&6; }
14174 if ${bfd_cv_have_sys_procfs_type_prpsinfo32_t+:} false
; then :
14175 $as_echo_n "(cached) " >&6
14177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14181 #include <sys/procfs.h>
14190 if ac_fn_c_try_compile
"$LINENO"; then :
14191 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
14193 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
14196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
14201 $as_echo "#define HAVE_PRPSINFO32_T 1" >>confdefs.h
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
14205 $as_echo "$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prpsinfo32_t.pr_pid in sys/procfs.h" >&5
14209 $as_echo_n "checking for prpsinfo32_t.pr_pid in sys/procfs.h... " >&6; }
14210 if ${bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14217 #include <sys/procfs.h>
14221 prpsinfo32_t avar; void* aref = (void*) &avar.pr_pid
14226 if ac_fn_c_try_compile
"$LINENO"; then :
14227 bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid
=yes
14229 bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid
=no
14232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14235 if test $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid = yes; then
14237 $as_echo "#define HAVE_PRPSINFO32_T_PR_PID 1" >>confdefs.h
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&5
14241 $as_echo "$bfd_cv_have_sys_procfs_type_member_prpsinfo32_t_pr_pid" >&6; }
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t in sys/procfs.h" >&5
14245 $as_echo_n "checking for psinfo_t in sys/procfs.h... " >&6; }
14246 if ${bfd_cv_have_sys_procfs_type_psinfo_t+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14253 #include <sys/procfs.h>
14262 if ac_fn_c_try_compile
"$LINENO"; then :
14263 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
14265 bfd_cv_have_sys_procfs_type_psinfo_t
=no
14268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
14273 $as_echo "#define HAVE_PSINFO_T 1" >>confdefs.h
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
14277 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo_t.pr_pid in sys/procfs.h" >&5
14281 $as_echo_n "checking for psinfo_t.pr_pid in sys/procfs.h... " >&6; }
14282 if ${bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14289 #include <sys/procfs.h>
14293 psinfo_t avar; void* aref = (void*) &avar.pr_pid
14298 if ac_fn_c_try_compile
"$LINENO"; then :
14299 bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid
=yes
14301 bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid
=no
14304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14307 if test $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid = yes; then
14309 $as_echo "#define HAVE_PSINFO_T_PR_PID 1" >>confdefs.h
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&5
14313 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo_t_pr_pid" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t in sys/procfs.h" >&5
14317 $as_echo_n "checking for psinfo32_t in sys/procfs.h... " >&6; }
14318 if ${bfd_cv_have_sys_procfs_type_psinfo32_t+:} false
; then :
14319 $as_echo_n "(cached) " >&6
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14325 #include <sys/procfs.h>
14334 if ac_fn_c_try_compile
"$LINENO"; then :
14335 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
14337 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
14340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14343 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
14345 $as_echo "#define HAVE_PSINFO32_T 1" >>confdefs.h
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
14349 $as_echo "$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psinfo32_t.pr_pid in sys/procfs.h" >&5
14353 $as_echo_n "checking for psinfo32_t.pr_pid in sys/procfs.h... " >&6; }
14354 if ${bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid+:} false
; then :
14355 $as_echo_n "(cached) " >&6
14357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14361 #include <sys/procfs.h>
14365 psinfo32_t avar; void* aref = (void*) &avar.pr_pid
14370 if ac_fn_c_try_compile
"$LINENO"; then :
14371 bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid
=yes
14373 bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid
=no
14376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 if test $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid = yes; then
14381 $as_echo "#define HAVE_PSINFO32_T_PR_PID 1" >>confdefs.h
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&5
14385 $as_echo "$bfd_cv_have_sys_procfs_type_member_psinfo32_t_pr_pid" >&6; }
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t in sys/procfs.h" >&5
14389 $as_echo_n "checking for lwpstatus_t in sys/procfs.h... " >&6; }
14390 if ${bfd_cv_have_sys_procfs_type_lwpstatus_t+:} false
; then :
14391 $as_echo_n "(cached) " >&6
14393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14397 #include <sys/procfs.h>
14406 if ac_fn_c_try_compile
"$LINENO"; then :
14407 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
14409 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
14412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14415 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
14417 $as_echo "#define HAVE_LWPSTATUS_T 1" >>confdefs.h
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
14421 $as_echo "$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpxstatus_t in sys/procfs.h" >&5
14425 $as_echo_n "checking for lwpxstatus_t in sys/procfs.h... " >&6; }
14426 if ${bfd_cv_have_sys_procfs_type_lwpxstatus_t+:} false
; then :
14427 $as_echo_n "(cached) " >&6
14429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h. */
14433 #include <sys/procfs.h>
14442 if ac_fn_c_try_compile
"$LINENO"; then :
14443 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
14445 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
14448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14451 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
14453 $as_echo "#define HAVE_LWPXSTATUS_T 1" >>confdefs.h
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
14457 $as_echo "$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
14461 $as_echo_n "checking for lwpstatus_t.pr_context in sys/procfs.h... " >&6; }
14462 if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+:} false
; then :
14463 $as_echo_n "(cached) " >&6
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14469 #include <sys/procfs.h>
14473 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
14478 if ac_fn_c_try_compile
"$LINENO"; then :
14479 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
14481 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
14484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14487 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
14489 $as_echo "#define HAVE_LWPSTATUS_T_PR_CONTEXT 1" >>confdefs.h
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
14493 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
14497 $as_echo_n "checking for lwpstatus_t.pr_reg in sys/procfs.h... " >&6; }
14498 if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+:} false
; then :
14499 $as_echo_n "(cached) " >&6
14501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14505 #include <sys/procfs.h>
14509 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
14514 if ac_fn_c_try_compile
"$LINENO"; then :
14515 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
14517 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
14520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14523 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
14525 $as_echo "#define HAVE_LWPSTATUS_T_PR_REG 1" >>confdefs.h
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
14529 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpstatus_t.pr_fpreg in sys/procfs.h" >&5
14533 $as_echo_n "checking for lwpstatus_t.pr_fpreg in sys/procfs.h... " >&6; }
14534 if ${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg+:} false
; then :
14535 $as_echo_n "(cached) " >&6
14537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14541 #include <sys/procfs.h>
14545 lwpstatus_t avar; void* aref = (void*) &avar.pr_fpreg
14550 if ac_fn_c_try_compile
"$LINENO"; then :
14551 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg
=yes
14553 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg
=no
14556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14559 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg = yes; then
14561 $as_echo "#define HAVE_LWPSTATUS_T_PR_FPREG 1" >>confdefs.h
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&5
14565 $as_echo "$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_fpreg" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32_pstatus_t in sys/procfs.h" >&5
14569 $as_echo_n "checking for win32_pstatus_t in sys/procfs.h... " >&6; }
14570 if ${bfd_cv_have_sys_procfs_type_win32_pstatus_t+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14577 #include <sys/procfs.h>
14581 win32_pstatus_t avar
14586 if ac_fn_c_try_compile
"$LINENO"; then :
14587 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
14589 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
14592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
14597 $as_echo "#define HAVE_WIN32_PSTATUS_T 1" >>confdefs.h
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
14601 $as_echo "$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
14607 if test -n "$CORE_HEADER"; then
14609 cat >>confdefs.h
<<_ACEOF
14610 #define CORE_HEADER $CORE_HEADER
14614 if test -n "$TRAD_HEADER"; then
14616 cat >>confdefs.h
<<_ACEOF
14617 #define TRAD_HEADER $TRAD_HEADER
14622 if test "$plugins" = "yes"; then
14630 # Determine the host dependent file_ptr a.k.a. off_t type. In order
14631 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
14632 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
14633 # Hopefully a reasonable assumption since fseeko et.al. should be
14634 # upward compatible.
14635 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
14637 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14638 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14639 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14640 cat >>confdefs.h
<<_ACEOF
14641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14647 ac_fn_c_check_decl
"$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
14648 if test "x$ac_cv_have_decl_ftello" = xyes
; then :
14654 cat >>confdefs.h
<<_ACEOF
14655 #define HAVE_DECL_FTELLO $ac_have_decl
14657 ac_fn_c_check_decl
"$LINENO" "ftello64" "ac_cv_have_decl_ftello64" "$ac_includes_default"
14658 if test "x$ac_cv_have_decl_ftello64" = xyes
; then :
14664 cat >>confdefs.h
<<_ACEOF
14665 #define HAVE_DECL_FTELLO64 $ac_have_decl
14667 ac_fn_c_check_decl
"$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
14668 if test "x$ac_cv_have_decl_fseeko" = xyes
; then :
14674 cat >>confdefs.h
<<_ACEOF
14675 #define HAVE_DECL_FSEEKO $ac_have_decl
14677 ac_fn_c_check_decl
"$LINENO" "fseeko64" "ac_cv_have_decl_fseeko64" "$ac_includes_default"
14678 if test "x$ac_cv_have_decl_fseeko64" = xyes
; then :
14684 cat >>confdefs.h
<<_ACEOF
14685 #define HAVE_DECL_FSEEKO64 $ac_have_decl
14687 ac_fn_c_check_decl
"$LINENO" "fopen64" "ac_cv_have_decl_fopen64" "$ac_includes_default"
14688 if test "x$ac_cv_have_decl_fopen64" = xyes
; then :
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_DECL_FOPEN64 $ac_have_decl
14698 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
14699 # The cast to long int works around a bug in the HP C Compiler
14700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14702 # This bug is HP SR number 8606223364.
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
14704 $as_echo_n "checking size of off_t... " >&6; }
14705 if ${ac_cv_sizeof_off_t+:} false
; then :
14706 $as_echo_n "(cached) " >&6
14708 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
14711 if test "$ac_cv_type_off_t" = yes; then
14712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14714 as_fn_error
77 "cannot compute sizeof (off_t)
14715 See \`config.log' for more details" "$LINENO" 5; }
14717 ac_cv_sizeof_off_t
=0
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
14723 $as_echo "$ac_cv_sizeof_off_t" >&6; }
14727 cat >>confdefs.h
<<_ACEOF
14728 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file_ptr type" >&5
14734 $as_echo_n "checking file_ptr type... " >&6; }
14735 bfd_file_ptr
="long"
14736 bfd_ufile_ptr
="unsigned long"
14737 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
14738 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
14739 bfd_file_ptr
=BFD_HOST_64_BIT
14740 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_file_ptr" >&5
14743 $as_echo "$bfd_file_ptr" >&6; }
14750 for ac_header
in $ac_header_list
14752 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14753 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14755 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14756 cat >>confdefs.h
<<_ACEOF
14757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14771 for ac_func
in getpagesize
14773 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14774 if test "x$ac_cv_func_getpagesize" = xyes
; then :
14775 cat >>confdefs.h
<<_ACEOF
14776 #define HAVE_GETPAGESIZE 1
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14783 $as_echo_n "checking for working mmap... " >&6; }
14784 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
14785 $as_echo_n "(cached) " >&6
14787 if test "$cross_compiling" = yes; then :
14788 ac_cv_func_mmap_fixed_mapped
=no
14790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 $ac_includes_default
14793 /* malloc might have been renamed as rpl_malloc. */
14796 /* Thanks to Mike Haertel and Jim Avera for this test.
14797 Here is a matrix of mmap possibilities:
14798 mmap private not fixed
14799 mmap private fixed at somewhere currently unmapped
14800 mmap private fixed at somewhere already mapped
14801 mmap shared not fixed
14802 mmap shared fixed at somewhere currently unmapped
14803 mmap shared fixed at somewhere already mapped
14804 For private mappings, we should verify that changes cannot be read()
14805 back from the file, nor mmap's back from the file at a different
14806 address. (There have been systems where private was not correctly
14807 implemented like the infamous i386 svr4.0, and systems where the
14808 VM page cache was not coherent with the file system buffer cache
14809 like early versions of FreeBSD and possibly contemporary NetBSD.)
14810 For shared mappings, we should conversely verify that changes get
14811 propagated back to all the places they're supposed to be.
14813 Grep wants private fixed already mapped.
14814 The main things grep needs to know about mmap are:
14815 * does it exist and is it safe to write into the mmap'd area
14816 * how to use it (BSD variants) */
14819 #include <sys/mman.h>
14821 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14825 /* This mess was copied from the GNU getpagesize.h. */
14826 #ifndef HAVE_GETPAGESIZE
14827 # ifdef _SC_PAGESIZE
14828 # define getpagesize() sysconf(_SC_PAGESIZE)
14829 # else /* no _SC_PAGESIZE */
14830 # ifdef HAVE_SYS_PARAM_H
14831 # include <sys/param.h>
14832 # ifdef EXEC_PAGESIZE
14833 # define getpagesize() EXEC_PAGESIZE
14834 # else /* no EXEC_PAGESIZE */
14836 # define getpagesize() NBPG * CLSIZE
14839 # endif /* no CLSIZE */
14840 # else /* no NBPG */
14842 # define getpagesize() NBPC
14843 # else /* no NBPC */
14845 # define getpagesize() PAGESIZE
14846 # endif /* PAGESIZE */
14847 # endif /* no NBPC */
14848 # endif /* no NBPG */
14849 # endif /* no EXEC_PAGESIZE */
14850 # else /* no HAVE_SYS_PARAM_H */
14851 # define getpagesize() 8192 /* punt totally */
14852 # endif /* no HAVE_SYS_PARAM_H */
14853 # endif /* no _SC_PAGESIZE */
14855 #endif /* no HAVE_GETPAGESIZE */
14860 char *data, *data2, *data3;
14861 const char *cdata2;
14865 pagesize = getpagesize ();
14867 /* First, make a file with some known garbage in it. */
14868 data = (char *) malloc (pagesize);
14871 for (i = 0; i < pagesize; ++i)
14872 *(data + i) = rand ();
14874 fd = creat ("conftest.mmap", 0600);
14877 if (write (fd, data, pagesize) != pagesize)
14881 /* Next, check that the tail of a page is zero-filled. File must have
14882 non-zero length, otherwise we risk SIGBUS for entire page. */
14883 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14887 if (write (fd2, cdata2, 1) != 1)
14889 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14890 if (data2 == MAP_FAILED)
14892 for (i = 0; i < pagesize; ++i)
14896 if (munmap (data2, pagesize))
14899 /* Next, try to mmap the file at a fixed address which already has
14900 something else allocated at it. If we can, also make sure that
14901 we see the same garbage. */
14902 fd = open ("conftest.mmap", O_RDWR);
14905 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14906 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14908 for (i = 0; i < pagesize; ++i)
14909 if (*(data + i) != *(data2 + i))
14912 /* Finally, make sure that changes to the mapped area do not
14913 percolate back to the file as seen by read(). (This is a bug on
14914 some variants of i386 svr4.0.) */
14915 for (i = 0; i < pagesize; ++i)
14916 *(data2 + i) = *(data2 + i) + 1;
14917 data3 = (char *) malloc (pagesize);
14920 if (read (fd, data3, pagesize) != pagesize)
14922 for (i = 0; i < pagesize; ++i)
14923 if (*(data + i) != *(data3 + i))
14929 if ac_fn_c_try_run
"$LINENO"; then :
14930 ac_cv_func_mmap_fixed_mapped
=yes
14932 ac_cv_func_mmap_fixed_mapped
=no
14934 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14935 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14940 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14941 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14943 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14946 rm -f conftest.mmap conftest.txt
14948 for ac_func
in madvise mprotect
14950 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14951 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14952 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14953 cat >>confdefs.h
<<_ACEOF
14954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14960 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
14962 $as_echo "#define USE_MMAP 1" >>confdefs.h
14966 rm -f doc
/config.status
14967 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
14970 ac_config_commands
="$ac_config_commands default"
14978 cat >confcache
<<\_ACEOF
14979 # This file is a shell script that caches the results of configure
14980 # tests run on this system so they can be shared between configure
14981 # scripts and configure runs, see configure's option --config-cache.
14982 # It is not useful on other systems. If it contains results you don't
14983 # want to keep, you may remove or edit it.
14985 # config.status only pays attention to the cache file if you give it
14986 # the --recheck option to rerun configure.
14988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14990 # following values.
14994 # The following way of writing the cache mishandles newlines in values,
14995 # but we know of no workaround that is simple, portable, and efficient.
14996 # So, we kill variables containing newlines.
14997 # Ultrix sh set writes to stderr and can't be redirected directly,
14998 # and sets the high bit in the cache file unless we assign to the vars.
15000 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15001 eval ac_val
=\$
$ac_var
15005 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15009 _ | IFS | as_nl
) ;; #(
15010 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15011 *) { eval $ac_var=; unset $ac_var;} ;;
15017 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15018 *${as_nl}ac_space
=\
*)
15019 # `set' does not quote correctly, so add quotes: double-quote
15020 # substitution turns \\\\ into \\, and sed turns \\ into \.
15023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15026 # `set' quotes correctly as required by POSIX, so do not add quotes.
15027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15038 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15040 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15041 if test -w "$cache_file"; then
15042 if test "x$cache_file" != "x/dev/null"; then
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15044 $as_echo "$as_me: updating cache $cache_file" >&6;}
15045 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15046 cat confcache
>"$cache_file"
15048 case $cache_file in #(
15050 mv -f confcache
"$cache_file"$$
&&
15051 mv -f "$cache_file"$$
"$cache_file" ;; #(
15053 mv -f confcache
"$cache_file" ;;
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15059 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15064 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15065 # Let make expand exec_prefix.
15066 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15068 DEFS
=-DHAVE_CONFIG_H
15073 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15074 # 1. Remove the extension, and $U if already installed.
15075 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15076 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15077 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15078 # will be set to the directory where LIBOBJS objects are built.
15079 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15080 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15082 LIBOBJS
=$ac_libobjs
15084 LTLIBOBJS
=$ac_ltlibobjs
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15088 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15089 if test -n "$am_sleep_pid"; then
15090 # Hide warnings about reused PIDs.
15091 wait $am_sleep_pid 2>/dev
/null
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15094 $as_echo "done" >&6; }
15095 if test -n "$EXEEXT"; then
15097 am__EXEEXT_FALSE
='#'
15099 am__EXEEXT_TRUE
='#'
15103 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15104 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15107 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15108 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15111 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
15112 as_fn_error $?
"conditional \"PLUGINS\" was never defined.
15113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15115 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15116 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15119 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15120 as_fn_error $?
"conditional \"GENINSRC_NEVER\" was never defined.
15121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15123 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
15124 as_fn_error $?
"conditional \"INSTALL_LIBBFD\" was never defined.
15125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15128 : "${CONFIG_STATUS=./config.status}"
15130 ac_clean_files_save
=$ac_clean_files
15131 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15133 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15135 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15137 # Generated by $as_me.
15138 # Run this file to recreate the current configuration.
15139 # Compiler output produced by configure, useful for debugging
15140 # configure, is in config.log if it exists.
15143 ac_cs_recheck=false
15146 SHELL=\${CONFIG_SHELL-$SHELL}
15149 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15150 ## -------------------- ##
15151 ## M4sh Initialization. ##
15152 ## -------------------- ##
15154 # Be more Bourne compatible
15155 DUALCASE
=1; export DUALCASE
# for MKS sh
15156 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15159 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15160 # is contrary to our usage. Disable this feature.
15161 alias -g '${1+"$@"}'='"$@"'
15162 setopt NO_GLOB_SUBST
15164 case `(set -o) 2>/dev/null` in #(
15176 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15177 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15180 # Prefer a ksh shell builtin over an external printf program on Solaris,
15181 # but without wasting forks for bash or zsh.
15182 if test -z "$BASH_VERSION$ZSH_VERSION" \
15183 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15184 as_echo='print
-r --'
15185 as_echo_n='print
-rn --'
15186 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15187 as_echo='printf %s
\n'
15188 as_echo_n='printf %s
'
15190 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15191 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15192 as_echo_n='/usr
/ucb
/echo -n'
15194 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15195 as_echo_n_body='eval
15199 expr "X$arg" : "X\\(.*\\)$as_nl";
15200 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15202 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15204 export as_echo_n_body
15205 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15207 export as_echo_body
15208 as_echo='sh
-c $as_echo_body as_echo
'
15211 # The user is always right.
15212 if test "${PATH_SEPARATOR+set}" != set; then
15214 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15215 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15222 # We need space, tab and new line, in precisely that order. Quoting is
15223 # there to prevent editors from complaining about space-tab.
15224 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15225 # splitting by setting IFS to empty value.)
15228 # Find who we are. Look in the path if we contain no directory separator.
15231 *[\\/]* ) as_myself=$0 ;;
15232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15233 for as_dir in $PATH
15236 test -z "$as_dir" && as_dir=.
15237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15243 # We did not find ourselves, most probably we were run as `sh COMMAND'
15244 # in which case we are not to be found in the path.
15245 if test "x$as_myself" = x
; then
15248 if test ! -f "$as_myself"; then
15249 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15253 # Unset variables that we do not need and which cause bugs (e.g. in
15254 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15255 # suppresses any "Segmentation fault" message there. '((' could
15256 # trigger a bug in pdksh 5.2.14.
15257 for as_var
in BASH_ENV ENV MAIL MAILPATH
15258 do eval test x\
${$as_var+set} = xset \
15259 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15272 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15275 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15276 # ----------------------------------------
15277 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15278 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15279 # script with STATUS, using 1 if that was 0.
15282 as_status
=$1; test $as_status -eq 0 && as_status
=1
15284 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15285 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15287 $as_echo "$as_me: error: $2" >&2
15288 as_fn_exit
$as_status
15292 # as_fn_set_status STATUS
15293 # -----------------------
15294 # Set $? to STATUS, without forking.
15295 as_fn_set_status
()
15298 } # as_fn_set_status
15300 # as_fn_exit STATUS
15301 # -----------------
15302 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15306 as_fn_set_status
$1
15312 # Portably unset VAR.
15315 { eval $1=; unset $1;}
15317 as_unset
=as_fn_unset
15318 # as_fn_append VAR VALUE
15319 # ----------------------
15320 # Append the text in VALUE to the end of the definition contained in VAR. Take
15321 # advantage of any shell optimizations that allow amortized linear growth over
15322 # repeated appends, instead of the typical quadratic growth present in naive
15324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15325 eval 'as_fn_append ()
15336 # as_fn_arith ARG...
15337 # ------------------
15338 # Perform arithmetic evaluation on the ARGs, and store the result in the
15339 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15340 # must be portable across $(()) and expr.
15341 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15342 eval 'as_fn_arith ()
15349 as_val
=`expr "$@" || test $? -eq 1`
15354 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15355 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15361 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15362 as_basename
=basename
15367 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15373 as_me
=`$as_basename -- "$0" ||
15374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15375 X"$0" : 'X\(//\)$' \| \
15376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15378 sed '/^.*\/\([^/][^/]*\)\/*$/{
15392 # Avoid depending upon Character Ranges.
15393 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15394 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15395 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15396 as_cr_digits
='0123456789'
15397 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15399 ECHO_C
= ECHO_N
= ECHO_T
=
15400 case `echo -n x` in #(((((
15402 case `echo 'xy\c'` in
15403 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15405 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15412 rm -f conf$$ conf$$.exe conf$$.
file
15413 if test -d conf$$.dir
; then
15414 rm -f conf$$.dir
/conf$$.
file
15417 mkdir conf$$.dir
2>/dev
/null
15419 if (echo >conf$$.
file) 2>/dev
/null
; then
15420 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15422 # ... but there are two gotchas:
15423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15425 # In both cases, we have to default to `cp -pR'.
15426 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15428 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15436 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15437 rmdir conf$$.dir
2>/dev
/null
15442 # Create "$as_dir" as a directory, including parents if necessary.
15447 -*) as_dir
=.
/$as_dir;;
15449 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15453 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15454 *) as_qdir
=$as_dir;;
15456 as_dirs
="'$as_qdir' $as_dirs"
15457 as_dir
=`$as_dirname -- "$as_dir" ||
15458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15459 X"$as_dir" : 'X\(//\)[^/]' \| \
15460 X"$as_dir" : 'X\(//\)$' \| \
15461 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15462 $as_echo X"$as_dir" |
15463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15467 /^X\(\/\/\)[^/].*/{
15480 test -d "$as_dir" && break
15482 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15483 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15487 if mkdir
-p .
2>/dev
/null
; then
15488 as_mkdir_p
='mkdir -p "$as_dir"'
15490 test -d .
/-p && rmdir .
/-p
15495 # as_fn_executable_p FILE
15496 # -----------------------
15497 # Test if FILE is an executable regular file.
15498 as_fn_executable_p
()
15500 test -f "$1" && test -x "$1"
15501 } # as_fn_executable_p
15502 as_test_x
='test -x'
15503 as_executable_p
=as_fn_executable_p
15505 # Sed expression to map a string onto a valid CPP name.
15506 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15508 # Sed expression to map a string onto a valid variable name.
15509 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15513 ## ----------------------------------- ##
15514 ## Main body of $CONFIG_STATUS script. ##
15515 ## ----------------------------------- ##
15517 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15520 # Save the log message, to keep $0 and so on meaningful, and to
15521 # report actual input values of CONFIG_FILES etc. instead of their
15522 # values after options handling.
15524 This file was extended by bfd $as_me 2.36.50, which was
15525 generated by GNU Autoconf 2.69. Invocation command line was
15527 CONFIG_FILES = $CONFIG_FILES
15528 CONFIG_HEADERS = $CONFIG_HEADERS
15529 CONFIG_LINKS = $CONFIG_LINKS
15530 CONFIG_COMMANDS = $CONFIG_COMMANDS
15533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15538 case $ac_config_files in *"
15539 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15542 case $ac_config_headers in *"
15543 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15548 # Files that config.status was made for.
15549 config_files="$ac_config_files"
15550 config_headers="$ac_config_headers"
15551 config_commands="$ac_config_commands"
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15557 \`$as_me' instantiates files and other configuration actions
15558 from templates according to the current configuration. Unless the files
15559 and actions are specified as TAGs, all are instantiated by default.
15561 Usage: $0 [OPTION]... [TAG]...
15563 -h, --help print this help, then exit
15564 -V, --version print version number and configuration settings, then exit
15565 --config print configuration, then exit
15566 -q, --quiet, --silent
15567 do not print progress messages
15568 -d, --debug don't remove temporary files
15569 --recheck update $as_me by reconfiguring in the same conditions
15570 --file=FILE[:TEMPLATE]
15571 instantiate the configuration file FILE
15572 --header=FILE[:TEMPLATE]
15573 instantiate the configuration header FILE
15575 Configuration files:
15578 Configuration headers:
15581 Configuration commands:
15584 Report bugs to the package provider."
15587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15588 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15590 bfd config.status 2.36.50
15591 configured by $0, generated by GNU Autoconf 2.69,
15592 with options \\"\$ac_cs_config\\"
15594 Copyright (C) 2012 Free Software Foundation, Inc.
15595 This config.status script is free software; the Free Software Foundation
15596 gives unlimited permission to copy, distribute and modify it."
15603 test -n "\$AWK" || AWK=awk
15606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15607 # The default lists apply if the user does not specify any file.
15613 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15614 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15618 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15630 # Handling of the options.
15631 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15633 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15634 $as_echo "$ac_cs_version"; exit ;;
15635 --config |
--confi |
--conf |
--con |
--co |
--c )
15636 $as_echo "$ac_cs_config"; exit ;;
15637 --debug |
--debu |
--deb |
--de |
--d |
-d )
15639 --file |
--fil |
--fi |
--f )
15642 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15643 '') as_fn_error $?
"missing file argument" ;;
15645 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15646 ac_need_defaults
=false
;;
15647 --header |
--heade |
--head |
--hea )
15650 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15652 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15653 ac_need_defaults
=false
;;
15655 # Conflict between --help and --header
15656 as_fn_error $?
"ambiguous option: \`$1'
15657 Try \`$0 --help' for more information.";;
15658 --help |
--hel |
-h )
15659 $as_echo "$ac_cs_usage"; exit ;;
15660 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15661 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15664 # This is an error.
15665 -*) as_fn_error $?
"unrecognized option: \`$1'
15666 Try \`$0 --help' for more information." ;;
15668 *) as_fn_append ac_config_targets
" $1"
15669 ac_need_defaults
=false
;;
15675 ac_configure_extra_args
=
15677 if $ac_cs_silent; then
15679 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15684 if \$ac_cs_recheck; then
15685 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15687 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15688 CONFIG_SHELL='$SHELL'
15689 export CONFIG_SHELL
15694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15699 ## Running $as_me. ##
15705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15712 # The HP-UX ksh and POSIX shell print the target directory to stdout
15713 # if CDPATH is set.
15714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15716 sed_quote_subst='$sed_quote_subst'
15717 double_quote_subst='$double_quote_subst'
15718 delay_variable_subst='$delay_variable_subst'
15719 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15720 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15721 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15722 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15723 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15724 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15725 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15726 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15727 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15728 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15729 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15730 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15731 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15732 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15733 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15734 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15735 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15736 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15737 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15738 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15739 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15740 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15741 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15742 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15743 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15744 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15745 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15746 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15749 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15750 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15751 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15752 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15753 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15754 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15755 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15756 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15757 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15758 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15759 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15760 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15761 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15762 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15763 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15764 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15765 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15766 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15767 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"`'
15768 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15769 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15770 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15771 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15772 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15773 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15774 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15775 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15776 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15777 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15778 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15779 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15780 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15781 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15782 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15783 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15784 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15785 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15786 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15787 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15788 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15789 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15790 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15791 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15792 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15793 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15794 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15795 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15796 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15797 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15798 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15799 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15800 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15801 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15802 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15803 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15804 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15805 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15806 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15807 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15808 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15809 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15810 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15811 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15812 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15813 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15814 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15815 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15816 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15817 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15818 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15819 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15820 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15821 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15822 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15823 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15824 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15825 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15826 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15827 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15828 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15829 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15830 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15831 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15832 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15833 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15834 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15835 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15836 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15837 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15838 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15841 LTCFLAGS='$LTCFLAGS'
15842 compiler='$compiler_DEFAULT'
15844 # A function that is used when there is no print builtin or printf.
15845 func_fallback_echo ()
15847 eval 'cat <<_LTECHO_EOF
15852 # Quote evaled strings.
15866 deplibs_check_method \
15875 lt_cv_sys_global_symbol_pipe \
15876 lt_cv_sys_global_symbol_to_cdecl \
15877 lt_cv_sys_global_symbol_to_c_name_address \
15878 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15879 lt_prog_compiler_no_builtin_flag \
15880 lt_prog_compiler_wl \
15881 lt_prog_compiler_pic \
15882 lt_prog_compiler_static \
15883 lt_cv_prog_compiler_c_o \
15891 export_dynamic_flag_spec \
15892 whole_archive_flag_spec \
15893 compiler_needs_object \
15895 allow_undefined_flag \
15896 no_undefined_flag \
15897 hardcode_libdir_flag_spec \
15898 hardcode_libdir_flag_spec_ld \
15899 hardcode_libdir_separator \
15904 variables_saved_for_relink \
15906 library_names_spec \
15908 install_override_mode \
15912 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15913 *[\\\\\\\`\\"\\\$]*)
15914 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15917 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15922 # Double-quote double-evaled strings.
15923 for var in reload_cmds \
15924 old_postinstall_cmds \
15925 old_postuninstall_cmds \
15927 extract_expsyms_cmds \
15928 old_archive_from_new_cmds \
15929 old_archive_from_expsyms_cmds \
15931 archive_expsym_cmds \
15933 module_expsym_cmds \
15934 export_symbols_cmds \
15937 postuninstall_cmds \
15939 sys_lib_search_path_spec \
15940 sys_lib_dlsearch_path_spec; do
15941 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15942 *[\\\\\\\`\\"\\\$]*)
15943 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15946 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15951 ac_aux_dir='$ac_aux_dir'
15952 xsi_shell='$xsi_shell'
15953 lt_shell_append='$lt_shell_append'
15955 # See if we are running on zsh, and set the options which allow our
15956 # commands through without removal of \ escapes INIT.
15957 if test -n "\${ZSH_VERSION+set}" ; then
15958 setopt NO_GLOB_SUBST
15964 TIMESTAMP='$TIMESTAMP'
15970 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15971 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15973 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15974 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15975 LINGUAS="${LINGUAS-%UNSET%}"
15981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15983 # Handling of arguments.
15984 for ac_config_target
in $ac_config_targets
15986 case $ac_config_target in
15987 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15988 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15989 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15990 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15991 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15992 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15993 "bfd-in3.h") CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15994 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15995 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15997 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16002 # If the user did not use the arguments to specify the items to instantiate,
16003 # then the envvar interface is used. Set only those that are not.
16004 # We use the long form for the default assignment because of an extremely
16005 # bizarre bug on SunOS 4.1.3.
16006 if $ac_need_defaults; then
16007 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16008 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16009 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16012 # Have a temporary directory for convenience. Make it in the build tree
16013 # simply because there is no reason against having it here, and in addition,
16014 # creating and moving files from /tmp can sometimes cause problems.
16015 # Hook for its removal unless debugging.
16016 # Note that there is a small window in which the directory will not be cleaned:
16017 # after its creation but before its name has been assigned to `$tmp'.
16021 trap 'exit_status=$?
16022 : "${ac_tmp:=$tmp}"
16023 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16025 trap 'as_fn_exit 1' 1 2 13 15
16027 # Create a (secure) tmp directory for tmp files.
16030 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16034 tmp
=.
/conf$$
-$RANDOM
16035 (umask 077 && mkdir
"$tmp")
16036 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16039 # Set up the scripts for CONFIG_FILES section.
16040 # No need to generate them if there are no CONFIG_FILES.
16041 # This happens for instance with `./config.status config.h'.
16042 if test -n "$CONFIG_FILES"; then
16045 ac_cr
=`echo X | tr X '\015'`
16046 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16047 # But we know of no other shell where ac_cr would be empty at this
16048 # point, so we can use a bashism as a fallback.
16049 if test "x$ac_cr" = x
; then
16050 eval ac_cr
=\$
\'\\r
\'
16052 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16053 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16056 ac_cs_awk_cr
=$ac_cr
16059 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16064 echo "cat >conf$$subs.awk <<_ACEOF" &&
16065 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16067 } >conf$$subs.sh ||
16068 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16069 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16071 for ac_last_try in false false false false false :; do
16072 . ./conf$$subs.sh ||
16073 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16075 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16076 if test $ac_delim_n = $ac_delim_num; then
16078 elif $ac_last_try; then
16079 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16081 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16084 rm -f conf$$subs.sh
16086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16087 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16091 s/^/S["/; s
/!.
*/"]=/
16101 s/\(.\{148\}\)..*/\1/
16103 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16108 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16115 s/\(.\{148\}\)..*/\1/
16117 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16121 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16126 ' <conf$$subs.awk | sed '
16131 ' >>$CONFIG_STATUS || ac_write_fail=1
16132 rm -f conf$$subs.awk
16133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16135 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16136 for (key in S) S_is_set[key] = 1
16142 nfields = split(line, field, "@
")
16144 len = length(field[1])
16145 for (i = 2; i < nfields; i++) {
16147 keylen = length(key)
16148 if (S_is_set[key]) {
16150 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16151 len += length(value) + length(field[++i])
16162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16163 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16164 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16167 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16168 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16171 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16172 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16173 # trailing colons and then remove the whole line if VPATH becomes empty
16174 # (actually we leave an empty line to preserve line numbers).
16175 if test "x
$srcdir" = x.; then
16176 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16195 fi # test -n "$CONFIG_FILES"
16197 # Set up the scripts for CONFIG_HEADERS section.
16198 # No need to generate them if there are no CONFIG_HEADERS.
16199 # This happens for instance with `./config.status Makefile'.
16200 if test -n "$CONFIG_HEADERS"; then
16201 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16205 # Transform confdefs.h into an awk script `defines.awk', embedded as
16206 # here-document in config.status, that substitutes the proper values into
16207 # config.h.in to produce config.h.
16209 # Create a delimiter string that does not exist in confdefs.h, to ease
16210 # handling of long lines.
16212 for ac_last_try in false false :; do
16213 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16214 if test -z "$ac_tt"; then
16216 elif $ac_last_try; then
16217 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16219 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16223 # For the awk script, D is an array of macro values keyed by name,
16224 # likewise P contains macro parameters if any. Preserve backslash
16225 # newline sequences.
16227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16229 s/.\{148\}/&'"$ac_delim"'/g
16232 s/^[ ]*#[ ]*define[ ][ ]*/ /
16239 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16241 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16246 D["\
1"]=" \
3\\\\\\n
"\\/p
16248 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16253 s/.\{148\}/&'"$ac_delim"'/g
16258 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16261 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16263 ' <confdefs.h | sed '
16264 s/'"$ac_delim"'/"\\\
16265 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16268 for (key in D) D_is_set[key] = 1
16271 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16273 split(line, arg, " ")
16274 if (arg[1] == "#") {
16278 defundef
= substr
(arg
[1], 2)
16281 split(mac1
, mac2
, "(") #)
16283 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16284 if (D_is_set
[macro
]) {
16285 # Preserve the white space surrounding the "#".
16286 print prefix
"define", macro P
[macro
] D
[macro
]
16289 # Replace #undef with comments. This is necessary, for example,
16290 # in the case of _POSIX_SOURCE, which is predefined and required
16291 # on some systems where configure will not decide to define it.
16292 if (defundef
== "undef") {
16293 print
"/*", prefix defundef
, macro
, "*/"
16301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16302 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16303 fi # test -n "$CONFIG_HEADERS"
16306 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16311 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16313 case $ac_mode$ac_tag in
16315 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16316 :[FH
]-) ac_tag
=-:-;;
16317 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16334 -) ac_f
="$ac_tmp/stdin";;
16335 *) # Look for the file first in the build tree, then in the source tree
16336 # (if the path is not absolute). The absolute path cannot be DOS-style,
16337 # because $ac_f cannot contain `:'.
16341 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16343 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16345 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16346 as_fn_append ac_file_inputs
" '$ac_f'"
16349 # Let's still pretend it is `configure' which instantiates (i.e., don't
16350 # use $as_me), people would be surprised to read:
16351 # /* config.h. Generated by config.status. */
16352 configure_input
='Generated from '`
16353 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16355 if test x
"$ac_file" != x-
; then
16356 configure_input
="$ac_file. $configure_input"
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16358 $as_echo "$as_me: creating $ac_file" >&6;}
16360 # Neutralize special characters interpreted by sed in replacement strings.
16361 case $configure_input in #(
16362 *\
&* |
*\|
* |
*\\* )
16363 ac_sed_conf_input
=`$as_echo "$configure_input" |
16364 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16365 *) ac_sed_conf_input
=$configure_input;;
16369 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16370 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16375 ac_dir
=`$as_dirname -- "$ac_file" ||
16376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16377 X"$ac_file" : 'X\(//\)[^/]' \| \
16378 X"$ac_file" : 'X\(//\)$' \| \
16379 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16380 $as_echo X"$ac_file" |
16381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16385 /^X\(\/\/\)[^/].*/{
16398 as_dir
="$ac_dir"; as_fn_mkdir_p
16402 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16404 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16405 # A ".." for each directory in $ac_dir_suffix.
16406 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16407 case $ac_top_builddir_sub in
16408 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16409 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16412 ac_abs_top_builddir
=$ac_pwd
16413 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16414 # for backward compatibility:
16415 ac_top_builddir
=$ac_top_build_prefix
16418 .
) # We are building in place.
16420 ac_top_srcdir
=$ac_top_builddir_sub
16421 ac_abs_top_srcdir
=$ac_pwd ;;
16422 [\\/]* | ?
:[\\/]* ) # Absolute name.
16423 ac_srcdir
=$srcdir$ac_dir_suffix;
16424 ac_top_srcdir
=$srcdir
16425 ac_abs_top_srcdir
=$srcdir ;;
16426 *) # Relative name.
16427 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16428 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16429 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16431 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16441 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16442 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16444 ac_MKDIR_P
=$MKDIR_P
16446 [\\/$
]* | ?
:[\\/]* ) ;;
16447 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16452 # If the template does not know about datarootdir, expand it.
16453 # FIXME: This hack should be removed a few years after 2.60.
16454 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16465 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16466 *datarootdir
*) ac_datarootdir_seen
=yes;;
16467 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16469 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16472 ac_datarootdir_hack='
16473 s&@datadir@&$datadir&g
16474 s&@docdir@&$docdir&g
16475 s&@infodir@&$infodir&g
16476 s&@localedir@&$localedir&g
16477 s&@mandir@&$mandir&g
16478 s&\\\${datarootdir}&$datarootdir&g' ;;
16482 # Neutralize VPATH when `$srcdir' = `.'.
16483 # Shell code in configure.ac might set extrasub.
16484 # FIXME: do we really want to maintain this feature?
16485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16486 ac_sed_extra="$ac_vpsub
16489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16491 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16492 s|@configure_input@|
$ac_sed_conf_input|
;t t
16493 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16494 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16495 s
&@srcdir@
&$ac_srcdir&;t t
16496 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16497 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16498 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16499 s
&@builddir@
&$ac_builddir&;t t
16500 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16501 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16502 s
&@INSTALL@
&$ac_INSTALL&;t t
16503 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16504 $ac_datarootdir_hack
16506 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16507 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16510 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16512 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16514 which seems to be undefined. Please make sure it is defined" >&5
16515 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16516 which seems to be undefined. Please make sure it is defined" >&2;}
16518 rm -f "$ac_tmp/stdin"
16520 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16521 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16529 if test x"$ac_file" != x-; then
16531 $as_echo "/* $configure_input */" \
16532 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16533 } >"$ac_tmp/config.h" \
16534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16535 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16537 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16540 mv "$ac_tmp/config.h" "$ac_file" \
16541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16544 $as_echo "/* $configure_input */" \
16545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16546 || as_fn_error $? "could not create -" "$LINENO" 5
16548 # Compute "$ac_file"'s index
in $config_headers.
16551 for _am_header
in $config_headers :; do
16552 case $_am_header in
16553 $_am_arg |
$_am_arg:* )
16556 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16559 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16560 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16561 X"$_am_arg" : 'X\(//\)[^/]' \| \
16562 X"$_am_arg" : 'X\(//\)$' \| \
16563 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16564 $as_echo X"$_am_arg" |
16565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16569 /^X\(\/\/\)[^/].*/{
16581 s/.*/./; q'`/stamp-h
$_am_stamp_count
16584 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16585 $as_echo "$as_me: executing $ac_file commands" >&6;}
16590 case $ac_file$ac_mode in
16591 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16592 # Older Autoconf quotes --file arguments for eval, but not when files
16593 # are listed without --file. Let's play safe and only enable the eval
16594 # if we detect the quoting.
16595 case $CONFIG_FILES in
16596 *\'*) eval set x
"$CONFIG_FILES" ;;
16597 *) set x
$CONFIG_FILES ;;
16602 # Strip MF so we end up with the name of the file.
16603 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16604 # Check whether this is an Automake generated Makefile or not.
16605 # We used to match only the files named 'Makefile.in', but
16606 # some people rename them; so instead we look at the file content.
16607 # Grep'ing the first line is not enough: some people post-process
16608 # each Makefile.in and add a new line on top of each file to say so.
16609 # Grep'ing the whole file is not good either: AIX grep has a line
16610 # limit of 2048, but all sed's we know have understand at least 4000.
16611 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16612 dirpart
=`$as_dirname -- "$mf" ||
16613 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16614 X"$mf" : 'X\(//\)[^/]' \| \
16615 X"$mf" : 'X\(//\)$' \| \
16616 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16622 /^X\(\/\/\)[^/].*/{
16638 # Extract the definition of DEPDIR, am__include, and am__quote
16639 # from the Makefile without running 'make'.
16640 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16641 test -z "$DEPDIR" && continue
16642 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16643 test -z "$am__include" && continue
16644 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16645 # Find all dependency output files, they are included files with
16646 # $(DEPDIR) in their names. We invoke sed twice because it is the
16647 # simplest approach to changing $(DEPDIR) to its actual value in the
16649 for file in `sed -n "
16650 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16651 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16652 # Make sure the directory exists.
16653 test -f "$dirpart/$file" && continue
16654 fdir
=`$as_dirname -- "$file" ||
16655 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16656 X"$file" : 'X\(//\)[^/]' \| \
16657 X"$file" : 'X\(//\)$' \| \
16658 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16659 $as_echo X"$file" |
16660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16664 /^X\(\/\/\)[^/].*/{
16677 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16678 # echo "creating $dirpart/$file"
16679 echo '# dummy' > "$dirpart/$file"
16686 # See if we are running on zsh, and set the options which allow our
16687 # commands through without removal of \ escapes.
16688 if test -n "${ZSH_VERSION+set}" ; then
16689 setopt NO_GLOB_SUBST
16692 cfgfile
="${ofile}T"
16693 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16696 cat <<_LT_EOF >> "$cfgfile"
16699 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16700 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16701 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16702 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16704 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16705 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16706 # Written by Gordon Matzigkeit, 1996
16708 # This file is part of GNU Libtool.
16710 # GNU Libtool is free software; you can redistribute it and/or
16711 # modify it under the terms of the GNU General Public License as
16712 # published by the Free Software Foundation; either version 2 of
16713 # the License, or (at your option) any later version.
16715 # As a special exception to the GNU General Public License,
16716 # if you distribute this file as part of a program or library that
16717 # is built using GNU Libtool, you may include this file under the
16718 # same distribution terms that you use for the rest of that program.
16720 # GNU Libtool is distributed in the hope that it will be useful,
16721 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16722 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16723 # GNU General Public License for more details.
16725 # You should have received a copy of the GNU General Public License
16726 # along with GNU Libtool; see the file COPYING. If not, a copy
16727 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16728 # obtained by writing to the Free Software Foundation, Inc.,
16729 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16732 # The names of the tagged configurations supported by this script.
16735 # ### BEGIN LIBTOOL CONFIG
16737 # Whether or not to build shared libraries.
16738 build_libtool_libs=$enable_shared
16740 # Which release of libtool.m4 was used?
16741 macro_version=$macro_version
16742 macro_revision=$macro_revision
16744 # Whether or not to build static libraries.
16745 build_old_libs=$enable_static
16747 # What type of objects to build.
16750 # Whether or not to optimize for fast installation.
16751 fast_install=$enable_fast_install
16753 # Shell to use when invoking shell scripts.
16756 # An echo program that protects backslashes.
16760 host_alias=$host_alias
16764 # The build system.
16765 build_alias=$build_alias
16769 # A sed program that does not truncate output.
16772 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16773 Xsed="\$SED -e 1s/^X//"
16775 # A grep program that handles long lines.
16781 # A literal string matcher.
16784 # A BSD- or MS-compatible name lister.
16787 # Whether we need soft or hard links.
16790 # What is the maximum length of a command?
16791 max_cmd_len=$max_cmd_len
16793 # Object file suffix (normally "o").
16796 # Executable file suffix (normally "").
16799 # whether the shell understands "unset".
16802 # turn spaces into newlines.
16805 # turn newlines into spaces.
16808 # An object symbol dumper.
16809 OBJDUMP=$lt_OBJDUMP
16811 # Method to check whether dependent libraries are shared objects.
16812 deplibs_check_method=$lt_deplibs_check_method
16814 # Command to use when deplibs_check_method == "file_magic".
16815 file_magic_cmd=$lt_file_magic_cmd
16819 AR_FLAGS=$lt_AR_FLAGS
16821 # A symbol stripping program.
16824 # Commands used to install an old-style archive.
16826 old_postinstall_cmds=$lt_old_postinstall_cmds
16827 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16829 # Whether to use a lock for old archive extraction.
16830 lock_old_archive_extraction=$lock_old_archive_extraction
16835 # LTCC compiler flags.
16836 LTCFLAGS=$lt_CFLAGS
16838 # Take the output of nm and produce a listing of raw symbols and C names.
16839 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16841 # Transform the output of nm in a proper C declaration.
16842 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16844 # Transform the output of nm in a C name address pair.
16845 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16847 # Transform the output of nm in a C name address pair when lib prefix is needed.
16848 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16850 # The name of the directory that contains temporary libtool files.
16853 # Used to examine libraries when file_magic_cmd begins with "file".
16854 MAGIC_CMD=$MAGIC_CMD
16856 # Must we lock files when doing compilation?
16857 need_locks=$lt_need_locks
16859 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16860 DSYMUTIL=$lt_DSYMUTIL
16862 # Tool to change global to local symbols on Mac OS X.
16865 # Tool to manipulate fat objects and archives on Mac OS X.
16868 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16871 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16872 OTOOL64=$lt_OTOOL64
16874 # Old archive suffix (normally "a").
16877 # Shared library suffix (normally ".so").
16878 shrext_cmds=$lt_shrext_cmds
16880 # The commands to extract the exported symbol list from a shared archive.
16881 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16883 # Variables whose values should be saved in libtool wrapper scripts and
16884 # restored at link time.
16885 variables_saved_for_relink=$lt_variables_saved_for_relink
16887 # Do we need the "lib" prefix for modules?
16888 need_lib_prefix=$need_lib_prefix
16890 # Do we need a version for libraries?
16891 need_version=$need_version
16893 # Library versioning type.
16894 version_type=$version_type
16896 # Shared library runtime path variable.
16897 runpath_var=$runpath_var
16899 # Shared library path variable.
16900 shlibpath_var=$shlibpath_var
16902 # Is shlibpath searched before the hard-coded library search path?
16903 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16905 # Format of library name prefix.
16906 libname_spec=$lt_libname_spec
16908 # List of archive names. First name is the real one, the rest are links.
16909 # The last name is the one that the linker finds with -lNAME
16910 library_names_spec=$lt_library_names_spec
16912 # The coded name of the library, if different from the real name.
16913 soname_spec=$lt_soname_spec
16915 # Permission mode override for installation of shared libraries.
16916 install_override_mode=$lt_install_override_mode
16918 # Command to use after installation of a shared archive.
16919 postinstall_cmds=$lt_postinstall_cmds
16921 # Command to use after uninstallation of a shared archive.
16922 postuninstall_cmds=$lt_postuninstall_cmds
16924 # Commands used to finish a libtool library installation in a directory.
16925 finish_cmds=$lt_finish_cmds
16927 # As "finish_cmds", except a single script fragment to be evaled but
16929 finish_eval=$lt_finish_eval
16931 # Whether we should hardcode library paths into libraries.
16932 hardcode_into_libs=$hardcode_into_libs
16934 # Compile-time system search path for libraries.
16935 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16937 # Run-time system search path for libraries.
16938 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16940 # Whether dlopen is supported.
16941 dlopen_support=$enable_dlopen
16943 # Whether dlopen of programs is supported.
16944 dlopen_self=$enable_dlopen_self
16946 # Whether dlopen of statically linked programs is supported.
16947 dlopen_self_static=$enable_dlopen_self_static
16949 # Commands to strip libraries.
16950 old_striplib=$lt_old_striplib
16951 striplib=$lt_striplib
16954 # The linker used to build libraries.
16957 # How to create reloadable object files.
16958 reload_flag=$lt_reload_flag
16959 reload_cmds=$lt_reload_cmds
16961 # Commands used to build an old-style archive.
16962 old_archive_cmds=$lt_old_archive_cmds
16964 # A language specific compiler.
16967 # Is the compiler the GNU compiler?
16970 # Compiler flag to turn off builtin functions.
16971 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16973 # How to pass a linker flag through the compiler.
16974 wl=$lt_lt_prog_compiler_wl
16976 # Additional compiler flags for building library objects.
16977 pic_flag=$lt_lt_prog_compiler_pic
16979 # Compiler flag to prevent dynamic linking.
16980 link_static_flag=$lt_lt_prog_compiler_static
16982 # Does compiler simultaneously support -c and -o options?
16983 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16985 # Whether or not to add -lc for building shared libraries.
16986 build_libtool_need_lc=$archive_cmds_need_lc
16988 # Whether or not to disallow shared libs when runtime libs are static.
16989 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16991 # Compiler flag to allow reflexive dlopens.
16992 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16994 # Compiler flag to generate shared objects directly from archives.
16995 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16997 # Whether the compiler copes with passing no objects directly.
16998 compiler_needs_object=$lt_compiler_needs_object
17000 # Create an old-style archive from a shared archive.
17001 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17003 # Create a temporary old-style archive to link instead of a shared archive.
17004 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17006 # Commands used to build a shared archive.
17007 archive_cmds=$lt_archive_cmds
17008 archive_expsym_cmds=$lt_archive_expsym_cmds
17010 # Commands used to build a loadable module if different from building
17011 # a shared archive.
17012 module_cmds=$lt_module_cmds
17013 module_expsym_cmds=$lt_module_expsym_cmds
17015 # Whether we are building with GNU ld or not.
17016 with_gnu_ld=$lt_with_gnu_ld
17018 # Flag that allows shared libraries with undefined symbols to be built.
17019 allow_undefined_flag=$lt_allow_undefined_flag
17021 # Flag that enforces no undefined symbols.
17022 no_undefined_flag=$lt_no_undefined_flag
17024 # Flag to hardcode \$libdir into a binary during linking.
17025 # This must work even if \$libdir does not exist
17026 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17028 # If ld is used when linking, flag to hardcode \$libdir into a binary
17029 # during linking. This must work even if \$libdir does not exist.
17030 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17032 # Whether we need a single "-rpath" flag with a separated argument.
17033 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17035 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17036 # DIR into the resulting binary.
17037 hardcode_direct=$hardcode_direct
17039 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17040 # DIR into the resulting binary and the resulting library dependency is
17041 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17042 # library is relocated.
17043 hardcode_direct_absolute=$hardcode_direct_absolute
17045 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17046 # into the resulting binary.
17047 hardcode_minus_L=$hardcode_minus_L
17049 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17050 # into the resulting binary.
17051 hardcode_shlibpath_var=$hardcode_shlibpath_var
17053 # Set to "yes" if building a shared library automatically hardcodes DIR
17054 # into the library and all subsequent libraries and executables linked
17056 hardcode_automatic=$hardcode_automatic
17058 # Set to yes if linker adds runtime paths of dependent libraries
17059 # to runtime path list.
17060 inherit_rpath=$inherit_rpath
17062 # Whether libtool must link a program against all its dependency libraries.
17063 link_all_deplibs=$link_all_deplibs
17065 # Fix the shell variable \$srcfile for the compiler.
17066 fix_srcfile_path=$lt_fix_srcfile_path
17068 # Set to "yes" if exported symbols are required.
17069 always_export_symbols=$always_export_symbols
17071 # The commands to list exported symbols.
17072 export_symbols_cmds=$lt_export_symbols_cmds
17074 # Symbols that should not be listed in the preloaded symbols.
17075 exclude_expsyms=$lt_exclude_expsyms
17077 # Symbols that must always be exported.
17078 include_expsyms=$lt_include_expsyms
17080 # Commands necessary for linking programs (against libraries) with templates.
17081 prelink_cmds=$lt_prelink_cmds
17083 # Specify filename containing input files.
17084 file_list_spec=$lt_file_list_spec
17086 # How to hardcode a shared library path into an executable.
17087 hardcode_action=$hardcode_action
17089 # ### END LIBTOOL CONFIG
17095 cat <<\_LT_EOF
>> "$cfgfile"
17096 # AIX sometimes has problems with the GCC collect2 program. For some
17097 # reason, if we set the COLLECT_NAMES environment variable, the problems
17098 # vanish in a puff of smoke.
17099 if test "X${COLLECT_NAMES+set}" != Xset
; then
17101 export COLLECT_NAMES
17108 ltmain
="$ac_aux_dir/ltmain.sh"
17111 # We use sed instead of cat because bash on DJGPP gets confused if
17112 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17113 # text mode, it properly converts lines to CR/LF. This bash problem
17114 # is reportedly fixed, but why not run on old versions too?
17115 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17116 ||
(rm -f "$cfgfile"; exit 1)
17120 cat << \_LT_EOF
>> "$cfgfile"
17122 # func_dirname file append nondir_replacement
17123 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17124 # otherwise set result to NONDIR_REPLACEMENT.
17128 */*) func_dirname_result
="${1%/*}${2}" ;;
17129 * ) func_dirname_result
="${3}" ;;
17133 # func_basename file
17136 func_basename_result
="${1##*/}"
17139 # func_dirname_and_basename file append nondir_replacement
17140 # perform func_basename and func_dirname in a single function
17142 # dirname: Compute the dirname of FILE. If nonempty,
17143 # add APPEND to the result, otherwise set result
17144 # to NONDIR_REPLACEMENT.
17145 # value returned in "$func_dirname_result"
17146 # basename: Compute filename of FILE.
17147 # value retuned in "$func_basename_result"
17148 # Implementation must be kept synchronized with func_dirname
17149 # and func_basename. For efficiency, we do not delegate to
17150 # those functions but instead duplicate the functionality here.
17151 func_dirname_and_basename
()
17154 */*) func_dirname_result
="${1%/*}${2}" ;;
17155 * ) func_dirname_result
="${3}" ;;
17157 func_basename_result
="${1##*/}"
17160 # func_stripname prefix suffix name
17161 # strip PREFIX and SUFFIX off of NAME.
17162 # PREFIX and SUFFIX must not contain globbing or regex special
17163 # characters, hashes, percent signs, but SUFFIX may contain a leading
17164 # dot (in which case that matches only a dot).
17167 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17168 # positional parameters, so assign one to ordinary parameter first.
17169 func_stripname_result
=${3}
17170 func_stripname_result
=${func_stripname_result#"${1}"}
17171 func_stripname_result
=${func_stripname_result%"${2}"}
17177 func_opt_split_opt
=${1%%=*}
17178 func_opt_split_arg
=${1#*=}
17185 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17186 *) func_lo2o_result
=${1} ;;
17190 # func_xform libobj-or-source
17193 func_xform_result
=${1%.*}.lo
17196 # func_arith arithmetic-term...
17199 func_arith_result
=$
(( $
* ))
17203 # STRING may not start with a hyphen.
17206 func_len_result
=${#1}
17211 *) # Bourne compatible functions.
17212 cat << \_LT_EOF
>> "$cfgfile"
17214 # func_dirname file append nondir_replacement
17215 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17216 # otherwise set result to NONDIR_REPLACEMENT.
17219 # Extract subdirectory from the argument.
17220 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17221 if test "X$func_dirname_result" = "X${1}"; then
17222 func_dirname_result
="${3}"
17224 func_dirname_result
="$func_dirname_result${2}"
17228 # func_basename file
17231 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17235 # func_stripname prefix suffix name
17236 # strip PREFIX and SUFFIX off of NAME.
17237 # PREFIX and SUFFIX must not contain globbing or regex special
17238 # characters, hashes, percent signs, but SUFFIX may contain a leading
17239 # dot (in which case that matches only a dot).
17240 # func_strip_suffix prefix name
17244 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17245 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17250 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17251 my_sed_long_arg
='1s/^-[^=]*=//'
17256 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17257 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17263 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17266 # func_xform libobj-or-source
17269 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17272 # func_arith arithmetic-term...
17275 func_arith_result
=`expr "$@"`
17279 # STRING may not start with a hyphen.
17282 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17288 case $lt_shell_append in
17290 cat << \_LT_EOF
>> "$cfgfile"
17292 # func_append var value
17293 # Append VALUE to the end of shell variable VAR.
17301 cat << \_LT_EOF
>> "$cfgfile"
17303 # func_append var value
17304 # Append VALUE to the end of shell variable VAR.
17315 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17316 ||
(rm -f "$cfgfile"; exit 1)
17318 mv -f "$cfgfile" "$ofile" ||
17319 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17324 for ac_file
in $CONFIG_FILES; do
17325 # Support "outfile[:infile[:infile...]]"
17327 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17329 # PO directories have a Makefile.in generated from Makefile.in.in.
17330 case "$ac_file" in */Makefile.
in)
17331 # Adjust a relative srcdir.
17332 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17333 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
17334 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17335 # In autoconf-2.13 it is called $ac_given_srcdir.
17336 # In autoconf-2.50 it is called $srcdir.
17337 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17338 case "$ac_given_srcdir" in
17339 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17340 /*) top_srcdir
="$ac_given_srcdir" ;;
17341 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17343 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17344 rm -f "$ac_dir/POTFILES"
17345 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17346 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17347 POMAKEFILEDEPS
="POTFILES.in"
17348 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17349 # on $ac_dir but don't depend on user-specified configuration
17351 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17352 # The LINGUAS file contains the set of available languages.
17353 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17354 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
17356 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17357 # Hide the ALL_LINGUAS assigment from automake.
17358 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17359 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17361 # The set of available languages was given in configure.ac.
17362 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17364 case "$ac_given_srcdir" in
17366 *) srcdirpre
='$(srcdir)/' ;;
17372 for lang
in $ALL_LINGUAS; do
17373 POFILES
="$POFILES $srcdirpre$lang.po"
17374 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17375 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17376 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17378 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17379 # environment variable.
17381 if test -n "$ALL_LINGUAS"; then
17382 for presentlang
in $ALL_LINGUAS; do
17384 if test "%UNSET%" != "$LINGUAS"; then
17385 desiredlanguages
="$LINGUAS"
17387 desiredlanguages
="$ALL_LINGUAS"
17389 for desiredlang
in $desiredlanguages; do
17390 # Use the presentlang catalog if desiredlang is
17391 # a. equal to presentlang, or
17392 # b. a variant of presentlang (because in this case,
17393 # presentlang can be used as a fallback for messages
17394 # which are not translated in the desiredlang catalog).
17395 case "$desiredlang" in
17396 "$presentlang"*) useit
=yes;;
17399 if test $useit = yes; then
17400 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17405 if test -n "$INST_LINGUAS"; then
17406 for lang
in $INST_LINGUAS; do
17407 CATALOGS
="$CATALOGS $lang.gmo"
17410 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17411 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17412 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17413 if test -f "$f"; then
17415 *.orig |
*.bak |
*~
) ;;
17416 *) cat "$f" >> "$ac_dir/Makefile" ;;
17427 *) srcdirpre
='$(srcdir)/' ;;
17431 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
17432 if test $lang != dummy
; then
17433 POFILES
="$POFILES $srcdirpre$lang.po"
17434 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17437 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
17438 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
17439 -e "s,@POFILES@,$POFILES," \
17440 -e "s,@GMOFILES@,$GMOFILES," \
17441 po
/Makefile.
in > po
/Makefile
;;
17449 ac_clean_files
=$ac_clean_files_save
17451 test $ac_write_fail = 0 ||
17452 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17455 # configure is writing to config.log, and then calls config.status.
17456 # config.status does its own redirection, appending to config.log.
17457 # Unfortunately, on DOS this fails, as config.log is still kept open
17458 # by configure, so config.status won't be able to write to it; its
17459 # output is simply discarded. So we exec the FD to /dev/null,
17460 # effectively closing config.log, so it can be properly (re)opened and
17461 # appended to by config.status. When coming back to configure, we
17462 # need to make the FD available again.
17463 if test "$no_create" != yes; then
17465 ac_config_status_args
=
17466 test "$silent" = yes &&
17467 ac_config_status_args
="$ac_config_status_args --quiet"
17469 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17471 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17472 # would make configure fail if this is the last instruction.
17473 $ac_cs_success || as_fn_exit
1
17475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17482 touch config.status.tmp
17483 if touch --reference=config.status config.status.tmp
> /dev
/null
2>&1; then
17484 sed '/as_fn_exit 0/i \
17485 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
17486 touch --reference=Makefile Makefile.tmp \
17487 mv Makefile.tmp Makefile \
17488 ' config.status
> config.status.tmp
17489 touch --reference=config.status config.status.tmp
17490 mv config.status.tmp config.status
17491 chmod +x config.status
17492 sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile
> Makefile.tmp
17493 touch --reference=Makefile Makefile.tmp
17494 mv Makefile.tmp Makefile
17496 rm -f config.status.tmp