2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for LTO plugin for ld 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='LTO plugin for ld'
558 PACKAGE_TARNAME
='lto-plugin'
559 PACKAGE_VERSION
='0.1'
560 PACKAGE_STRING
='LTO plugin for ld 0.1'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
641 MAINTAINER_MODE_FALSE
651 INSTALL_STRIP_PROGRAM
709 program_transform_name
722 enable_option_checking
724 enable_maintainer_mode
725 enable_dependency_tracking
734 ac_precious_vars
='build_alias
745 # Initialize some variables set by options.
747 ac_init_version
=false
748 ac_unrecognized_opts
=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name
=s
,x
,x
,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir
='${exec_prefix}/bin'
774 sbindir
='${exec_prefix}/sbin'
775 libexecdir
='${exec_prefix}/libexec'
776 datarootdir
='${prefix}/share'
777 datadir
='${datarootdir}'
778 sysconfdir
='${prefix}/etc'
779 sharedstatedir
='${prefix}/com'
780 localstatedir
='${prefix}/var'
781 includedir
='${prefix}/include'
782 oldincludedir
='/usr/include'
783 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir
='${datarootdir}/info'
789 libdir
='${exec_prefix}/lib'
790 localedir
='${datarootdir}/locale'
791 mandir
='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\
$ac_option
805 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
817 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
820 -build |
--build |
--buil |
--bui |
--bu)
821 ac_prev
=build_alias
;;
822 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
823 build_alias
=$ac_optarg ;;
825 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
826 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
827 ac_prev
=cache_file
;;
828 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
829 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
830 cache_file
=$ac_optarg ;;
833 cache_file
=config.cache
;;
835 -datadir |
--datadir |
--datadi |
--datad)
837 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
838 datadir
=$ac_optarg ;;
840 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
841 |
--dataroo |
--dataro |
--datar)
842 ac_prev
=datarootdir
;;
843 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
844 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
845 datarootdir
=$ac_optarg ;;
847 -disable-* |
--disable-*)
848 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
851 as_fn_error
"invalid feature name: $ac_useropt"
852 ac_useropt_orig
=$ac_useropt
853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
859 ac_unrecognized_sep
=', ';;
861 eval enable_
$ac_useropt=no
;;
863 -docdir |
--docdir |
--docdi |
--doc |
--do)
865 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
868 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
870 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
873 -enable-* |
--enable-*)
874 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
877 as_fn_error
"invalid feature name: $ac_useropt"
878 ac_useropt_orig
=$ac_useropt
879 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
885 ac_unrecognized_sep
=', ';;
887 eval enable_
$ac_useropt=\
$ac_optarg ;;
889 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
890 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
891 |
--exec |
--exe |
--ex)
892 ac_prev
=exec_prefix
;;
893 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
894 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
895 |
--exec=* |
--exe=* |
--ex=*)
896 exec_prefix
=$ac_optarg ;;
898 -gas |
--gas |
--ga |
--g)
899 # Obsolete; use --with-gas.
902 -help |
--help |
--hel |
--he |
-h)
904 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
905 ac_init_help
=recursive
;;
906 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
907 ac_init_help
=short
;;
909 -host |
--host |
--hos |
--ho)
910 ac_prev
=host_alias
;;
911 -host=* |
--host=* |
--hos=* |
--ho=*)
912 host_alias
=$ac_optarg ;;
914 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
916 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
918 htmldir
=$ac_optarg ;;
920 -includedir |
--includedir |
--includedi |
--included |
--include \
921 |
--includ |
--inclu |
--incl |
--inc)
922 ac_prev
=includedir
;;
923 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
924 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
925 includedir
=$ac_optarg ;;
927 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
929 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
930 infodir
=$ac_optarg ;;
932 -libdir |
--libdir |
--libdi |
--libd)
934 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
937 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
938 |
--libexe |
--libex |
--libe)
939 ac_prev
=libexecdir
;;
940 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
941 |
--libexe=* |
--libex=* |
--libe=*)
942 libexecdir
=$ac_optarg ;;
944 -localedir |
--localedir |
--localedi |
--localed |
--locale)
946 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
947 localedir
=$ac_optarg ;;
949 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
950 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
951 ac_prev
=localstatedir
;;
952 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
953 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
954 localstatedir
=$ac_optarg ;;
956 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
958 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
962 # Obsolete; use --without-fp.
965 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
966 |
--no-cr |
--no-c |
-n)
969 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
970 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
973 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
974 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
975 |
--oldin |
--oldi |
--old |
--ol |
--o)
976 ac_prev
=oldincludedir
;;
977 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
978 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
979 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
980 oldincludedir
=$ac_optarg ;;
982 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
984 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
987 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
988 |
--program-pre |
--program-pr |
--program-p)
989 ac_prev
=program_prefix
;;
990 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
991 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
992 program_prefix
=$ac_optarg ;;
994 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
995 |
--program-suf |
--program-su |
--program-s)
996 ac_prev
=program_suffix
;;
997 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
998 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
999 program_suffix
=$ac_optarg ;;
1001 -program-transform-name |
--program-transform-name \
1002 |
--program-transform-nam |
--program-transform-na \
1003 |
--program-transform-n |
--program-transform- \
1004 |
--program-transform |
--program-transfor \
1005 |
--program-transfo |
--program-transf \
1006 |
--program-trans |
--program-tran \
1007 |
--progr-tra |
--program-tr |
--program-t)
1008 ac_prev
=program_transform_name
;;
1009 -program-transform-name=* |
--program-transform-name=* \
1010 |
--program-transform-nam=* |
--program-transform-na=* \
1011 |
--program-transform-n=* |
--program-transform-=* \
1012 |
--program-transform=* |
--program-transfor=* \
1013 |
--program-transfo=* |
--program-transf=* \
1014 |
--program-trans=* |
--program-tran=* \
1015 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1016 program_transform_name
=$ac_optarg ;;
1018 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1020 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1021 pdfdir
=$ac_optarg ;;
1023 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1025 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1028 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1029 |
-silent |
--silent |
--silen |
--sile |
--sil)
1032 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1034 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1036 sbindir
=$ac_optarg ;;
1038 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1039 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1040 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1042 ac_prev
=sharedstatedir
;;
1043 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1044 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1045 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1047 sharedstatedir
=$ac_optarg ;;
1049 -site |
--site |
--sit)
1051 -site=* |
--site=* |
--sit=*)
1054 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1056 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1057 srcdir
=$ac_optarg ;;
1059 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1060 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1061 ac_prev
=sysconfdir
;;
1062 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1063 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1064 sysconfdir
=$ac_optarg ;;
1066 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1067 ac_prev
=target_alias
;;
1068 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1069 target_alias
=$ac_optarg ;;
1071 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1074 -version |
--version |
--versio |
--versi |
--vers |
-V)
1075 ac_init_version
=: ;;
1078 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1081 as_fn_error
"invalid package name: $ac_useropt"
1082 ac_useropt_orig
=$ac_useropt
1083 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep
=', ';;
1091 eval with_
$ac_useropt=\
$ac_optarg ;;
1093 -without-* |
--without-*)
1094 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error
"invalid package name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval with_
$ac_useropt=no
;;
1110 # Obsolete; use --with-x.
1113 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1114 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1115 ac_prev
=x_includes
;;
1116 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1117 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1118 x_includes
=$ac_optarg ;;
1120 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1121 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1122 ac_prev
=x_libraries
;;
1123 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1124 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1125 x_libraries
=$ac_optarg ;;
1127 -*) as_fn_error
"unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information."
1132 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1136 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1138 eval $ac_envvar=\
$ac_optarg
1139 export $ac_envvar ;;
1142 # FIXME: should be removed in autoconf 3.0.
1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1152 if test -n "$ac_prev"; then
1153 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error
"missing argument to $ac_option"
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1160 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 # Check all directory arguments for consistency.
1166 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val
=\$
$ac_var
1172 # Remove trailing slashes.
1175 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\
$ac_val;;
1178 # Be sure to have absolute directory names.
1180 [\\/$
]* | ?
:[\\/]* ) continue;;
1181 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1183 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1191 target
=$target_alias
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x
; then
1195 if test "x$build_alias" = x
; then
1196 cross_compiling
=maybe
1197 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1198 If a cross compiler is detected then cross compile mode will be used." >&2
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1207 test "$silent" = yes && exec 6>/dev
/null
1210 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di
=`ls -di .` &&
1212 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error
"working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error
"pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted
=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir
=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted
=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1254 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var
in $ac_precious_vars; do
1271 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1273 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures LTO plugin for ld 0.1 to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/lto-plugin]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --program-prefix=PREFIX prepend PREFIX to installed program names
1343 --program-suffix=SUFFIX append SUFFIX to installed program names
1344 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1347 --build=BUILD configure
for building on BUILD
[guessed
]
1348 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1349 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1353 if test -n "$ac_init_help"; then
1354 case $ac_init_help in
1355 short | recursive
) echo "Configuration of LTO plugin for ld 0.1:";;
1360 --disable-option-checking ignore unrecognized
--enable/--with options
1361 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1362 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1363 --enable-maintainer-mode enable make rules and dependencies not useful
1364 (and sometimes confusing
) to the casual installer
1365 --disable-dependency-tracking speeds up one-time build
1366 --enable-dependency-tracking do not reject slow dependency extractors
1367 --disable-largefile omit support
for large files
1368 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1369 --enable-static[=PKGS
] build static libraries
[default
=yes]
1370 --enable-fast-install[=PKGS
]
1371 optimize
for fast installation
[default
=yes]
1372 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1375 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1376 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1377 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1378 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1380 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1382 Some influential environment variables
:
1383 CC C compiler
command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1386 nonstandard directory
<lib dir
>
1387 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1388 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1389 you have headers
in a nonstandard directory
<include dir
>
1392 Use these variables to override the choices made by
`configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to the package provider.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" ||
1404 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 LTO plugin for ld configure 0.1
1459 generated by GNU Autoconf 2.64
1461 Copyright (C) 2009 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1468 ## ------------------------ ##
1469 ## Autoconf initialization. ##
1470 ## ------------------------ ##
1472 # ac_fn_c_try_compile LINENO
1473 # --------------------------
1474 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1475 ac_fn_c_try_compile ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 rm -f conftest.$ac_objext
1479 if { { ac_try="$ac_compile"
1481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1482 *) ac_try_echo
=$ac_try;;
1484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_compile") 2>conftest.err
1488 if test -s conftest.err
; then
1489 grep -v '^ *+' conftest.err
>conftest.er1
1490 cat conftest.er1
>&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } && {
1495 test -z "$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1497 } && test -s conftest.
$ac_objext; then :
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.
$ac_ext >&5
1505 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1508 } # ac_fn_c_try_compile
1510 # ac_fn_c_try_link LINENO
1511 # -----------------------
1512 # Try to link conftest.$ac_ext, and return whether this succeeded.
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 rm -f conftest.
$ac_objext conftest
$ac_exeext
1517 if { { ac_try
="$ac_link"
1519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_link") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest$ac_exeext && {
1536 test "$cross_compiling" = yes ||
1537 $as_test_x conftest$ac_exeext
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1547 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1548 # interfere with the next link command; also delete a directory that is
1549 # left behind by Apple's compiler. We do this before executing the actions.
1550 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554 } # ac_fn_c_try_link
1556 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1557 # -------------------------------------------------------
1558 # Tests whether HEADER exists and can be compiled using the include files in
1559 # INCLUDES, setting the cache variable VAR accordingly.
1560 ac_fn_c_check_header_compile ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1564 $as_echo_n "checking for $2... " >&6; }
1565 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1566 $as_echo_n "(cached) " >&6
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569 /* end confdefs.h. */
1573 if ac_fn_c_try_compile "$LINENO"; then :
1578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582 $as_echo "$ac_res" >&6; }
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1585 } # ac_fn_c_check_header_compile
1587 # ac_fn_c_try_cpp LINENO
1588 # ----------------------
1589 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 if { { ac_try="$ac_cpp conftest.$ac_ext"
1595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1596 *) ac_try_echo
=$ac_try;;
1598 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1602 if test -s conftest.err
; then
1603 grep -v '^ *+' conftest.err
>conftest.er1
1604 cat conftest.er1
>&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } >/dev
/null
&& {
1609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.
$ac_ext >&5
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1624 # ac_fn_c_try_run LINENO
1625 # ----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1627 # that executables *can* be run.
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 if { { ac_try
="$ac_link"
1633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>&5
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1642 { { case "(($ac_try" in
1643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1644 *) ac_try_echo
=$ac_try;;
1646 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_try") 2>&5
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; }; }; then :
1654 $as_echo "$as_me: program exited with status $ac_status" >&5
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.
$ac_ext >&5
1658 ac_retval
=$ac_status
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1666 # ac_fn_c_check_func LINENO FUNC VAR
1667 # ----------------------------------
1668 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1669 ac_fn_c_check_func
()
1671 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1675 $as_echo_n "(cached) " >&6
1677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1679 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1681 #define $2 innocuous_$2
1683 /* System header to define __stub macros and hopefully few prototypes,
1684 which can conflict with char $2 (); below.
1685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1686 <limits.h> exists even on freestanding compilers. */
1689 # include <limits.h>
1691 # include <assert.h>
1696 /* Override any GCC internal prototype to avoid an error.
1697 Use char because int might match the return type of a GCC
1698 builtin and then its argument prototype would still apply. */
1703 /* The GNU C library defines this for functions which it implements
1704 to always fail with ENOSYS. Some functions are actually named
1705 something starting with __ and the normal name is an alias. */
1706 #if defined __stub_$2 || defined __stub___$2
1718 if ac_fn_c_try_link
"$LINENO"; then :
1723 rm -f core conftest.err conftest.
$ac_objext \
1724 conftest
$ac_exeext conftest.
$ac_ext
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1731 } # ac_fn_c_check_func
1733 # ac_fn_c_find_intX_t LINENO BITS VAR
1734 # -----------------------------------
1735 # Finds a signed integer type with width BITS, setting cache variable VAR
1737 ac_fn_c_find_intX_t
()
1739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1741 $as_echo_n "checking for int$2_t... " >&6; }
1742 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1746 for ac_type
in int
$2_t 'int' 'long int' \
1747 'long long int' 'short int' 'signed char'; do
1748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1750 $ac_includes_default
1754 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
1761 if ac_fn_c_try_compile
"$LINENO"; then :
1762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 $ac_includes_default
1768 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
1769 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
1776 if ac_fn_c_try_compile
"$LINENO"; then :
1783 eval "$3=\$ac_type" ;;
1786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1790 if test "x$as_val" = x
""no
; then :
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1802 } # ac_fn_c_find_intX_t
1804 # ac_fn_c_find_uintX_t LINENO BITS VAR
1805 # ------------------------------------
1806 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1808 ac_fn_c_find_uintX_t
()
1810 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1812 $as_echo_n "checking for uint$2_t... " >&6; }
1813 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814 $as_echo_n "(cached) " >&6
1817 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1818 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 $ac_includes_default
1825 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
1832 if ac_fn_c_try_compile
"$LINENO"; then :
1837 eval "$3=\$ac_type" ;;
1840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1842 if test "x$as_val" = x
""no
; then :
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1854 } # ac_fn_c_find_uintX_t
1855 cat >config.log
<<_ACEOF
1856 This file contains any messages produced by compilers while
1857 running configure, to aid debugging if configure makes a mistake.
1859 It was created by LTO plugin for ld $as_me 0.1, which was
1860 generated by GNU Autoconf 2.64. Invocation command line was
1872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1879 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1881 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1882 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1884 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1885 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1886 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1887 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 $as_echo "PATH: $as_dir"
1912 # Keep a trace of the command line.
1913 # Strip out --no-create and --no-recursion so they do not pile up.
1914 # Strip out --silent because we don't want to record it for future runs.
1915 # Also quote any args containing shell meta-characters.
1916 # Make two passes to allow for proper duplicate-argument suppression.
1920 ac_must_keep_next
=false
1926 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1927 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1928 |
-silent |
--silent |
--silen |
--sile |
--sil)
1931 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1934 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1936 as_fn_append ac_configure_args1
" '$ac_arg'"
1937 if test $ac_must_keep_next = true
; then
1938 ac_must_keep_next
=false
# Got value, back to normal.
1941 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1942 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1943 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1944 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1945 case "$ac_configure_args0 " in
1946 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1949 -* ) ac_must_keep_next
=true
;;
1952 as_fn_append ac_configure_args
" '$ac_arg'"
1957 { ac_configure_args0
=; unset ac_configure_args0
;}
1958 { ac_configure_args1
=; unset ac_configure_args1
;}
1960 # When interrupted or exit'd, cleanup temporary files, and complete
1961 # config.log. We remove comments because anyway the quotes in there
1962 # would cause problems or look ugly.
1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1965 trap 'exit_status=$?
1966 # Save into config.log some information that might help in debugging.
1971 ## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##
1976 # The following way of writing the cache mishandles newlines in values,
1978 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1979 eval ac_val=\$$ac_var
1983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1987 _ | IFS | as_nl) ;; #(
1988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1989 *) { eval $ac_var=; unset $ac_var;} ;;
1994 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1995 *${as_nl}ac_space=\ *)
1997 "s/'\''/'\''\\\\'\'''\''/g;
1998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2009 ## ----------------- ##
2010 ## Output variables. ##
2011 ## ----------------- ##
2014 for ac_var in $ac_subst_vars
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2024 if test -n "$ac_subst_files"; then
2026 ## ------------------- ##
2027 ## File substitutions. ##
2028 ## ------------------- ##
2031 for ac_var
in $ac_subst_files
2033 eval ac_val
=\$
$ac_var
2035 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2037 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -s confdefs.h; then
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 for ac_signal
in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest
* confdefs.h
2068 $as_echo "/* confdefs.h */" > confdefs.h
2070 # Predefined preprocessor variables.
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2101 if test -n "$CONFIG_SITE"; then
2102 ac_site_file1
=$CONFIG_SITE
2103 elif test "x$prefix" != xNONE
; then
2104 ac_site_file1
=$prefix/share
/config.site
2105 ac_site_file2
=$prefix/etc
/config.site
2107 ac_site_file1
=$ac_default_prefix/share
/config.site
2108 ac_site_file2
=$ac_default_prefix/etc
/config.site
2110 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2112 test "x$ac_site_file" = xNONE
&& continue
2113 if test -r "$ac_site_file"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2115 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2116 sed 's/^/| /' "$ac_site_file" >&5
2121 if test -r "$cache_file"; then
2122 # Some versions of bash will fail to source /dev/null (special
2123 # files actually), so we avoid doing that.
2124 if test -f "$cache_file"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2126 $as_echo "$as_me: loading cache $cache_file" >&6;}
2128 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2129 *) .
"./$cache_file";;
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2134 $as_echo "$as_me: creating cache $cache_file" >&6;}
2138 # Check that the precious variables saved in the cache have kept the same
2140 ac_cache_corrupted
=false
2141 for ac_var
in $ac_precious_vars; do
2142 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2143 eval ac_new_set
=\
$ac_env_${ac_var}_set
2144 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2145 eval ac_new_val
=\
$ac_env_${ac_var}_value
2146 case $ac_old_set,$ac_new_set in
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2149 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2150 ac_cache_corrupted
=: ;;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2153 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2154 ac_cache_corrupted
=: ;;
2157 if test "x$ac_old_val" != "x$ac_new_val"; then
2158 # differences in whitespace do not lead to failure.
2159 ac_old_val_w
=`echo x $ac_old_val`
2160 ac_new_val_w
=`echo x $ac_new_val`
2161 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2163 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2164 ac_cache_corrupted
=:
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2167 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2168 eval $ac_var=\
$ac_old_val
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2171 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2173 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2176 # Pass precious variables to config.status.
2177 if test "$ac_new_set" = set; then
2179 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 *) ac_arg
=$ac_var=$ac_new_val ;;
2182 case " $ac_configure_args " in
2183 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2184 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2188 if $ac_cache_corrupted; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2192 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2193 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2195 ## -------------------- ##
2196 ## Main body of script. ##
2197 ## -------------------- ##
2200 ac_cpp
='$CPP $CPPFLAGS'
2201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2210 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2211 for ac_t
in install-sh
install.sh shtool
; do
2212 if test -f "$ac_dir/$ac_t"; then
2214 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2219 if test -z "$ac_aux_dir"; then
2220 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2223 # These three variables are undocumented and unsupported,
2224 # and are intended to be withdrawn in a future Autoconf release.
2225 # They can cause serious problems if a builder's source tree is in a directory
2226 # whose full name contains unusual characters.
2227 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2228 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2229 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2232 # Make sure we can run config.sub.
2233 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2234 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2237 $as_echo_n "checking build system type... " >&6; }
2238 if test "${ac_cv_build+set}" = set; then :
2239 $as_echo_n "(cached) " >&6
2241 ac_build_alias
=$build_alias
2242 test "x$ac_build_alias" = x
&&
2243 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2244 test "x$ac_build_alias" = x
&&
2245 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2246 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2247 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2251 $as_echo "$ac_cv_build" >&6; }
2252 case $ac_cv_build in
2254 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2257 ac_save_IFS
=$IFS; IFS
='-'
2263 # Remember, the first character of IFS is used to create $*,
2264 # except with old shells:
2267 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2271 $as_echo_n "checking host system type... " >&6; }
2272 if test "${ac_cv_host+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2275 if test "x$host_alias" = x
; then
2276 ac_cv_host
=$ac_cv_build
2278 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2279 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2284 $as_echo "$ac_cv_host" >&6; }
2287 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2290 ac_save_IFS
=$IFS; IFS
='-'
2296 # Remember, the first character of IFS is used to create $*,
2297 # except with old shells:
2300 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2304 $as_echo_n "checking target system type... " >&6; }
2305 if test "${ac_cv_target+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2308 if test "x$target_alias" = x
; then
2309 ac_cv_target
=$ac_cv_host
2311 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2312 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2317 $as_echo "$ac_cv_target" >&6; }
2318 case $ac_cv_target in
2320 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2322 target
=$ac_cv_target
2323 ac_save_IFS
=$IFS; IFS
='-'
2329 # Remember, the first character of IFS is used to create $*,
2330 # except with old shells:
2333 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2336 # The aliases save the names the user supplied, while $host etc.
2337 # will get canonicalized.
2338 test -n "$target_alias" &&
2339 test "$program_prefix$program_suffix$program_transform_name" = \
2341 program_prefix
=${target_alias}-
2343 case ${build_alias} in
2344 "") build_noncanonical
=${build} ;;
2345 *) build_noncanonical
=${build_alias} ;;
2348 case ${host_alias} in
2349 "") host_noncanonical
=${build_noncanonical} ;;
2350 *) host_noncanonical
=${host_alias} ;;
2353 case ${target_alias} in
2354 "") target_noncanonical
=${host_noncanonical} ;;
2355 *) target_noncanonical
=${target_alias} ;;
2359 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2360 # have matching libraries, they should use host libraries: Makefile.tpl
2361 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2362 # However, they still use the build modules, because the corresponding
2363 # host modules (e.g. bison) are only built for the host when bootstrap
2365 # - build_subdir is where we find build modules, and never changes.
2366 # - build_libsubdir is where we find build libraries, and can be overridden.
2368 # Prefix 'build-' so this never conflicts with target_subdir.
2369 build_subdir
="build-${build_noncanonical}"
2371 # Check whether --with-build-libsubdir was given.
2372 if test "${with_build_libsubdir+set}" = set; then :
2373 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2375 build_libsubdir
="$build_subdir"
2378 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2379 if ( test $srcdir = .
&& test -d gcc
) \
2380 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2381 host_subdir
="host-${host_noncanonical}"
2386 target_subdir
=${target_noncanonical}
2388 am__api_version
='1.11'
2390 # Find a good install program. We prefer a C program (faster),
2391 # so one script is as good as another. But avoid the broken or
2392 # incompatible versions:
2393 # SysV /etc/install, /usr/sbin/install
2394 # SunOS /usr/etc/install
2395 # IRIX /sbin/install
2397 # AmigaOS /C/install, which installs bootblocks on floppy discs
2398 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2399 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2400 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2401 # OS/2's system install, which has a completely different semantic
2402 # ./install, which can be erroneously created by make from ./install.sh.
2403 # Reject install programs that cannot install multiple files.
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2405 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2406 if test -z "$INSTALL"; then
2407 if test "${ac_cv_path_install+set}" = set; then :
2408 $as_echo_n "(cached) " >&6
2410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir
=.
2415 # Account for people who put trailing slashes in PATH elements.
2416 case $as_dir/ in #((
2417 .
/ | .
// |
/[cC
]/* | \
2418 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2419 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2422 # OSF1 and SCO ODT 3.0 have their own names for install.
2423 # Don't use installbsd from OSF since it installs stuff as root
2425 for ac_prog
in ginstall scoinst
install; do
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2428 if test $ac_prog = install &&
2429 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2430 # AIX install. It has an incompatible calling convention.
2432 elif test $ac_prog = install &&
2433 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2434 # program-specific install script used by HP pwplus--don't use.
2437 rm -rf conftest.one conftest.two conftest.dir
2438 echo one
> conftest.one
2439 echo two
> conftest.two
2441 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2442 test -s conftest.one
&& test -s conftest.two
&&
2443 test -s conftest.dir
/conftest.one
&&
2444 test -s conftest.dir
/conftest.two
2446 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2459 rm -rf conftest.one conftest.two conftest.dir
2462 if test "${ac_cv_path_install+set}" = set; then
2463 INSTALL
=$ac_cv_path_install
2465 # As a last resort, use the slow shell script. Don't cache a
2466 # value for INSTALL within a source directory, because that will
2467 # break other packages using the cache if that directory is
2468 # removed, or if the value is a relative name.
2469 INSTALL
=$ac_install_sh
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2473 $as_echo "$INSTALL" >&6; }
2475 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2476 # It thinks the first close brace ends the variable substitution.
2477 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2479 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2481 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2484 $as_echo_n "checking whether build environment is sane... " >&6; }
2487 echo timestamp
> conftest.
file
2488 # Reject unsafe characters in $srcdir or the absolute working directory
2489 # name. Accept space and tab only in the latter.
2493 *[\\\"\
#\$\&\'\`$am_lf]*)
2494 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2497 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2498 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2501 # Do `set' in a subshell so we don't clobber the current shell's
2502 # arguments. Must try -L first in case configure is actually a
2503 # symlink; some systems play weird games with the mod time of symlinks
2504 # (eg FreeBSD returns the mod time of the symlink's containing
2507 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2508 if test "$*" = "X"; then
2510 set X
`ls -t "$srcdir/configure" conftest.file`
2513 if test "$*" != "X $srcdir/configure conftest.file" \
2514 && test "$*" != "X conftest.file $srcdir/configure"; then
2516 # If neither matched, then we have a broken ls. This can happen
2517 # if, for instance, CONFIG_SHELL is bash and it inherits a
2518 # broken ls alias from the environment. This has actually
2519 # happened. Such a system could not be considered "sane".
2520 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2521 alias in your environment" "$LINENO" 5
2524 test "$2" = conftest.
file
2530 as_fn_error
"newly created file is older than distributed files!
2531 Check your system clock" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2534 $as_echo "yes" >&6; }
2535 test "$program_prefix" != NONE
&&
2536 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2537 # Use a double $ so make ignores it.
2538 test "$program_suffix" != NONE
&&
2539 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2540 # Double any \ or $.
2541 # By default was `s,x,x', remove it if useless.
2542 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2543 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2545 # expand $ac_aux_dir to an absolute path
2546 am_aux_dir
=`cd $ac_aux_dir && pwd`
2548 if test x
"${MISSING+set}" != xset
; then
2551 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2553 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2556 # Use eval to expand $SHELL
2557 if eval "$MISSING --run true"; then
2558 am_missing_run
="$MISSING --run "
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2562 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2565 if test x
"${install_sh}" != xset
; then
2568 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2570 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2574 # Installed binaries are usually stripped using `strip' when the user
2575 # run `make install-strip'. However `strip' might not be the right
2576 # tool to use in cross-compilation environments, therefore Automake
2577 # will honor the `STRIP' environment variable to overrule this program.
2578 if test "$cross_compiling" != no
; then
2579 if test -n "$ac_tool_prefix"; then
2580 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2581 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if test "${ac_cv_prog_STRIP+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$STRIP"; then
2588 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir
=.
2595 for ac_exec_ext
in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 STRIP
=$ac_cv_prog_STRIP
2608 if test -n "$STRIP"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2610 $as_echo "$STRIP" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2618 if test -z "$ac_cv_prog_STRIP"; then
2620 # Extract the first word of "strip", so it can be a program name with args.
2621 set dummy strip
; ac_word
=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$ac_ct_STRIP"; then
2628 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir
=.
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_STRIP
="strip"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2648 if test -n "$ac_ct_STRIP"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2650 $as_echo "$ac_ct_STRIP" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2656 if test "x$ac_ct_STRIP" = x
; then
2659 case $cross_compiling:$ac_tool_warned in
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2663 ac_tool_warned
=yes ;;
2668 STRIP
="$ac_cv_prog_STRIP"
2672 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2675 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2676 if test -z "$MKDIR_P"; then
2677 if test "${ac_cv_path_mkdir+set}" = set; then :
2678 $as_echo_n "(cached) " >&6
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_prog
in mkdir gmkdir
; do
2686 for ac_exec_ext
in '' $ac_executable_extensions; do
2687 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2688 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2689 'mkdir (GNU coreutils) '* | \
2690 'mkdir (coreutils) '* | \
2691 'mkdir (fileutils) '4.1*)
2692 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2702 if test "${ac_cv_path_mkdir+set}" = set; then
2703 MKDIR_P
="$ac_cv_path_mkdir -p"
2705 # As a last resort, use the slow shell script. Don't cache a
2706 # value for MKDIR_P within a source directory, because that will
2707 # break other packages using the cache if that directory is
2708 # removed, or if the value is a relative name.
2709 test -d .
/--version && rmdir .
/--version
2710 MKDIR_P
="$ac_install_sh -d"
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2714 $as_echo "$MKDIR_P" >&6; }
2718 [\\/$
]* | ?
:[\\/]*) ;;
2719 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2722 for ac_prog
in gawk mawk nawk
awk
2724 # Extract the first word of "$ac_prog", so it can be a program name with args.
2725 set dummy
$ac_prog; ac_word
=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if test "${ac_cv_prog_AWK+set}" = set; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$AWK"; then
2732 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_AWK
="$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$AWK"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2754 $as_echo "$AWK" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$AWK" && break
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2765 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2767 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2768 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2769 $as_echo_n "(cached) " >&6
2771 cat >conftest.
make <<\_ACEOF
2774 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2777 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2779 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2781 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2785 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2787 $as_echo "yes" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2792 SET_MAKE
="MAKE=${MAKE-make}"
2795 rm -rf .tst
2>/dev
/null
2796 mkdir .tst
2>/dev
/null
2797 if test -d .tst
; then
2802 rmdir .tst
2>/dev
/null
2804 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2805 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2806 # is not polluted with repeated "-I."
2807 am__isrc
=' -I$(srcdir)'
2808 # test to see if srcdir already configured
2809 if test -f $srcdir/config.status
; then
2810 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2814 # test whether we have cygpath
2815 if test -z "$CYGPATH_W"; then
2816 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2817 CYGPATH_W
='cygpath -w'
2824 # Define the identity of the package.
2825 PACKAGE
='lto-plugin'
2829 cat >>confdefs.h
<<_ACEOF
2830 #define PACKAGE "$PACKAGE"
2834 cat >>confdefs.h
<<_ACEOF
2835 #define VERSION "$VERSION"
2838 # Some tools Automake needs.
2840 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2843 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2846 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2849 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2852 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2854 # We need awk for the "check" target. The system "awk" is bad on
2856 # Always define AMTAR for backward compatibility.
2858 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2860 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2868 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2869 # Check whether --enable-maintainer-mode was given.
2870 if test "${enable_maintainer_mode+set}" = set; then :
2871 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2873 USE_MAINTAINER_MODE
=no
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2877 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2878 if test $USE_MAINTAINER_MODE = yes; then
2879 MAINTAINER_MODE_TRUE
=
2880 MAINTAINER_MODE_FALSE
='#'
2882 MAINTAINER_MODE_TRUE
='#'
2883 MAINTAINER_MODE_FALSE
=
2886 MAINT
=$MAINTAINER_MODE_TRUE
2890 ac_cpp
='$CPP $CPPFLAGS'
2891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2894 if test -n "$ac_tool_prefix"; then
2895 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2896 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if test "${ac_cv_prog_CC+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC
="$CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2925 $as_echo "$CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2933 if test -z "$ac_cv_prog_CC"; then
2935 # Extract the first word of "gcc", so it can be a program name with args.
2936 set dummy gcc
; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_CC"; then
2943 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_ac_ct_CC
="gcc"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2971 if test "x$ac_ct_CC" = x
; then
2974 case $cross_compiling:$ac_tool_warned in
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2978 ac_tool_warned
=yes ;;
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2989 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_CC+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3027 if test -z "$CC"; then
3028 # Extract the first word of "cc", so it can be a program name with args.
3029 set dummy cc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if test "${ac_cv_prog_CC+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir
=.
3044 for ac_exec_ext
in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3047 ac_prog_rejected
=yes
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test $ac_prog_rejected = yes; then
3059 # We found a bogon in the path, so make sure we never use it.
3060 set dummy
$ac_cv_prog_CC
3062 if test $# != 0; then
3063 # We chose a different compiler from the bogus one.
3064 # However, it has the same basename, so the bogon will be chosen
3065 # first if we set CC to just the basename; use the full file name.
3067 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3073 if test -n "$CC"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3075 $as_echo "$CC" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3083 if test -z "$CC"; then
3084 if test -n "$ac_tool_prefix"; then
3085 for ac_prog
in cl.exe
3087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3088 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if test "${ac_cv_prog_CC+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC
="$CC" # Let the user override the test.
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_exec_ext
in '' $ac_executable_extensions; do
3103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3124 test -n "$CC" && break
3127 if test -z "$CC"; then
3129 for ac_prog
in cl.exe
3131 # Extract the first word of "$ac_prog", so it can be a program name with args.
3132 set dummy
$ac_prog; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$ac_ct_CC"; then
3139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_ac_ct_CC
="$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3159 if test -n "$ac_ct_CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161 $as_echo "$ac_ct_CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$ac_ct_CC" && break
3171 if test "x$ac_ct_CC" = x
; then
3174 case $cross_compiling:$ac_tool_warned in
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3178 ac_tool_warned
=yes ;;
3187 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error
"no acceptable C compiler found in \$PATH
3190 See \`config.log' for more details." "$LINENO" 5; }
3192 # Provide some information about the compiler.
3193 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3196 for ac_option
in --version -v -V -qversion; do
3197 { { ac_try
="$ac_compiler $ac_option >&5"
3199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3206 if test -s conftest.err; then
3208 ... rest of stderr output deleted ...
3209 10q' conftest.err >conftest.er1
3210 cat conftest.er1 >&5
3211 rm -f conftest.er1 conftest.err
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 ac_clean_files_save=$ac_clean_files
3229 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3230 # Try to create an executable without -o first, disregard a.out.
3231 # It will help us diagnose broken compilers, and finding out an intuition
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3234 $as_echo_n "checking for C compiler default output file name... " >&6; }
3235 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3237 # The possible output files:
3238 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3241 for ac_file in $ac_files
3244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3245 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3250 if { { ac_try="$ac_link_default"
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256 $as_echo "$ac_try_echo"; } >&5
3257 (eval "$ac_link_default") 2>&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; }; then :
3261 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3262 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3263 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3264 # so that the user can short-circuit this test for compilers unknown to
3266 for ac_file
in $ac_files ''
3268 test -f "$ac_file" ||
continue
3270 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3273 # We found the default executable, but exeext='' is most
3277 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3279 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3281 # We set ac_cv_exeext here because the later test for it is not
3282 # safe: cross compilers may not add the suffix if given an `-o'
3283 # argument, so we may need to know it at that point already.
3284 # Even if this section looks crufty: it has the advantage of
3291 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3297 $as_echo "$ac_file" >&6; }
3298 if test -z "$ac_file"; then :
3299 $as_echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.
$ac_ext >&5
3302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304 { as_fn_set_status
77
3305 as_fn_error
"C compiler cannot create executables
3306 See \`config.log' for more details." "$LINENO" 5; }; }
3308 ac_exeext
=$ac_cv_exeext
3310 # Check that the compiler produces executables we can run. If not, either
3311 # the compiler is broken, or we cross compile.
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3313 $as_echo_n "checking whether the C compiler works... " >&6; }
3314 # If not cross compiling, check that we can run a simple program.
3315 if test "$cross_compiling" != yes; then
3316 if { ac_try
='./$ac_file'
3317 { { case "(($ac_try" in
3318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_try") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; }; then
3329 if test "$cross_compiling" = maybe; then
3332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 as_fn_error "cannot run C compiled programs.
3335 If you meant to cross compile
, use \
`--host'.
3336 See \`config.log
' for more details." "$LINENO" 5; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3341 $as_echo "yes" >&6; }
3343 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3344 ac_clean_files=$ac_clean_files_save
3345 # Check that the compiler produces executables we can run. If not, either
3346 # the compiler is broken, or we cross compile.
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3348 $as_echo_n "checking whether we are cross compiling... " >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3350 $as_echo "$cross_compiling" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3353 $as_echo_n "checking for suffix of executables... " >&6; }
3354 if { { ac_try="$ac_link"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_link") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3366 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3367 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3369 for ac_file
in conftest.exe conftest conftest.
*; do
3370 test -f "$ac_file" ||
continue
3372 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3373 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3382 See \`config.log' for more details." "$LINENO" 5; }
3384 rm -f conftest
$ac_cv_exeext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3386 $as_echo "$ac_cv_exeext" >&6; }
3388 rm -f conftest.
$ac_ext
3389 EXEEXT
=$ac_cv_exeext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3392 $as_echo_n "checking for suffix of object files... " >&6; }
3393 if test "${ac_cv_objext+set}" = set; then :
3394 $as_echo_n "(cached) " >&6
3396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3407 rm -f conftest.o conftest.obj
3408 if { { ac_try
="$ac_compile"
3410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414 $as_echo "$ac_try_echo"; } >&5
3415 (eval "$ac_compile") 2>&5
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }; then :
3419 for ac_file in conftest.o conftest.obj conftest.*; do
3420 test -f "$ac_file" || continue;
3422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3423 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error "cannot compute suffix of object files
: cannot compile
3434 See \
`config.log' for more details." "$LINENO" 5; }
3436 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3439 $as_echo "$ac_cv_objext" >&6; }
3440 OBJEXT=$ac_cv_objext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3443 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3444 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3461 if ac_fn_c_try_compile "$LINENO"; then :
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3471 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3472 if test $ac_compiler_gnu = yes; then
3477 ac_test_CFLAGS=${CFLAGS+set}
3478 ac_save_CFLAGS=$CFLAGS
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3480 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3481 if test "${ac_cv_prog_cc_g+set}" = set; then :
3482 $as_echo_n "(cached) " >&6
3484 ac_save_c_werror_flag=$ac_c_werror_flag
3485 ac_c_werror_flag=yes
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 ac_c_werror_flag=$ac_save_c_werror_flag
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3541 $as_echo "$ac_cv_prog_cc_g" >&6; }
3542 if test "$ac_test_CFLAGS" = set; then
3543 CFLAGS=$ac_save_CFLAGS
3544 elif test $ac_cv_prog_cc_g = yes; then
3545 if test "$GCC" = yes; then
3551 if test "$GCC" = yes; then
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3558 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3559 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 ac_cv_prog_cc_c89=no
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3568 #include <sys/types.h>
3569 #include <sys/stat.h>
3570 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3571 struct buf { int x; };
3572 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3573 static char *e (p, i)
3579 static char *f (char * (*g) (char **, int), char **p, ...)
3584 s = g (p, va_arg (v,int));
3589 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3590 function prototypes and stuff, but not '\xHH' hex character constants.
3591 These don't provoke an error unfortunately, instead are silently treated
3592 as 'x'. The following induces an error, until -std is added to get
3593 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3594 array size at least. It's necessary to write '\x00'==0 to get something
3595 that's true only with -std. */
3596 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3598 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3599 inside strings and character constants. */
3601 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3603 int test (int i, double x);
3604 struct s1 {int (*f) (int a);};
3605 struct s2 {int (*f) (double a);};
3606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3617 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3620 CC="$ac_save_CC $ac_arg"
3621 if ac_fn_c_try_compile "$LINENO"; then :
3622 ac_cv_prog_cc_c89=$ac_arg
3624 rm -f core conftest.err conftest.$ac_objext
3625 test "x$ac_cv_prog_cc_c89" != "xno" && break
3627 rm -f conftest.$ac_ext
3632 case "x$ac_cv_prog_cc_c89" in
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3635 $as_echo "none needed" >&6; } ;;
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3638 $as_echo "unsupported" >&6; } ;;
3640 CC="$CC $ac_cv_prog_cc_c89"
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3642 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3644 if test "x$ac_cv_prog_cc_c89" != xno; then :
3649 ac_cpp='$CPP $CPPFLAGS'
3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653 DEPDIR="${am__leading_dot}deps"
3655 ac_config_commands="$ac_config_commands depfiles"
3658 am_make=${MAKE-make}
3659 cat > confinc << 'END'
3661 @echo this is the am__doit target
3664 # If we don't find an include directive, just comment out the code.
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3666 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3670 # First try GNU make style include.
3671 echo "include confinc" > confmf
3672 # Ignore all kinds of additional output from `make'.
3673 case `$am_make -s -f confmf 2> /dev/null` in #(
3674 *the\ am__doit\ target*)
3680 # Now try BSD make style include.
3681 if test "$am__include" = "#"; then
3682 echo '.include
"confinc"' > confmf
3683 case `$am_make -s -f confmf 2> /dev/null` in #(
3684 *the\ am__doit\ target*)
3685 am__include=.include
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3694 $as_echo "$_am_result" >&6; }
3695 rm -f confinc confmf
3697 # Check whether --enable-dependency-tracking was given.
3698 if test "${enable_dependency_tracking+set}" = set; then :
3699 enableval=$enable_dependency_tracking;
3702 if test "x$enable_dependency_tracking" != xno; then
3703 am_depcomp="$ac_aux_dir/depcomp"
3706 if test "x$enable_dependency_tracking" != xno
; then
3716 depcc
="$CC" am_compiler_list
=
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3719 $as_echo_n "checking dependency style of $depcc... " >&6; }
3720 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3724 # We make a subdir and do the tests there. Otherwise we can end up
3725 # making bogus files that we don't know about and never remove. For
3726 # instance it was reported that on HP-UX the gcc test will end up
3727 # making a dummy file named `D' -- because `-MD' means `put the output
3730 # Copy depcomp to subdir because otherwise we won't find it if we're
3731 # using a relative directory.
3732 cp "$am_depcomp" conftest.dir
3734 # We will build objects and dependencies in a subdirectory because
3735 # it helps to detect inapplicable dependency modes. For instance
3736 # both Tru64's cc and ICC support -MD to output dependencies as a
3737 # side effect of compilation, but ICC will put the dependencies in
3738 # the current directory while Tru64 will put them in the object
3742 am_cv_CC_dependencies_compiler_type
=none
3743 if test "$am_compiler_list" = ""; then
3744 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3747 case " $depcc " in #(
3748 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3751 for depmode
in $am_compiler_list; do
3752 # Setup a source with many dependencies, because some compilers
3753 # like to wrap large dependency lists on column 80 (with \), and
3754 # we should not choose a depcomp mode which is confused by this.
3756 # We need to recreate these files for each test, as the compiler may
3757 # overwrite some of them when testing with obscure command lines.
3758 # This happens at least with the AIX C compiler.
3760 for i
in 1 2 3 4 5 6; do
3761 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3762 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3763 # Solaris 8's {/usr,}/bin/sh.
3764 touch sub
/conftst
$i.h
3766 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3768 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3769 # mode. It turns out that the SunPro C++ compiler does not properly
3770 # handle `-M -o', and we need to detect this. Also, some Intel
3771 # versions had trouble with output in subdirs
3772 am__obj
=sub
/conftest.
${OBJEXT-o}
3773 am__minus_obj
="-o $am__obj"
3776 # This depmode causes a compiler race in universal mode.
3777 test "$am__universal" = false ||
continue
3780 # after this tag, mechanisms are not by side-effect, so they'll
3781 # only be used when explicitly requested
3782 if test "x$enable_dependency_tracking" = xyes
; then
3788 msvisualcpp | msvcmsys
)
3789 # This compiler won't grok `-c -o', but also, the minuso test has
3790 # not run yet. These depmodes are late enough in the game, and
3791 # so weak that their functioning should not be impacted.
3792 am__obj
=conftest.
${OBJEXT-o}
3797 if depmode
=$depmode \
3798 source=sub
/conftest.c object
=$am__obj \
3799 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3800 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3801 >/dev
/null
2>conftest.err
&&
3802 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3803 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3804 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3805 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3806 # icc doesn't choke on unknown options, it will just issue warnings
3807 # or remarks (even with -Werror). So we grep stderr for any message
3808 # that says an option was ignored or not supported.
3809 # When given -MP, icc 7.0 and 7.1 complain thusly:
3810 # icc: Command line warning: ignoring option '-M'; no argument required
3811 # The diagnosis changed in icc 8.0:
3812 # icc: Command line remark: option '-MP' not supported
3813 if (grep 'ignoring option' conftest.err ||
3814 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3815 am_cv_CC_dependencies_compiler_type
=$depmode
3824 am_cv_CC_dependencies_compiler_type
=none
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3829 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3830 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3833 test "x$enable_dependency_tracking" != xno \
3834 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3836 am__fastdepCC_FALSE
='#'
3838 am__fastdepCC_TRUE
='#'
3839 am__fastdepCC_FALSE
=
3844 # Check whether --enable-largefile was given.
3845 if test "${enable_largefile+set}" = set; then :
3846 enableval
=$enable_largefile;
3849 if test "$enable_largefile" != no
; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3852 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3853 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3854 $as_echo_n "(cached) " >&6
3856 ac_cv_sys_largefile_CC
=no
3857 if test "$GCC" != yes; then
3860 # IRIX 6.2 and later do not support large files by default,
3861 # so use the C compiler's -n32 option if that helps.
3862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3864 #include <sys/types.h>
3865 /* Check that off_t can represent 2**63 - 1 correctly.
3866 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3867 since some C++ compilers masquerading as C compilers
3868 incorrectly reject 9223372036854775807. */
3869 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3870 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3871 && LARGE_OFF_T % 2147483647 == 1)
3881 if ac_fn_c_try_compile
"$LINENO"; then :
3884 rm -f core conftest.err conftest.
$ac_objext
3886 if ac_fn_c_try_compile
"$LINENO"; then :
3887 ac_cv_sys_largefile_CC
=' -n32'; break
3889 rm -f core conftest.err conftest.
$ac_objext
3893 rm -f conftest.
$ac_ext
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3897 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3898 if test "$ac_cv_sys_largefile_CC" != no
; then
3899 CC
=$CC$ac_cv_sys_largefile_CC
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3903 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3904 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3905 $as_echo_n "(cached) " >&6
3908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3910 #include <sys/types.h>
3911 /* Check that off_t can represent 2**63 - 1 correctly.
3912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3913 since some C++ compilers masquerading as C compilers
3914 incorrectly reject 9223372036854775807. */
3915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3917 && LARGE_OFF_T % 2147483647 == 1)
3927 if ac_fn_c_try_compile
"$LINENO"; then :
3928 ac_cv_sys_file_offset_bits
=no
; break
3930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3933 #define _FILE_OFFSET_BITS 64
3934 #include <sys/types.h>
3935 /* Check that off_t can represent 2**63 - 1 correctly.
3936 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3937 since some C++ compilers masquerading as C compilers
3938 incorrectly reject 9223372036854775807. */
3939 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3940 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3941 && LARGE_OFF_T % 2147483647 == 1)
3951 if ac_fn_c_try_compile
"$LINENO"; then :
3952 ac_cv_sys_file_offset_bits
=64; break
3954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3955 ac_cv_sys_file_offset_bits
=unknown
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3960 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3961 case $ac_cv_sys_file_offset_bits in #(
3964 cat >>confdefs.h
<<_ACEOF
3965 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3970 if test $ac_cv_sys_file_offset_bits = unknown
; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3972 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3973 if test "${ac_cv_sys_large_files+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3979 #include <sys/types.h>
3980 /* Check that off_t can represent 2**63 - 1 correctly.
3981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3982 since some C++ compilers masquerading as C compilers
3983 incorrectly reject 9223372036854775807. */
3984 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3986 && LARGE_OFF_T % 2147483647 == 1)
3996 if ac_fn_c_try_compile
"$LINENO"; then :
3997 ac_cv_sys_large_files
=no
; break
3999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4002 #define _LARGE_FILES 1
4003 #include <sys/types.h>
4004 /* Check that off_t can represent 2**63 - 1 correctly.
4005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4006 since some C++ compilers masquerading as C compilers
4007 incorrectly reject 9223372036854775807. */
4008 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4010 && LARGE_OFF_T % 2147483647 == 1)
4020 if ac_fn_c_try_compile
"$LINENO"; then :
4021 ac_cv_sys_large_files
=1; break
4023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4024 ac_cv_sys_large_files
=unknown
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4029 $as_echo "$ac_cv_sys_large_files" >&6; }
4030 case $ac_cv_sys_large_files in #(
4033 cat >>confdefs.h
<<_ACEOF
4034 #define _LARGE_FILES $ac_cv_sys_large_files
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4045 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4050 macro_version
='2.2.7a'
4051 macro_revision
='1.3134'
4065 ltmain
="$ac_aux_dir/ltmain.sh"
4067 # Backslashify metacharacters that are still active within
4068 # double-quoted strings.
4069 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4071 # Same as above, but do not quote variable references.
4072 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4074 # Sed substitution to delay expansion of an escaped shell variable in a
4075 # double_quote_subst'ed string.
4076 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4078 # Sed substitution to delay expansion of an escaped single quote.
4079 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4081 # Sed substitution to avoid accidental globbing in evaled expressions
4082 no_glob_subst
='s/\*/\\\*/g'
4084 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4085 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4086 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4089 $as_echo_n "checking how to print strings... " >&6; }
4090 # Test print first, because it will be a builtin if present.
4091 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4092 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4094 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4097 # Use this function as a fallback that always works.
4098 func_fallback_echo ()
4100 eval 'cat <<_LTECHO_EOF
4104 ECHO='func_fallback_echo
'
4107 # func_echo_all arg...
4108 # Invoke $ECHO with all args, space-separated.
4115 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4116 $as_echo "printf" >&6; } ;;
4117 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4118 $as_echo "print -r" >&6; } ;;
4119 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4120 $as_echo "cat" >&6; } ;;
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4137 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4138 if test "${ac_cv_path_SED+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4142 for ac_i in 1 2 3 4 5 6 7; do
4143 ac_script="$ac_script$as_nl$ac_script"
4145 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4146 { ac_script=; unset ac_script;}
4147 if test -z "$SED"; then
4148 ac_path_SED_found=false
4149 # Loop through the user's path and
test for each of PROGNAME-LIST
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_prog
in sed gsed
; do
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4158 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4159 # Check for GNU ac_path_SED and select it if it is found.
4160 # Check for GNU $ac_path_SED
4161 case `"$ac_path_SED" --version 2>&1` in
4163 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4166 $as_echo_n 0123456789 >"conftest.in"
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 $as_echo '' >> "conftest.nl"
4173 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4176 if test $ac_count -gt ${ac_path_SED_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_SED
="$ac_path_SED"
4179 ac_path_SED_max
=$ac_count
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4187 $ac_path_SED_found && break 3
4192 if test -z "$ac_cv_path_SED"; then
4193 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4201 $as_echo "$ac_cv_path_SED" >&6; }
4202 SED
="$ac_cv_path_SED"
4205 test -z "$SED" && SED
=sed
4206 Xsed
="$SED -e 1s/^X//"
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4219 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4220 if test "${ac_cv_path_GREP+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -z "$GREP"; then
4224 ac_path_GREP_found
=false
4225 # Loop through the user's path and test for each of PROGNAME-LIST
4226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4230 test -z "$as_dir" && as_dir
=.
4231 for ac_prog
in grep ggrep
; do
4232 for ac_exec_ext
in '' $ac_executable_extensions; do
4233 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4234 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4235 # Check for GNU ac_path_GREP and select it if it is found.
4236 # Check for GNU $ac_path_GREP
4237 case `"$ac_path_GREP" --version 2>&1` in
4239 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4242 $as_echo_n 0123456789 >"conftest.in"
4245 cat "conftest.in" "conftest.in" >"conftest.tmp"
4246 mv "conftest.tmp" "conftest.in"
4247 cp "conftest.in" "conftest.nl"
4248 $as_echo 'GREP' >> "conftest.nl"
4249 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4250 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4251 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4252 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4253 # Best one so far, save it but keep looking for a better one
4254 ac_cv_path_GREP
="$ac_path_GREP"
4255 ac_path_GREP_max
=$ac_count
4257 # 10*(2^10) chars as input seems more than enough
4258 test $ac_count -gt 10 && break
4260 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4263 $ac_path_GREP_found && break 3
4268 if test -z "$ac_cv_path_GREP"; then
4269 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272 ac_cv_path_GREP
=$GREP
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4277 $as_echo "$ac_cv_path_GREP" >&6; }
4278 GREP
="$ac_cv_path_GREP"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4282 $as_echo_n "checking for egrep... " >&6; }
4283 if test "${ac_cv_path_EGREP+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4286 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4287 then ac_cv_path_EGREP
="$GREP -E"
4289 if test -z "$EGREP"; then
4290 ac_path_EGREP_found
=false
4291 # Loop through the user's path and test for each of PROGNAME-LIST
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_prog
in egrep; do
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4300 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4301 # Check for GNU ac_path_EGREP and select it if it is found.
4302 # Check for GNU $ac_path_EGREP
4303 case `"$ac_path_EGREP" --version 2>&1` in
4305 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4308 $as_echo_n 0123456789 >"conftest.in"
4311 cat "conftest.in" "conftest.in" >"conftest.tmp"
4312 mv "conftest.tmp" "conftest.in"
4313 cp "conftest.in" "conftest.nl"
4314 $as_echo 'EGREP' >> "conftest.nl"
4315 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4316 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4317 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4318 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4319 # Best one so far, save it but keep looking for a better one
4320 ac_cv_path_EGREP
="$ac_path_EGREP"
4321 ac_path_EGREP_max
=$ac_count
4323 # 10*(2^10) chars as input seems more than enough
4324 test $ac_count -gt 10 && break
4326 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4329 $ac_path_EGREP_found && break 3
4334 if test -z "$ac_cv_path_EGREP"; then
4335 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4338 ac_cv_path_EGREP
=$EGREP
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4344 $as_echo "$ac_cv_path_EGREP" >&6; }
4345 EGREP
="$ac_cv_path_EGREP"
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4349 $as_echo_n "checking for fgrep... " >&6; }
4350 if test "${ac_cv_path_FGREP+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4353 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4354 then ac_cv_path_FGREP
="$GREP -F"
4356 if test -z "$FGREP"; then
4357 ac_path_FGREP_found
=false
4358 # Loop through the user's path and test for each of PROGNAME-LIST
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_prog
in fgrep
; do
4365 for ac_exec_ext
in '' $ac_executable_extensions; do
4366 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4367 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4368 # Check for GNU ac_path_FGREP and select it if it is found.
4369 # Check for GNU $ac_path_FGREP
4370 case `"$ac_path_FGREP" --version 2>&1` in
4372 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4375 $as_echo_n 0123456789 >"conftest.in"
4378 cat "conftest.in" "conftest.in" >"conftest.tmp"
4379 mv "conftest.tmp" "conftest.in"
4380 cp "conftest.in" "conftest.nl"
4381 $as_echo 'FGREP' >> "conftest.nl"
4382 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4383 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4384 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4385 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4386 # Best one so far, save it but keep looking for a better one
4387 ac_cv_path_FGREP
="$ac_path_FGREP"
4388 ac_path_FGREP_max
=$ac_count
4390 # 10*(2^10) chars as input seems more than enough
4391 test $ac_count -gt 10 && break
4393 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4396 $ac_path_FGREP_found && break 3
4401 if test -z "$ac_cv_path_FGREP"; then
4402 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4405 ac_cv_path_FGREP
=$FGREP
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4411 $as_echo "$ac_cv_path_FGREP" >&6; }
4412 FGREP
="$ac_cv_path_FGREP"
4415 test -z "$GREP" && GREP
=grep
4435 # Check whether --with-gnu-ld was given.
4436 if test "${with_gnu_ld+set}" = set; then :
4437 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4443 if test "$GCC" = yes; then
4444 # Check if gcc -print-prog-name=ld gives a path.
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4446 $as_echo_n "checking for ld used by $CC... " >&6; }
4449 # gcc leaves a trailing carriage return which upsets mingw
4450 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4452 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4455 # Accept absolute paths.
4457 re_direlt
='/[^/][^/]*/\.\./'
4458 # Canonicalize the pathname of ld
4459 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4460 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4461 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4463 test -z "$LD" && LD
="$ac_prog"
4466 # If it fails, then pretend we aren't using GCC.
4470 # If it is relative, then search for the first ld in PATH.
4474 elif test "$with_gnu_ld" = yes; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4476 $as_echo_n "checking for GNU ld... " >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4479 $as_echo_n "checking for non-GNU ld... " >&6; }
4481 if test "${lt_cv_path_LD+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -z "$LD"; then
4485 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4486 for ac_dir
in $PATH; do
4488 test -z "$ac_dir" && ac_dir
=.
4489 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4490 lt_cv_path_LD
="$ac_dir/$ac_prog"
4491 # Check to see if the program is GNU ld. I'd rather use --version,
4492 # but apparently some variants of GNU ld only accept -v.
4493 # Break only if it was the GNU/non-GNU ld that we prefer.
4494 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4495 *GNU
* |
*'with BFD'*)
4496 test "$with_gnu_ld" != no
&& break
4499 test "$with_gnu_ld" != yes && break
4506 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4511 if test -n "$LD"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4513 $as_echo "$LD" >&6; }
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4518 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4520 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4521 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4525 case `$LD -v 2>&1 </dev/null` in
4526 *GNU
* |
*'with BFD'*)
4527 lt_cv_prog_gnu_ld
=yes
4530 lt_cv_prog_gnu_ld
=no
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4535 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4536 with_gnu_ld
=$lt_cv_prog_gnu_ld
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4547 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4548 if test "${lt_cv_path_NM+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$NM"; then
4552 # Let the user override the test.
4555 lt_nm_to_check
="${ac_tool_prefix}nm"
4556 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4557 lt_nm_to_check
="$lt_nm_to_check nm"
4559 for lt_tmp_nm
in $lt_nm_to_check; do
4560 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4561 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4563 test -z "$ac_dir" && ac_dir
=.
4564 tmp_nm
="$ac_dir/$lt_tmp_nm"
4565 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4566 # Check to see if the nm accepts a BSD-compat flag.
4567 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4568 # nm: unknown option "B" ignored
4569 # Tru64's nm complains that /dev/null is an invalid object file
4570 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4571 */dev
/null
* |
*'Invalid file or object type'*)
4572 lt_cv_path_NM
="$tmp_nm -B"
4576 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4578 lt_cv_path_NM
="$tmp_nm -p"
4582 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4583 continue # so that we can try to find one that supports BSD flags
4592 : ${lt_cv_path_NM=no}
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4596 $as_echo "$lt_cv_path_NM" >&6; }
4597 if test "$lt_cv_path_NM" != "no"; then
4600 # Didn't find any BSD compatible name lister, look for dumpbin.
4601 if test -n "$DUMPBIN"; then :
4602 # Let the user override the test.
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog
in dumpbin
"link -dump"
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$DUMPBIN"; then
4615 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 DUMPBIN
=$ac_cv_prog_DUMPBIN
4635 if test -n "$DUMPBIN"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4637 $as_echo "$DUMPBIN" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$DUMPBIN" && break
4647 if test -z "$DUMPBIN"; then
4648 ac_ct_DUMPBIN
=$DUMPBIN
4649 for ac_prog
in dumpbin
"link -dump"
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy
$ac_prog; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$ac_ct_DUMPBIN"; then
4659 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4679 if test -n "$ac_ct_DUMPBIN"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4681 $as_echo "$ac_ct_DUMPBIN" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$ac_ct_DUMPBIN" && break
4691 if test "x$ac_ct_DUMPBIN" = x
; then
4694 case $cross_compiling:$ac_tool_warned in
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned
=yes ;;
4700 DUMPBIN
=$ac_ct_DUMPBIN
4704 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4706 DUMPBIN
="$DUMPBIN -symbols"
4714 if test "$DUMPBIN" != ":"; then
4718 test -z "$NM" && NM
=nm
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4726 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4727 if test "${lt_cv_nm_interface+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 lt_cv_nm_interface
="BSD nm"
4731 echo "int some_variable = 0;" > conftest.
$ac_ext
4732 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4733 (eval "$ac_compile" 2>conftest.err
)
4734 cat conftest.err
>&5
4735 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4736 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4737 cat conftest.err
>&5
4738 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4739 cat conftest.out
>&5
4740 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4741 lt_cv_nm_interface
="MS dumpbin"
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4746 $as_echo "$lt_cv_nm_interface" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4749 $as_echo_n "checking whether ln -s works... " >&6; }
4751 if test "$LN_S" = "ln -s"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4753 $as_echo "yes" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4756 $as_echo "no, using $LN_S" >&6; }
4759 # find the maximum length of command line arguments
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4761 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4762 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4763 $as_echo_n "(cached) " >&6
4770 # On DJGPP, this test can blow up pretty badly due to problems in libc
4771 # (any single argument exceeding 2000 bytes causes a buffer overrun
4772 # during glob expansion). Even if it were fixed, the result of this
4773 # check would be larger than it should be.
4774 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4778 # Under GNU Hurd, this test is not required because there is
4779 # no limit to the length of command line arguments.
4780 # Libtool will interpret -1 as no limit whatsoever
4781 lt_cv_sys_max_cmd_len
=-1;
4784 cygwin
* | mingw
* | cegcc
*)
4785 # On Win9x/ME, this test blows up -- it succeeds, but takes
4786 # about 5 minutes as the teststring grows exponentially.
4787 # Worse, since 9x/ME are not pre-emptively multitasking,
4788 # you end up with a "frozen" computer, even though with patience
4789 # the test eventually succeeds (with a max line length of 256k).
4790 # Instead, let's just punt: use the minimum linelength reported by
4791 # all of the supported platforms: 8192 (on NT/2K/XP).
4792 lt_cv_sys_max_cmd_len
=8192;
4796 # On MiNT this can take a long time and run out of memory.
4797 lt_cv_sys_max_cmd_len
=8192;
4801 # On AmigaOS with pdksh, this test takes hours, literally.
4802 # So we just punt and use a minimum line length of 8192.
4803 lt_cv_sys_max_cmd_len
=8192;
4806 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4807 # This has been around since 386BSD, at least. Likely further.
4808 if test -x /sbin
/sysctl
; then
4809 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4810 elif test -x /usr
/sbin
/sysctl
; then
4811 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4813 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4815 # And add a safety zone
4816 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4821 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4822 lt_cv_sys_max_cmd_len
=196608
4826 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4827 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4828 # nice to cause kernel panics so lets avoid the loop below.
4829 # First set a reasonable default.
4830 lt_cv_sys_max_cmd_len
=16384
4832 if test -x /sbin
/sysconfig
; then
4833 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4834 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4839 lt_cv_sys_max_cmd_len
=102400
4841 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4842 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4843 if test -n "$kargmax"; then
4844 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4846 lt_cv_sys_max_cmd_len
=32768
4850 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4851 if test -n "$lt_cv_sys_max_cmd_len"; then
4852 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4853 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4855 # Make teststring a little bigger before we do anything with it.
4856 # a 1K string should be a reasonable start.
4857 for i
in 1 2 3 4 5 6 7 8 ; do
4858 teststring
=$teststring$teststring
4860 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4861 # If test is not a shell built-in, we'll probably end up computing a
4862 # maximum length that is only half of the actual maximum length, but
4864 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4865 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4866 test $i != 17 # 1/2 MB should be enough
4869 teststring
=$teststring$teststring
4871 # Only check the string length outside the loop.
4872 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4874 # Add a significant safety factor because C++ compilers can tack on
4875 # massive amounts of additional arguments before passing them to the
4876 # linker. It appears as though 1/2 is a usable value.
4877 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4884 if test -n $lt_cv_sys_max_cmd_len ; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4886 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4889 $as_echo "none" >&6; }
4891 max_cmd_len
=$lt_cv_sys_max_cmd_len
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4903 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4904 # Try some XSI features
4907 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4909 && eval 'test $(( 1 + 1 )) -eq 2 \
4910 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4913 $as_echo "$xsi_shell" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4917 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4919 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4921 && lt_shell_append=yes
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4923 $as_echo "$lt_shell_append" >&6; }
4926 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4936 # test EBCDIC or ASCII
4937 case `echo X|tr X '\101'` in
4938 A) # ASCII based system
4939 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4940 lt_SP2NL='tr \040 \012'
4941 lt_NL2SP='tr \015\012 \040\040'
4943 *) # EBCDIC based system
4944 lt_SP2NL='tr \100 \n'
4945 lt_NL2SP='tr \r\n \100\100'
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4958 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4959 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4960 $as_echo_n "(cached
) " >&6
4962 lt_cv_ld_reload_flag='-r'
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4965 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4966 reload_flag=$lt_cv_ld_reload_flag
4967 case $reload_flag in
4969 *) reload_flag=" $reload_flag" ;;
4971 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4974 if test "$GCC" = yes; then
4975 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4977 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4990 if test -n "$ac_tool_prefix"; then
4991 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4992 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4994 $as_echo_n "checking
for $ac_word...
" >&6; }
4995 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4996 $as_echo_n "(cached
) " >&6
4998 if test -n "$OBJDUMP"; then
4999 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5018 OBJDUMP=$ac_cv_prog_OBJDUMP
5019 if test -n "$OBJDUMP"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5021 $as_echo "$OBJDUMP" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5024 $as_echo "no
" >&6; }
5029 if test -z "$ac_cv_prog_OBJDUMP"; then
5030 ac_ct_OBJDUMP=$OBJDUMP
5031 # Extract the first word of "objdump
", so it can be a program name with args.
5032 set dummy objdump; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5034 $as_echo_n "checking
for $ac_word...
" >&6; }
5035 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5036 $as_echo_n "(cached
) " >&6
5038 if test -n "$ac_ct_OBJDUMP"; then
5039 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir=.
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5058 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5059 if test -n "$ac_ct_OBJDUMP"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5061 $as_echo "$ac_ct_OBJDUMP" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5064 $as_echo "no
" >&6; }
5067 if test "x
$ac_ct_OBJDUMP" = x; then
5070 case $cross_compiling:$ac_tool_warned in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5073 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5074 ac_tool_warned=yes ;;
5076 OBJDUMP=$ac_ct_OBJDUMP
5079 OBJDUMP="$ac_cv_prog_OBJDUMP"
5082 test -z "$OBJDUMP" && OBJDUMP=objdump
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5093 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5094 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5095 $as_echo_n "(cached
) " >&6
5097 lt_cv_file_magic_cmd='$MAGIC_CMD'
5098 lt_cv_file_magic_test_file=
5099 lt_cv_deplibs_check_method='unknown'
5100 # Need to set the preceding variable on all platforms that support
5101 # interlibrary dependencies.
5102 # 'none' -- dependencies not supported.
5103 # `unknown' -- same as none, but documents that we really don't know.
5104 # 'pass_all' -- all dependencies passed with no checks.
5105 # 'test_compile' -- check by making test program.
5106 # 'file_magic [[regex]]' -- check by looking for files in library path
5107 # which responds to the $file_magic_cmd with a given extended regex.
5108 # If you have `file' or equivalent on your system and you're not sure
5109 # whether `pass_all' will *always* work, you probably want this one.
5113 lt_cv_deplibs_check_method=pass_all
5117 lt_cv_deplibs_check_method=pass_all
5121 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5122 lt_cv_file_magic_cmd='/usr/bin/file -L'
5123 lt_cv_file_magic_test_file=/shlib/libc.so
5127 # func_win32_libid is a shell function defined in ltmain.sh
5128 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5129 lt_cv_file_magic_cmd='func_win32_libid'
5133 # Base MSYS/MinGW do not provide the 'file' command needed by
5134 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5135 # unless we find 'file', for example because we are cross-compiling.
5136 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5137 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5138 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5139 lt_cv_file_magic_cmd='func_win32_libid'
5141 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5142 lt_cv_file_magic_cmd='$OBJDUMP -f'
5147 # use the weaker test based on 'objdump'. See mingw*.
5148 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5149 lt_cv_file_magic_cmd='$OBJDUMP -f'
5152 darwin* | rhapsody*)
5153 lt_cv_deplibs_check_method=pass_all
5156 freebsd* | dragonfly*)
5157 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5160 # Not sure whether the presence of OpenBSD here was a mistake.
5161 # Let's accept both of them until this is cleared up.
5162 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5163 lt_cv_file_magic_cmd=/usr/bin/file
5164 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5168 lt_cv_deplibs_check_method=pass_all
5173 lt_cv_deplibs_check_method=pass_all
5177 lt_cv_deplibs_check_method=pass_all
5180 hpux10.20* | hpux11*)
5181 lt_cv_file_magic_cmd=/usr/bin/file
5184 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5185 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5188 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]'
5189 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5192 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5193 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5199 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5203 irix5* | irix6* | nonstopux*)
5205 *-32|*"-32 ") libmagic=32-bit;;
5206 *-n32|*"-n32 ") libmagic=N32;;
5207 *-64|*"-64 ") libmagic=64-bit;;
5208 *) libmagic=never-match;;
5210 lt_cv_deplibs_check_method=pass_all
5213 # This must be Linux ELF.
5214 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5215 lt_cv_deplibs_check_method=pass_all
5219 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5222 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5228 lt_cv_file_magic_cmd=/usr/bin/file
5229 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5233 lt_cv_deplibs_check_method=pass_all
5237 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5244 osf3* | osf4* | osf5*)
5245 lt_cv_deplibs_check_method=pass_all
5249 lt_cv_deplibs_check_method=pass_all
5253 lt_cv_deplibs_check_method=pass_all
5256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5257 lt_cv_deplibs_check_method=pass_all
5261 case $host_vendor in
5263 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]'
5264 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5267 lt_cv_deplibs_check_method=pass_all
5270 lt_cv_file_magic_cmd='/bin/file'
5271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5274 lt_cv_file_magic_cmd='/bin/file'
5275 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5276 lt_cv_file_magic_test_file=/lib/libc.so
5279 lt_cv_deplibs_check_method=pass_all
5282 lt_cv_deplibs_check_method=pass_all
5288 lt_cv_deplibs_check_method=pass_all
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5294 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5295 file_magic_cmd=$lt_cv_file_magic_cmd
5296 deplibs_check_method=$lt_cv_deplibs_check_method
5297 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5310 if test -n "$ac_tool_prefix"; then
5311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5312 set dummy ${ac_tool_prefix}ar; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5314 $as_echo_n "checking
for $ac_word...
" >&6; }
5315 if test "${ac_cv_prog_AR+set}" = set; then :
5316 $as_echo_n "(cached
) " >&6
5318 if test -n "$AR"; then
5319 ac_cv_prog_AR="$AR" # Let the user override the test.
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_AR="${ac_tool_prefix}ar"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5339 if test -n "$AR"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5341 $as_echo "$AR" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5344 $as_echo "no
" >&6; }
5349 if test -z "$ac_cv_prog_AR"; then
5351 # Extract the first word of "ar", so it can be a program name with args.
5352 set dummy ar; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5354 $as_echo_n "checking
for $ac_word...
" >&6; }
5355 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5356 $as_echo_n "(cached
) " >&6
5358 if test -n "$ac_ct_AR"; then
5359 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_prog_ac_ct_AR="ar"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5378 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5379 if test -n "$ac_ct_AR"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5381 $as_echo "$ac_ct_AR" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5384 $as_echo "no
" >&6; }
5387 if test "x
$ac_ct_AR" = x; then
5390 case $cross_compiling:$ac_tool_warned in
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5393 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5394 ac_tool_warned=yes ;;
5402 test -z "$AR" && AR=ar
5403 test -z "$AR_FLAGS" && AR_FLAGS=cru
5415 if test -n "$ac_tool_prefix"; then
5416 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5417 set dummy ${ac_tool_prefix}strip; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5419 $as_echo_n "checking
for $ac_word...
" >&6; }
5420 if test "${ac_cv_prog_STRIP+set}" = set; then :
5421 $as_echo_n "(cached
) " >&6
5423 if test -n "$STRIP"; then
5424 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5433 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5443 STRIP=$ac_cv_prog_STRIP
5444 if test -n "$STRIP"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5446 $as_echo "$STRIP" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5449 $as_echo "no
" >&6; }
5454 if test -z "$ac_cv_prog_STRIP"; then
5456 # Extract the first word of "strip
", so it can be a program name with args.
5457 set dummy strip; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5459 $as_echo_n "checking
for $ac_word...
" >&6; }
5460 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5461 $as_echo_n "(cached
) " >&6
5463 if test -n "$ac_ct_STRIP"; then
5464 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5473 ac_cv_prog_ac_ct_STRIP="strip
"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5483 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5484 if test -n "$ac_ct_STRIP"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5486 $as_echo "$ac_ct_STRIP" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5489 $as_echo "no
" >&6; }
5492 if test "x
$ac_ct_STRIP" = x; then
5495 case $cross_compiling:$ac_tool_warned in
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5498 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5499 ac_tool_warned=yes ;;
5504 STRIP="$ac_cv_prog_STRIP"
5507 test -z "$STRIP" && STRIP=:
5514 if test -n "$ac_tool_prefix"; then
5515 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5516 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5518 $as_echo_n "checking
for $ac_word...
" >&6; }
5519 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5520 $as_echo_n "(cached
) " >&6
5522 if test -n "$RANLIB"; then
5523 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5532 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5542 RANLIB=$ac_cv_prog_RANLIB
5543 if test -n "$RANLIB"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5545 $as_echo "$RANLIB" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5548 $as_echo "no
" >&6; }
5553 if test -z "$ac_cv_prog_RANLIB"; then
5554 ac_ct_RANLIB=$RANLIB
5555 # Extract the first word of "ranlib
", so it can be a program name with args.
5556 set dummy ranlib; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5558 $as_echo_n "checking
for $ac_word...
" >&6; }
5559 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5560 $as_echo_n "(cached
) " >&6
5562 if test -n "$ac_ct_RANLIB"; then
5563 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5582 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5583 if test -n "$ac_ct_RANLIB"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5585 $as_echo "$ac_ct_RANLIB" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5588 $as_echo "no
" >&6; }
5591 if test "x
$ac_ct_RANLIB" = x; then
5594 case $cross_compiling:$ac_tool_warned in
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5597 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5598 ac_tool_warned=yes ;;
5600 RANLIB=$ac_ct_RANLIB
5603 RANLIB="$ac_cv_prog_RANLIB"
5606 test -z "$RANLIB" && RANLIB=:
5613 # Determine commands to create old-style static archives.
5614 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5615 old_postinstall_cmds='chmod 644 $oldlib'
5616 old_postuninstall_cmds=
5618 if test -n "$RANLIB"; then
5621 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5624 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5627 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5632 lock_old_archive_extraction=yes ;;
5634 lock_old_archive_extraction=no ;;
5675 # If no C compiler was specified, use CC.
5678 # If no C compiler flags were specified, use CFLAGS.
5679 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5681 # Allow CC to be a program name with arguments.
5685 # Check for command to grab the raw symbol name followed by C symbol from nm.
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5687 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5688 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5689 $as_echo_n "(cached
) " >&6
5692 # These are sane defaults that work on at least a few old systems.
5693 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5695 # Character class describing NM global symbol codes.
5696 symcode='[BCDEGRST]'
5698 # Regexp to match symbols that can be accessed directly from C.
5699 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5701 # Define system-specific variables.
5706 cygwin* | mingw* | pw32* | cegcc*)
5707 symcode='[ABCDGISTW]'
5710 if test "$host_cpu" = ia64; then
5711 symcode='[ABCDEGRST]'
5715 symcode='[BCDEGRST]'
5718 symcode='[BCDEGQRST]'
5729 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5737 # If we're using GNU nm, then use its standard symbol codes.
5738 case `$NM -V 2>&1` in
5739 *GNU* | *'with BFD'*)
5740 symcode='[ABCDGIRSTW]' ;;
5743 # Transform an extracted symbol line into a proper C declaration.
5744 # Some systems (esp. on ia64) link data and code symbols differently,
5745 # so use this general approach.
5746 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5748 # Transform an extracted symbol line into symbol name and symbol address
5749 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5750 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'"
5752 # Handle CRLF in mingw tool chain
5756 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5760 # Try without a prefix underscore, then with it.
5761 for ac_symprfx in "" "_
"; do
5763 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5764 symxfrm="\\1 $ac_symprfx\\2 \\2"
5766 # Write the raw and C identifiers.
5767 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5768 # Fake it for dumpbin and say T for any non-static function
5769 # and D for any global variable.
5770 # Also find C++ and __fastcall symbols from MSVC++,
5771 # which start with @ or ?.
5772 lt_cv_sys_global_symbol_pipe="$AWK '"\
5773 " {last_section=section; section=\$ 3};"\
5774 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5775 " \$ 0!~/External *\|/{next};"\
5776 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5777 " {if(hide[section]) next};"\
5778 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5779 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5780 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5781 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5782 " ' prfx
=^
$ac_symprfx"
5784 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5787 # Check to see that the pipe works correctly.
5791 cat > conftest.$ac_ext <<_LT_EOF
5796 void nm_test_func(void);
5797 void nm_test_func(void){}
5801 int main(){nm_test_var='a';nm_test_func();return(0);}
5804 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5805 (eval $ac_compile) 2>&5
5807 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5808 test $ac_status = 0; }; then
5809 # Now try to grab the symbols.
5811 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5812 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5814 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5815 test $ac_status = 0; } && test -s "$nlist"; then
5816 # Try sorting and uniquifying the output.
5817 if sort "$nlist" | uniq > "$nlist"T; then
5818 mv -f "$nlist"T "$nlist"
5823 # Make sure that we snagged all the symbols we need.
5824 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5825 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5826 cat <<_LT_EOF > conftest.$ac_ext
5832 # Now generate the symbol file.
5833 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5835 cat <<_LT_EOF >> conftest.$ac_ext
5837 /* The mapping between symbol names and symbols. */
5842 lt__PROGRAM__LTX_preloaded_symbols[] =
5844 { "@PROGRAM@
", (void *) 0 },
5846 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5847 cat <<\_LT_EOF >> conftest.$ac_ext
5851 /* This works around a problem in FreeBSD linker */
5852 #ifdef FREEBSD_WORKAROUND
5853 static const void *lt_preloaded_setup() {
5854 return lt__PROGRAM__LTX_preloaded_symbols;
5862 # Now try linking the two files.
5863 mv conftest.$ac_objext conftstm.$ac_objext
5864 lt_save_LIBS="$LIBS"
5865 lt_save_CFLAGS="$CFLAGS"
5866 LIBS="conftstm.
$ac_objext"
5867 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5868 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5869 (eval $ac_link) 2>&5
5871 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5872 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5875 LIBS="$lt_save_LIBS"
5876 CFLAGS="$lt_save_CFLAGS"
5878 echo "cannot
find nm_test_func
in $nlist" >&5
5881 echo "cannot
find nm_test_var
in $nlist" >&5
5884 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5887 echo "$progname: failed program was
:" >&5
5888 cat conftest.$ac_ext >&5
5890 rm -rf conftest* conftst*
5892 # Do not use the global_symbol_pipe unless it works.
5893 if test "$pipe_works" = yes; then
5896 lt_cv_sys_global_symbol_pipe=
5902 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5903 lt_cv_sys_global_symbol_to_cdecl=
5905 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5907 $as_echo "failed
" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5910 $as_echo "ok
" >&6; }
5934 # Check whether --enable-libtool-lock was given.
5935 if test "${enable_libtool_lock+set}" = set; then :
5936 enableval=$enable_libtool_lock;
5939 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5941 # Some flags need to be propagated to the compiler or linker for good
5945 # Find out which ABI we are using.
5946 echo 'int i;' > conftest.$ac_ext
5947 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5948 (eval $ac_compile) 2>&5
5950 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5951 test $ac_status = 0; }; then
5952 case `/usr/bin/file conftest.$ac_objext` in
5964 # Find out which ABI we are using.
5965 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5966 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5967 (eval $ac_compile) 2>&5
5969 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5970 test $ac_status = 0; }; then
5971 if test "$lt_cv_prog_gnu_ld" = yes; then
5972 case `/usr/bin/file conftest.$ac_objext` in
5974 LD="${LD-ld} -melf32bsmip"
5977 LD="${LD-ld} -melf32bmipn32"
5980 LD="${LD-ld} -melf64bmip"
5984 case `/usr/bin/file conftest.$ac_objext` in
6000 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6001 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6002 # Find out which ABI we are using.
6003 echo 'int i;' > conftest.$ac_ext
6004 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6005 (eval $ac_compile) 2>&5
6007 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6008 test $ac_status = 0; }; then
6009 case `/usr/bin/file conftest.o` in
6012 x86_64-*kfreebsd*-gnu)
6013 LD="${LD-ld} -m elf_i386_fbsd
"
6016 LD="${LD-ld} -m elf_i386
"
6018 ppc64-*linux*|powerpc64-*linux*)
6019 LD="${LD-ld} -m elf32ppclinux
"
6022 LD="${LD-ld} -m elf_s390
"
6025 LD="${LD-ld} -m elf32_sparc
"
6031 x86_64-*kfreebsd*-gnu)
6032 LD="${LD-ld} -m elf_x86_64_fbsd
"
6035 LD="${LD-ld} -m elf_x86_64
"
6037 ppc*-*linux*|powerpc*-*linux*)
6038 LD="${LD-ld} -m elf64ppc
"
6040 s390*-*linux*|s390*-*tpf*)
6041 LD="${LD-ld} -m elf64_s390
"
6044 LD="${LD-ld} -m elf64_sparc
"
6054 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6055 SAVE_CFLAGS="$CFLAGS"
6056 CFLAGS="$CFLAGS -belf"
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6058 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6059 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6060 $as_echo_n "(cached
) " >&6
6063 ac_cpp='$CPP $CPPFLAGS'
6064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6079 if ac_fn_c_try_link "$LINENO"; then :
6080 lt_cv_cc_needs_belf=yes
6082 lt_cv_cc_needs_belf=no
6084 rm -f core conftest.err conftest.$ac_objext \
6085 conftest$ac_exeext conftest.$ac_ext
6087 ac_cpp='$CPP $CPPFLAGS'
6088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6094 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6095 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6096 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6097 CFLAGS="$SAVE_CFLAGS"
6101 # Find out which ABI we are using.
6102 echo 'int i;' > conftest.$ac_ext
6103 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6104 (eval $ac_compile) 2>&5
6106 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6107 test $ac_status = 0; }; then
6108 case `/usr/bin/file conftest.o` in
6110 case $lt_cv_prog_gnu_ld in
6111 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6113 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6125 need_locks="$enable_libtool_lock"
6129 rhapsody* | darwin*)
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$DSYMUTIL"; then
6139 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6159 if test -n "$DSYMUTIL"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6161 $as_echo "$DSYMUTIL" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6169 if test -z "$ac_cv_prog_DSYMUTIL"; then
6170 ac_ct_DSYMUTIL=$DSYMUTIL
6171 # Extract the first word of "dsymutil
", so it can be a program name with args.
6172 set dummy dsymutil; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6174 $as_echo_n "checking
for $ac_word...
" >&6; }
6175 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6176 $as_echo_n "(cached
) " >&6
6178 if test -n "$ac_ct_DSYMUTIL"; then
6179 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6198 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6199 if test -n "$ac_ct_DSYMUTIL"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6201 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6204 $as_echo "no
" >&6; }
6207 if test "x
$ac_ct_DSYMUTIL" = x; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6213 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6214 ac_tool_warned=yes ;;
6216 DSYMUTIL=$ac_ct_DSYMUTIL
6219 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6226 $as_echo_n "checking
for $ac_word...
" >&6; }
6227 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6228 $as_echo_n "(cached
) " >&6
6230 if test -n "$NMEDIT"; then
6231 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6250 NMEDIT=$ac_cv_prog_NMEDIT
6251 if test -n "$NMEDIT"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6253 $as_echo "$NMEDIT" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6256 $as_echo "no
" >&6; }
6261 if test -z "$ac_cv_prog_NMEDIT"; then
6262 ac_ct_NMEDIT=$NMEDIT
6263 # Extract the first word of "nmedit
", so it can be a program name with args.
6264 set dummy nmedit; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6266 $as_echo_n "checking
for $ac_word...
" >&6; }
6267 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6268 $as_echo_n "(cached
) " >&6
6270 if test -n "$ac_ct_NMEDIT"; then
6271 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6291 if test -n "$ac_ct_NMEDIT"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6293 $as_echo "$ac_ct_NMEDIT" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6296 $as_echo "no
" >&6; }
6299 if test "x
$ac_ct_NMEDIT" = x; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6306 ac_tool_warned=yes ;;
6308 NMEDIT=$ac_ct_NMEDIT
6311 NMEDIT="$ac_cv_prog_NMEDIT"
6314 if test -n "$ac_tool_prefix"; then
6315 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6316 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6318 $as_echo_n "checking
for $ac_word...
" >&6; }
6319 if test "${ac_cv_prog_LIPO+set}" = set; then :
6320 $as_echo_n "(cached
) " >&6
6322 if test -n "$LIPO"; then
6323 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6332 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6342 LIPO=$ac_cv_prog_LIPO
6343 if test -n "$LIPO"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6345 $as_echo "$LIPO" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6348 $as_echo "no
" >&6; }
6353 if test -z "$ac_cv_prog_LIPO"; then
6355 # Extract the first word of "lipo
", so it can be a program name with args.
6356 set dummy lipo; ac_word=$2
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6358 $as_echo_n "checking
for $ac_word...
" >&6; }
6359 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6360 $as_echo_n "(cached
) " >&6
6362 if test -n "$ac_ct_LIPO"; then
6363 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 test -z "$as_dir" && as_dir=.
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6372 ac_cv_prog_ac_ct_LIPO="lipo
"
6373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6382 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6383 if test -n "$ac_ct_LIPO"; then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6385 $as_echo "$ac_ct_LIPO" >&6; }
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6388 $as_echo "no
" >&6; }
6391 if test "x
$ac_ct_LIPO" = x; then
6394 case $cross_compiling:$ac_tool_warned in
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6397 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6398 ac_tool_warned=yes ;;
6403 LIPO="$ac_cv_prog_LIPO"
6406 if test -n "$ac_tool_prefix"; then
6407 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6408 set dummy ${ac_tool_prefix}otool; ac_word=$2
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6410 $as_echo_n "checking
for $ac_word...
" >&6; }
6411 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6412 $as_echo_n "(cached
) " >&6
6414 if test -n "$OTOOL"; then
6415 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6421 test -z "$as_dir" && as_dir=.
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6424 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6434 OTOOL=$ac_cv_prog_OTOOL
6435 if test -n "$OTOOL"; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6437 $as_echo "$OTOOL" >&6; }
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6440 $as_echo "no
" >&6; }
6445 if test -z "$ac_cv_prog_OTOOL"; then
6447 # Extract the first word of "otool
", so it can be a program name with args.
6448 set dummy otool; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6450 $as_echo_n "checking
for $ac_word...
" >&6; }
6451 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6452 $as_echo_n "(cached
) " >&6
6454 if test -n "$ac_ct_OTOOL"; then
6455 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464 ac_cv_prog_ac_ct_OTOOL="otool
"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6474 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6475 if test -n "$ac_ct_OTOOL"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6477 $as_echo "$ac_ct_OTOOL" >&6; }
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6480 $as_echo "no
" >&6; }
6483 if test "x
$ac_ct_OTOOL" = x; then
6486 case $cross_compiling:$ac_tool_warned in
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6489 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6490 ac_tool_warned=yes ;;
6495 OTOOL="$ac_cv_prog_OTOOL"
6498 if test -n "$ac_tool_prefix"; then
6499 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6502 $as_echo_n "checking
for $ac_word...
" >&6; }
6503 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6504 $as_echo_n "(cached
) " >&6
6506 if test -n "$OTOOL64"; then
6507 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6526 OTOOL64=$ac_cv_prog_OTOOL64
6527 if test -n "$OTOOL64"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6529 $as_echo "$OTOOL64" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6532 $as_echo "no
" >&6; }
6537 if test -z "$ac_cv_prog_OTOOL64"; then
6538 ac_ct_OTOOL64=$OTOOL64
6539 # Extract the first word of "otool64
", so it can be a program name with args.
6540 set dummy otool64; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6542 $as_echo_n "checking
for $ac_word...
" >&6; }
6543 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6544 $as_echo_n "(cached
) " >&6
6546 if test -n "$ac_ct_OTOOL64"; then
6547 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6566 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6567 if test -n "$ac_ct_OTOOL64"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6569 $as_echo "$ac_ct_OTOOL64" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6572 $as_echo "no
" >&6; }
6575 if test "x
$ac_ct_OTOOL64" = x; then
6578 case $cross_compiling:$ac_tool_warned in
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6581 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6582 ac_tool_warned=yes ;;
6584 OTOOL64=$ac_ct_OTOOL64
6587 OTOOL64="$ac_cv_prog_OTOOL64"
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6617 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6618 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6619 $as_echo_n "(cached
) " >&6
6621 lt_cv_apple_cc_single_mod=no
6622 if test -z "${LT_MULTI_MODULE}"; then
6623 # By default we will add the -single_module flag. You can override
6624 # by either setting the environment variable LT_MULTI_MODULE
6625 # non-empty at configure time, or by adding -multi_module to the
6627 rm -rf libconftest.dylib*
6628 echo "int foo
(void
){return 1;}" > conftest.c
6629 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6630 -dynamiclib -Wl,-single_module conftest.c
" >&5
6631 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6632 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6634 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6635 lt_cv_apple_cc_single_mod=yes
6637 cat conftest.err >&5
6639 rm -rf libconftest.dylib*
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6644 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6646 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6647 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6648 $as_echo_n "(cached
) " >&6
6650 lt_cv_ld_exported_symbols_list=no
6651 save_LDFLAGS=$LDFLAGS
6652 echo "_main
" > conftest.sym
6653 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6665 if ac_fn_c_try_link "$LINENO"; then :
6666 lt_cv_ld_exported_symbols_list=yes
6668 lt_cv_ld_exported_symbols_list=no
6670 rm -f core conftest.err conftest.$ac_objext \
6671 conftest$ac_exeext conftest.$ac_ext
6672 LDFLAGS="$save_LDFLAGS"
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6676 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6678 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6679 if test "${lt_cv_ld_force_load+set}" = set; then :
6680 $as_echo_n "(cached
) " >&6
6682 lt_cv_ld_force_load=no
6683 cat > conftest.c << _LT_EOF
6684 int forced_loaded() { return 2;}
6686 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6687 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6688 echo "$AR cru libconftest.a conftest.o
" >&5
6689 $AR cru libconftest.a conftest.o 2>&5
6690 cat > conftest.c << _LT_EOF
6691 int main() { return 0;}
6693 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6694 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6696 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6697 lt_cv_ld_force_load=yes
6699 cat conftest.err >&5
6701 rm -f conftest.err libconftest.a conftest conftest.c
6702 rm -rf conftest.dSYM
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6706 $as_echo "$lt_cv_ld_force_load" >&6; }
6708 rhapsody* | darwin1.[012])
6709 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6711 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6712 darwin*) # darwin 5.x on
6713 # if running on 10.5 or later, the deployment target defaults
6714 # to the OS version, if on x86, and 10.4, the deployment
6715 # target defaults to 10.4. Don't you love it?
6716 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6717 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6718 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6720 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6722 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6726 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6727 _lt_dar_single_mod='$single_module'
6729 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6730 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6732 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6734 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6735 _lt_dsymutil='~$DSYMUTIL $lib || :'
6743 ac_cpp='$CPP $CPPFLAGS'
6744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6748 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6749 # On Suns, sometimes $CPP names a directory.
6750 if test -n "$CPP" && test -d "$CPP"; then
6753 if test -z "$CPP"; then
6754 if test "${ac_cv_prog_CPP+set}" = set; then :
6755 $as_echo_n "(cached
) " >&6
6757 # Double quotes because CPP needs to be expanded
6758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6761 for ac_c_preproc_warn_flag in '' yes
6763 # Use a header file that comes with gcc, so configuring glibc
6764 # with a fresh cross-compiler works.
6765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6766 # <limits.h> exists even on freestanding compilers.
6767 # On the NeXT, cc -E runs the code through the compiler's parser,
6768 # not just through cpp. "Syntax error
" is here to catch this case.
6769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6772 # include <limits.h>
6774 # include <assert.h>
6778 if ac_fn_c_try_cpp "$LINENO"; then :
6781 # Broken: fails on valid input.
6784 rm -f conftest.err conftest.$ac_ext
6786 # OK, works on sane cases. Now check whether nonexistent headers
6787 # can be detected and how.
6788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6790 #include <ac_nonexistent.h>
6792 if ac_fn_c_try_cpp "$LINENO"; then :
6793 # Broken: success on invalid input.
6796 # Passes both tests.
6800 rm -f conftest.err conftest.$ac_ext
6803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6804 rm -f conftest.err conftest.$ac_ext
6805 if $ac_preproc_ok; then :
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6818 $as_echo "$CPP" >&6; }
6820 for ac_c_preproc_warn_flag in '' yes
6822 # Use a header file that comes with gcc, so configuring glibc
6823 # with a fresh cross-compiler works.
6824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6825 # <limits.h> exists even on freestanding compilers.
6826 # On the NeXT, cc -E runs the code through the compiler's parser,
6827 # not just through cpp. "Syntax error
" is here to catch this case.
6828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6831 # include <limits.h>
6833 # include <assert.h>
6837 if ac_fn_c_try_cpp "$LINENO"; then :
6840 # Broken: fails on valid input.
6843 rm -f conftest.err conftest.$ac_ext
6845 # OK, works on sane cases. Now check whether nonexistent headers
6846 # can be detected and how.
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 #include <ac_nonexistent.h>
6851 if ac_fn_c_try_cpp "$LINENO"; then :
6852 # Broken: success on invalid input.
6855 # Passes both tests.
6859 rm -f conftest.err conftest.$ac_ext
6862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6863 rm -f conftest.err conftest.$ac_ext
6864 if $ac_preproc_ok; then :
6867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6869 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6870 See \`config.log' for more details.
" "$LINENO" 5; }
6874 ac_cpp='$CPP $CPPFLAGS'
6875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6881 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6882 if test "${ac_cv_header_stdc+set}" = set; then :
6883 $as_echo_n "(cached
) " >&6
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6900 if ac_fn_c_try_compile "$LINENO"; then :
6901 ac_cv_header_stdc=yes
6903 ac_cv_header_stdc=no
6905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6907 if test $ac_cv_header_stdc = yes; then
6908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6914 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6915 $EGREP "memchr
" >/dev/null 2>&1; then :
6918 ac_cv_header_stdc=no
6924 if test $ac_cv_header_stdc = yes; then
6925 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6931 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6932 $EGREP "free
" >/dev/null 2>&1; then :
6935 ac_cv_header_stdc=no
6941 if test $ac_cv_header_stdc = yes; then
6942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6943 if test "$cross_compiling" = yes; then :
6946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6947 /* end confdefs.h. */
6950 #if ((' ' & 0x0FF) == 0x020)
6951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6954 # define ISLOWER(c) \
6955 (('a' <= (c) && (c) <= 'i') \
6956 || ('j' <= (c) && (c) <= 'r') \
6957 || ('s' <= (c) && (c) <= 'z'))
6958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6966 for (i = 0; i < 256; i++)
6967 if (XOR (islower (i), ISLOWER (i))
6968 || toupper (i) != TOUPPER (i))
6973 if ac_fn_c_try_run "$LINENO"; then :
6976 ac_cv_header_stdc=no
6978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6979 conftest.$ac_objext conftest.beam conftest.$ac_ext
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6985 $as_echo "$ac_cv_header_stdc" >&6; }
6986 if test $ac_cv_header_stdc = yes; then
6988 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6992 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6993 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6994 inttypes.h stdint.h unistd.h
6996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6997 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6999 eval as_val
=\$
$as_ac_Header
7000 if test "x$as_val" = x
""yes; then :
7001 cat >>confdefs.h
<<_ACEOF
7002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 for ac_header
in dlfcn.h
7012 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7014 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7015 cat >>confdefs.h
<<_ACEOF
7016 #define HAVE_DLFCN_H 1
7037 # Check whether --enable-shared was given.
7038 if test "${enable_shared+set}" = set; then :
7039 enableval
=$enable_shared; p
=${PACKAGE-default}
7041 yes) enable_shared
=yes ;;
7042 no
) enable_shared
=no
;;
7045 # Look at the argument we got. We use all the common list separators.
7046 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7047 for pkg
in $enableval; do
7049 if test "X$pkg" = "X$p"; then
7068 # Check whether --enable-static was given.
7069 if test "${enable_static+set}" = set; then :
7070 enableval
=$enable_static; p
=${PACKAGE-default}
7072 yes) enable_static
=yes ;;
7073 no
) enable_static
=no
;;
7076 # Look at the argument we got. We use all the common list separators.
7077 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7078 for pkg
in $enableval; do
7080 if test "X$pkg" = "X$p"; then
7100 # Check whether --with-pic was given.
7101 if test "${with_pic+set}" = set; then :
7102 withval
=$with_pic; pic_mode
="$withval"
7108 test -z "$pic_mode" && pic_mode
=default
7116 # Check whether --enable-fast-install was given.
7117 if test "${enable_fast_install+set}" = set; then :
7118 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7120 yes) enable_fast_install
=yes ;;
7121 no
) enable_fast_install
=no
;;
7123 enable_fast_install
=no
7124 # Look at the argument we got. We use all the common list separators.
7125 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7126 for pkg
in $enableval; do
7128 if test "X$pkg" = "X$p"; then
7129 enable_fast_install
=yes
7136 enable_fast_install
=yes
7149 # This can be used to rebuild libtool when needed
7150 LIBTOOL_DEPS
="$ltmain"
7152 # Always use our own libtool.
7153 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7180 test -z "$LN_S" && LN_S
="ln -s"
7195 if test -n "${ZSH_VERSION+set}" ; then
7196 setopt NO_GLOB_SUBST
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7200 $as_echo_n "checking for objdir... " >&6; }
7201 if test "${lt_cv_objdir+set}" = set; then :
7202 $as_echo_n "(cached) " >&6
7204 rm -f .libs
2>/dev
/null
7205 mkdir .libs
2>/dev
/null
7206 if test -d .libs
; then
7209 # MS-DOS does not allow filenames that begin with a dot.
7212 rmdir .libs
2>/dev
/null
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7215 $as_echo "$lt_cv_objdir" >&6; }
7216 objdir
=$lt_cv_objdir
7222 cat >>confdefs.h
<<_ACEOF
7223 #define LT_OBJDIR "$lt_cv_objdir/"
7231 # AIX sometimes has problems with the GCC collect2 program. For some
7232 # reason, if we set the COLLECT_NAMES environment variable, the problems
7233 # vanish in a puff of smoke.
7234 if test "X${COLLECT_NAMES+set}" != Xset
; then
7236 export COLLECT_NAMES
7243 can_build_shared
=yes
7245 # All known linkers require a `.a' archive for static linking (except MSVC,
7246 # which needs '.lib').
7249 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7252 old_CFLAGS
="$CFLAGS"
7254 # Set sane defaults for various variables
7255 test -z "$CC" && CC
=cc
7256 test -z "$LTCC" && LTCC
=$CC
7257 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7258 test -z "$LD" && LD
=ld
7259 test -z "$ac_objext" && ac_objext
=o
7261 for cc_temp
in $compiler""; do
7263 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7264 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7269 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7272 # Only perform the check for file, if the check method requires it
7273 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7274 case $deplibs_check_method in
7276 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7278 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7279 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7280 $as_echo_n "(cached) " >&6
7284 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7287 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7288 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7289 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7290 for ac_dir
in $ac_dummy; do
7292 test -z "$ac_dir" && ac_dir
=.
7293 if test -f $ac_dir/${ac_tool_prefix}file; then
7294 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7295 if test -n "$file_magic_test_file"; then
7296 case $deplibs_check_method in
7298 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7299 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7300 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7301 $EGREP "$file_magic_regex" > /dev
/null
; then
7306 *** Warning: the command libtool uses to detect shared libraries,
7307 *** $file_magic_cmd, produces output that libtool cannot recognize.
7308 *** The result is that libtool may fail to recognize shared libraries
7309 *** as such. This will affect the creation of libtool libraries that
7310 *** depend on shared libraries, but programs linked with such libtool
7311 *** libraries will work regardless of this problem. Nevertheless, you
7312 *** may want to report the problem to your system manager and/or to
7313 *** bug-libtool@gnu.org
7323 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7328 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7329 if test -n "$MAGIC_CMD"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7331 $as_echo "$MAGIC_CMD" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7341 if test -z "$lt_cv_path_MAGIC_CMD"; then
7342 if test -n "$ac_tool_prefix"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7344 $as_echo_n "checking for file... " >&6; }
7345 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7346 $as_echo_n "(cached) " >&6
7350 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7353 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7354 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7355 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7356 for ac_dir
in $ac_dummy; do
7358 test -z "$ac_dir" && ac_dir
=.
7359 if test -f $ac_dir/file; then
7360 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7361 if test -n "$file_magic_test_file"; then
7362 case $deplibs_check_method in
7364 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7365 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7366 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7367 $EGREP "$file_magic_regex" > /dev
/null
; then
7372 *** Warning: the command libtool uses to detect shared libraries,
7373 *** $file_magic_cmd, produces output that libtool cannot recognize.
7374 *** The result is that libtool may fail to recognize shared libraries
7375 *** as such. This will affect the creation of libtool libraries that
7376 *** depend on shared libraries, but programs linked with such libtool
7377 *** libraries will work regardless of this problem. Nevertheless, you
7378 *** may want to report the problem to your system manager and/or to
7379 *** bug-libtool@gnu.org
7389 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7394 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7395 if test -n "$MAGIC_CMD"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7397 $as_echo "$MAGIC_CMD" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7413 # Use C for the default configuration in the libtool script
7417 ac_cpp
='$CPP $CPPFLAGS'
7418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7423 # Source file extension for C test sources.
7426 # Object file extension for compiled C test sources.
7430 # Code to be used in simple compile tests
7431 lt_simple_compile_test_code
="int some_variable = 0;"
7433 # Code to be used in simple link tests
7434 lt_simple_link_test_code
='int main(){return(0);}'
7442 # If no C compiler was specified, use CC.
7445 # If no C compiler flags were specified, use CFLAGS.
7446 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7448 # Allow CC to be a program name with arguments.
7451 # Save the default compiler, since it gets overwritten when the other
7452 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7453 compiler_DEFAULT
=$CC
7455 # save warnings/boilerplate of simple test code
7456 ac_outfile
=conftest.
$ac_objext
7457 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7458 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7459 _lt_compiler_boilerplate
=`cat conftest.err`
7462 ac_outfile
=conftest.
$ac_objext
7463 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7464 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7465 _lt_linker_boilerplate
=`cat conftest.err`
7470 ## There is no encapsulation within the following macros, do not change
7471 ## the running order or otherwise move them around unless you know exactly
7472 ## what you are doing...
7473 if test -n "$compiler"; then
7475 lt_prog_compiler_no_builtin_flag
=
7477 if test "$GCC" = yes; then
7478 case $cc_basename in
7480 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7482 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7486 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7487 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7490 lt_cv_prog_compiler_rtti_exceptions
=no
7491 ac_outfile
=conftest.
$ac_objext
7492 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7493 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7494 # Insert the option either (1) after the last *FLAGS variable, or
7495 # (2) before a word containing "conftest.", or (3) at the end.
7496 # Note that $ac_compile itself does not contain backslashes and begins
7497 # with a dollar sign (not a hyphen), so the echo should work correctly.
7498 # The option is referenced via a variable to avoid confusing sed.
7499 lt_compile
=`echo "$ac_compile" | $SED \
7500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7502 -e 's:$: $lt_compiler_flag:'`
7503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7504 (eval "$lt_compile" 2>conftest.err
)
7506 cat conftest.err
>&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 if (exit $ac_status) && test -s "$ac_outfile"; then
7509 # The compiler can only warn and ignore the option if not recognized
7510 # So say no if there are warnings other than the usual output.
7511 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7512 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7513 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7514 lt_cv_prog_compiler_rtti_exceptions
=yes
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7521 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7523 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7524 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7536 lt_prog_compiler_wl
=
7537 lt_prog_compiler_pic
=
7538 lt_prog_compiler_static
=
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7541 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7543 if test "$GCC" = yes; then
7544 lt_prog_compiler_wl
='-Wl,'
7545 lt_prog_compiler_static
='-static'
7549 # All AIX code is PIC.
7550 if test "$host_cpu" = ia64
; then
7551 # AIX 5 now supports IA64 processor
7552 lt_prog_compiler_static
='-Bstatic'
7559 # see comment about AmigaOS4 .so support
7560 lt_prog_compiler_pic
='-fPIC'
7563 # FIXME: we need at least 68020 code to build shared libraries, but
7564 # adding the `-m68020' flag to GCC prevents building anything better,
7566 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7571 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7572 # PIC is the default for these OSes.
7575 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7576 # This hack is so that the source file can tell whether it is being
7577 # built for inclusion in a dll (and should export symbols for example).
7578 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7579 # (--disable-auto-import) libraries
7580 lt_prog_compiler_pic
='-DDLL_EXPORT'
7583 darwin
* | rhapsody
*)
7584 # PIC is the default on this platform
7585 # Common symbols not allowed in MH_DYLIB files
7586 lt_prog_compiler_pic
='-fno-common'
7590 # PIC is the default for Haiku.
7591 # The "-static" flag exists, but is broken.
7592 lt_prog_compiler_static
=
7596 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7597 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7598 # sets the default TLS model and affects inlining.
7604 lt_prog_compiler_pic
='-fPIC'
7610 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7611 # Instead, we relocate shared libraries at runtime.
7615 # Just because we use GCC doesn't mean we suddenly get shared libraries
7616 # on systems that don't support them.
7617 lt_prog_compiler_can_build_shared
=no
7622 # QNX uses GNU C++, but need to define -shared option too, otherwise
7624 lt_prog_compiler_pic
='-fPIC -shared'
7628 if test -d /usr
/nec
; then
7629 lt_prog_compiler_pic
=-Kconform_pic
7634 lt_prog_compiler_pic
='-fPIC'
7638 case $cc_basename in
7639 nvcc
*) # Cuda Compiler Driver 2.2
7640 lt_prog_compiler_wl
='-Xlinker '
7641 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7645 # PORTME Check for flag to pass linker flags through the system compiler.
7648 lt_prog_compiler_wl
='-Wl,'
7649 if test "$host_cpu" = ia64
; then
7650 # AIX 5 now supports IA64 processor
7651 lt_prog_compiler_static
='-Bstatic'
7653 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7657 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7658 # This hack is so that the source file can tell whether it is being
7659 # built for inclusion in a dll (and should export symbols for example).
7660 lt_prog_compiler_pic
='-DDLL_EXPORT'
7663 hpux9
* | hpux10
* | hpux11
*)
7664 lt_prog_compiler_wl
='-Wl,'
7665 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7672 lt_prog_compiler_pic
='+Z'
7675 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7676 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7679 irix5
* | irix6
* | nonstopux
*)
7680 lt_prog_compiler_wl
='-Wl,'
7681 # PIC (with -KPIC) is the default.
7682 lt_prog_compiler_static
='-non_shared'
7685 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7686 case $cc_basename in
7687 # old Intel for x86_64 which still supported -KPIC.
7689 lt_prog_compiler_wl
='-Wl,'
7690 lt_prog_compiler_pic
='-KPIC'
7691 lt_prog_compiler_static
='-static'
7693 # icc used to be incompatible with GCC.
7694 # ICC 10 doesn't accept -KPIC any more.
7696 lt_prog_compiler_wl
='-Wl,'
7697 lt_prog_compiler_pic
='-fPIC'
7698 lt_prog_compiler_static
='-static'
7700 # Lahey Fortran 8.1.
7702 lt_prog_compiler_wl
='-Wl,'
7703 lt_prog_compiler_pic
='--shared'
7704 lt_prog_compiler_static
='--static'
7706 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7707 # Portland Group compilers (*not* the Pentium gcc compiler,
7708 # which looks to be a dead project)
7709 lt_prog_compiler_wl
='-Wl,'
7710 lt_prog_compiler_pic
='-fpic'
7711 lt_prog_compiler_static
='-Bstatic'
7714 lt_prog_compiler_wl
='-Wl,'
7715 # All Alpha code is PIC.
7716 lt_prog_compiler_static
='-non_shared'
7718 xl
* | bgxl
* | bgf
* | mpixl
*)
7719 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7720 lt_prog_compiler_wl
='-Wl,'
7721 lt_prog_compiler_pic
='-qpic'
7722 lt_prog_compiler_static
='-qstaticlink'
7725 case `$CC -V 2>&1 | sed 5q` in
7726 *Sun\ F
* |
*Sun
*Fortran
*)
7727 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7728 lt_prog_compiler_pic
='-KPIC'
7729 lt_prog_compiler_static
='-Bstatic'
7730 lt_prog_compiler_wl
=''
7734 lt_prog_compiler_pic
='-KPIC'
7735 lt_prog_compiler_static
='-Bstatic'
7736 lt_prog_compiler_wl
='-Wl,'
7744 lt_prog_compiler_pic
='-KPIC'
7745 lt_prog_compiler_static
='-Bstatic'
7749 # QNX uses GNU C++, but need to define -shared option too, otherwise
7751 lt_prog_compiler_pic
='-fPIC -shared'
7754 osf3
* | osf4
* | osf5
*)
7755 lt_prog_compiler_wl
='-Wl,'
7756 # All OSF/1 code is PIC.
7757 lt_prog_compiler_static
='-non_shared'
7761 lt_prog_compiler_static
='-non_shared'
7765 lt_prog_compiler_pic
='-KPIC'
7766 lt_prog_compiler_static
='-Bstatic'
7767 case $cc_basename in
7769 lt_prog_compiler_wl
='-Qoption ld ';;
7771 lt_prog_compiler_wl
='-Wl,';;
7776 lt_prog_compiler_wl
='-Qoption ld '
7777 lt_prog_compiler_pic
='-PIC'
7778 lt_prog_compiler_static
='-Bstatic'
7781 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7782 lt_prog_compiler_wl
='-Wl,'
7783 lt_prog_compiler_pic
='-KPIC'
7784 lt_prog_compiler_static
='-Bstatic'
7788 if test -d /usr
/nec
;then
7789 lt_prog_compiler_pic
='-Kconform_pic'
7790 lt_prog_compiler_static
='-Bstatic'
7794 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7795 lt_prog_compiler_wl
='-Wl,'
7796 lt_prog_compiler_pic
='-KPIC'
7797 lt_prog_compiler_static
='-Bstatic'
7801 lt_prog_compiler_wl
='-Wl,'
7802 lt_prog_compiler_can_build_shared
=no
7806 lt_prog_compiler_pic
='-pic'
7807 lt_prog_compiler_static
='-Bstatic'
7811 lt_prog_compiler_can_build_shared
=no
7817 # For platforms which do not support PIC, -DPIC is meaningless:
7819 lt_prog_compiler_pic
=
7822 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7826 $as_echo "$lt_prog_compiler_pic" >&6; }
7834 # Check to make sure the PIC flag actually works.
7836 if test -n "$lt_prog_compiler_pic"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7838 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7839 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7840 $as_echo_n "(cached) " >&6
7842 lt_cv_prog_compiler_pic_works
=no
7843 ac_outfile
=conftest.
$ac_objext
7844 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7845 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7846 # Insert the option either (1) after the last *FLAGS variable, or
7847 # (2) before a word containing "conftest.", or (3) at the end.
7848 # Note that $ac_compile itself does not contain backslashes and begins
7849 # with a dollar sign (not a hyphen), so the echo should work correctly.
7850 # The option is referenced via a variable to avoid confusing sed.
7851 lt_compile
=`echo "$ac_compile" | $SED \
7852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7854 -e 's:$: $lt_compiler_flag:'`
7855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7856 (eval "$lt_compile" 2>conftest.err
)
7858 cat conftest.err
>&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 if (exit $ac_status) && test -s "$ac_outfile"; then
7861 # The compiler can only warn and ignore the option if not recognized
7862 # So say no if there are warnings other than the usual output.
7863 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7864 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7865 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7866 lt_cv_prog_compiler_pic_works
=yes
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7873 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7875 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7876 case $lt_prog_compiler_pic in
7878 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7881 lt_prog_compiler_pic
=
7882 lt_prog_compiler_can_build_shared
=no
7893 # Check to make sure the static flag actually works.
7895 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7897 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7898 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7899 $as_echo_n "(cached) " >&6
7901 lt_cv_prog_compiler_static_works
=no
7902 save_LDFLAGS
="$LDFLAGS"
7903 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7904 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7905 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7906 # The linker can only warn and ignore the option if not recognized
7907 # So say no if there are warnings
7908 if test -s conftest.err
; then
7909 # Append any errors to the config.log.
7910 cat conftest.err
1>&5
7911 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7912 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7913 if diff conftest.exp conftest.er2
>/dev
/null
; then
7914 lt_cv_prog_compiler_static_works
=yes
7917 lt_cv_prog_compiler_static_works
=yes
7921 LDFLAGS
="$save_LDFLAGS"
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7925 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7927 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7930 lt_prog_compiler_static
=
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7940 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7941 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7942 $as_echo_n "(cached) " >&6
7944 lt_cv_prog_compiler_c_o
=no
7945 $RM -r conftest
2>/dev
/null
7949 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7951 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7952 # Insert the option either (1) after the last *FLAGS variable, or
7953 # (2) before a word containing "conftest.", or (3) at the end.
7954 # Note that $ac_compile itself does not contain backslashes and begins
7955 # with a dollar sign (not a hyphen), so the echo should work correctly.
7956 lt_compile
=`echo "$ac_compile" | $SED \
7957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7959 -e 's:$: $lt_compiler_flag:'`
7960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7961 (eval "$lt_compile" 2>out
/conftest.err
)
7963 cat out
/conftest.err
>&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7967 # The compiler can only warn and ignore the option if not recognized
7968 # So say no if there are warnings
7969 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7970 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7971 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7972 lt_cv_prog_compiler_c_o
=yes
7977 # SGI C++ compiler will create directory out/ii_files/ for
7978 # template instantiation
7979 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7980 $RM out
/* && rmdir out
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7987 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7995 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7996 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7997 $as_echo_n "(cached) " >&6
7999 lt_cv_prog_compiler_c_o
=no
8000 $RM -r conftest
2>/dev
/null
8004 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8006 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8007 # Insert the option either (1) after the last *FLAGS variable, or
8008 # (2) before a word containing "conftest.", or (3) at the end.
8009 # Note that $ac_compile itself does not contain backslashes and begins
8010 # with a dollar sign (not a hyphen), so the echo should work correctly.
8011 lt_compile
=`echo "$ac_compile" | $SED \
8012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8014 -e 's:$: $lt_compiler_flag:'`
8015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8016 (eval "$lt_compile" 2>out
/conftest.err
)
8018 cat out
/conftest.err
>&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8022 # The compiler can only warn and ignore the option if not recognized
8023 # So say no if there are warnings
8024 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8025 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8026 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8027 lt_cv_prog_compiler_c_o
=yes
8032 # SGI C++ compiler will create directory out/ii_files/ for
8033 # template instantiation
8034 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8035 $RM out
/* && rmdir out
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8042 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8047 hard_links
="nottested"
8048 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8049 # do not overwrite the value of need_locks provided by the user
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8051 $as_echo_n "checking if we can lock with hard links... " >&6; }
8054 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8056 ln conftest.a conftest.b
2>&5 || hard_links
=no
8057 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8059 $as_echo "$hard_links" >&6; }
8060 if test "$hard_links" = no
; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8062 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8075 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8078 allow_undefined_flag
=
8079 always_export_symbols
=no
8081 archive_expsym_cmds
=
8082 compiler_needs_object
=no
8083 enable_shared_with_static_runtimes
=no
8084 export_dynamic_flag_spec
=
8085 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8086 hardcode_automatic
=no
8088 hardcode_direct_absolute
=no
8089 hardcode_libdir_flag_spec
=
8090 hardcode_libdir_flag_spec_ld
=
8091 hardcode_libdir_separator
=
8093 hardcode_shlibpath_var
=unsupported
8095 link_all_deplibs
=unknown
8098 old_archive_from_new_cmds
=
8099 old_archive_from_expsyms_cmds
=
8100 thread_safe_flag_spec
=
8101 whole_archive_flag_spec
=
8102 # include_expsyms should be a list of space-separated symbols to be *always*
8103 # included in the symbol list
8105 # exclude_expsyms can be an extended regexp of symbols to exclude
8106 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8107 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8108 # as well as any symbol that contains `d'.
8109 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8110 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8111 # platforms (ab)use it in PIC code, but their linkers get confused if
8112 # the symbol is explicitly referenced. Since portable code cannot
8113 # rely on this symbol name, it's probably fine to never include it in
8114 # preloaded symbol tables.
8115 # Exclude shared library initialization/finalization symbols.
8116 extract_expsyms_cmds
=
8119 cygwin
* | mingw
* | pw32
* | cegcc
*)
8120 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8121 # When not using gcc, we currently assume that we are using
8122 # Microsoft Visual C++.
8123 if test "$GCC" != yes; then
8128 # we just hope/assume this is gcc and not c89 (= MSVC++)
8138 # On some targets, GNU ld is compatible enough with the native linker
8139 # that we're better off using the native interface for both.
8140 lt_use_gnu_ld_interface
=no
8141 if test "$with_gnu_ld" = yes; then
8144 # The AIX port of GNU ld has always aspired to compatibility
8145 # with the native linker. However, as the warning in the GNU ld
8146 # block says, versions before 2.19.5* couldn't really create working
8147 # shared libraries, regardless of the interface used.
8148 case `$LD -v 2>&1` in
8149 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8150 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8151 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8153 lt_use_gnu_ld_interface
=yes
8158 lt_use_gnu_ld_interface
=yes
8163 if test "$lt_use_gnu_ld_interface" = yes; then
8164 # If archive_cmds runs LD, not CC, wlarc should be empty
8167 # Set some defaults for GNU ld with shared library support. These
8168 # are reset later if shared libraries are not supported. Putting them
8169 # here allows them to be overridden if necessary.
8170 runpath_var
=LD_RUN_PATH
8171 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8172 export_dynamic_flag_spec
='${wl}--export-dynamic'
8173 # ancient GNU ld didn't support --whole-archive et. al.
8174 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8175 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8177 whole_archive_flag_spec
=
8179 supports_anon_versioning
=no
8180 case `$LD -v 2>&1` in
8181 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8182 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8183 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8184 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8185 *\
2.11.
*) ;; # other 2.11 versions
8186 *) supports_anon_versioning
=yes ;;
8189 # See if GNU ld supports shared libraries.
8192 # On AIX/PPC, the GNU linker is very broken
8193 if test "$host_cpu" != ia64
; then
8197 *** Warning: the GNU linker, at least up to release 2.19, is reported
8198 *** to be unable to reliably create shared libraries on AIX.
8199 *** Therefore, libtool is disabling shared libraries support. If you
8200 *** really care for shared libraries, you may want to install binutils
8201 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8202 *** You will then need to restart the configuration process.
8211 # see comment about AmigaOS4 .so support
8212 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8213 archive_expsym_cmds
=''
8216 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)'
8217 hardcode_libdir_flag_spec
='-L$libdir'
8218 hardcode_minus_L
=yes
8224 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8225 allow_undefined_flag
=unsupported
8226 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8227 # support --undefined. This deserves some investigation. FIXME
8228 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8234 cygwin
* | mingw
* | pw32
* | cegcc
*)
8235 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8236 # as there is no search path for DLLs.
8237 hardcode_libdir_flag_spec
='-L$libdir'
8238 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8239 allow_undefined_flag
=unsupported
8240 always_export_symbols
=no
8241 enable_shared_with_static_runtimes
=yes
8242 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8244 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8245 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8246 # If the export-symbols file already is a .def file (1st line
8247 # is EXPORTS), use it as is; otherwise, prepend...
8248 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8249 cp $export_symbols $output_objdir/$soname.def;
8251 echo EXPORTS > $output_objdir/$soname.def;
8252 cat $export_symbols >> $output_objdir/$soname.def;
8254 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8261 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8262 link_all_deplibs
=yes
8267 hardcode_shlibpath_var
=no
8268 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8269 export_dynamic_flag_spec
='${wl}-E'
8270 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8271 # Instead, shared libraries are loaded at an image base (0x10000000 by
8272 # default) and relocated if they conflict, which is a slow very memory
8273 # consuming and fragmenting process. To avoid this, we pick a random,
8274 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8275 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8276 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8277 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'
8280 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8282 if test "$host_os" = linux-dietlibc
; then
8283 case $cc_basename in
8284 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8287 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8288 && test "$tmp_diet" = no
8291 tmp_sharedflag
='-shared'
8292 case $cc_basename,$host_cpu in
8293 pgcc
*) # Portland Group C compiler
8294 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'
8295 tmp_addflag
=' $pic_flag'
8297 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8298 # Portland Group f77 and f90 compilers
8299 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'
8300 tmp_addflag
=' $pic_flag -Mnomain' ;;
8301 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8302 tmp_addflag
=' -i_dynamic' ;;
8303 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8304 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8305 ifc
* | ifort
*) # Intel Fortran compiler
8306 tmp_addflag
=' -nofor_main' ;;
8307 lf95
*) # Lahey Fortran 8.1
8308 whole_archive_flag_spec
=
8309 tmp_sharedflag
='--shared' ;;
8310 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8311 tmp_sharedflag
='-qmkshrobj'
8313 nvcc
*) # Cuda Compiler Driver 2.2
8314 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'
8315 compiler_needs_object
=yes
8318 case `$CC -V 2>&1 | sed 5q` in
8319 *Sun\ C
*) # Sun C 5.9
8320 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'
8321 compiler_needs_object
=yes
8322 tmp_sharedflag
='-G' ;;
8323 *Sun\ F
*) # Sun Fortran 8.3
8324 tmp_sharedflag
='-G' ;;
8326 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 if test "x$supports_anon_versioning" = xyes
; then
8329 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8330 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8331 echo "local: *; };" >> $output_objdir/$libname.ver~
8332 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8335 case $cc_basename in
8336 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8337 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8338 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8339 hardcode_libdir_flag_spec
=
8340 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8341 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8342 if test "x$supports_anon_versioning" = xyes
; then
8343 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8345 echo "local: *; };" >> $output_objdir/$libname.ver~
8346 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8356 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8357 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8360 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8361 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8366 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8370 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8371 *** create shared libraries on Solaris systems. Therefore, libtool
8372 *** is disabling shared libraries support. We urge you to upgrade GNU
8373 *** binutils to release 2.9.1 or newer. Another option is to modify
8374 *** your PATH or compiler configuration so that the native linker is
8375 *** used, and then restart.
8378 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8379 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8380 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8386 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8387 case `$LD -v 2>&1` in
8388 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8392 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8393 *** reliably create shared libraries on SCO systems. Therefore, libtool
8394 *** is disabling shared libraries support. We urge you to upgrade GNU
8395 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8396 *** your PATH or compiler configuration so that the native linker is
8397 *** used, and then restart.
8402 # For security reasons, it is highly recommended that you always
8403 # use absolute paths for naming shared libraries, and exclude the
8404 # DT_RUNPATH tag from executables and libraries. But doing so
8405 # requires that you compile everything twice, which is a pain.
8406 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8407 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8409 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8418 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8421 hardcode_shlibpath_var
=no
8425 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8426 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8427 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8434 if test "$ld_shlibs" = no
; then
8436 hardcode_libdir_flag_spec
=
8437 export_dynamic_flag_spec
=
8438 whole_archive_flag_spec
=
8441 # PORTME fill in a description of your system's linker (not GNU ld)
8444 allow_undefined_flag
=unsupported
8445 always_export_symbols
=yes
8446 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'
8447 # Note: this linker hardcodes the directories in LIBPATH if there
8448 # are no directories specified by -L.
8449 hardcode_minus_L
=yes
8450 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8451 # Neither direct hardcoding nor static linking is supported with a
8453 hardcode_direct
=unsupported
8458 if test "$host_cpu" = ia64
; then
8459 # On IA64, the linker does run time linking by default, so we don't
8460 # have to do anything special.
8461 aix_use_runtimelinking
=no
8462 exp_sym_flag
='-Bexport'
8465 # If we're using GNU nm, then we don't want the "-C" option.
8466 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8467 # Also, AIX nm treats weak defined symbols like other global
8468 # defined symbols, whereas GNU nm marks them as "W".
8469 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8470 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'
8472 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8474 aix_use_runtimelinking
=no
8476 # Test if we are trying to use run time linking or normal
8477 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8478 # need to do runtime linking.
8479 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8480 for ld_flag
in $LDFLAGS; do
8481 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8482 aix_use_runtimelinking
=yes
8489 exp_sym_flag
='-bexport'
8490 no_entry_flag
='-bnoentry'
8493 # When large executables or shared objects are built, AIX ld can
8494 # have problems creating the table of contents. If linking a library
8495 # or program results in "error TOC overflow" add -mminimal-toc to
8496 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8497 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8501 hardcode_direct_absolute
=yes
8502 hardcode_libdir_separator
=':'
8503 link_all_deplibs
=yes
8504 file_list_spec
='${wl}-f,'
8506 if test "$GCC" = yes; then
8507 case $host_os in aix4.
[012]|aix4.
[012].
*)
8508 # We only want to do this on AIX 4.2 and lower, the check
8509 # below for broken collect2 doesn't work under 4.3+
8510 collect2name
=`${CC} -print-prog-name=collect2`
8511 if test -f "$collect2name" &&
8512 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8514 # We have reworked collect2
8517 # We have old collect2
8518 hardcode_direct
=unsupported
8519 # It fails to find uninstalled libraries when the uninstalled
8520 # path is not listed in the libpath. Setting hardcode_minus_L
8521 # to unsupported forces relinking
8522 hardcode_minus_L
=yes
8523 hardcode_libdir_flag_spec
='-L$libdir'
8524 hardcode_libdir_separator
=
8528 shared_flag
='-shared'
8529 if test "$aix_use_runtimelinking" = yes; then
8530 shared_flag
="$shared_flag "'${wl}-G'
8534 if test "$host_cpu" = ia64
; then
8535 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8536 # chokes on -Wl,-G. The following line is correct:
8539 if test "$aix_use_runtimelinking" = yes; then
8540 shared_flag
='${wl}-G'
8542 shared_flag
='${wl}-bM:SRE'
8547 export_dynamic_flag_spec
='${wl}-bexpall'
8548 # It seems that -bexpall does not export symbols beginning with
8549 # underscore (_), so it is better to generate a list of symbols to export.
8550 always_export_symbols
=yes
8551 if test "$aix_use_runtimelinking" = yes; then
8552 # Warning - without using the other runtime loading flags (-brtl),
8553 # -berok will link without error, but may produce a broken library.
8554 allow_undefined_flag
='-berok'
8555 # Determine the default libpath from the value encoded in an
8557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8568 if ac_fn_c_try_link
"$LINENO"; then :
8570 lt_aix_libpath_sed
='
8571 /Import File Strings/,/^$/ {
8577 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8578 # Check for a 64-bit object if we didn't find anything.
8579 if test -z "$aix_libpath"; then
8580 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8583 rm -f core conftest.err conftest.
$ac_objext \
8584 conftest
$ac_exeext conftest.
$ac_ext
8585 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8587 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8588 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"
8590 if test "$host_cpu" = ia64
; then
8591 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8592 allow_undefined_flag
="-z nodefs"
8593 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"
8595 # Determine the default libpath from the value encoded in an
8597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8608 if ac_fn_c_try_link
"$LINENO"; then :
8610 lt_aix_libpath_sed
='
8611 /Import File Strings/,/^$/ {
8617 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8618 # Check for a 64-bit object if we didn't find anything.
8619 if test -z "$aix_libpath"; then
8620 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8623 rm -f core conftest.err conftest.
$ac_objext \
8624 conftest
$ac_exeext conftest.
$ac_ext
8625 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8627 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8628 # Warning - without using the other run time loading flags,
8629 # -berok will link without error, but may produce a broken library.
8630 no_undefined_flag
=' ${wl}-bernotok'
8631 allow_undefined_flag
=' ${wl}-berok'
8632 if test "$with_gnu_ld" = yes; then
8633 # We only use this code for GNU lds that support --whole-archive.
8634 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8636 # Exported symbols can be pulled into shared objects from archives
8637 whole_archive_flag_spec
='$convenience'
8639 archive_cmds_need_lc
=yes
8640 # This is similar to how AIX traditionally builds its shared libraries.
8641 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'
8649 # see comment about AmigaOS4 .so support
8650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651 archive_expsym_cmds
=''
8654 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)'
8655 hardcode_libdir_flag_spec
='-L$libdir'
8656 hardcode_minus_L
=yes
8662 export_dynamic_flag_spec
=-rdynamic
8665 cygwin
* | mingw
* | pw32
* | cegcc
*)
8666 # When not using gcc, we currently assume that we are using
8667 # Microsoft Visual C++.
8668 # hardcode_libdir_flag_spec is actually meaningless, as there is
8669 # no search path for DLLs.
8670 hardcode_libdir_flag_spec
=' '
8671 allow_undefined_flag
=unsupported
8672 # Tell ltmain to make .lib files, not .a files.
8674 # Tell ltmain to make .dll files, not .so files.
8676 # FIXME: Setting linknames here is a bad hack.
8677 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8678 # The linker will automatically build a .lib file if we build a DLL.
8679 old_archive_from_new_cmds
='true'
8680 # FIXME: Should let the user specify the lib program.
8681 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8682 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8683 enable_shared_with_static_runtimes
=yes
8686 darwin
* | rhapsody
*)
8689 archive_cmds_need_lc
=no
8691 hardcode_automatic
=yes
8692 hardcode_shlibpath_var
=unsupported
8693 if test "$lt_cv_ld_force_load" = "yes"; then
8694 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\"`'
8696 whole_archive_flag_spec
=''
8698 link_all_deplibs
=yes
8699 allow_undefined_flag
="$_lt_dar_allow_undefined"
8700 case $cc_basename in
8701 ifort
*) _lt_dar_can_shared
=yes ;;
8702 *) _lt_dar_can_shared
=$GCC ;;
8704 if test "$_lt_dar_can_shared" = "yes"; then
8705 output_verbose_link_cmd
=func_echo_all
8706 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8707 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8708 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8709 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}"
8718 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_libdir_flag_spec
='-L$libdir'
8720 hardcode_shlibpath_var
=no
8727 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8728 # support. Future versions do this automatically, but an explicit c++rt0.o
8729 # does not break anything, and helps significantly (at the cost of a little
8732 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8733 hardcode_libdir_flag_spec
='-R$libdir'
8735 hardcode_shlibpath_var
=no
8738 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8740 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8742 hardcode_minus_L
=yes
8743 hardcode_shlibpath_var
=no
8746 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8747 freebsd
* | dragonfly
*)
8748 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8749 hardcode_libdir_flag_spec
='-R$libdir'
8751 hardcode_shlibpath_var
=no
8755 if test "$GCC" = yes; then
8756 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'
8758 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'
8760 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8761 hardcode_libdir_separator
=:
8764 # hardcode_minus_L: Not really in the search PATH,
8765 # but as the default location of the library.
8766 hardcode_minus_L
=yes
8767 export_dynamic_flag_spec
='${wl}-E'
8771 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8772 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8774 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8776 if test "$with_gnu_ld" = no
; then
8777 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8778 hardcode_libdir_flag_spec_ld
='+b $libdir'
8779 hardcode_libdir_separator
=:
8781 hardcode_direct_absolute
=yes
8782 export_dynamic_flag_spec
='${wl}-E'
8783 # hardcode_minus_L: Not really in the search PATH,
8784 # but as the default location of the library.
8785 hardcode_minus_L
=yes
8790 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8793 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8796 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8799 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8805 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8808 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8812 # Older versions of the 11.00 compiler do not understand -b yet
8813 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8815 $as_echo_n "checking if $CC understands -b... " >&6; }
8816 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8817 $as_echo_n "(cached) " >&6
8819 lt_cv_prog_compiler__b
=no
8820 save_LDFLAGS
="$LDFLAGS"
8821 LDFLAGS
="$LDFLAGS -b"
8822 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8823 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8824 # The linker can only warn and ignore the option if not recognized
8825 # So say no if there are warnings
8826 if test -s conftest.err
; then
8827 # Append any errors to the config.log.
8828 cat conftest.err
1>&5
8829 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8830 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8831 if diff conftest.exp conftest.er2
>/dev
/null
; then
8832 lt_cv_prog_compiler__b
=yes
8835 lt_cv_prog_compiler__b
=yes
8839 LDFLAGS
="$save_LDFLAGS"
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8843 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8845 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8846 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8848 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8854 if test "$with_gnu_ld" = no
; then
8855 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8856 hardcode_libdir_separator
=:
8861 hardcode_shlibpath_var
=no
8865 hardcode_direct_absolute
=yes
8866 export_dynamic_flag_spec
='${wl}-E'
8868 # hardcode_minus_L: Not really in the search PATH,
8869 # but as the default location of the library.
8870 hardcode_minus_L
=yes
8876 irix5
* | irix6
* | nonstopux
*)
8877 if test "$GCC" = yes; then
8878 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'
8879 # Try to use the -exported_symbol ld option, if it does not
8880 # work, assume that -exports_file does not work either and
8881 # implicitly export all symbols.
8882 save_LDFLAGS
="$LDFLAGS"
8883 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8888 if ac_fn_c_try_link
"$LINENO"; then :
8889 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'
8892 rm -f core conftest.err conftest.
$ac_objext \
8893 conftest
$ac_exeext conftest.
$ac_ext
8894 LDFLAGS
="$save_LDFLAGS"
8896 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'
8897 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'
8899 archive_cmds_need_lc
='no'
8900 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8901 hardcode_libdir_separator
=:
8903 link_all_deplibs
=yes
8907 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8908 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8910 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8912 hardcode_libdir_flag_spec
='-R$libdir'
8914 hardcode_shlibpath_var
=no
8918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8921 hardcode_libdir_separator
=:
8922 hardcode_shlibpath_var
=no
8929 if test -f /usr
/libexec
/ld.so
; then
8931 hardcode_shlibpath_var
=no
8932 hardcode_direct_absolute
=yes
8933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8934 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8936 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8937 export_dynamic_flag_spec
='${wl}-E'
8940 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8941 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8942 hardcode_libdir_flag_spec
='-R$libdir'
8945 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8946 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8956 hardcode_libdir_flag_spec
='-L$libdir'
8957 hardcode_minus_L
=yes
8958 allow_undefined_flag
=unsupported
8959 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'
8960 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8964 if test "$GCC" = yes; then
8965 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8966 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'
8968 allow_undefined_flag
=' -expect_unresolved \*'
8969 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'
8971 archive_cmds_need_lc
='no'
8972 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8973 hardcode_libdir_separator
=:
8976 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8977 if test "$GCC" = yes; then
8978 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8979 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'
8980 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8982 allow_undefined_flag
=' -expect_unresolved \*'
8983 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'
8984 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~
8985 $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'
8987 # Both c and cxx compiler support -rpath directly
8988 hardcode_libdir_flag_spec
='-rpath $libdir'
8990 archive_cmds_need_lc
='no'
8991 hardcode_libdir_separator
=:
8995 no_undefined_flag
=' -z defs'
8996 if test "$GCC" = yes; then
8998 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9000 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9002 case `$CC -V 2>&1` in
9005 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9006 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9007 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9011 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9012 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9013 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9017 hardcode_libdir_flag_spec
='-R$libdir'
9018 hardcode_shlibpath_var
=no
9020 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9022 # The compiler driver will combine and reorder linker options,
9023 # but understands `-z linker_flag'. GCC discards it without `$wl',
9024 # but is careful enough not to reorder.
9025 # Supported since Solaris 2.6 (maybe 2.5.1?)
9026 if test "$GCC" = yes; then
9027 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9029 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9033 link_all_deplibs
=yes
9037 if test "x$host_vendor" = xsequent
; then
9038 # Use $CC to link under sequent, because it throws in some extra .o
9039 # files that make .init and .fini sections work.
9040 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9044 hardcode_libdir_flag_spec
='-L$libdir'
9046 hardcode_minus_L
=yes
9047 hardcode_shlibpath_var
=no
9051 case $host_vendor in
9053 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9054 hardcode_direct
=yes # is this really true???
9057 ## LD is ld it makes a PLAMLIB
9058 ## CC just makes a GrossModule.
9059 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9060 reload_cmds
='$CC -r -o $output$reload_objs'
9064 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9065 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9068 runpath_var
='LD_RUN_PATH'
9069 hardcode_shlibpath_var
=no
9073 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9074 hardcode_shlibpath_var
=no
9075 export_dynamic_flag_spec
='-Bexport'
9079 if test -d /usr
/nec
; then
9080 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9081 hardcode_shlibpath_var
=no
9082 runpath_var
=LD_RUN_PATH
9083 hardcode_runpath_var
=yes
9088 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9089 no_undefined_flag
='${wl}-z,text'
9090 archive_cmds_need_lc
=no
9091 hardcode_shlibpath_var
=no
9092 runpath_var
='LD_RUN_PATH'
9094 if test "$GCC" = yes; then
9095 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9099 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9103 sysv5
* | sco3.2v5
* | sco5v6
*)
9104 # Note: We can NOT use -z defs as we might desire, because we do not
9105 # link with -lc, and that would cause any symbols used from libc to
9106 # always be unresolved, which means just about no library would
9107 # ever link correctly. If we're not using GNU ld we use -z text
9108 # though, which does catch some bad symbols but isn't as heavy-handed
9110 no_undefined_flag
='${wl}-z,text'
9111 allow_undefined_flag
='${wl}-z,nodefs'
9112 archive_cmds_need_lc
=no
9113 hardcode_shlibpath_var
=no
9114 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9115 hardcode_libdir_separator
=':'
9116 link_all_deplibs
=yes
9117 export_dynamic_flag_spec
='${wl}-Bexport'
9118 runpath_var
='LD_RUN_PATH'
9120 if test "$GCC" = yes; then
9121 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9131 hardcode_libdir_flag_spec
='-L$libdir'
9132 hardcode_shlibpath_var
=no
9140 if test x
$host_vendor = xsni
; then
9142 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9143 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9150 $as_echo "$ld_shlibs" >&6; }
9151 test "$ld_shlibs" = no
&& can_build_shared
=no
9153 with_gnu_ld
=$with_gnu_ld
9170 # Do we need to explicitly link libc?
9172 case "x$archive_cmds_need_lc" in
9174 # Assume -lc should be added
9175 archive_cmds_need_lc
=yes
9177 if test "$enable_shared" = yes && test "$GCC" = yes; then
9178 case $archive_cmds in
9180 # FIXME: we may have to deal with multi-command sequences.
9183 # Test whether the compiler implicitly links with -lc since on some
9184 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9185 # to ld, don't add -lc before -lgcc.
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9187 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9188 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9189 $as_echo_n "(cached) " >&6
9192 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9195 (eval $ac_compile) 2>&5
9197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9198 test $ac_status = 0; } 2>conftest.err
; then
9201 libobjs
=conftest.
$ac_objext
9203 wl
=$lt_prog_compiler_wl
9204 pic_flag
=$lt_prog_compiler_pic
9210 lt_save_allow_undefined_flag
=$allow_undefined_flag
9211 allow_undefined_flag
=
9212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9213 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9216 test $ac_status = 0; }
9218 lt_cv_archive_cmds_need_lc
=no
9220 lt_cv_archive_cmds_need_lc
=yes
9222 allow_undefined_flag
=$lt_save_allow_undefined_flag
9224 cat conftest.err
1>&5
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9230 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9231 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9395 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9397 if test "$GCC" = yes; then
9399 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9400 *) lt_awk_arg
="/^libraries:/" ;;
9403 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9404 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9406 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9407 case $lt_search_path_spec in
9409 # if the path contains ";" then we assume it to be the separator
9410 # otherwise default to the standard path separator (i.e. ":") - it is
9411 # assumed that no part of a normal pathname contains ";" but that should
9412 # okay in the real world where ";" in dirpaths is itself problematic.
9413 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9416 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9419 # Ok, now we have the path, separated by spaces, we can step through it
9420 # and add multilib dir if necessary.
9421 lt_tmp_lt_search_path_spec
=
9422 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9423 for lt_sys_path
in $lt_search_path_spec; do
9424 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9425 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9427 test -d "$lt_sys_path" && \
9428 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9431 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9432 BEGIN {RS=" "; FS="/|\n";} {
9435 for (lt_i = NF; lt_i > 0; lt_i--) {
9436 if ($lt_i != "" && $lt_i != ".") {
9437 if ($lt_i == "..") {
9440 if (lt_count == 0) {
9441 lt_foo="/" $lt_i lt_foo;
9448 if (lt_foo != "") { lt_freq[lt_foo]++; }
9449 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9451 # AWK program above erroneously prepends '/' to C:/dos/paths
9454 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9455 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9457 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9459 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9462 libname_spec
='lib$name'
9470 shlibpath_overrides_runpath
=unknown
9472 dynamic_linker
="$host_os ld.so"
9473 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9474 need_lib_prefix
=unknown
9475 hardcode_into_libs
=no
9477 # when you set need_version to no, make sure it does not cause -set_version
9478 # flags to be left without arguments
9479 need_version
=unknown
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9485 shlibpath_var
=LIBPATH
9487 # AIX 3 has no versioning support, so we append a major version to the name.
9488 soname_spec
='${libname}${release}${shared_ext}$major'
9495 hardcode_into_libs
=yes
9496 if test "$host_cpu" = ia64
; then
9497 # AIX 5 supports IA64
9498 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9499 shlibpath_var
=LD_LIBRARY_PATH
9501 # With GCC up to 2.95.x, collect2 would create an import file
9502 # for dependence libraries. The import file would start with
9503 # the line `#! .'. This would cause the generated library to
9504 # depend on `.', always an invalid library. This was fixed in
9505 # development snapshots of GCC prior to 3.0.
9507 aix4 | aix4.
[01] | aix4.
[01].
*)
9508 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9510 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9517 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9518 # soname into executable. Probably we can add versioning support to
9519 # collect2, so additional links can be useful in future.
9520 if test "$aix_use_runtimelinking" = yes; then
9521 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9522 # instead of lib<name>.a to let people know that these are not
9523 # typical AIX shared libraries.
9524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9526 # We preserve .a as extension for shared libraries through AIX4.2
9527 # and later when we are not doing run time linking.
9528 library_names_spec
='${libname}${release}.a $libname.a'
9529 soname_spec
='${libname}${release}${shared_ext}$major'
9531 shlibpath_var
=LIBPATH
9538 # Since July 2007 AmigaOS4 officially supports .so libraries.
9539 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9543 library_names_spec
='$libname.ixlibrary $libname.a'
9544 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9545 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'
9551 library_names_spec
='${libname}${shared_ext}'
9552 dynamic_linker
="$host_os ld.so"
9553 shlibpath_var
=LIBRARY_PATH
9559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9560 soname_spec
='${libname}${release}${shared_ext}$major'
9561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9562 shlibpath_var
=LD_LIBRARY_PATH
9563 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9564 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9565 # the default ld.so.conf also contains /usr/contrib/lib and
9566 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9567 # libtool to hard-code these into programs
9570 cygwin
* | mingw
* | pw32
* | cegcc
*)
9571 version_type
=windows
9576 case $GCC,$host_os in
9577 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9578 library_names_spec
='$libname.dll.a'
9579 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9580 postinstall_cmds
='base_file=`basename \${file}`~
9581 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9582 dldir=$destdir/`dirname \$dlpath`~
9583 test -d \$dldir || mkdir -p \$dldir~
9584 $install_prog $dir/$dlname \$dldir/$dlname~
9585 chmod a+x \$dldir/$dlname~
9586 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9587 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9589 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9590 dlpath=$dir/\$dldll~
9592 shlibpath_overrides_runpath
=yes
9596 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9597 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9599 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9602 # MinGW DLLs use traditional 'lib' prefix
9603 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9606 # pw32 DLLs use 'pw' prefix rather than 'lib'
9607 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9613 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9616 dynamic_linker
='Win32 ld.exe'
9617 # FIXME: first we should search . and the directory the executable is in
9621 darwin
* | rhapsody
*)
9622 dynamic_linker
="$host_os dyld"
9626 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9627 soname_spec
='${libname}${release}${major}$shared_ext'
9628 shlibpath_overrides_runpath
=yes
9629 shlibpath_var
=DYLD_LIBRARY_PATH
9630 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9632 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9633 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9641 soname_spec
='${libname}${release}${shared_ext}$major'
9642 shlibpath_var
=LD_LIBRARY_PATH
9649 freebsd
* | dragonfly
*)
9650 # DragonFly does not have aout. When/if they implement a new
9651 # versioning mechanism, adjust this.
9652 if test -x /usr
/bin
/objformat
; then
9653 objformat
=`/usr/bin/objformat`
9656 freebsd
[123]*) objformat
=aout
;;
9660 version_type
=freebsd-
$objformat
9661 case $version_type in
9663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9668 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9672 shlibpath_var
=LD_LIBRARY_PATH
9675 shlibpath_overrides_runpath
=yes
9677 freebsd3.
[01]* | freebsdelf3.
[01]*)
9678 shlibpath_overrides_runpath
=yes
9679 hardcode_into_libs
=yes
9681 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9682 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9683 shlibpath_overrides_runpath
=no
9684 hardcode_into_libs
=yes
9686 *) # from 4.6 on, and DragonFly
9687 shlibpath_overrides_runpath
=yes
9688 hardcode_into_libs
=yes
9697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9698 soname_spec
='${libname}${release}${shared_ext}$major'
9699 shlibpath_var
=LD_LIBRARY_PATH
9700 hardcode_into_libs
=yes
9707 dynamic_linker
="$host_os runtime_loader"
9708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9709 soname_spec
='${libname}${release}${shared_ext}$major'
9710 shlibpath_var
=LIBRARY_PATH
9711 shlibpath_overrides_runpath
=yes
9712 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9713 hardcode_into_libs
=yes
9716 hpux9
* | hpux10
* | hpux11
*)
9717 # Give a soname corresponding to the major version so that dld.sl refuses to
9718 # link against other versions.
9725 hardcode_into_libs
=yes
9726 dynamic_linker
="$host_os dld.so"
9727 shlibpath_var
=LD_LIBRARY_PATH
9728 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9730 soname_spec
='${libname}${release}${shared_ext}$major'
9731 if test "X$HPUX_IA64_MODE" = X32
; then
9732 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9734 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9736 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9740 hardcode_into_libs
=yes
9741 dynamic_linker
="$host_os dld.sl"
9742 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9743 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec
='${libname}${release}${shared_ext}$major'
9746 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9747 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9751 dynamic_linker
="$host_os dld.sl"
9752 shlibpath_var
=SHLIB_PATH
9753 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec
='${libname}${release}${shared_ext}$major'
9758 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9759 postinstall_cmds
='chmod 555 $lib'
9760 # or fails outright, so override atomically:
9761 install_override_mode
=555
9768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9769 soname_spec
='${libname}${release}${shared_ext}$major'
9770 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9771 shlibpath_var
=LD_LIBRARY_PATH
9772 shlibpath_overrides_runpath
=no
9773 hardcode_into_libs
=yes
9776 irix5
* | irix6
* | nonstopux
*)
9778 nonstopux
*) version_type
=nonstopux
;;
9780 if test "$lt_cv_prog_gnu_ld" = yes; then
9788 soname_spec
='${libname}${release}${shared_ext}$major'
9789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9791 irix5
* | nonstopux
*)
9795 case $LD in # libtool.m4 will add one of these switches to LD
9796 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9797 libsuff
= shlibsuff
= libmagic
=32-bit;;
9798 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9799 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9800 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9801 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9802 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9806 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9807 shlibpath_overrides_runpath
=no
9808 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9809 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9810 hardcode_into_libs
=yes
9813 # No shared lib support for Linux oldld, aout, or coff.
9814 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9818 # This must be Linux ELF.
9819 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9824 soname_spec
='${libname}${release}${shared_ext}$major'
9825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9826 shlibpath_var
=LD_LIBRARY_PATH
9827 shlibpath_overrides_runpath
=no
9829 # Some binutils ld are patched to set DT_RUNPATH
9830 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9831 $as_echo_n "(cached) " >&6
9833 lt_cv_shlibpath_overrides_runpath
=no
9834 save_LDFLAGS
=$LDFLAGS
9836 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9837 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9849 if ac_fn_c_try_link
"$LINENO"; then :
9850 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9851 lt_cv_shlibpath_overrides_runpath
=yes
9854 rm -f core conftest.err conftest.
$ac_objext \
9855 conftest
$ac_exeext conftest.
$ac_ext
9856 LDFLAGS
=$save_LDFLAGS
9861 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9863 # This implies no fast_install, which is unacceptable.
9864 # Some rework will be needed to allow for fast_install
9865 # before this can be enabled.
9866 hardcode_into_libs
=yes
9868 # Append ld.so.conf contents to the search path
9869 if test -f /etc
/ld.so.conf
; then
9870 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' ' '`
9871 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9874 # We used to test for /lib/ld.so.1 and disable shared libraries on
9875 # powerpc, because MkLinux only supported shared libraries with the
9876 # GNU dynamic linker. Since this was broken with cross compilers,
9877 # most powerpc-linux boxes support dynamic linking these days and
9878 # people can always --disable-shared, the test was removed, and we
9879 # assume the GNU/Linux dynamic linker is in use.
9880 dynamic_linker
='GNU/Linux ld.so'
9887 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9890 dynamic_linker
='NetBSD (a.out) ld.so'
9892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9893 soname_spec
='${libname}${release}${shared_ext}$major'
9894 dynamic_linker
='NetBSD ld.elf_so'
9896 shlibpath_var
=LD_LIBRARY_PATH
9897 shlibpath_overrides_runpath
=yes
9898 hardcode_into_libs
=yes
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 shlibpath_var
=LD_LIBRARY_PATH
9905 shlibpath_overrides_runpath
=yes
9912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913 soname_spec
='${libname}${release}${shared_ext}$major'
9914 shlibpath_var
=LD_LIBRARY_PATH
9915 shlibpath_overrides_runpath
=no
9916 hardcode_into_libs
=yes
9917 dynamic_linker
='ldqnx.so'
9922 sys_lib_dlsearch_path_spec
="/usr/lib"
9924 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9926 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9927 *) need_version
=no
;;
9929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9931 shlibpath_var
=LD_LIBRARY_PATH
9932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9934 openbsd2.
[89] | openbsd2.
[89].
*)
9935 shlibpath_overrides_runpath
=no
9938 shlibpath_overrides_runpath
=yes
9942 shlibpath_overrides_runpath
=yes
9947 libname_spec
='$name'
9950 library_names_spec
='$libname${shared_ext} $libname.a'
9951 dynamic_linker
='OS/2 ld.exe'
9952 shlibpath_var
=LIBPATH
9955 osf3
* | osf4
* | osf5
*)
9959 soname_spec
='${libname}${release}${shared_ext}$major'
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9961 shlibpath_var
=LD_LIBRARY_PATH
9962 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9963 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975 soname_spec
='${libname}${release}${shared_ext}$major'
9976 shlibpath_var
=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath
=yes
9978 hardcode_into_libs
=yes
9979 # ldd complains unless libraries are executable
9980 postinstall_cmds
='chmod +x $lib'
9985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9986 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9987 shlibpath_var
=LD_LIBRARY_PATH
9988 shlibpath_overrides_runpath
=yes
9989 if test "$with_gnu_ld" = yes; then
9997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9998 soname_spec
='${libname}${release}${shared_ext}$major'
9999 shlibpath_var
=LD_LIBRARY_PATH
10000 case $host_vendor in
10002 shlibpath_overrides_runpath
=no
10004 runpath_var
=LD_RUN_PATH
10012 shlibpath_overrides_runpath
=no
10013 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10019 if test -d /usr
/nec
;then
10021 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10022 soname_spec
='$libname${shared_ext}.$major'
10023 shlibpath_var
=LD_LIBRARY_PATH
10027 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10028 version_type
=freebsd-elf
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10032 soname_spec
='${libname}${release}${shared_ext}$major'
10033 shlibpath_var
=LD_LIBRARY_PATH
10034 shlibpath_overrides_runpath
=yes
10035 hardcode_into_libs
=yes
10036 if test "$with_gnu_ld" = yes; then
10037 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10039 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10042 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10046 sys_lib_dlsearch_path_spec
='/usr/lib'
10050 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 shlibpath_var
=LD_LIBRARY_PATH
10056 shlibpath_overrides_runpath
=no
10057 hardcode_into_libs
=yes
10062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10063 soname_spec
='${libname}${release}${shared_ext}$major'
10064 shlibpath_var
=LD_LIBRARY_PATH
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10072 $as_echo "$dynamic_linker" >&6; }
10073 test "$dynamic_linker" = no
&& can_build_shared
=no
10075 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10076 if test "$GCC" = yes; then
10077 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10080 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10081 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10083 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10084 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10181 if test -n "$hardcode_libdir_flag_spec" ||
10182 test -n "$runpath_var" ||
10183 test "X$hardcode_automatic" = "Xyes" ; then
10185 # We can hardcode non-existent directories.
10186 if test "$hardcode_direct" != no
&&
10187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10188 # have to relink, otherwise we might link with an installed library
10189 # when we should be linking with a yet-to-be-installed one
10190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10191 test "$hardcode_minus_L" != no
; then
10192 # Linking always hardcodes the temporary library directory.
10193 hardcode_action
=relink
10195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10196 hardcode_action
=immediate
10199 # We cannot hardcode anything, or else we can only hardcode existing
10201 hardcode_action
=unsupported
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10204 $as_echo "$hardcode_action" >&6; }
10206 if test "$hardcode_action" = relink ||
10207 test "$inherit_rpath" = yes; then
10208 # Fast installation is not supported
10209 enable_fast_install
=no
10210 elif test "$shlibpath_overrides_runpath" = yes ||
10211 test "$enable_shared" = no
; then
10212 # Fast installation is not necessary
10213 enable_fast_install
=needless
10221 if test "x$enable_dlopen" != xyes
; then
10222 enable_dlopen
=unknown
10223 enable_dlopen_self
=unknown
10224 enable_dlopen_self_static
=unknown
10231 lt_cv_dlopen
="load_add_on"
10233 lt_cv_dlopen_self
=yes
10236 mingw
* | pw32
* | cegcc
*)
10237 lt_cv_dlopen
="LoadLibrary"
10242 lt_cv_dlopen
="dlopen"
10247 # if libdl is installed we need to link against it
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10251 $as_echo_n "(cached) " >&6
10253 ac_check_lib_save_LIBS
=$LIBS
10255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10258 /* Override any GCC internal prototype to avoid an error.
10259 Use char because int might match the return type of a GCC
10260 builtin and then its argument prototype would still apply. */
10273 if ac_fn_c_try_link
"$LINENO"; then :
10274 ac_cv_lib_dl_dlopen
=yes
10276 ac_cv_lib_dl_dlopen
=no
10278 rm -f core conftest.err conftest.
$ac_objext \
10279 conftest
$ac_exeext conftest.
$ac_ext
10280 LIBS
=$ac_check_lib_save_LIBS
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10283 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10284 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10285 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10288 lt_cv_dlopen
="dyld"
10290 lt_cv_dlopen_self
=yes
10297 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10298 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10299 lt_cv_dlopen
="shl_load"
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10302 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10303 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_lib_save_LIBS
=$LIBS
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10321 return shl_load ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10327 ac_cv_lib_dld_shl_load
=yes
10329 ac_cv_lib_dld_shl_load
=no
10331 rm -f core conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10336 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10337 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10338 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10340 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10341 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10342 lt_cv_dlopen
="dlopen"
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10347 $as_echo_n "(cached) " >&6
10349 ac_check_lib_save_LIBS
=$LIBS
10351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10369 if ac_fn_c_try_link
"$LINENO"; then :
10370 ac_cv_lib_dl_dlopen
=yes
10372 ac_cv_lib_dl_dlopen
=no
10374 rm -f core conftest.err conftest.
$ac_objext \
10375 conftest
$ac_exeext conftest.
$ac_ext
10376 LIBS
=$ac_check_lib_save_LIBS
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10380 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10381 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10384 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10385 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10386 $as_echo_n "(cached) " >&6
10388 ac_check_lib_save_LIBS
=$LIBS
10389 LIBS
="-lsvld $LIBS"
10390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10408 if ac_fn_c_try_link
"$LINENO"; then :
10409 ac_cv_lib_svld_dlopen
=yes
10411 ac_cv_lib_svld_dlopen
=no
10413 rm -f core conftest.err conftest.
$ac_objext \
10414 conftest
$ac_exeext conftest.
$ac_ext
10415 LIBS
=$ac_check_lib_save_LIBS
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10418 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10419 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10420 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10423 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10424 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10425 $as_echo_n "(cached) " >&6
10427 ac_check_lib_save_LIBS
=$LIBS
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10432 /* Override any GCC internal prototype to avoid an error.
10433 Use char because int might match the return type of a GCC
10434 builtin and then its argument prototype would still apply. */
10442 return dld_link ();
10447 if ac_fn_c_try_link
"$LINENO"; then :
10448 ac_cv_lib_dld_dld_link
=yes
10450 ac_cv_lib_dld_dld_link
=no
10452 rm -f core conftest.err conftest.
$ac_objext \
10453 conftest
$ac_exeext conftest.
$ac_ext
10454 LIBS
=$ac_check_lib_save_LIBS
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10457 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10458 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10459 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10480 if test "x$lt_cv_dlopen" != xno
; then
10486 case $lt_cv_dlopen in
10488 save_CPPFLAGS
="$CPPFLAGS"
10489 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10491 save_LDFLAGS
="$LDFLAGS"
10492 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10495 LIBS
="$lt_cv_dlopen_libs $LIBS"
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10498 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10499 if test "${lt_cv_dlopen_self+set}" = set; then :
10500 $as_echo_n "(cached) " >&6
10502 if test "$cross_compiling" = yes; then :
10503 lt_cv_dlopen_self
=cross
10505 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10506 lt_status
=$lt_dlunknown
10507 cat > conftest.
$ac_ext <<_LT_EOF
10508 #line 10508 "configure"
10509 #include "confdefs.h"
10518 # define LT_DLGLOBAL RTLD_GLOBAL
10521 # define LT_DLGLOBAL DL_GLOBAL
10523 # define LT_DLGLOBAL 0
10527 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10528 find out it does not work in some platform. */
10529 #ifndef LT_DLLAZY_OR_NOW
10531 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10534 # define LT_DLLAZY_OR_NOW DL_LAZY
10537 # define LT_DLLAZY_OR_NOW RTLD_NOW
10540 # define LT_DLLAZY_OR_NOW DL_NOW
10542 # define LT_DLLAZY_OR_NOW 0
10549 /* When -fvisbility=hidden is used, assume the code has been annotated
10550 correspondingly for the symbols needed. */
10551 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10552 void fnord () __attribute__((visibility("default")));
10555 void fnord () { int i=42; }
10558 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10559 int status = $lt_dlunknown;
10563 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10566 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10567 else puts (dlerror ());
10569 /* dlclose (self); */
10577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10578 (eval $ac_link) 2>&5
10580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10581 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10582 (.
/conftest
; exit; ) >&5 2>/dev
/null
10584 case x
$lt_status in
10585 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10586 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10587 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10590 # compilation failed
10591 lt_cv_dlopen_self
=no
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10599 $as_echo "$lt_cv_dlopen_self" >&6; }
10601 if test "x$lt_cv_dlopen_self" = xyes
; then
10602 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10604 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10605 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10606 $as_echo_n "(cached) " >&6
10608 if test "$cross_compiling" = yes; then :
10609 lt_cv_dlopen_self_static
=cross
10611 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10612 lt_status
=$lt_dlunknown
10613 cat > conftest.
$ac_ext <<_LT_EOF
10614 #line 10614 "configure"
10615 #include "confdefs.h"
10624 # define LT_DLGLOBAL RTLD_GLOBAL
10627 # define LT_DLGLOBAL DL_GLOBAL
10629 # define LT_DLGLOBAL 0
10633 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10634 find out it does not work in some platform. */
10635 #ifndef LT_DLLAZY_OR_NOW
10637 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10640 # define LT_DLLAZY_OR_NOW DL_LAZY
10643 # define LT_DLLAZY_OR_NOW RTLD_NOW
10646 # define LT_DLLAZY_OR_NOW DL_NOW
10648 # define LT_DLLAZY_OR_NOW 0
10655 /* When -fvisbility=hidden is used, assume the code has been annotated
10656 correspondingly for the symbols needed. */
10657 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10658 void fnord () __attribute__((visibility("default")));
10661 void fnord () { int i=42; }
10664 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10665 int status = $lt_dlunknown;
10669 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10672 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10673 else puts (dlerror ());
10675 /* dlclose (self); */
10683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10684 (eval $ac_link) 2>&5
10686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10687 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10688 (.
/conftest
; exit; ) >&5 2>/dev
/null
10690 case x
$lt_status in
10691 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10692 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10693 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10696 # compilation failed
10697 lt_cv_dlopen_self_static
=no
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10705 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10708 CPPFLAGS
="$save_CPPFLAGS"
10709 LDFLAGS
="$save_LDFLAGS"
10714 case $lt_cv_dlopen_self in
10715 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10716 *) enable_dlopen_self
=unknown
;;
10719 case $lt_cv_dlopen_self_static in
10720 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10721 *) enable_dlopen_self_static
=unknown
;;
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10744 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10745 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10746 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10747 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10749 $as_echo "yes" >&6; }
10751 # FIXME - insert some real tests, host_os isn't really good enough
10754 if test -n "$STRIP" ; then
10755 striplib
="$STRIP -x"
10756 old_striplib
="$STRIP -S"
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10758 $as_echo "yes" >&6; }
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10766 $as_echo "no" >&6; }
10782 # Report which library types will actually be built
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10784 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10786 $as_echo "$can_build_shared" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10789 $as_echo_n "checking whether to build shared libraries... " >&6; }
10790 test "$can_build_shared" = "no" && enable_shared
=no
10792 # On AIX, shared libraries and static libraries use the same namespace, and
10793 # are all built from PIC.
10796 test "$enable_shared" = yes && enable_static
=no
10797 if test -n "$RANLIB"; then
10798 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10799 postinstall_cmds
='$RANLIB $lib'
10804 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10805 test "$enable_shared" = yes && enable_static
=no
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10810 $as_echo "$enable_shared" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10813 $as_echo_n "checking whether to build static libraries... " >&6; }
10814 # Make sure either enable_shared or enable_static is yes.
10815 test "$enable_shared" = yes || enable_static
=yes
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10817 $as_echo "$enable_static" >&6; }
10824 ac_cpp
='$CPP $CPPFLAGS'
10825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10843 ac_config_commands
="$ac_config_commands libtool"
10848 # Only expand once:
10852 # Trying to get this information from gcc's config is tricky.
10856 $as_echo "#define SYM_STYLE ss_none" >>confdefs.h
10859 *-cygwin* | i?
86*-mingw* )
10861 $as_echo "#define SYM_STYLE ss_win32" >>confdefs.h
10866 $as_echo "#define SYM_STYLE ss_none" >>confdefs.h
10870 ac_fn_c_find_intX_t
"$LINENO" "64" "ac_cv_c_int64_t"
10871 case $ac_cv_c_int64_t in #(
10875 cat >>confdefs.h
<<_ACEOF
10876 #define int64_t $ac_cv_c_int64_t
10881 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
10882 case $ac_cv_c_uint64_t in #(
10886 $as_echo "#define _UINT64_T 1" >>confdefs.h
10889 cat >>confdefs.h
<<_ACEOF
10890 #define uint64_t $ac_cv_c_uint64_t
10895 ac_config_files
="$ac_config_files Makefile"
10897 ac_config_headers
="$ac_config_headers config.h"
10899 cat >confcache
<<\_ACEOF
10900 # This file is a shell script that caches the results of configure
10901 # tests run on this system so they can be shared between configure
10902 # scripts and configure runs, see configure's option --config-cache.
10903 # It is not useful on other systems. If it contains results you don't
10904 # want to keep, you may remove or edit it.
10906 # config.status only pays attention to the cache file if you give it
10907 # the --recheck option to rerun configure.
10909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10911 # following values.
10915 # The following way of writing the cache mishandles newlines in values,
10916 # but we know of no workaround that is simple, portable, and efficient.
10917 # So, we kill variables containing newlines.
10918 # Ultrix sh set writes to stderr and can't be redirected directly,
10919 # and sets the high bit in the cache file unless we assign to the vars.
10921 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10922 eval ac_val
=\$
$ac_var
10926 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10930 _ | IFS | as_nl
) ;; #(
10931 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10932 *) { eval $ac_var=; unset $ac_var;} ;;
10938 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10939 *${as_nl}ac_space
=\
*)
10940 # `set' does not quote correctly, so add quotes: double-quote
10941 # substitution turns \\\\ into \\, and sed turns \\ into \.
10944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10947 # `set' quotes correctly as required by POSIX, so do not add quotes.
10948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10957 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10959 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10961 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10962 if test -w "$cache_file"; then
10963 test "x$cache_file" != "x/dev/null" &&
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10965 $as_echo "$as_me: updating cache $cache_file" >&6;}
10966 cat confcache
>$cache_file
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10969 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10974 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10975 # Let make expand exec_prefix.
10976 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10978 DEFS
=-DHAVE_CONFIG_H
10982 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10983 # 1. Remove the extension, and $U if already installed.
10984 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10985 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10986 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10987 # will be set to the directory where LIBOBJS objects are built.
10988 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10989 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10991 LIBOBJS
=$ac_libobjs
10993 LTLIBOBJS
=$ac_ltlibobjs
10996 if test -n "$EXEEXT"; then
10998 am__EXEEXT_FALSE
='#'
11000 am__EXEEXT_TRUE
='#'
11004 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11005 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11009 as_fn_error
"conditional \"AMDEP\" was never defined.
11010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11013 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11017 : ${CONFIG_STATUS=./config.status}
11019 ac_clean_files_save
=$ac_clean_files
11020 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11022 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11024 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11026 # Generated by $as_me.
11027 # Run this file to recreate the current configuration.
11028 # Compiler output produced by configure, useful for debugging
11029 # configure, is in config.log if it exists.
11032 ac_cs_recheck=false
11035 SHELL=\${CONFIG_SHELL-$SHELL}
11038 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11039 ## -------------------- ##
11040 ## M4sh Initialization. ##
11041 ## -------------------- ##
11043 # Be more Bourne compatible
11044 DUALCASE
=1; export DUALCASE
# for MKS sh
11045 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11048 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11049 # is contrary to our usage. Disable this feature.
11050 alias -g '${1+"$@"}'='"$@"'
11051 setopt NO_GLOB_SUBST
11053 case `(set -o) 2>/dev/null` in #(
11065 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11066 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11067 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11069 # Prefer a ksh shell builtin over an external printf program on Solaris,
11070 # but without wasting forks for bash or zsh.
11071 if test -z "$BASH_VERSION$ZSH_VERSION" \
11072 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11073 as_echo='print
-r --'
11074 as_echo_n='print
-rn --'
11075 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11076 as_echo='printf %s
\n'
11077 as_echo_n='printf %s
'
11079 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11080 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11081 as_echo_n='/usr
/ucb
/echo -n'
11083 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11084 as_echo_n_body='eval
11088 expr "X$arg" : "X\\(.*\\)$as_nl";
11089 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11091 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11093 export as_echo_n_body
11094 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11096 export as_echo_body
11097 as_echo='sh
-c $as_echo_body as_echo
'
11100 # The user is always right.
11101 if test "${PATH_SEPARATOR+set}" != set; then
11103 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11104 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11111 # We need space, tab and new line, in precisely that order. Quoting is
11112 # there to prevent editors from complaining about space-tab.
11113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11114 # splitting by setting IFS to empty value.)
11117 # Find who we are. Look in the path if we contain no directory separator.
11119 *[\\/]* ) as_myself=$0 ;;
11120 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11121 for as_dir in $PATH
11124 test -z "$as_dir" && as_dir=.
11125 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11131 # We did not find ourselves, most probably we were run as `sh COMMAND'
11132 # in which case we are not to be found in the path.
11133 if test "x$as_myself" = x
; then
11136 if test ! -f "$as_myself"; then
11137 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11141 # Unset variables that we do not need and which cause bugs (e.g. in
11142 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11143 # suppresses any "Segmentation fault" message there. '((' could
11144 # trigger a bug in pdksh 5.2.14.
11145 for as_var
in BASH_ENV ENV MAIL MAILPATH
11146 do eval test x\
${$as_var+set} = xset \
11147 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11160 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11163 # as_fn_error ERROR [LINENO LOG_FD]
11164 # ---------------------------------
11165 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11166 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11167 # script with status $?, using 1 if that was 0.
11170 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11172 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11173 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11175 $as_echo "$as_me: error: $1" >&2
11176 as_fn_exit
$as_status
11180 # as_fn_set_status STATUS
11181 # -----------------------
11182 # Set $? to STATUS, without forking.
11183 as_fn_set_status
()
11186 } # as_fn_set_status
11188 # as_fn_exit STATUS
11189 # -----------------
11190 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11194 as_fn_set_status
$1
11200 # Portably unset VAR.
11203 { eval $1=; unset $1;}
11205 as_unset
=as_fn_unset
11206 # as_fn_append VAR VALUE
11207 # ----------------------
11208 # Append the text in VALUE to the end of the definition contained in VAR. Take
11209 # advantage of any shell optimizations that allow amortized linear growth over
11210 # repeated appends, instead of the typical quadratic growth present in naive
11212 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11213 eval 'as_fn_append ()
11224 # as_fn_arith ARG...
11225 # ------------------
11226 # Perform arithmetic evaluation on the ARGs, and store the result in the
11227 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11228 # must be portable across $(()) and expr.
11229 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11230 eval 'as_fn_arith ()
11237 as_val
=`expr "$@" || test $? -eq 1`
11242 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11243 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11249 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11250 as_basename
=basename
11255 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11261 as_me
=`$as_basename -- "$0" ||
11262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11263 X"$0" : 'X\(//\)$' \| \
11264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11266 sed '/^.*\/\([^/][^/]*\)\/*$/{
11280 # Avoid depending upon Character Ranges.
11281 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11282 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11283 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11284 as_cr_digits
='0123456789'
11285 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11287 ECHO_C
= ECHO_N
= ECHO_T
=
11288 case `echo -n x` in #(((((
11290 case `echo 'xy\c'` in
11291 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11293 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11300 rm -f conf$$ conf$$.exe conf$$.
file
11301 if test -d conf$$.dir
; then
11302 rm -f conf$$.dir
/conf$$.
file
11305 mkdir conf$$.dir
2>/dev
/null
11307 if (echo >conf$$.
file) 2>/dev
/null
; then
11308 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11310 # ... but there are two gotchas:
11311 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11312 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11313 # In both cases, we have to default to `cp -p'.
11314 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11316 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11324 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11325 rmdir conf$$.dir
2>/dev
/null
11330 # Create "$as_dir" as a directory, including parents if necessary.
11335 -*) as_dir
=.
/$as_dir;;
11337 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11341 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11342 *) as_qdir
=$as_dir;;
11344 as_dirs
="'$as_qdir' $as_dirs"
11345 as_dir
=`$as_dirname -- "$as_dir" ||
11346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11347 X"$as_dir" : 'X\(//\)[^/]' \| \
11348 X"$as_dir" : 'X\(//\)$' \| \
11349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11350 $as_echo X"$as_dir" |
11351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11355 /^X\(\/\/\)[^/].*/{
11368 test -d "$as_dir" && break
11370 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11371 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11375 if mkdir
-p .
2>/dev
/null
; then
11376 as_mkdir_p
='mkdir -p "$as_dir"'
11378 test -d .
/-p && rmdir .
/-p
11382 if test -x / >/dev
/null
2>&1; then
11383 as_test_x
='test -x'
11385 if ls -dL / >/dev
/null
2>&1; then
11392 if test -d "$1"; then
11398 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11399 ???[sx]*):;;*)false;;esac;fi
11403 as_executable_p
=$as_test_x
11405 # Sed expression to map a string onto a valid CPP name.
11406 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11408 # Sed expression to map a string onto a valid variable name.
11409 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11413 ## ----------------------------------- ##
11414 ## Main body of $CONFIG_STATUS script. ##
11415 ## ----------------------------------- ##
11417 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11420 # Save the log message, to keep $0 and so on meaningful, and to
11421 # report actual input values of CONFIG_FILES etc. instead of their
11422 # values after options handling.
11424 This file was extended by LTO plugin for ld $as_me 0.1, which was
11425 generated by GNU Autoconf 2.64. Invocation command line was
11427 CONFIG_FILES = $CONFIG_FILES
11428 CONFIG_HEADERS = $CONFIG_HEADERS
11429 CONFIG_LINKS = $CONFIG_LINKS
11430 CONFIG_COMMANDS = $CONFIG_COMMANDS
11433 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11438 case $ac_config_files in *"
11439 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11442 case $ac_config_headers in *"
11443 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11448 # Files that config.status was made for.
11449 config_files="$ac_config_files"
11450 config_headers="$ac_config_headers"
11451 config_commands="$ac_config_commands"
11455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11457 \`$as_me' instantiates files and other configuration actions
11458 from templates according to the current configuration. Unless the files
11459 and actions are specified as TAGs, all are instantiated by default.
11461 Usage: $0 [OPTION]... [TAG]...
11463 -h, --help print this help, then exit
11464 -V, --version print version number and configuration settings, then exit
11465 -q, --quiet, --silent
11466 do not print progress messages
11467 -d, --debug don't remove temporary files
11468 --recheck update $as_me by reconfiguring in the same conditions
11469 --file=FILE[:TEMPLATE]
11470 instantiate the configuration file FILE
11471 --header=FILE[:TEMPLATE]
11472 instantiate the configuration header FILE
11474 Configuration files:
11477 Configuration headers:
11480 Configuration commands:
11483 Report bugs to the package provider."
11486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11488 LTO plugin for ld config.status 0.1
11489 configured by $0, generated by GNU Autoconf 2.64,
11490 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11492 Copyright (C) 2009 Free Software Foundation, Inc.
11493 This config.status script is free software; the Free Software Foundation
11494 gives unlimited permission to copy, distribute and modify it."
11501 test -n "\$AWK" || AWK=awk
11504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11505 # The default lists apply if the user does not specify any file.
11511 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11512 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11523 # Handling of the options.
11524 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11526 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11527 $as_echo "$ac_cs_version"; exit ;;
11528 --debug |
--debu |
--deb |
--de |
--d |
-d )
11530 --file |
--fil |
--fi |
--f )
11533 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11535 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11536 ac_need_defaults
=false
;;
11537 --header |
--heade |
--head |
--hea )
11540 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11542 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11543 ac_need_defaults
=false
;;
11545 # Conflict between --help and --header
11546 as_fn_error
"ambiguous option: \`$1'
11547 Try \`$0 --help' for more information.";;
11548 --help |
--hel |
-h )
11549 $as_echo "$ac_cs_usage"; exit ;;
11550 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11551 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11554 # This is an error.
11555 -*) as_fn_error
"unrecognized option: \`$1'
11556 Try \`$0 --help' for more information." ;;
11558 *) as_fn_append ac_config_targets
" $1"
11559 ac_need_defaults
=false
;;
11565 ac_configure_extra_args
=
11567 if $ac_cs_silent; then
11569 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11574 if \$ac_cs_recheck; then
11575 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11577 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11578 CONFIG_SHELL='$SHELL'
11579 export CONFIG_SHELL
11584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11588 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11589 ## Running $as_me. ##
11595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11599 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11602 # The HP-UX ksh and POSIX shell print the target directory to stdout
11603 # if CDPATH is set.
11604 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11606 sed_quote_subst='$sed_quote_subst'
11607 double_quote_subst='$double_quote_subst'
11608 delay_variable_subst='$delay_variable_subst'
11609 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11610 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11611 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11612 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11613 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11614 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11615 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11616 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11617 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11618 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11619 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11620 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11621 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11622 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11623 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11624 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11625 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11626 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11627 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11628 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11629 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11630 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11631 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11632 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11633 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11634 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11635 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11636 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11637 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11638 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11639 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11640 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11641 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11642 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11643 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11644 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11645 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11646 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11647 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11648 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11649 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11650 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11651 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11652 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11653 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11654 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11655 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11656 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11657 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"`'
11658 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11659 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11660 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11661 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11662 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11663 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11664 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11665 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11666 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11667 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11668 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11669 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11670 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11671 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11672 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11673 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11674 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11675 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11676 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11677 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11678 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11679 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11680 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11681 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11682 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11683 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11684 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11685 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11686 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11687 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11688 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11689 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11690 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
11691 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
11692 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
11693 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
11694 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
11695 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
11696 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
11697 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
11698 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
11699 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
11700 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
11701 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
11702 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
11703 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
11704 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
11705 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
11706 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
11707 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
11708 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
11709 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
11710 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
11711 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
11712 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
11713 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
11714 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
11715 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
11716 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11717 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11718 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
11719 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
11720 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
11721 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
11722 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
11723 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
11724 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
11725 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
11726 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
11727 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
11728 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
11731 LTCFLAGS='$LTCFLAGS'
11732 compiler='$compiler_DEFAULT'
11734 # A function that is used when there is no print builtin or printf.
11735 func_fallback_echo ()
11737 eval 'cat <<_LTECHO_EOF
11742 # Quote evaled strings.
11756 deplibs_check_method \
11765 lt_cv_sys_global_symbol_pipe \
11766 lt_cv_sys_global_symbol_to_cdecl \
11767 lt_cv_sys_global_symbol_to_c_name_address \
11768 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11769 lt_prog_compiler_no_builtin_flag \
11770 lt_prog_compiler_wl \
11771 lt_prog_compiler_pic \
11772 lt_prog_compiler_static \
11773 lt_cv_prog_compiler_c_o \
11781 export_dynamic_flag_spec \
11782 whole_archive_flag_spec \
11783 compiler_needs_object \
11785 allow_undefined_flag \
11786 no_undefined_flag \
11787 hardcode_libdir_flag_spec \
11788 hardcode_libdir_flag_spec_ld \
11789 hardcode_libdir_separator \
11794 variables_saved_for_relink \
11796 library_names_spec \
11798 install_override_mode \
11802 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11803 *[\\\\\\\`\\"\\\$]*)
11804 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11807 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11812 # Double-quote double-evaled strings.
11813 for var in reload_cmds \
11814 old_postinstall_cmds \
11815 old_postuninstall_cmds \
11817 extract_expsyms_cmds \
11818 old_archive_from_new_cmds \
11819 old_archive_from_expsyms_cmds \
11821 archive_expsym_cmds \
11823 module_expsym_cmds \
11824 export_symbols_cmds \
11827 postuninstall_cmds \
11829 sys_lib_search_path_spec \
11830 sys_lib_dlsearch_path_spec; do
11831 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
11832 *[\\\\\\\`\\"\\\$]*)
11833 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11836 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11841 ac_aux_dir='$ac_aux_dir'
11842 xsi_shell='$xsi_shell'
11843 lt_shell_append='$lt_shell_append'
11845 # See if we are running on zsh, and set the options which allow our
11846 # commands through without removal of \ escapes INIT.
11847 if test -n "\${ZSH_VERSION+set}" ; then
11848 setopt NO_GLOB_SUBST
11854 TIMESTAMP='$TIMESTAMP'
11863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11865 # Handling of arguments.
11866 for ac_config_target
in $ac_config_targets
11868 case $ac_config_target in
11869 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11870 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
11871 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11872 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11874 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11879 # If the user did not use the arguments to specify the items to instantiate,
11880 # then the envvar interface is used. Set only those that are not.
11881 # We use the long form for the default assignment because of an extremely
11882 # bizarre bug on SunOS 4.1.3.
11883 if $ac_need_defaults; then
11884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11889 # Have a temporary directory for convenience. Make it in the build tree
11890 # simply because there is no reason against having it here, and in addition,
11891 # creating and moving files from /tmp can sometimes cause problems.
11892 # Hook for its removal unless debugging.
11893 # Note that there is a small window in which the directory will not be cleaned:
11894 # after its creation but before its name has been assigned to `$tmp'.
11898 trap 'exit_status=$?
11899 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11901 trap 'as_fn_exit 1' 1 2 13 15
11903 # Create a (secure) tmp directory for tmp files.
11906 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11907 test -n "$tmp" && test -d "$tmp"
11910 tmp
=.
/conf$$
-$RANDOM
11911 (umask 077 && mkdir
"$tmp")
11912 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11914 # Set up the scripts for CONFIG_FILES section.
11915 # No need to generate them if there are no CONFIG_FILES.
11916 # This happens for instance with `./config.status config.h'.
11917 if test -n "$CONFIG_FILES"; then
11920 ac_cr
=`echo X | tr X '\015'`
11921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11922 # But we know of no other shell where ac_cr would be empty at this
11923 # point, so we can use a bashism as a fallback.
11924 if test "x$ac_cr" = x
; then
11925 eval ac_cr
=\$
\'\\r
\'
11927 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11931 ac_cs_awk_cr
=$ac_cr
11934 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11939 echo "cat >conf$$subs.awk <<_ACEOF" &&
11940 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11942 } >conf$$subs.sh ||
11943 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11946 for ac_last_try in false false false false false :; do
11947 . ./conf$$subs.sh ||
11948 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11950 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11951 if test $ac_delim_n = $ac_delim_num; then
11953 elif $ac_last_try; then
11954 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11956 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11959 rm -f conf$$subs.sh
11961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11962 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11966 s/^/S["/; s
/!.
*/"]=/
11976 s/\(.\{148\}\).*/\1/
11978 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11983 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11990 s/\(.\{148\}\).*/\1/
11992 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11996 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12001 ' <conf$$subs.awk | sed '
12006 ' >>$CONFIG_STATUS || ac_write_fail=1
12007 rm -f conf$$subs.awk
12008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12010 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12011 for (key in S) S_is_set[key] = 1
12017 nfields = split(line, field, "@
")
12019 len = length(field[1])
12020 for (i = 2; i < nfields; i++) {
12022 keylen = length(key)
12023 if (S_is_set[key]) {
12025 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12026 len += length(value) + length(field[++i])
12037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12038 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12039 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12042 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12043 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12048 # trailing colons and then remove the whole line if VPATH becomes empty
12049 # (actually we leave an empty line to preserve line numbers).
12050 if test "x
$srcdir" = x.; then
12051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12052 s/:*\$(srcdir):*/:/
12053 s/:*\${srcdir}:*/:/
12055 s/^\([^=]*=[ ]*\):*/\1/
12061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12062 fi # test -n "$CONFIG_FILES"
12064 # Set up the scripts for CONFIG_HEADERS section.
12065 # No need to generate them if there are no CONFIG_HEADERS.
12066 # This happens for instance with `./config.status Makefile'.
12067 if test -n "$CONFIG_HEADERS"; then
12068 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12072 # Transform confdefs.h into an awk script `defines.awk', embedded as
12073 # here-document in config.status, that substitutes the proper values into
12074 # config.h.in to produce config.h.
12076 # Create a delimiter string that does not exist in confdefs.h, to ease
12077 # handling of long lines.
12079 for ac_last_try in false false :; do
12080 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12081 if test -z "$ac_t"; then
12083 elif $ac_last_try; then
12084 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12086 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12090 # For the awk script, D is an array of macro values keyed by name,
12091 # likewise P contains macro parameters if any. Preserve backslash
12092 # newline sequences.
12094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12096 s/.\{148\}/&'"$ac_delim"'/g
12099 s/^[ ]*#[ ]*define[ ][ ]*/ /
12106 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12108 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12113 D["\
1"]=" \
3\\\\\\n
"\\/p
12115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12120 s/.\{148\}/&'"$ac_delim"'/g
12125 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12128 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12130 ' <confdefs.h | sed '
12131 s/'"$ac_delim"'/"\\\
12132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12135 for (key in D) D_is_set[key] = 1
12138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12140 split(line, arg, " ")
12141 if (arg[1] == "#") {
12145 defundef
= substr
(arg
[1], 2)
12148 split(mac1
, mac2
, "(") #)
12150 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12151 if (D_is_set
[macro
]) {
12152 # Preserve the white space surrounding the "#".
12153 print prefix
"define", macro P
[macro
] D
[macro
]
12156 # Replace #undef with comments. This is necessary, for example,
12157 # in the case of _POSIX_SOURCE, which is predefined and required
12158 # on some systems where configure will not decide to define it.
12159 if (defundef
== "undef") {
12160 print
"/*", prefix defundef
, macro
, "*/"
12168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12169 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12170 fi # test -n "$CONFIG_HEADERS"
12173 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12178 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12180 case $ac_mode$ac_tag in
12182 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12183 :[FH
]-) ac_tag
=-:-;;
12184 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12201 -) ac_f
="$tmp/stdin";;
12202 *) # Look for the file first in the build tree, then in the source tree
12203 # (if the path is not absolute). The absolute path cannot be DOS-style,
12204 # because $ac_f cannot contain `:'.
12208 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12210 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12212 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12213 as_fn_append ac_file_inputs
" '$ac_f'"
12216 # Let's still pretend it is `configure' which instantiates (i.e., don't
12217 # use $as_me), people would be surprised to read:
12218 # /* config.h. Generated by config.status. */
12219 configure_input
='Generated from '`
12220 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12222 if test x
"$ac_file" != x-
; then
12223 configure_input
="$ac_file. $configure_input"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12225 $as_echo "$as_me: creating $ac_file" >&6;}
12227 # Neutralize special characters interpreted by sed in replacement strings.
12228 case $configure_input in #(
12229 *\
&* |
*\|
* |
*\\* )
12230 ac_sed_conf_input
=`$as_echo "$configure_input" |
12231 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12232 *) ac_sed_conf_input
=$configure_input;;
12236 *:-:* |
*:-) cat >"$tmp/stdin" \
12237 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12242 ac_dir
=`$as_dirname -- "$ac_file" ||
12243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12244 X"$ac_file" : 'X\(//\)[^/]' \| \
12245 X"$ac_file" : 'X\(//\)$' \| \
12246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12247 $as_echo X"$ac_file" |
12248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12252 /^X\(\/\/\)[^/].*/{
12265 as_dir
="$ac_dir"; as_fn_mkdir_p
12269 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12271 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12272 # A ".." for each directory in $ac_dir_suffix.
12273 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12274 case $ac_top_builddir_sub in
12275 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12276 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12279 ac_abs_top_builddir
=$ac_pwd
12280 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12281 # for backward compatibility:
12282 ac_top_builddir
=$ac_top_build_prefix
12285 .
) # We are building in place.
12287 ac_top_srcdir
=$ac_top_builddir_sub
12288 ac_abs_top_srcdir
=$ac_pwd ;;
12289 [\\/]* | ?
:[\\/]* ) # Absolute name.
12290 ac_srcdir
=$srcdir$ac_dir_suffix;
12291 ac_top_srcdir
=$srcdir
12292 ac_abs_top_srcdir
=$srcdir ;;
12293 *) # Relative name.
12294 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12295 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12296 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12298 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12308 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12309 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12311 ac_MKDIR_P
=$MKDIR_P
12313 [\\/$
]* | ?
:[\\/]* ) ;;
12314 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12319 # If the template does not know about datarootdir, expand it.
12320 # FIXME: This hack should be removed a few years after 2.60.
12321 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12332 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12333 *datarootdir
*) ac_datarootdir_seen
=yes;;
12334 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12336 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12339 ac_datarootdir_hack='
12340 s&@datadir@&$datadir&g
12341 s&@docdir@&$docdir&g
12342 s&@infodir@&$infodir&g
12343 s&@localedir@&$localedir&g
12344 s&@mandir@&$mandir&g
12345 s&\\\${datarootdir}&$datarootdir&g' ;;
12349 # Neutralize VPATH when `$srcdir' = `.'.
12350 # Shell code in configure.ac might set extrasub.
12351 # FIXME: do we really want to maintain this feature?
12352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12353 ac_sed_extra="$ac_vpsub
12356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12358 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12359 s|@configure_input@|
$ac_sed_conf_input|
;t t
12360 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12361 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12362 s
&@srcdir@
&$ac_srcdir&;t t
12363 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12364 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12365 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12366 s
&@builddir@
&$ac_builddir&;t t
12367 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12368 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12369 s
&@INSTALL@
&$ac_INSTALL&;t t
12370 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12371 $ac_datarootdir_hack
12373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12374 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12377 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12380 which seems to be undefined. Please make sure it is defined." >&5
12381 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12382 which seems to be undefined. Please make sure it is defined." >&2;}
12386 -) cat "$tmp/out" && rm -f "$tmp/out";;
12387 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12389 || as_fn_error "could not create $ac_file" "$LINENO" 5
12395 if test x"$ac_file" != x-; then
12397 $as_echo "/* $configure_input */" \
12398 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12399 } >"$tmp/config.h" \
12400 || as_fn_error "could not create $ac_file" "$LINENO" 5
12401 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12403 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12406 mv "$tmp/config.h" "$ac_file" \
12407 || as_fn_error "could not create $ac_file" "$LINENO" 5
12410 $as_echo "/* $configure_input */" \
12411 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12412 || as_fn_error "could not create -" "$LINENO" 5
12414 # Compute "$ac_file"'s index
in $config_headers.
12417 for _am_header
in $config_headers :; do
12418 case $_am_header in
12419 $_am_arg |
$_am_arg:* )
12422 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12425 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12426 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12427 X"$_am_arg" : 'X\(//\)[^/]' \| \
12428 X"$_am_arg" : 'X\(//\)$' \| \
12429 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12430 $as_echo X"$_am_arg" |
12431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12435 /^X\(\/\/\)[^/].*/{
12447 s/.*/./; q'`/stamp-h
$_am_stamp_count
12450 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12451 $as_echo "$as_me: executing $ac_file commands" >&6;}
12456 case $ac_file$ac_mode in
12457 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12458 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12459 # are listed without --file. Let's play safe and only enable the eval
12460 # if we detect the quoting.
12461 case $CONFIG_FILES in
12462 *\'*) eval set x
"$CONFIG_FILES" ;;
12463 *) set x
$CONFIG_FILES ;;
12468 # Strip MF so we end up with the name of the file.
12469 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12470 # Check whether this is an Automake generated Makefile or not.
12471 # We used to match only the files named `Makefile.in', but
12472 # some people rename them; so instead we look at the file content.
12473 # Grep'ing the first line is not enough: some people post-process
12474 # each Makefile.in and add a new line on top of each file to say so.
12475 # Grep'ing the whole file is not good either: AIX grep has a line
12476 # limit of 2048, but all sed's we know have understand at least 4000.
12477 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12478 dirpart
=`$as_dirname -- "$mf" ||
12479 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12480 X"$mf" : 'X\(//\)[^/]' \| \
12481 X"$mf" : 'X\(//\)$' \| \
12482 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12488 /^X\(\/\/\)[^/].*/{
12504 # Extract the definition of DEPDIR, am__include, and am__quote
12505 # from the Makefile without running `make'.
12506 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12507 test -z "$DEPDIR" && continue
12508 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12509 test -z "am__include" && continue
12510 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12511 # When using ansi2knr, U may be empty or an underscore; expand it
12512 U
=`sed -n 's/^U = //p' < "$mf"`
12513 # Find all dependency output files, they are included files with
12514 # $(DEPDIR) in their names. We invoke sed twice because it is the
12515 # simplest approach to changing $(DEPDIR) to its actual value in the
12517 for file in `sed -n "
12518 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12519 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12520 # Make sure the directory exists.
12521 test -f "$dirpart/$file" && continue
12522 fdir
=`$as_dirname -- "$file" ||
12523 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12524 X"$file" : 'X\(//\)[^/]' \| \
12525 X"$file" : 'X\(//\)$' \| \
12526 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12527 $as_echo X"$file" |
12528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12532 /^X\(\/\/\)[^/].*/{
12545 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12546 # echo "creating $dirpart/$file"
12547 echo '# dummy' > "$dirpart/$file"
12554 # See if we are running on zsh, and set the options which allow our
12555 # commands through without removal of \ escapes.
12556 if test -n "${ZSH_VERSION+set}" ; then
12557 setopt NO_GLOB_SUBST
12560 cfgfile
="${ofile}T"
12561 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12564 cat <<_LT_EOF >> "$cfgfile"
12567 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12568 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12572 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12573 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12574 # Written by Gordon Matzigkeit, 1996
12576 # This file is part of GNU Libtool.
12578 # GNU Libtool is free software; you can redistribute it and/or
12579 # modify it under the terms of the GNU General Public License as
12580 # published by the Free Software Foundation; either version 2 of
12581 # the License, or (at your option) any later version.
12583 # As a special exception to the GNU General Public License,
12584 # if you distribute this file as part of a program or library that
12585 # is built using GNU Libtool, you may include this file under the
12586 # same distribution terms that you use for the rest of that program.
12588 # GNU Libtool is distributed in the hope that it will be useful,
12589 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12590 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12591 # GNU General Public License for more details.
12593 # You should have received a copy of the GNU General Public License
12594 # along with GNU Libtool; see the file COPYING. If not, a copy
12595 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12596 # obtained by writing to the Free Software Foundation, Inc.,
12597 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12600 # The names of the tagged configurations supported by this script.
12603 # ### BEGIN LIBTOOL CONFIG
12605 # Which release of libtool.m4 was used?
12606 macro_version=$macro_version
12607 macro_revision=$macro_revision
12609 # Whether or not to build shared libraries.
12610 build_libtool_libs=$enable_shared
12612 # Whether or not to build static libraries.
12613 build_old_libs=$enable_static
12615 # What type of objects to build.
12618 # Whether or not to optimize for fast installation.
12619 fast_install=$enable_fast_install
12621 # Shell to use when invoking shell scripts.
12624 # An echo program that protects backslashes.
12628 host_alias=$host_alias
12632 # The build system.
12633 build_alias=$build_alias
12637 # A sed program that does not truncate output.
12640 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12641 Xsed="\$SED -e 1s/^X//"
12643 # A grep program that handles long lines.
12649 # A literal string matcher.
12652 # A BSD- or MS-compatible name lister.
12655 # Whether we need soft or hard links.
12658 # What is the maximum length of a command?
12659 max_cmd_len=$max_cmd_len
12661 # Object file suffix (normally "o").
12664 # Executable file suffix (normally "").
12667 # whether the shell understands "unset".
12670 # turn spaces into newlines.
12673 # turn newlines into spaces.
12676 # An object symbol dumper.
12677 OBJDUMP=$lt_OBJDUMP
12679 # Method to check whether dependent libraries are shared objects.
12680 deplibs_check_method=$lt_deplibs_check_method
12682 # Command to use when deplibs_check_method == "file_magic".
12683 file_magic_cmd=$lt_file_magic_cmd
12687 AR_FLAGS=$lt_AR_FLAGS
12689 # A symbol stripping program.
12692 # Commands used to install an old-style archive.
12694 old_postinstall_cmds=$lt_old_postinstall_cmds
12695 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12697 # Whether to use a lock for old archive extraction.
12698 lock_old_archive_extraction=$lock_old_archive_extraction
12703 # LTCC compiler flags.
12704 LTCFLAGS=$lt_CFLAGS
12706 # Take the output of nm and produce a listing of raw symbols and C names.
12707 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12709 # Transform the output of nm in a proper C declaration.
12710 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12712 # Transform the output of nm in a C name address pair.
12713 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12715 # Transform the output of nm in a C name address pair when lib prefix is needed.
12716 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12718 # The name of the directory that contains temporary libtool files.
12721 # Used to examine libraries when file_magic_cmd begins with "file".
12722 MAGIC_CMD=$MAGIC_CMD
12724 # Must we lock files when doing compilation?
12725 need_locks=$lt_need_locks
12727 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12728 DSYMUTIL=$lt_DSYMUTIL
12730 # Tool to change global to local symbols on Mac OS X.
12733 # Tool to manipulate fat objects and archives on Mac OS X.
12736 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12739 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12740 OTOOL64=$lt_OTOOL64
12742 # Old archive suffix (normally "a").
12745 # Shared library suffix (normally ".so").
12746 shrext_cmds=$lt_shrext_cmds
12748 # The commands to extract the exported symbol list from a shared archive.
12749 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12751 # Variables whose values should be saved in libtool wrapper scripts and
12752 # restored at link time.
12753 variables_saved_for_relink=$lt_variables_saved_for_relink
12755 # Do we need the "lib" prefix for modules?
12756 need_lib_prefix=$need_lib_prefix
12758 # Do we need a version for libraries?
12759 need_version=$need_version
12761 # Library versioning type.
12762 version_type=$version_type
12764 # Shared library runtime path variable.
12765 runpath_var=$runpath_var
12767 # Shared library path variable.
12768 shlibpath_var=$shlibpath_var
12770 # Is shlibpath searched before the hard-coded library search path?
12771 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12773 # Format of library name prefix.
12774 libname_spec=$lt_libname_spec
12776 # List of archive names. First name is the real one, the rest are links.
12777 # The last name is the one that the linker finds with -lNAME
12778 library_names_spec=$lt_library_names_spec
12780 # The coded name of the library, if different from the real name.
12781 soname_spec=$lt_soname_spec
12783 # Permission mode override for installation of shared libraries.
12784 install_override_mode=$lt_install_override_mode
12786 # Command to use after installation of a shared archive.
12787 postinstall_cmds=$lt_postinstall_cmds
12789 # Command to use after uninstallation of a shared archive.
12790 postuninstall_cmds=$lt_postuninstall_cmds
12792 # Commands used to finish a libtool library installation in a directory.
12793 finish_cmds=$lt_finish_cmds
12795 # As "finish_cmds", except a single script fragment to be evaled but
12797 finish_eval=$lt_finish_eval
12799 # Whether we should hardcode library paths into libraries.
12800 hardcode_into_libs=$hardcode_into_libs
12802 # Compile-time system search path for libraries.
12803 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12805 # Run-time system search path for libraries.
12806 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12808 # Whether dlopen is supported.
12809 dlopen_support=$enable_dlopen
12811 # Whether dlopen of programs is supported.
12812 dlopen_self=$enable_dlopen_self
12814 # Whether dlopen of statically linked programs is supported.
12815 dlopen_self_static=$enable_dlopen_self_static
12817 # Commands to strip libraries.
12818 old_striplib=$lt_old_striplib
12819 striplib=$lt_striplib
12822 # The linker used to build libraries.
12825 # How to create reloadable object files.
12826 reload_flag=$lt_reload_flag
12827 reload_cmds=$lt_reload_cmds
12829 # Commands used to build an old-style archive.
12830 old_archive_cmds=$lt_old_archive_cmds
12832 # A language specific compiler.
12835 # Is the compiler the GNU compiler?
12838 # Compiler flag to turn off builtin functions.
12839 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12841 # How to pass a linker flag through the compiler.
12842 wl=$lt_lt_prog_compiler_wl
12844 # Additional compiler flags for building library objects.
12845 pic_flag=$lt_lt_prog_compiler_pic
12847 # Compiler flag to prevent dynamic linking.
12848 link_static_flag=$lt_lt_prog_compiler_static
12850 # Does compiler simultaneously support -c and -o options?
12851 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12853 # Whether or not to add -lc for building shared libraries.
12854 build_libtool_need_lc=$archive_cmds_need_lc
12856 # Whether or not to disallow shared libs when runtime libs are static.
12857 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12859 # Compiler flag to allow reflexive dlopens.
12860 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12862 # Compiler flag to generate shared objects directly from archives.
12863 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12865 # Whether the compiler copes with passing no objects directly.
12866 compiler_needs_object=$lt_compiler_needs_object
12868 # Create an old-style archive from a shared archive.
12869 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12871 # Create a temporary old-style archive to link instead of a shared archive.
12872 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12874 # Commands used to build a shared archive.
12875 archive_cmds=$lt_archive_cmds
12876 archive_expsym_cmds=$lt_archive_expsym_cmds
12878 # Commands used to build a loadable module if different from building
12879 # a shared archive.
12880 module_cmds=$lt_module_cmds
12881 module_expsym_cmds=$lt_module_expsym_cmds
12883 # Whether we are building with GNU ld or not.
12884 with_gnu_ld=$lt_with_gnu_ld
12886 # Flag that allows shared libraries with undefined symbols to be built.
12887 allow_undefined_flag=$lt_allow_undefined_flag
12889 # Flag that enforces no undefined symbols.
12890 no_undefined_flag=$lt_no_undefined_flag
12892 # Flag to hardcode \$libdir into a binary during linking.
12893 # This must work even if \$libdir does not exist
12894 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12896 # If ld is used when linking, flag to hardcode \$libdir into a binary
12897 # during linking. This must work even if \$libdir does not exist.
12898 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12900 # Whether we need a single "-rpath" flag with a separated argument.
12901 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12903 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12904 # DIR into the resulting binary.
12905 hardcode_direct=$hardcode_direct
12907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12908 # DIR into the resulting binary and the resulting library dependency is
12909 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12910 # library is relocated.
12911 hardcode_direct_absolute=$hardcode_direct_absolute
12913 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12914 # into the resulting binary.
12915 hardcode_minus_L=$hardcode_minus_L
12917 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12918 # into the resulting binary.
12919 hardcode_shlibpath_var=$hardcode_shlibpath_var
12921 # Set to "yes" if building a shared library automatically hardcodes DIR
12922 # into the library and all subsequent libraries and executables linked
12924 hardcode_automatic=$hardcode_automatic
12926 # Set to yes if linker adds runtime paths of dependent libraries
12927 # to runtime path list.
12928 inherit_rpath=$inherit_rpath
12930 # Whether libtool must link a program against all its dependency libraries.
12931 link_all_deplibs=$link_all_deplibs
12933 # Fix the shell variable \$srcfile for the compiler.
12934 fix_srcfile_path=$lt_fix_srcfile_path
12936 # Set to "yes" if exported symbols are required.
12937 always_export_symbols=$always_export_symbols
12939 # The commands to list exported symbols.
12940 export_symbols_cmds=$lt_export_symbols_cmds
12942 # Symbols that should not be listed in the preloaded symbols.
12943 exclude_expsyms=$lt_exclude_expsyms
12945 # Symbols that must always be exported.
12946 include_expsyms=$lt_include_expsyms
12948 # Commands necessary for linking programs (against libraries) with templates.
12949 prelink_cmds=$lt_prelink_cmds
12951 # Specify filename containing input files.
12952 file_list_spec=$lt_file_list_spec
12954 # How to hardcode a shared library path into an executable.
12955 hardcode_action=$hardcode_action
12957 # ### END LIBTOOL CONFIG
12963 cat <<\_LT_EOF
>> "$cfgfile"
12964 # AIX sometimes has problems with the GCC collect2 program. For some
12965 # reason, if we set the COLLECT_NAMES environment variable, the problems
12966 # vanish in a puff of smoke.
12967 if test "X${COLLECT_NAMES+set}" != Xset
; then
12969 export COLLECT_NAMES
12976 ltmain
="$ac_aux_dir/ltmain.sh"
12979 # We use sed instead of cat because bash on DJGPP gets confused if
12980 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12981 # text mode, it properly converts lines to CR/LF. This bash problem
12982 # is reportedly fixed, but why not run on old versions too?
12983 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12984 ||
(rm -f "$cfgfile"; exit 1)
12988 cat << \_LT_EOF
>> "$cfgfile"
12990 # func_dirname file append nondir_replacement
12991 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12992 # otherwise set result to NONDIR_REPLACEMENT.
12996 */*) func_dirname_result
="${1%/*}${2}" ;;
12997 * ) func_dirname_result
="${3}" ;;
13001 # func_basename file
13004 func_basename_result
="${1##*/}"
13007 # func_dirname_and_basename file append nondir_replacement
13008 # perform func_basename and func_dirname in a single function
13010 # dirname: Compute the dirname of FILE. If nonempty,
13011 # add APPEND to the result, otherwise set result
13012 # to NONDIR_REPLACEMENT.
13013 # value returned in "$func_dirname_result"
13014 # basename: Compute filename of FILE.
13015 # value retuned in "$func_basename_result"
13016 # Implementation must be kept synchronized with func_dirname
13017 # and func_basename. For efficiency, we do not delegate to
13018 # those functions but instead duplicate the functionality here.
13019 func_dirname_and_basename
()
13022 */*) func_dirname_result
="${1%/*}${2}" ;;
13023 * ) func_dirname_result
="${3}" ;;
13025 func_basename_result
="${1##*/}"
13028 # func_stripname prefix suffix name
13029 # strip PREFIX and SUFFIX off of NAME.
13030 # PREFIX and SUFFIX must not contain globbing or regex special
13031 # characters, hashes, percent signs, but SUFFIX may contain a leading
13032 # dot (in which case that matches only a dot).
13035 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13036 # positional parameters, so assign one to ordinary parameter first.
13037 func_stripname_result
=${3}
13038 func_stripname_result
=${func_stripname_result#"${1}"}
13039 func_stripname_result
=${func_stripname_result%"${2}"}
13045 func_opt_split_opt
=${1%%=*}
13046 func_opt_split_arg
=${1#*=}
13053 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13054 *) func_lo2o_result
=${1} ;;
13058 # func_xform libobj-or-source
13061 func_xform_result
=${1%.*}.lo
13064 # func_arith arithmetic-term...
13067 func_arith_result
=$
(( $
* ))
13071 # STRING may not start with a hyphen.
13074 func_len_result
=${#1}
13079 *) # Bourne compatible functions.
13080 cat << \_LT_EOF
>> "$cfgfile"
13082 # func_dirname file append nondir_replacement
13083 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13084 # otherwise set result to NONDIR_REPLACEMENT.
13087 # Extract subdirectory from the argument.
13088 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13089 if test "X$func_dirname_result" = "X${1}"; then
13090 func_dirname_result
="${3}"
13092 func_dirname_result
="$func_dirname_result${2}"
13096 # func_basename file
13099 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13103 # func_stripname prefix suffix name
13104 # strip PREFIX and SUFFIX off of NAME.
13105 # PREFIX and SUFFIX must not contain globbing or regex special
13106 # characters, hashes, percent signs, but SUFFIX may contain a leading
13107 # dot (in which case that matches only a dot).
13108 # func_strip_suffix prefix name
13112 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13113 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13118 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13119 my_sed_long_arg
='1s/^-[^=]*=//'
13124 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13125 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13131 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13134 # func_xform libobj-or-source
13137 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13140 # func_arith arithmetic-term...
13143 func_arith_result
=`expr "$@"`
13147 # STRING may not start with a hyphen.
13150 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13156 case $lt_shell_append in
13158 cat << \_LT_EOF
>> "$cfgfile"
13160 # func_append var value
13161 # Append VALUE to the end of shell variable VAR.
13169 cat << \_LT_EOF
>> "$cfgfile"
13171 # func_append var value
13172 # Append VALUE to the end of shell variable VAR.
13183 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13184 ||
(rm -f "$cfgfile"; exit 1)
13186 mv -f "$cfgfile" "$ofile" ||
13187 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13198 ac_clean_files
=$ac_clean_files_save
13200 test $ac_write_fail = 0 ||
13201 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13204 # configure is writing to config.log, and then calls config.status.
13205 # config.status does its own redirection, appending to config.log.
13206 # Unfortunately, on DOS this fails, as config.log is still kept open
13207 # by configure, so config.status won't be able to write to it; its
13208 # output is simply discarded. So we exec the FD to /dev/null,
13209 # effectively closing config.log, so it can be properly (re)opened and
13210 # appended to by config.status. When coming back to configure, we
13211 # need to make the FD available again.
13212 if test "$no_create" != yes; then
13214 ac_config_status_args
=
13215 test "$silent" = yes &&
13216 ac_config_status_args
="$ac_config_status_args --quiet"
13218 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13220 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13221 # would make configure fail if this is the last instruction.
13222 $ac_cs_success || as_fn_exit $?
13224 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13226 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}