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
637 ENABLE_DARWIN_AT_RPATH_FALSE
638 ENABLE_DARWIN_AT_RPATH_TRUE
655 ac_lto_plugin_extra_ldflags
656 LTO_PLUGIN_USE_SYMVER_SUN_FALSE
657 LTO_PLUGIN_USE_SYMVER_SUN_TRUE
658 LTO_PLUGIN_USE_SYMVER_GNU_FALSE
659 LTO_PLUGIN_USE_SYMVER_GNU_TRUE
660 LTO_PLUGIN_USE_SYMVER_FALSE
661 LTO_PLUGIN_USE_SYMVER_TRUE
663 real_target_noncanonical
667 ac_lto_plugin_ldflags
669 ac_lto_plugin_warn_cflags
692 MAINTAINER_MODE_FALSE
706 INSTALL_STRIP_PROGRAM
764 program_transform_name
777 enable_option_checking
780 enable_maintainer_mode
782 enable_dependency_tracking
786 with_gcc_major_version_only
793 enable_darwin_at_rpath
795 ac_precious_vars
='build_alias
806 # Initialize some variables set by options.
808 ac_init_version
=false
809 ac_unrecognized_opts
=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
820 program_transform_name
=s
,x
,x
,
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir
='${exec_prefix}/bin'
835 sbindir
='${exec_prefix}/sbin'
836 libexecdir
='${exec_prefix}/libexec'
837 datarootdir
='${prefix}/share'
838 datadir
='${datarootdir}'
839 sysconfdir
='${prefix}/etc'
840 sharedstatedir
='${prefix}/com'
841 localstatedir
='${prefix}/var'
842 includedir
='${prefix}/include'
843 oldincludedir
='/usr/include'
844 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir
='${datarootdir}/info'
850 libdir
='${exec_prefix}/lib'
851 localedir
='${datarootdir}/locale'
852 mandir
='${datarootdir}/man'
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
860 eval $ac_prev=\
$ac_option
866 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
879 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
882 -build |
--build |
--buil |
--bui |
--bu)
883 ac_prev
=build_alias
;;
884 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
885 build_alias
=$ac_optarg ;;
887 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
888 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
889 ac_prev
=cache_file
;;
890 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
891 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
892 cache_file
=$ac_optarg ;;
895 cache_file
=config.cache
;;
897 -datadir |
--datadir |
--datadi |
--datad)
899 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
900 datadir
=$ac_optarg ;;
902 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
903 |
--dataroo |
--dataro |
--datar)
904 ac_prev
=datarootdir
;;
905 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
906 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
907 datarootdir
=$ac_optarg ;;
909 -disable-* |
--disable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error $?
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=no
;;
925 -docdir |
--docdir |
--docdi |
--doc |
--do)
927 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
930 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
932 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
935 -enable-* |
--enable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error $?
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=\
$ac_optarg ;;
951 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
952 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
953 |
--exec |
--exe |
--ex)
954 ac_prev
=exec_prefix
;;
955 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
956 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
957 |
--exec=* |
--exe=* |
--ex=*)
958 exec_prefix
=$ac_optarg ;;
960 -gas |
--gas |
--ga |
--g)
961 # Obsolete; use --with-gas.
964 -help |
--help |
--hel |
--he |
-h)
966 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
967 ac_init_help
=recursive
;;
968 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
969 ac_init_help
=short
;;
971 -host |
--host |
--hos |
--ho)
972 ac_prev
=host_alias
;;
973 -host=* |
--host=* |
--hos=* |
--ho=*)
974 host_alias
=$ac_optarg ;;
976 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
978 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
980 htmldir
=$ac_optarg ;;
982 -includedir |
--includedir |
--includedi |
--included |
--include \
983 |
--includ |
--inclu |
--incl |
--inc)
984 ac_prev
=includedir
;;
985 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
986 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
987 includedir
=$ac_optarg ;;
989 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
991 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
992 infodir
=$ac_optarg ;;
994 -libdir |
--libdir |
--libdi |
--libd)
996 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
999 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1000 |
--libexe |
--libex |
--libe)
1001 ac_prev
=libexecdir
;;
1002 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1003 |
--libexe=* |
--libex=* |
--libe=*)
1004 libexecdir
=$ac_optarg ;;
1006 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1007 ac_prev
=localedir
;;
1008 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1009 localedir
=$ac_optarg ;;
1011 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1012 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1013 ac_prev
=localstatedir
;;
1014 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1015 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1016 localstatedir
=$ac_optarg ;;
1018 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1020 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1021 mandir
=$ac_optarg ;;
1023 -nfp |
--nfp |
--nf)
1024 # Obsolete; use --without-fp.
1027 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1028 |
--no-cr |
--no-c |
-n)
1031 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1032 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1035 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1036 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1037 |
--oldin |
--oldi |
--old |
--ol |
--o)
1038 ac_prev
=oldincludedir
;;
1039 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1040 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1041 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1042 oldincludedir
=$ac_optarg ;;
1044 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1046 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1047 prefix
=$ac_optarg ;;
1049 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1050 |
--program-pre |
--program-pr |
--program-p)
1051 ac_prev
=program_prefix
;;
1052 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1053 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1054 program_prefix
=$ac_optarg ;;
1056 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1057 |
--program-suf |
--program-su |
--program-s)
1058 ac_prev
=program_suffix
;;
1059 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1060 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1061 program_suffix
=$ac_optarg ;;
1063 -program-transform-name |
--program-transform-name \
1064 |
--program-transform-nam |
--program-transform-na \
1065 |
--program-transform-n |
--program-transform- \
1066 |
--program-transform |
--program-transfor \
1067 |
--program-transfo |
--program-transf \
1068 |
--program-trans |
--program-tran \
1069 |
--progr-tra |
--program-tr |
--program-t)
1070 ac_prev
=program_transform_name
;;
1071 -program-transform-name=* |
--program-transform-name=* \
1072 |
--program-transform-nam=* |
--program-transform-na=* \
1073 |
--program-transform-n=* |
--program-transform-=* \
1074 |
--program-transform=* |
--program-transfor=* \
1075 |
--program-transfo=* |
--program-transf=* \
1076 |
--program-trans=* |
--program-tran=* \
1077 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1078 program_transform_name
=$ac_optarg ;;
1080 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1082 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1083 pdfdir
=$ac_optarg ;;
1085 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1087 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1090 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1091 |
-silent |
--silent |
--silen |
--sile |
--sil)
1094 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1096 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1098 sbindir
=$ac_optarg ;;
1100 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1101 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1102 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1104 ac_prev
=sharedstatedir
;;
1105 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1106 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1107 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1109 sharedstatedir
=$ac_optarg ;;
1111 -site |
--site |
--sit)
1113 -site=* |
--site=* |
--sit=*)
1116 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1118 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1119 srcdir
=$ac_optarg ;;
1121 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1122 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1123 ac_prev
=sysconfdir
;;
1124 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1125 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1126 sysconfdir
=$ac_optarg ;;
1128 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1129 ac_prev
=target_alias
;;
1130 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1131 target_alias
=$ac_optarg ;;
1133 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1136 -version |
--version |
--versio |
--versi |
--vers |
-V)
1137 ac_init_version
=: ;;
1140 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error $?
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=\
$ac_optarg ;;
1155 -without-* |
--without-*)
1156 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error $?
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=no
;;
1172 # Obsolete; use --with-x.
1175 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1176 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1177 ac_prev
=x_includes
;;
1178 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1179 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1180 x_includes
=$ac_optarg ;;
1182 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1183 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1184 ac_prev
=x_libraries
;;
1185 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1186 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1187 x_libraries
=$ac_optarg ;;
1189 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1194 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1198 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\
$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214 if test -n "$ac_prev"; then
1215 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $?
"missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val
=\$
$ac_var
1234 # Remove trailing slashes.
1237 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\
$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$
]* | ?
:[\\/]* ) continue;;
1243 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1245 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target
=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x
; then
1257 if test "x$build_alias" = x
; then
1258 cross_compiling
=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1267 test "$silent" = yes && exec 6>/dev
/null
1270 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di
=`ls -di .` &&
1272 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $?
"working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $?
"pwd does not report name of working directory"
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted
=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir
=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1310 ac_srcdir_defaulted
=no
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1314 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1316 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var
in $ac_precious_vars; do
1331 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1333 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures LTO plugin for ld 0.1 to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/lto-plugin]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --program-prefix=PREFIX prepend PREFIX to installed program names
1403 --program-suffix=SUFFIX append SUFFIX to installed program names
1404 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1407 --build=BUILD configure
for building on BUILD
[guessed
]
1408 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1409 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1413 if test -n "$ac_init_help"; then
1414 case $ac_init_help in
1415 short | recursive
) echo "Configuration of LTO plugin for ld 0.1:";;
1420 --disable-option-checking ignore unrecognized
--enable/--with options
1421 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1422 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1423 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1424 --disable-silent-rules verbose build output
(undo
: "make V=0")
1425 --enable-maintainer-mode
1426 enable make rules and dependencies not useful
(and
1427 sometimes confusing
) to the casual installer
1428 --enable-dependency-tracking
1429 do not reject slow dependency extractors
1430 --disable-dependency-tracking
1431 speeds up one-time build
1432 --disable-largefile omit support
for large files
1433 --enable-host-bind-now link
host code as BIND_NOW
1434 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1435 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1436 --enable-static[=PKGS
] build static libraries
[default
=yes]
1437 --enable-fast-install[=PKGS
]
1438 optimize
for fast installation
[default
=yes]
1439 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1440 --enable-darwin-at-rpath
1441 install libraries with @rpath
/library-name
, requires
1442 rpaths to be added to executables
1445 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1446 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1447 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1448 --with-libiberty=PATH specify the directory where to
find libiberty
1450 --with-gcc-major-version-only
1451 use only GCC major number
in filesystem paths
1452 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1454 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1466 Use these variables to override the choices made by
`configure' or to help
1467 it to find libraries and programs with nonstandard names/locations.
1469 Report bugs to the package provider.
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" ||
1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1486 # A ".." for each directory in $ac_dir_suffix.
1487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1488 case $ac_top_builddir_sub in
1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1493 ac_abs_top_builddir=$ac_pwd
1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1495 # for backward compatibility:
1496 ac_top_builddir=$ac_top_build_prefix
1499 .) # We are building in place.
1501 ac_top_srcdir=$ac_top_builddir_sub
1502 ac_abs_top_srcdir=$ac_pwd ;;
1503 [\\/]* | ?:[\\/]* ) # Absolute name.
1504 ac_srcdir=$srcdir$ac_dir_suffix;
1505 ac_top_srcdir=$srcdir
1506 ac_abs_top_srcdir=$srcdir ;;
1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1509 ac_top_srcdir=$ac_top_build_prefix$srcdir
1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1514 cd "$ac_dir" || { ac_status=$?; continue; }
1515 # Check for guested configure.
1516 if test -f "$ac_srcdir/configure.gnu"; then
1518 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1519 elif test -f "$ac_srcdir/configure"; then
1521 $SHELL "$ac_srcdir/configure" --help=recursive
1523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1525 cd "$ac_pwd" || { ac_status=$?; break; }
1529 test -n "$ac_init_help" && exit $ac_status
1530 if $ac_init_version; then
1532 LTO plugin for ld configure 0.1
1533 generated by GNU Autoconf 2.69
1535 Copyright (C) 2012 Free Software Foundation, Inc.
1536 This configure script is free software; the Free Software Foundation
1537 gives unlimited permission to copy, distribute and modify it.
1542 ## ------------------------ ##
1543 ## Autoconf initialization. ##
1544 ## ------------------------ ##
1546 # ac_fn_c_try_compile LINENO
1547 # --------------------------
1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_compile ()
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext
1553 if { { ac_try="$ac_compile"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_compile") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest.
$ac_objext; then :
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.
$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status
$ac_retval
1582 } # ac_fn_c_try_compile
1584 # ac_fn_c_try_cpp LINENO
1585 # ----------------------
1586 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1590 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } > conftest.i && {
1606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1607 test ! -s conftest.err
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1621 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1622 # -------------------------------------------------------
1623 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1624 # the include files in INCLUDES and setting the cache variable VAR
1626 ac_fn_c_check_header_mongrel ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 if eval \${$3+:} false; then :
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if eval \${$3+:} false; then :
1633 $as_echo_n "(cached) " >&6
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637 $as_echo "$ac_res" >&6; }
1639 # Is the header compilable?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1641 $as_echo_n "checking $2 usability... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1647 if ac_fn_c_try_compile "$LINENO"; then :
1648 ac_header_compiler=yes
1650 ac_header_compiler=no
1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1654 $as_echo "$ac_header_compiler" >&6; }
1656 # Is the header present?
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1658 $as_echo_n "checking $2 presence... " >&6; }
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1663 if ac_fn_c_try_cpp "$LINENO"; then :
1664 ac_header_preproc=yes
1666 ac_header_preproc=no
1668 rm -f conftest.err conftest.i conftest.$ac_ext
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1670 $as_echo "$ac_header_preproc" >&6; }
1672 # So? What about this header?
1673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1676 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1682 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1684 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1686 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1688 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1690 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if eval \${$3+:} false; then :
1696 $as_echo_n "(cached) " >&6
1698 eval "$3=\$ac_header_compiler"
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 } # ac_fn_c_check_header_mongrel
1708 # ac_fn_c_try_run LINENO
1709 # ----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1711 # that executables *can* be run.
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 if { { ac_try="$ac_link"
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_link") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1726 { { case "(($ac_try" in
1727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_try") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; }; }; then :
1738 $as_echo "$as_me: program exited with status $ac_status" >&5
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=$ac_status
1744 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status $ac_retval
1750 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1751 # -------------------------------------------------------
1752 # Tests whether HEADER exists and can be compiled using the include files in
1753 # INCLUDES, setting the cache variable VAR accordingly.
1754 ac_fn_c_check_header_compile ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if eval \${$3+:} false; then :
1760 $as_echo_n "(cached) " >&6
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1767 if ac_fn_c_try_compile "$LINENO"; then :
1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 } # ac_fn_c_check_header_compile
1781 # ac_fn_c_try_link LINENO
1782 # -----------------------
1783 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 rm -f conftest.$ac_objext conftest$ac_exeext
1788 if { { ac_try="$ac_link"
1790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1791 *) ac_try_echo
=$ac_try;;
1793 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_link") 2>conftest.err
1797 if test -s conftest.err
; then
1798 grep -v '^ *+' conftest.err
>conftest.er1
1799 cat conftest.er1
>&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest
$ac_exeext && {
1807 test "$cross_compiling" = yes ||
1808 test -x conftest
$ac_exeext
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819 # interfere with the next link command; also delete a directory that is
1820 # left behind by Apple's compiler. We do this before executing the actions.
1821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 as_fn_set_status
$ac_retval
1825 } # ac_fn_c_try_link
1827 # ac_fn_c_check_func LINENO FUNC VAR
1828 # ----------------------------------
1829 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1830 ac_fn_c_check_func
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \
${$3+:} false
; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1840 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1842 #define $2 innocuous_$2
1844 /* System header to define __stub macros and hopefully few prototypes,
1845 which can conflict with char $2 (); below.
1846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1847 <limits.h> exists even on freestanding compilers. */
1850 # include <limits.h>
1852 # include <assert.h>
1857 /* Override any GCC internal prototype to avoid an error.
1858 Use char because int might match the return type of a GCC
1859 builtin and then its argument prototype would still apply. */
1864 /* The GNU C library defines this for functions which it implements
1865 to always fail with ENOSYS. Some functions are actually named
1866 something starting with __ and the normal name is an alias. */
1867 #if defined __stub_$2 || defined __stub___$2
1879 if ac_fn_c_try_link
"$LINENO"; then :
1884 rm -f core conftest.err conftest.
$ac_objext \
1885 conftest
$ac_exeext conftest.
$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 } # ac_fn_c_check_func
1894 # ac_fn_c_find_intX_t LINENO BITS VAR
1895 # -----------------------------------
1896 # Finds a signed integer type with width BITS, setting cache variable VAR
1898 ac_fn_c_find_intX_t
()
1900 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1902 $as_echo_n "checking for int$2_t... " >&6; }
1903 if eval \
${$3+:} false
; then :
1904 $as_echo_n "(cached) " >&6
1907 # Order is important - never check a type that is potentially smaller
1908 # than half of the expected target width.
1909 for ac_type
in int
$2_t 'int' 'long int' \
1910 'long long int' 'short int' 'signed char'; do
1911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1913 $ac_includes_default
1914 enum { N = $2 / 2 - 1 };
1918 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1920 return test_array [0];
1926 if ac_fn_c_try_compile
"$LINENO"; then :
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1929 $ac_includes_default
1930 enum { N = $2 / 2 - 1 };
1934 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1935 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1937 return test_array [0];
1943 if ac_fn_c_try_compile
"$LINENO"; then :
1950 eval "$3=\$ac_type" ;;
1953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1956 if eval test \"x\$
"$3"\" = x
"no"; then :
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_find_intX_t
1970 # ac_fn_c_find_uintX_t LINENO BITS VAR
1971 # ------------------------------------
1972 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1974 ac_fn_c_find_uintX_t
()
1976 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1978 $as_echo_n "checking for uint$2_t... " >&6; }
1979 if eval \
${$3+:} false
; then :
1980 $as_echo_n "(cached) " >&6
1983 # Order is important - never check a type that is potentially smaller
1984 # than half of the expected target width.
1985 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1986 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1989 $ac_includes_default
1993 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1995 return test_array [0];
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2006 eval "$3=\$ac_type" ;;
2009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2010 if eval test \"x\$
"$3"\" = x
"no"; then :
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 $as_echo "$ac_res" >&6; }
2020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 } # ac_fn_c_find_uintX_t
2023 cat >config.log
<<_ACEOF
2024 This file contains any messages produced by compilers while
2025 running configure, to aid debugging if configure makes a mistake.
2027 It was created by LTO plugin for ld $as_me 0.1, which was
2028 generated by GNU Autoconf 2.69. Invocation command line was
2040 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2041 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2042 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2043 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2044 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2046 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2047 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2049 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2050 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2051 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2052 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2053 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2054 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2055 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir
=.
2064 $as_echo "PATH: $as_dir"
2080 # Keep a trace of the command line.
2081 # Strip out --no-create and --no-recursion so they do not pile up.
2082 # Strip out --silent because we don't want to record it for future runs.
2083 # Also quote any args containing shell meta-characters.
2084 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_must_keep_next
=false
2094 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2095 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2096 |
-silent |
--silent |
--silen |
--sile |
--sil)
2099 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2104 as_fn_append ac_configure_args1
" '$ac_arg'"
2105 if test $ac_must_keep_next = true
; then
2106 ac_must_keep_next
=false
# Got value, back to normal.
2109 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2110 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2111 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2112 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2113 case "$ac_configure_args0 " in
2114 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2117 -* ) ac_must_keep_next
=true
;;
2120 as_fn_append ac_configure_args
" '$ac_arg'"
2125 { ac_configure_args0
=; unset ac_configure_args0
;}
2126 { ac_configure_args1
=; unset ac_configure_args1
;}
2128 # When interrupted or exit'd, cleanup temporary files, and complete
2129 # config.log. We remove comments because anyway the quotes in there
2130 # would cause problems or look ugly.
2131 # WARNING: Use '\'' to represent an apostrophe within the trap.
2132 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2133 trap 'exit_status=$?
2134 # Save into config.log some information that might help in debugging.
2138 $as_echo "## ---------------- ##
2139 ## Cache variables. ##
2140 ## ---------------- ##"
2142 # The following way of writing the cache mishandles newlines in values,
2144 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2145 eval ac_val=\$$ac_var
2149 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2150 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2153 _ | IFS | as_nl) ;; #(
2154 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2155 *) { eval $ac_var=; unset $ac_var;} ;;
2160 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2161 *${as_nl}ac_space=\ *)
2163 "s/'\''/'\''\\\\'\'''\''/g;
2164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2174 $as_echo "## ----------------- ##
2175 ## Output variables. ##
2176 ## ----------------- ##"
2178 for ac_var in $ac_subst_vars
2180 eval ac_val=\$$ac_var
2182 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 $as_echo "$ac_var='\''$ac_val'\''"
2188 if test -n "$ac_subst_files"; then
2189 $as_echo "## ------------------- ##
2190 ## File substitutions. ##
2191 ## ------------------- ##"
2193 for ac_var
in $ac_subst_files
2195 eval ac_val
=\$
$ac_var
2197 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2199 $as_echo "$ac_var='\''$ac_val'\''"
2204 if test -s confdefs.h; then
2205 $as_echo "## ----------- ##
2212 test "$ac_signal" != 0 &&
2213 $as_echo "$as_me: caught signal $ac_signal"
2214 $as_echo "$as_me: exit $exit_status"
2216 rm -f core *.core core.conftest.* &&
2217 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2220 for ac_signal
in 1 2 13 15; do
2221 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2225 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2226 rm -f -r conftest
* confdefs.h
2228 $as_echo "/* confdefs.h */" > confdefs.h
2230 # Predefined preprocessor variables.
2232 cat >>confdefs.h
<<_ACEOF
2233 #define PACKAGE_NAME "$PACKAGE_NAME"
2236 cat >>confdefs.h
<<_ACEOF
2237 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2240 cat >>confdefs.h
<<_ACEOF
2241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2244 cat >>confdefs.h
<<_ACEOF
2245 #define PACKAGE_STRING "$PACKAGE_STRING"
2248 cat >>confdefs.h
<<_ACEOF
2249 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_URL "$PACKAGE_URL"
2257 # Let the site file select an alternate cache file if it wants to.
2258 # Prefer an explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 # We do not want a PATH search for config.site.
2263 case $CONFIG_SITE in #((
2264 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2265 */*) ac_site_file1
=$CONFIG_SITE;;
2266 *) ac_site_file1
=.
/$CONFIG_SITE;;
2268 elif test "x$prefix" != xNONE
; then
2269 ac_site_file1
=$prefix/share
/config.site
2270 ac_site_file2
=$prefix/etc
/config.site
2272 ac_site_file1
=$ac_default_prefix/share
/config.site
2273 ac_site_file2
=$ac_default_prefix/etc
/config.site
2275 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2277 test "x$ac_site_file" = xNONE
&& continue
2278 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2280 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2283 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2285 as_fn_error $?
"failed to load site script $ac_site_file
2286 See \`config.log' for more details" "$LINENO" 5; }
2290 if test -r "$cache_file"; then
2291 # Some versions of bash will fail to source /dev/null (special files
2292 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2293 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2295 $as_echo "$as_me: loading cache $cache_file" >&6;}
2297 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2298 *) .
"./$cache_file";;
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2303 $as_echo "$as_me: creating cache $cache_file" >&6;}
2307 # Check that the precious variables saved in the cache have kept the same
2309 ac_cache_corrupted
=false
2310 for ac_var
in $ac_precious_vars; do
2311 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2312 eval ac_new_set
=\
$ac_env_${ac_var}_set
2313 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2314 eval ac_new_val
=\
$ac_env_${ac_var}_value
2315 case $ac_old_set,$ac_new_set in
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2318 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2319 ac_cache_corrupted
=: ;;
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2322 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2323 ac_cache_corrupted
=: ;;
2326 if test "x$ac_old_val" != "x$ac_new_val"; then
2327 # differences in whitespace do not lead to failure.
2328 ac_old_val_w
=`echo x $ac_old_val`
2329 ac_new_val_w
=`echo x $ac_new_val`
2330 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2332 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2333 ac_cache_corrupted
=:
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2336 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2337 eval $ac_var=\
$ac_old_val
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2340 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2342 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2345 # Pass precious variables to config.status.
2346 if test "$ac_new_set" = set; then
2348 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2349 *) ac_arg
=$ac_var=$ac_new_val ;;
2351 case " $ac_configure_args " in
2352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2353 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2357 if $ac_cache_corrupted; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2361 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2364 ## -------------------- ##
2365 ## Main body of script. ##
2366 ## -------------------- ##
2369 ac_cpp
='$CPP $CPPFLAGS'
2370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2379 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2380 if test -f "$ac_dir/install-sh"; then
2382 ac_install_sh
="$ac_aux_dir/install-sh -c"
2384 elif test -f "$ac_dir/install.sh"; then
2386 ac_install_sh
="$ac_aux_dir/install.sh -c"
2388 elif test -f "$ac_dir/shtool"; then
2390 ac_install_sh
="$ac_aux_dir/shtool install -c"
2394 if test -z "$ac_aux_dir"; then
2395 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2407 # Make sure we can run config.sub.
2408 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2409 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2412 $as_echo_n "checking build system type... " >&6; }
2413 if ${ac_cv_build+:} false
; then :
2414 $as_echo_n "(cached) " >&6
2416 ac_build_alias
=$build_alias
2417 test "x$ac_build_alias" = x
&&
2418 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2419 test "x$ac_build_alias" = x
&&
2420 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2421 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2422 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2426 $as_echo "$ac_cv_build" >&6; }
2427 case $ac_cv_build in
2429 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2432 ac_save_IFS
=$IFS; IFS
='-'
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2442 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2446 $as_echo_n "checking host system type... " >&6; }
2447 if ${ac_cv_host+:} false
; then :
2448 $as_echo_n "(cached) " >&6
2450 if test "x$host_alias" = x
; then
2451 ac_cv_host
=$ac_cv_build
2453 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2454 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2459 $as_echo "$ac_cv_host" >&6; }
2462 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2465 ac_save_IFS
=$IFS; IFS
='-'
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2475 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2479 $as_echo_n "checking target system type... " >&6; }
2480 if ${ac_cv_target+:} false
; then :
2481 $as_echo_n "(cached) " >&6
2483 if test "x$target_alias" = x
; then
2484 ac_cv_target
=$ac_cv_host
2486 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2487 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2492 $as_echo "$ac_cv_target" >&6; }
2493 case $ac_cv_target in
2495 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2497 target
=$ac_cv_target
2498 ac_save_IFS
=$IFS; IFS
='-'
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2508 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2511 # The aliases save the names the user supplied, while $host etc.
2512 # will get canonicalized.
2513 test -n "$target_alias" &&
2514 test "$program_prefix$program_suffix$program_transform_name" = \
2516 program_prefix
=${target_alias}-
2518 case ${build_alias} in
2519 "") build_noncanonical
=${build} ;;
2520 *) build_noncanonical
=${build_alias} ;;
2523 case ${host_alias} in
2524 "") host_noncanonical
=${build_noncanonical} ;;
2525 *) host_noncanonical
=${host_alias} ;;
2528 case ${target_alias} in
2529 "") target_noncanonical
=${host_noncanonical} ;;
2530 *) target_noncanonical
=${target_alias} ;;
2534 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2535 # have matching libraries, they should use host libraries: Makefile.tpl
2536 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2537 # However, they still use the build modules, because the corresponding
2538 # host modules (e.g. bison) are only built for the host when bootstrap
2540 # - build_subdir is where we find build modules, and never changes.
2541 # - build_libsubdir is where we find build libraries, and can be overridden.
2543 # Prefix 'build-' so this never conflicts with target_subdir.
2544 build_subdir
="build-${build_noncanonical}"
2546 # Check whether --with-build-libsubdir was given.
2547 if test "${with_build_libsubdir+set}" = set; then :
2548 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2550 build_libsubdir
="$build_subdir"
2553 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2554 if ( test $srcdir = .
&& test -d gcc
) \
2555 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2556 host_subdir
="host-${host_noncanonical}"
2561 target_subdir
=${target_noncanonical}
2563 am__api_version
='1.15'
2565 # Find a good install program. We prefer a C program (faster),
2566 # so one script is as good as another. But avoid the broken or
2567 # incompatible versions:
2568 # SysV /etc/install, /usr/sbin/install
2569 # SunOS /usr/etc/install
2570 # IRIX /sbin/install
2572 # AmigaOS /C/install, which installs bootblocks on floppy discs
2573 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2574 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2575 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2576 # OS/2's system install, which has a completely different semantic
2577 # ./install, which can be erroneously created by make from ./install.sh.
2578 # Reject install programs that cannot install multiple files.
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2580 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2581 if test -z "$INSTALL"; then
2582 if ${ac_cv_path_install+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 # Account for people who put trailing slashes in PATH elements.
2591 case $as_dir/ in #((
2592 .
/ | .
// |
/[cC
]/* | \
2593 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2594 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2597 # OSF1 and SCO ODT 3.0 have their own names for install.
2598 # Don't use installbsd from OSF since it installs stuff as root
2600 for ac_prog
in ginstall scoinst
install; do
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2603 if test $ac_prog = install &&
2604 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2605 # AIX install. It has an incompatible calling convention.
2607 elif test $ac_prog = install &&
2608 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2609 # program-specific install script used by HP pwplus--don't use.
2612 rm -rf conftest.one conftest.two conftest.dir
2613 echo one
> conftest.one
2614 echo two
> conftest.two
2616 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2617 test -s conftest.one
&& test -s conftest.two
&&
2618 test -s conftest.dir
/conftest.one
&&
2619 test -s conftest.dir
/conftest.two
2621 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2634 rm -rf conftest.one conftest.two conftest.dir
2637 if test "${ac_cv_path_install+set}" = set; then
2638 INSTALL
=$ac_cv_path_install
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for INSTALL within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 INSTALL
=$ac_install_sh
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2648 $as_echo "$INSTALL" >&6; }
2650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2651 # It thinks the first close brace ends the variable substitution.
2652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2656 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2659 $as_echo_n "checking whether build environment is sane... " >&6; }
2660 # Reject unsafe characters in $srcdir or the absolute working directory
2661 # name. Accept space and tab only in the latter.
2665 *[\\\"\
#\$\&\'\`$am_lf]*)
2666 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2669 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2670 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2673 # Do 'set' in a subshell so we don't clobber the current shell's
2674 # arguments. Must try -L first in case configure is actually a
2675 # symlink; some systems play weird games with the mod time of symlinks
2676 # (eg FreeBSD returns the mod time of the symlink's containing
2680 for am_try
in 1 2; do
2681 echo "timestamp, slept: $am_has_slept" > conftest.
file
2682 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2683 if test "$*" = "X"; then
2685 set X
`ls -t "$srcdir/configure" conftest.file`
2687 if test "$*" != "X $srcdir/configure conftest.file" \
2688 && test "$*" != "X conftest.file $srcdir/configure"; then
2690 # If neither matched, then we have a broken ls. This can happen
2691 # if, for instance, CONFIG_SHELL is bash and it inherits a
2692 # broken ls alias from the environment. This has actually
2693 # happened. Such a system could not be considered "sane".
2694 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2695 alias in your environment" "$LINENO" 5
2697 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2704 test "$2" = conftest.
file
2710 as_fn_error $?
"newly created file is older than distributed files!
2711 Check your system clock" "$LINENO" 5
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2715 # If we didn't sleep, we still need to ensure time stamps of config.status and
2716 # generated files are strictly newer.
2718 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2725 test "$program_prefix" != NONE
&&
2726 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2727 # Use a double $ so make ignores it.
2728 test "$program_suffix" != NONE
&&
2729 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2730 # Double any \ or $.
2731 # By default was `s,x,x', remove it if useless.
2732 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2733 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2735 # Expand $ac_aux_dir to an absolute path.
2736 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2738 if test x
"${MISSING+set}" != xset
; then
2741 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2743 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2746 # Use eval to expand $SHELL
2747 if eval "$MISSING --is-lightweight"; then
2748 am_missing_run
="$MISSING "
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2752 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2755 if test x
"${install_sh+set}" != xset
; then
2758 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2760 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2764 # Installed binaries are usually stripped using 'strip' when the user
2765 # run "make install-strip". However 'strip' might not be the right
2766 # tool to use in cross-compilation environments, therefore Automake
2767 # will honor the 'STRIP' environment variable to overrule this program.
2768 if test "$cross_compiling" != no
; then
2769 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2771 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_STRIP+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 if test -n "$STRIP"; then
2778 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 STRIP
=$ac_cv_prog_STRIP
2798 if test -n "$STRIP"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2800 $as_echo "$STRIP" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2808 if test -z "$ac_cv_prog_STRIP"; then
2810 # Extract the first word of "strip", so it can be a program name with args.
2811 set dummy strip
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$ac_ct_STRIP"; then
2818 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_ac_ct_STRIP
="strip"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2838 if test -n "$ac_ct_STRIP"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2840 $as_echo "$ac_ct_STRIP" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2846 if test "x$ac_ct_STRIP" = x
; then
2849 case $cross_compiling:$ac_tool_warned in
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2853 ac_tool_warned
=yes ;;
2858 STRIP
="$ac_cv_prog_STRIP"
2862 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2865 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2866 if test -z "$MKDIR_P"; then
2867 if ${ac_cv_path_mkdir+:} false
; then :
2868 $as_echo_n "(cached) " >&6
2870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2874 test -z "$as_dir" && as_dir
=.
2875 for ac_prog
in mkdir gmkdir
; do
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2878 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2879 'mkdir (GNU coreutils) '* | \
2880 'mkdir (coreutils) '* | \
2881 'mkdir (fileutils) '4.1*)
2882 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2892 test -d .
/--version && rmdir .
/--version
2893 if test "${ac_cv_path_mkdir+set}" = set; then
2894 MKDIR_P
="$ac_cv_path_mkdir -p"
2896 # As a last resort, use the slow shell script. Don't cache a
2897 # value for MKDIR_P within a source directory, because that will
2898 # break other packages using the cache if that directory is
2899 # removed, or if the value is a relative name.
2900 MKDIR_P
="$ac_install_sh -d"
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2904 $as_echo "$MKDIR_P" >&6; }
2906 for ac_prog
in gawk mawk nawk
awk
2908 # Extract the first word of "$ac_prog", so it can be a program name with args.
2909 set dummy
$ac_prog; ac_word
=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_AWK+:} false
; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$AWK"; then
2916 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_AWK
="$ac_prog"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 if test -n "$AWK"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2938 $as_echo "$AWK" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2945 test -n "$AWK" && break
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2949 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2951 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 cat >conftest.
make <<\_ACEOF
2958 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2960 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2963 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2965 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2969 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 SET_MAKE
="MAKE=${MAKE-make}"
2979 rm -rf .tst
2>/dev
/null
2980 mkdir .tst
2>/dev
/null
2981 if test -d .tst
; then
2986 rmdir .tst
2>/dev
/null
2988 # Check whether --enable-silent-rules was given.
2989 if test "${enable_silent_rules+set}" = set; then :
2990 enableval
=$enable_silent_rules;
2993 case $enable_silent_rules in # (((
2994 yes) AM_DEFAULT_VERBOSITY
=0;;
2995 no
) AM_DEFAULT_VERBOSITY
=1;;
2996 *) AM_DEFAULT_VERBOSITY
=1;;
2998 am_make
=${MAKE-make}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3000 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3001 if ${am_cv_make_support_nested_variables+:} false
; then :
3002 $as_echo_n "(cached) " >&6
3004 if $as_echo 'TRUE=$(BAR$(V))
3010 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3011 am_cv_make_support_nested_variables
=yes
3013 am_cv_make_support_nested_variables
=no
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3017 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3018 if test $am_cv_make_support_nested_variables = yes; then
3020 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3022 AM_V
=$AM_DEFAULT_VERBOSITY
3023 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3029 # is not polluted with repeated "-I."
3030 am__isrc
=' -I$(srcdir)'
3031 # test to see if srcdir already configured
3032 if test -f $srcdir/config.status
; then
3033 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3037 # test whether we have cygpath
3038 if test -z "$CYGPATH_W"; then
3039 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3040 CYGPATH_W
='cygpath -w'
3047 # Define the identity of the package.
3048 PACKAGE
='lto-plugin'
3052 cat >>confdefs.h
<<_ACEOF
3053 #define PACKAGE "$PACKAGE"
3057 cat >>confdefs.h
<<_ACEOF
3058 #define VERSION "$VERSION"
3061 # Some tools Automake needs.
3063 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3066 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3069 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3072 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3075 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3077 # For better backward compatibility. To be removed once Automake 1.9.x
3078 # dies out for good. For more background, see:
3079 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3080 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3081 mkdir_p
='$(MKDIR_P)'
3083 # We need awk for the "check" target (and possibly the TAP driver). The
3084 # system "awk" is bad on some platforms.
3085 # Always define AMTAR for backward compatibility. Yes, it's still used
3086 # in the wild :-( We should find a proper way to deprecate it ...
3090 # We'll loop over all known methods to create a tar archive until one works.
3091 _am_tools
='gnutar pax cpio none'
3093 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3100 # POSIX will say in a future version that running "rm -f" with no argument
3101 # is OK; and we want to be able to make that assumption in our Makefile
3102 # recipes. So use an aggressive probe to check that the usage we want is
3103 # actually supported "in the wild" to an acceptable degree.
3104 # See automake bug#10828.
3105 # To make any issue more visible, cause the running configure to be aborted
3106 # by default if the 'rm' program in use doesn't match our expectations; the
3107 # user can still override this though.
3108 if rm -f && rm -fr && rm -rf; then : OK
; else
3112 Your 'rm' program seems unable to run without file operands specified
3113 on the command line, even when the '-f' option is present. This is contrary
3114 to the behaviour of most rm programs out there, and not conforming with
3115 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3117 Please tell bug-automake@gnu.org about your system, including the value
3118 of your $PATH and any error possibly output before this message. This
3119 can help us improve future automake versions.
3122 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3123 echo 'Configuration will proceed anyway, since you have set the' >&2
3124 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3128 Aborting the configuration process, to ensure you take notice of the issue.
3130 You can download and install GNU coreutils to get an 'rm' implementation
3131 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3133 If you want to complete the configuration process using your problematic
3134 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3135 to "yes", and re-run configure.
3138 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3144 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3145 # Check whether --enable-maintainer-mode was given.
3146 if test "${enable_maintainer_mode+set}" = set; then :
3147 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3149 USE_MAINTAINER_MODE
=no
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3153 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3154 if test $USE_MAINTAINER_MODE = yes; then
3155 MAINTAINER_MODE_TRUE
=
3156 MAINTAINER_MODE_FALSE
='#'
3158 MAINTAINER_MODE_TRUE
='#'
3159 MAINTAINER_MODE_FALSE
=
3162 MAINT
=$MAINTAINER_MODE_TRUE
3166 # Check whether --with-libiberty was given.
3167 if test "${with_libiberty+set}" = set; then :
3168 withval
=$with_libiberty;
3170 with_libiberty
=..
/libiberty
3174 DEPDIR
="${am__leading_dot}deps"
3176 ac_config_commands
="$ac_config_commands depfiles"
3179 am_make
=${MAKE-make}
3180 cat > confinc
<< 'END'
3182 @
echo this is the am__doit target
3185 # If we don't find an include directive, just comment out the code.
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3187 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3191 # First try GNU make style include.
3192 echo "include confinc" > confmf
3193 # Ignore all kinds of additional output from 'make'.
3194 case `$am_make -s -f confmf 2> /dev/null` in #(
3195 *the\ am__doit\ target
*)
3201 # Now try BSD make style include.
3202 if test "$am__include" = "#"; then
3203 echo '.include "confinc"' > confmf
3204 case `$am_make -s -f confmf 2> /dev/null` in #(
3205 *the\ am__doit\ target
*)
3206 am__include
=.include
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3215 $as_echo "$_am_result" >&6; }
3216 rm -f confinc confmf
3218 # Check whether --enable-dependency-tracking was given.
3219 if test "${enable_dependency_tracking+set}" = set; then :
3220 enableval
=$enable_dependency_tracking;
3223 if test "x$enable_dependency_tracking" != xno
; then
3224 am_depcomp
="$ac_aux_dir/depcomp"
3228 if test "x$enable_dependency_tracking" != xno; then
3238 ac_cpp
='$CPP $CPPFLAGS'
3239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3244 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_CC+:} false
; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$CC"; then
3251 ac_cv_prog_CC
="$CC" # Let the user override the test.
3253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir
=.
3258 for ac_exec_ext
in '' $ac_executable_extensions; do
3259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$ac_cv_prog_CC"; then
3283 # Extract the first word of "gcc", so it can be a program name with args.
3284 set dummy gcc
; ac_word
=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$ac_ct_CC"; then
3291 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3297 test -z "$as_dir" && as_dir
=.
3298 for ac_exec_ext
in '' $ac_executable_extensions; do
3299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3300 ac_cv_prog_ac_ct_CC
="gcc"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3311 if test -n "$ac_ct_CC"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3313 $as_echo "$ac_ct_CC" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3319 if test "x$ac_ct_CC" = x
; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned
=yes ;;
3334 if test -z "$CC"; then
3335 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3337 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3339 $as_echo_n "checking for $ac_word... " >&6; }
3340 if ${ac_cv_prog_CC+:} false
; then :
3341 $as_echo_n "(cached) " >&6
3343 if test -n "$CC"; then
3344 ac_cv_prog_CC
="$CC" # Let the user override the test.
3346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir
=.
3351 for ac_exec_ext
in '' $ac_executable_extensions; do
3352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test -n "$CC"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3366 $as_echo "$CC" >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3375 if test -z "$CC"; then
3376 # Extract the first word of "cc", so it can be a program name with args.
3377 set dummy cc
; ac_word
=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_CC+:} false
; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$CC"; then
3384 ac_cv_prog_CC
="$CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3394 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3395 ac_prog_rejected
=yes
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test $ac_prog_rejected = yes; then
3407 # We found a bogon in the path, so make sure we never use it.
3408 set dummy
$ac_cv_prog_CC
3410 if test $# != 0; then
3411 # We chose a different compiler from the bogus one.
3412 # However, it has the same basename, so the bogon will be chosen
3413 # first if we set CC to just the basename; use the full file name.
3415 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3421 if test -n "$CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3423 $as_echo "$CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3431 if test -z "$CC"; then
3432 if test -n "$ac_tool_prefix"; then
3433 for ac_prog
in cl.exe
3435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_prog_CC+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC
="$CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3472 test -n "$CC" && break
3475 if test -z "$CC"; then
3477 for ac_prog
in cl.exe
3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
3480 set dummy
$ac_prog; ac_word
=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$ac_ct_CC"; then
3487 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir
=.
3494 for ac_exec_ext
in '' $ac_executable_extensions; do
3495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_ac_ct_CC
="$ac_prog"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3507 if test -n "$ac_ct_CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3509 $as_echo "$ac_ct_CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3516 test -n "$ac_ct_CC" && break
3519 if test "x$ac_ct_CC" = x
; then
3522 case $cross_compiling:$ac_tool_warned in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3526 ac_tool_warned
=yes ;;
3535 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $?
"no acceptable C compiler found in \$PATH
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 # Provide some information about the compiler.
3541 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3544 for ac_option
in --version -v -V -qversion; do
3545 { { ac_try
="$ac_compiler $ac_option >&5"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3554 if test -s conftest.err; then
3556 ... rest of stderr output deleted ...
3557 10q' conftest.err >conftest.er1
3558 cat conftest.er1 >&5
3560 rm -f conftest.er1 conftest.err
3561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3562 test $ac_status = 0; }
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 ac_clean_files_save=$ac_clean_files
3577 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3578 # Try to create an executable without -o first, disregard a.out.
3579 # It will help us diagnose broken compilers, and finding out an intuition
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3582 $as_echo_n "checking whether the C compiler works... " >&6; }
3583 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3585 # The possible output files:
3586 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3589 for ac_file in $ac_files
3592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3593 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3598 if { { ac_try="$ac_link_default"
3600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3601 *) ac_try_echo
=$ac_try;;
3603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link_default") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; then :
3609 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3610 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3611 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3612 # so that the user can short-circuit this test for compilers unknown to
3614 for ac_file
in $ac_files ''
3616 test -f "$ac_file" ||
continue
3618 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3621 # We found the default executable, but exeext='' is most
3625 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3627 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3629 # We set ac_cv_exeext here because the later test for it is not
3630 # safe: cross compilers may not add the suffix if given an `-o'
3631 # argument, so we may need to know it at that point already.
3632 # Even if this section looks crufty: it has the advantage of
3639 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3644 if test -z "$ac_file"; then :
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
3647 $as_echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.
$ac_ext >&5
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error
77 "C compiler cannot create executables
3653 See \`config.log' for more details" "$LINENO" 5; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3656 $as_echo "yes" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3659 $as_echo_n "checking for C compiler default output file name... " >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3661 $as_echo "$ac_file" >&6; }
3662 ac_exeext
=$ac_cv_exeext
3664 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3665 ac_clean_files
=$ac_clean_files_save
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3667 $as_echo_n "checking for suffix of executables... " >&6; }
3668 if { { ac_try
="$ac_link"
3670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3671 *) ac_try_echo=$ac_try;;
3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_link") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; then :
3679 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3680 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3681 # work properly (i.e., refer to `conftest.exe'), while it won't with
3683 for ac_file
in conftest.exe conftest conftest.
*; do
3684 test -f "$ac_file" ||
continue
3686 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3687 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3695 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3696 See \`config.log' for more details" "$LINENO" 5; }
3698 rm -f conftest conftest
$ac_cv_exeext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3700 $as_echo "$ac_cv_exeext" >&6; }
3702 rm -f conftest.
$ac_ext
3703 EXEEXT
=$ac_cv_exeext
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3711 FILE *f = fopen ("conftest.out", "w");
3712 return ferror (f) || fclose (f) != 0;
3718 ac_clean_files
="$ac_clean_files conftest.out"
3719 # Check that the compiler produces executables we can run. If not, either
3720 # the compiler is broken, or we cross compile.
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3722 $as_echo_n "checking whether we are cross compiling... " >&6; }
3723 if test "$cross_compiling" != yes; then
3724 { { ac_try
="$ac_link"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_link") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }
3735 if { ac_try='./conftest$ac_cv_exeext'
3736 { { case "(($ac_try" in
3737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3738 *) ac_try_echo
=$ac_try;;
3740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3741 $as_echo "$ac_try_echo"; } >&5
3742 (eval "$ac_try") 2>&5
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }; }; then
3748 if test "$cross_compiling" = maybe
; then
3751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 as_fn_error $?
"cannot run C compiled programs.
3754 If you meant to cross compile, use \`--host'.
3755 See \`config.log' for more details" "$LINENO" 5; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3760 $as_echo "$cross_compiling" >&6; }
3762 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3763 ac_clean_files
=$ac_clean_files_save
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3765 $as_echo_n "checking for suffix of object files... " >&6; }
3766 if ${ac_cv_objext+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3780 rm -f conftest.o conftest.obj
3781 if { { ac_try
="$ac_compile"
3783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788 (eval "$ac_compile") 2>&5
3790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791 test $ac_status = 0; }; then :
3792 for ac_file in conftest.o conftest.obj conftest.*; do
3793 test -f "$ac_file" || continue;
3795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3801 $as_echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.$ac_ext >&5
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3807 See \
`config.log' for more details" "$LINENO" 5; }
3809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3812 $as_echo "$ac_cv_objext" >&6; }
3813 OBJEXT=$ac_cv_objext
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3816 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3817 if ${ac_cv_c_compiler_gnu+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3834 if ac_fn_c_try_compile "$LINENO"; then :
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3844 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3845 if test $ac_compiler_gnu = yes; then
3850 ac_test_CFLAGS=${CFLAGS+set}
3851 ac_save_CFLAGS=$CFLAGS
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3853 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3854 if ${ac_cv_prog_cc_g+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_save_c_werror_flag=$ac_c_werror_flag
3858 ac_c_werror_flag=yes
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3872 if ac_fn_c_try_compile "$LINENO"; then :
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_c_try_compile "$LINENO"; then :
3890 ac_c_werror_flag=$ac_save_c_werror_flag
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 ac_c_werror_flag=$ac_save_c_werror_flag
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3914 $as_echo "$ac_cv_prog_cc_g" >&6; }
3915 if test "$ac_test_CFLAGS" = set; then
3916 CFLAGS=$ac_save_CFLAGS
3917 elif test $ac_cv_prog_cc_g = yes; then
3918 if test "$GCC" = yes; then
3924 if test "$GCC" = yes; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3932 if ${ac_cv_prog_cc_c89+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 ac_cv_prog_cc_c89=no
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3943 struct buf { int x; };
3944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3945 static char *e (p, i)
3951 static char *f (char * (*g) (char **, int), char **p, ...)
3956 s = g (p, va_arg (v,int));
3961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3962 function prototypes and stuff, but not '\xHH' hex character constants.
3963 These don't provoke an error unfortunately, instead are silently treated
3964 as 'x'. The following induces an error, until -std is added to get
3965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3966 array size at least. It's necessary to write '\x00'==0 to get something
3967 that's true only with -std. */
3968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3971 inside strings and character constants. */
3973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3975 int test (int i, double x);
3976 struct s1 {int (*f) (int a);};
3977 struct s2 {int (*f) (double a);};
3978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3989 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3992 CC="$ac_save_CC $ac_arg"
3993 if ac_fn_c_try_compile "$LINENO"; then :
3994 ac_cv_prog_cc_c89=$ac_arg
3996 rm -f core conftest.err conftest.$ac_objext
3997 test "x$ac_cv_prog_cc_c89" != "xno" && break
3999 rm -f conftest.$ac_ext
4004 case "x$ac_cv_prog_cc_c89" in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4007 $as_echo "none needed" >&6; } ;;
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4010 $as_echo "unsupported" >&6; } ;;
4012 CC="$CC $ac_cv_prog_cc_c89"
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4014 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4016 if test "x$ac_cv_prog_cc_c89" != xno; then :
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4032 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4033 if ${am_cv_prog_cc_c_o+:} false; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4047 # Make sure it works both with $CC and with simple cc.
4048 # Following AC_PROG_CC_C_O, we do the test twice because some
4049 # compilers refuse to overwrite an existing .o file with -o,
4050 # though they will create one.
4051 am_cv_prog_cc_c_o=yes
4053 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4054 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } \
4058 && test -f conftest2.$ac_objext; then
4061 am_cv_prog_cc_c_o=no
4065 rm -f core conftest*
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4069 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4070 if test "$am_cv_prog_cc_c_o" != yes; then
4071 # Losing compiler, so override with the script.
4072 # FIXME: It is wrong to rewrite CC.
4073 # But if we don't then we get into trouble of one sort or another.
4074 # A longer-term fix would be to have automake use am__CC in this case,
4075 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4076 CC="$am_aux_dir/compile $CC"
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 depcc="$CC" am_compiler_list=
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4088 $as_echo_n "checking dependency style of $depcc... " >&6; }
4089 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4093 # We make a subdir and do the tests there. Otherwise we can end up
4094 # making bogus files that we don't know about and never remove. For
4095 # instance it was reported that on HP-UX the gcc test will end up
4096 # making a dummy file named 'D' -- because '-MD' means "put the output
4100 # Copy depcomp to subdir because otherwise we won't find it if we're
4101 # using a relative directory.
4102 cp "$am_depcomp" conftest.dir
4104 # We will build objects and dependencies in a subdirectory because
4105 # it helps to detect inapplicable dependency modes. For instance
4106 # both Tru64's cc and ICC support -MD to output dependencies as a
4107 # side effect of compilation, but ICC will put the dependencies in
4108 # the current directory while Tru64 will put them in the object
4112 am_cv_CC_dependencies_compiler_type=none
4113 if test "$am_compiler_list" = ""; then
4114 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4117 case " $depcc " in #(
4118 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4121 for depmode in $am_compiler_list; do
4122 # Setup a source with many dependencies, because some compilers
4123 # like to wrap large dependency lists on column 80 (with \), and
4124 # we should not choose a depcomp mode which is confused by this.
4126 # We need to recreate these files for each test, as the compiler may
4127 # overwrite some of them when testing with obscure command lines.
4128 # This happens at least with the AIX C compiler.
4130 for i in 1 2 3 4 5 6; do
4131 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4132 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4133 # Solaris 10 /bin/sh.
4134 echo '/* dummy */' > sub/conftst$i.h
4136 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4138 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4139 # mode. It turns out that the SunPro C++ compiler does not properly
4140 # handle '-M -o', and we need to detect this. Also, some Intel
4141 # versions had trouble with output in subdirs.
4142 am__obj=sub/conftest.${OBJEXT-o}
4143 am__minus_obj="-o $am__obj"
4146 # This depmode causes a compiler race in universal mode.
4147 test "$am__universal" = false || continue
4150 # After this tag, mechanisms are not by side-effect, so they'll
4151 # only be used when explicitly requested.
4152 if test "x$enable_dependency_tracking" = xyes; then
4158 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4159 # This compiler won't grok '-c -o', but also, the minuso test has
4160 # not run yet. These depmodes are late enough in the game, and
4161 # so weak that their functioning should not be impacted.
4162 am__obj=conftest.${OBJEXT-o}
4167 if depmode=$depmode \
4168 source=sub/conftest.c object=$am__obj \
4169 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4170 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4171 >/dev/null 2>conftest.err &&
4172 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4173 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4174 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4175 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4176 # icc doesn't choke on unknown options, it will just issue warnings
4177 # or remarks (even with -Werror). So we grep stderr for any message
4178 # that says an option was ignored or not supported.
4179 # When given -MP, icc 7.0 and 7.1 complain thusly:
4180 # icc: Command line warning: ignoring option '-M'; no argument required
4181 # The diagnosis changed in icc 8.0:
4182 # icc: Command line remark: option '-MP' not supported
4183 if (grep 'ignoring option' conftest.err ||
4184 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4185 am_cv_CC_dependencies_compiler_type=$depmode
4194 am_cv_CC_dependencies_compiler_type=none
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4199 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4200 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4203 test "x$enable_dependency_tracking" != xno \
4204 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4206 am__fastdepCC_FALSE='#'
4208 am__fastdepCC_TRUE='#'
4209 am__fastdepCC_FALSE=
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4220 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4221 # On Suns, sometimes $CPP names a directory.
4222 if test -n "$CPP" && test -d "$CPP"; then
4225 if test -z "$CPP"; then
4226 if ${ac_cv_prog_CPP+:} false; then :
4227 $as_echo_n "(cached) " >&6
4229 # Double quotes because CPP needs to be expanded
4230 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4233 for ac_c_preproc_warn_flag in '' yes
4235 # Use a header file that comes with gcc, so configuring glibc
4236 # with a fresh cross-compiler works.
4237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4238 # <limits.h> exists even on freestanding compilers.
4239 # On the NeXT, cc -E runs the code through the compiler's parser,
4240 # not just through cpp. "Syntax error" is here to catch this case.
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4244 # include <limits.h>
4246 # include <assert.h>
4250 if ac_fn_c_try_cpp "$LINENO"; then :
4253 # Broken: fails on valid input.
4256 rm -f conftest.err conftest.i conftest.$ac_ext
4258 # OK, works on sane cases. Now check whether nonexistent headers
4259 # can be detected and how.
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4262 #include <ac_nonexistent.h>
4264 if ac_fn_c_try_cpp "$LINENO"; then :
4265 # Broken: success on invalid input.
4268 # Passes both tests.
4272 rm -f conftest.err conftest.i conftest.$ac_ext
4275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4276 rm -f conftest.i conftest.err conftest.
$ac_ext
4277 if $ac_preproc_ok; then :
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4290 $as_echo "$CPP" >&6; }
4292 for ac_c_preproc_warn_flag
in '' yes
4294 # Use a header file that comes with gcc, so configuring glibc
4295 # with a fresh cross-compiler works.
4296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4297 # <limits.h> exists even on freestanding compilers.
4298 # On the NeXT, cc -E runs the code through the compiler's parser,
4299 # not just through cpp. "Syntax error" is here to catch this case.
4300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4303 # include <limits.h>
4305 # include <assert.h>
4309 if ac_fn_c_try_cpp
"$LINENO"; then :
4312 # Broken: fails on valid input.
4315 rm -f conftest.err conftest.i conftest.
$ac_ext
4317 # OK, works on sane cases. Now check whether nonexistent headers
4318 # can be detected and how.
4319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 #include <ac_nonexistent.h>
4323 if ac_fn_c_try_cpp
"$LINENO"; then :
4324 # Broken: success on invalid input.
4327 # Passes both tests.
4331 rm -f conftest.err conftest.i conftest.
$ac_ext
4334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4335 rm -f conftest.i conftest.err conftest.
$ac_ext
4336 if $ac_preproc_ok; then :
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4342 See \`config.log' for more details" "$LINENO" 5; }
4346 ac_cpp
='$CPP $CPPFLAGS'
4347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4353 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4354 if ${ac_cv_path_GREP+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -z "$GREP"; then
4358 ac_path_GREP_found
=false
4359 # Loop through the user's path and test for each of PROGNAME-LIST
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4361 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_prog
in grep ggrep
; do
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4368 as_fn_executable_p
"$ac_path_GREP" ||
continue
4369 # Check for GNU ac_path_GREP and select it if it is found.
4370 # Check for GNU $ac_path_GREP
4371 case `"$ac_path_GREP" --version 2>&1` in
4373 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4376 $as_echo_n 0123456789 >"conftest.in"
4379 cat "conftest.in" "conftest.in" >"conftest.tmp"
4380 mv "conftest.tmp" "conftest.in"
4381 cp "conftest.in" "conftest.nl"
4382 $as_echo 'GREP' >> "conftest.nl"
4383 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4384 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4385 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4386 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4387 # Best one so far, save it but keep looking for a better one
4388 ac_cv_path_GREP
="$ac_path_GREP"
4389 ac_path_GREP_max
=$ac_count
4391 # 10*(2^10) chars as input seems more than enough
4392 test $ac_count -gt 10 && break
4394 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4397 $ac_path_GREP_found && break 3
4402 if test -z "$ac_cv_path_GREP"; then
4403 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4406 ac_cv_path_GREP
=$GREP
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4411 $as_echo "$ac_cv_path_GREP" >&6; }
4412 GREP
="$ac_cv_path_GREP"
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4416 $as_echo_n "checking for egrep... " >&6; }
4417 if ${ac_cv_path_EGREP+:} false
; then :
4418 $as_echo_n "(cached) " >&6
4420 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4421 then ac_cv_path_EGREP
="$GREP -E"
4423 if test -z "$EGREP"; then
4424 ac_path_EGREP_found
=false
4425 # Loop through the user's path and test for each of PROGNAME-LIST
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_prog
in egrep; do
4432 for ac_exec_ext
in '' $ac_executable_extensions; do
4433 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4434 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4435 # Check for GNU ac_path_EGREP and select it if it is found.
4436 # Check for GNU $ac_path_EGREP
4437 case `"$ac_path_EGREP" --version 2>&1` in
4439 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4442 $as_echo_n 0123456789 >"conftest.in"
4445 cat "conftest.in" "conftest.in" >"conftest.tmp"
4446 mv "conftest.tmp" "conftest.in"
4447 cp "conftest.in" "conftest.nl"
4448 $as_echo 'EGREP' >> "conftest.nl"
4449 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4450 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4451 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4452 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4453 # Best one so far, save it but keep looking for a better one
4454 ac_cv_path_EGREP
="$ac_path_EGREP"
4455 ac_path_EGREP_max
=$ac_count
4457 # 10*(2^10) chars as input seems more than enough
4458 test $ac_count -gt 10 && break
4460 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4463 $ac_path_EGREP_found && break 3
4468 if test -z "$ac_cv_path_EGREP"; then
4469 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4472 ac_cv_path_EGREP
=$EGREP
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4478 $as_echo "$ac_cv_path_EGREP" >&6; }
4479 EGREP
="$ac_cv_path_EGREP"
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4483 $as_echo_n "checking for ANSI C header files... " >&6; }
4484 if ${ac_cv_header_stdc+:} false
; then :
4485 $as_echo_n "(cached) " >&6
4487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4502 if ac_fn_c_try_compile
"$LINENO"; then :
4503 ac_cv_header_stdc
=yes
4505 ac_cv_header_stdc
=no
4507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4509 if test $ac_cv_header_stdc = yes; then
4510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517 $EGREP "memchr" >/dev
/null
2>&1; then :
4520 ac_cv_header_stdc
=no
4526 if test $ac_cv_header_stdc = yes; then
4527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4534 $EGREP "free" >/dev
/null
2>&1; then :
4537 ac_cv_header_stdc
=no
4543 if test $ac_cv_header_stdc = yes; then
4544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4545 if test "$cross_compiling" = yes; then :
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 #if ((' ' & 0x0FF) == 0x020)
4553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4556 # define ISLOWER(c) \
4557 (('a' <= (c) && (c) <= 'i') \
4558 || ('j' <= (c) && (c) <= 'r') \
4559 || ('s' <= (c) && (c) <= 'z'))
4560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4568 for (i = 0; i < 256; i++)
4569 if (XOR (islower (i), ISLOWER (i))
4570 || toupper (i) != TOUPPER (i))
4575 if ac_fn_c_try_run
"$LINENO"; then :
4578 ac_cv_header_stdc
=no
4580 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4581 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4587 $as_echo "$ac_cv_header_stdc" >&6; }
4588 if test $ac_cv_header_stdc = yes; then
4590 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4595 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4596 inttypes.h stdint.h unistd.h
4598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4599 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4601 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4602 cat >>confdefs.h
<<_ACEOF
4603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4613 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4620 if test "$MINIX" = yes; then
4622 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4625 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4628 $as_echo "#define _MINIX 1" >>confdefs.h
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4634 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4635 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4636 $as_echo_n "(cached) " >&6
4638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4641 # define __EXTENSIONS__ 1
4642 $ac_includes_default
4651 if ac_fn_c_try_compile
"$LINENO"; then :
4652 ac_cv_safe_to_define___extensions__
=yes
4654 ac_cv_safe_to_define___extensions__
=no
4656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4659 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4660 test $ac_cv_safe_to_define___extensions__ = yes &&
4661 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4663 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4665 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4667 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4669 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4673 ac_cpp
='$CPP $CPPFLAGS'
4674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4677 if test -n "$ac_tool_prefix"; then
4678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_CC+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$CC"; then
4686 ac_cv_prog_CC
="$CC" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 if test -n "$CC"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4708 $as_echo "$CC" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_prog_CC"; then
4718 # Extract the first word of "gcc", so it can be a program name with args.
4719 set dummy gcc
; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$ac_ct_CC"; then
4726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_CC
="gcc"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4746 if test -n "$ac_ct_CC"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4748 $as_echo "$ac_ct_CC" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_ct_CC" = x
; then
4757 case $cross_compiling:$ac_tool_warned in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned
=yes ;;
4769 if test -z "$CC"; then
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CC+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$CC"; then
4779 ac_cv_prog_CC
="$CC" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 if test -n "$CC"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4801 $as_echo "$CC" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4810 if test -z "$CC"; then
4811 # Extract the first word of "cc", so it can be a program name with args.
4812 set dummy cc
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_prog_CC+:} false
; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$CC"; then
4819 ac_cv_prog_CC
="$CC" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir
=.
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4830 ac_prog_rejected
=yes
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 if test $ac_prog_rejected = yes; then
4842 # We found a bogon in the path, so make sure we never use it.
4843 set dummy
$ac_cv_prog_CC
4845 if test $# != 0; then
4846 # We chose a different compiler from the bogus one.
4847 # However, it has the same basename, so the bogon will be chosen
4848 # first if we set CC to just the basename; use the full file name.
4850 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4856 if test -n "$CC"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4858 $as_echo "$CC" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$CC"; then
4867 if test -n "$ac_tool_prefix"; then
4868 for ac_prog
in cl.exe
4870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_CC+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$CC"; then
4878 ac_cv_prog_CC
="$CC" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 if test -n "$CC"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4900 $as_echo "$CC" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$CC" && break
4910 if test -z "$CC"; then
4912 for ac_prog
in cl.exe
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy
$ac_prog; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$ac_ct_CC"; then
4922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_CC
="$ac_prog"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4942 if test -n "$ac_ct_CC"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4944 $as_echo "$ac_ct_CC" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$ac_ct_CC" && break
4954 if test "x$ac_ct_CC" = x
; then
4957 case $cross_compiling:$ac_tool_warned in
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4961 ac_tool_warned
=yes ;;
4970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4972 as_fn_error $?
"no acceptable C compiler found in \$PATH
4973 See \`config.log' for more details" "$LINENO" 5; }
4975 # Provide some information about the compiler.
4976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4979 for ac_option
in --version -v -V -qversion; do
4980 { { ac_try
="$ac_compiler $ac_option >&5"
4982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4986 $as_echo "$ac_try_echo"; } >&5
4987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4989 if test -s conftest.err; then
4991 ... rest of stderr output deleted ...
4992 10q' conftest.err >conftest.er1
4993 cat conftest.er1 >&5
4995 rm -f conftest.er1 conftest.err
4996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4997 test $ac_status = 0; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5002 if ${ac_cv_c_compiler_gnu+:} false; then :
5003 $as_echo_n "(cached) " >&6
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5019 if ac_fn_c_try_compile "$LINENO"; then :
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5029 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5030 if test $ac_compiler_gnu = yes; then
5035 ac_test_CFLAGS=${CFLAGS+set}
5036 ac_save_CFLAGS=$CFLAGS
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5038 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5039 if ${ac_cv_prog_cc_g+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 ac_save_c_werror_flag=$ac_c_werror_flag
5043 ac_c_werror_flag=yes
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5057 if ac_fn_c_try_compile "$LINENO"; then :
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5072 if ac_fn_c_try_compile "$LINENO"; then :
5075 ac_c_werror_flag=$ac_save_c_werror_flag
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5088 if ac_fn_c_try_compile "$LINENO"; then :
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 ac_c_werror_flag=$ac_save_c_werror_flag
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5099 $as_echo "$ac_cv_prog_cc_g" >&6; }
5100 if test "$ac_test_CFLAGS" = set; then
5101 CFLAGS=$ac_save_CFLAGS
5102 elif test $ac_cv_prog_cc_g = yes; then
5103 if test "$GCC" = yes; then
5109 if test "$GCC" = yes; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5116 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5117 if ${ac_cv_prog_cc_c89+:} false; then :
5118 $as_echo_n "(cached) " >&6
5120 ac_cv_prog_cc_c89=no
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5127 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5128 struct buf { int x; };
5129 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5130 static char *e (p, i)
5136 static char *f (char * (*g) (char **, int), char **p, ...)
5141 s = g (p, va_arg (v,int));
5146 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5147 function prototypes and stuff, but not '\xHH' hex character constants.
5148 These don't provoke an error unfortunately, instead are silently treated
5149 as 'x'. The following induces an error, until -std is added to get
5150 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5151 array size at least. It's necessary to write '\x00'==0 to get something
5152 that's true only with -std. */
5153 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5155 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5156 inside strings and character constants. */
5158 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5160 int test (int i, double x);
5161 struct s1 {int (*f) (int a);};
5162 struct s2 {int (*f) (double a);};
5163 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5169 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5174 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5175 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5177 CC="$ac_save_CC $ac_arg"
5178 if ac_fn_c_try_compile "$LINENO"; then :
5179 ac_cv_prog_cc_c89=$ac_arg
5181 rm -f core conftest.err conftest.$ac_objext
5182 test "x$ac_cv_prog_cc_c89" != "xno" && break
5184 rm -f conftest.$ac_ext
5189 case "x$ac_cv_prog_cc_c89" in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5192 $as_echo "none needed" >&6; } ;;
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5195 $as_echo "unsupported" >&6; } ;;
5197 CC="$CC $ac_cv_prog_cc_c89"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5199 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5201 if test "x$ac_cv_prog_cc_c89" != xno; then :
5206 ac_cpp='$CPP $CPPFLAGS'
5207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5212 ac_cpp='$CPP $CPPFLAGS'
5213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5217 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5218 if ${am_cv_prog_cc_c_o+:} false; then :
5219 $as_echo_n "(cached) " >&6
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5232 # Make sure it works both with $CC and with simple cc.
5233 # Following AC_PROG_CC_C_O, we do the test twice because some
5234 # compilers refuse to overwrite an existing .o file with -o,
5235 # though they will create one.
5236 am_cv_prog_cc_c_o=yes
5238 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5239 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } \
5243 && test -f conftest2.$ac_objext; then
5246 am_cv_prog_cc_c_o=no
5250 rm -f core conftest*
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5254 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5255 if test "$am_cv_prog_cc_c_o" != yes; then
5256 # Losing compiler, so override with the script.
5257 # FIXME: It is wrong to rewrite CC.
5258 # But if we don't then we get into trouble of one sort or another.
5259 # A longer-term fix would be to have automake use am__CC in this case,
5260 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5261 CC="$am_aux_dir/compile $CC"
5264 ac_cpp='$CPP $CPPFLAGS'
5265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5270 depcc="$CC" am_compiler_list=
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5273 $as_echo_n "checking dependency style of $depcc... " >&6; }
5274 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5278 # We make a subdir and do the tests there. Otherwise we can end up
5279 # making bogus files that we don't know about and never remove. For
5280 # instance it was reported that on HP-UX the gcc test will end up
5281 # making a dummy file named 'D' -- because '-MD' means "put the output
5285 # Copy depcomp to subdir because otherwise we won't find it if we're
5286 # using a relative directory.
5287 cp "$am_depcomp" conftest.dir
5289 # We will build objects and dependencies in a subdirectory because
5290 # it helps to detect inapplicable dependency modes. For instance
5291 # both Tru64's cc and ICC support -MD to output dependencies as a
5292 # side effect of compilation, but ICC will put the dependencies in
5293 # the current directory while Tru64 will put them in the object
5297 am_cv_CC_dependencies_compiler_type=none
5298 if test "$am_compiler_list" = ""; then
5299 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5302 case " $depcc " in #(
5303 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5306 for depmode in $am_compiler_list; do
5307 # Setup a source with many dependencies, because some compilers
5308 # like to wrap large dependency lists on column 80 (with \), and
5309 # we should not choose a depcomp mode which is confused by this.
5311 # We need to recreate these files for each test, as the compiler may
5312 # overwrite some of them when testing with obscure command lines.
5313 # This happens at least with the AIX C compiler.
5315 for i in 1 2 3 4 5 6; do
5316 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5317 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5318 # Solaris 10 /bin/sh.
5319 echo '/* dummy */' > sub/conftst$i.h
5321 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5323 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5324 # mode. It turns out that the SunPro C++ compiler does not properly
5325 # handle '-M -o', and we need to detect this. Also, some Intel
5326 # versions had trouble with output in subdirs.
5327 am__obj=sub/conftest.${OBJEXT-o}
5328 am__minus_obj="-o $am__obj"
5331 # This depmode causes a compiler race in universal mode.
5332 test "$am__universal" = false || continue
5335 # After this tag, mechanisms are not by side-effect, so they'll
5336 # only be used when explicitly requested.
5337 if test "x$enable_dependency_tracking" = xyes; then
5343 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5344 # This compiler won't grok '-c -o', but also, the minuso test has
5345 # not run yet. These depmodes are late enough in the game, and
5346 # so weak that their functioning should not be impacted.
5347 am__obj=conftest.${OBJEXT-o}
5352 if depmode=$depmode \
5353 source=sub/conftest.c object=$am__obj \
5354 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5355 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5356 >/dev/null 2>conftest.err &&
5357 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5358 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5359 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5360 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5361 # icc doesn't choke on unknown options, it will just issue warnings
5362 # or remarks (even with -Werror). So we grep stderr for any message
5363 # that says an option was ignored or not supported.
5364 # When given -MP, icc 7.0 and 7.1 complain thusly:
5365 # icc: Command line warning: ignoring option '-M'; no argument required
5366 # The diagnosis changed in icc 8.0:
5367 # icc: Command line remark: option '-MP' not supported
5368 if (grep 'ignoring option' conftest.err ||
5369 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5370 am_cv_CC_dependencies_compiler_type=$depmode
5379 am_cv_CC_dependencies_compiler_type=none
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5388 test "x$enable_dependency_tracking" != xno \
5389 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5391 am__fastdepCC_FALSE='#'
5393 am__fastdepCC_TRUE='#'
5394 am__fastdepCC_FALSE=
5398 # Check whether --enable-largefile was given.
5399 if test "${enable_largefile+set}" = set; then :
5400 enableval=$enable_largefile;
5403 if test "$enable_largefile" != no; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5406 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5407 if ${ac_cv_sys_largefile_CC+:} false; then :
5408 $as_echo_n "(cached) " >&6
5410 ac_cv_sys_largefile_CC=no
5411 if test "$GCC" != yes; then
5414 # IRIX 6.2 and later do not support large files by default,
5415 # so use the C compiler's -n32 option if that helps.
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5418 #include <sys/types.h>
5419 /* Check that off_t can represent 2**63 - 1 correctly.
5420 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5421 since some C++ compilers masquerading as C compilers
5422 incorrectly reject 9223372036854775807. */
5423 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5424 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5425 && LARGE_OFF_T % 2147483647 == 1)
5435 if ac_fn_c_try_compile "$LINENO"; then :
5438 rm -f core conftest.err conftest.$ac_objext
5440 if ac_fn_c_try_compile "$LINENO"; then :
5441 ac_cv_sys_largefile_CC=' -n32'; break
5443 rm -f core conftest.err conftest.$ac_objext
5447 rm -f conftest.$ac_ext
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5451 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5452 if test "$ac_cv_sys_largefile_CC" != no; then
5453 CC=$CC$ac_cv_sys_largefile_CC
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5457 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5458 if ${ac_cv_sys_file_offset_bits+:} false; then :
5459 $as_echo_n "(cached) " >&6
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5464 #include <sys/types.h>
5465 /* Check that off_t can represent 2**63 - 1 correctly.
5466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5467 since some C++ compilers masquerading as C compilers
5468 incorrectly reject 9223372036854775807. */
5469 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5471 && LARGE_OFF_T % 2147483647 == 1)
5481 if ac_fn_c_try_compile "$LINENO"; then :
5482 ac_cv_sys_file_offset_bits=no; break
5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5487 #define _FILE_OFFSET_BITS 64
5488 #include <sys/types.h>
5489 /* Check that off_t can represent 2**63 - 1 correctly.
5490 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5491 since some C++ compilers masquerading as C compilers
5492 incorrectly reject 9223372036854775807. */
5493 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5495 && LARGE_OFF_T % 2147483647 == 1)
5505 if ac_fn_c_try_compile "$LINENO"; then :
5506 ac_cv_sys_file_offset_bits=64; break
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 ac_cv_sys_file_offset_bits=unknown
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5514 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5515 case $ac_cv_sys_file_offset_bits in #(
5518 cat >>confdefs.h <<_ACEOF
5519 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5524 if test $ac_cv_sys_file_offset_bits = unknown; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5526 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5527 if ${ac_cv_sys_large_files+:} false; then :
5528 $as_echo_n "(cached) " >&6
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5533 #include <sys/types.h>
5534 /* Check that off_t can represent 2**63 - 1 correctly.
5535 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5536 since some C++ compilers masquerading as C compilers
5537 incorrectly reject 9223372036854775807. */
5538 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5539 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5540 && LARGE_OFF_T % 2147483647 == 1)
5550 if ac_fn_c_try_compile "$LINENO"; then :
5551 ac_cv_sys_large_files=no; break
5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 #define _LARGE_FILES 1
5557 #include <sys/types.h>
5558 /* Check that off_t can represent 2**63 - 1 correctly.
5559 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5560 since some C++ compilers masquerading as C compilers
5561 incorrectly reject 9223372036854775807. */
5562 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5563 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5564 && LARGE_OFF_T % 2147483647 == 1)
5574 if ac_fn_c_try_compile "$LINENO"; then :
5575 ac_cv_sys_large_files=1; break
5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 ac_cv_sys_large_files=unknown
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5583 $as_echo "$ac_cv_sys_large_files" >&6; }
5584 case $ac_cv_sys_large_files in #(
5587 cat >>confdefs.h <<_ACEOF
5588 #define _LARGE_FILES $ac_cv_sys_large_files
5599 ac_cpp='$CPP $CPPFLAGS'
5600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5604 ac_lto_plugin_warn_cflags=
5605 save_CFLAGS="$CFLAGS"
5606 for real_option in -Wall; do
5607 # Do the check with the no- prefix removed since gcc silently
5608 # accepts any -Wno-* option on purpose
5609 case $real_option in
5610 -Wno-*) option=-W`expr x
$real_option : 'x-Wno-\(.*\)'` ;;
5611 *) option=$real_option ;;
5613 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" |
$as_tr_sh`
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5616 $as_echo_n "checking whether $CC supports $option... " >&6; }
5617 if eval \${$as_acx_Woption+:} false; then :
5618 $as_echo_n "(cached) " >&6
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 eval "$as_acx_Woption=yes"
5635 eval "$as_acx_Woption=no"
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 eval ac_res=\$$as_acx_Woption
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5642 $as_echo "$ac_res" >&6; }
5643 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5644 ac_lto_plugin_warn_cflags="$ac_lto_plugin_warn_cflags${ac_lto_plugin_warn_cflags:+ }$real_option"
5647 CFLAGS="$save_CFLAGS"
5649 ac_cpp='$CPP $CPPFLAGS'
5650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5656 # Check whether -static-libgcc is supported.
5657 saved_LDFLAGS="$LDFLAGS"
5658 LDFLAGS="$LDFLAGS -static-libgcc"
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-libgcc" >&5
5660 $as_echo_n "checking for -static-libgcc... " >&6; }
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5666 if ac_fn_c_try_link "$LINENO"; then :
5667 have_static_libgcc=yes
5669 have_static_libgcc=no
5671 rm -f core conftest.err conftest.$ac_objext \
5672 conftest$ac_exeext conftest.$ac_ext
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_static_libgcc" >&5
5674 $as_echo "$have_static_libgcc" >&6; };
5675 LDFLAGS="$saved_LDFLAGS"
5676 # Need -Wc to get it through libtool.
5677 if test "x$have_static_libgcc" = xyes; then
5678 ac_lto_plugin_ldflags="-Wc,-static-libgcc"
5681 # Enable --enable-host-bind-now
5682 # Check whether --enable-host-bind-now was given.
5683 if test "${enable_host_bind_now+set}" = set; then :
5684 enableval=$enable_host_bind_now;
5689 if test x$enable_host_bind_now = xyes; then
5690 ac_lto_plugin_ldflags="$ac_lto_plugin_ldflags -Wl,-z,now"
5695 # Check whether --enable-cet was given.
5696 if test "${enable_cet+set}" = set; then :
5697 enableval=$enable_cet;
5698 case "$enableval" in
5700 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5709 $as_echo_n "checking for CET support... " >&6; }
5712 i[34567]86-*-linux* | x86_64-*-linux*)
5714 cet_save_CFLAGS="$CFLAGS"
5715 CFLAGS="$CFLAGS -fcf-protection"
5716 case "$enable_cet" in
5718 # Check if target supports multi-byte NOPs
5719 # and if compiler and assembler support CET.
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5727 #if !defined(__SSE2__)
5728 #error target does not support multi-byte NOPs
5737 if ac_fn_c_try_compile "$LINENO"; then :
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 # Check if compiler and assembler support CET.
5746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5757 if ac_fn_c_try_compile "$LINENO"; then :
5762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5763 if test $support_cet = "no"; then
5764 if test x$enable_bootstrap != xno \
5765 && test -z "${with_build_subdir}" \
5766 && (test ! -f ../stage_current \
5767 || test `cat ..
/stage_current
` != "stage1"); then
5768 # Require CET support only for the final GCC build.
5769 as_fn_error $? "compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
5771 # Don't enable CET without CET support for non-bootstrap
5772 # build, in stage1 nor for build support.
5778 CFLAGS="$cet_save_CFLAGS"
5786 cet_save_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -fcf-protection=none"
5788 cet_save_LDFLAGS="$LDFLAGS"
5789 LDFLAGS="$LDFLAGS -Wl,-z,ibt,-z,shstk"
5790 if test x$may_have_cet = xyes; then
5791 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5803 if ac_fn_c_try_link "$LINENO"; then :
5808 rm -f core conftest.err conftest.$ac_objext \
5809 conftest$ac_exeext conftest.$ac_ext
5812 if test x$may_have_cet = xyes; then
5813 if test x$cross_compiling = xno; then
5814 if test "$cross_compiling" = yes; then :
5815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5817 as_fn_error $? "cannot run
test program
while cross compiling
5818 See \
`config.log' for more details" "$LINENO" 5; }
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_c_try_run "$LINENO"; then :
5832 have_multi_byte_nop=yes
5834 have_multi_byte_nop=no
5836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5837 conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 if test x$have_multi_byte_nop = xyes; then
5842 if test "$cross_compiling" = yes; then :
5843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5845 as_fn_error $? "cannot run
test program
while cross compiling
5846 See \
`config.log' for more details" "$LINENO" 5; }
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5857 __attribute__ ((noinline, noclone))
5858 xxx (void (*f) (void))
5864 __attribute__ ((noinline, noclone))
5878 if ac_fn_c_try_run "$LINENO"; then :
5883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5884 conftest.$ac_objext conftest.beam conftest.$ac_ext
5888 if test x$enable_cet = xno -a x$have_cet = xyes; then
5889 as_fn_error $? "Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
5893 # Enable CET in cross compiler if possible so that it will run on both
5894 # CET and non-CET hosts.
5897 if test x$enable_cet = xyes; then
5898 CET_HOST_FLAGS="-fcf-protection"
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5900 $as_echo "yes" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5905 CFLAGS="$cet_save_CFLAGS"
5906 LDFLAGS="$cet_save_LDFLAGS"
5910 if test x"$host_subdir" = x.; then
5911 gcc_build_dir=../gcc
5913 gcc_build_dir=../../$host_subdir/gcc
5917 # Used for constructing correct paths for offload compilers.
5919 real_target_noncanonical=${target_noncanonical}
5920 if test x"$enable_as_accelerator_for" != x; then
5921 accel_dir_suffix=/accel/${target_noncanonical}
5922 real_target_noncanonical=${enable_as_accelerator_for}
5927 # Determine what GCC version number to use in filesystem paths.
5929 get_gcc_base_ver="cat"
5931 # Check whether --with-gcc-major-version-only was given.
5932 if test "${with_gcc_major_version_only+set}" = set; then :
5933 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
5934 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5943 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5944 lto_plugin_use_symver=no
5945 if test x$gcc_no_link = xyes; then
5946 # If we cannot link, we cannot build shared libraries, so do not use
5947 # symbol versioning.
5948 lto_plugin_use_symver=no
5950 save_LDFLAGS="$LDFLAGS"
5951 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5952 cat > conftest.map <<EOF
5954 global: *foo*; bar; local: *;
5957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5968 if ac_fn_c_try_link "$LINENO"; then :
5969 lto_plugin_use_symver=gnu
5971 lto_plugin_use_symver=no
5973 rm -f core conftest.err conftest.$ac_objext \
5974 conftest$ac_exeext conftest.$ac_ext
5975 if test x$lto_plugin_use_symver = xno; then
5976 case "$target_os" in
5978 LDFLAGS="$save_LDFLAGS"
5979 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5980 # Sun ld cannot handle wildcards and treats all entries as undefined.
5981 cat > conftest.map <<EOF
5983 global: foo; local: *;
5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5987 /* end confdefs.h. */
5997 if ac_fn_c_try_link "$LINENO"; then :
5998 lto_plugin_use_symver=sun
6000 lto_plugin_use_symver=no
6002 rm -f core conftest.err conftest.$ac_objext \
6003 conftest$ac_exeext conftest.$ac_ext
6007 LDFLAGS="$save_LDFLAGS"
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lto_plugin_use_symver" >&5
6010 $as_echo "$lto_plugin_use_symver" >&6; }
6011 if test "x$lto_plugin_use_symver" != xno; then
6012 LTO_PLUGIN_USE_SYMVER_TRUE=
6013 LTO_PLUGIN_USE_SYMVER_FALSE='#'
6015 LTO_PLUGIN_USE_SYMVER_TRUE='#'
6016 LTO_PLUGIN_USE_SYMVER_FALSE=
6019 if test "x$lto_plugin_use_symver" = xgnu; then
6020 LTO_PLUGIN_USE_SYMVER_GNU_TRUE=
6021 LTO_PLUGIN_USE_SYMVER_GNU_FALSE='#'
6023 LTO_PLUGIN_USE_SYMVER_GNU_TRUE='#'
6024 LTO_PLUGIN_USE_SYMVER_GNU_FALSE=
6027 if test "x$lto_plugin_use_symver" = xsun; then
6028 LTO_PLUGIN_USE_SYMVER_SUN_TRUE=
6029 LTO_PLUGIN_USE_SYMVER_SUN_FALSE='#'
6031 LTO_PLUGIN_USE_SYMVER_SUN_TRUE='#'
6032 LTO_PLUGIN_USE_SYMVER_SUN_FALSE=
6036 # Check for thread headers.
6038 ac_lto_plugin_extra_ldflags=
6042 # do not use locking as pthread depends on libatomic
6049 if test x$use_locking = xyes; then
6050 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
6051 if test "x$ac_cv_header_pthread_h" = xyes; then :
6053 $as_echo "#define HAVE_PTHREAD_LOCKING 1" >>confdefs.h
6059 ac_lto_plugin_extra_ldflags="-pthread"
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6067 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6072 macro_version='2.2.7a'
6073 macro_revision='1.3134'
6087 ltmain="$ac_aux_dir/ltmain.sh"
6089 # Backslashify metacharacters that are still active within
6090 # double-quoted strings.
6091 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6093 # Same as above, but do not quote variable references.
6094 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6096 # Sed substitution to delay expansion of an escaped shell variable in a
6097 # double_quote_subst'ed string.
6098 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6100 # Sed substitution to delay expansion of an escaped single quote.
6101 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6103 # Sed substitution to avoid accidental globbing in evaled expressions
6104 no_glob_subst='s/\*/\\\*/g'
6106 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6107 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6111 $as_echo_n "checking how to print
strings...
" >&6; }
6112 # Test print first, because it will be a builtin if present.
6113 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6114 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6116 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6119 # Use this function as a fallback that always works.
6120 func_fallback_echo ()
6122 eval 'cat <<_LTECHO_EOF
6126 ECHO='func_fallback_echo'
6129 # func_echo_all arg...
6130 # Invoke $ECHO with all args, space-separated.
6137 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6138 $as_echo "printf" >&6; } ;;
6139 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6140 $as_echo "print
-r" >&6; } ;;
6141 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6142 $as_echo "cat" >&6; } ;;
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6159 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6160 if ${ac_cv_path_SED+:} false; then :
6161 $as_echo_n "(cached
) " >&6
6163 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6164 for ac_i in 1 2 3 4 5 6 7; do
6165 ac_script="$ac_script$as_nl$ac_script"
6167 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6168 { ac_script=; unset ac_script;}
6169 if test -z "$SED"; then
6170 ac_path_SED_found=false
6171 # Loop through the user's path and test for each of PROGNAME-LIST
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 test -z "$as_dir" && as_dir=.
6177 for ac_prog in sed gsed; do
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6180 as_fn_executable_p "$ac_path_SED" || continue
6181 # Check for GNU ac_path_SED and select it if it is found.
6182 # Check for GNU $ac_path_SED
6183 case `"$ac_path_SED" --version 2>&1` in
6185 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6188 $as_echo_n 0123456789 >"conftest.
in"
6191 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6192 mv "conftest.tmp
" "conftest.
in"
6193 cp "conftest.
in" "conftest.
nl"
6194 $as_echo '' >> "conftest.
nl"
6195 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6196 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6197 as_fn_arith $ac_count + 1 && ac_count=$as_val
6198 if test $ac_count -gt ${ac_path_SED_max-0}; then
6199 # Best one so far, save it but keep looking for a better one
6200 ac_cv_path_SED="$ac_path_SED"
6201 ac_path_SED_max=$ac_count
6203 # 10*(2^10) chars as input seems more than enough
6204 test $ac_count -gt 10 && break
6206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6209 $ac_path_SED_found && break 3
6214 if test -z "$ac_cv_path_SED"; then
6215 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6223 $as_echo "$ac_cv_path_SED" >&6; }
6224 SED="$ac_cv_path_SED"
6227 test -z "$SED" && SED=sed
6228 Xsed="$SED -e 1s
/^X
//"
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6241 $as_echo_n "checking
for fgrep...
" >&6; }
6242 if ${ac_cv_path_FGREP+:} false; then :
6243 $as_echo_n "(cached
) " >&6
6245 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6246 then ac_cv_path_FGREP="$GREP -F"
6248 if test -z "$FGREP"; then
6249 ac_path_FGREP_found=false
6250 # Loop through the user's path and test for each of PROGNAME-LIST
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6255 test -z "$as_dir" && as_dir=.
6256 for ac_prog in fgrep; do
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6259 as_fn_executable_p "$ac_path_FGREP" || continue
6260 # Check for GNU ac_path_FGREP and select it if it is found.
6261 # Check for GNU $ac_path_FGREP
6262 case `"$ac_path_FGREP" --version 2>&1` in
6264 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6267 $as_echo_n 0123456789 >"conftest.
in"
6270 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6271 mv "conftest.tmp
" "conftest.
in"
6272 cp "conftest.
in" "conftest.
nl"
6273 $as_echo 'FGREP' >> "conftest.
nl"
6274 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6275 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6276 as_fn_arith $ac_count + 1 && ac_count=$as_val
6277 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6278 # Best one so far, save it but keep looking for a better one
6279 ac_cv_path_FGREP="$ac_path_FGREP"
6280 ac_path_FGREP_max=$ac_count
6282 # 10*(2^10) chars as input seems more than enough
6283 test $ac_count -gt 10 && break
6285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6288 $ac_path_FGREP_found && break 3
6293 if test -z "$ac_cv_path_FGREP"; then
6294 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6297 ac_cv_path_FGREP=$FGREP
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6303 $as_echo "$ac_cv_path_FGREP" >&6; }
6304 FGREP="$ac_cv_path_FGREP"
6307 test -z "$GREP" && GREP=grep
6327 # Check whether --with-gnu-ld was given.
6328 if test "${with_gnu_ld+set}" = set; then :
6329 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6335 if test "$GCC" = yes; then
6336 # Check if gcc -print-prog-name=ld gives a path.
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6338 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6341 # gcc leaves a trailing carriage return which upsets mingw
6342 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6344 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6347 # Accept absolute paths.
6349 re_direlt='/[^/][^/]*/\.\./'
6350 # Canonicalize the pathname of ld
6351 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6352 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6353 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6355 test -z "$LD" && LD="$ac_prog"
6358 # If it fails, then pretend we aren't using GCC.
6362 # If it is relative, then search for the first ld in PATH.
6366 elif test "$with_gnu_ld" = yes; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6368 $as_echo_n "checking
for GNU ld...
" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6371 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6373 if ${lt_cv_path_LD+:} false; then :
6374 $as_echo_n "(cached
) " >&6
6376 if test -z "$LD"; then
6377 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6378 for ac_dir in $PATH; do
6380 test -z "$ac_dir" && ac_dir=.
6381 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6382 lt_cv_path_LD="$ac_dir/$ac_prog"
6383 # Check to see if the program is GNU ld. I'd rather use --version,
6384 # but apparently some variants of GNU ld only accept -v.
6385 # Break only if it was the GNU/non-GNU ld that we prefer.
6386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6387 *GNU* | *'with BFD'*)
6388 test "$with_gnu_ld" != no && break
6391 test "$with_gnu_ld" != yes && break
6398 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6403 if test -n "$LD"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6405 $as_echo "$LD" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6408 $as_echo "no
" >&6; }
6410 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6412 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6413 if ${lt_cv_prog_gnu_ld+:} false; then :
6414 $as_echo_n "(cached
) " >&6
6416 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6417 case `$LD -v 2>&1 </dev/null` in
6418 *GNU* | *'with BFD'*)
6419 lt_cv_prog_gnu_ld=yes
6422 lt_cv_prog_gnu_ld=no
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6427 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6428 with_gnu_ld=$lt_cv_prog_gnu_ld
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6439 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6440 if ${lt_cv_path_NM+:} false; then :
6441 $as_echo_n "(cached
) " >&6
6443 if test -n "$NM"; then
6444 # Let the user override the nm to test.
6445 lt_nm_to_check="$NM"
6447 lt_nm_to_check="${ac_tool_prefix}nm
"
6448 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6449 lt_nm_to_check="$lt_nm_to_check nm
"
6452 for lt_tmp_nm in "$lt_nm_to_check"; do
6453 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6454 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6456 test -z "$ac_dir" && ac_dir=.
6457 # Strip out any user-provided options from the nm to test twice,
6458 # the first time to test to see if nm (rather than its options) has
6459 # an explicit path, the second time to yield a file which can be
6461 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6462 case "$tmp_nm_path" in
6463 */*|*\\*) tmp_nm="$lt_tmp_nm";;
6464 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
6466 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6467 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
6468 # Check to see if the nm accepts a BSD-compat flag.
6469 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6470 # nm: unknown option "B
" ignored
6471 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6472 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
6476 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6478 lt_cv_path_NM="$tmp_nm -p"
6482 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6483 continue # so that we can try to find one that supports BSD flags
6492 : ${lt_cv_path_NM=no}
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6495 $as_echo "$lt_cv_path_NM" >&6; }
6496 if test "$lt_cv_path_NM" != "no
"; then
6499 # Didn't find any BSD compatible name lister, look for dumpbin.
6500 if test -n "$DUMPBIN"; then :
6501 # Let the user override the test.
6503 if test -n "$ac_tool_prefix"; then
6504 for ac_prog in dumpbin "link
-dump"
6506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6509 $as_echo_n "checking
for $ac_word...
" >&6; }
6510 if ${ac_cv_prog_DUMPBIN+:} false; then :
6511 $as_echo_n "(cached
) " >&6
6513 if test -n "$DUMPBIN"; then
6514 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6533 DUMPBIN=$ac_cv_prog_DUMPBIN
6534 if test -n "$DUMPBIN"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6536 $as_echo "$DUMPBIN" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6539 $as_echo "no
" >&6; }
6543 test -n "$DUMPBIN" && break
6546 if test -z "$DUMPBIN"; then
6547 ac_ct_DUMPBIN=$DUMPBIN
6548 for ac_prog in dumpbin "link
-dump"
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6553 $as_echo_n "checking
for $ac_word...
" >&6; }
6554 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6555 $as_echo_n "(cached
) " >&6
6557 if test -n "$ac_ct_DUMPBIN"; then
6558 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6577 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6578 if test -n "$ac_ct_DUMPBIN"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6580 $as_echo "$ac_ct_DUMPBIN" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6583 $as_echo "no
" >&6; }
6587 test -n "$ac_ct_DUMPBIN" && break
6590 if test "x
$ac_ct_DUMPBIN" = x; then
6593 case $cross_compiling:$ac_tool_warned in
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6596 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6597 ac_tool_warned=yes ;;
6599 DUMPBIN=$ac_ct_DUMPBIN
6603 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6605 DUMPBIN="$DUMPBIN -symbols"
6613 if test "$DUMPBIN" != ":"; then
6617 test -z "$NM" && NM=nm
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6625 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6626 if ${lt_cv_nm_interface+:} false; then :
6627 $as_echo_n "(cached
) " >&6
6629 lt_cv_nm_interface="BSD nm
"
6630 echo "int some_variable
= 0;" > conftest.$ac_ext
6631 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6632 (eval "$ac_compile" 2>conftest.err)
6633 cat conftest.err >&5
6634 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6635 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6636 cat conftest.err >&5
6637 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6638 cat conftest.out >&5
6639 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6640 lt_cv_nm_interface="MS dumpbin
"
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6645 $as_echo "$lt_cv_nm_interface" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6648 $as_echo_n "checking whether
ln -s works...
" >&6; }
6650 if test "$LN_S" = "ln -s"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6652 $as_echo "yes" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6655 $as_echo "no
, using
$LN_S" >&6; }
6658 # find the maximum length of command line arguments
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6660 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6661 if ${lt_cv_sys_max_cmd_len+:} false; then :
6662 $as_echo_n "(cached
) " >&6
6669 # On DJGPP, this test can blow up pretty badly due to problems in libc
6670 # (any single argument exceeding 2000 bytes causes a buffer overrun
6671 # during glob expansion). Even if it were fixed, the result of this
6672 # check would be larger than it should be.
6673 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6677 # Under GNU Hurd, this test is not required because there is
6678 # no limit to the length of command line arguments.
6679 # Libtool will interpret -1 as no limit whatsoever
6680 lt_cv_sys_max_cmd_len=-1;
6683 cygwin* | mingw* | cegcc*)
6684 # On Win9x/ME, this test blows up -- it succeeds, but takes
6685 # about 5 minutes as the teststring grows exponentially.
6686 # Worse, since 9x/ME are not pre-emptively multitasking,
6687 # you end up with a "frozen
" computer, even though with patience
6688 # the test eventually succeeds (with a max line length of 256k).
6689 # Instead, let's just punt: use the minimum linelength reported by
6690 # all of the supported platforms: 8192 (on NT/2K/XP).
6691 lt_cv_sys_max_cmd_len=8192;
6695 # On MiNT this can take a long time and run out of memory.
6696 lt_cv_sys_max_cmd_len=8192;
6700 # On AmigaOS with pdksh, this test takes hours, literally.
6701 # So we just punt and use a minimum line length of 8192.
6702 lt_cv_sys_max_cmd_len=8192;
6705 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6706 # This has been around since 386BSD, at least. Likely further.
6707 if test -x /sbin/sysctl; then
6708 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6709 elif test -x /usr/sbin/sysctl; then
6710 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6712 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6714 # And add a safety zone
6715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6720 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6721 lt_cv_sys_max_cmd_len=196608
6725 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6726 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6727 # nice to cause kernel panics so lets avoid the loop below.
6728 # First set a reasonable default.
6729 lt_cv_sys_max_cmd_len=16384
6731 if test -x /sbin/sysconfig; then
6732 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6733 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6738 lt_cv_sys_max_cmd_len=102400
6740 sysv5* | sco5v6* | sysv4.2uw2*)
6741 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6742 if test -n "$kargmax"; then
6743 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6745 lt_cv_sys_max_cmd_len=32768
6749 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6750 if test -n "$lt_cv_sys_max_cmd_len"; then
6751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6754 # Make teststring a little bigger before we do anything with it.
6755 # a 1K string should be a reasonable start.
6756 for i in 1 2 3 4 5 6 7 8 ; do
6757 teststring=$teststring$teststring
6759 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6760 # If test is not a shell built-in, we'll probably end up computing a
6761 # maximum length that is only half of the actual maximum length, but
6763 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6764 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6765 test $i != 17 # 1/2 MB should be enough
6768 teststring=$teststring$teststring
6770 # Only check the string length outside the loop.
6771 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6773 # Add a significant safety factor because C++ compilers can tack on
6774 # massive amounts of additional arguments before passing them to the
6775 # linker. It appears as though 1/2 is a usable value.
6776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6783 if test -n $lt_cv_sys_max_cmd_len ; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6785 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6788 $as_echo "none
" >&6; }
6790 max_cmd_len=$lt_cv_sys_max_cmd_len
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6802 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6803 # Try some XSI features
6806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6808 && eval 'test $(( 1 + 1 )) -eq 2 \
6809 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6812 $as_echo "$xsi_shell" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6816 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6818 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6820 && lt_shell_append
=yes
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6822 $as_echo "$lt_shell_append" >&6; }
6825 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6835 # test EBCDIC or ASCII
6836 case `echo X|tr X '\101'` in
6837 A
) # ASCII based system
6838 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6839 lt_SP2NL
='tr \040 \012'
6840 lt_NL2SP
='tr \015\012 \040\040'
6842 *) # EBCDIC based system
6843 lt_SP2NL
='tr \100 \n'
6844 lt_NL2SP
='tr \r\n \100\100'
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6857 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6858 if ${lt_cv_ld_reload_flag+:} false
; then :
6859 $as_echo_n "(cached) " >&6
6861 lt_cv_ld_reload_flag
='-r'
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6864 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6865 reload_flag
=$lt_cv_ld_reload_flag
6866 case $reload_flag in
6868 *) reload_flag
=" $reload_flag" ;;
6870 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6873 if test "$GCC" = yes; then
6874 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6876 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6891 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6893 $as_echo_n "checking for $ac_word... " >&6; }
6894 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6895 $as_echo_n "(cached) " >&6
6897 if test -n "$OBJDUMP"; then
6898 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir
=.
6905 for ac_exec_ext
in '' $ac_executable_extensions; do
6906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6907 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6917 OBJDUMP
=$ac_cv_prog_OBJDUMP
6918 if test -n "$OBJDUMP"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6920 $as_echo "$OBJDUMP" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 $as_echo "no" >&6; }
6928 if test -z "$ac_cv_prog_OBJDUMP"; then
6929 ac_ct_OBJDUMP
=$OBJDUMP
6930 # Extract the first word of "objdump", so it can be a program name with args.
6931 set dummy objdump
; ac_word
=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6935 $as_echo_n "(cached) " >&6
6937 if test -n "$ac_ct_OBJDUMP"; then
6938 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6947 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6958 if test -n "$ac_ct_OBJDUMP"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6960 $as_echo "$ac_ct_OBJDUMP" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6966 if test "x$ac_ct_OBJDUMP" = x
; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6973 ac_tool_warned
=yes ;;
6975 OBJDUMP
=$ac_ct_OBJDUMP
6978 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6981 test -z "$OBJDUMP" && OBJDUMP
=objdump
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6992 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6993 if ${lt_cv_deplibs_check_method+:} false
; then :
6994 $as_echo_n "(cached) " >&6
6996 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6997 lt_cv_file_magic_test_file
=
6998 lt_cv_deplibs_check_method
='unknown'
6999 # Need to set the preceding variable on all platforms that support
7000 # interlibrary dependencies.
7001 # 'none' -- dependencies not supported.
7002 # `unknown' -- same as none, but documents that we really don't know.
7003 # 'pass_all' -- all dependencies passed with no checks.
7004 # 'test_compile' -- check by making test program.
7005 # 'file_magic [[regex]]' -- check by looking for files in library path
7006 # which responds to the $file_magic_cmd with a given extended regex.
7007 # If you have `file' or equivalent on your system and you're not sure
7008 # whether `pass_all' will *always* work, you probably want this one.
7012 lt_cv_deplibs_check_method
=pass_all
7016 lt_cv_deplibs_check_method
=pass_all
7020 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7021 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7022 lt_cv_file_magic_test_file
=/shlib
/libc.so
7026 # func_win32_libid is a shell function defined in ltmain.sh
7027 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7028 lt_cv_file_magic_cmd
='func_win32_libid'
7032 # Base MSYS/MinGW do not provide the 'file' command needed by
7033 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7034 # unless we find 'file', for example because we are cross-compiling.
7035 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7036 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7037 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7038 lt_cv_file_magic_cmd
='func_win32_libid'
7040 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7041 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7046 # use the weaker test based on 'objdump'. See mingw*.
7047 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7048 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7051 darwin
* | rhapsody
*)
7052 lt_cv_deplibs_check_method
=pass_all
7055 freebsd
* | dragonfly
*)
7056 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7059 # Not sure whether the presence of OpenBSD here was a mistake.
7060 # Let's accept both of them until this is cleared up.
7061 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7062 lt_cv_file_magic_cmd
=/usr
/bin
/file
7063 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7067 lt_cv_deplibs_check_method
=pass_all
7072 lt_cv_deplibs_check_method
=pass_all
7076 lt_cv_deplibs_check_method
=pass_all
7079 hpux10.20
* | hpux11
*)
7080 lt_cv_file_magic_cmd
=/usr
/bin
/file
7083 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7084 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7087 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]'
7088 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7091 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7092 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7098 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7099 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7102 irix5
* | irix6
* | nonstopux
*)
7104 *-32|
*"-32 ") libmagic
=32-bit;;
7105 *-n32|
*"-n32 ") libmagic
=N32
;;
7106 *-64|
*"-64 ") libmagic
=64-bit;;
7107 *) libmagic
=never-match
;;
7109 lt_cv_deplibs_check_method
=pass_all
7112 # This must be Linux ELF.
7113 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7114 lt_cv_deplibs_check_method
=pass_all
7118 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7119 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7121 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7126 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7127 lt_cv_file_magic_cmd
=/usr
/bin
/file
7128 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7132 lt_cv_deplibs_check_method
=pass_all
7136 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7137 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7139 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7143 osf3
* | osf4
* | osf5
*)
7144 lt_cv_deplibs_check_method
=pass_all
7148 lt_cv_deplibs_check_method
=pass_all
7152 lt_cv_deplibs_check_method
=pass_all
7155 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7156 lt_cv_deplibs_check_method
=pass_all
7160 case $host_vendor in
7162 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]'
7163 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7166 lt_cv_deplibs_check_method
=pass_all
7169 lt_cv_file_magic_cmd
='/bin/file'
7170 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7173 lt_cv_file_magic_cmd
='/bin/file'
7174 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7175 lt_cv_file_magic_test_file
=/lib
/libc.so
7178 lt_cv_deplibs_check_method
=pass_all
7181 lt_cv_deplibs_check_method
=pass_all
7187 lt_cv_deplibs_check_method
=pass_all
7190 # Assume VxWorks cross toolchains are built on Linux, possibly
7191 # as canadian for Windows hosts.
7192 lt_cv_deplibs_check_method
=pass_all
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7198 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7199 file_magic_cmd
=$lt_cv_file_magic_cmd
7200 deplibs_check_method
=$lt_cv_deplibs_check_method
7201 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7215 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7216 for plugin
in $plugin_names; do
7217 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
7218 if test x
$plugin_so = x
$plugin; then
7219 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
7221 if test x
$plugin_so != x
$plugin; then
7222 plugin_option
="--plugin $plugin_so"
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7229 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_AR+:} false
; then :
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$AR"; then
7236 ac_cv_prog_AR
="$AR" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 if test -n "$AR"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7258 $as_echo "$AR" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7266 if test -z "$ac_cv_prog_AR"; then
7268 # Extract the first word of "ar", so it can be a program name with args.
7269 set dummy
ar; ac_word
=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7273 $as_echo_n "(cached) " >&6
7275 if test -n "$ac_ct_AR"; then
7276 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir
=.
7283 for ac_exec_ext
in '' $ac_executable_extensions; do
7284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_ac_ct_AR
="ar"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7296 if test -n "$ac_ct_AR"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7298 $as_echo "$ac_ct_AR" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7304 if test "x$ac_ct_AR" = x
; then
7307 case $cross_compiling:$ac_tool_warned in
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned
=yes ;;
7319 test -z "$AR" && AR
=ar
7320 if test -n "$plugin_option"; then
7321 if $AR --help 2>&1 |
grep -q "\--plugin"; then
7323 $AR $plugin_option rc conftest.a conftest.c
7324 if test "$?" != 0; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7326 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7328 AR
="$AR $plugin_option"
7333 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7345 if test -n "$ac_tool_prefix"; then
7346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7347 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_STRIP+:} false
; then :
7351 $as_echo_n "(cached) " >&6
7353 if test -n "$STRIP"; then
7354 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir
=.
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 STRIP
=$ac_cv_prog_STRIP
7374 if test -n "$STRIP"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7376 $as_echo "$STRIP" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7384 if test -z "$ac_cv_prog_STRIP"; then
7386 # Extract the first word of "strip", so it can be a program name with args.
7387 set dummy strip
; ac_word
=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7391 $as_echo_n "(cached) " >&6
7393 if test -n "$ac_ct_STRIP"; then
7394 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir
=.
7401 for ac_exec_ext
in '' $ac_executable_extensions; do
7402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7403 ac_cv_prog_ac_ct_STRIP
="strip"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7414 if test -n "$ac_ct_STRIP"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7416 $as_echo "$ac_ct_STRIP" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7422 if test "x$ac_ct_STRIP" = x
; then
7425 case $cross_compiling:$ac_tool_warned in
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7429 ac_tool_warned
=yes ;;
7434 STRIP
="$ac_cv_prog_STRIP"
7437 test -z "$STRIP" && STRIP
=:
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7446 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if ${ac_cv_prog_RANLIB+:} false
; then :
7450 $as_echo_n "(cached) " >&6
7452 if test -n "$RANLIB"; then
7453 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7459 test -z "$as_dir" && as_dir
=.
7460 for ac_exec_ext
in '' $ac_executable_extensions; do
7461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7462 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 RANLIB
=$ac_cv_prog_RANLIB
7473 if test -n "$RANLIB"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7475 $as_echo "$RANLIB" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7483 if test -z "$ac_cv_prog_RANLIB"; then
7484 ac_ct_RANLIB
=$RANLIB
7485 # Extract the first word of "ranlib", so it can be a program name with args.
7486 set dummy ranlib
; ac_word
=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7490 $as_echo_n "(cached) " >&6
7492 if test -n "$ac_ct_RANLIB"; then
7493 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir
=.
7500 for ac_exec_ext
in '' $ac_executable_extensions; do
7501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7513 if test -n "$ac_ct_RANLIB"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7515 $as_echo "$ac_ct_RANLIB" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7521 if test "x$ac_ct_RANLIB" = x
; then
7524 case $cross_compiling:$ac_tool_warned in
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7528 ac_tool_warned
=yes ;;
7530 RANLIB
=$ac_ct_RANLIB
7533 RANLIB
="$ac_cv_prog_RANLIB"
7536 test -z "$RANLIB" && RANLIB
=:
7537 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7538 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
7539 RANLIB
="$RANLIB $plugin_option"
7548 # Determine commands to create old-style static archives.
7549 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7550 old_postinstall_cmds
='chmod 644 $oldlib'
7551 old_postuninstall_cmds
=
7553 if test -n "$RANLIB"; then
7556 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7559 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7562 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7567 lock_old_archive_extraction
=yes ;;
7569 lock_old_archive_extraction
=no
;;
7610 # If no C compiler was specified, use CC.
7613 # If no C compiler flags were specified, use CFLAGS.
7614 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7616 # Allow CC to be a program name with arguments.
7620 # Check for command to grab the raw symbol name followed by C symbol from nm.
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7622 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7623 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7624 $as_echo_n "(cached) " >&6
7627 # These are sane defaults that work on at least a few old systems.
7628 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7630 # Character class describing NM global symbol codes.
7631 symcode
='[BCDEGRST]'
7633 # Regexp to match symbols that can be accessed directly from C.
7634 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7636 # Define system-specific variables.
7641 cygwin
* | mingw
* | pw32
* | cegcc
*)
7642 symcode
='[ABCDGISTW]'
7645 if test "$host_cpu" = ia64
; then
7646 symcode
='[ABCDEGRST]'
7650 symcode
='[BCDEGRST]'
7653 symcode
='[BCDEGQRST]'
7664 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7672 # If we're using GNU nm, then use its standard symbol codes.
7673 case `$NM -V 2>&1` in
7674 *GNU
* |
*'with BFD'*)
7675 symcode
='[ABCDGIRSTW]' ;;
7678 # Transform an extracted symbol line into a proper C declaration.
7679 # Some systems (esp. on ia64) link data and code symbols differently,
7680 # so use this general approach.
7681 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7683 # Transform an extracted symbol line into symbol name and symbol address
7684 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7685 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'"
7687 # Handle CRLF in mingw tool chain
7691 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7695 # Try without a prefix underscore, then with it.
7696 for ac_symprfx
in "" "_"; do
7698 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7699 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7701 # Write the raw and C identifiers.
7702 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7703 # Fake it for dumpbin and say T for any non-static function
7704 # and D for any global variable.
7705 # Also find C++ and __fastcall symbols from MSVC++,
7706 # which start with @ or ?.
7707 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7708 " {last_section=section; section=\$ 3};"\
7709 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7710 " \$ 0!~/External *\|/{next};"\
7711 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7712 " {if(hide[section]) next};"\
7713 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7714 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7715 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7716 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7717 " ' prfx=^$ac_symprfx"
7719 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7722 # Check to see that the pipe works correctly.
7726 cat > conftest.
$ac_ext <<_LT_EOF
7731 void nm_test_func(void);
7732 void nm_test_func(void){}
7736 int main(){nm_test_var='a';nm_test_func();return(0);}
7739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7740 (eval $ac_compile) 2>&5
7742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7743 test $ac_status = 0; }; then
7744 # Now try to grab the symbols.
7746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7747 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7750 test $ac_status = 0; } && test -s "$nlist"; then
7751 # Try sorting and uniquifying the output.
7752 if sort "$nlist" |
uniq > "$nlist"T
; then
7753 mv -f "$nlist"T
"$nlist"
7758 # Make sure that we snagged all the symbols we need.
7759 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7760 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7761 cat <<_LT_EOF > conftest.$ac_ext
7767 # Now generate the symbol file.
7768 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7770 cat <<_LT_EOF >> conftest.$ac_ext
7772 /* The mapping between symbol names and symbols. */
7777 lt__PROGRAM__LTX_preloaded_symbols[] =
7779 { "@PROGRAM@", (void *) 0 },
7781 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7782 cat <<\_LT_EOF
>> conftest.
$ac_ext
7786 /* This works around a problem
in FreeBSD linker
*/
7787 #ifdef FREEBSD_WORKAROUND
7788 static const void
*lt_preloaded_setup
() {
7789 return lt__PROGRAM__LTX_preloaded_symbols
;
7797 # Now try linking the two files.
7798 mv conftest.
$ac_objext conftstm.
$ac_objext
7799 lt_save_LIBS
="$LIBS"
7800 lt_save_CFLAGS
="$CFLAGS"
7801 LIBS
="conftstm.$ac_objext"
7802 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7804 (eval $ac_link) 2>&5
7806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7807 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7810 LIBS
="$lt_save_LIBS"
7811 CFLAGS
="$lt_save_CFLAGS"
7813 echo "cannot find nm_test_func in $nlist" >&5
7816 echo "cannot find nm_test_var in $nlist" >&5
7819 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7822 echo "$progname: failed program was:" >&5
7823 cat conftest.
$ac_ext >&5
7825 rm -rf conftest
* conftst
*
7827 # Do not use the global_symbol_pipe unless it works.
7828 if test "$pipe_works" = yes; then
7831 lt_cv_sys_global_symbol_pipe
=
7837 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7838 lt_cv_sys_global_symbol_to_cdecl
=
7840 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7842 $as_echo "failed" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7845 $as_echo "ok" >&6; }
7869 # Check whether --enable-libtool-lock was given.
7870 if test "${enable_libtool_lock+set}" = set; then :
7871 enableval
=$enable_libtool_lock;
7874 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7876 # Some flags need to be propagated to the compiler or linker for good
7880 # Find out which ABI we are using.
7881 echo 'int i;' > conftest.
$ac_ext
7882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7883 (eval $ac_compile) 2>&5
7885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7886 test $ac_status = 0; }; then
7887 case `/usr/bin/file conftest.$ac_objext` in
7899 # Find out which ABI we are using.
7900 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7902 (eval $ac_compile) 2>&5
7904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7905 test $ac_status = 0; }; then
7906 if test "$lt_cv_prog_gnu_ld" = yes; then
7907 case `/usr/bin/file conftest.$ac_objext` in
7909 LD
="${LD-ld} -melf32bsmip"
7912 LD
="${LD-ld} -melf32bmipn32"
7915 LD
="${LD-ld} -melf64bmip"
7919 case `/usr/bin/file conftest.$ac_objext` in
7935 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7936 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7937 # Find out which ABI we are using.
7938 echo 'int i;' > conftest.
$ac_ext
7939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7940 (eval $ac_compile) 2>&5
7942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7943 test $ac_status = 0; }; then
7944 case `/usr/bin/file conftest.o` in
7947 x86_64-
*kfreebsd
*-gnu)
7948 LD
="${LD-ld} -m elf_i386_fbsd"
7951 case `/usr/bin/file conftest.o` in
7953 LD
="${LD-ld} -m elf32_x86_64"
7956 LD
="${LD-ld} -m elf_i386"
7960 powerpc64le-
*linux
*)
7961 LD
="${LD-ld} -m elf32lppclinux"
7964 LD
="${LD-ld} -m elf32ppclinux"
7967 LD
="${LD-ld} -m elf_s390"
7970 LD
="${LD-ld} -m elf32_sparc"
7976 x86_64-
*kfreebsd
*-gnu)
7977 LD
="${LD-ld} -m elf_x86_64_fbsd"
7980 LD
="${LD-ld} -m elf_x86_64"
7983 LD
="${LD-ld} -m elf64lppc"
7986 LD
="${LD-ld} -m elf64ppc"
7988 s390
*-*linux
*|s390
*-*tpf
*)
7989 LD
="${LD-ld} -m elf64_s390"
7992 LD
="${LD-ld} -m elf64_sparc"
8002 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8003 SAVE_CFLAGS
="$CFLAGS"
8004 CFLAGS
="$CFLAGS -belf"
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8006 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8007 if ${lt_cv_cc_needs_belf+:} false
; then :
8008 $as_echo_n "(cached) " >&6
8011 ac_cpp
='$CPP $CPPFLAGS'
8012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8027 if ac_fn_c_try_link
"$LINENO"; then :
8028 lt_cv_cc_needs_belf
=yes
8030 lt_cv_cc_needs_belf
=no
8032 rm -f core conftest.err conftest.
$ac_objext \
8033 conftest
$ac_exeext conftest.
$ac_ext
8035 ac_cpp
='$CPP $CPPFLAGS'
8036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8042 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8043 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8044 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8045 CFLAGS
="$SAVE_CFLAGS"
8049 # Find out which ABI we are using.
8050 echo 'int i;' > conftest.
$ac_ext
8051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8052 (eval $ac_compile) 2>&5
8054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8055 test $ac_status = 0; }; then
8056 case `/usr/bin/file conftest.o` in
8058 case $lt_cv_prog_gnu_ld in
8059 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8061 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8073 need_locks
="$enable_libtool_lock"
8077 rhapsody
* | darwin
*)
8078 if test -n "$ac_tool_prefix"; then
8079 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8080 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082 $as_echo_n "checking for $ac_word... " >&6; }
8083 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8084 $as_echo_n "(cached) " >&6
8086 if test -n "$DSYMUTIL"; then
8087 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir
=.
8094 for ac_exec_ext
in '' $ac_executable_extensions; do
8095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8107 if test -n "$DSYMUTIL"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8109 $as_echo "$DSYMUTIL" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8117 if test -z "$ac_cv_prog_DSYMUTIL"; then
8118 ac_ct_DSYMUTIL
=$DSYMUTIL
8119 # Extract the first word of "dsymutil", so it can be a program name with args.
8120 set dummy dsymutil
; ac_word
=$2
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8122 $as_echo_n "checking for $ac_word... " >&6; }
8123 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8124 $as_echo_n "(cached) " >&6
8126 if test -n "$ac_ct_DSYMUTIL"; then
8127 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir
=.
8134 for ac_exec_ext
in '' $ac_executable_extensions; do
8135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8136 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8147 if test -n "$ac_ct_DSYMUTIL"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8149 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8155 if test "x$ac_ct_DSYMUTIL" = x
; then
8158 case $cross_compiling:$ac_tool_warned in
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8162 ac_tool_warned
=yes ;;
8164 DSYMUTIL
=$ac_ct_DSYMUTIL
8167 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8170 if test -n "$ac_tool_prefix"; then
8171 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8172 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174 $as_echo_n "checking for $ac_word... " >&6; }
8175 if ${ac_cv_prog_NMEDIT+:} false
; then :
8176 $as_echo_n "(cached) " >&6
8178 if test -n "$NMEDIT"; then
8179 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir
=.
8186 for ac_exec_ext
in '' $ac_executable_extensions; do
8187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8188 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 NMEDIT
=$ac_cv_prog_NMEDIT
8199 if test -n "$NMEDIT"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8201 $as_echo "$NMEDIT" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8209 if test -z "$ac_cv_prog_NMEDIT"; then
8210 ac_ct_NMEDIT
=$NMEDIT
8211 # Extract the first word of "nmedit", so it can be a program name with args.
8212 set dummy nmedit
; ac_word
=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 $as_echo_n "checking for $ac_word... " >&6; }
8215 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8216 $as_echo_n "(cached) " >&6
8218 if test -n "$ac_ct_NMEDIT"; then
8219 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir
=.
8226 for ac_exec_ext
in '' $ac_executable_extensions; do
8227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8228 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8239 if test -n "$ac_ct_NMEDIT"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8241 $as_echo "$ac_ct_NMEDIT" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8247 if test "x$ac_ct_NMEDIT" = x
; then
8250 case $cross_compiling:$ac_tool_warned in
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8254 ac_tool_warned
=yes ;;
8256 NMEDIT
=$ac_ct_NMEDIT
8259 NMEDIT
="$ac_cv_prog_NMEDIT"
8262 if test -n "$ac_tool_prefix"; then
8263 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8264 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if ${ac_cv_prog_LIPO+:} false
; then :
8268 $as_echo_n "(cached) " >&6
8270 if test -n "$LIPO"; then
8271 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir
=.
8278 for ac_exec_ext
in '' $ac_executable_extensions; do
8279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8280 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 LIPO
=$ac_cv_prog_LIPO
8291 if test -n "$LIPO"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8293 $as_echo "$LIPO" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8301 if test -z "$ac_cv_prog_LIPO"; then
8303 # Extract the first word of "lipo", so it can be a program name with args.
8304 set dummy lipo
; ac_word
=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8306 $as_echo_n "checking for $ac_word... " >&6; }
8307 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8308 $as_echo_n "(cached) " >&6
8310 if test -n "$ac_ct_LIPO"; then
8311 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir
=.
8318 for ac_exec_ext
in '' $ac_executable_extensions; do
8319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8320 ac_cv_prog_ac_ct_LIPO
="lipo"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8331 if test -n "$ac_ct_LIPO"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8333 $as_echo "$ac_ct_LIPO" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8339 if test "x$ac_ct_LIPO" = x
; then
8342 case $cross_compiling:$ac_tool_warned in
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8346 ac_tool_warned
=yes ;;
8351 LIPO
="$ac_cv_prog_LIPO"
8354 if test -n "$ac_tool_prefix"; then
8355 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8356 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if ${ac_cv_prog_OTOOL+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 if test -n "$OTOOL"; then
8363 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir
=.
8370 for ac_exec_ext
in '' $ac_executable_extensions; do
8371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 OTOOL
=$ac_cv_prog_OTOOL
8383 if test -n "$OTOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8385 $as_echo "$OTOOL" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8393 if test -z "$ac_cv_prog_OTOOL"; then
8395 # Extract the first word of "otool", so it can be a program name with args.
8396 set dummy otool
; ac_word
=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8398 $as_echo_n "checking for $ac_word... " >&6; }
8399 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8400 $as_echo_n "(cached) " >&6
8402 if test -n "$ac_ct_OTOOL"; then
8403 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir
=.
8410 for ac_exec_ext
in '' $ac_executable_extensions; do
8411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8412 ac_cv_prog_ac_ct_OTOOL
="otool"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8423 if test -n "$ac_ct_OTOOL"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8425 $as_echo "$ac_ct_OTOOL" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8428 $as_echo "no" >&6; }
8431 if test "x$ac_ct_OTOOL" = x
; then
8434 case $cross_compiling:$ac_tool_warned in
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8438 ac_tool_warned
=yes ;;
8443 OTOOL
="$ac_cv_prog_OTOOL"
8446 if test -n "$ac_tool_prefix"; then
8447 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8448 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if ${ac_cv_prog_OTOOL64+:} false
; then :
8452 $as_echo_n "(cached) " >&6
8454 if test -n "$OTOOL64"; then
8455 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir
=.
8462 for ac_exec_ext
in '' $ac_executable_extensions; do
8463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8464 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 OTOOL64
=$ac_cv_prog_OTOOL64
8475 if test -n "$OTOOL64"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8477 $as_echo "$OTOOL64" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8485 if test -z "$ac_cv_prog_OTOOL64"; then
8486 ac_ct_OTOOL64
=$OTOOL64
8487 # Extract the first word of "otool64", so it can be a program name with args.
8488 set dummy otool64
; ac_word
=$2
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8490 $as_echo_n "checking for $ac_word... " >&6; }
8491 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8492 $as_echo_n "(cached) " >&6
8494 if test -n "$ac_ct_OTOOL64"; then
8495 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir
=.
8502 for ac_exec_ext
in '' $ac_executable_extensions; do
8503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8515 if test -n "$ac_ct_OTOOL64"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8517 $as_echo "$ac_ct_OTOOL64" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
8523 if test "x$ac_ct_OTOOL64" = x
; then
8526 case $cross_compiling:$ac_tool_warned in
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8530 ac_tool_warned
=yes ;;
8532 OTOOL64
=$ac_ct_OTOOL64
8535 OTOOL64
="$ac_cv_prog_OTOOL64"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8565 $as_echo_n "checking for -single_module linker flag... " >&6; }
8566 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8569 lt_cv_apple_cc_single_mod
=no
8570 if test -z "${LT_MULTI_MODULE}"; then
8571 # By default we will add the -single_module flag. You can override
8572 # by either setting the environment variable LT_MULTI_MODULE
8573 # non-empty at configure time, or by adding -multi_module to the
8575 rm -rf libconftest.dylib
*
8576 echo "int foo(void){return 1;}" > conftest.c
8577 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8578 -dynamiclib -Wl,-single_module conftest.c" >&5
8579 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8580 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8582 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8583 lt_cv_apple_cc_single_mod
=yes
8585 cat conftest.err
>&5
8587 rm -rf libconftest.dylib
*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8592 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8594 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8595 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8596 $as_echo_n "(cached) " >&6
8598 lt_cv_ld_exported_symbols_list
=no
8599 save_LDFLAGS
=$LDFLAGS
8600 echo "_main" > conftest.sym
8601 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8613 if ac_fn_c_try_link
"$LINENO"; then :
8614 lt_cv_ld_exported_symbols_list
=yes
8616 lt_cv_ld_exported_symbols_list
=no
8618 rm -f core conftest.err conftest.
$ac_objext \
8619 conftest
$ac_exeext conftest.
$ac_ext
8620 LDFLAGS
="$save_LDFLAGS"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8624 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8626 $as_echo_n "checking for -force_load linker flag... " >&6; }
8627 if ${lt_cv_ld_force_load+:} false
; then :
8628 $as_echo_n "(cached) " >&6
8630 lt_cv_ld_force_load
=no
8631 cat > conftest.c
<< _LT_EOF
8632 int forced_loaded() { return 2;}
8634 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8635 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8636 echo "$AR cru libconftest.a conftest.o" >&5
8637 $AR cru libconftest.a conftest.o
2>&5
8638 cat > conftest.c
<< _LT_EOF
8639 int main() { return 0;}
8641 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8642 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8644 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8645 lt_cv_ld_force_load
=yes
8647 cat conftest.err
>&5
8649 rm -f conftest.err libconftest.a conftest conftest.c
8650 rm -rf conftest.dSYM
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8654 $as_echo "$lt_cv_ld_force_load" >&6; }
8655 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8656 # build without first building modern cctools / linker.
8657 case $host_cpu-$host_os in
8658 *-rhapsody* |
*-darwin1.
[012])
8659 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8661 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8663 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8664 # deployment target is forced to an earlier version.
8665 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8666 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
8669 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8676 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8677 _lt_dar_single_mod
='$single_module'
8679 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8680 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8682 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8684 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8685 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8692 for ac_header
in dlfcn.h
8694 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8696 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8697 cat >>confdefs.h
<<_ACEOF
8698 #define HAVE_DLFCN_H 1
8719 # Check whether --enable-shared was given.
8720 if test "${enable_shared+set}" = set; then :
8721 enableval
=$enable_shared; p
=${PACKAGE-default}
8723 yes) enable_shared
=yes ;;
8724 no
) enable_shared
=no
;;
8727 # Look at the argument we got. We use all the common list separators.
8728 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8729 for pkg
in $enableval; do
8731 if test "X$pkg" = "X$p"; then
8750 # Check whether --enable-static was given.
8751 if test "${enable_static+set}" = set; then :
8752 enableval
=$enable_static; p
=${PACKAGE-default}
8754 yes) enable_static
=yes ;;
8755 no
) enable_static
=no
;;
8758 # Look at the argument we got. We use all the common list separators.
8759 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8760 for pkg
in $enableval; do
8762 if test "X$pkg" = "X$p"; then
8782 # Check whether --with-pic was given.
8783 if test "${with_pic+set}" = set; then :
8784 withval
=$with_pic; pic_mode
="$withval"
8790 test -z "$pic_mode" && pic_mode
=default
8798 # Check whether --enable-fast-install was given.
8799 if test "${enable_fast_install+set}" = set; then :
8800 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8802 yes) enable_fast_install
=yes ;;
8803 no
) enable_fast_install
=no
;;
8805 enable_fast_install
=no
8806 # Look at the argument we got. We use all the common list separators.
8807 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8808 for pkg
in $enableval; do
8810 if test "X$pkg" = "X$p"; then
8811 enable_fast_install
=yes
8818 enable_fast_install
=yes
8831 # This can be used to rebuild libtool when needed
8832 LIBTOOL_DEPS
="$ltmain"
8834 # Always use our own libtool.
8835 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8862 test -z "$LN_S" && LN_S
="ln -s"
8877 if test -n "${ZSH_VERSION+set}" ; then
8878 setopt NO_GLOB_SUBST
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8882 $as_echo_n "checking for objdir... " >&6; }
8883 if ${lt_cv_objdir+:} false
; then :
8884 $as_echo_n "(cached) " >&6
8886 rm -f .libs
2>/dev
/null
8887 mkdir .libs
2>/dev
/null
8888 if test -d .libs
; then
8891 # MS-DOS does not allow filenames that begin with a dot.
8894 rmdir .libs
2>/dev
/null
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8897 $as_echo "$lt_cv_objdir" >&6; }
8898 objdir
=$lt_cv_objdir
8904 cat >>confdefs.h
<<_ACEOF
8905 #define LT_OBJDIR "$lt_cv_objdir/"
8913 # AIX sometimes has problems with the GCC collect2 program. For some
8914 # reason, if we set the COLLECT_NAMES environment variable, the problems
8915 # vanish in a puff of smoke.
8916 if test "X${COLLECT_NAMES+set}" != Xset
; then
8918 export COLLECT_NAMES
8925 can_build_shared
=yes
8927 # All known linkers require a `.a' archive for static linking (except MSVC,
8928 # which needs '.lib').
8931 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8934 old_CFLAGS
="$CFLAGS"
8936 # Set sane defaults for various variables
8937 test -z "$CC" && CC
=cc
8938 test -z "$LTCC" && LTCC
=$CC
8939 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8940 test -z "$LD" && LD
=ld
8941 test -z "$ac_objext" && ac_objext
=o
8943 for cc_temp
in $compiler""; do
8945 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8946 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8951 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8954 # Only perform the check for file, if the check method requires it
8955 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8956 case $deplibs_check_method in
8958 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8960 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8961 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8962 $as_echo_n "(cached) " >&6
8966 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8969 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8970 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8971 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8972 for ac_dir
in $ac_dummy; do
8974 test -z "$ac_dir" && ac_dir
=.
8975 if test -f $ac_dir/${ac_tool_prefix}file; then
8976 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8977 if test -n "$file_magic_test_file"; then
8978 case $deplibs_check_method in
8980 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8981 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8982 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8983 $EGREP "$file_magic_regex" > /dev
/null
; then
8988 *** Warning: the command libtool uses to detect shared libraries,
8989 *** $file_magic_cmd, produces output that libtool cannot recognize.
8990 *** The result is that libtool may fail to recognize shared libraries
8991 *** as such. This will affect the creation of libtool libraries that
8992 *** depend on shared libraries, but programs linked with such libtool
8993 *** libraries will work regardless of this problem. Nevertheless, you
8994 *** may want to report the problem to your system manager and/or to
8995 *** bug-libtool@gnu.org
9005 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9010 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9011 if test -n "$MAGIC_CMD"; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9013 $as_echo "$MAGIC_CMD" >&6; }
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9016 $as_echo "no" >&6; }
9023 if test -z "$lt_cv_path_MAGIC_CMD"; then
9024 if test -n "$ac_tool_prefix"; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9026 $as_echo_n "checking for file... " >&6; }
9027 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9028 $as_echo_n "(cached) " >&6
9032 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9035 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9036 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9037 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9038 for ac_dir
in $ac_dummy; do
9040 test -z "$ac_dir" && ac_dir
=.
9041 if test -f $ac_dir/file; then
9042 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9043 if test -n "$file_magic_test_file"; then
9044 case $deplibs_check_method in
9046 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9048 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9049 $EGREP "$file_magic_regex" > /dev
/null
; then
9054 *** Warning: the command libtool uses to detect shared libraries,
9055 *** $file_magic_cmd, produces output that libtool cannot recognize.
9056 *** The result is that libtool may fail to recognize shared libraries
9057 *** as such. This will affect the creation of libtool libraries that
9058 *** depend on shared libraries, but programs linked with such libtool
9059 *** libraries will work regardless of this problem. Nevertheless, you
9060 *** may want to report the problem to your system manager and/or to
9061 *** bug-libtool@gnu.org
9071 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9076 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9077 if test -n "$MAGIC_CMD"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9079 $as_echo "$MAGIC_CMD" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9095 # Use C for the default configuration in the libtool script
9099 ac_cpp
='$CPP $CPPFLAGS'
9100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9105 # Source file extension for C test sources.
9108 # Object file extension for compiled C test sources.
9112 # Code to be used in simple compile tests
9113 lt_simple_compile_test_code
="int some_variable = 0;"
9115 # Code to be used in simple link tests
9116 lt_simple_link_test_code
='int main(){return(0);}'
9124 # If no C compiler was specified, use CC.
9127 # If no C compiler flags were specified, use CFLAGS.
9128 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9130 # Allow CC to be a program name with arguments.
9133 # Save the default compiler, since it gets overwritten when the other
9134 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9135 compiler_DEFAULT
=$CC
9137 # save warnings/boilerplate of simple test code
9138 ac_outfile
=conftest.
$ac_objext
9139 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9140 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9141 _lt_compiler_boilerplate
=`cat conftest.err`
9144 ac_outfile
=conftest.
$ac_objext
9145 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9146 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9147 _lt_linker_boilerplate
=`cat conftest.err`
9152 ## There is no encapsulation within the following macros, do not change
9153 ## the running order or otherwise move them around unless you know exactly
9154 ## what you are doing...
9155 if test -n "$compiler"; then
9157 lt_prog_compiler_no_builtin_flag
=
9159 if test "$GCC" = yes; then
9160 case $cc_basename in
9162 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9164 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9168 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9169 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9170 $as_echo_n "(cached) " >&6
9172 lt_cv_prog_compiler_rtti_exceptions
=no
9173 ac_outfile
=conftest.
$ac_objext
9174 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9175 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9176 # Insert the option either (1) after the last *FLAGS variable, or
9177 # (2) before a word containing "conftest.", or (3) at the end.
9178 # Note that $ac_compile itself does not contain backslashes and begins
9179 # with a dollar sign (not a hyphen), so the echo should work correctly.
9180 # The option is referenced via a variable to avoid confusing sed.
9181 lt_compile
=`echo "$ac_compile" | $SED \
9182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9184 -e 's:$: $lt_compiler_flag:'`
9185 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9186 (eval "$lt_compile" 2>conftest.err
)
9188 cat conftest.err
>&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 if (exit $ac_status) && test -s "$ac_outfile"; then
9191 # The compiler can only warn and ignore the option if not recognized
9192 # So say no if there are warnings other than the usual output.
9193 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9194 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9195 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9196 lt_cv_prog_compiler_rtti_exceptions
=yes
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9203 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9205 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9206 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9218 lt_prog_compiler_wl
=
9219 lt_prog_compiler_pic
=
9220 lt_prog_compiler_static
=
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9223 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9225 if test "$GCC" = yes; then
9226 lt_prog_compiler_wl
='-Wl,'
9227 lt_prog_compiler_static
='-static'
9231 # All AIX code is PIC.
9232 if test "$host_cpu" = ia64
; then
9233 # AIX 5 now supports IA64 processor
9234 lt_prog_compiler_static
='-Bstatic'
9236 lt_prog_compiler_pic
='-fPIC'
9242 # see comment about AmigaOS4 .so support
9243 lt_prog_compiler_pic
='-fPIC'
9246 # FIXME: we need at least 68020 code to build shared libraries, but
9247 # adding the `-m68020' flag to GCC prevents building anything better,
9249 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9254 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9255 # PIC is the default for these OSes.
9258 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9259 # This hack is so that the source file can tell whether it is being
9260 # built for inclusion in a dll (and should export symbols for example).
9261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9262 # (--disable-auto-import) libraries
9263 lt_prog_compiler_pic
='-DDLL_EXPORT'
9266 darwin
* | rhapsody
*)
9267 # PIC is the default on this platform
9268 # Common symbols not allowed in MH_DYLIB files
9269 lt_prog_compiler_pic
='-fno-common'
9273 # PIC is the default for Haiku.
9274 # The "-static" flag exists, but is broken.
9275 lt_prog_compiler_static
=
9279 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9280 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9281 # sets the default TLS model and affects inlining.
9287 lt_prog_compiler_pic
='-fPIC'
9293 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9294 # Instead, we relocate shared libraries at runtime.
9298 # Just because we use GCC doesn't mean we suddenly get shared libraries
9299 # on systems that don't support them.
9300 lt_prog_compiler_can_build_shared
=no
9305 # QNX uses GNU C++, but need to define -shared option too, otherwise
9307 lt_prog_compiler_pic
='-fPIC -shared'
9311 if test -d /usr
/nec
; then
9312 lt_prog_compiler_pic
=-Kconform_pic
9317 lt_prog_compiler_pic
='-fPIC'
9321 case $cc_basename in
9322 nvcc
*) # Cuda Compiler Driver 2.2
9323 lt_prog_compiler_wl
='-Xlinker '
9324 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9328 # PORTME Check for flag to pass linker flags through the system compiler.
9331 lt_prog_compiler_wl
='-Wl,'
9332 if test "$host_cpu" = ia64
; then
9333 # AIX 5 now supports IA64 processor
9334 lt_prog_compiler_static
='-Bstatic'
9336 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9340 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9341 # This hack is so that the source file can tell whether it is being
9342 # built for inclusion in a dll (and should export symbols for example).
9343 lt_prog_compiler_pic
='-DDLL_EXPORT'
9346 hpux9
* | hpux10
* | hpux11
*)
9347 lt_prog_compiler_wl
='-Wl,'
9348 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9355 lt_prog_compiler_pic
='+Z'
9358 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9359 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9362 irix5
* | irix6
* | nonstopux
*)
9363 lt_prog_compiler_wl
='-Wl,'
9364 # PIC (with -KPIC) is the default.
9365 lt_prog_compiler_static
='-non_shared'
9368 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9369 case $cc_basename in
9370 # old Intel for x86_64 which still supported -KPIC.
9372 lt_prog_compiler_wl
='-Wl,'
9373 lt_prog_compiler_pic
='-KPIC'
9374 lt_prog_compiler_static
='-static'
9376 # icc used to be incompatible with GCC.
9377 # ICC 10 doesn't accept -KPIC any more.
9379 lt_prog_compiler_wl
='-Wl,'
9380 lt_prog_compiler_pic
='-fPIC'
9381 lt_prog_compiler_static
='-static'
9383 # Lahey Fortran 8.1.
9385 lt_prog_compiler_wl
='-Wl,'
9386 lt_prog_compiler_pic
='--shared'
9387 lt_prog_compiler_static
='--static'
9389 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9390 # Portland Group compilers (*not* the Pentium gcc compiler,
9391 # which looks to be a dead project)
9392 lt_prog_compiler_wl
='-Wl,'
9393 lt_prog_compiler_pic
='-fpic'
9394 lt_prog_compiler_static
='-Bstatic'
9397 lt_prog_compiler_wl
='-Wl,'
9398 # All Alpha code is PIC.
9399 lt_prog_compiler_static
='-non_shared'
9401 xl
* | bgxl
* | bgf
* | mpixl
*)
9402 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9403 lt_prog_compiler_wl
='-Wl,'
9404 lt_prog_compiler_pic
='-qpic'
9405 lt_prog_compiler_static
='-qstaticlink'
9408 case `$CC -V 2>&1 | sed 5q` in
9409 *Sun\ F
* |
*Sun
*Fortran
*)
9410 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9411 lt_prog_compiler_pic
='-KPIC'
9412 lt_prog_compiler_static
='-Bstatic'
9413 lt_prog_compiler_wl
=''
9417 lt_prog_compiler_pic
='-KPIC'
9418 lt_prog_compiler_static
='-Bstatic'
9419 lt_prog_compiler_wl
='-Wl,'
9427 lt_prog_compiler_pic
='-KPIC'
9428 lt_prog_compiler_static
='-Bstatic'
9432 # QNX uses GNU C++, but need to define -shared option too, otherwise
9434 lt_prog_compiler_pic
='-fPIC -shared'
9437 osf3
* | osf4
* | osf5
*)
9438 lt_prog_compiler_wl
='-Wl,'
9439 # All OSF/1 code is PIC.
9440 lt_prog_compiler_static
='-non_shared'
9444 lt_prog_compiler_static
='-non_shared'
9448 lt_prog_compiler_pic
='-KPIC'
9449 lt_prog_compiler_static
='-Bstatic'
9450 case $cc_basename in
9452 lt_prog_compiler_wl
='-Qoption ld ';;
9454 lt_prog_compiler_wl
='-Wl,';;
9459 lt_prog_compiler_wl
='-Qoption ld '
9460 lt_prog_compiler_pic
='-PIC'
9461 lt_prog_compiler_static
='-Bstatic'
9464 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9465 lt_prog_compiler_wl
='-Wl,'
9466 lt_prog_compiler_pic
='-KPIC'
9467 lt_prog_compiler_static
='-Bstatic'
9471 if test -d /usr
/nec
;then
9472 lt_prog_compiler_pic
='-Kconform_pic'
9473 lt_prog_compiler_static
='-Bstatic'
9477 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9478 lt_prog_compiler_wl
='-Wl,'
9479 lt_prog_compiler_pic
='-KPIC'
9480 lt_prog_compiler_static
='-Bstatic'
9484 lt_prog_compiler_wl
='-Wl,'
9485 lt_prog_compiler_can_build_shared
=no
9489 lt_prog_compiler_pic
='-pic'
9490 lt_prog_compiler_static
='-Bstatic'
9494 lt_prog_compiler_can_build_shared
=no
9500 # For platforms which do not support PIC, -DPIC is meaningless:
9502 lt_prog_compiler_pic
=
9505 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9509 $as_echo "$lt_prog_compiler_pic" >&6; }
9517 # Check to make sure the PIC flag actually works.
9519 if test -n "$lt_prog_compiler_pic"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9521 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9522 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9523 $as_echo_n "(cached) " >&6
9525 lt_cv_prog_compiler_pic_works
=no
9526 ac_outfile
=conftest.
$ac_objext
9527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9528 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9529 # Insert the option either (1) after the last *FLAGS variable, or
9530 # (2) before a word containing "conftest.", or (3) at the end.
9531 # Note that $ac_compile itself does not contain backslashes and begins
9532 # with a dollar sign (not a hyphen), so the echo should work correctly.
9533 # The option is referenced via a variable to avoid confusing sed.
9534 lt_compile
=`echo "$ac_compile" | $SED \
9535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9537 -e 's:$: $lt_compiler_flag:'`
9538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9539 (eval "$lt_compile" 2>conftest.err
)
9541 cat conftest.err
>&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 if (exit $ac_status) && test -s "$ac_outfile"; then
9544 # The compiler can only warn and ignore the option if not recognized
9545 # So say no if there are warnings other than the usual output.
9546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9547 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9548 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9549 lt_cv_prog_compiler_pic_works
=yes
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9556 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9558 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9559 case $lt_prog_compiler_pic in
9561 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9564 lt_prog_compiler_pic
=
9565 lt_prog_compiler_can_build_shared
=no
9576 # Check to make sure the static flag actually works.
9578 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9581 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 lt_cv_prog_compiler_static_works
=no
9585 save_LDFLAGS
="$LDFLAGS"
9586 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9587 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9588 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9589 # The linker can only warn and ignore the option if not recognized
9590 # So say no if there are warnings
9591 if test -s conftest.err
; then
9592 # Append any errors to the config.log.
9593 cat conftest.err
1>&5
9594 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9596 if diff conftest.exp conftest.er2
>/dev
/null
; then
9597 lt_cv_prog_compiler_static_works
=yes
9600 lt_cv_prog_compiler_static_works
=yes
9604 LDFLAGS
="$save_LDFLAGS"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9610 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9613 lt_prog_compiler_static
=
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9624 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler_c_o
=no
9628 $RM -r conftest
2>/dev
/null
9632 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9634 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9635 # Insert the option either (1) after the last *FLAGS variable, or
9636 # (2) before a word containing "conftest.", or (3) at the end.
9637 # Note that $ac_compile itself does not contain backslashes and begins
9638 # with a dollar sign (not a hyphen), so the echo should work correctly.
9639 lt_compile
=`echo "$ac_compile" | $SED \
9640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9642 -e 's:$: $lt_compiler_flag:'`
9643 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9644 (eval "$lt_compile" 2>out
/conftest.err
)
9646 cat out
/conftest.err
>&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9650 # The compiler can only warn and ignore the option if not recognized
9651 # So say no if there are warnings
9652 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9653 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9654 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9655 lt_cv_prog_compiler_c_o
=yes
9660 # SGI C++ compiler will create directory out/ii_files/ for
9661 # template instantiation
9662 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9663 $RM out
/* && rmdir out
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9679 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 lt_cv_prog_compiler_c_o
=no
9683 $RM -r conftest
2>/dev
/null
9687 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9689 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9690 # Insert the option either (1) after the last *FLAGS variable, or
9691 # (2) before a word containing "conftest.", or (3) at the end.
9692 # Note that $ac_compile itself does not contain backslashes and begins
9693 # with a dollar sign (not a hyphen), so the echo should work correctly.
9694 lt_compile
=`echo "$ac_compile" | $SED \
9695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9697 -e 's:$: $lt_compiler_flag:'`
9698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9699 (eval "$lt_compile" 2>out
/conftest.err
)
9701 cat out
/conftest.err
>&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9705 # The compiler can only warn and ignore the option if not recognized
9706 # So say no if there are warnings
9707 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9708 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9709 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9710 lt_cv_prog_compiler_c_o
=yes
9715 # SGI C++ compiler will create directory out/ii_files/ for
9716 # template instantiation
9717 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9718 $RM out
/* && rmdir out
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730 hard_links
="nottested"
9731 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9732 # do not overwrite the value of need_locks provided by the user
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9734 $as_echo_n "checking if we can lock with hard links... " >&6; }
9737 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9739 ln conftest.a conftest.b
2>&5 || hard_links
=no
9740 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9742 $as_echo "$hard_links" >&6; }
9743 if test "$hard_links" = no
; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9745 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9761 allow_undefined_flag
=
9762 always_export_symbols
=no
9764 archive_expsym_cmds
=
9765 compiler_needs_object
=no
9766 enable_shared_with_static_runtimes
=no
9767 export_dynamic_flag_spec
=
9768 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9769 hardcode_automatic
=no
9771 hardcode_direct_absolute
=no
9772 hardcode_libdir_flag_spec
=
9773 hardcode_libdir_flag_spec_ld
=
9774 hardcode_libdir_separator
=
9776 hardcode_shlibpath_var
=unsupported
9778 link_all_deplibs
=unknown
9781 old_archive_from_new_cmds
=
9782 old_archive_from_expsyms_cmds
=
9783 thread_safe_flag_spec
=
9784 whole_archive_flag_spec
=
9785 # include_expsyms should be a list of space-separated symbols to be *always*
9786 # included in the symbol list
9788 # exclude_expsyms can be an extended regexp of symbols to exclude
9789 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9790 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9791 # as well as any symbol that contains `d'.
9792 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9794 # platforms (ab)use it in PIC code, but their linkers get confused if
9795 # the symbol is explicitly referenced. Since portable code cannot
9796 # rely on this symbol name, it's probably fine to never include it in
9797 # preloaded symbol tables.
9798 # Exclude shared library initialization/finalization symbols.
9799 extract_expsyms_cmds
=
9802 cygwin
* | mingw
* | pw32
* | cegcc
*)
9803 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9804 # When not using gcc, we currently assume that we are using
9805 # Microsoft Visual C++.
9806 if test "$GCC" != yes; then
9811 # we just hope/assume this is gcc and not c89 (= MSVC++)
9821 # On some targets, GNU ld is compatible enough with the native linker
9822 # that we're better off using the native interface for both.
9823 lt_use_gnu_ld_interface
=no
9824 if test "$with_gnu_ld" = yes; then
9827 # The AIX port of GNU ld has always aspired to compatibility
9828 # with the native linker. However, as the warning in the GNU ld
9829 # block says, versions before 2.19.5* couldn't really create working
9830 # shared libraries, regardless of the interface used.
9831 case `$LD -v 2>&1` in
9832 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9833 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9834 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9836 lt_use_gnu_ld_interface
=yes
9841 lt_use_gnu_ld_interface
=yes
9846 if test "$lt_use_gnu_ld_interface" = yes; then
9847 # If archive_cmds runs LD, not CC, wlarc should be empty
9850 # Set some defaults for GNU ld with shared library support. These
9851 # are reset later if shared libraries are not supported. Putting them
9852 # here allows them to be overridden if necessary.
9853 runpath_var
=LD_RUN_PATH
9854 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9855 export_dynamic_flag_spec
='${wl}--export-dynamic'
9856 # ancient GNU ld didn't support --whole-archive et. al.
9857 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9858 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9860 whole_archive_flag_spec
=
9862 supports_anon_versioning
=no
9863 case `$LD -v 2>&1` in
9864 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9865 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9866 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9867 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9868 *\
2.11.
*) ;; # other 2.11 versions
9869 *) supports_anon_versioning
=yes ;;
9872 # See if GNU ld supports shared libraries.
9875 # On AIX/PPC, the GNU linker is very broken
9876 if test "$host_cpu" != ia64
; then
9880 *** Warning: the GNU linker, at least up to release 2.19, is reported
9881 *** to be unable to reliably create shared libraries on AIX.
9882 *** Therefore, libtool is disabling shared libraries support. If you
9883 *** really care for shared libraries, you may want to install binutils
9884 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9885 *** You will then need to restart the configuration process.
9894 # see comment about AmigaOS4 .so support
9895 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9896 archive_expsym_cmds
=''
9899 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)'
9900 hardcode_libdir_flag_spec
='-L$libdir'
9901 hardcode_minus_L
=yes
9907 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9908 allow_undefined_flag
=unsupported
9909 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9910 # support --undefined. This deserves some investigation. FIXME
9911 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9917 cygwin
* | mingw
* | pw32
* | cegcc
*)
9918 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9919 # as there is no search path for DLLs.
9920 hardcode_libdir_flag_spec
='-L$libdir'
9921 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9922 allow_undefined_flag
=unsupported
9923 always_export_symbols
=no
9924 enable_shared_with_static_runtimes
=yes
9925 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9927 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9929 # If the export-symbols file already is a .def file (1st line
9930 # is EXPORTS), use it as is; otherwise, prepend...
9931 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9932 cp $export_symbols $output_objdir/$soname.def;
9934 echo EXPORTS > $output_objdir/$soname.def;
9935 cat $export_symbols >> $output_objdir/$soname.def;
9937 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9945 link_all_deplibs
=yes
9950 hardcode_shlibpath_var
=no
9951 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9952 export_dynamic_flag_spec
='${wl}-E'
9953 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9954 # Instead, shared libraries are loaded at an image base (0x10000000 by
9955 # default) and relocated if they conflict, which is a slow very memory
9956 # consuming and fragmenting process. To avoid this, we pick a random,
9957 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9958 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9959 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9960 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'
9963 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9965 if test "$host_os" = linux-dietlibc
; then
9966 case $cc_basename in
9967 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9970 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9971 && test "$tmp_diet" = no
9973 tmp_addflag
=' $pic_flag'
9974 tmp_sharedflag
='-shared'
9975 case $cc_basename,$host_cpu in
9976 pgcc
*) # Portland Group C compiler
9977 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'
9978 tmp_addflag
=' $pic_flag'
9980 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9981 # Portland Group f77 and f90 compilers
9982 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'
9983 tmp_addflag
=' $pic_flag -Mnomain' ;;
9984 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9985 tmp_addflag
=' -i_dynamic' ;;
9986 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9987 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9988 ifc
* | ifort
*) # Intel Fortran compiler
9989 tmp_addflag
=' -nofor_main' ;;
9990 lf95
*) # Lahey Fortran 8.1
9991 whole_archive_flag_spec
=
9992 tmp_sharedflag
='--shared' ;;
9993 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9994 tmp_sharedflag
='-qmkshrobj'
9996 nvcc
*) # Cuda Compiler Driver 2.2
9997 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'
9998 compiler_needs_object
=yes
10001 case `$CC -V 2>&1 | sed 5q` in
10002 *Sun\ C
*) # Sun C 5.9
10003 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'
10004 compiler_needs_object
=yes
10005 tmp_sharedflag
='-G' ;;
10006 *Sun\ F
*) # Sun Fortran 8.3
10007 tmp_sharedflag
='-G' ;;
10009 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 if test "x$supports_anon_versioning" = xyes
; then
10012 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10014 echo "local: *; };" >> $output_objdir/$libname.ver~
10015 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10018 case $cc_basename in
10019 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10020 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10021 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10022 hardcode_libdir_flag_spec
=
10023 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10024 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10025 if test "x$supports_anon_versioning" = xyes
; then
10026 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10028 echo "local: *; };" >> $output_objdir/$libname.ver~
10029 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10039 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10040 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10043 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10044 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10053 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10054 *** create shared libraries on Solaris systems. Therefore, libtool
10055 *** is disabling shared libraries support. We urge you to upgrade GNU
10056 *** binutils to release 2.9.1 or newer. Another option is to modify
10057 *** your PATH or compiler configuration so that the native linker is
10058 *** used, and then restart.
10061 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10063 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10069 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10070 case `$LD -v 2>&1` in
10071 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10075 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10076 *** reliably create shared libraries on SCO systems. Therefore, libtool
10077 *** is disabling shared libraries support. We urge you to upgrade GNU
10078 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10079 *** your PATH or compiler configuration so that the native linker is
10080 *** used, and then restart.
10085 # For security reasons, it is highly recommended that you always
10086 # use absolute paths for naming shared libraries, and exclude the
10087 # DT_RUNPATH tag from executables and libraries. But doing so
10088 # requires that you compile everything twice, which is a pain.
10089 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10090 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10092 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10101 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10103 hardcode_direct
=yes
10104 hardcode_shlibpath_var
=no
10108 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10109 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10110 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10117 if test "$ld_shlibs" = no
; then
10119 hardcode_libdir_flag_spec
=
10120 export_dynamic_flag_spec
=
10121 whole_archive_flag_spec
=
10124 # PORTME fill in a description of your system's linker (not GNU ld)
10127 allow_undefined_flag
=unsupported
10128 always_export_symbols
=yes
10129 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'
10130 # Note: this linker hardcodes the directories in LIBPATH if there
10131 # are no directories specified by -L.
10132 hardcode_minus_L
=yes
10133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10134 # Neither direct hardcoding nor static linking is supported with a
10136 hardcode_direct
=unsupported
10141 if test "$host_cpu" = ia64
; then
10142 # On IA64, the linker does run time linking by default, so we don't
10143 # have to do anything special.
10144 aix_use_runtimelinking
=no
10145 exp_sym_flag
='-Bexport'
10148 # If we're using GNU nm, then we don't want the "-C" option.
10149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10150 # Also, AIX nm treats weak defined symbols like other global
10151 # defined symbols, whereas GNU nm marks them as "W".
10152 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10153 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'
10155 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'
10157 aix_use_runtimelinking
=no
10159 # Test if we are trying to use run time linking or normal
10160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10161 # need to do runtime linking.
10162 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10163 for ld_flag
in $LDFLAGS; do
10164 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10165 aix_use_runtimelinking
=yes
10172 exp_sym_flag
='-bexport'
10173 no_entry_flag
='-bnoentry'
10176 # When large executables or shared objects are built, AIX ld can
10177 # have problems creating the table of contents. If linking a library
10178 # or program results in "error TOC overflow" add -mminimal-toc to
10179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10183 hardcode_direct
=yes
10184 hardcode_direct_absolute
=yes
10185 hardcode_libdir_separator
=':'
10186 link_all_deplibs
=yes
10187 file_list_spec
='${wl}-f,'
10189 if test "$GCC" = yes; then
10190 case $host_os in aix4.
[012]|aix4.
[012].
*)
10191 # We only want to do this on AIX 4.2 and lower, the check
10192 # below for broken collect2 doesn't work under 4.3+
10193 collect2name
=`${CC} -print-prog-name=collect2`
10194 if test -f "$collect2name" &&
10195 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10197 # We have reworked collect2
10200 # We have old collect2
10201 hardcode_direct
=unsupported
10202 # It fails to find uninstalled libraries when the uninstalled
10203 # path is not listed in the libpath. Setting hardcode_minus_L
10204 # to unsupported forces relinking
10205 hardcode_minus_L
=yes
10206 hardcode_libdir_flag_spec
='-L$libdir'
10207 hardcode_libdir_separator
=
10211 shared_flag
='-shared'
10212 if test "$aix_use_runtimelinking" = yes; then
10213 shared_flag
="$shared_flag "'${wl}-G'
10217 if test "$host_cpu" = ia64
; then
10218 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10219 # chokes on -Wl,-G. The following line is correct:
10222 if test "$aix_use_runtimelinking" = yes; then
10223 shared_flag
='${wl}-G'
10225 shared_flag
='${wl}-bM:SRE'
10230 export_dynamic_flag_spec
='${wl}-bexpall'
10231 # It seems that -bexpall does not export symbols beginning with
10232 # underscore (_), so it is better to generate a list of symbols to export.
10233 always_export_symbols
=yes
10234 if test "$aix_use_runtimelinking" = yes; then
10235 # Warning - without using the other runtime loading flags (-brtl),
10236 # -berok will link without error, but may produce a broken library.
10237 allow_undefined_flag
='-berok'
10238 # Determine the default libpath from the value encoded in an
10239 # empty executable.
10240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10251 if ac_fn_c_try_link
"$LINENO"; then :
10253 lt_aix_libpath_sed
='
10254 /Import File Strings/,/^$/ {
10260 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10261 # Check for a 64-bit object if we didn't find anything.
10262 if test -z "$aix_libpath"; then
10263 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10266 rm -f core conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10270 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10271 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"
10273 if test "$host_cpu" = ia64
; then
10274 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10275 allow_undefined_flag
="-z nodefs"
10276 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"
10278 # Determine the default libpath from the value encoded in an
10279 # empty executable.
10280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10291 if ac_fn_c_try_link
"$LINENO"; then :
10293 lt_aix_libpath_sed
='
10294 /Import File Strings/,/^$/ {
10300 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301 # Check for a 64-bit object if we didn't find anything.
10302 if test -z "$aix_libpath"; then
10303 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10310 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10311 # Warning - without using the other run time loading flags,
10312 # -berok will link without error, but may produce a broken library.
10313 no_undefined_flag
=' ${wl}-bernotok'
10314 allow_undefined_flag
=' ${wl}-berok'
10315 if test "$with_gnu_ld" = yes; then
10316 # We only use this code for GNU lds that support --whole-archive.
10317 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10319 # Exported symbols can be pulled into shared objects from archives
10320 whole_archive_flag_spec
='$convenience'
10322 archive_cmds_need_lc
=yes
10323 # This is similar to how AIX traditionally builds its shared libraries.
10324 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'
10332 # see comment about AmigaOS4 .so support
10333 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10334 archive_expsym_cmds
=''
10337 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)'
10338 hardcode_libdir_flag_spec
='-L$libdir'
10339 hardcode_minus_L
=yes
10345 export_dynamic_flag_spec
=-rdynamic
10348 cygwin
* | mingw
* | pw32
* | cegcc
*)
10349 # When not using gcc, we currently assume that we are using
10350 # Microsoft Visual C++.
10351 # hardcode_libdir_flag_spec is actually meaningless, as there is
10352 # no search path for DLLs.
10353 hardcode_libdir_flag_spec
=' '
10354 allow_undefined_flag
=unsupported
10355 # Tell ltmain to make .lib files, not .a files.
10357 # Tell ltmain to make .dll files, not .so files.
10359 # FIXME: Setting linknames here is a bad hack.
10360 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10361 # The linker will automatically build a .lib file if we build a DLL.
10362 old_archive_from_new_cmds
='true'
10363 # FIXME: Should let the user specify the lib program.
10364 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10365 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10366 enable_shared_with_static_runtimes
=yes
10369 darwin
* | rhapsody
*)
10373 # Publish an arg to allow the user to select that Darwin host (and target)
10374 # libraries should be given install-names like @rpath/libfoo.dylib. This
10375 # requires that the user of the library then adds an 'rpath' to the DSO that
10377 # NOTE: there are defaults below, for systems that support rpaths. The person
10378 # configuring can override the defaults for any system version that supports
10379 # them - they are, however, forced off for system versions without support.
10380 # Check whether --enable-darwin-at-rpath was given.
10381 if test "${enable_darwin_at_rpath+set}" = set; then :
10382 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10383 # This is not supported before macOS 10.5 / Darwin9.
10384 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10385 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10387 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10388 enable_darwin_at_rpath
=no
10393 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10394 # As above, before 10.5 / Darwin9 this does not work.
10395 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10396 enable_darwin_at_rpath
=no
10399 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10400 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10401 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10402 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10404 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10405 enable_darwin_at_rpath
=yes
10407 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10408 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10415 archive_cmds_need_lc
=no
10417 hardcode_automatic
=yes
10418 hardcode_shlibpath_var
=unsupported
10419 if test "$lt_cv_ld_force_load" = "yes"; then
10420 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\"`'
10422 whole_archive_flag_spec
=''
10424 link_all_deplibs
=yes
10425 allow_undefined_flag
="$_lt_dar_allow_undefined"
10426 case $cc_basename in
10427 ifort
*) _lt_dar_can_shared
=yes ;;
10428 *) _lt_dar_can_shared
=$GCC ;;
10430 if test "$_lt_dar_can_shared" = "yes"; then
10431 output_verbose_link_cmd
=func_echo_all
10432 _lt_install_name
='\$rpath/\$soname'
10433 if test "x$enable_darwin_at_rpath" = "xyes"; then
10434 _lt_install_name
='@rpath/\$soname'
10436 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10437 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10438 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10439 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}"
10448 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10449 hardcode_libdir_flag_spec
='-L$libdir'
10450 hardcode_shlibpath_var
=no
10453 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10454 # support. Future versions do this automatically, but an explicit c++rt0.o
10455 # does not break anything, and helps significantly (at the cost of a little
10458 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10459 hardcode_libdir_flag_spec
='-R$libdir'
10460 hardcode_direct
=yes
10461 hardcode_shlibpath_var
=no
10464 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10466 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10467 hardcode_direct
=yes
10468 hardcode_minus_L
=yes
10469 hardcode_shlibpath_var
=no
10472 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10473 freebsd
* | dragonfly
*)
10474 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10475 hardcode_libdir_flag_spec
='-R$libdir'
10476 hardcode_direct
=yes
10477 hardcode_shlibpath_var
=no
10481 if test "$GCC" = yes; then
10482 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'
10484 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'
10486 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10487 hardcode_libdir_separator
=:
10488 hardcode_direct
=yes
10490 # hardcode_minus_L: Not really in the search PATH,
10491 # but as the default location of the library.
10492 hardcode_minus_L
=yes
10493 export_dynamic_flag_spec
='${wl}-E'
10497 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10498 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10500 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10502 if test "$with_gnu_ld" = no
; then
10503 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10504 hardcode_libdir_flag_spec_ld
='+b $libdir'
10505 hardcode_libdir_separator
=:
10506 hardcode_direct
=yes
10507 hardcode_direct_absolute
=yes
10508 export_dynamic_flag_spec
='${wl}-E'
10509 # hardcode_minus_L: Not really in the search PATH,
10510 # but as the default location of the library.
10511 hardcode_minus_L
=yes
10516 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10519 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10522 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10525 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10531 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10534 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10538 # Older versions of the 11.00 compiler do not understand -b yet
10539 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10541 $as_echo_n "checking if $CC understands -b... " >&6; }
10542 if ${lt_cv_prog_compiler__b+:} false
; then :
10543 $as_echo_n "(cached) " >&6
10545 lt_cv_prog_compiler__b
=no
10546 save_LDFLAGS
="$LDFLAGS"
10547 LDFLAGS
="$LDFLAGS -b"
10548 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10549 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10550 # The linker can only warn and ignore the option if not recognized
10551 # So say no if there are warnings
10552 if test -s conftest.err
; then
10553 # Append any errors to the config.log.
10554 cat conftest.err
1>&5
10555 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10556 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10557 if diff conftest.exp conftest.er2
>/dev
/null
; then
10558 lt_cv_prog_compiler__b
=yes
10561 lt_cv_prog_compiler__b
=yes
10565 LDFLAGS
="$save_LDFLAGS"
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10569 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10571 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10572 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10574 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10580 if test "$with_gnu_ld" = no
; then
10581 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10582 hardcode_libdir_separator
=:
10587 hardcode_shlibpath_var
=no
10590 hardcode_direct
=yes
10591 hardcode_direct_absolute
=yes
10592 export_dynamic_flag_spec
='${wl}-E'
10594 # hardcode_minus_L: Not really in the search PATH,
10595 # but as the default location of the library.
10596 hardcode_minus_L
=yes
10602 irix5
* | irix6
* | nonstopux
*)
10603 if test "$GCC" = yes; then
10604 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'
10605 # Try to use the -exported_symbol ld option, if it does not
10606 # work, assume that -exports_file does not work either and
10607 # implicitly export all symbols.
10608 save_LDFLAGS
="$LDFLAGS"
10609 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10614 if ac_fn_c_try_link
"$LINENO"; then :
10615 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'
10618 rm -f core conftest.err conftest.
$ac_objext \
10619 conftest
$ac_exeext conftest.
$ac_ext
10620 LDFLAGS
="$save_LDFLAGS"
10622 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'
10623 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'
10625 archive_cmds_need_lc
='no'
10626 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10627 hardcode_libdir_separator
=:
10629 link_all_deplibs
=yes
10633 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10634 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10636 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10638 hardcode_libdir_flag_spec
='-R$libdir'
10639 hardcode_direct
=yes
10640 hardcode_shlibpath_var
=no
10644 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10645 hardcode_direct
=yes
10646 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10647 hardcode_libdir_separator
=:
10648 hardcode_shlibpath_var
=no
10655 if test -f /usr
/libexec
/ld.so
; then
10656 hardcode_direct
=yes
10657 hardcode_shlibpath_var
=no
10658 hardcode_direct_absolute
=yes
10659 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10660 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10662 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10663 export_dynamic_flag_spec
='${wl}-E'
10666 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10667 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10668 hardcode_libdir_flag_spec
='-R$libdir'
10671 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10672 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10682 hardcode_libdir_flag_spec
='-L$libdir'
10683 hardcode_minus_L
=yes
10684 allow_undefined_flag
=unsupported
10685 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'
10686 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10690 if test "$GCC" = yes; then
10691 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10692 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'
10694 allow_undefined_flag
=' -expect_unresolved \*'
10695 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'
10697 archive_cmds_need_lc
='no'
10698 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10699 hardcode_libdir_separator
=:
10702 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10703 if test "$GCC" = yes; then
10704 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10705 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'
10706 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10708 allow_undefined_flag
=' -expect_unresolved \*'
10709 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'
10710 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~
10711 $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'
10713 # Both c and cxx compiler support -rpath directly
10714 hardcode_libdir_flag_spec
='-rpath $libdir'
10716 archive_cmds_need_lc
='no'
10717 hardcode_libdir_separator
=:
10721 no_undefined_flag
=' -z defs'
10722 if test "$GCC" = yes; then
10724 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10726 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10728 case `$CC -V 2>&1` in
10731 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10732 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10733 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10737 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10738 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10739 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10743 hardcode_libdir_flag_spec
='-R$libdir'
10744 hardcode_shlibpath_var
=no
10746 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10748 # The compiler driver will combine and reorder linker options,
10749 # but understands `-z linker_flag'. GCC discards it without `$wl',
10750 # but is careful enough not to reorder.
10751 # Supported since Solaris 2.6 (maybe 2.5.1?)
10752 if test "$GCC" = yes; then
10753 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10755 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10759 link_all_deplibs
=yes
10763 if test "x$host_vendor" = xsequent
; then
10764 # Use $CC to link under sequent, because it throws in some extra .o
10765 # files that make .init and .fini sections work.
10766 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10768 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10770 hardcode_libdir_flag_spec
='-L$libdir'
10771 hardcode_direct
=yes
10772 hardcode_minus_L
=yes
10773 hardcode_shlibpath_var
=no
10777 case $host_vendor in
10779 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10780 hardcode_direct
=yes # is this really true???
10783 ## LD is ld it makes a PLAMLIB
10784 ## CC just makes a GrossModule.
10785 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10786 reload_cmds
='$CC -r -o $output$reload_objs'
10790 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10791 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10794 runpath_var
='LD_RUN_PATH'
10795 hardcode_shlibpath_var
=no
10799 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10800 hardcode_shlibpath_var
=no
10801 export_dynamic_flag_spec
='-Bexport'
10805 if test -d /usr
/nec
; then
10806 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10807 hardcode_shlibpath_var
=no
10808 runpath_var
=LD_RUN_PATH
10809 hardcode_runpath_var
=yes
10814 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10815 no_undefined_flag
='${wl}-z,text'
10816 archive_cmds_need_lc
=no
10817 hardcode_shlibpath_var
=no
10818 runpath_var
='LD_RUN_PATH'
10820 if test "$GCC" = yes; then
10821 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10829 sysv5
* | sco3.2v5
* | sco5v6
*)
10830 # Note: We can NOT use -z defs as we might desire, because we do not
10831 # link with -lc, and that would cause any symbols used from libc to
10832 # always be unresolved, which means just about no library would
10833 # ever link correctly. If we're not using GNU ld we use -z text
10834 # though, which does catch some bad symbols but isn't as heavy-handed
10836 no_undefined_flag
='${wl}-z,text'
10837 allow_undefined_flag
='${wl}-z,nodefs'
10838 archive_cmds_need_lc
=no
10839 hardcode_shlibpath_var
=no
10840 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10841 hardcode_libdir_separator
=':'
10842 link_all_deplibs
=yes
10843 export_dynamic_flag_spec
='${wl}-Bexport'
10844 runpath_var
='LD_RUN_PATH'
10846 if test "$GCC" = yes; then
10847 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10848 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10850 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10857 hardcode_libdir_flag_spec
='-L$libdir'
10858 hardcode_shlibpath_var
=no
10866 if test x
$host_vendor = xsni
; then
10868 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10869 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10876 $as_echo "$ld_shlibs" >&6; }
10877 test "$ld_shlibs" = no
&& can_build_shared
=no
10879 with_gnu_ld
=$with_gnu_ld
10896 # Do we need to explicitly link libc?
10898 case "x$archive_cmds_need_lc" in
10900 # Assume -lc should be added
10901 archive_cmds_need_lc
=yes
10903 if test "$enable_shared" = yes && test "$GCC" = yes; then
10904 case $archive_cmds in
10906 # FIXME: we may have to deal with multi-command sequences.
10909 # Test whether the compiler implicitly links with -lc since on some
10910 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10911 # to ld, don't add -lc before -lgcc.
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10913 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10914 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10915 $as_echo_n "(cached) " >&6
10918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10921 (eval $ac_compile) 2>&5
10923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10924 test $ac_status = 0; } 2>conftest.err
; then
10927 libobjs
=conftest.
$ac_objext
10929 wl
=$lt_prog_compiler_wl
10930 pic_flag
=$lt_prog_compiler_pic
10936 lt_save_allow_undefined_flag
=$allow_undefined_flag
10937 allow_undefined_flag
=
10938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10939 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10942 test $ac_status = 0; }
10944 lt_cv_archive_cmds_need_lc
=no
10946 lt_cv_archive_cmds_need_lc
=yes
10948 allow_undefined_flag
=$lt_save_allow_undefined_flag
10950 cat conftest.err
1>&5
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10956 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10957 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11121 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11123 if test "$GCC" = yes; then
11125 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11126 *) lt_awk_arg
="/^libraries:/" ;;
11129 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11130 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11132 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11133 case $lt_search_path_spec in
11135 # if the path contains ";" then we assume it to be the separator
11136 # otherwise default to the standard path separator (i.e. ":") - it is
11137 # assumed that no part of a normal pathname contains ";" but that should
11138 # okay in the real world where ";" in dirpaths is itself problematic.
11139 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11142 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11145 # Ok, now we have the path, separated by spaces, we can step through it
11146 # and add multilib dir if necessary.
11147 lt_tmp_lt_search_path_spec
=
11148 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11149 for lt_sys_path
in $lt_search_path_spec; do
11150 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11151 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11153 test -d "$lt_sys_path" && \
11154 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11157 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11158 BEGIN {RS=" "; FS="/|\n";} {
11161 for (lt_i = NF; lt_i > 0; lt_i--) {
11162 if ($lt_i != "" && $lt_i != ".") {
11163 if ($lt_i == "..") {
11166 if (lt_count == 0) {
11167 lt_foo="/" $lt_i lt_foo;
11174 if (lt_foo != "") { lt_freq[lt_foo]++; }
11175 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11177 # AWK program above erroneously prepends '/' to C:/dos/paths
11180 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11181 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11183 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11185 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11187 library_names_spec
=
11188 libname_spec
='lib$name'
11192 postuninstall_cmds
=
11196 shlibpath_overrides_runpath
=unknown
11198 dynamic_linker
="$host_os ld.so"
11199 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11200 need_lib_prefix
=unknown
11201 hardcode_into_libs
=no
11203 # when you set need_version to no, make sure it does not cause -set_version
11204 # flags to be left without arguments
11205 need_version
=unknown
11210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11211 shlibpath_var
=LIBPATH
11213 # AIX 3 has no versioning support, so we append a major version to the name.
11214 soname_spec
='${libname}${release}${shared_ext}$major'
11221 hardcode_into_libs
=yes
11222 if test "$host_cpu" = ia64
; then
11223 # AIX 5 supports IA64
11224 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11225 shlibpath_var
=LD_LIBRARY_PATH
11227 # With GCC up to 2.95.x, collect2 would create an import file
11228 # for dependence libraries. The import file would start with
11229 # the line `#! .'. This would cause the generated library to
11230 # depend on `.', always an invalid library. This was fixed in
11231 # development snapshots of GCC prior to 3.0.
11233 aix4 | aix4.
[01] | aix4.
[01].
*)
11234 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11236 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11239 can_build_shared
=no
11243 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11244 # soname into executable. Probably we can add versioning support to
11245 # collect2, so additional links can be useful in future.
11246 if test "$aix_use_runtimelinking" = yes; then
11247 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11248 # instead of lib<name>.a to let people know that these are not
11249 # typical AIX shared libraries.
11250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 # We preserve .a as extension for shared libraries through AIX4.2
11253 # and later when we are not doing run time linking.
11254 library_names_spec
='${libname}${release}.a $libname.a'
11255 soname_spec
='${libname}${release}${shared_ext}$major'
11257 shlibpath_var
=LIBPATH
11264 # Since July 2007 AmigaOS4 officially supports .so libraries.
11265 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269 library_names_spec
='$libname.ixlibrary $libname.a'
11270 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11271 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'
11277 library_names_spec
='${libname}${shared_ext}'
11278 dynamic_linker
="$host_os ld.so"
11279 shlibpath_var
=LIBRARY_PATH
11285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 soname_spec
='${libname}${release}${shared_ext}$major'
11287 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11288 shlibpath_var
=LD_LIBRARY_PATH
11289 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11290 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11291 # the default ld.so.conf also contains /usr/contrib/lib and
11292 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11293 # libtool to hard-code these into programs
11296 cygwin
* | mingw
* | pw32
* | cegcc
*)
11297 version_type
=windows
11302 case $GCC,$host_os in
11303 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11304 library_names_spec
='$libname.dll.a'
11305 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11306 postinstall_cmds
='base_file=`basename \${file}`~
11307 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11308 dldir=$destdir/`dirname \$dlpath`~
11309 test -d \$dldir || mkdir -p \$dldir~
11310 $install_prog $dir/$dlname \$dldir/$dlname~
11311 chmod a+x \$dldir/$dlname~
11312 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11313 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11315 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11316 dlpath=$dir/\$dldll~
11318 shlibpath_overrides_runpath
=yes
11322 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11323 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11325 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11328 # MinGW DLLs use traditional 'lib' prefix
11329 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11332 # pw32 DLLs use 'pw' prefix rather than 'lib'
11333 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11339 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11342 dynamic_linker
='Win32 ld.exe'
11343 # FIXME: first we should search . and the directory the executable is in
11347 darwin
* | rhapsody
*)
11348 dynamic_linker
="$host_os dyld"
11349 version_type
=darwin
11352 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11353 soname_spec
='${libname}${release}${major}$shared_ext'
11354 shlibpath_overrides_runpath
=yes
11355 shlibpath_var
=DYLD_LIBRARY_PATH
11356 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11358 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11359 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11367 soname_spec
='${libname}${release}${shared_ext}$major'
11368 shlibpath_var
=LD_LIBRARY_PATH
11371 freebsd
* | dragonfly
*)
11372 # DragonFly does not have aout. When/if they implement a new
11373 # versioning mechanism, adjust this.
11374 if test -x /usr
/bin
/objformat
; then
11375 objformat
=`/usr/bin/objformat`
11378 freebsd
[23].
*) objformat
=aout
;;
11379 *) objformat
=elf
;;
11382 version_type
=freebsd-
$objformat
11383 case $version_type in
11385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11394 shlibpath_var
=LD_LIBRARY_PATH
11397 shlibpath_overrides_runpath
=yes
11399 freebsd3.
[01]* | freebsdelf3.
[01]*)
11400 shlibpath_overrides_runpath
=yes
11401 hardcode_into_libs
=yes
11403 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11404 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11405 shlibpath_overrides_runpath
=no
11406 hardcode_into_libs
=yes
11408 *) # from 4.6 on, and DragonFly
11409 shlibpath_overrides_runpath
=yes
11410 hardcode_into_libs
=yes
11419 dynamic_linker
="$host_os runtime_loader"
11420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11421 soname_spec
='${libname}${release}${shared_ext}$major'
11422 shlibpath_var
=LIBRARY_PATH
11423 shlibpath_overrides_runpath
=yes
11424 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11425 hardcode_into_libs
=yes
11428 hpux9
* | hpux10
* | hpux11
*)
11429 # Give a soname corresponding to the major version so that dld.sl refuses to
11430 # link against other versions.
11437 hardcode_into_libs
=yes
11438 dynamic_linker
="$host_os dld.so"
11439 shlibpath_var
=LD_LIBRARY_PATH
11440 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11442 soname_spec
='${libname}${release}${shared_ext}$major'
11443 if test "X$HPUX_IA64_MODE" = X32
; then
11444 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11446 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11448 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11452 hardcode_into_libs
=yes
11453 dynamic_linker
="$host_os dld.sl"
11454 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11455 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 soname_spec
='${libname}${release}${shared_ext}$major'
11458 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11459 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11463 dynamic_linker
="$host_os dld.sl"
11464 shlibpath_var
=SHLIB_PATH
11465 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467 soname_spec
='${libname}${release}${shared_ext}$major'
11470 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11471 postinstall_cmds
='chmod 555 $lib'
11472 # or fails outright, so override atomically:
11473 install_override_mode
=555
11480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11481 soname_spec
='${libname}${release}${shared_ext}$major'
11482 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11483 shlibpath_var
=LD_LIBRARY_PATH
11484 shlibpath_overrides_runpath
=no
11485 hardcode_into_libs
=yes
11488 irix5
* | irix6
* | nonstopux
*)
11490 nonstopux
*) version_type
=nonstopux
;;
11492 if test "$lt_cv_prog_gnu_ld" = yes; then
11500 soname_spec
='${libname}${release}${shared_ext}$major'
11501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11503 irix5
* | nonstopux
*)
11504 libsuff
= shlibsuff
=
11507 case $LD in # libtool.m4 will add one of these switches to LD
11508 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11509 libsuff
= shlibsuff
= libmagic
=32-bit;;
11510 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11511 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11512 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11513 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11514 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11518 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11519 shlibpath_overrides_runpath
=no
11520 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11521 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11522 hardcode_into_libs
=yes
11525 # No shared lib support for Linux oldld, aout, or coff.
11526 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11530 # This must be Linux ELF.
11532 # uclinux* changes (here and below) have been submitted to the libtool
11533 # project, but have not yet been accepted: they are GCC-local changes
11534 # for the time being. (See
11535 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11536 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11541 soname_spec
='${libname}${release}${shared_ext}$major'
11542 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11543 shlibpath_var
=LD_LIBRARY_PATH
11544 shlibpath_overrides_runpath
=no
11546 # Some binutils ld are patched to set DT_RUNPATH
11547 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11548 $as_echo_n "(cached) " >&6
11550 lt_cv_shlibpath_overrides_runpath
=no
11551 save_LDFLAGS
=$LDFLAGS
11552 save_libdir
=$libdir
11553 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11554 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11566 if ac_fn_c_try_link
"$LINENO"; then :
11567 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11568 lt_cv_shlibpath_overrides_runpath
=yes
11571 rm -f core conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11573 LDFLAGS
=$save_LDFLAGS
11574 libdir
=$save_libdir
11578 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11580 # This implies no fast_install, which is unacceptable.
11581 # Some rework will be needed to allow for fast_install
11582 # before this can be enabled.
11583 hardcode_into_libs
=yes
11585 # Append ld.so.conf contents to the search path
11586 if test -f /etc
/ld.so.conf
; then
11587 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' ' '`
11588 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11591 # We used to test for /lib/ld.so.1 and disable shared libraries on
11592 # powerpc, because MkLinux only supported shared libraries with the
11593 # GNU dynamic linker. Since this was broken with cross compilers,
11594 # most powerpc-linux boxes support dynamic linking these days and
11595 # people can always --disable-shared, the test was removed, and we
11596 # assume the GNU/Linux dynamic linker is in use.
11597 dynamic_linker
='GNU/Linux ld.so'
11604 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11606 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11607 dynamic_linker
='NetBSD (a.out) ld.so'
11609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11610 soname_spec
='${libname}${release}${shared_ext}$major'
11611 dynamic_linker
='NetBSD ld.elf_so'
11613 shlibpath_var
=LD_LIBRARY_PATH
11614 shlibpath_overrides_runpath
=yes
11615 hardcode_into_libs
=yes
11620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621 shlibpath_var
=LD_LIBRARY_PATH
11622 shlibpath_overrides_runpath
=yes
11629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11630 soname_spec
='${libname}${release}${shared_ext}$major'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=no
11633 hardcode_into_libs
=yes
11634 dynamic_linker
='ldqnx.so'
11639 sys_lib_dlsearch_path_spec
="/usr/lib"
11641 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11643 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11644 *) need_version
=no
;;
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11648 shlibpath_var
=LD_LIBRARY_PATH
11649 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11651 openbsd2.
[89] | openbsd2.
[89].
*)
11652 shlibpath_overrides_runpath
=no
11655 shlibpath_overrides_runpath
=yes
11659 shlibpath_overrides_runpath
=yes
11664 libname_spec
='$name'
11667 library_names_spec
='$libname${shared_ext} $libname.a'
11668 dynamic_linker
='OS/2 ld.exe'
11669 shlibpath_var
=LIBPATH
11672 osf3
* | osf4
* | osf5
*)
11676 soname_spec
='${libname}${release}${shared_ext}$major'
11677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11678 shlibpath_var
=LD_LIBRARY_PATH
11679 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11680 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 soname_spec
='${libname}${release}${shared_ext}$major'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 shlibpath_overrides_runpath
=yes
11695 hardcode_into_libs
=yes
11696 # ldd complains unless libraries are executable
11697 postinstall_cmds
='chmod +x $lib'
11702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11703 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11704 shlibpath_var
=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath
=yes
11706 if test "$with_gnu_ld" = yes; then
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11716 shlibpath_var
=LD_LIBRARY_PATH
11717 case $host_vendor in
11719 shlibpath_overrides_runpath
=no
11721 runpath_var
=LD_RUN_PATH
11729 shlibpath_overrides_runpath
=no
11730 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11736 if test -d /usr
/nec
;then
11738 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11739 soname_spec
='$libname${shared_ext}.$major'
11740 shlibpath_var
=LD_LIBRARY_PATH
11744 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11745 version_type
=freebsd-elf
11748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11749 soname_spec
='${libname}${release}${shared_ext}$major'
11750 shlibpath_var
=LD_LIBRARY_PATH
11751 shlibpath_overrides_runpath
=yes
11752 hardcode_into_libs
=yes
11753 if test "$with_gnu_ld" = yes; then
11754 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11756 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11759 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11763 sys_lib_dlsearch_path_spec
='/usr/lib'
11767 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772 shlibpath_var
=LD_LIBRARY_PATH
11773 shlibpath_overrides_runpath
=no
11774 hardcode_into_libs
=yes
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780 soname_spec
='${libname}${release}${shared_ext}$major'
11781 shlibpath_var
=LD_LIBRARY_PATH
11784 # Shared libraries for VwWorks, >= 7 only at this stage
11785 # and (fpic) still incompatible with "large" code models
11786 # in a few configurations. Only for RTP mode in any case,
11787 # and upon explicit request at configure time.
11790 case ${with_multisubdir}-${enable_shared} in
11797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11798 soname_spec
='${libname}${release}${shared_ext}$major'
11799 dynamic_linker
="$host_os module_loader"
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11808 $as_echo "$dynamic_linker" >&6; }
11809 test "$dynamic_linker" = no
&& can_build_shared
=no
11811 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11812 if test "$GCC" = yes; then
11813 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11816 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11817 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11819 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11820 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11915 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11917 if test -n "$hardcode_libdir_flag_spec" ||
11918 test -n "$runpath_var" ||
11919 test "X$hardcode_automatic" = "Xyes" ; then
11921 # We can hardcode non-existent directories.
11922 if test "$hardcode_direct" != no
&&
11923 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11924 # have to relink, otherwise we might link with an installed library
11925 # when we should be linking with a yet-to-be-installed one
11926 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11927 test "$hardcode_minus_L" != no
; then
11928 # Linking always hardcodes the temporary library directory.
11929 hardcode_action
=relink
11931 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11932 hardcode_action
=immediate
11935 # We cannot hardcode anything, or else we can only hardcode existing
11937 hardcode_action
=unsupported
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11940 $as_echo "$hardcode_action" >&6; }
11942 if test "$hardcode_action" = relink ||
11943 test "$inherit_rpath" = yes; then
11944 # Fast installation is not supported
11945 enable_fast_install
=no
11946 elif test "$shlibpath_overrides_runpath" = yes ||
11947 test "$enable_shared" = no
; then
11948 # Fast installation is not necessary
11949 enable_fast_install
=needless
11957 if test "x$enable_dlopen" != xyes
; then
11958 enable_dlopen
=unknown
11959 enable_dlopen_self
=unknown
11960 enable_dlopen_self_static
=unknown
11967 lt_cv_dlopen
="load_add_on"
11969 lt_cv_dlopen_self
=yes
11972 mingw
* | pw32
* | cegcc
*)
11973 lt_cv_dlopen
="LoadLibrary"
11978 lt_cv_dlopen
="dlopen"
11983 # if libdl is installed we need to link against it
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11985 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11986 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_check_lib_save_LIBS
=$LIBS
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
12009 if ac_fn_c_try_link
"$LINENO"; then :
12010 ac_cv_lib_dl_dlopen
=yes
12012 ac_cv_lib_dl_dlopen
=no
12014 rm -f core conftest.err conftest.
$ac_objext \
12015 conftest
$ac_exeext conftest.
$ac_ext
12016 LIBS
=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12019 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12020 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12021 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12024 lt_cv_dlopen
="dyld"
12026 lt_cv_dlopen_self
=yes
12033 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12034 if test "x$ac_cv_func_shl_load" = xyes
; then :
12035 lt_cv_dlopen
="shl_load"
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12038 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12039 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12040 $as_echo_n "(cached) " >&6
12042 ac_check_lib_save_LIBS
=$LIBS
12044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12057 return shl_load ();
12062 if ac_fn_c_try_link
"$LINENO"; then :
12063 ac_cv_lib_dld_shl_load
=yes
12065 ac_cv_lib_dld_shl_load
=no
12067 rm -f core conftest.err conftest.
$ac_objext \
12068 conftest
$ac_exeext conftest.
$ac_ext
12069 LIBS
=$ac_check_lib_save_LIBS
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12072 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12073 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12074 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12076 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12077 if test "x$ac_cv_func_dlopen" = xyes
; then :
12078 lt_cv_dlopen
="dlopen"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12081 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12082 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_lib_save_LIBS
=$LIBS
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 if ac_fn_c_try_link
"$LINENO"; then :
12106 ac_cv_lib_dl_dlopen
=yes
12108 ac_cv_lib_dl_dlopen
=no
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12116 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12117 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12120 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12121 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 ac_check_lib_save_LIBS
=$LIBS
12125 LIBS
="-lsvld $LIBS"
12126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12144 if ac_fn_c_try_link
"$LINENO"; then :
12145 ac_cv_lib_svld_dlopen
=yes
12147 ac_cv_lib_svld_dlopen
=no
12149 rm -f core conftest.err conftest.
$ac_objext \
12150 conftest
$ac_exeext conftest.
$ac_ext
12151 LIBS
=$ac_check_lib_save_LIBS
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12154 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12155 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12156 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12159 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12160 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12161 $as_echo_n "(cached) " >&6
12163 ac_check_lib_save_LIBS
=$LIBS
12165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12178 return dld_link ();
12183 if ac_fn_c_try_link
"$LINENO"; then :
12184 ac_cv_lib_dld_dld_link
=yes
12186 ac_cv_lib_dld_dld_link
=no
12188 rm -f core conftest.err conftest.
$ac_objext \
12189 conftest
$ac_exeext conftest.
$ac_ext
12190 LIBS
=$ac_check_lib_save_LIBS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12193 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12194 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12195 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12216 if test "x$lt_cv_dlopen" != xno
; then
12222 case $lt_cv_dlopen in
12224 save_CPPFLAGS
="$CPPFLAGS"
12225 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12227 save_LDFLAGS
="$LDFLAGS"
12228 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12231 LIBS
="$lt_cv_dlopen_libs $LIBS"
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12234 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12235 if ${lt_cv_dlopen_self+:} false
; then :
12236 $as_echo_n "(cached) " >&6
12238 if test "$cross_compiling" = yes; then :
12239 lt_cv_dlopen_self
=cross
12241 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12242 lt_status
=$lt_dlunknown
12243 cat > conftest.
$ac_ext <<_LT_EOF
12244 #line 12244 "configure"
12245 #include "confdefs.h"
12254 # define LT_DLGLOBAL RTLD_GLOBAL
12257 # define LT_DLGLOBAL DL_GLOBAL
12259 # define LT_DLGLOBAL 0
12263 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12264 find out it does not work in some platform. */
12265 #ifndef LT_DLLAZY_OR_NOW
12267 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12270 # define LT_DLLAZY_OR_NOW DL_LAZY
12273 # define LT_DLLAZY_OR_NOW RTLD_NOW
12276 # define LT_DLLAZY_OR_NOW DL_NOW
12278 # define LT_DLLAZY_OR_NOW 0
12285 /* When -fvisbility=hidden is used, assume the code has been annotated
12286 correspondingly for the symbols needed. */
12287 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12288 void fnord () __attribute__((visibility("default")));
12291 void fnord () { int i=42; }
12294 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12295 int status = $lt_dlunknown;
12299 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12302 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12303 else puts (dlerror ());
12305 /* dlclose (self); */
12313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12314 (eval $ac_link) 2>&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12317 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12318 (.
/conftest
; exit; ) >&5 2>/dev
/null
12320 case x
$lt_status in
12321 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12322 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12323 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12326 # compilation failed
12327 lt_cv_dlopen_self
=no
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12335 $as_echo "$lt_cv_dlopen_self" >&6; }
12337 if test "x$lt_cv_dlopen_self" = xyes
; then
12338 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12340 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12341 if ${lt_cv_dlopen_self_static+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 if test "$cross_compiling" = yes; then :
12345 lt_cv_dlopen_self_static
=cross
12347 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12348 lt_status
=$lt_dlunknown
12349 cat > conftest.
$ac_ext <<_LT_EOF
12350 #line 12350 "configure"
12351 #include "confdefs.h"
12360 # define LT_DLGLOBAL RTLD_GLOBAL
12363 # define LT_DLGLOBAL DL_GLOBAL
12365 # define LT_DLGLOBAL 0
12369 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12370 find out it does not work in some platform. */
12371 #ifndef LT_DLLAZY_OR_NOW
12373 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12376 # define LT_DLLAZY_OR_NOW DL_LAZY
12379 # define LT_DLLAZY_OR_NOW RTLD_NOW
12382 # define LT_DLLAZY_OR_NOW DL_NOW
12384 # define LT_DLLAZY_OR_NOW 0
12391 /* When -fvisbility=hidden is used, assume the code has been annotated
12392 correspondingly for the symbols needed. */
12393 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12394 void fnord () __attribute__((visibility("default")));
12397 void fnord () { int i=42; }
12400 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12401 int status = $lt_dlunknown;
12405 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12408 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12409 else puts (dlerror ());
12411 /* dlclose (self); */
12419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12420 (eval $ac_link) 2>&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12423 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12424 (.
/conftest
; exit; ) >&5 2>/dev
/null
12426 case x
$lt_status in
12427 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12428 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12429 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12432 # compilation failed
12433 lt_cv_dlopen_self_static
=no
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12441 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12444 CPPFLAGS
="$save_CPPFLAGS"
12445 LDFLAGS
="$save_LDFLAGS"
12450 case $lt_cv_dlopen_self in
12451 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12452 *) enable_dlopen_self
=unknown
;;
12455 case $lt_cv_dlopen_self_static in
12456 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12457 *) enable_dlopen_self_static
=unknown
;;
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12480 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12481 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12482 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12483 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12485 $as_echo "yes" >&6; }
12487 # FIXME - insert some real tests, host_os isn't really good enough
12490 if test -n "$STRIP" ; then
12491 striplib
="$STRIP -x"
12492 old_striplib
="$STRIP -S"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12494 $as_echo "yes" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12502 $as_echo "no" >&6; }
12518 # Report which library types will actually be built
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12520 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12522 $as_echo "$can_build_shared" >&6; }
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12525 $as_echo_n "checking whether to build shared libraries... " >&6; }
12526 test "$can_build_shared" = "no" && enable_shared
=no
12528 # On AIX, shared libraries and static libraries use the same namespace, and
12529 # are all built from PIC.
12532 test "$enable_shared" = yes && enable_static
=no
12533 if test -n "$RANLIB"; then
12534 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12535 postinstall_cmds
='$RANLIB $lib'
12540 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12541 test "$enable_shared" = yes && enable_static
=no
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12546 $as_echo "$enable_shared" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12549 $as_echo_n "checking whether to build static libraries... " >&6; }
12550 # Make sure either enable_shared or enable_static is yes.
12551 test "$enable_shared" = yes || enable_static
=yes
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12553 $as_echo "$enable_static" >&6; }
12560 ac_cpp
='$CPP $CPPFLAGS'
12561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12579 ac_config_commands
="$ac_config_commands libtool"
12584 # Only expand once:
12587 if test x
$enable_darwin_at_rpath = xyes
; then
12588 ENABLE_DARWIN_AT_RPATH_TRUE
=
12589 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
12591 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
12592 ENABLE_DARWIN_AT_RPATH_FALSE
=
12599 *-cygwin* |
*-mingw*)
12600 # 'host' will be top-level target in the case of a target lib,
12601 # we must compare to with_cross_host to decide if this is a native
12602 # or cross-compiler and select where to install dlls appropriately.
12603 if test -n "$with_cross_host" &&
12604 test x
"$with_cross_host" != x
"no"; then
12605 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12607 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12618 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
12619 case $ac_cv_c_int64_t in #(
12623 cat >>confdefs.h
<<_ACEOF
12624 #define int64_t $ac_cv_c_int64_t
12629 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
12630 case $ac_cv_c_uint64_t in #(
12634 $as_echo "#define _UINT64_T 1" >>confdefs.h
12637 cat >>confdefs.h
<<_ACEOF
12638 #define uint64_t $ac_cv_c_uint64_t
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12644 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12645 if ${ac_cv_header_sys_wait_h+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12650 #include <sys/types.h>
12651 #include <sys/wait.h>
12652 #ifndef WEXITSTATUS
12653 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12656 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12664 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12669 if ac_fn_c_try_compile
"$LINENO"; then :
12670 ac_cv_header_sys_wait_h
=yes
12672 ac_cv_header_sys_wait_h
=no
12674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12677 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12678 if test $ac_cv_header_sys_wait_h = yes; then
12680 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12684 ac_config_files
="$ac_config_files Makefile"
12686 ac_config_headers
="$ac_config_headers config.h"
12688 cat >confcache
<<\_ACEOF
12689 # This file is a shell script that caches the results of configure
12690 # tests run on this system so they can be shared between configure
12691 # scripts and configure runs, see configure's option --config-cache.
12692 # It is not useful on other systems. If it contains results you don't
12693 # want to keep, you may remove or edit it.
12695 # config.status only pays attention to the cache file if you give it
12696 # the --recheck option to rerun configure.
12698 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12699 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12700 # following values.
12704 # The following way of writing the cache mishandles newlines in values,
12705 # but we know of no workaround that is simple, portable, and efficient.
12706 # So, we kill variables containing newlines.
12707 # Ultrix sh set writes to stderr and can't be redirected directly,
12708 # and sets the high bit in the cache file unless we assign to the vars.
12710 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12711 eval ac_val
=\$
$ac_var
12715 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12716 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12719 _ | IFS | as_nl
) ;; #(
12720 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12721 *) { eval $ac_var=; unset $ac_var;} ;;
12727 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12728 *${as_nl}ac_space
=\
*)
12729 # `set' does not quote correctly, so add quotes: double-quote
12730 # substitution turns \\\\ into \\, and sed turns \\ into \.
12733 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12736 # `set' quotes correctly as required by POSIX, so do not add quotes.
12737 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12746 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12748 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12750 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12751 if test -w "$cache_file"; then
12752 if test "x$cache_file" != "x/dev/null"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12754 $as_echo "$as_me: updating cache $cache_file" >&6;}
12755 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12756 cat confcache
>"$cache_file"
12758 case $cache_file in #(
12760 mv -f confcache
"$cache_file"$$
&&
12761 mv -f "$cache_file"$$
"$cache_file" ;; #(
12763 mv -f confcache
"$cache_file" ;;
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12769 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12774 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12775 # Let make expand exec_prefix.
12776 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12778 DEFS
=-DHAVE_CONFIG_H
12783 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12784 # 1. Remove the extension, and $U if already installed.
12785 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12786 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12787 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12788 # will be set to the directory where LIBOBJS objects are built.
12789 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12790 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12792 LIBOBJS
=$ac_libobjs
12794 LTLIBOBJS
=$ac_ltlibobjs
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12798 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12799 if test -n "$am_sleep_pid"; then
12800 # Hide warnings about reused PIDs.
12801 wait $am_sleep_pid 2>/dev
/null
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12804 $as_echo "done" >&6; }
12805 if test -n "$EXEEXT"; then
12807 am__EXEEXT_FALSE
='#'
12809 am__EXEEXT_TRUE
='#'
12813 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12814 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12817 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12818 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12821 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12822 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12825 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12826 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12829 if test -z "${LTO_PLUGIN_USE_SYMVER_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_FALSE}"; then
12830 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER\" was never defined.
12831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12833 if test -z "${LTO_PLUGIN_USE_SYMVER_GNU_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_GNU_FALSE}"; then
12834 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER_GNU\" was never defined.
12835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12837 if test -z "${LTO_PLUGIN_USE_SYMVER_SUN_TRUE}" && test -z "${LTO_PLUGIN_USE_SYMVER_SUN_FALSE}"; then
12838 as_fn_error $?
"conditional \"LTO_PLUGIN_USE_SYMVER_SUN\" was never defined.
12839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12841 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
12842 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
12843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12846 : "${CONFIG_STATUS=./config.status}"
12848 ac_clean_files_save
=$ac_clean_files
12849 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12851 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12853 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12855 # Generated by $as_me.
12856 # Run this file to recreate the current configuration.
12857 # Compiler output produced by configure, useful for debugging
12858 # configure, is in config.log if it exists.
12861 ac_cs_recheck=false
12864 SHELL=\${CONFIG_SHELL-$SHELL}
12867 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12868 ## -------------------- ##
12869 ## M4sh Initialization. ##
12870 ## -------------------- ##
12872 # Be more Bourne compatible
12873 DUALCASE
=1; export DUALCASE
# for MKS sh
12874 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12878 # is contrary to our usage. Disable this feature.
12879 alias -g '${1+"$@"}'='"$@"'
12880 setopt NO_GLOB_SUBST
12882 case `(set -o) 2>/dev/null` in #(
12894 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12895 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12898 # Prefer a ksh shell builtin over an external printf program on Solaris,
12899 # but without wasting forks for bash or zsh.
12900 if test -z "$BASH_VERSION$ZSH_VERSION" \
12901 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12902 as_echo='print
-r --'
12903 as_echo_n='print
-rn --'
12904 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12905 as_echo='printf %s
\n'
12906 as_echo_n='printf %s
'
12908 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12909 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12910 as_echo_n='/usr
/ucb
/echo -n'
12912 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12913 as_echo_n_body='eval
12917 expr "X$arg" : "X\\(.*\\)$as_nl";
12918 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12920 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12922 export as_echo_n_body
12923 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12925 export as_echo_body
12926 as_echo='sh
-c $as_echo_body as_echo
'
12929 # The user is always right.
12930 if test "${PATH_SEPARATOR+set}" != set; then
12932 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12933 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12940 # We need space, tab and new line, in precisely that order. Quoting is
12941 # there to prevent editors from complaining about space-tab.
12942 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12943 # splitting by setting IFS to empty value.)
12946 # Find who we are. Look in the path if we contain no directory separator.
12949 *[\\/]* ) as_myself=$0 ;;
12950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12951 for as_dir in $PATH
12954 test -z "$as_dir" && as_dir=.
12955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12961 # We did not find ourselves, most probably we were run as `sh COMMAND'
12962 # in which case we are not to be found in the path.
12963 if test "x$as_myself" = x
; then
12966 if test ! -f "$as_myself"; then
12967 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12971 # Unset variables that we do not need and which cause bugs (e.g. in
12972 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12973 # suppresses any "Segmentation fault" message there. '((' could
12974 # trigger a bug in pdksh 5.2.14.
12975 for as_var
in BASH_ENV ENV MAIL MAILPATH
12976 do eval test x\
${$as_var+set} = xset \
12977 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12990 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12993 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12994 # ----------------------------------------
12995 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12996 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12997 # script with STATUS, using 1 if that was 0.
13000 as_status
=$1; test $as_status -eq 0 && as_status
=1
13002 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13003 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13005 $as_echo "$as_me: error: $2" >&2
13006 as_fn_exit
$as_status
13010 # as_fn_set_status STATUS
13011 # -----------------------
13012 # Set $? to STATUS, without forking.
13013 as_fn_set_status
()
13016 } # as_fn_set_status
13018 # as_fn_exit STATUS
13019 # -----------------
13020 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13024 as_fn_set_status
$1
13030 # Portably unset VAR.
13033 { eval $1=; unset $1;}
13035 as_unset
=as_fn_unset
13036 # as_fn_append VAR VALUE
13037 # ----------------------
13038 # Append the text in VALUE to the end of the definition contained in VAR. Take
13039 # advantage of any shell optimizations that allow amortized linear growth over
13040 # repeated appends, instead of the typical quadratic growth present in naive
13042 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13043 eval 'as_fn_append ()
13054 # as_fn_arith ARG...
13055 # ------------------
13056 # Perform arithmetic evaluation on the ARGs, and store the result in the
13057 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13058 # must be portable across $(()) and expr.
13059 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13060 eval 'as_fn_arith ()
13067 as_val
=`expr "$@" || test $? -eq 1`
13072 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13073 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13079 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13080 as_basename
=basename
13085 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13091 as_me
=`$as_basename -- "$0" ||
13092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13093 X"$0" : 'X\(//\)$' \| \
13094 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13096 sed '/^.*\/\([^/][^/]*\)\/*$/{
13110 # Avoid depending upon Character Ranges.
13111 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13112 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13113 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13114 as_cr_digits
='0123456789'
13115 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13117 ECHO_C
= ECHO_N
= ECHO_T
=
13118 case `echo -n x` in #(((((
13120 case `echo 'xy\c'` in
13121 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13123 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13130 rm -f conf$$ conf$$.exe conf$$.
file
13131 if test -d conf$$.dir
; then
13132 rm -f conf$$.dir
/conf$$.
file
13135 mkdir conf$$.dir
2>/dev
/null
13137 if (echo >conf$$.
file) 2>/dev
/null
; then
13138 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13140 # ... but there are two gotchas:
13141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13143 # In both cases, we have to default to `cp -pR'.
13144 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13146 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13154 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13155 rmdir conf$$.dir
2>/dev
/null
13160 # Create "$as_dir" as a directory, including parents if necessary.
13165 -*) as_dir
=.
/$as_dir;;
13167 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13171 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13172 *) as_qdir
=$as_dir;;
13174 as_dirs
="'$as_qdir' $as_dirs"
13175 as_dir
=`$as_dirname -- "$as_dir" ||
13176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13177 X"$as_dir" : 'X\(//\)[^/]' \| \
13178 X"$as_dir" : 'X\(//\)$' \| \
13179 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13180 $as_echo X"$as_dir" |
13181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13185 /^X\(\/\/\)[^/].*/{
13198 test -d "$as_dir" && break
13200 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13201 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13205 if mkdir
-p .
2>/dev
/null
; then
13206 as_mkdir_p
='mkdir -p "$as_dir"'
13208 test -d .
/-p && rmdir .
/-p
13213 # as_fn_executable_p FILE
13214 # -----------------------
13215 # Test if FILE is an executable regular file.
13216 as_fn_executable_p
()
13218 test -f "$1" && test -x "$1"
13219 } # as_fn_executable_p
13220 as_test_x
='test -x'
13221 as_executable_p
=as_fn_executable_p
13223 # Sed expression to map a string onto a valid CPP name.
13224 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13226 # Sed expression to map a string onto a valid variable name.
13227 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13231 ## ----------------------------------- ##
13232 ## Main body of $CONFIG_STATUS script. ##
13233 ## ----------------------------------- ##
13235 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13238 # Save the log message, to keep $0 and so on meaningful, and to
13239 # report actual input values of CONFIG_FILES etc. instead of their
13240 # values after options handling.
13242 This file was extended by LTO plugin for ld $as_me 0.1, which was
13243 generated by GNU Autoconf 2.69. Invocation command line was
13245 CONFIG_FILES = $CONFIG_FILES
13246 CONFIG_HEADERS = $CONFIG_HEADERS
13247 CONFIG_LINKS = $CONFIG_LINKS
13248 CONFIG_COMMANDS = $CONFIG_COMMANDS
13251 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13256 case $ac_config_files in *"
13257 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13260 case $ac_config_headers in *"
13261 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13266 # Files that config.status was made for.
13267 config_files="$ac_config_files"
13268 config_headers="$ac_config_headers"
13269 config_commands="$ac_config_commands"
13273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13275 \`$as_me' instantiates files and other configuration actions
13276 from templates according to the current configuration. Unless the files
13277 and actions are specified as TAGs, all are instantiated by default.
13279 Usage: $0 [OPTION]... [TAG]...
13281 -h, --help print this help, then exit
13282 -V, --version print version number and configuration settings, then exit
13283 --config print configuration, then exit
13284 -q, --quiet, --silent
13285 do not print progress messages
13286 -d, --debug don't remove temporary files
13287 --recheck update $as_me by reconfiguring in the same conditions
13288 --file=FILE[:TEMPLATE]
13289 instantiate the configuration file FILE
13290 --header=FILE[:TEMPLATE]
13291 instantiate the configuration header FILE
13293 Configuration files:
13296 Configuration headers:
13299 Configuration commands:
13302 Report bugs to the package provider."
13305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13306 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13308 LTO plugin for ld config.status 0.1
13309 configured by $0, generated by GNU Autoconf 2.69,
13310 with options \\"\$ac_cs_config\\"
13312 Copyright (C) 2012 Free Software Foundation, Inc.
13313 This config.status script is free software; the Free Software Foundation
13314 gives unlimited permission to copy, distribute and modify it."
13321 test -n "\$AWK" || AWK=awk
13324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13325 # The default lists apply if the user does not specify any file.
13331 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13332 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13336 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13348 # Handling of the options.
13349 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13351 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13352 $as_echo "$ac_cs_version"; exit ;;
13353 --config |
--confi |
--conf |
--con |
--co |
--c )
13354 $as_echo "$ac_cs_config"; exit ;;
13355 --debug |
--debu |
--deb |
--de |
--d |
-d )
13357 --file |
--fil |
--fi |
--f )
13360 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13361 '') as_fn_error $?
"missing file argument" ;;
13363 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13364 ac_need_defaults
=false
;;
13365 --header |
--heade |
--head |
--hea )
13368 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13370 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13371 ac_need_defaults
=false
;;
13373 # Conflict between --help and --header
13374 as_fn_error $?
"ambiguous option: \`$1'
13375 Try \`$0 --help' for more information.";;
13376 --help |
--hel |
-h )
13377 $as_echo "$ac_cs_usage"; exit ;;
13378 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13379 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13382 # This is an error.
13383 -*) as_fn_error $?
"unrecognized option: \`$1'
13384 Try \`$0 --help' for more information." ;;
13386 *) as_fn_append ac_config_targets
" $1"
13387 ac_need_defaults
=false
;;
13393 ac_configure_extra_args
=
13395 if $ac_cs_silent; then
13397 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13402 if \$ac_cs_recheck; then
13403 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13405 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13406 CONFIG_SHELL='$SHELL'
13407 export CONFIG_SHELL
13412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13416 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13417 ## Running $as_me. ##
13423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13427 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13430 # The HP-UX ksh and POSIX shell print the target directory to stdout
13431 # if CDPATH is set.
13432 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13434 sed_quote_subst='$sed_quote_subst'
13435 double_quote_subst='$double_quote_subst'
13436 delay_variable_subst='$delay_variable_subst'
13437 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13438 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13439 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13440 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13441 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13442 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13443 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13444 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13445 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13446 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13447 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13448 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13449 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13450 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13451 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13452 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13453 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13454 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13455 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13456 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13457 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13458 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13459 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13460 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13461 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13462 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13463 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13464 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13465 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13466 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13467 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13468 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13469 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13470 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13471 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13472 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13473 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13474 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13475 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13476 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13477 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13478 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13479 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13480 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13481 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13482 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13483 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13484 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13485 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"`'
13486 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13487 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13488 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13489 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13490 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13491 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13492 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13493 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13494 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13495 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13496 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13497 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13498 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13499 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13500 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13501 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13502 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13503 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13504 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13505 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13506 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13507 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13508 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13509 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13510 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13511 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13512 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13513 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13514 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13515 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13516 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13517 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13518 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13519 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13520 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13521 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13522 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13523 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13524 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13525 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13526 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13527 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13528 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13529 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13530 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13531 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13532 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13533 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13534 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13535 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13536 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13537 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13538 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13539 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13540 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13541 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13542 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13543 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13544 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13545 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13546 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13547 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13548 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13549 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13550 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13551 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13552 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13553 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13554 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13555 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13556 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13559 LTCFLAGS='$LTCFLAGS'
13560 compiler='$compiler_DEFAULT'
13562 # A function that is used when there is no print builtin or printf.
13563 func_fallback_echo ()
13565 eval 'cat <<_LTECHO_EOF
13570 # Quote evaled strings.
13584 deplibs_check_method \
13593 lt_cv_sys_global_symbol_pipe \
13594 lt_cv_sys_global_symbol_to_cdecl \
13595 lt_cv_sys_global_symbol_to_c_name_address \
13596 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13597 lt_prog_compiler_no_builtin_flag \
13598 lt_prog_compiler_wl \
13599 lt_prog_compiler_pic \
13600 lt_prog_compiler_static \
13601 lt_cv_prog_compiler_c_o \
13609 export_dynamic_flag_spec \
13610 whole_archive_flag_spec \
13611 compiler_needs_object \
13613 allow_undefined_flag \
13614 no_undefined_flag \
13615 hardcode_libdir_flag_spec \
13616 hardcode_libdir_flag_spec_ld \
13617 hardcode_libdir_separator \
13622 variables_saved_for_relink \
13624 library_names_spec \
13626 install_override_mode \
13630 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13631 *[\\\\\\\`\\"\\\$]*)
13632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13640 # Double-quote double-evaled strings.
13641 for var in reload_cmds \
13642 old_postinstall_cmds \
13643 old_postuninstall_cmds \
13645 extract_expsyms_cmds \
13646 old_archive_from_new_cmds \
13647 old_archive_from_expsyms_cmds \
13649 archive_expsym_cmds \
13651 module_expsym_cmds \
13652 export_symbols_cmds \
13655 postuninstall_cmds \
13657 sys_lib_search_path_spec \
13658 sys_lib_dlsearch_path_spec; do
13659 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13660 *[\\\\\\\`\\"\\\$]*)
13661 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13664 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13669 ac_aux_dir='$ac_aux_dir'
13670 xsi_shell='$xsi_shell'
13671 lt_shell_append='$lt_shell_append'
13673 # See if we are running on zsh, and set the options which allow our
13674 # commands through without removal of \ escapes INIT.
13675 if test -n "\${ZSH_VERSION+set}" ; then
13676 setopt NO_GLOB_SUBST
13682 TIMESTAMP='$TIMESTAMP'
13691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13693 # Handling of arguments.
13694 for ac_config_target
in $ac_config_targets
13696 case $ac_config_target in
13697 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13698 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13699 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13700 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13702 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13707 # If the user did not use the arguments to specify the items to instantiate,
13708 # then the envvar interface is used. Set only those that are not.
13709 # We use the long form for the default assignment because of an extremely
13710 # bizarre bug on SunOS 4.1.3.
13711 if $ac_need_defaults; then
13712 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13713 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13714 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13717 # Have a temporary directory for convenience. Make it in the build tree
13718 # simply because there is no reason against having it here, and in addition,
13719 # creating and moving files from /tmp can sometimes cause problems.
13720 # Hook for its removal unless debugging.
13721 # Note that there is a small window in which the directory will not be cleaned:
13722 # after its creation but before its name has been assigned to `$tmp'.
13726 trap 'exit_status=$?
13727 : "${ac_tmp:=$tmp}"
13728 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13730 trap 'as_fn_exit 1' 1 2 13 15
13732 # Create a (secure) tmp directory for tmp files.
13735 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13739 tmp
=.
/conf$$
-$RANDOM
13740 (umask 077 && mkdir
"$tmp")
13741 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13744 # Set up the scripts for CONFIG_FILES section.
13745 # No need to generate them if there are no CONFIG_FILES.
13746 # This happens for instance with `./config.status config.h'.
13747 if test -n "$CONFIG_FILES"; then
13750 ac_cr
=`echo X | tr X '\015'`
13751 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13752 # But we know of no other shell where ac_cr would be empty at this
13753 # point, so we can use a bashism as a fallback.
13754 if test "x$ac_cr" = x
; then
13755 eval ac_cr
=\$
\'\\r
\'
13757 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13758 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13761 ac_cs_awk_cr
=$ac_cr
13764 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13769 echo "cat >conf$$subs.awk <<_ACEOF" &&
13770 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13772 } >conf$$subs.sh ||
13773 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13774 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13776 for ac_last_try in false false false false false :; do
13777 . ./conf$$subs.sh ||
13778 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13780 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13781 if test $ac_delim_n = $ac_delim_num; then
13783 elif $ac_last_try; then
13784 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13786 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13789 rm -f conf$$subs.sh
13791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13792 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13796 s/^/S["/; s
/!.
*/"]=/
13806 s/\(.\{148\}\)..*/\1/
13808 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13813 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13820 s/\(.\{148\}\)..*/\1/
13822 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13826 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13831 ' <conf$$subs.awk | sed '
13836 ' >>$CONFIG_STATUS || ac_write_fail=1
13837 rm -f conf$$subs.awk
13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13840 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13841 for (key in S) S_is_set[key] = 1
13847 nfields = split(line, field, "@
")
13849 len = length(field[1])
13850 for (i = 2; i < nfields; i++) {
13852 keylen = length(key)
13853 if (S_is_set[key]) {
13855 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13856 len += length(value) + length(field[++i])
13867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13868 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13869 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13872 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13873 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13876 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13877 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13878 # trailing colons and then remove the whole line if VPATH becomes empty
13879 # (actually we leave an empty line to preserve line numbers).
13880 if test "x
$srcdir" = x.; then
13881 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13900 fi # test -n "$CONFIG_FILES"
13902 # Set up the scripts for CONFIG_HEADERS section.
13903 # No need to generate them if there are no CONFIG_HEADERS.
13904 # This happens for instance with `./config.status Makefile'.
13905 if test -n "$CONFIG_HEADERS"; then
13906 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13910 # Transform confdefs.h into an awk script `defines.awk', embedded as
13911 # here-document in config.status, that substitutes the proper values into
13912 # config.h.in to produce config.h.
13914 # Create a delimiter string that does not exist in confdefs.h, to ease
13915 # handling of long lines.
13917 for ac_last_try in false false :; do
13918 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13919 if test -z "$ac_tt"; then
13921 elif $ac_last_try; then
13922 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13924 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13928 # For the awk script, D is an array of macro values keyed by name,
13929 # likewise P contains macro parameters if any. Preserve backslash
13930 # newline sequences.
13932 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13934 s/.\{148\}/&'"$ac_delim"'/g
13937 s/^[ ]*#[ ]*define[ ][ ]*/ /
13944 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13946 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13950 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13951 D["\
1"]=" \
3\\\\\\n
"\\/p
13953 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13958 s/.\{148\}/&'"$ac_delim"'/g
13963 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13966 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13968 ' <confdefs.h | sed '
13969 s/'"$ac_delim"'/"\\\
13970 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13973 for (key in D) D_is_set[key] = 1
13976 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13978 split(line, arg, " ")
13979 if (arg[1] == "#") {
13983 defundef
= substr
(arg
[1], 2)
13986 split(mac1
, mac2
, "(") #)
13988 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13989 if (D_is_set
[macro
]) {
13990 # Preserve the white space surrounding the "#".
13991 print prefix
"define", macro P
[macro
] D
[macro
]
13994 # Replace #undef with comments. This is necessary, for example,
13995 # in the case of _POSIX_SOURCE, which is predefined and required
13996 # on some systems where configure will not decide to define it.
13997 if (defundef
== "undef") {
13998 print
"/*", prefix defundef
, macro
, "*/"
14006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14007 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14008 fi # test -n "$CONFIG_HEADERS"
14011 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14016 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14018 case $ac_mode$ac_tag in
14020 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14021 :[FH
]-) ac_tag
=-:-;;
14022 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14039 -) ac_f
="$ac_tmp/stdin";;
14040 *) # Look for the file first in the build tree, then in the source tree
14041 # (if the path is not absolute). The absolute path cannot be DOS-style,
14042 # because $ac_f cannot contain `:'.
14046 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14048 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14050 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14051 as_fn_append ac_file_inputs
" '$ac_f'"
14054 # Let's still pretend it is `configure' which instantiates (i.e., don't
14055 # use $as_me), people would be surprised to read:
14056 # /* config.h. Generated by config.status. */
14057 configure_input
='Generated from '`
14058 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14060 if test x
"$ac_file" != x-
; then
14061 configure_input
="$ac_file. $configure_input"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14063 $as_echo "$as_me: creating $ac_file" >&6;}
14065 # Neutralize special characters interpreted by sed in replacement strings.
14066 case $configure_input in #(
14067 *\
&* |
*\|
* |
*\\* )
14068 ac_sed_conf_input
=`$as_echo "$configure_input" |
14069 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14070 *) ac_sed_conf_input
=$configure_input;;
14074 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14075 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14080 ac_dir
=`$as_dirname -- "$ac_file" ||
14081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14082 X"$ac_file" : 'X\(//\)[^/]' \| \
14083 X"$ac_file" : 'X\(//\)$' \| \
14084 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14085 $as_echo X"$ac_file" |
14086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14090 /^X\(\/\/\)[^/].*/{
14103 as_dir
="$ac_dir"; as_fn_mkdir_p
14107 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14109 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14110 # A ".." for each directory in $ac_dir_suffix.
14111 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14112 case $ac_top_builddir_sub in
14113 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14114 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14117 ac_abs_top_builddir
=$ac_pwd
14118 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14119 # for backward compatibility:
14120 ac_top_builddir
=$ac_top_build_prefix
14123 .
) # We are building in place.
14125 ac_top_srcdir
=$ac_top_builddir_sub
14126 ac_abs_top_srcdir
=$ac_pwd ;;
14127 [\\/]* | ?
:[\\/]* ) # Absolute name.
14128 ac_srcdir
=$srcdir$ac_dir_suffix;
14129 ac_top_srcdir
=$srcdir
14130 ac_abs_top_srcdir
=$srcdir ;;
14131 *) # Relative name.
14132 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14133 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14134 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14136 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14146 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14147 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14149 ac_MKDIR_P
=$MKDIR_P
14151 [\\/$
]* | ?
:[\\/]* ) ;;
14152 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14157 # If the template does not know about datarootdir, expand it.
14158 # FIXME: This hack should be removed a few years after 2.60.
14159 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14170 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14171 *datarootdir
*) ac_datarootdir_seen
=yes;;
14172 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14174 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14177 ac_datarootdir_hack='
14178 s&@datadir@&$datadir&g
14179 s&@docdir@&$docdir&g
14180 s&@infodir@&$infodir&g
14181 s&@localedir@&$localedir&g
14182 s&@mandir@&$mandir&g
14183 s&\\\${datarootdir}&$datarootdir&g' ;;
14187 # Neutralize VPATH when `$srcdir' = `.'.
14188 # Shell code in configure.ac might set extrasub.
14189 # FIXME: do we really want to maintain this feature?
14190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14191 ac_sed_extra="$ac_vpsub
14194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14196 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14197 s|@configure_input@|
$ac_sed_conf_input|
;t t
14198 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14199 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14200 s
&@srcdir@
&$ac_srcdir&;t t
14201 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14202 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14203 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14204 s
&@builddir@
&$ac_builddir&;t t
14205 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14206 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14207 s
&@INSTALL@
&$ac_INSTALL&;t t
14208 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14209 $ac_datarootdir_hack
14211 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14212 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14215 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14217 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14219 which seems to be undefined. Please make sure it is defined" >&5
14220 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14221 which seems to be undefined. Please make sure it is defined" >&2;}
14223 rm -f "$ac_tmp/stdin"
14225 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14226 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14234 if test x"$ac_file" != x-; then
14236 $as_echo "/* $configure_input */" \
14237 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14238 } >"$ac_tmp/config.h" \
14239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14240 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14242 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14245 mv "$ac_tmp/config.h" "$ac_file" \
14246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14249 $as_echo "/* $configure_input */" \
14250 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14251 || as_fn_error $? "could not create -" "$LINENO" 5
14253 # Compute "$ac_file"'s index
in $config_headers.
14256 for _am_header
in $config_headers :; do
14257 case $_am_header in
14258 $_am_arg |
$_am_arg:* )
14261 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14264 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14265 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14266 X"$_am_arg" : 'X\(//\)[^/]' \| \
14267 X"$_am_arg" : 'X\(//\)$' \| \
14268 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14269 $as_echo X"$_am_arg" |
14270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14274 /^X\(\/\/\)[^/].*/{
14286 s/.*/./; q'`/stamp-h
$_am_stamp_count
14289 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14290 $as_echo "$as_me: executing $ac_file commands" >&6;}
14295 case $ac_file$ac_mode in
14296 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14297 # Older Autoconf quotes --file arguments for eval, but not when files
14298 # are listed without --file. Let's play safe and only enable the eval
14299 # if we detect the quoting.
14300 case $CONFIG_FILES in
14301 *\'*) eval set x
"$CONFIG_FILES" ;;
14302 *) set x
$CONFIG_FILES ;;
14307 # Strip MF so we end up with the name of the file.
14308 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14309 # Check whether this is an Automake generated Makefile or not.
14310 # We used to match only the files named 'Makefile.in', but
14311 # some people rename them; so instead we look at the file content.
14312 # Grep'ing the first line is not enough: some people post-process
14313 # each Makefile.in and add a new line on top of each file to say so.
14314 # Grep'ing the whole file is not good either: AIX grep has a line
14315 # limit of 2048, but all sed's we know have understand at least 4000.
14316 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14317 dirpart
=`$as_dirname -- "$mf" ||
14318 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14319 X"$mf" : 'X\(//\)[^/]' \| \
14320 X"$mf" : 'X\(//\)$' \| \
14321 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14327 /^X\(\/\/\)[^/].*/{
14343 # Extract the definition of DEPDIR, am__include, and am__quote
14344 # from the Makefile without running 'make'.
14345 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14346 test -z "$DEPDIR" && continue
14347 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14348 test -z "$am__include" && continue
14349 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14350 # Find all dependency output files, they are included files with
14351 # $(DEPDIR) in their names. We invoke sed twice because it is the
14352 # simplest approach to changing $(DEPDIR) to its actual value in the
14354 for file in `sed -n "
14355 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14357 # Make sure the directory exists.
14358 test -f "$dirpart/$file" && continue
14359 fdir
=`$as_dirname -- "$file" ||
14360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14361 X"$file" : 'X\(//\)[^/]' \| \
14362 X"$file" : 'X\(//\)$' \| \
14363 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14364 $as_echo X"$file" |
14365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14369 /^X\(\/\/\)[^/].*/{
14382 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14383 # echo "creating $dirpart/$file"
14384 echo '# dummy' > "$dirpart/$file"
14391 # See if we are running on zsh, and set the options which allow our
14392 # commands through without removal of \ escapes.
14393 if test -n "${ZSH_VERSION+set}" ; then
14394 setopt NO_GLOB_SUBST
14397 cfgfile
="${ofile}T"
14398 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14401 cat <<_LT_EOF >> "$cfgfile"
14404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14407 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14410 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14411 # Written by Gordon Matzigkeit, 1996
14413 # This file is part of GNU Libtool.
14415 # GNU Libtool is free software; you can redistribute it and/or
14416 # modify it under the terms of the GNU General Public License as
14417 # published by the Free Software Foundation; either version 2 of
14418 # the License, or (at your option) any later version.
14420 # As a special exception to the GNU General Public License,
14421 # if you distribute this file as part of a program or library that
14422 # is built using GNU Libtool, you may include this file under the
14423 # same distribution terms that you use for the rest of that program.
14425 # GNU Libtool is distributed in the hope that it will be useful,
14426 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14427 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14428 # GNU General Public License for more details.
14430 # You should have received a copy of the GNU General Public License
14431 # along with GNU Libtool; see the file COPYING. If not, a copy
14432 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14433 # obtained by writing to the Free Software Foundation, Inc.,
14434 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14437 # The names of the tagged configurations supported by this script.
14440 # ### BEGIN LIBTOOL CONFIG
14442 # Which release of libtool.m4 was used?
14443 macro_version=$macro_version
14444 macro_revision=$macro_revision
14446 # Whether or not to build shared libraries.
14447 build_libtool_libs=$enable_shared
14449 # Whether or not to build static libraries.
14450 build_old_libs=$enable_static
14452 # What type of objects to build.
14455 # Whether or not to optimize for fast installation.
14456 fast_install=$enable_fast_install
14458 # Shell to use when invoking shell scripts.
14461 # An echo program that protects backslashes.
14465 host_alias=$host_alias
14469 # The build system.
14470 build_alias=$build_alias
14474 # A sed program that does not truncate output.
14477 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14478 Xsed="\$SED -e 1s/^X//"
14480 # A grep program that handles long lines.
14486 # A literal string matcher.
14489 # A BSD- or MS-compatible name lister.
14492 # Whether we need soft or hard links.
14495 # What is the maximum length of a command?
14496 max_cmd_len=$max_cmd_len
14498 # Object file suffix (normally "o").
14501 # Executable file suffix (normally "").
14504 # whether the shell understands "unset".
14507 # turn spaces into newlines.
14510 # turn newlines into spaces.
14513 # An object symbol dumper.
14514 OBJDUMP=$lt_OBJDUMP
14516 # Method to check whether dependent libraries are shared objects.
14517 deplibs_check_method=$lt_deplibs_check_method
14519 # Command to use when deplibs_check_method == "file_magic".
14520 file_magic_cmd=$lt_file_magic_cmd
14524 AR_FLAGS=$lt_AR_FLAGS
14526 # A symbol stripping program.
14529 # Commands used to install an old-style archive.
14531 old_postinstall_cmds=$lt_old_postinstall_cmds
14532 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14534 # Whether to use a lock for old archive extraction.
14535 lock_old_archive_extraction=$lock_old_archive_extraction
14540 # LTCC compiler flags.
14541 LTCFLAGS=$lt_CFLAGS
14543 # Take the output of nm and produce a listing of raw symbols and C names.
14544 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14546 # Transform the output of nm in a proper C declaration.
14547 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14549 # Transform the output of nm in a C name address pair.
14550 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14552 # Transform the output of nm in a C name address pair when lib prefix is needed.
14553 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14555 # The name of the directory that contains temporary libtool files.
14558 # Used to examine libraries when file_magic_cmd begins with "file".
14559 MAGIC_CMD=$MAGIC_CMD
14561 # Must we lock files when doing compilation?
14562 need_locks=$lt_need_locks
14564 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14565 DSYMUTIL=$lt_DSYMUTIL
14567 # Tool to change global to local symbols on Mac OS X.
14570 # Tool to manipulate fat objects and archives on Mac OS X.
14573 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14576 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14577 OTOOL64=$lt_OTOOL64
14579 # Old archive suffix (normally "a").
14582 # Shared library suffix (normally ".so").
14583 shrext_cmds=$lt_shrext_cmds
14585 # The commands to extract the exported symbol list from a shared archive.
14586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14588 # Variables whose values should be saved in libtool wrapper scripts and
14589 # restored at link time.
14590 variables_saved_for_relink=$lt_variables_saved_for_relink
14592 # Do we need the "lib" prefix for modules?
14593 need_lib_prefix=$need_lib_prefix
14595 # Do we need a version for libraries?
14596 need_version=$need_version
14598 # Library versioning type.
14599 version_type=$version_type
14601 # Shared library runtime path variable.
14602 runpath_var=$runpath_var
14604 # Shared library path variable.
14605 shlibpath_var=$shlibpath_var
14607 # Is shlibpath searched before the hard-coded library search path?
14608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14610 # Format of library name prefix.
14611 libname_spec=$lt_libname_spec
14613 # List of archive names. First name is the real one, the rest are links.
14614 # The last name is the one that the linker finds with -lNAME
14615 library_names_spec=$lt_library_names_spec
14617 # The coded name of the library, if different from the real name.
14618 soname_spec=$lt_soname_spec
14620 # Permission mode override for installation of shared libraries.
14621 install_override_mode=$lt_install_override_mode
14623 # Command to use after installation of a shared archive.
14624 postinstall_cmds=$lt_postinstall_cmds
14626 # Command to use after uninstallation of a shared archive.
14627 postuninstall_cmds=$lt_postuninstall_cmds
14629 # Commands used to finish a libtool library installation in a directory.
14630 finish_cmds=$lt_finish_cmds
14632 # As "finish_cmds", except a single script fragment to be evaled but
14634 finish_eval=$lt_finish_eval
14636 # Whether we should hardcode library paths into libraries.
14637 hardcode_into_libs=$hardcode_into_libs
14639 # Compile-time system search path for libraries.
14640 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14642 # Run-time system search path for libraries.
14643 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14645 # Whether dlopen is supported.
14646 dlopen_support=$enable_dlopen
14648 # Whether dlopen of programs is supported.
14649 dlopen_self=$enable_dlopen_self
14651 # Whether dlopen of statically linked programs is supported.
14652 dlopen_self_static=$enable_dlopen_self_static
14654 # Commands to strip libraries.
14655 old_striplib=$lt_old_striplib
14656 striplib=$lt_striplib
14659 # The linker used to build libraries.
14662 # How to create reloadable object files.
14663 reload_flag=$lt_reload_flag
14664 reload_cmds=$lt_reload_cmds
14666 # Commands used to build an old-style archive.
14667 old_archive_cmds=$lt_old_archive_cmds
14669 # A language specific compiler.
14672 # Is the compiler the GNU compiler?
14675 # Compiler flag to turn off builtin functions.
14676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14678 # How to pass a linker flag through the compiler.
14679 wl=$lt_lt_prog_compiler_wl
14681 # Additional compiler flags for building library objects.
14682 pic_flag=$lt_lt_prog_compiler_pic
14684 # Compiler flag to prevent dynamic linking.
14685 link_static_flag=$lt_lt_prog_compiler_static
14687 # Does compiler simultaneously support -c and -o options?
14688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14690 # Whether or not to add -lc for building shared libraries.
14691 build_libtool_need_lc=$archive_cmds_need_lc
14693 # Whether or not to disallow shared libs when runtime libs are static.
14694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14696 # Compiler flag to allow reflexive dlopens.
14697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14699 # Compiler flag to generate shared objects directly from archives.
14700 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14702 # Whether the compiler copes with passing no objects directly.
14703 compiler_needs_object=$lt_compiler_needs_object
14705 # Create an old-style archive from a shared archive.
14706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14708 # Create a temporary old-style archive to link instead of a shared archive.
14709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14711 # Commands used to build a shared archive.
14712 archive_cmds=$lt_archive_cmds
14713 archive_expsym_cmds=$lt_archive_expsym_cmds
14715 # Commands used to build a loadable module if different from building
14716 # a shared archive.
14717 module_cmds=$lt_module_cmds
14718 module_expsym_cmds=$lt_module_expsym_cmds
14720 # Whether we are building with GNU ld or not.
14721 with_gnu_ld=$lt_with_gnu_ld
14723 # Flag that allows shared libraries with undefined symbols to be built.
14724 allow_undefined_flag=$lt_allow_undefined_flag
14726 # Flag that enforces no undefined symbols.
14727 no_undefined_flag=$lt_no_undefined_flag
14729 # Flag to hardcode \$libdir into a binary during linking.
14730 # This must work even if \$libdir does not exist
14731 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14733 # If ld is used when linking, flag to hardcode \$libdir into a binary
14734 # during linking. This must work even if \$libdir does not exist.
14735 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14737 # Whether we need a single "-rpath" flag with a separated argument.
14738 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14740 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14741 # DIR into the resulting binary.
14742 hardcode_direct=$hardcode_direct
14744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14745 # DIR into the resulting binary and the resulting library dependency is
14746 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14747 # library is relocated.
14748 hardcode_direct_absolute=$hardcode_direct_absolute
14750 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14751 # into the resulting binary.
14752 hardcode_minus_L=$hardcode_minus_L
14754 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14755 # into the resulting binary.
14756 hardcode_shlibpath_var=$hardcode_shlibpath_var
14758 # Set to "yes" if building a shared library automatically hardcodes DIR
14759 # into the library and all subsequent libraries and executables linked
14761 hardcode_automatic=$hardcode_automatic
14763 # Set to yes if linker adds runtime paths of dependent libraries
14764 # to runtime path list.
14765 inherit_rpath=$inherit_rpath
14767 # Whether libtool must link a program against all its dependency libraries.
14768 link_all_deplibs=$link_all_deplibs
14770 # Fix the shell variable \$srcfile for the compiler.
14771 fix_srcfile_path=$lt_fix_srcfile_path
14773 # Set to "yes" if exported symbols are required.
14774 always_export_symbols=$always_export_symbols
14776 # The commands to list exported symbols.
14777 export_symbols_cmds=$lt_export_symbols_cmds
14779 # Symbols that should not be listed in the preloaded symbols.
14780 exclude_expsyms=$lt_exclude_expsyms
14782 # Symbols that must always be exported.
14783 include_expsyms=$lt_include_expsyms
14785 # Commands necessary for linking programs (against libraries) with templates.
14786 prelink_cmds=$lt_prelink_cmds
14788 # Specify filename containing input files.
14789 file_list_spec=$lt_file_list_spec
14791 # How to hardcode a shared library path into an executable.
14792 hardcode_action=$hardcode_action
14794 # ### END LIBTOOL CONFIG
14800 cat <<\_LT_EOF
>> "$cfgfile"
14801 # AIX sometimes has problems with the GCC collect2 program. For some
14802 # reason, if we set the COLLECT_NAMES environment variable, the problems
14803 # vanish in a puff of smoke.
14804 if test "X${COLLECT_NAMES+set}" != Xset
; then
14806 export COLLECT_NAMES
14813 ltmain
="$ac_aux_dir/ltmain.sh"
14816 # We use sed instead of cat because bash on DJGPP gets confused if
14817 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14818 # text mode, it properly converts lines to CR/LF. This bash problem
14819 # is reportedly fixed, but why not run on old versions too?
14820 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14821 ||
(rm -f "$cfgfile"; exit 1)
14825 cat << \_LT_EOF
>> "$cfgfile"
14827 # func_dirname file append nondir_replacement
14828 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14829 # otherwise set result to NONDIR_REPLACEMENT.
14833 */*) func_dirname_result
="${1%/*}${2}" ;;
14834 * ) func_dirname_result
="${3}" ;;
14838 # func_basename file
14841 func_basename_result
="${1##*/}"
14844 # func_dirname_and_basename file append nondir_replacement
14845 # perform func_basename and func_dirname in a single function
14847 # dirname: Compute the dirname of FILE. If nonempty,
14848 # add APPEND to the result, otherwise set result
14849 # to NONDIR_REPLACEMENT.
14850 # value returned in "$func_dirname_result"
14851 # basename: Compute filename of FILE.
14852 # value retuned in "$func_basename_result"
14853 # Implementation must be kept synchronized with func_dirname
14854 # and func_basename. For efficiency, we do not delegate to
14855 # those functions but instead duplicate the functionality here.
14856 func_dirname_and_basename
()
14859 */*) func_dirname_result
="${1%/*}${2}" ;;
14860 * ) func_dirname_result
="${3}" ;;
14862 func_basename_result
="${1##*/}"
14865 # func_stripname prefix suffix name
14866 # strip PREFIX and SUFFIX off of NAME.
14867 # PREFIX and SUFFIX must not contain globbing or regex special
14868 # characters, hashes, percent signs, but SUFFIX may contain a leading
14869 # dot (in which case that matches only a dot).
14872 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14873 # positional parameters, so assign one to ordinary parameter first.
14874 func_stripname_result
=${3}
14875 func_stripname_result
=${func_stripname_result#"${1}"}
14876 func_stripname_result
=${func_stripname_result%"${2}"}
14882 func_opt_split_opt
=${1%%=*}
14883 func_opt_split_arg
=${1#*=}
14890 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14891 *) func_lo2o_result
=${1} ;;
14895 # func_xform libobj-or-source
14898 func_xform_result
=${1%.*}.lo
14901 # func_arith arithmetic-term...
14904 func_arith_result
=$
(( $
* ))
14908 # STRING may not start with a hyphen.
14911 func_len_result
=${#1}
14916 *) # Bourne compatible functions.
14917 cat << \_LT_EOF
>> "$cfgfile"
14919 # func_dirname file append nondir_replacement
14920 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14921 # otherwise set result to NONDIR_REPLACEMENT.
14924 # Extract subdirectory from the argument.
14925 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14926 if test "X$func_dirname_result" = "X${1}"; then
14927 func_dirname_result
="${3}"
14929 func_dirname_result
="$func_dirname_result${2}"
14933 # func_basename file
14936 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14940 # func_stripname prefix suffix name
14941 # strip PREFIX and SUFFIX off of NAME.
14942 # PREFIX and SUFFIX must not contain globbing or regex special
14943 # characters, hashes, percent signs, but SUFFIX may contain a leading
14944 # dot (in which case that matches only a dot).
14945 # func_strip_suffix prefix name
14949 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14950 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14955 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14956 my_sed_long_arg
='1s/^-[^=]*=//'
14961 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14962 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14968 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14971 # func_xform libobj-or-source
14974 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14977 # func_arith arithmetic-term...
14980 func_arith_result
=`expr "$@"`
14984 # STRING may not start with a hyphen.
14987 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14993 case $lt_shell_append in
14995 cat << \_LT_EOF
>> "$cfgfile"
14997 # func_append var value
14998 # Append VALUE to the end of shell variable VAR.
15006 cat << \_LT_EOF
>> "$cfgfile"
15008 # func_append var value
15009 # Append VALUE to the end of shell variable VAR.
15020 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15021 ||
(rm -f "$cfgfile"; exit 1)
15023 mv -f "$cfgfile" "$ofile" ||
15024 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15035 ac_clean_files
=$ac_clean_files_save
15037 test $ac_write_fail = 0 ||
15038 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15041 # configure is writing to config.log, and then calls config.status.
15042 # config.status does its own redirection, appending to config.log.
15043 # Unfortunately, on DOS this fails, as config.log is still kept open
15044 # by configure, so config.status won't be able to write to it; its
15045 # output is simply discarded. So we exec the FD to /dev/null,
15046 # effectively closing config.log, so it can be properly (re)opened and
15047 # appended to by config.status. When coming back to configure, we
15048 # need to make the FD available again.
15049 if test "$no_create" != yes; then
15051 ac_config_status_args
=
15052 test "$silent" = yes &&
15053 ac_config_status_args
="$ac_config_status_args --quiet"
15055 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15057 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15058 # would make configure fail if this is the last instruction.
15059 $ac_cs_success || as_fn_exit
1
15061 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15063 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}