2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LTO plugin for ld 0.1.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='LTO plugin for ld'
589 PACKAGE_TARNAME
='lto-plugin'
590 PACKAGE_VERSION
='0.1'
591 PACKAGE_STRING
='LTO plugin for ld 0.1'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='am__EXEEXT_FALSE
653 LTO_PLUGIN_USE_SYMVER_SUN_FALSE
654 LTO_PLUGIN_USE_SYMVER_SUN_TRUE
655 LTO_PLUGIN_USE_SYMVER_GNU_FALSE
656 LTO_PLUGIN_USE_SYMVER_GNU_TRUE
657 LTO_PLUGIN_USE_SYMVER_FALSE
658 LTO_PLUGIN_USE_SYMVER_TRUE
660 real_target_noncanonical
664 ac_lto_plugin_ldflags
665 ac_lto_plugin_warn_cflags
688 MAINTAINER_MODE_FALSE
702 INSTALL_STRIP_PROGRAM
760 program_transform_name
773 enable_option_checking
776 enable_maintainer_mode
778 enable_dependency_tracking
781 with_gcc_major_version_only
789 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 ac_unrecognized_opts
=
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name
=s
,x
,x
,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir
='${exec_prefix}/bin'
829 sbindir
='${exec_prefix}/sbin'
830 libexecdir
='${exec_prefix}/libexec'
831 datarootdir
='${prefix}/share'
832 datadir
='${datarootdir}'
833 sysconfdir
='${prefix}/etc'
834 sharedstatedir
='${prefix}/com'
835 localstatedir
='${prefix}/var'
836 includedir
='${prefix}/include'
837 oldincludedir
='/usr/include'
838 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir
='${datarootdir}/info'
844 libdir
='${exec_prefix}/lib'
845 localedir
='${datarootdir}/locale'
846 mandir
='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\
$ac_option
860 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
873 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
876 -build |
--build |
--buil |
--bui |
--bu)
877 ac_prev
=build_alias
;;
878 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
879 build_alias
=$ac_optarg ;;
881 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
882 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
883 ac_prev
=cache_file
;;
884 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
885 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
886 cache_file
=$ac_optarg ;;
889 cache_file
=config.cache
;;
891 -datadir |
--datadir |
--datadi |
--datad)
893 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
894 datadir
=$ac_optarg ;;
896 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
897 |
--dataroo |
--dataro |
--datar)
898 ac_prev
=datarootdir
;;
899 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
900 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
901 datarootdir
=$ac_optarg ;;
903 -disable-* |
--disable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error $?
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=no
;;
919 -docdir |
--docdir |
--docdi |
--doc |
--do)
921 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
924 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
926 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
929 -enable-* |
--enable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error $?
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=\
$ac_optarg ;;
945 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
946 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
947 |
--exec |
--exe |
--ex)
948 ac_prev
=exec_prefix
;;
949 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
950 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
951 |
--exec=* |
--exe=* |
--ex=*)
952 exec_prefix
=$ac_optarg ;;
954 -gas |
--gas |
--ga |
--g)
955 # Obsolete; use --with-gas.
958 -help |
--help |
--hel |
--he |
-h)
960 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
961 ac_init_help
=recursive
;;
962 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
963 ac_init_help
=short
;;
965 -host |
--host |
--hos |
--ho)
966 ac_prev
=host_alias
;;
967 -host=* |
--host=* |
--hos=* |
--ho=*)
968 host_alias
=$ac_optarg ;;
970 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
972 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
974 htmldir
=$ac_optarg ;;
976 -includedir |
--includedir |
--includedi |
--included |
--include \
977 |
--includ |
--inclu |
--incl |
--inc)
978 ac_prev
=includedir
;;
979 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
980 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
981 includedir
=$ac_optarg ;;
983 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
985 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
986 infodir
=$ac_optarg ;;
988 -libdir |
--libdir |
--libdi |
--libd)
990 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
993 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
994 |
--libexe |
--libex |
--libe)
995 ac_prev
=libexecdir
;;
996 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
997 |
--libexe=* |
--libex=* |
--libe=*)
998 libexecdir
=$ac_optarg ;;
1000 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1001 ac_prev
=localedir
;;
1002 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1003 localedir
=$ac_optarg ;;
1005 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1006 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1007 ac_prev
=localstatedir
;;
1008 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1009 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1010 localstatedir
=$ac_optarg ;;
1012 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1014 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1015 mandir
=$ac_optarg ;;
1017 -nfp |
--nfp |
--nf)
1018 # Obsolete; use --without-fp.
1021 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1022 |
--no-cr |
--no-c |
-n)
1025 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1026 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1029 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1030 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1031 |
--oldin |
--oldi |
--old |
--ol |
--o)
1032 ac_prev
=oldincludedir
;;
1033 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1034 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1035 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1036 oldincludedir
=$ac_optarg ;;
1038 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1040 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1041 prefix
=$ac_optarg ;;
1043 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1044 |
--program-pre |
--program-pr |
--program-p)
1045 ac_prev
=program_prefix
;;
1046 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1047 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1048 program_prefix
=$ac_optarg ;;
1050 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1051 |
--program-suf |
--program-su |
--program-s)
1052 ac_prev
=program_suffix
;;
1053 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1054 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1055 program_suffix
=$ac_optarg ;;
1057 -program-transform-name |
--program-transform-name \
1058 |
--program-transform-nam |
--program-transform-na \
1059 |
--program-transform-n |
--program-transform- \
1060 |
--program-transform |
--program-transfor \
1061 |
--program-transfo |
--program-transf \
1062 |
--program-trans |
--program-tran \
1063 |
--progr-tra |
--program-tr |
--program-t)
1064 ac_prev
=program_transform_name
;;
1065 -program-transform-name=* |
--program-transform-name=* \
1066 |
--program-transform-nam=* |
--program-transform-na=* \
1067 |
--program-transform-n=* |
--program-transform-=* \
1068 |
--program-transform=* |
--program-transfor=* \
1069 |
--program-transfo=* |
--program-transf=* \
1070 |
--program-trans=* |
--program-tran=* \
1071 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1072 program_transform_name
=$ac_optarg ;;
1074 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1076 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1077 pdfdir
=$ac_optarg ;;
1079 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1081 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1084 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1085 |
-silent |
--silent |
--silen |
--sile |
--sil)
1088 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1090 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1092 sbindir
=$ac_optarg ;;
1094 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1095 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1096 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1098 ac_prev
=sharedstatedir
;;
1099 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1100 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1101 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1103 sharedstatedir
=$ac_optarg ;;
1105 -site |
--site |
--sit)
1107 -site=* |
--site=* |
--sit=*)
1110 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1112 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1113 srcdir
=$ac_optarg ;;
1115 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1116 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1117 ac_prev
=sysconfdir
;;
1118 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1119 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1120 sysconfdir
=$ac_optarg ;;
1122 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1123 ac_prev
=target_alias
;;
1124 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1125 target_alias
=$ac_optarg ;;
1127 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1130 -version |
--version |
--versio |
--versi |
--vers |
-V)
1131 ac_init_version
=: ;;
1134 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=\
$ac_optarg ;;
1149 -without-* |
--without-*)
1150 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=no
;;
1166 # Obsolete; use --with-x.
1169 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1170 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1171 ac_prev
=x_includes
;;
1172 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1173 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1174 x_includes
=$ac_optarg ;;
1176 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1177 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1178 ac_prev
=x_libraries
;;
1179 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1180 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1181 x_libraries
=$ac_optarg ;;
1183 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information"
1188 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1192 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\
$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208 if test -n "$ac_prev"; then
1209 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error $?
"missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val
=\$
$ac_var
1228 # Remove trailing slashes.
1231 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\
$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$
]* | ?
:[\\/]* ) continue;;
1237 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1239 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 elif test "x$build_alias" != "x$host_alias"; then
1259 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1261 test "$silent" = yes && exec 6>/dev
/null
1264 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1265 ac_ls_di
=`ls -di .` &&
1266 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1267 as_fn_error $?
"working directory cannot be determined"
1268 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1269 as_fn_error $?
"pwd does not report name of working directory"
1272 # Find the source files, if location was not specified.
1273 if test -z "$srcdir"; then
1274 ac_srcdir_defaulted
=yes
1275 # Try the directory containing this script, then the parent directory.
1276 ac_confdir
=`$as_dirname -- "$as_myself" ||
1277 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1278 X"$as_myself" : 'X\(//\)[^/]' \| \
1279 X"$as_myself" : 'X\(//\)$' \| \
1280 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1281 $as_echo X"$as_myself" |
1282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1304 ac_srcdir_defaulted
=no
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1308 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1310 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1312 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1314 # When building in place, set srcdir=.
1315 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318 # Remove unnecessary trailing slashes from srcdir.
1319 # Double slashes in file names in object file debugging info
1320 # mess up M-x gdb in Emacs.
1322 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1324 for ac_var
in $ac_precious_vars; do
1325 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1326 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1327 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1332 # Report the --help message.
1334 if test "$ac_init_help" = "long"; then
1335 # Omit some internal or obsolete options to make the list less imposing.
1336 # This message is too long to be a string in the A/UX 3.1 sh.
1338 \`configure' configures LTO plugin for ld 0.1 to adapt to many kinds of systems.
1340 Usage: $0 [OPTION]... [VAR=VALUE]...
1342 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1343 VAR=VALUE. See below for descriptions of some of the useful variables.
1345 Defaults for the options are specified in brackets.
1348 -h, --help display this help and exit
1349 --help=short display options specific to this package
1350 --help=recursive display the short help of all the included packages
1351 -V, --version display version information and exit
1352 -q, --quiet, --silent do not print \`checking ...' messages
1353 --cache-file=FILE cache test results in FILE [disabled]
1354 -C, --config-cache alias for \`--cache-file=config.cache'
1355 -n, --no-create do not create output files
1356 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1358 Installation directories:
1359 --prefix=PREFIX install architecture-independent files in PREFIX
1360 [$ac_default_prefix]
1361 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1364 By default, \`make install' will install all the files in
1365 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1366 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1367 for instance \`--prefix=\$HOME'.
1369 For better control, use the options below.
1371 Fine tuning of the installation directories:
1372 --bindir=DIR user executables [EPREFIX/bin]
1373 --sbindir=DIR system admin executables [EPREFIX/sbin]
1374 --libexecdir=DIR program executables [EPREFIX/libexec]
1375 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1376 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1377 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1378 --libdir=DIR object code libraries [EPREFIX/lib]
1379 --includedir=DIR C header files [PREFIX/include]
1380 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1381 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1382 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1383 --infodir=DIR info documentation [DATAROOTDIR/info]
1384 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1385 --mandir=DIR man documentation [DATAROOTDIR/man]
1386 --docdir=DIR documentation root [DATAROOTDIR/doc/lto-plugin]
1387 --htmldir=DIR html documentation [DOCDIR]
1388 --dvidir=DIR dvi documentation [DOCDIR]
1389 --pdfdir=DIR pdf documentation [DOCDIR]
1390 --psdir=DIR ps documentation [DOCDIR]
1396 --program-prefix=PREFIX prepend PREFIX to installed program names
1397 --program-suffix=SUFFIX append SUFFIX to installed program names
1398 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1401 --build=BUILD configure
for building on BUILD
[guessed
]
1402 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1403 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1407 if test -n "$ac_init_help"; then
1408 case $ac_init_help in
1409 short | recursive
) echo "Configuration of LTO plugin for ld 0.1:";;
1414 --disable-option-checking ignore unrecognized
--enable/--with options
1415 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1416 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1417 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1418 --disable-silent-rules verbose build output
(undo
: "make V=0")
1419 --enable-maintainer-mode
1420 enable make rules and dependencies not useful
(and
1421 sometimes confusing
) to the casual installer
1422 --enable-dependency-tracking
1423 do not reject slow dependency extractors
1424 --disable-dependency-tracking
1425 speeds up one-time build
1426 --disable-largefile omit support
for large files
1427 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1428 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1429 --enable-static[=PKGS
] build static libraries
[default
=yes]
1430 --enable-fast-install[=PKGS
]
1431 optimize
for fast installation
[default
=yes]
1432 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1435 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1436 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1437 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1438 --with-libiberty=PATH specify the directory where to
find libiberty
1440 --with-gcc-major-version-only
1441 use only GCC major number
in filesystem paths
1442 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1444 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1446 Some influential environment variables
:
1447 CC C compiler
command
1448 CFLAGS C compiler flags
1449 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1450 nonstandard directory
<lib dir
>
1451 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1452 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1453 you have headers
in a nonstandard directory
<include dir
>
1456 Use these variables to override the choices made by
`configure' or to help
1457 it to find libraries and programs with nonstandard names/locations.
1459 Report bugs to the package provider.
1464 if test "$ac_init_help" = "recursive"; then
1465 # If there are subdirs, report their specific --help.
1466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467 test -d "$ac_dir" ||
1468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1476 # A ".." for each directory in $ac_dir_suffix.
1477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1478 case $ac_top_builddir_sub in
1479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1489 .) # We are building in place.
1491 ac_top_srcdir=$ac_top_builddir_sub
1492 ac_abs_top_srcdir=$ac_pwd ;;
1493 [\\/]* | ?:[\\/]* ) # Absolute name.
1494 ac_srcdir=$srcdir$ac_dir_suffix;
1495 ac_top_srcdir=$srcdir
1496 ac_abs_top_srcdir=$srcdir ;;
1498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499 ac_top_srcdir=$ac_top_build_prefix$srcdir
1500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504 cd "$ac_dir" || { ac_status=$?; continue; }
1505 # Check for guested configure.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1522 LTO plugin for ld configure 0.1
1523 generated by GNU Autoconf 2.69
1525 Copyright (C) 2012 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1536 # ac_fn_c_try_compile LINENO
1537 # --------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext
1543 if { { ac_try="$ac_compile"
1545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1546 *) ac_try_echo
=$ac_try;;
1548 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1552 if test -s conftest.err
; then
1553 grep -v '^ *+' conftest.err
>conftest.er1
1554 cat conftest.er1
>&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.
$ac_objext; then :
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.
$ac_ext >&5
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570 as_fn_set_status
$ac_retval
1572 } # ac_fn_c_try_compile
1574 # ac_fn_c_try_cpp LINENO
1575 # ----------------------
1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1579 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1580 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } > conftest.i && {
1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1611 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1612 # -------------------------------------------------------
1613 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1614 # the include files in INCLUDES and setting the cache variable VAR
1616 ac_fn_c_check_header_mongrel ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if eval \${$3+:} false; then :
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \${$3+:} false; then :
1623 $as_echo_n "(cached) " >&6
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627 $as_echo "$ac_res" >&6; }
1629 # Is the header compilable?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1631 $as_echo_n "checking $2 usability... " >&6; }
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1637 if ac_fn_c_try_compile "$LINENO"; then :
1638 ac_header_compiler=yes
1640 ac_header_compiler=no
1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1644 $as_echo "$ac_header_compiler" >&6; }
1646 # Is the header present?
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1648 $as_echo_n "checking $2 presence... " >&6; }
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1653 if ac_fn_c_try_cpp "$LINENO"; then :
1654 ac_header_preproc=yes
1656 ac_header_preproc=no
1658 rm -f conftest.err conftest.i conftest.$ac_ext
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1660 $as_echo "$ac_header_preproc" >&6; }
1662 # So? What about this header?
1663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1666 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1672 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1674 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1676 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1678 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6
1688 eval "$3=\$ac_header_compiler"
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_header_mongrel
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { { ac_try="$ac_link"
1707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1708 *) ac_try_echo
=$ac_try;;
1710 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1732 ac_retval=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1740 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1741 # -------------------------------------------------------
1742 # Tests whether HEADER exists and can be compiled using the include files in
1743 # INCLUDES, setting the cache variable VAR accordingly.
1744 ac_fn_c_check_header_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1757 if ac_fn_c_try_compile "$LINENO"; then :
1762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 } # ac_fn_c_check_header_compile
1771 # ac_fn_c_try_link LINENO
1772 # -----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded.
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 rm -f conftest.$ac_objext conftest$ac_exeext
1778 if { { ac_try="$ac_link"
1780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>conftest.err
1787 if test -s conftest.err
; then
1788 grep -v '^ *+' conftest.err
>conftest.er1
1789 cat conftest.er1
>&5
1790 mv -f conftest.er1 conftest.err
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } && {
1794 test -z "$ac_c_werror_flag" ||
1795 test ! -s conftest.err
1796 } && test -s conftest
$ac_exeext && {
1797 test "$cross_compiling" = yes ||
1798 test -x conftest
$ac_exeext
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.
$ac_ext >&5
1807 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1808 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1809 # interfere with the next link command; also delete a directory that is
1810 # left behind by Apple's compiler. We do this before executing the actions.
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status
$ac_retval
1815 } # ac_fn_c_try_link
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func
()
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \
${$3+:} false
; then :
1826 $as_echo_n "(cached) " >&6
1828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1832 #define $2 innocuous_$2
1834 /* System header to define __stub macros and hopefully few prototypes,
1835 which can conflict with char $2 (); below.
1836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837 <limits.h> exists even on freestanding compilers. */
1840 # include <limits.h>
1842 # include <assert.h>
1847 /* Override any GCC internal prototype to avoid an error.
1848 Use char because int might match the return type of a GCC
1849 builtin and then its argument prototype would still apply. */
1854 /* The GNU C library defines this for functions which it implements
1855 to always fail with ENOSYS. Some functions are actually named
1856 something starting with __ and the normal name is an alias. */
1857 #if defined __stub_$2 || defined __stub___$2
1869 if ac_fn_c_try_link
"$LINENO"; then :
1874 rm -f core conftest.err conftest.
$ac_objext \
1875 conftest
$ac_exeext conftest.
$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_func
1884 # ac_fn_c_find_intX_t LINENO BITS VAR
1885 # -----------------------------------
1886 # Finds a signed integer type with width BITS, setting cache variable VAR
1888 ac_fn_c_find_intX_t
()
1890 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1892 $as_echo_n "checking for int$2_t... " >&6; }
1893 if eval \
${$3+:} false
; then :
1894 $as_echo_n "(cached) " >&6
1897 # Order is important - never check a type that is potentially smaller
1898 # than half of the expected target width.
1899 for ac_type
in int
$2_t 'int' 'long int' \
1900 'long long int' 'short int' 'signed char'; do
1901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1903 $ac_includes_default
1904 enum { N = $2 / 2 - 1 };
1908 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1910 return test_array [0];
1916 if ac_fn_c_try_compile
"$LINENO"; then :
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1919 $ac_includes_default
1920 enum { N = $2 / 2 - 1 };
1924 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1925 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1927 return test_array [0];
1933 if ac_fn_c_try_compile
"$LINENO"; then :
1940 eval "$3=\$ac_type" ;;
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 if eval test \"x\$
"$3"\" = x
"no"; then :
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_find_intX_t
1960 # ac_fn_c_find_uintX_t LINENO BITS VAR
1961 # ------------------------------------
1962 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1964 ac_fn_c_find_uintX_t
()
1966 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1968 $as_echo_n "checking for uint$2_t... " >&6; }
1969 if eval \
${$3+:} false
; then :
1970 $as_echo_n "(cached) " >&6
1973 # Order is important - never check a type that is potentially smaller
1974 # than half of the expected target width.
1975 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1976 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1979 $ac_includes_default
1983 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1985 return test_array [0];
1991 if ac_fn_c_try_compile
"$LINENO"; then :
1996 eval "$3=\$ac_type" ;;
1999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2000 if eval test \"x\$
"$3"\" = x
"no"; then :
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 } # ac_fn_c_find_uintX_t
2013 cat >config.log
<<_ACEOF
2014 This file contains any messages produced by compilers while
2015 running configure, to aid debugging if configure makes a mistake.
2017 It was created by LTO plugin for ld $as_me 0.1, which was
2018 generated by GNU Autoconf 2.69. Invocation command line was
2030 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2036 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2039 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2040 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2041 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2043 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2044 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2045 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 $as_echo "PATH: $as_dir"
2070 # Keep a trace of the command line.
2071 # Strip out --no-create and --no-recursion so they do not pile up.
2072 # Strip out --silent because we don't want to record it for future runs.
2073 # Also quote any args containing shell meta-characters.
2074 # Make two passes to allow for proper duplicate-argument suppression.
2078 ac_must_keep_next
=false
2084 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2086 |
-silent |
--silent |
--silen |
--sile |
--sil)
2089 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2092 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2094 as_fn_append ac_configure_args1
" '$ac_arg'"
2095 if test $ac_must_keep_next = true
; then
2096 ac_must_keep_next
=false
# Got value, back to normal.
2099 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2100 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2101 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2102 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2103 case "$ac_configure_args0 " in
2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2107 -* ) ac_must_keep_next
=true
;;
2110 as_fn_append ac_configure_args
" '$ac_arg'"
2115 { ac_configure_args0
=; unset ac_configure_args0
;}
2116 { ac_configure_args1
=; unset ac_configure_args1
;}
2118 # When interrupted or exit'd, cleanup temporary files, and complete
2119 # config.log. We remove comments because anyway the quotes in there
2120 # would cause problems or look ugly.
2121 # WARNING: Use '\'' to represent an apostrophe within the trap.
2122 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123 trap 'exit_status=$?
2124 # Save into config.log some information that might help in debugging.
2128 $as_echo "## ---------------- ##
2129 ## Cache variables. ##
2130 ## ---------------- ##"
2132 # The following way of writing the cache mishandles newlines in values,
2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135 eval ac_val=\$$ac_var
2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2143 _ | IFS | as_nl) ;; #(
2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145 *) { eval $ac_var=; unset $ac_var;} ;;
2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151 *${as_nl}ac_space=\ *)
2153 "s/'\''/'\''\\\\'\'''\''/g;
2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2164 $as_echo "## ----------------- ##
2165 ## Output variables. ##
2166 ## ----------------- ##"
2168 for ac_var in $ac_subst_vars
2170 eval ac_val=\$$ac_var
2172 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2174 $as_echo "$ac_var='\''$ac_val'\''"
2178 if test -n "$ac_subst_files"; then
2179 $as_echo "## ------------------- ##
2180 ## File substitutions. ##
2181 ## ------------------- ##"
2183 for ac_var
in $ac_subst_files
2185 eval ac_val
=\$
$ac_var
2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 $as_echo "$ac_var='\''$ac_val'\''"
2194 if test -s confdefs.h; then
2195 $as_echo "## ----------- ##
2202 test "$ac_signal" != 0 &&
2203 $as_echo "$as_me: caught signal $ac_signal"
2204 $as_echo "$as_me: exit $exit_status"
2206 rm -f core *.core core.conftest.* &&
2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2210 for ac_signal
in 1 2 13 15; do
2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2216 rm -f -r conftest
* confdefs.h
2218 $as_echo "/* confdefs.h */" > confdefs.h
2220 # Predefined preprocessor variables.
2222 cat >>confdefs.h
<<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2226 cat >>confdefs.h
<<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2230 cat >>confdefs.h
<<_ACEOF
2231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2234 cat >>confdefs.h
<<_ACEOF
2235 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 cat >>confdefs.h
<<_ACEOF
2239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2242 cat >>confdefs.h
<<_ACEOF
2243 #define PACKAGE_URL "$PACKAGE_URL"
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer an explicitly selected file to automatically selected ones.
2251 if test -n "$CONFIG_SITE"; then
2252 # We do not want a PATH search for config.site.
2253 case $CONFIG_SITE in #((
2254 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2255 */*) ac_site_file1
=$CONFIG_SITE;;
2256 *) ac_site_file1
=.
/$CONFIG_SITE;;
2258 elif test "x$prefix" != xNONE
; then
2259 ac_site_file1
=$prefix/share
/config.site
2260 ac_site_file2
=$prefix/etc
/config.site
2262 ac_site_file1
=$ac_default_prefix/share
/config.site
2263 ac_site_file2
=$ac_default_prefix/etc
/config.site
2265 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2267 test "x$ac_site_file" = xNONE
&& continue
2268 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2273 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275 as_fn_error $?
"failed to load site script $ac_site_file
2276 See \`config.log' for more details" "$LINENO" 5; }
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special files
2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2283 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285 $as_echo "$as_me: loading cache $cache_file" >&6;}
2287 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2288 *) .
"./$cache_file";;
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293 $as_echo "$as_me: creating cache $cache_file" >&6;}
2297 # Check that the precious variables saved in the cache have kept the same
2299 ac_cache_corrupted
=false
2300 for ac_var
in $ac_precious_vars; do
2301 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2302 eval ac_new_set
=\
$ac_env_${ac_var}_set
2303 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2304 eval ac_new_val
=\
$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted
=: ;;
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted
=: ;;
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 # differences in whitespace do not lead to failure.
2318 ac_old_val_w
=`echo x $ac_old_val`
2319 ac_new_val_w
=`echo x $ac_new_val`
2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 ac_cache_corrupted
=:
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327 eval $ac_var=\
$ac_old_val
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2330 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2332 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2338 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg
=$ac_var=$ac_new_val ;;
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2347 if $ac_cache_corrupted; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2354 ## -------------------- ##
2355 ## Main body of script. ##
2356 ## -------------------- ##
2359 ac_cpp
='$CPP $CPPFLAGS'
2360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2369 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2370 if test -f "$ac_dir/install-sh"; then
2372 ac_install_sh
="$ac_aux_dir/install-sh -c"
2374 elif test -f "$ac_dir/install.sh"; then
2376 ac_install_sh
="$ac_aux_dir/install.sh -c"
2378 elif test -f "$ac_dir/shtool"; then
2380 ac_install_sh
="$ac_aux_dir/shtool install -c"
2384 if test -z "$ac_aux_dir"; then
2385 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2388 # These three variables are undocumented and unsupported,
2389 # and are intended to be withdrawn in a future Autoconf release.
2390 # They can cause serious problems if a builder's source tree is in a directory
2391 # whose full name contains unusual characters.
2392 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2393 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2394 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397 # Make sure we can run config.sub.
2398 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2399 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2402 $as_echo_n "checking build system type... " >&6; }
2403 if ${ac_cv_build+:} false
; then :
2404 $as_echo_n "(cached) " >&6
2406 ac_build_alias
=$build_alias
2407 test "x$ac_build_alias" = x
&&
2408 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2409 test "x$ac_build_alias" = x
&&
2410 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2411 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2412 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2416 $as_echo "$ac_cv_build" >&6; }
2417 case $ac_cv_build in
2419 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2422 ac_save_IFS
=$IFS; IFS
='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2436 $as_echo_n "checking host system type... " >&6; }
2437 if ${ac_cv_host+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2440 if test "x$host_alias" = x
; then
2441 ac_cv_host
=$ac_cv_build
2443 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2449 $as_echo "$ac_cv_host" >&6; }
2452 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2455 ac_save_IFS
=$IFS; IFS
='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2469 $as_echo_n "checking target system type... " >&6; }
2470 if ${ac_cv_target+:} false
; then :
2471 $as_echo_n "(cached) " >&6
2473 if test "x$target_alias" = x
; then
2474 ac_cv_target
=$ac_cv_host
2476 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2477 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2482 $as_echo "$ac_cv_target" >&6; }
2483 case $ac_cv_target in
2485 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2487 target
=$ac_cv_target
2488 ac_save_IFS
=$IFS; IFS
='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2506 program_prefix
=${target_alias}-
2508 case ${build_alias} in
2509 "") build_noncanonical
=${build} ;;
2510 *) build_noncanonical
=${build_alias} ;;
2513 case ${host_alias} in
2514 "") host_noncanonical
=${build_noncanonical} ;;
2515 *) host_noncanonical
=${host_alias} ;;
2518 case ${target_alias} in
2519 "") target_noncanonical
=${host_noncanonical} ;;
2520 *) target_noncanonical
=${target_alias} ;;
2524 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2525 # have matching libraries, they should use host libraries: Makefile.tpl
2526 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2527 # However, they still use the build modules, because the corresponding
2528 # host modules (e.g. bison) are only built for the host when bootstrap
2530 # - build_subdir is where we find build modules, and never changes.
2531 # - build_libsubdir is where we find build libraries, and can be overridden.
2533 # Prefix 'build-' so this never conflicts with target_subdir.
2534 build_subdir
="build-${build_noncanonical}"
2536 # Check whether --with-build-libsubdir was given.
2537 if test "${with_build_libsubdir+set}" = set; then :
2538 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2540 build_libsubdir
="$build_subdir"
2543 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2544 if ( test $srcdir = .
&& test -d gcc
) \
2545 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2546 host_subdir
="host-${host_noncanonical}"
2551 target_subdir
=${target_noncanonical}
2553 am__api_version
='1.15'
2555 # Find a good install program. We prefer a C program (faster),
2556 # so one script is as good as another. But avoid the broken or
2557 # incompatible versions:
2558 # SysV /etc/install, /usr/sbin/install
2559 # SunOS /usr/etc/install
2560 # IRIX /sbin/install
2562 # AmigaOS /C/install, which installs bootblocks on floppy discs
2563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2566 # OS/2's system install, which has a completely different semantic
2567 # ./install, which can be erroneously created by make from ./install.sh.
2568 # Reject install programs that cannot install multiple files.
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2570 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2571 if test -z "$INSTALL"; then
2572 if ${ac_cv_path_install+:} false
; then :
2573 $as_echo_n "(cached) " >&6
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 # Account for people who put trailing slashes in PATH elements.
2581 case $as_dir/ in #((
2582 .
/ | .
// |
/[cC
]/* | \
2583 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2584 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2587 # OSF1 and SCO ODT 3.0 have their own names for install.
2588 # Don't use installbsd from OSF since it installs stuff as root
2590 for ac_prog
in ginstall scoinst
install; do
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2593 if test $ac_prog = install &&
2594 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2595 # AIX install. It has an incompatible calling convention.
2597 elif test $ac_prog = install &&
2598 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2599 # program-specific install script used by HP pwplus--don't use.
2602 rm -rf conftest.one conftest.two conftest.dir
2603 echo one
> conftest.one
2604 echo two
> conftest.two
2606 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2607 test -s conftest.one
&& test -s conftest.two
&&
2608 test -s conftest.dir
/conftest.one
&&
2609 test -s conftest.dir
/conftest.two
2611 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2624 rm -rf conftest.one conftest.two conftest.dir
2627 if test "${ac_cv_path_install+set}" = set; then
2628 INSTALL
=$ac_cv_path_install
2630 # As a last resort, use the slow shell script. Don't cache a
2631 # value for INSTALL within a source directory, because that will
2632 # break other packages using the cache if that directory is
2633 # removed, or if the value is a relative name.
2634 INSTALL
=$ac_install_sh
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2638 $as_echo "$INSTALL" >&6; }
2640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2641 # It thinks the first close brace ends the variable substitution.
2642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2646 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2649 $as_echo_n "checking whether build environment is sane... " >&6; }
2650 # Reject unsafe characters in $srcdir or the absolute working directory
2651 # name. Accept space and tab only in the latter.
2655 *[\\\"\
#\$\&\'\`$am_lf]*)
2656 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2659 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2660 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2663 # Do 'set' in a subshell so we don't clobber the current shell's
2664 # arguments. Must try -L first in case configure is actually a
2665 # symlink; some systems play weird games with the mod time of symlinks
2666 # (eg FreeBSD returns the mod time of the symlink's containing
2670 for am_try
in 1 2; do
2671 echo "timestamp, slept: $am_has_slept" > conftest.
file
2672 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2673 if test "$*" = "X"; then
2675 set X
`ls -t "$srcdir/configure" conftest.file`
2677 if test "$*" != "X $srcdir/configure conftest.file" \
2678 && test "$*" != "X conftest.file $srcdir/configure"; then
2680 # If neither matched, then we have a broken ls. This can happen
2681 # if, for instance, CONFIG_SHELL is bash and it inherits a
2682 # broken ls alias from the environment. This has actually
2683 # happened. Such a system could not be considered "sane".
2684 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2685 alias in your environment" "$LINENO" 5
2687 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2694 test "$2" = conftest.
file
2700 as_fn_error $?
"newly created file is older than distributed files!
2701 Check your system clock" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2704 $as_echo "yes" >&6; }
2705 # If we didn't sleep, we still need to ensure time stamps of config.status and
2706 # generated files are strictly newer.
2708 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2715 test "$program_prefix" != NONE
&&
2716 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2717 # Use a double $ so make ignores it.
2718 test "$program_suffix" != NONE
&&
2719 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2720 # Double any \ or $.
2721 # By default was `s,x,x', remove it if useless.
2722 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2723 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2725 # Expand $ac_aux_dir to an absolute path.
2726 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2728 if test x
"${MISSING+set}" != xset
; then
2731 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2733 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2736 # Use eval to expand $SHELL
2737 if eval "$MISSING --is-lightweight"; then
2738 am_missing_run
="$MISSING "
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2742 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2745 if test x
"${install_sh+set}" != xset
; then
2748 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2750 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2754 # Installed binaries are usually stripped using 'strip' when the user
2755 # run "make install-strip". However 'strip' might not be the right
2756 # tool to use in cross-compilation environments, therefore Automake
2757 # will honor the 'STRIP' environment variable to overrule this program.
2758 if test "$cross_compiling" != no
; then
2759 if test -n "$ac_tool_prefix"; then
2760 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2761 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_STRIP+:} false
; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$STRIP"; then
2768 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2777 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 STRIP
=$ac_cv_prog_STRIP
2788 if test -n "$STRIP"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2790 $as_echo "$STRIP" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2798 if test -z "$ac_cv_prog_STRIP"; then
2800 # Extract the first word of "strip", so it can be a program name with args.
2801 set dummy strip
; ac_word
=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$ac_ct_STRIP"; then
2808 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir
=.
2815 for ac_exec_ext
in '' $ac_executable_extensions; do
2816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_ac_ct_STRIP
="strip"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2828 if test -n "$ac_ct_STRIP"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2830 $as_echo "$ac_ct_STRIP" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2836 if test "x$ac_ct_STRIP" = x
; then
2839 case $cross_compiling:$ac_tool_warned in
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2843 ac_tool_warned
=yes ;;
2848 STRIP
="$ac_cv_prog_STRIP"
2852 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2855 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2856 if test -z "$MKDIR_P"; then
2857 if ${ac_cv_path_mkdir+:} false
; then :
2858 $as_echo_n "(cached) " >&6
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_prog
in mkdir gmkdir
; do
2866 for ac_exec_ext
in '' $ac_executable_extensions; do
2867 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2868 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2869 'mkdir (GNU coreutils) '* | \
2870 'mkdir (coreutils) '* | \
2871 'mkdir (fileutils) '4.1*)
2872 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2882 test -d .
/--version && rmdir .
/--version
2883 if test "${ac_cv_path_mkdir+set}" = set; then
2884 MKDIR_P
="$ac_cv_path_mkdir -p"
2886 # As a last resort, use the slow shell script. Don't cache a
2887 # value for MKDIR_P within a source directory, because that will
2888 # break other packages using the cache if that directory is
2889 # removed, or if the value is a relative name.
2890 MKDIR_P
="$ac_install_sh -d"
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2894 $as_echo "$MKDIR_P" >&6; }
2896 for ac_prog
in gawk mawk nawk
awk
2898 # Extract the first word of "$ac_prog", so it can be a program name with args.
2899 set dummy
$ac_prog; ac_word
=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_AWK+:} false
; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$AWK"; then
2906 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir
=.
2913 for ac_exec_ext
in '' $ac_executable_extensions; do
2914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_AWK
="$ac_prog"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 if test -n "$AWK"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2928 $as_echo "$AWK" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2935 test -n "$AWK" && break
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2939 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2941 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2942 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2943 $as_echo_n "(cached) " >&6
2945 cat >conftest.
make <<\_ACEOF
2948 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2950 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2951 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2953 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2955 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2959 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2961 $as_echo "yes" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2966 SET_MAKE
="MAKE=${MAKE-make}"
2969 rm -rf .tst
2>/dev
/null
2970 mkdir .tst
2>/dev
/null
2971 if test -d .tst
; then
2976 rmdir .tst
2>/dev
/null
2978 # Check whether --enable-silent-rules was given.
2979 if test "${enable_silent_rules+set}" = set; then :
2980 enableval
=$enable_silent_rules;
2983 case $enable_silent_rules in # (((
2984 yes) AM_DEFAULT_VERBOSITY
=0;;
2985 no
) AM_DEFAULT_VERBOSITY
=1;;
2986 *) AM_DEFAULT_VERBOSITY
=1;;
2988 am_make
=${MAKE-make}
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2990 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2991 if ${am_cv_make_support_nested_variables+:} false
; then :
2992 $as_echo_n "(cached) " >&6
2994 if $as_echo 'TRUE=$(BAR$(V))
3000 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3001 am_cv_make_support_nested_variables
=yes
3003 am_cv_make_support_nested_variables
=no
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3007 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3008 if test $am_cv_make_support_nested_variables = yes; then
3010 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3012 AM_V
=$AM_DEFAULT_VERBOSITY
3013 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3017 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3018 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3019 # is not polluted with repeated "-I."
3020 am__isrc
=' -I$(srcdir)'
3021 # test to see if srcdir already configured
3022 if test -f $srcdir/config.status
; then
3023 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3027 # test whether we have cygpath
3028 if test -z "$CYGPATH_W"; then
3029 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3030 CYGPATH_W
='cygpath -w'
3037 # Define the identity of the package.
3038 PACKAGE
='lto-plugin'
3042 cat >>confdefs.h
<<_ACEOF
3043 #define PACKAGE "$PACKAGE"
3047 cat >>confdefs.h
<<_ACEOF
3048 #define VERSION "$VERSION"
3051 # Some tools Automake needs.
3053 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3056 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3059 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3062 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3065 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3067 # For better backward compatibility. To be removed once Automake 1.9.x
3068 # dies out for good. For more background, see:
3069 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3070 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3071 mkdir_p
='$(MKDIR_P)'
3073 # We need awk for the "check" target (and possibly the TAP driver). The
3074 # system "awk" is bad on some platforms.
3075 # Always define AMTAR for backward compatibility. Yes, it's still used
3076 # in the wild :-( We should find a proper way to deprecate it ...
3080 # We'll loop over all known methods to create a tar archive until one works.
3081 _am_tools
='gnutar pax cpio none'
3083 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3090 # POSIX will say in a future version that running "rm -f" with no argument
3091 # is OK; and we want to be able to make that assumption in our Makefile
3092 # recipes. So use an aggressive probe to check that the usage we want is
3093 # actually supported "in the wild" to an acceptable degree.
3094 # See automake bug#10828.
3095 # To make any issue more visible, cause the running configure to be aborted
3096 # by default if the 'rm' program in use doesn't match our expectations; the
3097 # user can still override this though.
3098 if rm -f && rm -fr && rm -rf; then : OK
; else
3102 Your 'rm' program seems unable to run without file operands specified
3103 on the command line, even when the '-f' option is present. This is contrary
3104 to the behaviour of most rm programs out there, and not conforming with
3105 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3107 Please tell bug-automake@gnu.org about your system, including the value
3108 of your $PATH and any error possibly output before this message. This
3109 can help us improve future automake versions.
3112 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3113 echo 'Configuration will proceed anyway, since you have set the' >&2
3114 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3118 Aborting the configuration process, to ensure you take notice of the issue.
3120 You can download and install GNU coreutils to get an 'rm' implementation
3121 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3123 If you want to complete the configuration process using your problematic
3124 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3125 to "yes", and re-run configure.
3128 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3134 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3135 # Check whether --enable-maintainer-mode was given.
3136 if test "${enable_maintainer_mode+set}" = set; then :
3137 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3139 USE_MAINTAINER_MODE
=no
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3143 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3144 if test $USE_MAINTAINER_MODE = yes; then
3145 MAINTAINER_MODE_TRUE
=
3146 MAINTAINER_MODE_FALSE
='#'
3148 MAINTAINER_MODE_TRUE
='#'
3149 MAINTAINER_MODE_FALSE
=
3152 MAINT
=$MAINTAINER_MODE_TRUE
3156 # Check whether --with-libiberty was given.
3157 if test "${with_libiberty+set}" = set; then :
3158 withval
=$with_libiberty;
3160 with_libiberty
=..
/libiberty
3164 DEPDIR
="${am__leading_dot}deps"
3166 ac_config_commands
="$ac_config_commands depfiles"
3169 am_make
=${MAKE-make}
3170 cat > confinc
<< 'END'
3172 @
echo this is the am__doit target
3175 # If we don't find an include directive, just comment out the code.
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3177 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3181 # First try GNU make style include.
3182 echo "include confinc" > confmf
3183 # Ignore all kinds of additional output from 'make'.
3184 case `$am_make -s -f confmf 2> /dev/null` in #(
3185 *the\ am__doit\ target
*)
3191 # Now try BSD make style include.
3192 if test "$am__include" = "#"; then
3193 echo '.include "confinc"' > confmf
3194 case `$am_make -s -f confmf 2> /dev/null` in #(
3195 *the\ am__doit\ target
*)
3196 am__include
=.include
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3205 $as_echo "$_am_result" >&6; }
3206 rm -f confinc confmf
3208 # Check whether --enable-dependency-tracking was given.
3209 if test "${enable_dependency_tracking+set}" = set; then :
3210 enableval
=$enable_dependency_tracking;
3213 if test "x$enable_dependency_tracking" != xno
; then
3214 am_depcomp
="$ac_aux_dir/depcomp"
3218 if test "x$enable_dependency_tracking" != xno; then
3228 ac_cpp
='$CPP $CPPFLAGS'
3229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3232 if test -n "$ac_tool_prefix"; then
3233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3234 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_CC+:} false
; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC
="$CC" # Let the user override the test.
3243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir
=.
3248 for ac_exec_ext
in '' $ac_executable_extensions; do
3249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3250 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 if test -n "$CC"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3263 $as_echo "$CC" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3271 if test -z "$ac_cv_prog_CC"; then
3273 # Extract the first word of "gcc", so it can be a program name with args.
3274 set dummy gcc
; ac_word
=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$ac_ct_CC"; then
3281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_ac_ct_CC
="gcc"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3301 if test -n "$ac_ct_CC"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3303 $as_echo "$ac_ct_CC" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3309 if test "x$ac_ct_CC" = x
; then
3312 case $cross_compiling:$ac_tool_warned in
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3316 ac_tool_warned
=yes ;;
3324 if test -z "$CC"; then
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3327 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_CC+:} false
; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC
="$CC" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3365 if test -z "$CC"; then
3366 # Extract the first word of "cc", so it can be a program name with args.
3367 set dummy cc
; ac_word
=$2
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369 $as_echo_n "checking for $ac_word... " >&6; }
3370 if ${ac_cv_prog_CC+:} false
; then :
3371 $as_echo_n "(cached) " >&6
3373 if test -n "$CC"; then
3374 ac_cv_prog_CC
="$CC" # Let the user override the test.
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_exec_ext
in '' $ac_executable_extensions; do
3383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3385 ac_prog_rejected
=yes
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 if test $ac_prog_rejected = yes; then
3397 # We found a bogon in the path, so make sure we never use it.
3398 set dummy
$ac_cv_prog_CC
3400 if test $# != 0; then
3401 # We chose a different compiler from the bogus one.
3402 # However, it has the same basename, so the bogon will be chosen
3403 # first if we set CC to just the basename; use the full file name.
3405 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3411 if test -n "$CC"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3413 $as_echo "$CC" >&6; }
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3421 if test -z "$CC"; then
3422 if test -n "$ac_tool_prefix"; then
3423 for ac_prog
in cl.exe
3425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if ${ac_cv_prog_CC+:} false
; then :
3430 $as_echo_n "(cached) " >&6
3432 if test -n "$CC"; then
3433 ac_cv_prog_CC
="$CC" # Let the user override the test.
3435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir
=.
3440 for ac_exec_ext
in '' $ac_executable_extensions; do
3441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 if test -n "$CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3462 test -n "$CC" && break
3465 if test -z "$CC"; then
3467 for ac_prog
in cl.exe
3469 # Extract the first word of "$ac_prog", so it can be a program name with args.
3470 set dummy
$ac_prog; ac_word
=$2
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3472 $as_echo_n "checking for $ac_word... " >&6; }
3473 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3474 $as_echo_n "(cached) " >&6
3476 if test -n "$ac_ct_CC"; then
3477 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir
=.
3484 for ac_exec_ext
in '' $ac_executable_extensions; do
3485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3486 ac_cv_prog_ac_ct_CC
="$ac_prog"
3487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3497 if test -n "$ac_ct_CC"; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3499 $as_echo "$ac_ct_CC" >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3506 test -n "$ac_ct_CC" && break
3509 if test "x$ac_ct_CC" = x
; then
3512 case $cross_compiling:$ac_tool_warned in
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3516 ac_tool_warned
=yes ;;
3525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $?
"no acceptable C compiler found in \$PATH
3528 See \`config.log' for more details" "$LINENO" 5; }
3530 # Provide some information about the compiler.
3531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3534 for ac_option
in --version -v -V -qversion; do
3535 { { ac_try
="$ac_compiler $ac_option >&5"
3537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3538 *) ac_try_echo=$ac_try;;
3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541 $as_echo "$ac_try_echo"; } >&5
3542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3544 if test -s conftest.err; then
3546 ... rest of stderr output deleted ...
3547 10q' conftest.err >conftest.er1
3548 cat conftest.er1 >&5
3550 rm -f conftest.er1 conftest.err
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 ac_clean_files_save=$ac_clean_files
3567 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3568 # Try to create an executable without -o first, disregard a.out.
3569 # It will help us diagnose broken compilers, and finding out an intuition
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3572 $as_echo_n "checking whether the C compiler works... " >&6; }
3573 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3575 # The possible output files:
3576 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3579 for ac_file in $ac_files
3582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3583 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3588 if { { ac_try="$ac_link_default"
3590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3591 *) ac_try_echo
=$ac_try;;
3593 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_link_default") 2>&5
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }; then :
3599 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3600 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3601 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3602 # so that the user can short-circuit this test for compilers unknown to
3604 for ac_file
in $ac_files ''
3606 test -f "$ac_file" ||
continue
3608 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3611 # We found the default executable, but exeext='' is most
3615 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3617 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619 # We set ac_cv_exeext here because the later test for it is not
3620 # safe: cross compilers may not add the suffix if given an `-o'
3621 # argument, so we may need to know it at that point already.
3622 # Even if this section looks crufty: it has the advantage of
3629 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3634 if test -z "$ac_file"; then :
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3637 $as_echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.
$ac_ext >&5
3640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3642 as_fn_error
77 "C compiler cannot create executables
3643 See \`config.log' for more details" "$LINENO" 5; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3646 $as_echo "yes" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3649 $as_echo_n "checking for C compiler default output file name... " >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3651 $as_echo "$ac_file" >&6; }
3652 ac_exeext
=$ac_cv_exeext
3654 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3655 ac_clean_files
=$ac_clean_files_save
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3657 $as_echo_n "checking for suffix of executables... " >&6; }
3658 if { { ac_try
="$ac_link"
3660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 $as_echo "$ac_try_echo"; } >&5
3665 (eval "$ac_link") 2>&5
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }; then :
3669 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3670 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3671 # work properly (i.e., refer to `conftest.exe'), while it won't with
3673 for ac_file
in conftest.exe conftest conftest.
*; do
3674 test -f "$ac_file" ||
continue
3676 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3677 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3686 See \`config.log' for more details" "$LINENO" 5; }
3688 rm -f conftest conftest
$ac_cv_exeext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3690 $as_echo "$ac_cv_exeext" >&6; }
3692 rm -f conftest.
$ac_ext
3693 EXEEXT
=$ac_cv_exeext
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3701 FILE *f = fopen ("conftest.out", "w");
3702 return ferror (f) || fclose (f) != 0;
3708 ac_clean_files
="$ac_clean_files conftest.out"
3709 # Check that the compiler produces executables we can run. If not, either
3710 # the compiler is broken, or we cross compile.
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3712 $as_echo_n "checking whether we are cross compiling... " >&6; }
3713 if test "$cross_compiling" != yes; then
3714 { { ac_try
="$ac_link"
3716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720 $as_echo "$ac_try_echo"; } >&5
3721 (eval "$ac_link") 2>&5
3723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724 test $ac_status = 0; }
3725 if { ac_try='./conftest$ac_cv_exeext'
3726 { { case "(($ac_try" in
3727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3728 *) ac_try_echo
=$ac_try;;
3730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3731 $as_echo "$ac_try_echo"; } >&5
3732 (eval "$ac_try") 2>&5
3734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735 test $ac_status = 0; }; }; then
3738 if test "$cross_compiling" = maybe
; then
3741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3743 as_fn_error $?
"cannot run C compiled programs.
3744 If you meant to cross compile, use \`--host'.
3745 See \`config.log' for more details" "$LINENO" 5; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3750 $as_echo "$cross_compiling" >&6; }
3752 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3753 ac_clean_files
=$ac_clean_files_save
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3755 $as_echo_n "checking for suffix of object files... " >&6; }
3756 if ${ac_cv_objext+:} false
; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 rm -f conftest.o conftest.obj
3771 if { { ac_try
="$ac_compile"
3773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777 $as_echo "$ac_try_echo"; } >&5
3778 (eval "$ac_compile") 2>&5
3780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3781 test $ac_status = 0; }; then :
3782 for ac_file in conftest.o conftest.obj conftest.*; do
3783 test -f "$ac_file" || continue;
3785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3791 $as_echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3797 See \
`config.log' for more details" "$LINENO" 5; }
3799 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3802 $as_echo "$ac_cv_objext" >&6; }
3803 OBJEXT=$ac_cv_objext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3806 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3807 if ${ac_cv_c_compiler_gnu+:} false; then :
3808 $as_echo_n "(cached) " >&6
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3824 if ac_fn_c_try_compile "$LINENO"; then :
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3835 if test $ac_compiler_gnu = yes; then
3840 ac_test_CFLAGS=${CFLAGS+set}
3841 ac_save_CFLAGS=$CFLAGS
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3844 if ${ac_cv_prog_cc_g+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_save_c_werror_flag=$ac_c_werror_flag
3848 ac_c_werror_flag=yes
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3862 if ac_fn_c_try_compile "$LINENO"; then :
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3877 if ac_fn_c_try_compile "$LINENO"; then :
3880 ac_c_werror_flag=$ac_save_c_werror_flag
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_c_try_compile "$LINENO"; then :
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_c_werror_flag=$ac_save_c_werror_flag
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3904 $as_echo "$ac_cv_prog_cc_g" >&6; }
3905 if test "$ac_test_CFLAGS" = set; then
3906 CFLAGS=$ac_save_CFLAGS
3907 elif test $ac_cv_prog_cc_g = yes; then
3908 if test "$GCC" = yes; then
3914 if test "$GCC" = yes; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3922 if ${ac_cv_prog_cc_c89+:} false; then :
3923 $as_echo_n "(cached) " >&6
3925 ac_cv_prog_cc_c89=no
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3932 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3933 struct buf { int x; };
3934 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3935 static char *e (p, i)
3941 static char *f (char * (*g) (char **, int), char **p, ...)
3946 s = g (p, va_arg (v,int));
3951 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3952 function prototypes and stuff, but not '\xHH' hex character constants.
3953 These don't provoke an error unfortunately, instead are silently treated
3954 as 'x'. The following induces an error, until -std is added to get
3955 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3956 array size at least. It's necessary to write '\x00'==0 to get something
3957 that's true only with -std. */
3958 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3960 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3961 inside strings and character constants. */
3963 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3965 int test (int i, double x);
3966 struct s1 {int (*f) (int a);};
3967 struct s2 {int (*f) (double a);};
3968 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3974 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3979 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3980 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3982 CC="$ac_save_CC $ac_arg"
3983 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_cv_prog_cc_c89=$ac_arg
3986 rm -f core conftest.err conftest.$ac_objext
3987 test "x$ac_cv_prog_cc_c89" != "xno" && break
3989 rm -f conftest.$ac_ext
3994 case "x$ac_cv_prog_cc_c89" in
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3997 $as_echo "none needed" >&6; } ;;
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000 $as_echo "unsupported" >&6; } ;;
4002 CC="$CC $ac_cv_prog_cc_c89"
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4004 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4006 if test "x$ac_cv_prog_cc_c89" != xno; then :
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4022 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4023 if ${am_cv_prog_cc_c_o+:} false; then :
4024 $as_echo_n "(cached) " >&6
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4037 # Make sure it works both with $CC and with simple cc.
4038 # Following AC_PROG_CC_C_O, we do the test twice because some
4039 # compilers refuse to overwrite an existing .o file with -o,
4040 # though they will create one.
4041 am_cv_prog_cc_c_o=yes
4043 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4044 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } \
4048 && test -f conftest2.$ac_objext; then
4051 am_cv_prog_cc_c_o=no
4055 rm -f core conftest*
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4059 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4060 if test "$am_cv_prog_cc_c_o" != yes; then
4061 # Losing compiler, so override with the script.
4062 # FIXME: It is wrong to rewrite CC.
4063 # But if we don't then we get into trouble of one sort or another.
4064 # A longer-term fix would be to have automake use am__CC in this case,
4065 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4066 CC="$am_aux_dir/compile $CC"
4069 ac_cpp='$CPP $CPPFLAGS'
4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4075 depcc="$CC" am_compiler_list=
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4078 $as_echo_n "checking dependency style of $depcc... " >&6; }
4079 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4083 # We make a subdir and do the tests there. Otherwise we can end up
4084 # making bogus files that we don't know about and never remove. For
4085 # instance it was reported that on HP-UX the gcc test will end up
4086 # making a dummy file named 'D' -- because '-MD' means "put the output
4090 # Copy depcomp to subdir because otherwise we won't find it if we're
4091 # using a relative directory.
4092 cp "$am_depcomp" conftest.dir
4094 # We will build objects and dependencies in a subdirectory because
4095 # it helps to detect inapplicable dependency modes. For instance
4096 # both Tru64's cc and ICC support -MD to output dependencies as a
4097 # side effect of compilation, but ICC will put the dependencies in
4098 # the current directory while Tru64 will put them in the object
4102 am_cv_CC_dependencies_compiler_type=none
4103 if test "$am_compiler_list" = ""; then
4104 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4107 case " $depcc " in #(
4108 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4111 for depmode in $am_compiler_list; do
4112 # Setup a source with many dependencies, because some compilers
4113 # like to wrap large dependency lists on column 80 (with \), and
4114 # we should not choose a depcomp mode which is confused by this.
4116 # We need to recreate these files for each test, as the compiler may
4117 # overwrite some of them when testing with obscure command lines.
4118 # This happens at least with the AIX C compiler.
4120 for i in 1 2 3 4 5 6; do
4121 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4122 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4123 # Solaris 10 /bin/sh.
4124 echo '/* dummy */' > sub/conftst$i.h
4126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4128 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4129 # mode. It turns out that the SunPro C++ compiler does not properly
4130 # handle '-M -o', and we need to detect this. Also, some Intel
4131 # versions had trouble with output in subdirs.
4132 am__obj=sub/conftest.${OBJEXT-o}
4133 am__minus_obj="-o $am__obj"
4136 # This depmode causes a compiler race in universal mode.
4137 test "$am__universal" = false || continue
4140 # After this tag, mechanisms are not by side-effect, so they'll
4141 # only be used when explicitly requested.
4142 if test "x$enable_dependency_tracking" = xyes; then
4148 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4149 # This compiler won't grok '-c -o', but also, the minuso test has
4150 # not run yet. These depmodes are late enough in the game, and
4151 # so weak that their functioning should not be impacted.
4152 am__obj=conftest.${OBJEXT-o}
4157 if depmode=$depmode \
4158 source=sub/conftest.c object=$am__obj \
4159 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4160 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4161 >/dev/null 2>conftest.err &&
4162 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4164 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4165 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4166 # icc doesn't choke on unknown options, it will just issue warnings
4167 # or remarks (even with -Werror). So we grep stderr for any message
4168 # that says an option was ignored or not supported.
4169 # When given -MP, icc 7.0 and 7.1 complain thusly:
4170 # icc: Command line warning: ignoring option '-M'; no argument required
4171 # The diagnosis changed in icc 8.0:
4172 # icc: Command line remark: option '-MP' not supported
4173 if (grep 'ignoring option' conftest.err ||
4174 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4175 am_cv_CC_dependencies_compiler_type=$depmode
4184 am_cv_CC_dependencies_compiler_type=none
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4189 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4190 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4193 test "x$enable_dependency_tracking" != xno \
4194 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4196 am__fastdepCC_FALSE='#'
4198 am__fastdepCC_TRUE='#'
4199 am__fastdepCC_FALSE=
4205 ac_cpp='$CPP $CPPFLAGS'
4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4210 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4211 # On Suns, sometimes $CPP names a directory.
4212 if test -n "$CPP" && test -d "$CPP"; then
4215 if test -z "$CPP"; then
4216 if ${ac_cv_prog_CPP+:} false; then :
4217 $as_echo_n "(cached) " >&6
4219 # Double quotes because CPP needs to be expanded
4220 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4223 for ac_c_preproc_warn_flag in '' yes
4225 # Use a header file that comes with gcc, so configuring glibc
4226 # with a fresh cross-compiler works.
4227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4228 # <limits.h> exists even on freestanding compilers.
4229 # On the NeXT, cc -E runs the code through the compiler's parser,
4230 # not just through cpp. "Syntax error" is here to catch this case.
4231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h. */
4234 # include <limits.h>
4236 # include <assert.h>
4240 if ac_fn_c_try_cpp "$LINENO"; then :
4243 # Broken: fails on valid input.
4246 rm -f conftest.err conftest.i conftest.$ac_ext
4248 # OK, works on sane cases. Now check whether nonexistent headers
4249 # can be detected and how.
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4252 #include <ac_nonexistent.h>
4254 if ac_fn_c_try_cpp "$LINENO"; then :
4255 # Broken: success on invalid input.
4258 # Passes both tests.
4262 rm -f conftest.err conftest.i conftest.$ac_ext
4265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4266 rm -f conftest.i conftest.err conftest.
$ac_ext
4267 if $ac_preproc_ok; then :
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4280 $as_echo "$CPP" >&6; }
4282 for ac_c_preproc_warn_flag
in '' yes
4284 # Use a header file that comes with gcc, so configuring glibc
4285 # with a fresh cross-compiler works.
4286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4287 # <limits.h> exists even on freestanding compilers.
4288 # On the NeXT, cc -E runs the code through the compiler's parser,
4289 # not just through cpp. "Syntax error" is here to catch this case.
4290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4293 # include <limits.h>
4295 # include <assert.h>
4299 if ac_fn_c_try_cpp
"$LINENO"; then :
4302 # Broken: fails on valid input.
4305 rm -f conftest.err conftest.i conftest.
$ac_ext
4307 # OK, works on sane cases. Now check whether nonexistent headers
4308 # can be detected and how.
4309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4311 #include <ac_nonexistent.h>
4313 if ac_fn_c_try_cpp
"$LINENO"; then :
4314 # Broken: success on invalid input.
4317 # Passes both tests.
4321 rm -f conftest.err conftest.i conftest.
$ac_ext
4324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4325 rm -f conftest.i conftest.err conftest.
$ac_ext
4326 if $ac_preproc_ok; then :
4329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4331 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4332 See \`config.log' for more details" "$LINENO" 5; }
4336 ac_cpp
='$CPP $CPPFLAGS'
4337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4343 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4344 if ${ac_cv_path_GREP+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -z "$GREP"; then
4348 ac_path_GREP_found
=false
4349 # Loop through the user's path and test for each of PROGNAME-LIST
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_prog
in grep ggrep
; do
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4358 as_fn_executable_p
"$ac_path_GREP" ||
continue
4359 # Check for GNU ac_path_GREP and select it if it is found.
4360 # Check for GNU $ac_path_GREP
4361 case `"$ac_path_GREP" --version 2>&1` in
4363 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4366 $as_echo_n 0123456789 >"conftest.in"
4369 cat "conftest.in" "conftest.in" >"conftest.tmp"
4370 mv "conftest.tmp" "conftest.in"
4371 cp "conftest.in" "conftest.nl"
4372 $as_echo 'GREP' >> "conftest.nl"
4373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4374 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4375 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4376 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4377 # Best one so far, save it but keep looking for a better one
4378 ac_cv_path_GREP
="$ac_path_GREP"
4379 ac_path_GREP_max
=$ac_count
4381 # 10*(2^10) chars as input seems more than enough
4382 test $ac_count -gt 10 && break
4384 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4387 $ac_path_GREP_found && break 3
4392 if test -z "$ac_cv_path_GREP"; then
4393 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4396 ac_cv_path_GREP
=$GREP
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4401 $as_echo "$ac_cv_path_GREP" >&6; }
4402 GREP
="$ac_cv_path_GREP"
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4406 $as_echo_n "checking for egrep... " >&6; }
4407 if ${ac_cv_path_EGREP+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4410 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4411 then ac_cv_path_EGREP
="$GREP -E"
4413 if test -z "$EGREP"; then
4414 ac_path_EGREP_found
=false
4415 # Loop through the user's path and test for each of PROGNAME-LIST
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_prog
in egrep; do
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4424 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4425 # Check for GNU ac_path_EGREP and select it if it is found.
4426 # Check for GNU $ac_path_EGREP
4427 case `"$ac_path_EGREP" --version 2>&1` in
4429 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4432 $as_echo_n 0123456789 >"conftest.in"
4435 cat "conftest.in" "conftest.in" >"conftest.tmp"
4436 mv "conftest.tmp" "conftest.in"
4437 cp "conftest.in" "conftest.nl"
4438 $as_echo 'EGREP' >> "conftest.nl"
4439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4440 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4441 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4443 # Best one so far, save it but keep looking for a better one
4444 ac_cv_path_EGREP
="$ac_path_EGREP"
4445 ac_path_EGREP_max
=$ac_count
4447 # 10*(2^10) chars as input seems more than enough
4448 test $ac_count -gt 10 && break
4450 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4453 $ac_path_EGREP_found && break 3
4458 if test -z "$ac_cv_path_EGREP"; then
4459 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4462 ac_cv_path_EGREP
=$EGREP
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4468 $as_echo "$ac_cv_path_EGREP" >&6; }
4469 EGREP
="$ac_cv_path_EGREP"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4473 $as_echo_n "checking for ANSI C header files... " >&6; }
4474 if ${ac_cv_header_stdc+:} false
; then :
4475 $as_echo_n "(cached) " >&6
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4492 if ac_fn_c_try_compile
"$LINENO"; then :
4493 ac_cv_header_stdc
=yes
4495 ac_cv_header_stdc
=no
4497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4499 if test $ac_cv_header_stdc = yes; then
4500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4507 $EGREP "memchr" >/dev
/null
2>&1; then :
4510 ac_cv_header_stdc
=no
4516 if test $ac_cv_header_stdc = yes; then
4517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4524 $EGREP "free" >/dev
/null
2>&1; then :
4527 ac_cv_header_stdc
=no
4533 if test $ac_cv_header_stdc = yes; then
4534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4535 if test "$cross_compiling" = yes; then :
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 #if ((' ' & 0x0FF) == 0x020)
4543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4546 # define ISLOWER(c) \
4547 (('a' <= (c) && (c) <= 'i') \
4548 || ('j' <= (c) && (c) <= 'r') \
4549 || ('s' <= (c) && (c) <= 'z'))
4550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4558 for (i = 0; i < 256; i++)
4559 if (XOR (islower (i), ISLOWER (i))
4560 || toupper (i) != TOUPPER (i))
4565 if ac_fn_c_try_run
"$LINENO"; then :
4568 ac_cv_header_stdc
=no
4570 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4571 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4577 $as_echo "$ac_cv_header_stdc" >&6; }
4578 if test $ac_cv_header_stdc = yes; then
4580 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4584 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4585 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4586 inttypes.h stdint.h unistd.h
4588 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4589 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4591 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4592 cat >>confdefs.h
<<_ACEOF
4593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4602 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4603 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4610 if test "$MINIX" = yes; then
4612 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4615 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4618 $as_echo "#define _MINIX 1" >>confdefs.h
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4624 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4625 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4626 $as_echo_n "(cached) " >&6
4628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4631 # define __EXTENSIONS__ 1
4632 $ac_includes_default
4641 if ac_fn_c_try_compile
"$LINENO"; then :
4642 ac_cv_safe_to_define___extensions__
=yes
4644 ac_cv_safe_to_define___extensions__
=no
4646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4649 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4650 test $ac_cv_safe_to_define___extensions__ = yes &&
4651 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4653 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4655 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4657 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4659 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4663 ac_cpp
='$CPP $CPPFLAGS'
4664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4667 if test -n "$ac_tool_prefix"; then
4668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4669 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_CC+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$CC"; then
4676 ac_cv_prog_CC
="$CC" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 if test -n "$CC"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4698 $as_echo "$CC" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4706 if test -z "$ac_cv_prog_CC"; then
4708 # Extract the first word of "gcc", so it can be a program name with args.
4709 set dummy gcc
; ac_word
=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$ac_ct_CC"; then
4716 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir
=.
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_ac_ct_CC
="gcc"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4736 if test -n "$ac_ct_CC"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4738 $as_echo "$ac_ct_CC" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4744 if test "x$ac_ct_CC" = x
; then
4747 case $cross_compiling:$ac_tool_warned in
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4751 ac_tool_warned
=yes ;;
4759 if test -z "$CC"; then
4760 if test -n "$ac_tool_prefix"; then
4761 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4762 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if ${ac_cv_prog_CC+:} false
; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$CC"; then
4769 ac_cv_prog_CC
="$CC" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 if test -n "$CC"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4791 $as_echo "$CC" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4800 if test -z "$CC"; then
4801 # Extract the first word of "cc", so it can be a program name with args.
4802 set dummy cc
; ac_word
=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_CC+:} false
; then :
4806 $as_echo_n "(cached) " >&6
4808 if test -n "$CC"; then
4809 ac_cv_prog_CC
="$CC" # Let the user override the test.
4812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir
=.
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4819 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4820 ac_prog_rejected
=yes
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 if test $ac_prog_rejected = yes; then
4832 # We found a bogon in the path, so make sure we never use it.
4833 set dummy
$ac_cv_prog_CC
4835 if test $# != 0; then
4836 # We chose a different compiler from the bogus one.
4837 # However, it has the same basename, so the bogon will be chosen
4838 # first if we set CC to just the basename; use the full file name.
4840 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4846 if test -n "$CC"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 $as_echo "$CC" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4856 if test -z "$CC"; then
4857 if test -n "$ac_tool_prefix"; then
4858 for ac_prog
in cl.exe
4860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4861 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_CC+:} false
; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$CC"; then
4868 ac_cv_prog_CC
="$CC" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 if test -n "$CC"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4890 $as_echo "$CC" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4897 test -n "$CC" && break
4900 if test -z "$CC"; then
4902 for ac_prog
in cl.exe
4904 # Extract the first word of "$ac_prog", so it can be a program name with args.
4905 set dummy
$ac_prog; ac_word
=$2
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 $as_echo_n "checking for $ac_word... " >&6; }
4908 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -n "$ac_ct_CC"; then
4912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4921 ac_cv_prog_ac_ct_CC
="$ac_prog"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4932 if test -n "$ac_ct_CC"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4934 $as_echo "$ac_ct_CC" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4941 test -n "$ac_ct_CC" && break
4944 if test "x$ac_ct_CC" = x
; then
4947 case $cross_compiling:$ac_tool_warned in
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4951 ac_tool_warned
=yes ;;
4960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4962 as_fn_error $?
"no acceptable C compiler found in \$PATH
4963 See \`config.log' for more details" "$LINENO" 5; }
4965 # Provide some information about the compiler.
4966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4969 for ac_option
in --version -v -V -qversion; do
4970 { { ac_try
="$ac_compiler $ac_option >&5"
4972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4976 $as_echo "$ac_try_echo"; } >&5
4977 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4979 if test -s conftest.err; then
4981 ... rest of stderr output deleted ...
4982 10q' conftest.err >conftest.er1
4983 cat conftest.er1 >&5
4985 rm -f conftest.er1 conftest.err
4986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4987 test $ac_status = 0; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4991 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4992 if ${ac_cv_c_compiler_gnu+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
5009 if ac_fn_c_try_compile "$LINENO"; then :
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5019 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5020 if test $ac_compiler_gnu = yes; then
5025 ac_test_CFLAGS=${CFLAGS+set}
5026 ac_save_CFLAGS=$CFLAGS
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5028 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5029 if ${ac_cv_prog_cc_g+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 ac_save_c_werror_flag=$ac_c_werror_flag
5033 ac_c_werror_flag=yes
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5047 if ac_fn_c_try_compile "$LINENO"; then :
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5062 if ac_fn_c_try_compile "$LINENO"; then :
5065 ac_c_werror_flag=$ac_save_c_werror_flag
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5078 if ac_fn_c_try_compile "$LINENO"; then :
5081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086 ac_c_werror_flag=$ac_save_c_werror_flag
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5089 $as_echo "$ac_cv_prog_cc_g" >&6; }
5090 if test "$ac_test_CFLAGS" = set; then
5091 CFLAGS=$ac_save_CFLAGS
5092 elif test $ac_cv_prog_cc_g = yes; then
5093 if test "$GCC" = yes; then
5099 if test "$GCC" = yes; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5107 if ${ac_cv_prog_cc_c89+:} false; then :
5108 $as_echo_n "(cached) " >&6
5110 ac_cv_prog_cc_c89=no
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5118 struct buf { int x; };
5119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5120 static char *e (p, i)
5126 static char *f (char * (*g) (char **, int), char **p, ...)
5131 s = g (p, va_arg (v,int));
5136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5137 function prototypes and stuff, but not '\xHH' hex character constants.
5138 These don't provoke an error unfortunately, instead are silently treated
5139 as 'x'. The following induces an error, until -std is added to get
5140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5141 array size at least. It's necessary to write '\x00'==0 to get something
5142 that's true only with -std. */
5143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5146 inside strings and character constants. */
5148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5150 int test (int i, double x);
5151 struct s1 {int (*f) (int a);};
5152 struct s2 {int (*f) (double a);};
5153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5167 CC="$ac_save_CC $ac_arg"
5168 if ac_fn_c_try_compile "$LINENO"; then :
5169 ac_cv_prog_cc_c89=$ac_arg
5171 rm -f core conftest.err conftest.$ac_objext
5172 test "x$ac_cv_prog_cc_c89" != "xno" && break
5174 rm -f conftest.$ac_ext
5179 case "x$ac_cv_prog_cc_c89" in
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5182 $as_echo "none needed" >&6; } ;;
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5185 $as_echo "unsupported" >&6; } ;;
5187 CC="$CC $ac_cv_prog_cc_c89"
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5189 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5191 if test "x$ac_cv_prog_cc_c89" != xno; then :
5196 ac_cpp='$CPP $CPPFLAGS'
5197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5202 ac_cpp='$CPP $CPPFLAGS'
5203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5207 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5208 if ${am_cv_prog_cc_c_o+:} false; then :
5209 $as_echo_n "(cached) " >&6
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5222 # Make sure it works both with $CC and with simple cc.
5223 # Following AC_PROG_CC_C_O, we do the test twice because some
5224 # compilers refuse to overwrite an existing .o file with -o,
5225 # though they will create one.
5226 am_cv_prog_cc_c_o=yes
5228 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5229 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } \
5233 && test -f conftest2.$ac_objext; then
5236 am_cv_prog_cc_c_o=no
5240 rm -f core conftest*
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5244 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5245 if test "$am_cv_prog_cc_c_o" != yes; then
5246 # Losing compiler, so override with the script.
5247 # FIXME: It is wrong to rewrite CC.
5248 # But if we don't then we get into trouble of one sort or another.
5249 # A longer-term fix would be to have automake use am__CC in this case,
5250 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5251 CC="$am_aux_dir/compile $CC"
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260 depcc="$CC" am_compiler_list=
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5263 $as_echo_n "checking dependency style of $depcc... " >&6; }
5264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5265 $as_echo_n "(cached) " >&6
5267 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5268 # We make a subdir and do the tests there. Otherwise we can end up
5269 # making bogus files that we don't know about and never remove. For
5270 # instance it was reported that on HP-UX the gcc test will end up
5271 # making a dummy file named 'D' -- because '-MD' means "put the output
5275 # Copy depcomp to subdir because otherwise we won't find it if we're
5276 # using a relative directory.
5277 cp "$am_depcomp" conftest.dir
5279 # We will build objects and dependencies in a subdirectory because
5280 # it helps to detect inapplicable dependency modes. For instance
5281 # both Tru64's cc and ICC support -MD to output dependencies as a
5282 # side effect of compilation, but ICC will put the dependencies in
5283 # the current directory while Tru64 will put them in the object
5287 am_cv_CC_dependencies_compiler_type=none
5288 if test "$am_compiler_list" = ""; then
5289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5292 case " $depcc " in #(
5293 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5296 for depmode in $am_compiler_list; do
5297 # Setup a source with many dependencies, because some compilers
5298 # like to wrap large dependency lists on column 80 (with \), and
5299 # we should not choose a depcomp mode which is confused by this.
5301 # We need to recreate these files for each test, as the compiler may
5302 # overwrite some of them when testing with obscure command lines.
5303 # This happens at least with the AIX C compiler.
5305 for i in 1 2 3 4 5 6; do
5306 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5307 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5308 # Solaris 10 /bin/sh.
5309 echo '/* dummy */' > sub/conftst$i.h
5311 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5313 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5314 # mode. It turns out that the SunPro C++ compiler does not properly
5315 # handle '-M -o', and we need to detect this. Also, some Intel
5316 # versions had trouble with output in subdirs.
5317 am__obj=sub/conftest.${OBJEXT-o}
5318 am__minus_obj="-o $am__obj"
5321 # This depmode causes a compiler race in universal mode.
5322 test "$am__universal" = false || continue
5325 # After this tag, mechanisms are not by side-effect, so they'll
5326 # only be used when explicitly requested.
5327 if test "x$enable_dependency_tracking" = xyes; then
5333 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5334 # This compiler won't grok '-c -o', but also, the minuso test has
5335 # not run yet. These depmodes are late enough in the game, and
5336 # so weak that their functioning should not be impacted.
5337 am__obj=conftest.${OBJEXT-o}
5342 if depmode=$depmode \
5343 source=sub/conftest.c object=$am__obj \
5344 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5345 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5346 >/dev/null 2>conftest.err &&
5347 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5348 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5349 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5350 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5351 # icc doesn't choke on unknown options, it will just issue warnings
5352 # or remarks (even with -Werror). So we grep stderr for any message
5353 # that says an option was ignored or not supported.
5354 # When given -MP, icc 7.0 and 7.1 complain thusly:
5355 # icc: Command line warning: ignoring option '-M'; no argument required
5356 # The diagnosis changed in icc 8.0:
5357 # icc: Command line remark: option '-MP' not supported
5358 if (grep 'ignoring option' conftest.err ||
5359 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5360 am_cv_CC_dependencies_compiler_type=$depmode
5369 am_cv_CC_dependencies_compiler_type=none
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5378 test "x$enable_dependency_tracking" != xno \
5379 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5381 am__fastdepCC_FALSE='#'
5383 am__fastdepCC_TRUE='#'
5384 am__fastdepCC_FALSE=
5388 # Check whether --enable-largefile was given.
5389 if test "${enable_largefile+set}" = set; then :
5390 enableval=$enable_largefile;
5393 if test "$enable_largefile" != no; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5396 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5397 if ${ac_cv_sys_largefile_CC+:} false; then :
5398 $as_echo_n "(cached) " >&6
5400 ac_cv_sys_largefile_CC=no
5401 if test "$GCC" != yes; then
5404 # IRIX 6.2 and later do not support large files by default,
5405 # so use the C compiler's -n32 option if that helps.
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5408 #include <sys/types.h>
5409 /* Check that off_t can represent 2**63 - 1 correctly.
5410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5411 since some C++ compilers masquerading as C compilers
5412 incorrectly reject 9223372036854775807. */
5413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5415 && LARGE_OFF_T % 2147483647 == 1)
5425 if ac_fn_c_try_compile "$LINENO"; then :
5428 rm -f core conftest.err conftest.$ac_objext
5430 if ac_fn_c_try_compile "$LINENO"; then :
5431 ac_cv_sys_largefile_CC=' -n32'; break
5433 rm -f core conftest.err conftest.$ac_objext
5437 rm -f conftest.$ac_ext
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5441 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5442 if test "$ac_cv_sys_largefile_CC" != no; then
5443 CC=$CC$ac_cv_sys_largefile_CC
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5447 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5448 if ${ac_cv_sys_file_offset_bits+:} false; then :
5449 $as_echo_n "(cached) " >&6
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 #include <sys/types.h>
5455 /* Check that off_t can represent 2**63 - 1 correctly.
5456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5457 since some C++ compilers masquerading as C compilers
5458 incorrectly reject 9223372036854775807. */
5459 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5461 && LARGE_OFF_T % 2147483647 == 1)
5471 if ac_fn_c_try_compile "$LINENO"; then :
5472 ac_cv_sys_file_offset_bits=no; break
5474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5477 #define _FILE_OFFSET_BITS 64
5478 #include <sys/types.h>
5479 /* Check that off_t can represent 2**63 - 1 correctly.
5480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5481 since some C++ compilers masquerading as C compilers
5482 incorrectly reject 9223372036854775807. */
5483 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5485 && LARGE_OFF_T % 2147483647 == 1)
5495 if ac_fn_c_try_compile "$LINENO"; then :
5496 ac_cv_sys_file_offset_bits=64; break
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5499 ac_cv_sys_file_offset_bits=unknown
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5504 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5505 case $ac_cv_sys_file_offset_bits in #(
5508 cat >>confdefs.h <<_ACEOF
5509 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5514 if test $ac_cv_sys_file_offset_bits = unknown; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5516 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5517 if ${ac_cv_sys_large_files+:} false; then :
5518 $as_echo_n "(cached) " >&6
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5523 #include <sys/types.h>
5524 /* Check that off_t can represent 2**63 - 1 correctly.
5525 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5526 since some C++ compilers masquerading as C compilers
5527 incorrectly reject 9223372036854775807. */
5528 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5529 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5530 && LARGE_OFF_T % 2147483647 == 1)
5540 if ac_fn_c_try_compile "$LINENO"; then :
5541 ac_cv_sys_large_files=no; break
5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 #define _LARGE_FILES 1
5547 #include <sys/types.h>
5548 /* Check that off_t can represent 2**63 - 1 correctly.
5549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5550 since some C++ compilers masquerading as C compilers
5551 incorrectly reject 9223372036854775807. */
5552 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5554 && LARGE_OFF_T % 2147483647 == 1)
5564 if ac_fn_c_try_compile "$LINENO"; then :
5565 ac_cv_sys_large_files=1; break
5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5568 ac_cv_sys_large_files=unknown
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5573 $as_echo "$ac_cv_sys_large_files" >&6; }
5574 case $ac_cv_sys_large_files in #(
5577 cat >>confdefs.h <<_ACEOF
5578 #define _LARGE_FILES $ac_cv_sys_large_files
5589 ac_cpp='$CPP $CPPFLAGS'
5590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5594 ac_lto_plugin_warn_cflags=
5595 save_CFLAGS="$CFLAGS"
5596 for real_option in -Wall; do
5597 # Do the check with the no- prefix removed since gcc silently
5598 # accepts any -Wno-* option on purpose
5599 case $real_option in
5600 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
5601 *) option=$real_option ;;
5603 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5606 $as_echo_n "checking whether $CC supports $option... " >&6; }
5607 if eval \${$as_acx_Woption+:} false; then :
5608 $as_echo_n "(cached) " >&6
5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5622 if ac_fn_c_try_compile "$LINENO"; then :
5623 eval "$as_acx_Woption=yes"
5625 eval "$as_acx_Woption=no"
5627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5630 eval ac_res=\$$as_acx_Woption
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5632 $as_echo "$ac_res" >&6; }
5633 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5634 ac_lto_plugin_warn_cflags="$ac_lto_plugin_warn_cflags${ac_lto_plugin_warn_cflags:+ }$real_option"
5637 CFLAGS="$save_CFLAGS"
5639 ac_cpp='$CPP $CPPFLAGS'
5640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5646 # Check whether -static-libgcc is supported.
5647 saved_LDFLAGS="$LDFLAGS"
5648 LDFLAGS="$LDFLAGS -static-libgcc"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-libgcc" >&5
5650 $as_echo_n "checking for -static-libgcc... " >&6; }
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5656 if ac_fn_c_try_link "$LINENO"; then :
5657 have_static_libgcc=yes
5659 have_static_libgcc=no
5661 rm -f core conftest.err conftest.$ac_objext \
5662 conftest$ac_exeext conftest.$ac_ext
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_static_libgcc" >&5
5664 $as_echo "$have_static_libgcc" >&6; };
5665 LDFLAGS="$saved_LDFLAGS"
5666 # Need -Wc to get it through libtool.
5667 if test "x$have_static_libgcc" = xyes; then
5668 ac_lto_plugin_ldflags="-Wc,-static-libgcc"
5672 # Check whether --enable-cet was given.
5673 if test "${enable_cet+set}" = set; then :
5674 enableval=$enable_cet;
5675 case "$enableval" in
5677 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5686 $as_echo_n "checking for CET support... " >&6; }
5689 i[34567]86-*-linux* | x86_64-*-linux*)
5691 cet_save_CFLAGS="$CFLAGS"
5692 CFLAGS="$CFLAGS -fcf-protection"
5693 case "$enable_cet" in
5695 # Check if target supports multi-byte NOPs
5696 # and if compiler and assembler support CET.
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5704 #if !defined(__SSE2__)
5705 #error target does not support multi-byte NOPs
5714 if ac_fn_c_try_compile "$LINENO"; then :
5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5722 # Check if compiler and assembler support CET.
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5734 if ac_fn_c_try_compile "$LINENO"; then :
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 if test $support_cet = "no"; then
5741 if test x$enable_bootstrap != xno \
5742 && test -z "${with_build_subdir}" \
5743 && (test ! -f ../stage_current \
5744 || test `cat ..
/stage_current
` != "stage1"); then
5745 # Require CET support only for the final GCC build.
5746 as_fn_error $? "compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
5748 # Don't enable CET without CET support for non-bootstrap
5749 # build, in stage1 nor for build support.
5755 CFLAGS="$cet_save_CFLAGS"
5763 cet_save_CFLAGS="$CFLAGS"
5764 CFLAGS="$CFLAGS -fcf-protection=none"
5765 cet_save_LDFLAGS="$LDFLAGS"
5766 LDFLAGS="$LDFLAGS -Wl,-z,ibt,-z,shstk"
5767 if test x$may_have_cet = xyes; then
5768 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5780 if ac_fn_c_try_link "$LINENO"; then :
5785 rm -f core conftest.err conftest.$ac_objext \
5786 conftest$ac_exeext conftest.$ac_ext
5789 if test x$may_have_cet = xyes; then
5790 if test x$cross_compiling = xno; then
5791 if test "$cross_compiling" = yes; then :
5792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5794 as_fn_error $? "cannot run
test program
while cross compiling
5795 See \
`config.log' for more details" "$LINENO" 5; }
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5808 if ac_fn_c_try_run "$LINENO"; then :
5809 have_multi_byte_nop=yes
5811 have_multi_byte_nop=no
5813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5814 conftest.$ac_objext conftest.beam conftest.$ac_ext
5818 if test x$have_multi_byte_nop = xyes; then
5819 if test "$cross_compiling" = yes; then :
5820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5822 as_fn_error $? "cannot run
test program
while cross compiling
5823 See \
`config.log' for more details" "$LINENO" 5; }
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5834 __attribute__ ((noinline, noclone))
5835 xxx (void (*f) (void))
5841 __attribute__ ((noinline, noclone))
5855 if ac_fn_c_try_run "$LINENO"; then :
5860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5861 conftest.$ac_objext conftest.beam conftest.$ac_ext
5865 if test x$enable_cet = xno -a x$have_cet = xyes; then
5866 as_fn_error $? "Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
5870 # Enable CET in cross compiler if possible so that it will run on both
5871 # CET and non-CET hosts.
5874 if test x$enable_cet = xyes; then
5875 CET_HOST_FLAGS="-fcf-protection"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5877 $as_echo "yes" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5882 CFLAGS="$cet_save_CFLAGS"
5883 LDFLAGS="$cet_save_LDFLAGS"
5887 if test x"$host_subdir" = x.; then
5888 gcc_build_dir=../gcc
5890 gcc_build_dir=../../$host_subdir/gcc
5894 # Used for constructing correct paths for offload compilers.
5896 real_target_noncanonical=${target_noncanonical}
5897 if test x"$enable_as_accelerator_for" != x; then
5898 accel_dir_suffix=/accel/${target_noncanonical}
5899 real_target_noncanonical=${enable_as_accelerator_for}
5904 # Determine what GCC version number to use in filesystem paths.
5906 get_gcc_base_ver="cat"
5908 # Check whether --with-gcc-major-version-only was given.
5909 if test "${with_gcc_major_version_only+set}" = set; then :
5910 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
5911 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5920 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5921 lto_plugin_use_symver=no
5922 if test x$gcc_no_link = xyes; then
5923 # If we cannot link, we cannot build shared libraries, so do not use
5924 # symbol versioning.
5925 lto_plugin_use_symver=no
5927 save_LDFLAGS="$LDFLAGS"
5928 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5929 cat > conftest.map <<EOF
5931 global: *foo*; bar; local: *;
5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5945 if ac_fn_c_try_link "$LINENO"; then :
5946 lto_plugin_use_symver=gnu
5948 lto_plugin_use_symver=no
5950 rm -f core conftest.err conftest.$ac_objext \
5951 conftest$ac_exeext conftest.$ac_ext
5952 if test x$lto_plugin_use_symver = xno; then
5953 case "$target_os" in
5955 LDFLAGS="$save_LDFLAGS"
5956 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5957 # Sun ld cannot handle wildcards and treats all entries as undefined.
5958 cat > conftest.map <<EOF
5960 global: foo; local: *;
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5974 if ac_fn_c_try_link "$LINENO"; then :
5975 lto_plugin_use_symver=sun
5977 lto_plugin_use_symver=no
5979 rm -f core conftest.err conftest.$ac_objext \
5980 conftest$ac_exeext conftest.$ac_ext
5984 LDFLAGS="$save_LDFLAGS"
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lto_plugin_use_symver" >&5
5987 $as_echo "$lto_plugin_use_symver" >&6; }
5988 if test "x$lto_plugin_use_symver" != xno; then
5989 LTO_PLUGIN_USE_SYMVER_TRUE=
5990 LTO_PLUGIN_USE_SYMVER_FALSE='#'
5992 LTO_PLUGIN_USE_SYMVER_TRUE='#'
5993 LTO_PLUGIN_USE_SYMVER_FALSE=
5996 if test "x$lto_plugin_use_symver" = xgnu; then
5997 LTO_PLUGIN_USE_SYMVER_GNU_TRUE=
5998 LTO_PLUGIN_USE_SYMVER_GNU_FALSE='#'
6000 LTO_PLUGIN_USE_SYMVER_GNU_TRUE='#'
6001 LTO_PLUGIN_USE_SYMVER_GNU_FALSE=
6004 if test "x$lto_plugin_use_symver" = xsun; then
6005 LTO_PLUGIN_USE_SYMVER_SUN_TRUE=
6006 LTO_PLUGIN_USE_SYMVER_SUN_FALSE='#'
6008 LTO_PLUGIN_USE_SYMVER_SUN_TRUE='#'
6009 LTO_PLUGIN_USE_SYMVER_SUN_FALSE=
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6016 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6021 macro_version='2.2.7a'
6022 macro_revision='1.3134'
6036 ltmain="$ac_aux_dir/ltmain.sh"
6038 # Backslashify metacharacters that are still active within
6039 # double-quoted strings.
6040 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6042 # Same as above, but do not quote variable references.
6043 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6045 # Sed substitution to delay expansion of an escaped shell variable in a
6046 # double_quote_subst'ed string.
6047 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6049 # Sed substitution to delay expansion of an escaped single quote.
6050 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6052 # Sed substitution to avoid accidental globbing in evaled expressions
6053 no_glob_subst='s/\*/\\\*/g'
6055 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6056 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6057 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6060 $as_echo_n "checking how to print
strings...
" >&6; }
6061 # Test print first, because it will be a builtin if present.
6062 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6063 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6065 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6068 # Use this function as a fallback that always works.
6069 func_fallback_echo ()
6071 eval 'cat <<_LTECHO_EOF
6075 ECHO='func_fallback_echo'
6078 # func_echo_all arg...
6079 # Invoke $ECHO with all args, space-separated.
6086 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6087 $as_echo "printf" >&6; } ;;
6088 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6089 $as_echo "print
-r" >&6; } ;;
6090 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6091 $as_echo "cat" >&6; } ;;
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6108 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6109 if ${ac_cv_path_SED+:} false; then :
6110 $as_echo_n "(cached
) " >&6
6112 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6113 for ac_i in 1 2 3 4 5 6 7; do
6114 ac_script="$ac_script$as_nl$ac_script"
6116 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6117 { ac_script=; unset ac_script;}
6118 if test -z "$SED"; then
6119 ac_path_SED_found=false
6120 # Loop through the user's path and test for each of PROGNAME-LIST
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_prog in sed gsed; do
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6129 as_fn_executable_p "$ac_path_SED" || continue
6130 # Check for GNU ac_path_SED and select it if it is found.
6131 # Check for GNU $ac_path_SED
6132 case `"$ac_path_SED" --version 2>&1` in
6134 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6137 $as_echo_n 0123456789 >"conftest.
in"
6140 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6141 mv "conftest.tmp
" "conftest.
in"
6142 cp "conftest.
in" "conftest.
nl"
6143 $as_echo '' >> "conftest.
nl"
6144 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6145 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6146 as_fn_arith $ac_count + 1 && ac_count=$as_val
6147 if test $ac_count -gt ${ac_path_SED_max-0}; then
6148 # Best one so far, save it but keep looking for a better one
6149 ac_cv_path_SED="$ac_path_SED"
6150 ac_path_SED_max=$ac_count
6152 # 10*(2^10) chars as input seems more than enough
6153 test $ac_count -gt 10 && break
6155 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6158 $ac_path_SED_found && break 3
6163 if test -z "$ac_cv_path_SED"; then
6164 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6172 $as_echo "$ac_cv_path_SED" >&6; }
6173 SED="$ac_cv_path_SED"
6176 test -z "$SED" && SED=sed
6177 Xsed="$SED -e 1s
/^X
//"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6190 $as_echo_n "checking
for fgrep...
" >&6; }
6191 if ${ac_cv_path_FGREP+:} false; then :
6192 $as_echo_n "(cached
) " >&6
6194 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6195 then ac_cv_path_FGREP="$GREP -F"
6197 if test -z "$FGREP"; then
6198 ac_path_FGREP_found=false
6199 # Loop through the user's path and test for each of PROGNAME-LIST
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6204 test -z "$as_dir" && as_dir=.
6205 for ac_prog in fgrep; do
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6208 as_fn_executable_p "$ac_path_FGREP" || continue
6209 # Check for GNU ac_path_FGREP and select it if it is found.
6210 # Check for GNU $ac_path_FGREP
6211 case `"$ac_path_FGREP" --version 2>&1` in
6213 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6216 $as_echo_n 0123456789 >"conftest.
in"
6219 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6220 mv "conftest.tmp
" "conftest.
in"
6221 cp "conftest.
in" "conftest.
nl"
6222 $as_echo 'FGREP' >> "conftest.
nl"
6223 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6224 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6225 as_fn_arith $ac_count + 1 && ac_count=$as_val
6226 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6227 # Best one so far, save it but keep looking for a better one
6228 ac_cv_path_FGREP="$ac_path_FGREP"
6229 ac_path_FGREP_max=$ac_count
6231 # 10*(2^10) chars as input seems more than enough
6232 test $ac_count -gt 10 && break
6234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6237 $ac_path_FGREP_found && break 3
6242 if test -z "$ac_cv_path_FGREP"; then
6243 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6246 ac_cv_path_FGREP=$FGREP
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6252 $as_echo "$ac_cv_path_FGREP" >&6; }
6253 FGREP="$ac_cv_path_FGREP"
6256 test -z "$GREP" && GREP=grep
6276 # Check whether --with-gnu-ld was given.
6277 if test "${with_gnu_ld+set}" = set; then :
6278 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6284 if test "$GCC" = yes; then
6285 # Check if gcc -print-prog-name=ld gives a path.
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6287 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6290 # gcc leaves a trailing carriage return which upsets mingw
6291 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6293 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6296 # Accept absolute paths.
6298 re_direlt='/[^/][^/]*/\.\./'
6299 # Canonicalize the pathname of ld
6300 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6301 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6302 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6304 test -z "$LD" && LD="$ac_prog"
6307 # If it fails, then pretend we aren't using GCC.
6311 # If it is relative, then search for the first ld in PATH.
6315 elif test "$with_gnu_ld" = yes; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6317 $as_echo_n "checking
for GNU ld...
" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6320 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6322 if ${lt_cv_path_LD+:} false; then :
6323 $as_echo_n "(cached
) " >&6
6325 if test -z "$LD"; then
6326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6327 for ac_dir in $PATH; do
6329 test -z "$ac_dir" && ac_dir=.
6330 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6331 lt_cv_path_LD="$ac_dir/$ac_prog"
6332 # Check to see if the program is GNU ld. I'd rather use --version,
6333 # but apparently some variants of GNU ld only accept -v.
6334 # Break only if it was the GNU/non-GNU ld that we prefer.
6335 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6336 *GNU* | *'with BFD'*)
6337 test "$with_gnu_ld" != no && break
6340 test "$with_gnu_ld" != yes && break
6347 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6352 if test -n "$LD"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6354 $as_echo "$LD" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6357 $as_echo "no
" >&6; }
6359 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6361 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6362 if ${lt_cv_prog_gnu_ld+:} false; then :
6363 $as_echo_n "(cached
) " >&6
6365 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6366 case `$LD -v 2>&1 </dev/null` in
6367 *GNU* | *'with BFD'*)
6368 lt_cv_prog_gnu_ld=yes
6371 lt_cv_prog_gnu_ld=no
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6377 with_gnu_ld=$lt_cv_prog_gnu_ld
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6388 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6389 if ${lt_cv_path_NM+:} false; then :
6390 $as_echo_n "(cached
) " >&6
6392 if test -n "$NM"; then
6393 # Let the user override the test.
6396 lt_nm_to_check="${ac_tool_prefix}nm
"
6397 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6398 lt_nm_to_check="$lt_nm_to_check nm
"
6400 for lt_tmp_nm in $lt_nm_to_check; do
6401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6402 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6404 test -z "$ac_dir" && ac_dir=.
6405 tmp_nm="$ac_dir/$lt_tmp_nm"
6406 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6407 # Check to see if the nm accepts a BSD-compat flag.
6408 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6409 # nm: unknown option "B
" ignored
6410 # Tru64's nm complains that /dev/null is an invalid object file
6411 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6412 */dev/null* | *'Invalid file or object type'*)
6413 lt_cv_path_NM="$tmp_nm -B"
6417 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6419 lt_cv_path_NM="$tmp_nm -p"
6423 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6424 continue # so that we can try to find one that supports BSD flags
6433 : ${lt_cv_path_NM=no}
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6437 $as_echo "$lt_cv_path_NM" >&6; }
6438 if test "$lt_cv_path_NM" != "no
"; then
6441 # Didn't find any BSD compatible name lister, look for dumpbin.
6442 if test -n "$DUMPBIN"; then :
6443 # Let the user override the test.
6445 if test -n "$ac_tool_prefix"; then
6446 for ac_prog in dumpbin "link
-dump"
6448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6451 $as_echo_n "checking
for $ac_word...
" >&6; }
6452 if ${ac_cv_prog_DUMPBIN+:} false; then :
6453 $as_echo_n "(cached
) " >&6
6455 if test -n "$DUMPBIN"; then
6456 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6475 DUMPBIN=$ac_cv_prog_DUMPBIN
6476 if test -n "$DUMPBIN"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6478 $as_echo "$DUMPBIN" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6481 $as_echo "no
" >&6; }
6485 test -n "$DUMPBIN" && break
6488 if test -z "$DUMPBIN"; then
6489 ac_ct_DUMPBIN=$DUMPBIN
6490 for ac_prog in dumpbin "link
-dump"
6492 # Extract the first word of "$ac_prog", so it can be a program name with args.
6493 set dummy $ac_prog; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6495 $as_echo_n "checking
for $ac_word...
" >&6; }
6496 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6497 $as_echo_n "(cached
) " >&6
6499 if test -n "$ac_ct_DUMPBIN"; then
6500 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6509 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6520 if test -n "$ac_ct_DUMPBIN"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6522 $as_echo "$ac_ct_DUMPBIN" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6525 $as_echo "no
" >&6; }
6529 test -n "$ac_ct_DUMPBIN" && break
6532 if test "x
$ac_ct_DUMPBIN" = x; then
6535 case $cross_compiling:$ac_tool_warned in
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6538 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6539 ac_tool_warned=yes ;;
6541 DUMPBIN=$ac_ct_DUMPBIN
6545 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6547 DUMPBIN="$DUMPBIN -symbols"
6555 if test "$DUMPBIN" != ":"; then
6559 test -z "$NM" && NM=nm
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6567 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6568 if ${lt_cv_nm_interface+:} false; then :
6569 $as_echo_n "(cached
) " >&6
6571 lt_cv_nm_interface="BSD nm
"
6572 echo "int some_variable
= 0;" > conftest.$ac_ext
6573 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6574 (eval "$ac_compile" 2>conftest.err)
6575 cat conftest.err >&5
6576 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6577 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6578 cat conftest.err >&5
6579 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6580 cat conftest.out >&5
6581 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6582 lt_cv_nm_interface="MS dumpbin
"
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6587 $as_echo "$lt_cv_nm_interface" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6590 $as_echo_n "checking whether
ln -s works...
" >&6; }
6592 if test "$LN_S" = "ln -s"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6594 $as_echo "yes" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6597 $as_echo "no
, using
$LN_S" >&6; }
6600 # find the maximum length of command line arguments
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6602 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6603 if ${lt_cv_sys_max_cmd_len+:} false; then :
6604 $as_echo_n "(cached
) " >&6
6611 # On DJGPP, this test can blow up pretty badly due to problems in libc
6612 # (any single argument exceeding 2000 bytes causes a buffer overrun
6613 # during glob expansion). Even if it were fixed, the result of this
6614 # check would be larger than it should be.
6615 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6619 # Under GNU Hurd, this test is not required because there is
6620 # no limit to the length of command line arguments.
6621 # Libtool will interpret -1 as no limit whatsoever
6622 lt_cv_sys_max_cmd_len=-1;
6625 cygwin* | mingw* | cegcc*)
6626 # On Win9x/ME, this test blows up -- it succeeds, but takes
6627 # about 5 minutes as the teststring grows exponentially.
6628 # Worse, since 9x/ME are not pre-emptively multitasking,
6629 # you end up with a "frozen
" computer, even though with patience
6630 # the test eventually succeeds (with a max line length of 256k).
6631 # Instead, let's just punt: use the minimum linelength reported by
6632 # all of the supported platforms: 8192 (on NT/2K/XP).
6633 lt_cv_sys_max_cmd_len=8192;
6637 # On MiNT this can take a long time and run out of memory.
6638 lt_cv_sys_max_cmd_len=8192;
6642 # On AmigaOS with pdksh, this test takes hours, literally.
6643 # So we just punt and use a minimum line length of 8192.
6644 lt_cv_sys_max_cmd_len=8192;
6647 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6648 # This has been around since 386BSD, at least. Likely further.
6649 if test -x /sbin/sysctl; then
6650 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6651 elif test -x /usr/sbin/sysctl; then
6652 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6654 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6656 # And add a safety zone
6657 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6658 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6662 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6663 lt_cv_sys_max_cmd_len=196608
6667 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6668 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6669 # nice to cause kernel panics so lets avoid the loop below.
6670 # First set a reasonable default.
6671 lt_cv_sys_max_cmd_len=16384
6673 if test -x /sbin/sysconfig; then
6674 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6675 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6680 lt_cv_sys_max_cmd_len=102400
6682 sysv5* | sco5v6* | sysv4.2uw2*)
6683 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6684 if test -n "$kargmax"; then
6685 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6687 lt_cv_sys_max_cmd_len=32768
6691 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6692 if test -n "$lt_cv_sys_max_cmd_len"; then
6693 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6694 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6696 # Make teststring a little bigger before we do anything with it.
6697 # a 1K string should be a reasonable start.
6698 for i in 1 2 3 4 5 6 7 8 ; do
6699 teststring=$teststring$teststring
6701 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6702 # If test is not a shell built-in, we'll probably end up computing a
6703 # maximum length that is only half of the actual maximum length, but
6705 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6706 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6707 test $i != 17 # 1/2 MB should be enough
6710 teststring=$teststring$teststring
6712 # Only check the string length outside the loop.
6713 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6715 # Add a significant safety factor because C++ compilers can tack on
6716 # massive amounts of additional arguments before passing them to the
6717 # linker. It appears as though 1/2 is a usable value.
6718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6725 if test -n $lt_cv_sys_max_cmd_len ; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6727 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6730 $as_echo "none
" >&6; }
6732 max_cmd_len=$lt_cv_sys_max_cmd_len
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6744 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6745 # Try some XSI features
6748 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6750 && eval 'test $(( 1 + 1 )) -eq 2 \
6751 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6754 $as_echo "$xsi_shell" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6758 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6760 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6762 && lt_shell_append
=yes
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6764 $as_echo "$lt_shell_append" >&6; }
6767 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6777 # test EBCDIC or ASCII
6778 case `echo X|tr X '\101'` in
6779 A
) # ASCII based system
6780 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6781 lt_SP2NL
='tr \040 \012'
6782 lt_NL2SP
='tr \015\012 \040\040'
6784 *) # EBCDIC based system
6785 lt_SP2NL
='tr \100 \n'
6786 lt_NL2SP
='tr \r\n \100\100'
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6800 if ${lt_cv_ld_reload_flag+:} false
; then :
6801 $as_echo_n "(cached) " >&6
6803 lt_cv_ld_reload_flag
='-r'
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag
=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6810 *) reload_flag
=" $reload_flag" ;;
6812 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6815 if test "$GCC" = yes; then
6816 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6818 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6833 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6837 $as_echo_n "(cached) " >&6
6839 if test -n "$OBJDUMP"; then
6840 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir
=.
6847 for ac_exec_ext
in '' $ac_executable_extensions; do
6848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 OBJDUMP
=$ac_cv_prog_OBJDUMP
6860 if test -n "$OBJDUMP"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6862 $as_echo "$OBJDUMP" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6870 if test -z "$ac_cv_prog_OBJDUMP"; then
6871 ac_ct_OBJDUMP
=$OBJDUMP
6872 # Extract the first word of "objdump", so it can be a program name with args.
6873 set dummy objdump
; ac_word
=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6877 $as_echo_n "(cached) " >&6
6879 if test -n "$ac_ct_OBJDUMP"; then
6880 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6889 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6900 if test -n "$ac_ct_OBJDUMP"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6902 $as_echo "$ac_ct_OBJDUMP" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6908 if test "x$ac_ct_OBJDUMP" = x
; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned
=yes ;;
6917 OBJDUMP
=$ac_ct_OBJDUMP
6920 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6923 test -z "$OBJDUMP" && OBJDUMP
=objdump
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6934 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6935 if ${lt_cv_deplibs_check_method+:} false
; then :
6936 $as_echo_n "(cached) " >&6
6938 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6939 lt_cv_file_magic_test_file
=
6940 lt_cv_deplibs_check_method
='unknown'
6941 # Need to set the preceding variable on all platforms that support
6942 # interlibrary dependencies.
6943 # 'none' -- dependencies not supported.
6944 # `unknown' -- same as none, but documents that we really don't know.
6945 # 'pass_all' -- all dependencies passed with no checks.
6946 # 'test_compile' -- check by making test program.
6947 # 'file_magic [[regex]]' -- check by looking for files in library path
6948 # which responds to the $file_magic_cmd with a given extended regex.
6949 # If you have `file' or equivalent on your system and you're not sure
6950 # whether `pass_all' will *always* work, you probably want this one.
6954 lt_cv_deplibs_check_method
=pass_all
6958 lt_cv_deplibs_check_method
=pass_all
6962 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6963 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6964 lt_cv_file_magic_test_file
=/shlib
/libc.so
6968 # func_win32_libid is a shell function defined in ltmain.sh
6969 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6970 lt_cv_file_magic_cmd
='func_win32_libid'
6974 # Base MSYS/MinGW do not provide the 'file' command needed by
6975 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6976 # unless we find 'file', for example because we are cross-compiling.
6977 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6978 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6979 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6980 lt_cv_file_magic_cmd
='func_win32_libid'
6982 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6983 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6988 # use the weaker test based on 'objdump'. See mingw*.
6989 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6990 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6993 darwin
* | rhapsody
*)
6994 lt_cv_deplibs_check_method
=pass_all
6997 freebsd
* | dragonfly
*)
6998 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7001 # Not sure whether the presence of OpenBSD here was a mistake.
7002 # Let's accept both of them until this is cleared up.
7003 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7004 lt_cv_file_magic_cmd
=/usr
/bin
/file
7005 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7009 lt_cv_deplibs_check_method
=pass_all
7014 lt_cv_deplibs_check_method
=pass_all
7018 lt_cv_deplibs_check_method
=pass_all
7021 hpux10.20
* | hpux11
*)
7022 lt_cv_file_magic_cmd
=/usr
/bin
/file
7025 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7026 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7029 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]'
7030 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7033 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7034 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7040 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7041 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7044 irix5
* | irix6
* | nonstopux
*)
7046 *-32|
*"-32 ") libmagic
=32-bit;;
7047 *-n32|
*"-n32 ") libmagic
=N32
;;
7048 *-64|
*"-64 ") libmagic
=64-bit;;
7049 *) libmagic
=never-match
;;
7051 lt_cv_deplibs_check_method
=pass_all
7054 # This must be Linux ELF.
7055 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7056 lt_cv_deplibs_check_method
=pass_all
7060 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7061 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7063 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7068 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7069 lt_cv_file_magic_cmd
=/usr
/bin
/file
7070 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7074 lt_cv_deplibs_check_method
=pass_all
7078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7079 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7081 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7085 osf3
* | osf4
* | osf5
*)
7086 lt_cv_deplibs_check_method
=pass_all
7090 lt_cv_deplibs_check_method
=pass_all
7094 lt_cv_deplibs_check_method
=pass_all
7097 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7098 lt_cv_deplibs_check_method
=pass_all
7102 case $host_vendor in
7104 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]'
7105 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7108 lt_cv_deplibs_check_method
=pass_all
7111 lt_cv_file_magic_cmd
='/bin/file'
7112 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7115 lt_cv_file_magic_cmd
='/bin/file'
7116 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7117 lt_cv_file_magic_test_file
=/lib
/libc.so
7120 lt_cv_deplibs_check_method
=pass_all
7123 lt_cv_deplibs_check_method
=pass_all
7129 lt_cv_deplibs_check_method
=pass_all
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7135 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7136 file_magic_cmd
=$lt_cv_file_magic_cmd
7137 deplibs_check_method
=$lt_cv_deplibs_check_method
7138 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7153 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if ${ac_cv_prog_AR+:} false
; then :
7157 $as_echo_n "(cached) " >&6
7159 if test -n "$AR"; then
7160 ac_cv_prog_AR
="$AR" # Let the user override the test.
7162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir
=.
7167 for ac_exec_ext
in '' $ac_executable_extensions; do
7168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 if test -n "$AR"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7182 $as_echo "$AR" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7190 if test -z "$ac_cv_prog_AR"; then
7192 # Extract the first word of "ar", so it can be a program name with args.
7193 set dummy
ar; ac_word
=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 if test -n "$ac_ct_AR"; then
7200 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir
=.
7207 for ac_exec_ext
in '' $ac_executable_extensions; do
7208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_ac_ct_AR
="ar"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7220 if test -n "$ac_ct_AR"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7222 $as_echo "$ac_ct_AR" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7228 if test "x$ac_ct_AR" = x
; then
7231 case $cross_compiling:$ac_tool_warned in
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned
=yes ;;
7243 test -z "$AR" && AR
=ar
7244 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7256 if test -n "$ac_tool_prefix"; then
7257 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7258 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_prog_STRIP+:} false
; then :
7262 $as_echo_n "(cached) " >&6
7264 if test -n "$STRIP"; then
7265 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir
=.
7272 for ac_exec_ext
in '' $ac_executable_extensions; do
7273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7274 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 STRIP
=$ac_cv_prog_STRIP
7285 if test -n "$STRIP"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7287 $as_echo "$STRIP" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7295 if test -z "$ac_cv_prog_STRIP"; then
7297 # Extract the first word of "strip", so it can be a program name with args.
7298 set dummy strip
; ac_word
=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7302 $as_echo_n "(cached) " >&6
7304 if test -n "$ac_ct_STRIP"; then
7305 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7311 test -z "$as_dir" && as_dir
=.
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_ac_ct_STRIP
="strip"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7325 if test -n "$ac_ct_STRIP"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7327 $as_echo "$ac_ct_STRIP" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7333 if test "x$ac_ct_STRIP" = x
; then
7336 case $cross_compiling:$ac_tool_warned in
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7340 ac_tool_warned
=yes ;;
7345 STRIP
="$ac_cv_prog_STRIP"
7348 test -z "$STRIP" && STRIP
=:
7355 if test -n "$ac_tool_prefix"; then
7356 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7357 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_RANLIB+:} false
; then :
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$RANLIB"; then
7364 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir
=.
7371 for ac_exec_ext
in '' $ac_executable_extensions; do
7372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 RANLIB
=$ac_cv_prog_RANLIB
7384 if test -n "$RANLIB"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7386 $as_echo "$RANLIB" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7394 if test -z "$ac_cv_prog_RANLIB"; then
7395 ac_ct_RANLIB
=$RANLIB
7396 # Extract the first word of "ranlib", so it can be a program name with args.
7397 set dummy ranlib
; ac_word
=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7401 $as_echo_n "(cached) " >&6
7403 if test -n "$ac_ct_RANLIB"; then
7404 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7410 test -z "$as_dir" && as_dir
=.
7411 for ac_exec_ext
in '' $ac_executable_extensions; do
7412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7413 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7423 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7424 if test -n "$ac_ct_RANLIB"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7426 $as_echo "$ac_ct_RANLIB" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7432 if test "x$ac_ct_RANLIB" = x
; then
7435 case $cross_compiling:$ac_tool_warned in
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned
=yes ;;
7441 RANLIB
=$ac_ct_RANLIB
7444 RANLIB
="$ac_cv_prog_RANLIB"
7447 test -z "$RANLIB" && RANLIB
=:
7454 # Determine commands to create old-style static archives.
7455 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7456 old_postinstall_cmds
='chmod 644 $oldlib'
7457 old_postuninstall_cmds
=
7459 if test -n "$RANLIB"; then
7462 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7465 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7468 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7473 lock_old_archive_extraction
=yes ;;
7475 lock_old_archive_extraction
=no
;;
7516 # If no C compiler was specified, use CC.
7519 # If no C compiler flags were specified, use CFLAGS.
7520 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7522 # Allow CC to be a program name with arguments.
7526 # Check for command to grab the raw symbol name followed by C symbol from nm.
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7528 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7529 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7530 $as_echo_n "(cached) " >&6
7533 # These are sane defaults that work on at least a few old systems.
7534 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7536 # Character class describing NM global symbol codes.
7537 symcode
='[BCDEGRST]'
7539 # Regexp to match symbols that can be accessed directly from C.
7540 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7542 # Define system-specific variables.
7547 cygwin
* | mingw
* | pw32
* | cegcc
*)
7548 symcode
='[ABCDGISTW]'
7551 if test "$host_cpu" = ia64
; then
7552 symcode
='[ABCDEGRST]'
7556 symcode
='[BCDEGRST]'
7559 symcode
='[BCDEGQRST]'
7570 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7578 # If we're using GNU nm, then use its standard symbol codes.
7579 case `$NM -V 2>&1` in
7580 *GNU
* |
*'with BFD'*)
7581 symcode
='[ABCDGIRSTW]' ;;
7584 # Transform an extracted symbol line into a proper C declaration.
7585 # Some systems (esp. on ia64) link data and code symbols differently,
7586 # so use this general approach.
7587 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7589 # Transform an extracted symbol line into symbol name and symbol address
7590 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7591 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'"
7593 # Handle CRLF in mingw tool chain
7597 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7601 # Try without a prefix underscore, then with it.
7602 for ac_symprfx
in "" "_"; do
7604 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7605 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7607 # Write the raw and C identifiers.
7608 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7609 # Fake it for dumpbin and say T for any non-static function
7610 # and D for any global variable.
7611 # Also find C++ and __fastcall symbols from MSVC++,
7612 # which start with @ or ?.
7613 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7614 " {last_section=section; section=\$ 3};"\
7615 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7616 " \$ 0!~/External *\|/{next};"\
7617 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7618 " {if(hide[section]) next};"\
7619 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7620 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7621 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7622 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7623 " ' prfx=^$ac_symprfx"
7625 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7628 # Check to see that the pipe works correctly.
7632 cat > conftest.
$ac_ext <<_LT_EOF
7637 void nm_test_func(void);
7638 void nm_test_func(void){}
7642 int main(){nm_test_var='a';nm_test_func();return(0);}
7645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646 (eval $ac_compile) 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649 test $ac_status = 0; }; then
7650 # Now try to grab the symbols.
7652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7653 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7656 test $ac_status = 0; } && test -s "$nlist"; then
7657 # Try sorting and uniquifying the output.
7658 if sort "$nlist" |
uniq > "$nlist"T
; then
7659 mv -f "$nlist"T
"$nlist"
7664 # Make sure that we snagged all the symbols we need.
7665 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7666 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7667 cat <<_LT_EOF > conftest.$ac_ext
7673 # Now generate the symbol file.
7674 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7676 cat <<_LT_EOF >> conftest.$ac_ext
7678 /* The mapping between symbol names and symbols. */
7683 lt__PROGRAM__LTX_preloaded_symbols[] =
7685 { "@PROGRAM@", (void *) 0 },
7687 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7688 cat <<\_LT_EOF
>> conftest.
$ac_ext
7692 /* This works around a problem
in FreeBSD linker
*/
7693 #ifdef FREEBSD_WORKAROUND
7694 static const void
*lt_preloaded_setup
() {
7695 return lt__PROGRAM__LTX_preloaded_symbols
;
7703 # Now try linking the two files.
7704 mv conftest.
$ac_objext conftstm.
$ac_objext
7705 lt_save_LIBS
="$LIBS"
7706 lt_save_CFLAGS
="$CFLAGS"
7707 LIBS
="conftstm.$ac_objext"
7708 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7710 (eval $ac_link) 2>&5
7712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7713 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7716 LIBS
="$lt_save_LIBS"
7717 CFLAGS
="$lt_save_CFLAGS"
7719 echo "cannot find nm_test_func in $nlist" >&5
7722 echo "cannot find nm_test_var in $nlist" >&5
7725 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7728 echo "$progname: failed program was:" >&5
7729 cat conftest.
$ac_ext >&5
7731 rm -rf conftest
* conftst
*
7733 # Do not use the global_symbol_pipe unless it works.
7734 if test "$pipe_works" = yes; then
7737 lt_cv_sys_global_symbol_pipe
=
7743 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7744 lt_cv_sys_global_symbol_to_cdecl
=
7746 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7748 $as_echo "failed" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7751 $as_echo "ok" >&6; }
7775 # Check whether --enable-libtool-lock was given.
7776 if test "${enable_libtool_lock+set}" = set; then :
7777 enableval
=$enable_libtool_lock;
7780 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7782 # Some flags need to be propagated to the compiler or linker for good
7786 # Find out which ABI we are using.
7787 echo 'int i;' > conftest.
$ac_ext
7788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7789 (eval $ac_compile) 2>&5
7791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7792 test $ac_status = 0; }; then
7793 case `/usr/bin/file conftest.$ac_objext` in
7805 # Find out which ABI we are using.
7806 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7808 (eval $ac_compile) 2>&5
7810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7811 test $ac_status = 0; }; then
7812 if test "$lt_cv_prog_gnu_ld" = yes; then
7813 case `/usr/bin/file conftest.$ac_objext` in
7815 LD
="${LD-ld} -melf32bsmip"
7818 LD
="${LD-ld} -melf32bmipn32"
7821 LD
="${LD-ld} -melf64bmip"
7825 case `/usr/bin/file conftest.$ac_objext` in
7841 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7842 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7843 # Find out which ABI we are using.
7844 echo 'int i;' > conftest.
$ac_ext
7845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7846 (eval $ac_compile) 2>&5
7848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7849 test $ac_status = 0; }; then
7850 case `/usr/bin/file conftest.o` in
7853 x86_64-
*kfreebsd
*-gnu)
7854 LD
="${LD-ld} -m elf_i386_fbsd"
7857 case `/usr/bin/file conftest.o` in
7859 LD
="${LD-ld} -m elf32_x86_64"
7862 LD
="${LD-ld} -m elf_i386"
7866 powerpc64le-
*linux
*)
7867 LD
="${LD-ld} -m elf32lppclinux"
7870 LD
="${LD-ld} -m elf32ppclinux"
7873 LD
="${LD-ld} -m elf_s390"
7876 LD
="${LD-ld} -m elf32_sparc"
7882 x86_64-
*kfreebsd
*-gnu)
7883 LD
="${LD-ld} -m elf_x86_64_fbsd"
7886 LD
="${LD-ld} -m elf_x86_64"
7889 LD
="${LD-ld} -m elf64lppc"
7892 LD
="${LD-ld} -m elf64ppc"
7894 s390
*-*linux
*|s390
*-*tpf
*)
7895 LD
="${LD-ld} -m elf64_s390"
7898 LD
="${LD-ld} -m elf64_sparc"
7908 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7909 SAVE_CFLAGS
="$CFLAGS"
7910 CFLAGS
="$CFLAGS -belf"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7912 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7913 if ${lt_cv_cc_needs_belf+:} false
; then :
7914 $as_echo_n "(cached) " >&6
7917 ac_cpp
='$CPP $CPPFLAGS'
7918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7933 if ac_fn_c_try_link
"$LINENO"; then :
7934 lt_cv_cc_needs_belf
=yes
7936 lt_cv_cc_needs_belf
=no
7938 rm -f core conftest.err conftest.
$ac_objext \
7939 conftest
$ac_exeext conftest.
$ac_ext
7941 ac_cpp
='$CPP $CPPFLAGS'
7942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7948 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7949 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7950 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7951 CFLAGS
="$SAVE_CFLAGS"
7955 # Find out which ABI we are using.
7956 echo 'int i;' > conftest.
$ac_ext
7957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7958 (eval $ac_compile) 2>&5
7960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7961 test $ac_status = 0; }; then
7962 case `/usr/bin/file conftest.o` in
7964 case $lt_cv_prog_gnu_ld in
7965 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7967 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7979 need_locks
="$enable_libtool_lock"
7983 rhapsody
* | darwin
*)
7984 if test -n "$ac_tool_prefix"; then
7985 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7986 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7988 $as_echo_n "checking for $ac_word... " >&6; }
7989 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7990 $as_echo_n "(cached) " >&6
7992 if test -n "$DSYMUTIL"; then
7993 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir
=.
8000 for ac_exec_ext
in '' $ac_executable_extensions; do
8001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8002 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8013 if test -n "$DSYMUTIL"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8015 $as_echo "$DSYMUTIL" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8023 if test -z "$ac_cv_prog_DSYMUTIL"; then
8024 ac_ct_DSYMUTIL
=$DSYMUTIL
8025 # Extract the first word of "dsymutil", so it can be a program name with args.
8026 set dummy dsymutil
; ac_word
=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8030 $as_echo_n "(cached) " >&6
8032 if test -n "$ac_ct_DSYMUTIL"; then
8033 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir
=.
8040 for ac_exec_ext
in '' $ac_executable_extensions; do
8041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8053 if test -n "$ac_ct_DSYMUTIL"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8055 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8061 if test "x$ac_ct_DSYMUTIL" = x
; then
8064 case $cross_compiling:$ac_tool_warned in
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8068 ac_tool_warned
=yes ;;
8070 DSYMUTIL
=$ac_ct_DSYMUTIL
8073 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8076 if test -n "$ac_tool_prefix"; then
8077 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8078 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_NMEDIT+:} false
; then :
8082 $as_echo_n "(cached) " >&6
8084 if test -n "$NMEDIT"; then
8085 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir
=.
8092 for ac_exec_ext
in '' $ac_executable_extensions; do
8093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 NMEDIT
=$ac_cv_prog_NMEDIT
8105 if test -n "$NMEDIT"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8107 $as_echo "$NMEDIT" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8115 if test -z "$ac_cv_prog_NMEDIT"; then
8116 ac_ct_NMEDIT
=$NMEDIT
8117 # Extract the first word of "nmedit", so it can be a program name with args.
8118 set dummy nmedit
; ac_word
=$2
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8122 $as_echo_n "(cached) " >&6
8124 if test -n "$ac_ct_NMEDIT"; then
8125 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8131 test -z "$as_dir" && as_dir
=.
8132 for ac_exec_ext
in '' $ac_executable_extensions; do
8133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8134 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8145 if test -n "$ac_ct_NMEDIT"; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8147 $as_echo "$ac_ct_NMEDIT" >&6; }
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8153 if test "x$ac_ct_NMEDIT" = x
; then
8156 case $cross_compiling:$ac_tool_warned in
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8160 ac_tool_warned
=yes ;;
8162 NMEDIT
=$ac_ct_NMEDIT
8165 NMEDIT
="$ac_cv_prog_NMEDIT"
8168 if test -n "$ac_tool_prefix"; then
8169 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8170 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_prog_LIPO+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8176 if test -n "$LIPO"; then
8177 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir
=.
8184 for ac_exec_ext
in '' $ac_executable_extensions; do
8185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8186 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 LIPO
=$ac_cv_prog_LIPO
8197 if test -n "$LIPO"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8199 $as_echo "$LIPO" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }
8207 if test -z "$ac_cv_prog_LIPO"; then
8209 # Extract the first word of "lipo", so it can be a program name with args.
8210 set dummy lipo
; ac_word
=$2
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212 $as_echo_n "checking for $ac_word... " >&6; }
8213 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 if test -n "$ac_ct_LIPO"; then
8217 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8223 test -z "$as_dir" && as_dir
=.
8224 for ac_exec_ext
in '' $ac_executable_extensions; do
8225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8226 ac_cv_prog_ac_ct_LIPO
="lipo"
8227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8236 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8237 if test -n "$ac_ct_LIPO"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8239 $as_echo "$ac_ct_LIPO" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8245 if test "x$ac_ct_LIPO" = x
; then
8248 case $cross_compiling:$ac_tool_warned in
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8252 ac_tool_warned
=yes ;;
8257 LIPO
="$ac_cv_prog_LIPO"
8260 if test -n "$ac_tool_prefix"; then
8261 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8262 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if ${ac_cv_prog_OTOOL+:} false
; then :
8266 $as_echo_n "(cached) " >&6
8268 if test -n "$OTOOL"; then
8269 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir
=.
8276 for ac_exec_ext
in '' $ac_executable_extensions; do
8277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8278 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 OTOOL
=$ac_cv_prog_OTOOL
8289 if test -n "$OTOOL"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8291 $as_echo "$OTOOL" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8299 if test -z "$ac_cv_prog_OTOOL"; then
8301 # Extract the first word of "otool", so it can be a program name with args.
8302 set dummy otool
; ac_word
=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 $as_echo_n "checking for $ac_word... " >&6; }
8305 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8306 $as_echo_n "(cached) " >&6
8308 if test -n "$ac_ct_OTOOL"; then
8309 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8315 test -z "$as_dir" && as_dir
=.
8316 for ac_exec_ext
in '' $ac_executable_extensions; do
8317 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8318 ac_cv_prog_ac_ct_OTOOL
="otool"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8329 if test -n "$ac_ct_OTOOL"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8331 $as_echo "$ac_ct_OTOOL" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8337 if test "x$ac_ct_OTOOL" = x
; then
8340 case $cross_compiling:$ac_tool_warned in
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8344 ac_tool_warned
=yes ;;
8349 OTOOL
="$ac_cv_prog_OTOOL"
8352 if test -n "$ac_tool_prefix"; then
8353 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8354 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8356 $as_echo_n "checking for $ac_word... " >&6; }
8357 if ${ac_cv_prog_OTOOL64+:} false
; then :
8358 $as_echo_n "(cached) " >&6
8360 if test -n "$OTOOL64"; then
8361 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir
=.
8368 for ac_exec_ext
in '' $ac_executable_extensions; do
8369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8380 OTOOL64
=$ac_cv_prog_OTOOL64
8381 if test -n "$OTOOL64"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8383 $as_echo "$OTOOL64" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8386 $as_echo "no" >&6; }
8391 if test -z "$ac_cv_prog_OTOOL64"; then
8392 ac_ct_OTOOL64
=$OTOOL64
8393 # Extract the first word of "otool64", so it can be a program name with args.
8394 set dummy otool64
; ac_word
=$2
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8396 $as_echo_n "checking for $ac_word... " >&6; }
8397 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 if test -n "$ac_ct_OTOOL64"; then
8401 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8407 test -z "$as_dir" && as_dir
=.
8408 for ac_exec_ext
in '' $ac_executable_extensions; do
8409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8410 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8421 if test -n "$ac_ct_OTOOL64"; then
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8423 $as_echo "$ac_ct_OTOOL64" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8426 $as_echo "no" >&6; }
8429 if test "x$ac_ct_OTOOL64" = x
; then
8432 case $cross_compiling:$ac_tool_warned in
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8436 ac_tool_warned
=yes ;;
8438 OTOOL64
=$ac_ct_OTOOL64
8441 OTOOL64
="$ac_cv_prog_OTOOL64"
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8471 $as_echo_n "checking for -single_module linker flag... " >&6; }
8472 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8473 $as_echo_n "(cached) " >&6
8475 lt_cv_apple_cc_single_mod
=no
8476 if test -z "${LT_MULTI_MODULE}"; then
8477 # By default we will add the -single_module flag. You can override
8478 # by either setting the environment variable LT_MULTI_MODULE
8479 # non-empty at configure time, or by adding -multi_module to the
8481 rm -rf libconftest.dylib
*
8482 echo "int foo(void){return 1;}" > conftest.c
8483 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8484 -dynamiclib -Wl,-single_module conftest.c" >&5
8485 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8486 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8488 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8489 lt_cv_apple_cc_single_mod
=yes
8491 cat conftest.err
>&5
8493 rm -rf libconftest.dylib
*
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8498 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8500 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8501 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8502 $as_echo_n "(cached) " >&6
8504 lt_cv_ld_exported_symbols_list
=no
8505 save_LDFLAGS
=$LDFLAGS
8506 echo "_main" > conftest.sym
8507 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8519 if ac_fn_c_try_link
"$LINENO"; then :
8520 lt_cv_ld_exported_symbols_list
=yes
8522 lt_cv_ld_exported_symbols_list
=no
8524 rm -f core conftest.err conftest.
$ac_objext \
8525 conftest
$ac_exeext conftest.
$ac_ext
8526 LDFLAGS
="$save_LDFLAGS"
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8530 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8532 $as_echo_n "checking for -force_load linker flag... " >&6; }
8533 if ${lt_cv_ld_force_load+:} false
; then :
8534 $as_echo_n "(cached) " >&6
8536 lt_cv_ld_force_load
=no
8537 cat > conftest.c
<< _LT_EOF
8538 int forced_loaded() { return 2;}
8540 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8541 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8542 echo "$AR cru libconftest.a conftest.o" >&5
8543 $AR cru libconftest.a conftest.o
2>&5
8544 cat > conftest.c
<< _LT_EOF
8545 int main() { return 0;}
8547 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8548 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8550 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8551 lt_cv_ld_force_load
=yes
8553 cat conftest.err
>&5
8555 rm -f conftest.err libconftest.a conftest conftest.c
8556 rm -rf conftest.dSYM
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8560 $as_echo "$lt_cv_ld_force_load" >&6; }
8561 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8562 # build without first building modern cctools / linker.
8563 case $host_cpu-$host_os in
8564 *-rhapsody* |
*-darwin1.
[012])
8565 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8567 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8569 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8570 # deployment target is forced to an earlier version.
8571 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8572 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
8575 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8582 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8583 _lt_dar_single_mod
='$single_module'
8585 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8586 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8588 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8590 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8591 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8598 for ac_header
in dlfcn.h
8600 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8602 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8603 cat >>confdefs.h
<<_ACEOF
8604 #define HAVE_DLFCN_H 1
8625 # Check whether --enable-shared was given.
8626 if test "${enable_shared+set}" = set; then :
8627 enableval
=$enable_shared; p
=${PACKAGE-default}
8629 yes) enable_shared
=yes ;;
8630 no
) enable_shared
=no
;;
8633 # Look at the argument we got. We use all the common list separators.
8634 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8635 for pkg
in $enableval; do
8637 if test "X$pkg" = "X$p"; then
8656 # Check whether --enable-static was given.
8657 if test "${enable_static+set}" = set; then :
8658 enableval
=$enable_static; p
=${PACKAGE-default}
8660 yes) enable_static
=yes ;;
8661 no
) enable_static
=no
;;
8664 # Look at the argument we got. We use all the common list separators.
8665 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8666 for pkg
in $enableval; do
8668 if test "X$pkg" = "X$p"; then
8688 # Check whether --with-pic was given.
8689 if test "${with_pic+set}" = set; then :
8690 withval
=$with_pic; pic_mode
="$withval"
8696 test -z "$pic_mode" && pic_mode
=default
8704 # Check whether --enable-fast-install was given.
8705 if test "${enable_fast_install+set}" = set; then :
8706 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8708 yes) enable_fast_install
=yes ;;
8709 no
) enable_fast_install
=no
;;
8711 enable_fast_install
=no
8712 # Look at the argument we got. We use all the common list separators.
8713 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8714 for pkg
in $enableval; do
8716 if test "X$pkg" = "X$p"; then
8717 enable_fast_install
=yes
8724 enable_fast_install
=yes
8737 # This can be used to rebuild libtool when needed
8738 LIBTOOL_DEPS
="$ltmain"
8740 # Always use our own libtool.
8741 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8768 test -z "$LN_S" && LN_S
="ln -s"
8783 if test -n "${ZSH_VERSION+set}" ; then
8784 setopt NO_GLOB_SUBST
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8788 $as_echo_n "checking for objdir... " >&6; }
8789 if ${lt_cv_objdir+:} false
; then :
8790 $as_echo_n "(cached) " >&6
8792 rm -f .libs
2>/dev
/null
8793 mkdir .libs
2>/dev
/null
8794 if test -d .libs
; then
8797 # MS-DOS does not allow filenames that begin with a dot.
8800 rmdir .libs
2>/dev
/null
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8803 $as_echo "$lt_cv_objdir" >&6; }
8804 objdir
=$lt_cv_objdir
8810 cat >>confdefs.h
<<_ACEOF
8811 #define LT_OBJDIR "$lt_cv_objdir/"
8819 # AIX sometimes has problems with the GCC collect2 program. For some
8820 # reason, if we set the COLLECT_NAMES environment variable, the problems
8821 # vanish in a puff of smoke.
8822 if test "X${COLLECT_NAMES+set}" != Xset
; then
8824 export COLLECT_NAMES
8831 can_build_shared
=yes
8833 # All known linkers require a `.a' archive for static linking (except MSVC,
8834 # which needs '.lib').
8837 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8840 old_CFLAGS
="$CFLAGS"
8842 # Set sane defaults for various variables
8843 test -z "$CC" && CC
=cc
8844 test -z "$LTCC" && LTCC
=$CC
8845 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8846 test -z "$LD" && LD
=ld
8847 test -z "$ac_objext" && ac_objext
=o
8849 for cc_temp
in $compiler""; do
8851 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8852 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8857 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8860 # Only perform the check for file, if the check method requires it
8861 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8862 case $deplibs_check_method in
8864 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8866 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8867 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8872 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8875 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8876 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8877 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8878 for ac_dir
in $ac_dummy; do
8880 test -z "$ac_dir" && ac_dir
=.
8881 if test -f $ac_dir/${ac_tool_prefix}file; then
8882 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8883 if test -n "$file_magic_test_file"; then
8884 case $deplibs_check_method in
8886 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8887 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8888 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8889 $EGREP "$file_magic_regex" > /dev
/null
; then
8894 *** Warning: the command libtool uses to detect shared libraries,
8895 *** $file_magic_cmd, produces output that libtool cannot recognize.
8896 *** The result is that libtool may fail to recognize shared libraries
8897 *** as such. This will affect the creation of libtool libraries that
8898 *** depend on shared libraries, but programs linked with such libtool
8899 *** libraries will work regardless of this problem. Nevertheless, you
8900 *** may want to report the problem to your system manager and/or to
8901 *** bug-libtool@gnu.org
8911 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8916 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8917 if test -n "$MAGIC_CMD"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8919 $as_echo "$MAGIC_CMD" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8929 if test -z "$lt_cv_path_MAGIC_CMD"; then
8930 if test -n "$ac_tool_prefix"; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8932 $as_echo_n "checking for file... " >&6; }
8933 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8934 $as_echo_n "(cached) " >&6
8938 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8941 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8942 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8943 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8944 for ac_dir
in $ac_dummy; do
8946 test -z "$ac_dir" && ac_dir
=.
8947 if test -f $ac_dir/file; then
8948 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8949 if test -n "$file_magic_test_file"; then
8950 case $deplibs_check_method in
8952 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8953 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8954 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8955 $EGREP "$file_magic_regex" > /dev
/null
; then
8960 *** Warning: the command libtool uses to detect shared libraries,
8961 *** $file_magic_cmd, produces output that libtool cannot recognize.
8962 *** The result is that libtool may fail to recognize shared libraries
8963 *** as such. This will affect the creation of libtool libraries that
8964 *** depend on shared libraries, but programs linked with such libtool
8965 *** libraries will work regardless of this problem. Nevertheless, you
8966 *** may want to report the problem to your system manager and/or to
8967 *** bug-libtool@gnu.org
8977 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8982 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8983 if test -n "$MAGIC_CMD"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8985 $as_echo "$MAGIC_CMD" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
9001 # Use C for the default configuration in the libtool script
9005 ac_cpp
='$CPP $CPPFLAGS'
9006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9011 # Source file extension for C test sources.
9014 # Object file extension for compiled C test sources.
9018 # Code to be used in simple compile tests
9019 lt_simple_compile_test_code
="int some_variable = 0;"
9021 # Code to be used in simple link tests
9022 lt_simple_link_test_code
='int main(){return(0);}'
9030 # If no C compiler was specified, use CC.
9033 # If no C compiler flags were specified, use CFLAGS.
9034 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9036 # Allow CC to be a program name with arguments.
9039 # Save the default compiler, since it gets overwritten when the other
9040 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9041 compiler_DEFAULT
=$CC
9043 # save warnings/boilerplate of simple test code
9044 ac_outfile
=conftest.
$ac_objext
9045 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9046 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9047 _lt_compiler_boilerplate
=`cat conftest.err`
9050 ac_outfile
=conftest.
$ac_objext
9051 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9052 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9053 _lt_linker_boilerplate
=`cat conftest.err`
9058 ## There is no encapsulation within the following macros, do not change
9059 ## the running order or otherwise move them around unless you know exactly
9060 ## what you are doing...
9061 if test -n "$compiler"; then
9063 lt_prog_compiler_no_builtin_flag
=
9065 if test "$GCC" = yes; then
9066 case $cc_basename in
9068 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9070 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9074 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9075 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9076 $as_echo_n "(cached) " >&6
9078 lt_cv_prog_compiler_rtti_exceptions
=no
9079 ac_outfile
=conftest.
$ac_objext
9080 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9081 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9082 # Insert the option either (1) after the last *FLAGS variable, or
9083 # (2) before a word containing "conftest.", or (3) at the end.
9084 # Note that $ac_compile itself does not contain backslashes and begins
9085 # with a dollar sign (not a hyphen), so the echo should work correctly.
9086 # The option is referenced via a variable to avoid confusing sed.
9087 lt_compile
=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>conftest.err
)
9094 cat conftest.err
>&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s "$ac_outfile"; then
9097 # The compiler can only warn and ignore the option if not recognized
9098 # So say no if there are warnings other than the usual output.
9099 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9100 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9101 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9102 lt_cv_prog_compiler_rtti_exceptions
=yes
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9109 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9111 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9112 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9124 lt_prog_compiler_wl
=
9125 lt_prog_compiler_pic
=
9126 lt_prog_compiler_static
=
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9129 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9131 if test "$GCC" = yes; then
9132 lt_prog_compiler_wl
='-Wl,'
9133 lt_prog_compiler_static
='-static'
9137 # All AIX code is PIC.
9138 if test "$host_cpu" = ia64
; then
9139 # AIX 5 now supports IA64 processor
9140 lt_prog_compiler_static
='-Bstatic'
9142 lt_prog_compiler_pic
='-fPIC'
9148 # see comment about AmigaOS4 .so support
9149 lt_prog_compiler_pic
='-fPIC'
9152 # FIXME: we need at least 68020 code to build shared libraries, but
9153 # adding the `-m68020' flag to GCC prevents building anything better,
9155 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9160 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9161 # PIC is the default for these OSes.
9164 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9165 # This hack is so that the source file can tell whether it is being
9166 # built for inclusion in a dll (and should export symbols for example).
9167 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9168 # (--disable-auto-import) libraries
9169 lt_prog_compiler_pic
='-DDLL_EXPORT'
9172 darwin
* | rhapsody
*)
9173 # PIC is the default on this platform
9174 # Common symbols not allowed in MH_DYLIB files
9175 lt_prog_compiler_pic
='-fno-common'
9179 # PIC is the default for Haiku.
9180 # The "-static" flag exists, but is broken.
9181 lt_prog_compiler_static
=
9185 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9186 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9187 # sets the default TLS model and affects inlining.
9193 lt_prog_compiler_pic
='-fPIC'
9199 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9200 # Instead, we relocate shared libraries at runtime.
9204 # Just because we use GCC doesn't mean we suddenly get shared libraries
9205 # on systems that don't support them.
9206 lt_prog_compiler_can_build_shared
=no
9211 # QNX uses GNU C++, but need to define -shared option too, otherwise
9213 lt_prog_compiler_pic
='-fPIC -shared'
9217 if test -d /usr
/nec
; then
9218 lt_prog_compiler_pic
=-Kconform_pic
9223 lt_prog_compiler_pic
='-fPIC'
9227 case $cc_basename in
9228 nvcc
*) # Cuda Compiler Driver 2.2
9229 lt_prog_compiler_wl
='-Xlinker '
9230 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9234 # PORTME Check for flag to pass linker flags through the system compiler.
9237 lt_prog_compiler_wl
='-Wl,'
9238 if test "$host_cpu" = ia64
; then
9239 # AIX 5 now supports IA64 processor
9240 lt_prog_compiler_static
='-Bstatic'
9242 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9246 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9247 # This hack is so that the source file can tell whether it is being
9248 # built for inclusion in a dll (and should export symbols for example).
9249 lt_prog_compiler_pic
='-DDLL_EXPORT'
9252 hpux9
* | hpux10
* | hpux11
*)
9253 lt_prog_compiler_wl
='-Wl,'
9254 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9261 lt_prog_compiler_pic
='+Z'
9264 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9265 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9268 irix5
* | irix6
* | nonstopux
*)
9269 lt_prog_compiler_wl
='-Wl,'
9270 # PIC (with -KPIC) is the default.
9271 lt_prog_compiler_static
='-non_shared'
9274 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9275 case $cc_basename in
9276 # old Intel for x86_64 which still supported -KPIC.
9278 lt_prog_compiler_wl
='-Wl,'
9279 lt_prog_compiler_pic
='-KPIC'
9280 lt_prog_compiler_static
='-static'
9282 # icc used to be incompatible with GCC.
9283 # ICC 10 doesn't accept -KPIC any more.
9285 lt_prog_compiler_wl
='-Wl,'
9286 lt_prog_compiler_pic
='-fPIC'
9287 lt_prog_compiler_static
='-static'
9289 # Lahey Fortran 8.1.
9291 lt_prog_compiler_wl
='-Wl,'
9292 lt_prog_compiler_pic
='--shared'
9293 lt_prog_compiler_static
='--static'
9295 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9296 # Portland Group compilers (*not* the Pentium gcc compiler,
9297 # which looks to be a dead project)
9298 lt_prog_compiler_wl
='-Wl,'
9299 lt_prog_compiler_pic
='-fpic'
9300 lt_prog_compiler_static
='-Bstatic'
9303 lt_prog_compiler_wl
='-Wl,'
9304 # All Alpha code is PIC.
9305 lt_prog_compiler_static
='-non_shared'
9307 xl
* | bgxl
* | bgf
* | mpixl
*)
9308 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9309 lt_prog_compiler_wl
='-Wl,'
9310 lt_prog_compiler_pic
='-qpic'
9311 lt_prog_compiler_static
='-qstaticlink'
9314 case `$CC -V 2>&1 | sed 5q` in
9315 *Sun\ F
* |
*Sun
*Fortran
*)
9316 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9317 lt_prog_compiler_pic
='-KPIC'
9318 lt_prog_compiler_static
='-Bstatic'
9319 lt_prog_compiler_wl
=''
9323 lt_prog_compiler_pic
='-KPIC'
9324 lt_prog_compiler_static
='-Bstatic'
9325 lt_prog_compiler_wl
='-Wl,'
9333 lt_prog_compiler_pic
='-KPIC'
9334 lt_prog_compiler_static
='-Bstatic'
9338 # QNX uses GNU C++, but need to define -shared option too, otherwise
9340 lt_prog_compiler_pic
='-fPIC -shared'
9343 osf3
* | osf4
* | osf5
*)
9344 lt_prog_compiler_wl
='-Wl,'
9345 # All OSF/1 code is PIC.
9346 lt_prog_compiler_static
='-non_shared'
9350 lt_prog_compiler_static
='-non_shared'
9354 lt_prog_compiler_pic
='-KPIC'
9355 lt_prog_compiler_static
='-Bstatic'
9356 case $cc_basename in
9358 lt_prog_compiler_wl
='-Qoption ld ';;
9360 lt_prog_compiler_wl
='-Wl,';;
9365 lt_prog_compiler_wl
='-Qoption ld '
9366 lt_prog_compiler_pic
='-PIC'
9367 lt_prog_compiler_static
='-Bstatic'
9370 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9371 lt_prog_compiler_wl
='-Wl,'
9372 lt_prog_compiler_pic
='-KPIC'
9373 lt_prog_compiler_static
='-Bstatic'
9377 if test -d /usr
/nec
;then
9378 lt_prog_compiler_pic
='-Kconform_pic'
9379 lt_prog_compiler_static
='-Bstatic'
9383 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9384 lt_prog_compiler_wl
='-Wl,'
9385 lt_prog_compiler_pic
='-KPIC'
9386 lt_prog_compiler_static
='-Bstatic'
9390 lt_prog_compiler_wl
='-Wl,'
9391 lt_prog_compiler_can_build_shared
=no
9395 lt_prog_compiler_pic
='-pic'
9396 lt_prog_compiler_static
='-Bstatic'
9400 lt_prog_compiler_can_build_shared
=no
9406 # For platforms which do not support PIC, -DPIC is meaningless:
9408 lt_prog_compiler_pic
=
9411 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9415 $as_echo "$lt_prog_compiler_pic" >&6; }
9423 # Check to make sure the PIC flag actually works.
9425 if test -n "$lt_prog_compiler_pic"; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9427 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9428 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 lt_cv_prog_compiler_pic_works
=no
9432 ac_outfile
=conftest.
$ac_objext
9433 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9434 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9435 # Insert the option either (1) after the last *FLAGS variable, or
9436 # (2) before a word containing "conftest.", or (3) at the end.
9437 # Note that $ac_compile itself does not contain backslashes and begins
9438 # with a dollar sign (not a hyphen), so the echo should work correctly.
9439 # The option is referenced via a variable to avoid confusing sed.
9440 lt_compile
=`echo "$ac_compile" | $SED \
9441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9443 -e 's:$: $lt_compiler_flag:'`
9444 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9445 (eval "$lt_compile" 2>conftest.err
)
9447 cat conftest.err
>&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 if (exit $ac_status) && test -s "$ac_outfile"; then
9450 # The compiler can only warn and ignore the option if not recognized
9451 # So say no if there are warnings other than the usual output.
9452 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9453 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9454 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9455 lt_cv_prog_compiler_pic_works
=yes
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9462 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9464 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9465 case $lt_prog_compiler_pic in
9467 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9470 lt_prog_compiler_pic
=
9471 lt_prog_compiler_can_build_shared
=no
9482 # Check to make sure the static flag actually works.
9484 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9486 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9487 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9488 $as_echo_n "(cached) " >&6
9490 lt_cv_prog_compiler_static_works
=no
9491 save_LDFLAGS
="$LDFLAGS"
9492 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9493 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9494 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9495 # The linker can only warn and ignore the option if not recognized
9496 # So say no if there are warnings
9497 if test -s conftest.err
; then
9498 # Append any errors to the config.log.
9499 cat conftest.err
1>&5
9500 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9501 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9502 if diff conftest.exp conftest.er2
>/dev
/null
; then
9503 lt_cv_prog_compiler_static_works
=yes
9506 lt_cv_prog_compiler_static_works
=yes
9510 LDFLAGS
="$save_LDFLAGS"
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9514 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9516 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9519 lt_prog_compiler_static
=
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9529 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9530 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9531 $as_echo_n "(cached) " >&6
9533 lt_cv_prog_compiler_c_o
=no
9534 $RM -r conftest
2>/dev
/null
9538 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9540 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9541 # Insert the option either (1) after the last *FLAGS variable, or
9542 # (2) before a word containing "conftest.", or (3) at the end.
9543 # Note that $ac_compile itself does not contain backslashes and begins
9544 # with a dollar sign (not a hyphen), so the echo should work correctly.
9545 lt_compile
=`echo "$ac_compile" | $SED \
9546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9548 -e 's:$: $lt_compiler_flag:'`
9549 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9550 (eval "$lt_compile" 2>out
/conftest.err
)
9552 cat out
/conftest.err
>&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9556 # The compiler can only warn and ignore the option if not recognized
9557 # So say no if there are warnings
9558 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9559 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9560 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9561 lt_cv_prog_compiler_c_o
=yes
9566 # SGI C++ compiler will create directory out/ii_files/ for
9567 # template instantiation
9568 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9569 $RM out
/* && rmdir out
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9576 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9584 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9585 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9586 $as_echo_n "(cached) " >&6
9588 lt_cv_prog_compiler_c_o
=no
9589 $RM -r conftest
2>/dev
/null
9593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9595 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9596 # Insert the option either (1) after the last *FLAGS variable, or
9597 # (2) before a word containing "conftest.", or (3) at the end.
9598 # Note that $ac_compile itself does not contain backslashes and begins
9599 # with a dollar sign (not a hyphen), so the echo should work correctly.
9600 lt_compile
=`echo "$ac_compile" | $SED \
9601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9603 -e 's:$: $lt_compiler_flag:'`
9604 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9605 (eval "$lt_compile" 2>out
/conftest.err
)
9607 cat out
/conftest.err
>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9611 # The compiler can only warn and ignore the option if not recognized
9612 # So say no if there are warnings
9613 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9614 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9615 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9616 lt_cv_prog_compiler_c_o
=yes
9621 # SGI C++ compiler will create directory out/ii_files/ for
9622 # template instantiation
9623 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9624 $RM out
/* && rmdir out
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9631 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9636 hard_links
="nottested"
9637 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9638 # do not overwrite the value of need_locks provided by the user
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9640 $as_echo_n "checking if we can lock with hard links... " >&6; }
9643 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9645 ln conftest.a conftest.b
2>&5 || hard_links
=no
9646 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9648 $as_echo "$hard_links" >&6; }
9649 if test "$hard_links" = no
; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9651 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9664 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9667 allow_undefined_flag
=
9668 always_export_symbols
=no
9670 archive_expsym_cmds
=
9671 compiler_needs_object
=no
9672 enable_shared_with_static_runtimes
=no
9673 export_dynamic_flag_spec
=
9674 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9675 hardcode_automatic
=no
9677 hardcode_direct_absolute
=no
9678 hardcode_libdir_flag_spec
=
9679 hardcode_libdir_flag_spec_ld
=
9680 hardcode_libdir_separator
=
9682 hardcode_shlibpath_var
=unsupported
9684 link_all_deplibs
=unknown
9687 old_archive_from_new_cmds
=
9688 old_archive_from_expsyms_cmds
=
9689 thread_safe_flag_spec
=
9690 whole_archive_flag_spec
=
9691 # include_expsyms should be a list of space-separated symbols to be *always*
9692 # included in the symbol list
9694 # exclude_expsyms can be an extended regexp of symbols to exclude
9695 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9696 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9697 # as well as any symbol that contains `d'.
9698 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9699 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9700 # platforms (ab)use it in PIC code, but their linkers get confused if
9701 # the symbol is explicitly referenced. Since portable code cannot
9702 # rely on this symbol name, it's probably fine to never include it in
9703 # preloaded symbol tables.
9704 # Exclude shared library initialization/finalization symbols.
9705 extract_expsyms_cmds
=
9708 cygwin
* | mingw
* | pw32
* | cegcc
*)
9709 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9710 # When not using gcc, we currently assume that we are using
9711 # Microsoft Visual C++.
9712 if test "$GCC" != yes; then
9717 # we just hope/assume this is gcc and not c89 (= MSVC++)
9727 # On some targets, GNU ld is compatible enough with the native linker
9728 # that we're better off using the native interface for both.
9729 lt_use_gnu_ld_interface
=no
9730 if test "$with_gnu_ld" = yes; then
9733 # The AIX port of GNU ld has always aspired to compatibility
9734 # with the native linker. However, as the warning in the GNU ld
9735 # block says, versions before 2.19.5* couldn't really create working
9736 # shared libraries, regardless of the interface used.
9737 case `$LD -v 2>&1` in
9738 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9739 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9740 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9742 lt_use_gnu_ld_interface
=yes
9747 lt_use_gnu_ld_interface
=yes
9752 if test "$lt_use_gnu_ld_interface" = yes; then
9753 # If archive_cmds runs LD, not CC, wlarc should be empty
9756 # Set some defaults for GNU ld with shared library support. These
9757 # are reset later if shared libraries are not supported. Putting them
9758 # here allows them to be overridden if necessary.
9759 runpath_var
=LD_RUN_PATH
9760 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9761 export_dynamic_flag_spec
='${wl}--export-dynamic'
9762 # ancient GNU ld didn't support --whole-archive et. al.
9763 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9764 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9766 whole_archive_flag_spec
=
9768 supports_anon_versioning
=no
9769 case `$LD -v 2>&1` in
9770 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9771 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9772 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9773 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9774 *\
2.11.
*) ;; # other 2.11 versions
9775 *) supports_anon_versioning
=yes ;;
9778 # See if GNU ld supports shared libraries.
9781 # On AIX/PPC, the GNU linker is very broken
9782 if test "$host_cpu" != ia64
; then
9786 *** Warning: the GNU linker, at least up to release 2.19, is reported
9787 *** to be unable to reliably create shared libraries on AIX.
9788 *** Therefore, libtool is disabling shared libraries support. If you
9789 *** really care for shared libraries, you may want to install binutils
9790 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9791 *** You will then need to restart the configuration process.
9800 # see comment about AmigaOS4 .so support
9801 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9802 archive_expsym_cmds
=''
9805 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)'
9806 hardcode_libdir_flag_spec
='-L$libdir'
9807 hardcode_minus_L
=yes
9813 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9814 allow_undefined_flag
=unsupported
9815 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9816 # support --undefined. This deserves some investigation. FIXME
9817 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9823 cygwin
* | mingw
* | pw32
* | cegcc
*)
9824 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9825 # as there is no search path for DLLs.
9826 hardcode_libdir_flag_spec
='-L$libdir'
9827 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9828 allow_undefined_flag
=unsupported
9829 always_export_symbols
=no
9830 enable_shared_with_static_runtimes
=yes
9831 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9833 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9835 # If the export-symbols file already is a .def file (1st line
9836 # is EXPORTS), use it as is; otherwise, prepend...
9837 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9838 cp $export_symbols $output_objdir/$soname.def;
9840 echo EXPORTS > $output_objdir/$soname.def;
9841 cat $export_symbols >> $output_objdir/$soname.def;
9843 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9850 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9851 link_all_deplibs
=yes
9856 hardcode_shlibpath_var
=no
9857 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9858 export_dynamic_flag_spec
='${wl}-E'
9859 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9860 # Instead, shared libraries are loaded at an image base (0x10000000 by
9861 # default) and relocated if they conflict, which is a slow very memory
9862 # consuming and fragmenting process. To avoid this, we pick a random,
9863 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9864 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9865 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9866 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'
9869 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9871 if test "$host_os" = linux-dietlibc
; then
9872 case $cc_basename in
9873 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9876 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9877 && test "$tmp_diet" = no
9879 tmp_addflag
=' $pic_flag'
9880 tmp_sharedflag
='-shared'
9881 case $cc_basename,$host_cpu in
9882 pgcc
*) # Portland Group C compiler
9883 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'
9884 tmp_addflag
=' $pic_flag'
9886 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9887 # Portland Group f77 and f90 compilers
9888 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'
9889 tmp_addflag
=' $pic_flag -Mnomain' ;;
9890 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9891 tmp_addflag
=' -i_dynamic' ;;
9892 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9893 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9894 ifc
* | ifort
*) # Intel Fortran compiler
9895 tmp_addflag
=' -nofor_main' ;;
9896 lf95
*) # Lahey Fortran 8.1
9897 whole_archive_flag_spec
=
9898 tmp_sharedflag
='--shared' ;;
9899 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9900 tmp_sharedflag
='-qmkshrobj'
9902 nvcc
*) # Cuda Compiler Driver 2.2
9903 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'
9904 compiler_needs_object
=yes
9907 case `$CC -V 2>&1 | sed 5q` in
9908 *Sun\ C
*) # Sun C 5.9
9909 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'
9910 compiler_needs_object
=yes
9911 tmp_sharedflag
='-G' ;;
9912 *Sun\ F
*) # Sun Fortran 8.3
9913 tmp_sharedflag
='-G' ;;
9915 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9917 if test "x$supports_anon_versioning" = xyes
; then
9918 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9919 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9920 echo "local: *; };" >> $output_objdir/$libname.ver~
9921 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9924 case $cc_basename in
9925 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9926 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9927 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9928 hardcode_libdir_flag_spec
=
9929 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9930 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9931 if test "x$supports_anon_versioning" = xyes
; then
9932 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9933 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9934 echo "local: *; };" >> $output_objdir/$libname.ver~
9935 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9945 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9946 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9949 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9950 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9955 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9959 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9960 *** create shared libraries on Solaris systems. Therefore, libtool
9961 *** is disabling shared libraries support. We urge you to upgrade GNU
9962 *** binutils to release 2.9.1 or newer. Another option is to modify
9963 *** your PATH or compiler configuration so that the native linker is
9964 *** used, and then restart.
9967 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9969 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9975 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9976 case `$LD -v 2>&1` in
9977 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9981 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9982 *** reliably create shared libraries on SCO systems. Therefore, libtool
9983 *** is disabling shared libraries support. We urge you to upgrade GNU
9984 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9985 *** your PATH or compiler configuration so that the native linker is
9986 *** used, and then restart.
9991 # For security reasons, it is highly recommended that you always
9992 # use absolute paths for naming shared libraries, and exclude the
9993 # DT_RUNPATH tag from executables and libraries. But doing so
9994 # requires that you compile everything twice, which is a pain.
9995 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9996 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10007 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10009 hardcode_direct
=yes
10010 hardcode_shlibpath_var
=no
10014 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10016 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10023 if test "$ld_shlibs" = no
; then
10025 hardcode_libdir_flag_spec
=
10026 export_dynamic_flag_spec
=
10027 whole_archive_flag_spec
=
10030 # PORTME fill in a description of your system's linker (not GNU ld)
10033 allow_undefined_flag
=unsupported
10034 always_export_symbols
=yes
10035 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'
10036 # Note: this linker hardcodes the directories in LIBPATH if there
10037 # are no directories specified by -L.
10038 hardcode_minus_L
=yes
10039 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10040 # Neither direct hardcoding nor static linking is supported with a
10042 hardcode_direct
=unsupported
10047 if test "$host_cpu" = ia64
; then
10048 # On IA64, the linker does run time linking by default, so we don't
10049 # have to do anything special.
10050 aix_use_runtimelinking
=no
10051 exp_sym_flag
='-Bexport'
10054 # If we're using GNU nm, then we don't want the "-C" option.
10055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10056 # Also, AIX nm treats weak defined symbols like other global
10057 # defined symbols, whereas GNU nm marks them as "W".
10058 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10059 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'
10061 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'
10063 aix_use_runtimelinking
=no
10065 # Test if we are trying to use run time linking or normal
10066 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10067 # need to do runtime linking.
10068 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10069 for ld_flag
in $LDFLAGS; do
10070 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10071 aix_use_runtimelinking
=yes
10078 exp_sym_flag
='-bexport'
10079 no_entry_flag
='-bnoentry'
10082 # When large executables or shared objects are built, AIX ld can
10083 # have problems creating the table of contents. If linking a library
10084 # or program results in "error TOC overflow" add -mminimal-toc to
10085 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10086 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10089 hardcode_direct
=yes
10090 hardcode_direct_absolute
=yes
10091 hardcode_libdir_separator
=':'
10092 link_all_deplibs
=yes
10093 file_list_spec
='${wl}-f,'
10095 if test "$GCC" = yes; then
10096 case $host_os in aix4.
[012]|aix4.
[012].
*)
10097 # We only want to do this on AIX 4.2 and lower, the check
10098 # below for broken collect2 doesn't work under 4.3+
10099 collect2name
=`${CC} -print-prog-name=collect2`
10100 if test -f "$collect2name" &&
10101 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10103 # We have reworked collect2
10106 # We have old collect2
10107 hardcode_direct
=unsupported
10108 # It fails to find uninstalled libraries when the uninstalled
10109 # path is not listed in the libpath. Setting hardcode_minus_L
10110 # to unsupported forces relinking
10111 hardcode_minus_L
=yes
10112 hardcode_libdir_flag_spec
='-L$libdir'
10113 hardcode_libdir_separator
=
10117 shared_flag
='-shared'
10118 if test "$aix_use_runtimelinking" = yes; then
10119 shared_flag
="$shared_flag "'${wl}-G'
10123 if test "$host_cpu" = ia64
; then
10124 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10125 # chokes on -Wl,-G. The following line is correct:
10128 if test "$aix_use_runtimelinking" = yes; then
10129 shared_flag
='${wl}-G'
10131 shared_flag
='${wl}-bM:SRE'
10136 export_dynamic_flag_spec
='${wl}-bexpall'
10137 # It seems that -bexpall does not export symbols beginning with
10138 # underscore (_), so it is better to generate a list of symbols to export.
10139 always_export_symbols
=yes
10140 if test "$aix_use_runtimelinking" = yes; then
10141 # Warning - without using the other runtime loading flags (-brtl),
10142 # -berok will link without error, but may produce a broken library.
10143 allow_undefined_flag
='-berok'
10144 # Determine the default libpath from the value encoded in an
10145 # empty executable.
10146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10157 if ac_fn_c_try_link
"$LINENO"; then :
10159 lt_aix_libpath_sed
='
10160 /Import File Strings/,/^$/ {
10166 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10167 # Check for a 64-bit object if we didn't find anything.
10168 if test -z "$aix_libpath"; then
10169 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10172 rm -f core conftest.err conftest.
$ac_objext \
10173 conftest
$ac_exeext conftest.
$ac_ext
10174 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10176 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10177 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"
10179 if test "$host_cpu" = ia64
; then
10180 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10181 allow_undefined_flag
="-z nodefs"
10182 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"
10184 # Determine the default libpath from the value encoded in an
10185 # empty executable.
10186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10197 if ac_fn_c_try_link
"$LINENO"; then :
10199 lt_aix_libpath_sed
='
10200 /Import File Strings/,/^$/ {
10206 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10207 # Check for a 64-bit object if we didn't find anything.
10208 if test -z "$aix_libpath"; then
10209 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10212 rm -f core conftest.err conftest.
$ac_objext \
10213 conftest
$ac_exeext conftest.
$ac_ext
10214 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10216 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10217 # Warning - without using the other run time loading flags,
10218 # -berok will link without error, but may produce a broken library.
10219 no_undefined_flag
=' ${wl}-bernotok'
10220 allow_undefined_flag
=' ${wl}-berok'
10221 if test "$with_gnu_ld" = yes; then
10222 # We only use this code for GNU lds that support --whole-archive.
10223 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10225 # Exported symbols can be pulled into shared objects from archives
10226 whole_archive_flag_spec
='$convenience'
10228 archive_cmds_need_lc
=yes
10229 # This is similar to how AIX traditionally builds its shared libraries.
10230 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'
10238 # see comment about AmigaOS4 .so support
10239 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10240 archive_expsym_cmds
=''
10243 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)'
10244 hardcode_libdir_flag_spec
='-L$libdir'
10245 hardcode_minus_L
=yes
10251 export_dynamic_flag_spec
=-rdynamic
10254 cygwin
* | mingw
* | pw32
* | cegcc
*)
10255 # When not using gcc, we currently assume that we are using
10256 # Microsoft Visual C++.
10257 # hardcode_libdir_flag_spec is actually meaningless, as there is
10258 # no search path for DLLs.
10259 hardcode_libdir_flag_spec
=' '
10260 allow_undefined_flag
=unsupported
10261 # Tell ltmain to make .lib files, not .a files.
10263 # Tell ltmain to make .dll files, not .so files.
10265 # FIXME: Setting linknames here is a bad hack.
10266 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10267 # The linker will automatically build a .lib file if we build a DLL.
10268 old_archive_from_new_cmds
='true'
10269 # FIXME: Should let the user specify the lib program.
10270 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10271 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10272 enable_shared_with_static_runtimes
=yes
10275 darwin
* | rhapsody
*)
10278 archive_cmds_need_lc
=no
10280 hardcode_automatic
=yes
10281 hardcode_shlibpath_var
=unsupported
10282 if test "$lt_cv_ld_force_load" = "yes"; then
10283 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\"`'
10285 whole_archive_flag_spec
=''
10287 link_all_deplibs
=yes
10288 allow_undefined_flag
="$_lt_dar_allow_undefined"
10289 case $cc_basename in
10290 ifort
*) _lt_dar_can_shared
=yes ;;
10291 *) _lt_dar_can_shared
=$GCC ;;
10293 if test "$_lt_dar_can_shared" = "yes"; then
10294 output_verbose_link_cmd
=func_echo_all
10295 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10296 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10297 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}"
10298 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}"
10307 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10308 hardcode_libdir_flag_spec
='-L$libdir'
10309 hardcode_shlibpath_var
=no
10312 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10313 # support. Future versions do this automatically, but an explicit c++rt0.o
10314 # does not break anything, and helps significantly (at the cost of a little
10317 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10318 hardcode_libdir_flag_spec
='-R$libdir'
10319 hardcode_direct
=yes
10320 hardcode_shlibpath_var
=no
10323 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10325 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10326 hardcode_direct
=yes
10327 hardcode_minus_L
=yes
10328 hardcode_shlibpath_var
=no
10331 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10332 freebsd
* | dragonfly
*)
10333 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10334 hardcode_libdir_flag_spec
='-R$libdir'
10335 hardcode_direct
=yes
10336 hardcode_shlibpath_var
=no
10340 if test "$GCC" = yes; then
10341 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'
10343 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'
10345 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10346 hardcode_libdir_separator
=:
10347 hardcode_direct
=yes
10349 # hardcode_minus_L: Not really in the search PATH,
10350 # but as the default location of the library.
10351 hardcode_minus_L
=yes
10352 export_dynamic_flag_spec
='${wl}-E'
10356 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10357 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10359 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10361 if test "$with_gnu_ld" = no
; then
10362 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10363 hardcode_libdir_flag_spec_ld
='+b $libdir'
10364 hardcode_libdir_separator
=:
10365 hardcode_direct
=yes
10366 hardcode_direct_absolute
=yes
10367 export_dynamic_flag_spec
='${wl}-E'
10368 # hardcode_minus_L: Not really in the search PATH,
10369 # but as the default location of the library.
10370 hardcode_minus_L
=yes
10375 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10378 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10381 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10390 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10393 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10397 # Older versions of the 11.00 compiler do not understand -b yet
10398 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10400 $as_echo_n "checking if $CC understands -b... " >&6; }
10401 if ${lt_cv_prog_compiler__b+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 lt_cv_prog_compiler__b
=no
10405 save_LDFLAGS
="$LDFLAGS"
10406 LDFLAGS
="$LDFLAGS -b"
10407 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10408 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10409 # The linker can only warn and ignore the option if not recognized
10410 # So say no if there are warnings
10411 if test -s conftest.err
; then
10412 # Append any errors to the config.log.
10413 cat conftest.err
1>&5
10414 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10416 if diff conftest.exp conftest.er2
>/dev
/null
; then
10417 lt_cv_prog_compiler__b
=yes
10420 lt_cv_prog_compiler__b
=yes
10424 LDFLAGS
="$save_LDFLAGS"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10428 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10430 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10431 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10433 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10439 if test "$with_gnu_ld" = no
; then
10440 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10441 hardcode_libdir_separator
=:
10446 hardcode_shlibpath_var
=no
10449 hardcode_direct
=yes
10450 hardcode_direct_absolute
=yes
10451 export_dynamic_flag_spec
='${wl}-E'
10453 # hardcode_minus_L: Not really in the search PATH,
10454 # but as the default location of the library.
10455 hardcode_minus_L
=yes
10461 irix5
* | irix6
* | nonstopux
*)
10462 if test "$GCC" = yes; then
10463 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'
10464 # Try to use the -exported_symbol ld option, if it does not
10465 # work, assume that -exports_file does not work either and
10466 # implicitly export all symbols.
10467 save_LDFLAGS
="$LDFLAGS"
10468 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10473 if ac_fn_c_try_link
"$LINENO"; then :
10474 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'
10477 rm -f core conftest.err conftest.
$ac_objext \
10478 conftest
$ac_exeext conftest.
$ac_ext
10479 LDFLAGS
="$save_LDFLAGS"
10481 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'
10482 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'
10484 archive_cmds_need_lc
='no'
10485 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10486 hardcode_libdir_separator
=:
10488 link_all_deplibs
=yes
10492 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10493 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10495 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10497 hardcode_libdir_flag_spec
='-R$libdir'
10498 hardcode_direct
=yes
10499 hardcode_shlibpath_var
=no
10503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10504 hardcode_direct
=yes
10505 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10506 hardcode_libdir_separator
=:
10507 hardcode_shlibpath_var
=no
10514 if test -f /usr
/libexec
/ld.so
; then
10515 hardcode_direct
=yes
10516 hardcode_shlibpath_var
=no
10517 hardcode_direct_absolute
=yes
10518 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10519 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10520 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10521 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10522 export_dynamic_flag_spec
='${wl}-E'
10525 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10526 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10527 hardcode_libdir_flag_spec
='-R$libdir'
10530 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10531 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10541 hardcode_libdir_flag_spec
='-L$libdir'
10542 hardcode_minus_L
=yes
10543 allow_undefined_flag
=unsupported
10544 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'
10545 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10549 if test "$GCC" = yes; then
10550 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10551 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'
10553 allow_undefined_flag
=' -expect_unresolved \*'
10554 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'
10556 archive_cmds_need_lc
='no'
10557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10558 hardcode_libdir_separator
=:
10561 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10562 if test "$GCC" = yes; then
10563 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10564 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'
10565 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10567 allow_undefined_flag
=' -expect_unresolved \*'
10568 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'
10569 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~
10570 $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'
10572 # Both c and cxx compiler support -rpath directly
10573 hardcode_libdir_flag_spec
='-rpath $libdir'
10575 archive_cmds_need_lc
='no'
10576 hardcode_libdir_separator
=:
10580 no_undefined_flag
=' -z defs'
10581 if test "$GCC" = yes; then
10583 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10584 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10585 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10587 case `$CC -V 2>&1` in
10590 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10591 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10592 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10596 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10597 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10598 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10602 hardcode_libdir_flag_spec
='-R$libdir'
10603 hardcode_shlibpath_var
=no
10605 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10607 # The compiler driver will combine and reorder linker options,
10608 # but understands `-z linker_flag'. GCC discards it without `$wl',
10609 # but is careful enough not to reorder.
10610 # Supported since Solaris 2.6 (maybe 2.5.1?)
10611 if test "$GCC" = yes; then
10612 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10614 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10618 link_all_deplibs
=yes
10622 if test "x$host_vendor" = xsequent
; then
10623 # Use $CC to link under sequent, because it throws in some extra .o
10624 # files that make .init and .fini sections work.
10625 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10629 hardcode_libdir_flag_spec
='-L$libdir'
10630 hardcode_direct
=yes
10631 hardcode_minus_L
=yes
10632 hardcode_shlibpath_var
=no
10636 case $host_vendor in
10638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_direct
=yes # is this really true???
10642 ## LD is ld it makes a PLAMLIB
10643 ## CC just makes a GrossModule.
10644 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10645 reload_cmds
='$CC -r -o $output$reload_objs'
10649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10650 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10653 runpath_var
='LD_RUN_PATH'
10654 hardcode_shlibpath_var
=no
10658 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10659 hardcode_shlibpath_var
=no
10660 export_dynamic_flag_spec
='-Bexport'
10664 if test -d /usr
/nec
; then
10665 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666 hardcode_shlibpath_var
=no
10667 runpath_var
=LD_RUN_PATH
10668 hardcode_runpath_var
=yes
10673 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10674 no_undefined_flag
='${wl}-z,text'
10675 archive_cmds_need_lc
=no
10676 hardcode_shlibpath_var
=no
10677 runpath_var
='LD_RUN_PATH'
10679 if test "$GCC" = yes; then
10680 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10681 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10684 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 sysv5
* | sco3.2v5
* | sco5v6
*)
10689 # Note: We can NOT use -z defs as we might desire, because we do not
10690 # link with -lc, and that would cause any symbols used from libc to
10691 # always be unresolved, which means just about no library would
10692 # ever link correctly. If we're not using GNU ld we use -z text
10693 # though, which does catch some bad symbols but isn't as heavy-handed
10695 no_undefined_flag
='${wl}-z,text'
10696 allow_undefined_flag
='${wl}-z,nodefs'
10697 archive_cmds_need_lc
=no
10698 hardcode_shlibpath_var
=no
10699 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10700 hardcode_libdir_separator
=':'
10701 link_all_deplibs
=yes
10702 export_dynamic_flag_spec
='${wl}-Bexport'
10703 runpath_var
='LD_RUN_PATH'
10705 if test "$GCC" = yes; then
10706 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10707 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10710 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10716 hardcode_libdir_flag_spec
='-L$libdir'
10717 hardcode_shlibpath_var
=no
10725 if test x
$host_vendor = xsni
; then
10727 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10728 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10735 $as_echo "$ld_shlibs" >&6; }
10736 test "$ld_shlibs" = no
&& can_build_shared
=no
10738 with_gnu_ld
=$with_gnu_ld
10755 # Do we need to explicitly link libc?
10757 case "x$archive_cmds_need_lc" in
10759 # Assume -lc should be added
10760 archive_cmds_need_lc
=yes
10762 if test "$enable_shared" = yes && test "$GCC" = yes; then
10763 case $archive_cmds in
10765 # FIXME: we may have to deal with multi-command sequences.
10768 # Test whether the compiler implicitly links with -lc since on some
10769 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10770 # to ld, don't add -lc before -lgcc.
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10773 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10774 $as_echo_n "(cached) " >&6
10777 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10780 (eval $ac_compile) 2>&5
10782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10783 test $ac_status = 0; } 2>conftest.err
; then
10786 libobjs
=conftest.
$ac_objext
10788 wl
=$lt_prog_compiler_wl
10789 pic_flag
=$lt_prog_compiler_pic
10795 lt_save_allow_undefined_flag
=$allow_undefined_flag
10796 allow_undefined_flag
=
10797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10798 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10801 test $ac_status = 0; }
10803 lt_cv_archive_cmds_need_lc
=no
10805 lt_cv_archive_cmds_need_lc
=yes
10807 allow_undefined_flag
=$lt_save_allow_undefined_flag
10809 cat conftest.err
1>&5
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10815 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10816 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10980 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10982 if test "$GCC" = yes; then
10984 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10985 *) lt_awk_arg
="/^libraries:/" ;;
10988 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10989 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10991 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10992 case $lt_search_path_spec in
10994 # if the path contains ";" then we assume it to be the separator
10995 # otherwise default to the standard path separator (i.e. ":") - it is
10996 # assumed that no part of a normal pathname contains ";" but that should
10997 # okay in the real world where ";" in dirpaths is itself problematic.
10998 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11001 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11004 # Ok, now we have the path, separated by spaces, we can step through it
11005 # and add multilib dir if necessary.
11006 lt_tmp_lt_search_path_spec
=
11007 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11008 for lt_sys_path
in $lt_search_path_spec; do
11009 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11010 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11012 test -d "$lt_sys_path" && \
11013 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11016 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11017 BEGIN {RS=" "; FS="/|\n";} {
11020 for (lt_i = NF; lt_i > 0; lt_i--) {
11021 if ($lt_i != "" && $lt_i != ".") {
11022 if ($lt_i == "..") {
11025 if (lt_count == 0) {
11026 lt_foo="/" $lt_i lt_foo;
11033 if (lt_foo != "") { lt_freq[lt_foo]++; }
11034 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11036 # AWK program above erroneously prepends '/' to C:/dos/paths
11039 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11040 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11042 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11044 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11046 library_names_spec
=
11047 libname_spec
='lib$name'
11051 postuninstall_cmds
=
11055 shlibpath_overrides_runpath
=unknown
11057 dynamic_linker
="$host_os ld.so"
11058 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11059 need_lib_prefix
=unknown
11060 hardcode_into_libs
=no
11062 # when you set need_version to no, make sure it does not cause -set_version
11063 # flags to be left without arguments
11064 need_version
=unknown
11069 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11070 shlibpath_var
=LIBPATH
11072 # AIX 3 has no versioning support, so we append a major version to the name.
11073 soname_spec
='${libname}${release}${shared_ext}$major'
11080 hardcode_into_libs
=yes
11081 if test "$host_cpu" = ia64
; then
11082 # AIX 5 supports IA64
11083 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11084 shlibpath_var
=LD_LIBRARY_PATH
11086 # With GCC up to 2.95.x, collect2 would create an import file
11087 # for dependence libraries. The import file would start with
11088 # the line `#! .'. This would cause the generated library to
11089 # depend on `.', always an invalid library. This was fixed in
11090 # development snapshots of GCC prior to 3.0.
11092 aix4 | aix4.
[01] | aix4.
[01].
*)
11093 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11095 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11098 can_build_shared
=no
11102 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11103 # soname into executable. Probably we can add versioning support to
11104 # collect2, so additional links can be useful in future.
11105 if test "$aix_use_runtimelinking" = yes; then
11106 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11107 # instead of lib<name>.a to let people know that these are not
11108 # typical AIX shared libraries.
11109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 # We preserve .a as extension for shared libraries through AIX4.2
11112 # and later when we are not doing run time linking.
11113 library_names_spec
='${libname}${release}.a $libname.a'
11114 soname_spec
='${libname}${release}${shared_ext}$major'
11116 shlibpath_var
=LIBPATH
11123 # Since July 2007 AmigaOS4 officially supports .so libraries.
11124 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 library_names_spec
='$libname.ixlibrary $libname.a'
11129 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11130 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'
11136 library_names_spec
='${libname}${shared_ext}'
11137 dynamic_linker
="$host_os ld.so"
11138 shlibpath_var
=LIBRARY_PATH
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 soname_spec
='${libname}${release}${shared_ext}$major'
11146 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11147 shlibpath_var
=LD_LIBRARY_PATH
11148 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11149 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11150 # the default ld.so.conf also contains /usr/contrib/lib and
11151 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11152 # libtool to hard-code these into programs
11155 cygwin
* | mingw
* | pw32
* | cegcc
*)
11156 version_type
=windows
11161 case $GCC,$host_os in
11162 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11163 library_names_spec
='$libname.dll.a'
11164 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11165 postinstall_cmds
='base_file=`basename \${file}`~
11166 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11167 dldir=$destdir/`dirname \$dlpath`~
11168 test -d \$dldir || mkdir -p \$dldir~
11169 $install_prog $dir/$dlname \$dldir/$dlname~
11170 chmod a+x \$dldir/$dlname~
11171 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11172 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11174 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11175 dlpath=$dir/\$dldll~
11177 shlibpath_overrides_runpath
=yes
11181 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11182 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11184 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11187 # MinGW DLLs use traditional 'lib' prefix
11188 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11191 # pw32 DLLs use 'pw' prefix rather than 'lib'
11192 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11198 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11201 dynamic_linker
='Win32 ld.exe'
11202 # FIXME: first we should search . and the directory the executable is in
11206 darwin
* | rhapsody
*)
11207 dynamic_linker
="$host_os dyld"
11208 version_type
=darwin
11211 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11212 soname_spec
='${libname}${release}${major}$shared_ext'
11213 shlibpath_overrides_runpath
=yes
11214 shlibpath_var
=DYLD_LIBRARY_PATH
11215 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11217 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11218 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11226 soname_spec
='${libname}${release}${shared_ext}$major'
11227 shlibpath_var
=LD_LIBRARY_PATH
11230 freebsd
* | dragonfly
*)
11231 # DragonFly does not have aout. When/if they implement a new
11232 # versioning mechanism, adjust this.
11233 if test -x /usr
/bin
/objformat
; then
11234 objformat
=`/usr/bin/objformat`
11237 freebsd
[23].
*) objformat
=aout
;;
11238 *) objformat
=elf
;;
11241 version_type
=freebsd-
$objformat
11242 case $version_type in
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11249 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11253 shlibpath_var
=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath
=yes
11258 freebsd3.
[01]* | freebsdelf3.
[01]*)
11259 shlibpath_overrides_runpath
=yes
11260 hardcode_into_libs
=yes
11262 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11263 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11264 shlibpath_overrides_runpath
=no
11265 hardcode_into_libs
=yes
11267 *) # from 4.6 on, and DragonFly
11268 shlibpath_overrides_runpath
=yes
11269 hardcode_into_libs
=yes
11278 dynamic_linker
="$host_os runtime_loader"
11279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11280 soname_spec
='${libname}${release}${shared_ext}$major'
11281 shlibpath_var
=LIBRARY_PATH
11282 shlibpath_overrides_runpath
=yes
11283 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11284 hardcode_into_libs
=yes
11287 hpux9
* | hpux10
* | hpux11
*)
11288 # Give a soname corresponding to the major version so that dld.sl refuses to
11289 # link against other versions.
11296 hardcode_into_libs
=yes
11297 dynamic_linker
="$host_os dld.so"
11298 shlibpath_var
=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11301 soname_spec
='${libname}${release}${shared_ext}$major'
11302 if test "X$HPUX_IA64_MODE" = X32
; then
11303 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11305 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11311 hardcode_into_libs
=yes
11312 dynamic_linker
="$host_os dld.sl"
11313 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11314 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316 soname_spec
='${libname}${release}${shared_ext}$major'
11317 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11318 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11322 dynamic_linker
="$host_os dld.sl"
11323 shlibpath_var
=SHLIB_PATH
11324 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326 soname_spec
='${libname}${release}${shared_ext}$major'
11329 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11330 postinstall_cmds
='chmod 555 $lib'
11331 # or fails outright, so override atomically:
11332 install_override_mode
=555
11339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11340 soname_spec
='${libname}${release}${shared_ext}$major'
11341 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11342 shlibpath_var
=LD_LIBRARY_PATH
11343 shlibpath_overrides_runpath
=no
11344 hardcode_into_libs
=yes
11347 irix5
* | irix6
* | nonstopux
*)
11349 nonstopux
*) version_type
=nonstopux
;;
11351 if test "$lt_cv_prog_gnu_ld" = yes; then
11359 soname_spec
='${libname}${release}${shared_ext}$major'
11360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11362 irix5
* | nonstopux
*)
11363 libsuff
= shlibsuff
=
11366 case $LD in # libtool.m4 will add one of these switches to LD
11367 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11368 libsuff
= shlibsuff
= libmagic
=32-bit;;
11369 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11370 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11371 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11372 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11373 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11377 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11378 shlibpath_overrides_runpath
=no
11379 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11380 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11381 hardcode_into_libs
=yes
11384 # No shared lib support for Linux oldld, aout, or coff.
11385 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11389 # This must be Linux ELF.
11391 # uclinux* changes (here and below) have been submitted to the libtool
11392 # project, but have not yet been accepted: they are GCC-local changes
11393 # for the time being. (See
11394 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11395 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11400 soname_spec
='${libname}${release}${shared_ext}$major'
11401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11402 shlibpath_var
=LD_LIBRARY_PATH
11403 shlibpath_overrides_runpath
=no
11405 # Some binutils ld are patched to set DT_RUNPATH
11406 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11407 $as_echo_n "(cached) " >&6
11409 lt_cv_shlibpath_overrides_runpath
=no
11410 save_LDFLAGS
=$LDFLAGS
11411 save_libdir
=$libdir
11412 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11413 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11425 if ac_fn_c_try_link
"$LINENO"; then :
11426 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11427 lt_cv_shlibpath_overrides_runpath
=yes
11430 rm -f core conftest.err conftest.
$ac_objext \
11431 conftest
$ac_exeext conftest.
$ac_ext
11432 LDFLAGS
=$save_LDFLAGS
11433 libdir
=$save_libdir
11437 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11439 # This implies no fast_install, which is unacceptable.
11440 # Some rework will be needed to allow for fast_install
11441 # before this can be enabled.
11442 hardcode_into_libs
=yes
11444 # Append ld.so.conf contents to the search path
11445 if test -f /etc
/ld.so.conf
; then
11446 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' ' '`
11447 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11450 # We used to test for /lib/ld.so.1 and disable shared libraries on
11451 # powerpc, because MkLinux only supported shared libraries with the
11452 # GNU dynamic linker. Since this was broken with cross compilers,
11453 # most powerpc-linux boxes support dynamic linking these days and
11454 # people can always --disable-shared, the test was removed, and we
11455 # assume the GNU/Linux dynamic linker is in use.
11456 dynamic_linker
='GNU/Linux ld.so'
11463 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11466 dynamic_linker
='NetBSD (a.out) ld.so'
11468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11469 soname_spec
='${libname}${release}${shared_ext}$major'
11470 dynamic_linker
='NetBSD ld.elf_so'
11472 shlibpath_var
=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath
=yes
11474 hardcode_into_libs
=yes
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11480 shlibpath_var
=LD_LIBRARY_PATH
11481 shlibpath_overrides_runpath
=yes
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11490 shlibpath_var
=LD_LIBRARY_PATH
11491 shlibpath_overrides_runpath
=no
11492 hardcode_into_libs
=yes
11493 dynamic_linker
='ldqnx.so'
11498 sys_lib_dlsearch_path_spec
="/usr/lib"
11500 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11502 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11503 *) need_version
=no
;;
11505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11507 shlibpath_var
=LD_LIBRARY_PATH
11508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11510 openbsd2.
[89] | openbsd2.
[89].
*)
11511 shlibpath_overrides_runpath
=no
11514 shlibpath_overrides_runpath
=yes
11518 shlibpath_overrides_runpath
=yes
11523 libname_spec
='$name'
11526 library_names_spec
='$libname${shared_ext} $libname.a'
11527 dynamic_linker
='OS/2 ld.exe'
11528 shlibpath_var
=LIBPATH
11531 osf3
* | osf4
* | osf5
*)
11535 soname_spec
='${libname}${release}${shared_ext}$major'
11536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 shlibpath_var
=LD_LIBRARY_PATH
11538 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11539 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec
='${libname}${release}${shared_ext}$major'
11552 shlibpath_var
=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath
=yes
11554 hardcode_into_libs
=yes
11555 # ldd complains unless libraries are executable
11556 postinstall_cmds
='chmod +x $lib'
11561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11562 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11563 shlibpath_var
=LD_LIBRARY_PATH
11564 shlibpath_overrides_runpath
=yes
11565 if test "$with_gnu_ld" = yes; then
11573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11575 shlibpath_var
=LD_LIBRARY_PATH
11576 case $host_vendor in
11578 shlibpath_overrides_runpath
=no
11580 runpath_var
=LD_RUN_PATH
11588 shlibpath_overrides_runpath
=no
11589 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11595 if test -d /usr
/nec
;then
11597 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11598 soname_spec
='$libname${shared_ext}.$major'
11599 shlibpath_var
=LD_LIBRARY_PATH
11603 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11604 version_type
=freebsd-elf
11607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11608 soname_spec
='${libname}${release}${shared_ext}$major'
11609 shlibpath_var
=LD_LIBRARY_PATH
11610 shlibpath_overrides_runpath
=yes
11611 hardcode_into_libs
=yes
11612 if test "$with_gnu_ld" = yes; then
11613 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11615 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11618 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11622 sys_lib_dlsearch_path_spec
='/usr/lib'
11626 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=no
11633 hardcode_into_libs
=yes
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 soname_spec
='${libname}${release}${shared_ext}$major'
11640 shlibpath_var
=LD_LIBRARY_PATH
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11648 $as_echo "$dynamic_linker" >&6; }
11649 test "$dynamic_linker" = no
&& can_build_shared
=no
11651 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11652 if test "$GCC" = yes; then
11653 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11657 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11660 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11757 if test -n "$hardcode_libdir_flag_spec" ||
11758 test -n "$runpath_var" ||
11759 test "X$hardcode_automatic" = "Xyes" ; then
11761 # We can hardcode non-existent directories.
11762 if test "$hardcode_direct" != no
&&
11763 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11764 # have to relink, otherwise we might link with an installed library
11765 # when we should be linking with a yet-to-be-installed one
11766 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11767 test "$hardcode_minus_L" != no
; then
11768 # Linking always hardcodes the temporary library directory.
11769 hardcode_action
=relink
11771 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11772 hardcode_action
=immediate
11775 # We cannot hardcode anything, or else we can only hardcode existing
11777 hardcode_action
=unsupported
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11780 $as_echo "$hardcode_action" >&6; }
11782 if test "$hardcode_action" = relink ||
11783 test "$inherit_rpath" = yes; then
11784 # Fast installation is not supported
11785 enable_fast_install
=no
11786 elif test "$shlibpath_overrides_runpath" = yes ||
11787 test "$enable_shared" = no
; then
11788 # Fast installation is not necessary
11789 enable_fast_install
=needless
11797 if test "x$enable_dlopen" != xyes
; then
11798 enable_dlopen
=unknown
11799 enable_dlopen_self
=unknown
11800 enable_dlopen_self_static
=unknown
11807 lt_cv_dlopen
="load_add_on"
11809 lt_cv_dlopen_self
=yes
11812 mingw
* | pw32
* | cegcc
*)
11813 lt_cv_dlopen
="LoadLibrary"
11818 lt_cv_dlopen
="dlopen"
11823 # if libdl is installed we need to link against it
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11826 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_check_lib_save_LIBS
=$LIBS
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11849 if ac_fn_c_try_link
"$LINENO"; then :
11850 ac_cv_lib_dl_dlopen
=yes
11852 ac_cv_lib_dl_dlopen
=no
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11860 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11861 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11864 lt_cv_dlopen
="dyld"
11866 lt_cv_dlopen_self
=yes
11873 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11874 if test "x$ac_cv_func_shl_load" = xyes
; then :
11875 lt_cv_dlopen
="shl_load"
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11879 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 ac_check_lib_save_LIBS
=$LIBS
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11897 return shl_load ();
11902 if ac_fn_c_try_link
"$LINENO"; then :
11903 ac_cv_lib_dld_shl_load
=yes
11905 ac_cv_lib_dld_shl_load
=no
11907 rm -f core conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11913 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11914 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11916 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11917 if test "x$ac_cv_func_dlopen" = xyes
; then :
11918 lt_cv_dlopen
="dlopen"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11922 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_lib_save_LIBS
=$LIBS
11927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11945 if ac_fn_c_try_link
"$LINENO"; then :
11946 ac_cv_lib_dl_dlopen
=yes
11948 ac_cv_lib_dl_dlopen
=no
11950 rm -f core conftest.err conftest.
$ac_objext \
11951 conftest
$ac_exeext conftest.
$ac_ext
11952 LIBS
=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11956 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11957 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11961 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11962 $as_echo_n "(cached) " >&6
11964 ac_check_lib_save_LIBS
=$LIBS
11965 LIBS
="-lsvld $LIBS"
11966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11984 if ac_fn_c_try_link
"$LINENO"; then :
11985 ac_cv_lib_svld_dlopen
=yes
11987 ac_cv_lib_svld_dlopen
=no
11989 rm -f core conftest.err conftest.
$ac_objext \
11990 conftest
$ac_exeext conftest.
$ac_ext
11991 LIBS
=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11995 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11996 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12000 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12001 $as_echo_n "(cached) " >&6
12003 ac_check_lib_save_LIBS
=$LIBS
12005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12018 return dld_link ();
12023 if ac_fn_c_try_link
"$LINENO"; then :
12024 ac_cv_lib_dld_dld_link
=yes
12026 ac_cv_lib_dld_dld_link
=no
12028 rm -f core conftest.err conftest.
$ac_objext \
12029 conftest
$ac_exeext conftest.
$ac_ext
12030 LIBS
=$ac_check_lib_save_LIBS
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12034 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12035 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12056 if test "x$lt_cv_dlopen" != xno
; then
12062 case $lt_cv_dlopen in
12064 save_CPPFLAGS
="$CPPFLAGS"
12065 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12067 save_LDFLAGS
="$LDFLAGS"
12068 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12071 LIBS
="$lt_cv_dlopen_libs $LIBS"
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12075 if ${lt_cv_dlopen_self+:} false
; then :
12076 $as_echo_n "(cached) " >&6
12078 if test "$cross_compiling" = yes; then :
12079 lt_cv_dlopen_self
=cross
12081 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12082 lt_status
=$lt_dlunknown
12083 cat > conftest.
$ac_ext <<_LT_EOF
12084 #line 12084 "configure"
12085 #include "confdefs.h"
12094 # define LT_DLGLOBAL RTLD_GLOBAL
12097 # define LT_DLGLOBAL DL_GLOBAL
12099 # define LT_DLGLOBAL 0
12103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12104 find out it does not work in some platform. */
12105 #ifndef LT_DLLAZY_OR_NOW
12107 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12110 # define LT_DLLAZY_OR_NOW DL_LAZY
12113 # define LT_DLLAZY_OR_NOW RTLD_NOW
12116 # define LT_DLLAZY_OR_NOW DL_NOW
12118 # define LT_DLLAZY_OR_NOW 0
12125 /* When -fvisbility=hidden is used, assume the code has been annotated
12126 correspondingly for the symbols needed. */
12127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12128 void fnord () __attribute__((visibility("default")));
12131 void fnord () { int i=42; }
12134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12135 int status = $lt_dlunknown;
12139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12142 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12143 else puts (dlerror ());
12145 /* dlclose (self); */
12153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12154 (eval $ac_link) 2>&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12157 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12158 (.
/conftest
; exit; ) >&5 2>/dev
/null
12160 case x
$lt_status in
12161 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12162 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12163 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12166 # compilation failed
12167 lt_cv_dlopen_self
=no
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12175 $as_echo "$lt_cv_dlopen_self" >&6; }
12177 if test "x$lt_cv_dlopen_self" = xyes
; then
12178 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12181 if ${lt_cv_dlopen_self_static+:} false
; then :
12182 $as_echo_n "(cached) " >&6
12184 if test "$cross_compiling" = yes; then :
12185 lt_cv_dlopen_self_static
=cross
12187 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12188 lt_status
=$lt_dlunknown
12189 cat > conftest.
$ac_ext <<_LT_EOF
12190 #line 12190 "configure"
12191 #include "confdefs.h"
12200 # define LT_DLGLOBAL RTLD_GLOBAL
12203 # define LT_DLGLOBAL DL_GLOBAL
12205 # define LT_DLGLOBAL 0
12209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12210 find out it does not work in some platform. */
12211 #ifndef LT_DLLAZY_OR_NOW
12213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12216 # define LT_DLLAZY_OR_NOW DL_LAZY
12219 # define LT_DLLAZY_OR_NOW RTLD_NOW
12222 # define LT_DLLAZY_OR_NOW DL_NOW
12224 # define LT_DLLAZY_OR_NOW 0
12231 /* When -fvisbility=hidden is used, assume the code has been annotated
12232 correspondingly for the symbols needed. */
12233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12234 void fnord () __attribute__((visibility("default")));
12237 void fnord () { int i=42; }
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12249 else puts (dlerror ());
12251 /* dlclose (self); */
12259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12260 (eval $ac_link) 2>&5
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12264 (.
/conftest
; exit; ) >&5 2>/dev
/null
12266 case x
$lt_status in
12267 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12268 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12269 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12272 # compilation failed
12273 lt_cv_dlopen_self_static
=no
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12284 CPPFLAGS
="$save_CPPFLAGS"
12285 LDFLAGS
="$save_LDFLAGS"
12290 case $lt_cv_dlopen_self in
12291 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12292 *) enable_dlopen_self
=unknown
;;
12295 case $lt_cv_dlopen_self_static in
12296 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12297 *) enable_dlopen_self_static
=unknown
;;
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12321 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12322 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12323 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12325 $as_echo "yes" >&6; }
12327 # FIXME - insert some real tests, host_os isn't really good enough
12330 if test -n "$STRIP" ; then
12331 striplib
="$STRIP -x"
12332 old_striplib
="$STRIP -S"
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12334 $as_echo "yes" >&6; }
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12337 $as_echo "no" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12342 $as_echo "no" >&6; }
12358 # Report which library types will actually be built
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12362 $as_echo "$can_build_shared" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12365 $as_echo_n "checking whether to build shared libraries... " >&6; }
12366 test "$can_build_shared" = "no" && enable_shared
=no
12368 # On AIX, shared libraries and static libraries use the same namespace, and
12369 # are all built from PIC.
12372 test "$enable_shared" = yes && enable_static
=no
12373 if test -n "$RANLIB"; then
12374 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12375 postinstall_cmds
='$RANLIB $lib'
12380 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12381 test "$enable_shared" = yes && enable_static
=no
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12386 $as_echo "$enable_shared" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12389 $as_echo_n "checking whether to build static libraries... " >&6; }
12390 # Make sure either enable_shared or enable_static is yes.
12391 test "$enable_shared" = yes || enable_static
=yes
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12393 $as_echo "$enable_static" >&6; }
12400 ac_cpp
='$CPP $CPPFLAGS'
12401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12419 ac_config_commands
="$ac_config_commands libtool"
12424 # Only expand once:
12431 *-cygwin* |
*-mingw*)
12432 # 'host' will be top-level target in the case of a target lib,
12433 # we must compare to with_cross_host to decide if this is a native
12434 # or cross-compiler and select where to install dlls appropriately.
12435 if test -n "$with_cross_host" &&
12436 test x
"$with_cross_host" != x
"no"; then
12437 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12439 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12450 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
12451 case $ac_cv_c_int64_t in #(
12455 cat >>confdefs.h
<<_ACEOF
12456 #define int64_t $ac_cv_c_int64_t
12461 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
12462 case $ac_cv_c_uint64_t in #(
12466 $as_echo "#define _UINT64_T 1" >>confdefs.h
12469 cat >>confdefs.h
<<_ACEOF
12470 #define uint64_t $ac_cv_c_uint64_t
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12476 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12477 if ${ac_cv_header_sys_wait_h+:} false
; then :
12478 $as_echo_n "(cached) " >&6
12480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12482 #include <sys/types.h>
12483 #include <sys/wait.h>
12484 #ifndef WEXITSTATUS
12485 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12488 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12496 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12501 if ac_fn_c_try_compile
"$LINENO"; then :
12502 ac_cv_header_sys_wait_h
=yes
12504 ac_cv_header_sys_wait_h
=no
12506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12509 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12510 if test $ac_cv_header_sys_wait_h = yes; then
12512 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12516 ac_config_files
="$ac_config_files Makefile"
12518 ac_config_headers
="$ac_config_headers config.h"
12520 cat >confcache
<<\_ACEOF
12521 # This file is a shell script that caches the results of configure
12522 # tests run on this system so they can be shared between configure
12523 # scripts and configure runs, see configure's option --config-cache.
12524 # It is not useful on other systems. If it contains results you don't
12525 # want to keep, you may remove or edit it.
12527 # config.status only pays attention to the cache file if you give it
12528 # the --recheck option to rerun configure.
12530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12532 # following values.
12536 # The following way of writing the cache mishandles newlines in values,
12537 # but we know of no workaround that is simple, portable, and efficient.
12538 # So, we kill variables containing newlines.
12539 # Ultrix sh set writes to stderr and can't be redirected directly,
12540 # and sets the high bit in the cache file unless we assign to the vars.
12542 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12543 eval ac_val
=\$
$ac_var
12547 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12551 _ | IFS | as_nl
) ;; #(
12552 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12553 *) { eval $ac_var=; unset $ac_var;} ;;
12559 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12560 *${as_nl}ac_space
=\
*)
12561 # `set' does not quote correctly, so add quotes: double-quote
12562 # substitution turns \\\\ into \\, and sed turns \\ into \.
12565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12568 # `set' quotes correctly as required by POSIX, so do not add quotes.
12569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12582 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12583 if test -w "$cache_file"; then
12584 if test "x$cache_file" != "x/dev/null"; then
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12586 $as_echo "$as_me: updating cache $cache_file" >&6;}
12587 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12588 cat confcache
>"$cache_file"
12590 case $cache_file in #(
12592 mv -f confcache
"$cache_file"$$
&&
12593 mv -f "$cache_file"$$
"$cache_file" ;; #(
12595 mv -f confcache
"$cache_file" ;;
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12606 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12607 # Let make expand exec_prefix.
12608 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12610 DEFS
=-DHAVE_CONFIG_H
12615 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12616 # 1. Remove the extension, and $U if already installed.
12617 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12618 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12619 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12620 # will be set to the directory where LIBOBJS objects are built.
12621 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12622 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12624 LIBOBJS
=$ac_libobjs
12626 LTLIBOBJS
=$ac_ltlibobjs
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12630 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12631 if test -n "$am_sleep_pid"; then
12632 # Hide warnings about reused PIDs.
12633 wait $am_sleep_pid 2>/dev
/null
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12636 $as_echo "done" >&6; }
12637 if test -n "$EXEEXT"; then
12639 am__EXEEXT_FALSE
='#'
12641 am__EXEEXT_TRUE
='#'
12645 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12646 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12649 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12650 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12653 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12654 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12657 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12658 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12661 if test -z "${LTO_PLUGIN_USE_SYMVER_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_FALSE}"; then
12662 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER\" was never defined.
12663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12665 if test -z "${LTO_PLUGIN_USE_SYMVER_GNU_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_GNU_FALSE}"; then
12666 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER_GNU\" was never defined.
12667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12669 if test -z "${LTO_PLUGIN_USE_SYMVER_SUN_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_SUN_FALSE}"; then
12670 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER_SUN\" was never defined.
12671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12674 : "${CONFIG_STATUS=./config.status}"
12676 ac_clean_files_save
=$ac_clean_files
12677 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12679 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12681 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12683 # Generated by $as_me.
12684 # Run this file to recreate the current configuration.
12685 # Compiler output produced by configure, useful for debugging
12686 # configure, is in config.log if it exists.
12689 ac_cs_recheck=false
12692 SHELL=\${CONFIG_SHELL-$SHELL}
12695 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12696 ## -------------------- ##
12697 ## M4sh Initialization. ##
12698 ## -------------------- ##
12700 # Be more Bourne compatible
12701 DUALCASE
=1; export DUALCASE
# for MKS sh
12702 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12705 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12706 # is contrary to our usage. Disable this feature.
12707 alias -g '${1+"$@"}'='"$@"'
12708 setopt NO_GLOB_SUBST
12710 case `(set -o) 2>/dev/null` in #(
12722 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12723 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12726 # Prefer a ksh shell builtin over an external printf program on Solaris,
12727 # but without wasting forks for bash or zsh.
12728 if test -z "$BASH_VERSION$ZSH_VERSION" \
12729 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12730 as_echo='print
-r --'
12731 as_echo_n='print
-rn --'
12732 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12733 as_echo='printf %s
\n'
12734 as_echo_n='printf %s
'
12736 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12737 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12738 as_echo_n='/usr
/ucb
/echo -n'
12740 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12741 as_echo_n_body='eval
12745 expr "X$arg" : "X\\(.*\\)$as_nl";
12746 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12748 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12750 export as_echo_n_body
12751 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12753 export as_echo_body
12754 as_echo='sh
-c $as_echo_body as_echo
'
12757 # The user is always right.
12758 if test "${PATH_SEPARATOR+set}" != set; then
12760 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12761 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12768 # We need space, tab and new line, in precisely that order. Quoting is
12769 # there to prevent editors from complaining about space-tab.
12770 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12771 # splitting by setting IFS to empty value.)
12774 # Find who we are. Look in the path if we contain no directory separator.
12777 *[\\/]* ) as_myself=$0 ;;
12778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12782 test -z "$as_dir" && as_dir=.
12783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12789 # We did not find ourselves, most probably we were run as `sh COMMAND'
12790 # in which case we are not to be found in the path.
12791 if test "x$as_myself" = x
; then
12794 if test ! -f "$as_myself"; then
12795 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12799 # Unset variables that we do not need and which cause bugs (e.g. in
12800 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12801 # suppresses any "Segmentation fault" message there. '((' could
12802 # trigger a bug in pdksh 5.2.14.
12803 for as_var
in BASH_ENV ENV MAIL MAILPATH
12804 do eval test x\
${$as_var+set} = xset \
12805 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12818 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12821 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12822 # ----------------------------------------
12823 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12824 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12825 # script with STATUS, using 1 if that was 0.
12828 as_status
=$1; test $as_status -eq 0 && as_status
=1
12830 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12831 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12833 $as_echo "$as_me: error: $2" >&2
12834 as_fn_exit
$as_status
12838 # as_fn_set_status STATUS
12839 # -----------------------
12840 # Set $? to STATUS, without forking.
12841 as_fn_set_status
()
12844 } # as_fn_set_status
12846 # as_fn_exit STATUS
12847 # -----------------
12848 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12852 as_fn_set_status
$1
12858 # Portably unset VAR.
12861 { eval $1=; unset $1;}
12863 as_unset
=as_fn_unset
12864 # as_fn_append VAR VALUE
12865 # ----------------------
12866 # Append the text in VALUE to the end of the definition contained in VAR. Take
12867 # advantage of any shell optimizations that allow amortized linear growth over
12868 # repeated appends, instead of the typical quadratic growth present in naive
12870 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12871 eval 'as_fn_append ()
12882 # as_fn_arith ARG...
12883 # ------------------
12884 # Perform arithmetic evaluation on the ARGs, and store the result in the
12885 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12886 # must be portable across $(()) and expr.
12887 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12888 eval 'as_fn_arith ()
12895 as_val
=`expr "$@" || test $? -eq 1`
12900 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12901 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12907 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12908 as_basename
=basename
12913 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12919 as_me
=`$as_basename -- "$0" ||
12920 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12921 X"$0" : 'X\(//\)$' \| \
12922 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12924 sed '/^.*\/\([^/][^/]*\)\/*$/{
12938 # Avoid depending upon Character Ranges.
12939 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12940 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12941 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12942 as_cr_digits
='0123456789'
12943 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12945 ECHO_C
= ECHO_N
= ECHO_T
=
12946 case `echo -n x` in #(((((
12948 case `echo 'xy\c'` in
12949 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12951 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12958 rm -f conf$$ conf$$.exe conf$$.
file
12959 if test -d conf$$.dir
; then
12960 rm -f conf$$.dir
/conf$$.
file
12963 mkdir conf$$.dir
2>/dev
/null
12965 if (echo >conf$$.
file) 2>/dev
/null
; then
12966 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12968 # ... but there are two gotchas:
12969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12971 # In both cases, we have to default to `cp -pR'.
12972 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12974 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12982 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12983 rmdir conf$$.dir
2>/dev
/null
12988 # Create "$as_dir" as a directory, including parents if necessary.
12993 -*) as_dir
=.
/$as_dir;;
12995 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12999 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13000 *) as_qdir
=$as_dir;;
13002 as_dirs
="'$as_qdir' $as_dirs"
13003 as_dir
=`$as_dirname -- "$as_dir" ||
13004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13005 X"$as_dir" : 'X\(//\)[^/]' \| \
13006 X"$as_dir" : 'X\(//\)$' \| \
13007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13008 $as_echo X"$as_dir" |
13009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13013 /^X\(\/\/\)[^/].*/{
13026 test -d "$as_dir" && break
13028 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13029 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13033 if mkdir
-p .
2>/dev
/null
; then
13034 as_mkdir_p
='mkdir -p "$as_dir"'
13036 test -d .
/-p && rmdir .
/-p
13041 # as_fn_executable_p FILE
13042 # -----------------------
13043 # Test if FILE is an executable regular file.
13044 as_fn_executable_p
()
13046 test -f "$1" && test -x "$1"
13047 } # as_fn_executable_p
13048 as_test_x
='test -x'
13049 as_executable_p
=as_fn_executable_p
13051 # Sed expression to map a string onto a valid CPP name.
13052 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13054 # Sed expression to map a string onto a valid variable name.
13055 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13059 ## ----------------------------------- ##
13060 ## Main body of $CONFIG_STATUS script. ##
13061 ## ----------------------------------- ##
13063 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13066 # Save the log message, to keep $0 and so on meaningful, and to
13067 # report actual input values of CONFIG_FILES etc. instead of their
13068 # values after options handling.
13070 This file was extended by LTO plugin for ld $as_me 0.1, which was
13071 generated by GNU Autoconf 2.69. Invocation command line was
13073 CONFIG_FILES = $CONFIG_FILES
13074 CONFIG_HEADERS = $CONFIG_HEADERS
13075 CONFIG_LINKS = $CONFIG_LINKS
13076 CONFIG_COMMANDS = $CONFIG_COMMANDS
13079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13084 case $ac_config_files in *"
13085 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13088 case $ac_config_headers in *"
13089 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13094 # Files that config.status was made for.
13095 config_files="$ac_config_files"
13096 config_headers="$ac_config_headers"
13097 config_commands="$ac_config_commands"
13101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13103 \`$as_me' instantiates files and other configuration actions
13104 from templates according to the current configuration. Unless the files
13105 and actions are specified as TAGs, all are instantiated by default.
13107 Usage: $0 [OPTION]... [TAG]...
13109 -h, --help print this help, then exit
13110 -V, --version print version number and configuration settings, then exit
13111 --config print configuration, then exit
13112 -q, --quiet, --silent
13113 do not print progress messages
13114 -d, --debug don't remove temporary files
13115 --recheck update $as_me by reconfiguring in the same conditions
13116 --file=FILE[:TEMPLATE]
13117 instantiate the configuration file FILE
13118 --header=FILE[:TEMPLATE]
13119 instantiate the configuration header FILE
13121 Configuration files:
13124 Configuration headers:
13127 Configuration commands:
13130 Report bugs to the package provider."
13133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13134 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13136 LTO plugin for ld config.status 0.1
13137 configured by $0, generated by GNU Autoconf 2.69,
13138 with options \\"\$ac_cs_config\\"
13140 Copyright (C) 2012 Free Software Foundation, Inc.
13141 This config.status script is free software; the Free Software Foundation
13142 gives unlimited permission to copy, distribute and modify it."
13149 test -n "\$AWK" || AWK=awk
13152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13153 # The default lists apply if the user does not specify any file.
13159 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13160 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13164 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13176 # Handling of the options.
13177 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13179 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13180 $as_echo "$ac_cs_version"; exit ;;
13181 --config |
--confi |
--conf |
--con |
--co |
--c )
13182 $as_echo "$ac_cs_config"; exit ;;
13183 --debug |
--debu |
--deb |
--de |
--d |
-d )
13185 --file |
--fil |
--fi |
--f )
13188 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13189 '') as_fn_error $?
"missing file argument" ;;
13191 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13192 ac_need_defaults
=false
;;
13193 --header |
--heade |
--head |
--hea )
13196 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13198 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13199 ac_need_defaults
=false
;;
13201 # Conflict between --help and --header
13202 as_fn_error $?
"ambiguous option: \`$1'
13203 Try \`$0 --help' for more information.";;
13204 --help |
--hel |
-h )
13205 $as_echo "$ac_cs_usage"; exit ;;
13206 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13207 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13210 # This is an error.
13211 -*) as_fn_error $?
"unrecognized option: \`$1'
13212 Try \`$0 --help' for more information." ;;
13214 *) as_fn_append ac_config_targets
" $1"
13215 ac_need_defaults
=false
;;
13221 ac_configure_extra_args
=
13223 if $ac_cs_silent; then
13225 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13230 if \$ac_cs_recheck; then
13231 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13233 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13234 CONFIG_SHELL='$SHELL'
13235 export CONFIG_SHELL
13240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13244 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13245 ## Running $as_me. ##
13251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13255 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13258 # The HP-UX ksh and POSIX shell print the target directory to stdout
13259 # if CDPATH is set.
13260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13262 sed_quote_subst='$sed_quote_subst'
13263 double_quote_subst='$double_quote_subst'
13264 delay_variable_subst='$delay_variable_subst'
13265 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13266 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13267 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13268 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13269 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13270 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13271 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13272 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13273 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13274 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13275 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13276 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13277 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13278 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13279 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13280 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13281 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13282 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13283 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13284 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13285 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13286 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13287 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13288 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13289 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13290 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13291 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13292 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13293 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13294 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13295 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13296 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13297 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13298 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13299 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13300 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13301 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13302 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13303 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13304 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13305 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13306 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13307 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13308 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13309 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13310 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13311 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13312 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13313 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"`'
13314 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13315 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13316 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13317 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13318 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13319 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13320 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13321 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13322 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13323 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13324 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13325 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13326 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13327 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13328 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13329 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13330 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13331 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13332 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13333 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13334 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13335 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13336 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13337 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13338 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13339 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13340 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13341 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13342 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13343 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13344 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13345 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13346 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13347 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13348 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13349 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13350 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13351 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13352 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13353 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13354 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13355 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13356 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13357 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13358 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13359 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13360 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13361 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13362 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13363 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13364 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13365 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13366 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13367 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13368 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13369 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13370 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13371 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13372 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13373 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13374 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13375 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13376 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13377 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13378 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13379 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13380 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13381 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13382 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13383 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13384 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13387 LTCFLAGS='$LTCFLAGS'
13388 compiler='$compiler_DEFAULT'
13390 # A function that is used when there is no print builtin or printf.
13391 func_fallback_echo ()
13393 eval 'cat <<_LTECHO_EOF
13398 # Quote evaled strings.
13412 deplibs_check_method \
13421 lt_cv_sys_global_symbol_pipe \
13422 lt_cv_sys_global_symbol_to_cdecl \
13423 lt_cv_sys_global_symbol_to_c_name_address \
13424 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13425 lt_prog_compiler_no_builtin_flag \
13426 lt_prog_compiler_wl \
13427 lt_prog_compiler_pic \
13428 lt_prog_compiler_static \
13429 lt_cv_prog_compiler_c_o \
13437 export_dynamic_flag_spec \
13438 whole_archive_flag_spec \
13439 compiler_needs_object \
13441 allow_undefined_flag \
13442 no_undefined_flag \
13443 hardcode_libdir_flag_spec \
13444 hardcode_libdir_flag_spec_ld \
13445 hardcode_libdir_separator \
13450 variables_saved_for_relink \
13452 library_names_spec \
13454 install_override_mode \
13458 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13459 *[\\\\\\\`\\"\\\$]*)
13460 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13463 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13468 # Double-quote double-evaled strings.
13469 for var in reload_cmds \
13470 old_postinstall_cmds \
13471 old_postuninstall_cmds \
13473 extract_expsyms_cmds \
13474 old_archive_from_new_cmds \
13475 old_archive_from_expsyms_cmds \
13477 archive_expsym_cmds \
13479 module_expsym_cmds \
13480 export_symbols_cmds \
13483 postuninstall_cmds \
13485 sys_lib_search_path_spec \
13486 sys_lib_dlsearch_path_spec; do
13487 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13488 *[\\\\\\\`\\"\\\$]*)
13489 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13492 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13497 ac_aux_dir='$ac_aux_dir'
13498 xsi_shell='$xsi_shell'
13499 lt_shell_append='$lt_shell_append'
13501 # See if we are running on zsh, and set the options which allow our
13502 # commands through without removal of \ escapes INIT.
13503 if test -n "\${ZSH_VERSION+set}" ; then
13504 setopt NO_GLOB_SUBST
13510 TIMESTAMP='$TIMESTAMP'
13519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13521 # Handling of arguments.
13522 for ac_config_target
in $ac_config_targets
13524 case $ac_config_target in
13525 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13526 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13527 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13528 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13530 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13535 # If the user did not use the arguments to specify the items to instantiate,
13536 # then the envvar interface is used. Set only those that are not.
13537 # We use the long form for the default assignment because of an extremely
13538 # bizarre bug on SunOS 4.1.3.
13539 if $ac_need_defaults; then
13540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13541 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13542 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13545 # Have a temporary directory for convenience. Make it in the build tree
13546 # simply because there is no reason against having it here, and in addition,
13547 # creating and moving files from /tmp can sometimes cause problems.
13548 # Hook for its removal unless debugging.
13549 # Note that there is a small window in which the directory will not be cleaned:
13550 # after its creation but before its name has been assigned to `$tmp'.
13554 trap 'exit_status=$?
13555 : "${ac_tmp:=$tmp}"
13556 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13558 trap 'as_fn_exit 1' 1 2 13 15
13560 # Create a (secure) tmp directory for tmp files.
13563 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13567 tmp
=.
/conf$$
-$RANDOM
13568 (umask 077 && mkdir
"$tmp")
13569 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13572 # Set up the scripts for CONFIG_FILES section.
13573 # No need to generate them if there are no CONFIG_FILES.
13574 # This happens for instance with `./config.status config.h'.
13575 if test -n "$CONFIG_FILES"; then
13578 ac_cr
=`echo X | tr X '\015'`
13579 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13580 # But we know of no other shell where ac_cr would be empty at this
13581 # point, so we can use a bashism as a fallback.
13582 if test "x$ac_cr" = x
; then
13583 eval ac_cr
=\$
\'\\r
\'
13585 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13589 ac_cs_awk_cr
=$ac_cr
13592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13597 echo "cat >conf$$subs.awk <<_ACEOF" &&
13598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13600 } >conf$$subs.sh ||
13601 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13604 for ac_last_try in false false false false false :; do
13605 . ./conf$$subs.sh ||
13606 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13608 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13609 if test $ac_delim_n = $ac_delim_num; then
13611 elif $ac_last_try; then
13612 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13614 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13617 rm -f conf$$subs.sh
13619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13620 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13624 s/^/S["/; s
/!.
*/"]=/
13634 s/\(.\{148\}\)..*/\1/
13636 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13641 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13648 s/\(.\{148\}\)..*/\1/
13650 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13654 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13659 ' <conf$$subs.awk | sed '
13664 ' >>$CONFIG_STATUS || ac_write_fail=1
13665 rm -f conf$$subs.awk
13666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13668 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13669 for (key in S) S_is_set[key] = 1
13675 nfields = split(line, field, "@
")
13677 len = length(field[1])
13678 for (i = 2; i < nfields; i++) {
13680 keylen = length(key)
13681 if (S_is_set[key]) {
13683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13684 len += length(value) + length(field[++i])
13695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13696 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13697 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13700 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13701 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13704 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13705 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13706 # trailing colons and then remove the whole line if VPATH becomes empty
13707 # (actually we leave an empty line to preserve line numbers).
13708 if test "x
$srcdir" = x.; then
13709 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13728 fi # test -n "$CONFIG_FILES"
13730 # Set up the scripts for CONFIG_HEADERS section.
13731 # No need to generate them if there are no CONFIG_HEADERS.
13732 # This happens for instance with `./config.status Makefile'.
13733 if test -n "$CONFIG_HEADERS"; then
13734 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13738 # Transform confdefs.h into an awk script `defines.awk', embedded as
13739 # here-document in config.status, that substitutes the proper values into
13740 # config.h.in to produce config.h.
13742 # Create a delimiter string that does not exist in confdefs.h, to ease
13743 # handling of long lines.
13745 for ac_last_try in false false :; do
13746 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13747 if test -z "$ac_tt"; then
13749 elif $ac_last_try; then
13750 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13752 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13756 # For the awk script, D is an array of macro values keyed by name,
13757 # likewise P contains macro parameters if any. Preserve backslash
13758 # newline sequences.
13760 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13762 s/.\{148\}/&'"$ac_delim"'/g
13765 s/^[ ]*#[ ]*define[ ][ ]*/ /
13772 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13774 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13779 D["\
1"]=" \
3\\\\\\n
"\\/p
13781 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13786 s/.\{148\}/&'"$ac_delim"'/g
13791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13794 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13796 ' <confdefs.h | sed '
13797 s/'"$ac_delim"'/"\\\
13798 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13801 for (key in D) D_is_set[key] = 1
13804 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13806 split(line, arg, " ")
13807 if (arg[1] == "#") {
13811 defundef
= substr
(arg
[1], 2)
13814 split(mac1
, mac2
, "(") #)
13816 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13817 if (D_is_set
[macro
]) {
13818 # Preserve the white space surrounding the "#".
13819 print prefix
"define", macro P
[macro
] D
[macro
]
13822 # Replace #undef with comments. This is necessary, for example,
13823 # in the case of _POSIX_SOURCE, which is predefined and required
13824 # on some systems where configure will not decide to define it.
13825 if (defundef
== "undef") {
13826 print
"/*", prefix defundef
, macro
, "*/"
13834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13835 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13836 fi # test -n "$CONFIG_HEADERS"
13839 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13844 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13846 case $ac_mode$ac_tag in
13848 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13849 :[FH
]-) ac_tag
=-:-;;
13850 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13867 -) ac_f
="$ac_tmp/stdin";;
13868 *) # Look for the file first in the build tree, then in the source tree
13869 # (if the path is not absolute). The absolute path cannot be DOS-style,
13870 # because $ac_f cannot contain `:'.
13874 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13876 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13878 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13879 as_fn_append ac_file_inputs
" '$ac_f'"
13882 # Let's still pretend it is `configure' which instantiates (i.e., don't
13883 # use $as_me), people would be surprised to read:
13884 # /* config.h. Generated by config.status. */
13885 configure_input
='Generated from '`
13886 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13888 if test x
"$ac_file" != x-
; then
13889 configure_input
="$ac_file. $configure_input"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13891 $as_echo "$as_me: creating $ac_file" >&6;}
13893 # Neutralize special characters interpreted by sed in replacement strings.
13894 case $configure_input in #(
13895 *\
&* |
*\|
* |
*\\* )
13896 ac_sed_conf_input
=`$as_echo "$configure_input" |
13897 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13898 *) ac_sed_conf_input
=$configure_input;;
13902 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13903 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13908 ac_dir
=`$as_dirname -- "$ac_file" ||
13909 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13910 X"$ac_file" : 'X\(//\)[^/]' \| \
13911 X"$ac_file" : 'X\(//\)$' \| \
13912 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13913 $as_echo X"$ac_file" |
13914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13918 /^X\(\/\/\)[^/].*/{
13931 as_dir
="$ac_dir"; as_fn_mkdir_p
13935 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13937 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13938 # A ".." for each directory in $ac_dir_suffix.
13939 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13940 case $ac_top_builddir_sub in
13941 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13942 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13945 ac_abs_top_builddir
=$ac_pwd
13946 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13947 # for backward compatibility:
13948 ac_top_builddir
=$ac_top_build_prefix
13951 .
) # We are building in place.
13953 ac_top_srcdir
=$ac_top_builddir_sub
13954 ac_abs_top_srcdir
=$ac_pwd ;;
13955 [\\/]* | ?
:[\\/]* ) # Absolute name.
13956 ac_srcdir
=$srcdir$ac_dir_suffix;
13957 ac_top_srcdir
=$srcdir
13958 ac_abs_top_srcdir
=$srcdir ;;
13959 *) # Relative name.
13960 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13961 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13962 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13964 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13974 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13975 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13977 ac_MKDIR_P
=$MKDIR_P
13979 [\\/$
]* | ?
:[\\/]* ) ;;
13980 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13985 # If the template does not know about datarootdir, expand it.
13986 # FIXME: This hack should be removed a few years after 2.60.
13987 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13998 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13999 *datarootdir
*) ac_datarootdir_seen
=yes;;
14000 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14002 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14005 ac_datarootdir_hack='
14006 s&@datadir@&$datadir&g
14007 s&@docdir@&$docdir&g
14008 s&@infodir@&$infodir&g
14009 s&@localedir@&$localedir&g
14010 s&@mandir@&$mandir&g
14011 s&\\\${datarootdir}&$datarootdir&g' ;;
14015 # Neutralize VPATH when `$srcdir' = `.'.
14016 # Shell code in configure.ac might set extrasub.
14017 # FIXME: do we really want to maintain this feature?
14018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14019 ac_sed_extra="$ac_vpsub
14022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14024 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14025 s|@configure_input@|
$ac_sed_conf_input|
;t t
14026 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14027 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14028 s
&@srcdir@
&$ac_srcdir&;t t
14029 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14030 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14031 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14032 s
&@builddir@
&$ac_builddir&;t t
14033 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14034 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14035 s
&@INSTALL@
&$ac_INSTALL&;t t
14036 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14037 $ac_datarootdir_hack
14039 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14040 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14042 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14043 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14044 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14045 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14047 which seems to be undefined. Please make sure it is defined" >&5
14048 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14049 which seems to be undefined. Please make sure it is defined" >&2;}
14051 rm -f "$ac_tmp/stdin"
14053 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14054 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14062 if test x"$ac_file" != x-; then
14064 $as_echo "/* $configure_input */" \
14065 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14066 } >"$ac_tmp/config.h" \
14067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14068 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14070 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14073 mv "$ac_tmp/config.h" "$ac_file" \
14074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14077 $as_echo "/* $configure_input */" \
14078 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14079 || as_fn_error $? "could not create -" "$LINENO" 5
14081 # Compute "$ac_file"'s index
in $config_headers.
14084 for _am_header
in $config_headers :; do
14085 case $_am_header in
14086 $_am_arg |
$_am_arg:* )
14089 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14092 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14093 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14094 X"$_am_arg" : 'X\(//\)[^/]' \| \
14095 X"$_am_arg" : 'X\(//\)$' \| \
14096 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14097 $as_echo X"$_am_arg" |
14098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14102 /^X\(\/\/\)[^/].*/{
14114 s/.*/./; q'`/stamp-h
$_am_stamp_count
14117 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14118 $as_echo "$as_me: executing $ac_file commands" >&6;}
14123 case $ac_file$ac_mode in
14124 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14125 # Older Autoconf quotes --file arguments for eval, but not when files
14126 # are listed without --file. Let's play safe and only enable the eval
14127 # if we detect the quoting.
14128 case $CONFIG_FILES in
14129 *\'*) eval set x
"$CONFIG_FILES" ;;
14130 *) set x
$CONFIG_FILES ;;
14135 # Strip MF so we end up with the name of the file.
14136 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14137 # Check whether this is an Automake generated Makefile or not.
14138 # We used to match only the files named 'Makefile.in', but
14139 # some people rename them; so instead we look at the file content.
14140 # Grep'ing the first line is not enough: some people post-process
14141 # each Makefile.in and add a new line on top of each file to say so.
14142 # Grep'ing the whole file is not good either: AIX grep has a line
14143 # limit of 2048, but all sed's we know have understand at least 4000.
14144 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14145 dirpart
=`$as_dirname -- "$mf" ||
14146 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14147 X"$mf" : 'X\(//\)[^/]' \| \
14148 X"$mf" : 'X\(//\)$' \| \
14149 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14155 /^X\(\/\/\)[^/].*/{
14171 # Extract the definition of DEPDIR, am__include, and am__quote
14172 # from the Makefile without running 'make'.
14173 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14174 test -z "$DEPDIR" && continue
14175 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14176 test -z "$am__include" && continue
14177 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14178 # Find all dependency output files, they are included files with
14179 # $(DEPDIR) in their names. We invoke sed twice because it is the
14180 # simplest approach to changing $(DEPDIR) to its actual value in the
14182 for file in `sed -n "
14183 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14184 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14185 # Make sure the directory exists.
14186 test -f "$dirpart/$file" && continue
14187 fdir
=`$as_dirname -- "$file" ||
14188 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14189 X"$file" : 'X\(//\)[^/]' \| \
14190 X"$file" : 'X\(//\)$' \| \
14191 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14192 $as_echo X"$file" |
14193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14197 /^X\(\/\/\)[^/].*/{
14210 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14211 # echo "creating $dirpart/$file"
14212 echo '# dummy' > "$dirpart/$file"
14219 # See if we are running on zsh, and set the options which allow our
14220 # commands through without removal of \ escapes.
14221 if test -n "${ZSH_VERSION+set}" ; then
14222 setopt NO_GLOB_SUBST
14225 cfgfile
="${ofile}T"
14226 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14229 cat <<_LT_EOF >> "$cfgfile"
14232 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14233 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14234 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14235 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14237 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14238 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14239 # Written by Gordon Matzigkeit, 1996
14241 # This file is part of GNU Libtool.
14243 # GNU Libtool is free software; you can redistribute it and/or
14244 # modify it under the terms of the GNU General Public License as
14245 # published by the Free Software Foundation; either version 2 of
14246 # the License, or (at your option) any later version.
14248 # As a special exception to the GNU General Public License,
14249 # if you distribute this file as part of a program or library that
14250 # is built using GNU Libtool, you may include this file under the
14251 # same distribution terms that you use for the rest of that program.
14253 # GNU Libtool is distributed in the hope that it will be useful,
14254 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14255 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14256 # GNU General Public License for more details.
14258 # You should have received a copy of the GNU General Public License
14259 # along with GNU Libtool; see the file COPYING. If not, a copy
14260 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14261 # obtained by writing to the Free Software Foundation, Inc.,
14262 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14265 # The names of the tagged configurations supported by this script.
14268 # ### BEGIN LIBTOOL CONFIG
14270 # Which release of libtool.m4 was used?
14271 macro_version=$macro_version
14272 macro_revision=$macro_revision
14274 # Whether or not to build shared libraries.
14275 build_libtool_libs=$enable_shared
14277 # Whether or not to build static libraries.
14278 build_old_libs=$enable_static
14280 # What type of objects to build.
14283 # Whether or not to optimize for fast installation.
14284 fast_install=$enable_fast_install
14286 # Shell to use when invoking shell scripts.
14289 # An echo program that protects backslashes.
14293 host_alias=$host_alias
14297 # The build system.
14298 build_alias=$build_alias
14302 # A sed program that does not truncate output.
14305 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14306 Xsed="\$SED -e 1s/^X//"
14308 # A grep program that handles long lines.
14314 # A literal string matcher.
14317 # A BSD- or MS-compatible name lister.
14320 # Whether we need soft or hard links.
14323 # What is the maximum length of a command?
14324 max_cmd_len=$max_cmd_len
14326 # Object file suffix (normally "o").
14329 # Executable file suffix (normally "").
14332 # whether the shell understands "unset".
14335 # turn spaces into newlines.
14338 # turn newlines into spaces.
14341 # An object symbol dumper.
14342 OBJDUMP=$lt_OBJDUMP
14344 # Method to check whether dependent libraries are shared objects.
14345 deplibs_check_method=$lt_deplibs_check_method
14347 # Command to use when deplibs_check_method == "file_magic".
14348 file_magic_cmd=$lt_file_magic_cmd
14352 AR_FLAGS=$lt_AR_FLAGS
14354 # A symbol stripping program.
14357 # Commands used to install an old-style archive.
14359 old_postinstall_cmds=$lt_old_postinstall_cmds
14360 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14362 # Whether to use a lock for old archive extraction.
14363 lock_old_archive_extraction=$lock_old_archive_extraction
14368 # LTCC compiler flags.
14369 LTCFLAGS=$lt_CFLAGS
14371 # Take the output of nm and produce a listing of raw symbols and C names.
14372 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14374 # Transform the output of nm in a proper C declaration.
14375 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14377 # Transform the output of nm in a C name address pair.
14378 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14380 # Transform the output of nm in a C name address pair when lib prefix is needed.
14381 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14383 # The name of the directory that contains temporary libtool files.
14386 # Used to examine libraries when file_magic_cmd begins with "file".
14387 MAGIC_CMD=$MAGIC_CMD
14389 # Must we lock files when doing compilation?
14390 need_locks=$lt_need_locks
14392 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14393 DSYMUTIL=$lt_DSYMUTIL
14395 # Tool to change global to local symbols on Mac OS X.
14398 # Tool to manipulate fat objects and archives on Mac OS X.
14401 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14404 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14405 OTOOL64=$lt_OTOOL64
14407 # Old archive suffix (normally "a").
14410 # Shared library suffix (normally ".so").
14411 shrext_cmds=$lt_shrext_cmds
14413 # The commands to extract the exported symbol list from a shared archive.
14414 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14416 # Variables whose values should be saved in libtool wrapper scripts and
14417 # restored at link time.
14418 variables_saved_for_relink=$lt_variables_saved_for_relink
14420 # Do we need the "lib" prefix for modules?
14421 need_lib_prefix=$need_lib_prefix
14423 # Do we need a version for libraries?
14424 need_version=$need_version
14426 # Library versioning type.
14427 version_type=$version_type
14429 # Shared library runtime path variable.
14430 runpath_var=$runpath_var
14432 # Shared library path variable.
14433 shlibpath_var=$shlibpath_var
14435 # Is shlibpath searched before the hard-coded library search path?
14436 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14438 # Format of library name prefix.
14439 libname_spec=$lt_libname_spec
14441 # List of archive names. First name is the real one, the rest are links.
14442 # The last name is the one that the linker finds with -lNAME
14443 library_names_spec=$lt_library_names_spec
14445 # The coded name of the library, if different from the real name.
14446 soname_spec=$lt_soname_spec
14448 # Permission mode override for installation of shared libraries.
14449 install_override_mode=$lt_install_override_mode
14451 # Command to use after installation of a shared archive.
14452 postinstall_cmds=$lt_postinstall_cmds
14454 # Command to use after uninstallation of a shared archive.
14455 postuninstall_cmds=$lt_postuninstall_cmds
14457 # Commands used to finish a libtool library installation in a directory.
14458 finish_cmds=$lt_finish_cmds
14460 # As "finish_cmds", except a single script fragment to be evaled but
14462 finish_eval=$lt_finish_eval
14464 # Whether we should hardcode library paths into libraries.
14465 hardcode_into_libs=$hardcode_into_libs
14467 # Compile-time system search path for libraries.
14468 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14470 # Run-time system search path for libraries.
14471 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14473 # Whether dlopen is supported.
14474 dlopen_support=$enable_dlopen
14476 # Whether dlopen of programs is supported.
14477 dlopen_self=$enable_dlopen_self
14479 # Whether dlopen of statically linked programs is supported.
14480 dlopen_self_static=$enable_dlopen_self_static
14482 # Commands to strip libraries.
14483 old_striplib=$lt_old_striplib
14484 striplib=$lt_striplib
14487 # The linker used to build libraries.
14490 # How to create reloadable object files.
14491 reload_flag=$lt_reload_flag
14492 reload_cmds=$lt_reload_cmds
14494 # Commands used to build an old-style archive.
14495 old_archive_cmds=$lt_old_archive_cmds
14497 # A language specific compiler.
14500 # Is the compiler the GNU compiler?
14503 # Compiler flag to turn off builtin functions.
14504 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14506 # How to pass a linker flag through the compiler.
14507 wl=$lt_lt_prog_compiler_wl
14509 # Additional compiler flags for building library objects.
14510 pic_flag=$lt_lt_prog_compiler_pic
14512 # Compiler flag to prevent dynamic linking.
14513 link_static_flag=$lt_lt_prog_compiler_static
14515 # Does compiler simultaneously support -c and -o options?
14516 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14518 # Whether or not to add -lc for building shared libraries.
14519 build_libtool_need_lc=$archive_cmds_need_lc
14521 # Whether or not to disallow shared libs when runtime libs are static.
14522 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14524 # Compiler flag to allow reflexive dlopens.
14525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14527 # Compiler flag to generate shared objects directly from archives.
14528 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14530 # Whether the compiler copes with passing no objects directly.
14531 compiler_needs_object=$lt_compiler_needs_object
14533 # Create an old-style archive from a shared archive.
14534 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14536 # Create a temporary old-style archive to link instead of a shared archive.
14537 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14539 # Commands used to build a shared archive.
14540 archive_cmds=$lt_archive_cmds
14541 archive_expsym_cmds=$lt_archive_expsym_cmds
14543 # Commands used to build a loadable module if different from building
14544 # a shared archive.
14545 module_cmds=$lt_module_cmds
14546 module_expsym_cmds=$lt_module_expsym_cmds
14548 # Whether we are building with GNU ld or not.
14549 with_gnu_ld=$lt_with_gnu_ld
14551 # Flag that allows shared libraries with undefined symbols to be built.
14552 allow_undefined_flag=$lt_allow_undefined_flag
14554 # Flag that enforces no undefined symbols.
14555 no_undefined_flag=$lt_no_undefined_flag
14557 # Flag to hardcode \$libdir into a binary during linking.
14558 # This must work even if \$libdir does not exist
14559 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14561 # If ld is used when linking, flag to hardcode \$libdir into a binary
14562 # during linking. This must work even if \$libdir does not exist.
14563 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14565 # Whether we need a single "-rpath" flag with a separated argument.
14566 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14568 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14569 # DIR into the resulting binary.
14570 hardcode_direct=$hardcode_direct
14572 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14573 # DIR into the resulting binary and the resulting library dependency is
14574 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14575 # library is relocated.
14576 hardcode_direct_absolute=$hardcode_direct_absolute
14578 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14579 # into the resulting binary.
14580 hardcode_minus_L=$hardcode_minus_L
14582 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14583 # into the resulting binary.
14584 hardcode_shlibpath_var=$hardcode_shlibpath_var
14586 # Set to "yes" if building a shared library automatically hardcodes DIR
14587 # into the library and all subsequent libraries and executables linked
14589 hardcode_automatic=$hardcode_automatic
14591 # Set to yes if linker adds runtime paths of dependent libraries
14592 # to runtime path list.
14593 inherit_rpath=$inherit_rpath
14595 # Whether libtool must link a program against all its dependency libraries.
14596 link_all_deplibs=$link_all_deplibs
14598 # Fix the shell variable \$srcfile for the compiler.
14599 fix_srcfile_path=$lt_fix_srcfile_path
14601 # Set to "yes" if exported symbols are required.
14602 always_export_symbols=$always_export_symbols
14604 # The commands to list exported symbols.
14605 export_symbols_cmds=$lt_export_symbols_cmds
14607 # Symbols that should not be listed in the preloaded symbols.
14608 exclude_expsyms=$lt_exclude_expsyms
14610 # Symbols that must always be exported.
14611 include_expsyms=$lt_include_expsyms
14613 # Commands necessary for linking programs (against libraries) with templates.
14614 prelink_cmds=$lt_prelink_cmds
14616 # Specify filename containing input files.
14617 file_list_spec=$lt_file_list_spec
14619 # How to hardcode a shared library path into an executable.
14620 hardcode_action=$hardcode_action
14622 # ### END LIBTOOL CONFIG
14628 cat <<\_LT_EOF
>> "$cfgfile"
14629 # AIX sometimes has problems with the GCC collect2 program. For some
14630 # reason, if we set the COLLECT_NAMES environment variable, the problems
14631 # vanish in a puff of smoke.
14632 if test "X${COLLECT_NAMES+set}" != Xset
; then
14634 export COLLECT_NAMES
14641 ltmain
="$ac_aux_dir/ltmain.sh"
14644 # We use sed instead of cat because bash on DJGPP gets confused if
14645 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14646 # text mode, it properly converts lines to CR/LF. This bash problem
14647 # is reportedly fixed, but why not run on old versions too?
14648 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14649 ||
(rm -f "$cfgfile"; exit 1)
14653 cat << \_LT_EOF
>> "$cfgfile"
14655 # func_dirname file append nondir_replacement
14656 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14657 # otherwise set result to NONDIR_REPLACEMENT.
14661 */*) func_dirname_result
="${1%/*}${2}" ;;
14662 * ) func_dirname_result
="${3}" ;;
14666 # func_basename file
14669 func_basename_result
="${1##*/}"
14672 # func_dirname_and_basename file append nondir_replacement
14673 # perform func_basename and func_dirname in a single function
14675 # dirname: Compute the dirname of FILE. If nonempty,
14676 # add APPEND to the result, otherwise set result
14677 # to NONDIR_REPLACEMENT.
14678 # value returned in "$func_dirname_result"
14679 # basename: Compute filename of FILE.
14680 # value retuned in "$func_basename_result"
14681 # Implementation must be kept synchronized with func_dirname
14682 # and func_basename. For efficiency, we do not delegate to
14683 # those functions but instead duplicate the functionality here.
14684 func_dirname_and_basename
()
14687 */*) func_dirname_result
="${1%/*}${2}" ;;
14688 * ) func_dirname_result
="${3}" ;;
14690 func_basename_result
="${1##*/}"
14693 # func_stripname prefix suffix name
14694 # strip PREFIX and SUFFIX off of NAME.
14695 # PREFIX and SUFFIX must not contain globbing or regex special
14696 # characters, hashes, percent signs, but SUFFIX may contain a leading
14697 # dot (in which case that matches only a dot).
14700 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14701 # positional parameters, so assign one to ordinary parameter first.
14702 func_stripname_result
=${3}
14703 func_stripname_result
=${func_stripname_result#"${1}"}
14704 func_stripname_result
=${func_stripname_result%"${2}"}
14710 func_opt_split_opt
=${1%%=*}
14711 func_opt_split_arg
=${1#*=}
14718 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14719 *) func_lo2o_result
=${1} ;;
14723 # func_xform libobj-or-source
14726 func_xform_result
=${1%.*}.lo
14729 # func_arith arithmetic-term...
14732 func_arith_result
=$
(( $
* ))
14736 # STRING may not start with a hyphen.
14739 func_len_result
=${#1}
14744 *) # Bourne compatible functions.
14745 cat << \_LT_EOF
>> "$cfgfile"
14747 # func_dirname file append nondir_replacement
14748 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14749 # otherwise set result to NONDIR_REPLACEMENT.
14752 # Extract subdirectory from the argument.
14753 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14754 if test "X$func_dirname_result" = "X${1}"; then
14755 func_dirname_result
="${3}"
14757 func_dirname_result
="$func_dirname_result${2}"
14761 # func_basename file
14764 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14768 # func_stripname prefix suffix name
14769 # strip PREFIX and SUFFIX off of NAME.
14770 # PREFIX and SUFFIX must not contain globbing or regex special
14771 # characters, hashes, percent signs, but SUFFIX may contain a leading
14772 # dot (in which case that matches only a dot).
14773 # func_strip_suffix prefix name
14777 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14778 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14783 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14784 my_sed_long_arg
='1s/^-[^=]*=//'
14789 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14790 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14796 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14799 # func_xform libobj-or-source
14802 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14805 # func_arith arithmetic-term...
14808 func_arith_result
=`expr "$@"`
14812 # STRING may not start with a hyphen.
14815 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14821 case $lt_shell_append in
14823 cat << \_LT_EOF
>> "$cfgfile"
14825 # func_append var value
14826 # Append VALUE to the end of shell variable VAR.
14834 cat << \_LT_EOF
>> "$cfgfile"
14836 # func_append var value
14837 # Append VALUE to the end of shell variable VAR.
14848 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14849 ||
(rm -f "$cfgfile"; exit 1)
14851 mv -f "$cfgfile" "$ofile" ||
14852 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14863 ac_clean_files
=$ac_clean_files_save
14865 test $ac_write_fail = 0 ||
14866 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14869 # configure is writing to config.log, and then calls config.status.
14870 # config.status does its own redirection, appending to config.log.
14871 # Unfortunately, on DOS this fails, as config.log is still kept open
14872 # by configure, so config.status won't be able to write to it; its
14873 # output is simply discarded. So we exec the FD to /dev/null,
14874 # effectively closing config.log, so it can be properly (re)opened and
14875 # appended to by config.status. When coming back to configure, we
14876 # need to make the FD available again.
14877 if test "$no_create" != yes; then
14879 ac_config_status_args
=
14880 test "$silent" = yes &&
14881 ac_config_status_args
="$ac_config_status_args --quiet"
14883 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14885 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14886 # would make configure fail if this is the last instruction.
14887 $ac_cs_success || as_fn_exit
1
14889 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14891 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}