2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
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
='package-unused'
558 PACKAGE_TARNAME
='libbacktrace'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="backtrace.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
607 BACKTRACE_USES_MALLOC
612 BACKTRACE_SUPPORTS_THREADS
653 MAINTAINER_MODE_FALSE
663 INSTALL_STRIP_PROGRAM
718 program_transform_name
731 enable_option_checking
732 enable_maintainer_mode
734 enable_dependency_tracking
742 with_system_libunwind
744 ac_precious_vars
='build_alias
751 # Initialize some variables set by options.
753 ac_init_version
=false
754 ac_unrecognized_opts
=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name
=s
,x
,x
,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir
='${exec_prefix}/bin'
780 sbindir
='${exec_prefix}/sbin'
781 libexecdir
='${exec_prefix}/libexec'
782 datarootdir
='${prefix}/share'
783 datadir
='${datarootdir}'
784 sysconfdir
='${prefix}/etc'
785 sharedstatedir
='${prefix}/com'
786 localstatedir
='${prefix}/var'
787 includedir
='${prefix}/include'
788 oldincludedir
='/usr/include'
789 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir
='${datarootdir}/info'
795 libdir
='${exec_prefix}/lib'
796 localedir
='${datarootdir}/locale'
797 mandir
='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\
$ac_option
811 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
815 # Accept the important Cygnus configure options, so we can diagnose typos.
817 case $ac_dashdash$ac_option in
821 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
823 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
826 -build |
--build |
--buil |
--bui |
--bu)
827 ac_prev
=build_alias
;;
828 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
829 build_alias
=$ac_optarg ;;
831 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
832 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
833 ac_prev
=cache_file
;;
834 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
835 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
836 cache_file
=$ac_optarg ;;
839 cache_file
=config.cache
;;
841 -datadir |
--datadir |
--datadi |
--datad)
843 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
844 datadir
=$ac_optarg ;;
846 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
847 |
--dataroo |
--dataro |
--datar)
848 ac_prev
=datarootdir
;;
849 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
850 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
851 datarootdir
=$ac_optarg ;;
853 -disable-* |
--disable-*)
854 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
857 as_fn_error
"invalid feature name: $ac_useropt"
858 ac_useropt_orig
=$ac_useropt
859 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
864 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
865 ac_unrecognized_sep
=', ';;
867 eval enable_
$ac_useropt=no
;;
869 -docdir |
--docdir |
--docdi |
--doc |
--do)
871 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
874 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
876 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
879 -enable-* |
--enable-*)
880 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
883 as_fn_error
"invalid feature name: $ac_useropt"
884 ac_useropt_orig
=$ac_useropt
885 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
890 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
891 ac_unrecognized_sep
=', ';;
893 eval enable_
$ac_useropt=\
$ac_optarg ;;
895 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
896 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
897 |
--exec |
--exe |
--ex)
898 ac_prev
=exec_prefix
;;
899 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
900 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
901 |
--exec=* |
--exe=* |
--ex=*)
902 exec_prefix
=$ac_optarg ;;
904 -gas |
--gas |
--ga |
--g)
905 # Obsolete; use --with-gas.
908 -help |
--help |
--hel |
--he |
-h)
910 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
911 ac_init_help
=recursive
;;
912 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
913 ac_init_help
=short
;;
915 -host |
--host |
--hos |
--ho)
916 ac_prev
=host_alias
;;
917 -host=* |
--host=* |
--hos=* |
--ho=*)
918 host_alias
=$ac_optarg ;;
920 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
922 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
924 htmldir
=$ac_optarg ;;
926 -includedir |
--includedir |
--includedi |
--included |
--include \
927 |
--includ |
--inclu |
--incl |
--inc)
928 ac_prev
=includedir
;;
929 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
930 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
931 includedir
=$ac_optarg ;;
933 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
935 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
936 infodir
=$ac_optarg ;;
938 -libdir |
--libdir |
--libdi |
--libd)
940 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
943 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
944 |
--libexe |
--libex |
--libe)
945 ac_prev
=libexecdir
;;
946 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
947 |
--libexe=* |
--libex=* |
--libe=*)
948 libexecdir
=$ac_optarg ;;
950 -localedir |
--localedir |
--localedi |
--localed |
--locale)
952 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
953 localedir
=$ac_optarg ;;
955 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
956 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
957 ac_prev
=localstatedir
;;
958 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
959 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
960 localstatedir
=$ac_optarg ;;
962 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
964 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
968 # Obsolete; use --without-fp.
971 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
972 |
--no-cr |
--no-c |
-n)
975 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
976 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
979 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
980 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
981 |
--oldin |
--oldi |
--old |
--ol |
--o)
982 ac_prev
=oldincludedir
;;
983 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
984 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
985 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
986 oldincludedir
=$ac_optarg ;;
988 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
990 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
993 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
994 |
--program-pre |
--program-pr |
--program-p)
995 ac_prev
=program_prefix
;;
996 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
997 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
998 program_prefix
=$ac_optarg ;;
1000 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1001 |
--program-suf |
--program-su |
--program-s)
1002 ac_prev
=program_suffix
;;
1003 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1004 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1005 program_suffix
=$ac_optarg ;;
1007 -program-transform-name |
--program-transform-name \
1008 |
--program-transform-nam |
--program-transform-na \
1009 |
--program-transform-n |
--program-transform- \
1010 |
--program-transform |
--program-transfor \
1011 |
--program-transfo |
--program-transf \
1012 |
--program-trans |
--program-tran \
1013 |
--progr-tra |
--program-tr |
--program-t)
1014 ac_prev
=program_transform_name
;;
1015 -program-transform-name=* |
--program-transform-name=* \
1016 |
--program-transform-nam=* |
--program-transform-na=* \
1017 |
--program-transform-n=* |
--program-transform-=* \
1018 |
--program-transform=* |
--program-transfor=* \
1019 |
--program-transfo=* |
--program-transf=* \
1020 |
--program-trans=* |
--program-tran=* \
1021 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1022 program_transform_name
=$ac_optarg ;;
1024 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1026 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1027 pdfdir
=$ac_optarg ;;
1029 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1031 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1034 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1035 |
-silent |
--silent |
--silen |
--sile |
--sil)
1038 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1040 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1042 sbindir
=$ac_optarg ;;
1044 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1045 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1046 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1048 ac_prev
=sharedstatedir
;;
1049 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1050 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1051 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1053 sharedstatedir
=$ac_optarg ;;
1055 -site |
--site |
--sit)
1057 -site=* |
--site=* |
--sit=*)
1060 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1062 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1063 srcdir
=$ac_optarg ;;
1065 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1066 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1067 ac_prev
=sysconfdir
;;
1068 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1069 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1070 sysconfdir
=$ac_optarg ;;
1072 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1073 ac_prev
=target_alias
;;
1074 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1075 target_alias
=$ac_optarg ;;
1077 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1080 -version |
--version |
--versio |
--versi |
--vers |
-V)
1081 ac_init_version
=: ;;
1084 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error
"invalid package name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval with_
$ac_useropt=\
$ac_optarg ;;
1099 -without-* |
--without-*)
1100 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) as_fn_error
"unrecognized option: \`$ac_option'
1134 Try \`$0 --help' for more information."
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 case $ac_envvar in #(
1141 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1142 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 as_fn_error
"missing argument to $ac_option"
1163 if test -n "$ac_unrecognized_opts"; then
1164 case $enable_option_checking in
1166 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1167 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171 # Check all directory arguments for consistency.
1172 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir
1177 eval ac_val
=\$
$ac_var
1178 # Remove trailing slashes.
1181 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1182 eval $ac_var=\
$ac_val;;
1184 # Be sure to have absolute directory names.
1186 [\\/$
]* | ?
:[\\/]* ) continue;;
1187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1189 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 as_fn_error
"working directory cannot be determined"
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 as_fn_error
"pwd does not report name of working directory"
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$as_myself" ||
1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$as_myself" : 'X\(//\)[^/]' \| \
1231 X"$as_myself" : 'X\(//\)$' \| \
1232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1233 $as_echo X"$as_myself" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1262 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1266 # When building in place, set srcdir=.
1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 # Remove unnecessary trailing slashes from srcdir.
1271 # Double slashes in file names in object file debugging info
1272 # mess up M-x gdb in Emacs.
1274 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 for ac_var
in $ac_precious_vars; do
1277 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1279 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1284 # Report the --help message.
1286 if test "$ac_init_help" = "long"; then
1287 # Omit some internal or obsolete options to make the list less imposing.
1288 # This message is too long to be a string in the A/UX 3.1 sh.
1290 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1292 Usage: $0 [OPTION]... [VAR=VALUE]...
1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1295 VAR=VALUE. See below for descriptions of some of the useful variables.
1297 Defaults for the options are specified in brackets.
1300 -h, --help display this help and exit
1301 --help=short display options specific to this package
1302 --help=recursive display the short help of all the included packages
1303 -V, --version display version information and exit
1304 -q, --quiet, --silent do not print \`checking...' messages
1305 --cache-file=FILE cache test results in FILE [disabled]
1306 -C, --config-cache alias for \`--cache-file=config.cache'
1307 -n, --no-create do not create output files
1308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1310 Installation directories:
1311 --prefix=PREFIX install architecture-independent files in PREFIX
1312 [$ac_default_prefix]
1313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 By default, \`make install' will install all the files in
1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319 for instance \`--prefix=\$HOME'.
1321 For better control, use the options below.
1323 Fine tuning of the installation directories:
1324 --bindir=DIR user executables [EPREFIX/bin]
1325 --sbindir=DIR system admin executables [EPREFIX/sbin]
1326 --libexecdir=DIR program executables [EPREFIX/libexec]
1327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1330 --libdir=DIR object code libraries [EPREFIX/lib]
1331 --includedir=DIR C header files [PREFIX/include]
1332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1335 --infodir=DIR info documentation [DATAROOTDIR/info]
1336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1337 --mandir=DIR man documentation [DATAROOTDIR/man]
1338 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1339 --htmldir=DIR html documentation [DOCDIR]
1340 --dvidir=DIR dvi documentation [DOCDIR]
1341 --pdfdir=DIR pdf documentation [DOCDIR]
1342 --psdir=DIR ps documentation [DOCDIR]
1348 --program-prefix=PREFIX prepend PREFIX to installed program names
1349 --program-suffix=SUFFIX append SUFFIX to installed program names
1350 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1353 --build=BUILD configure
for building on BUILD
[guessed
]
1354 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1355 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive
) echo "Configuration of package-unused version-unused:";;
1366 --disable-option-checking ignore unrecognized
--enable/--with options
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --enable-maintainer-mode enable make rules and dependencies not useful
1370 (and sometimes confusing
) to the casual installer
1371 --disable-dependency-tracking speeds up one-time build
1372 --enable-dependency-tracking do not reject slow dependency extractors
1373 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1374 --enable-static[=PKGS
] build static libraries
[default
=yes]
1375 --enable-fast-install[=PKGS
]
1376 optimize
for fast installation
[default
=yes]
1377 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1378 --enable-multilib build many library versions
(default
)
1381 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1382 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1383 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1384 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1386 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1387 --with-system-libunwind use installed libunwind
1389 Some influential environment variables
:
1390 CC C compiler
command
1391 CFLAGS C compiler flags
1392 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1393 nonstandard directory
<lib dir
>
1394 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1395 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1396 you have headers
in a nonstandard directory
<include dir
>
1399 Use these variables to override the choices made by
`configure' or to help
1400 it to find libraries and programs with nonstandard names/locations.
1402 Report bugs to the package provider.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir=$ac_pwd
1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir=$ac_top_build_prefix
1432 .) # We are building in place.
1434 ac_top_srcdir=$ac_top_builddir_sub
1435 ac_abs_top_srcdir=$ac_pwd ;;
1436 [\\/]* | ?:[\\/]* ) # Absolute name.
1437 ac_srcdir=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir=$srcdir
1439 ac_abs_top_srcdir=$srcdir ;;
1441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status=$?; continue; }
1448 # Check for guested configure.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status=$?; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1465 package-unused configure version-unused
1466 generated by GNU Autoconf 2.64
1468 Copyright (C) 2009 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 rm -f conftest.$ac_objext
1486 if { { ac_try="$ac_compile"
1488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1489 *) ac_try_echo
=$ac_try;;
1491 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 $as_echo "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err
; then
1496 grep -v '^ *+' conftest.err
>conftest.er1
1497 cat conftest.er1
>&5
1498 mv -f conftest.er1 conftest.err
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.
$ac_objext; then :
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.
$ac_ext >&5
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1515 } # ac_fn_c_try_compile
1517 # ac_fn_c_try_link LINENO
1518 # -----------------------
1519 # Try to link conftest.$ac_ext, and return whether this succeeded.
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 rm -f conftest.
$ac_objext conftest
$ac_exeext
1524 if { { ac_try
="$ac_link"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_link") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest$ac_exeext && {
1543 test "$cross_compiling" = yes ||
1544 $as_test_x conftest$ac_exeext
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1555 # interfere with the next link command; also delete a directory that is
1556 # left behind by Apple's compiler. We do this before executing the actions.
1557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 } # ac_fn_c_try_link
1563 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists and can be compiled using the include files in
1566 # INCLUDES, setting the cache variable VAR accordingly.
1567 ac_fn_c_check_header_compile ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; }
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1573 $as_echo_n "(cached) " >&6
1575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1576 /* end confdefs.h. */
1580 if ac_fn_c_try_compile "$LINENO"; then :
1585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592 } # ac_fn_c_check_header_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } >/dev
/null
&& {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_link"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1665 ac_retval
=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 # ac_fn_c_check_func LINENO FUNC VAR
1674 # ----------------------------------
1675 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1676 ac_fn_c_check_func
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1686 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1688 #define $2 innocuous_$2
1690 /* System header to define __stub macros and hopefully few prototypes,
1691 which can conflict with char $2 (); below.
1692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1693 <limits.h> exists even on freestanding compilers. */
1696 # include <limits.h>
1698 # include <assert.h>
1703 /* Override any GCC internal prototype to avoid an error.
1704 Use char because int might match the return type of a GCC
1705 builtin and then its argument prototype would still apply. */
1710 /* The GNU C library defines this for functions which it implements
1711 to always fail with ENOSYS. Some functions are actually named
1712 something starting with __ and the normal name is an alias. */
1713 #if defined __stub_$2 || defined __stub___$2
1725 if ac_fn_c_try_link
"$LINENO"; then :
1730 rm -f core conftest.err conftest.
$ac_objext \
1731 conftest
$ac_exeext conftest.
$ac_ext
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735 $as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1738 } # ac_fn_c_check_func
1740 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1741 # -------------------------------------------------------
1742 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1743 # the include files in INCLUDES and setting the cache variable VAR
1745 ac_fn_c_check_header_mongrel
()
1747 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1748 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1752 $as_echo_n "(cached) " >&6
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1758 # Is the header compilable?
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1760 $as_echo_n "checking $2 usability... " >&6; }
1761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1766 if ac_fn_c_try_compile
"$LINENO"; then :
1767 ac_header_compiler
=yes
1769 ac_header_compiler
=no
1771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1773 $as_echo "$ac_header_compiler" >&6; }
1775 # Is the header present?
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1777 $as_echo_n "checking $2 presence... " >&6; }
1778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1782 if ac_fn_c_try_cpp
"$LINENO"; then :
1783 ac_header_preproc
=yes
1785 ac_header_preproc
=no
1787 rm -f conftest.err conftest.
$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1789 $as_echo "$ac_header_preproc" >&6; }
1791 # So? What about this header?
1792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1795 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1797 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1801 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1803 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1805 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1807 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813 $as_echo_n "checking for $2... " >&6; }
1814 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1815 $as_echo_n "(cached) " >&6
1817 eval "$3=\$ac_header_compiler"
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1825 } # ac_fn_c_check_header_mongrel
1826 cat >config.log
<<_ACEOF
1827 This file contains any messages produced by compilers while
1828 running configure, to aid debugging if configure makes a mistake.
1830 It was created by package-unused $as_me version-unused, which was
1831 generated by GNU Autoconf 2.64. Invocation command line was
1843 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1844 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1845 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1846 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1847 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1849 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1850 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1852 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1853 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1854 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1855 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1856 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1857 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1858 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 $as_echo "PATH: $as_dir"
1883 # Keep a trace of the command line.
1884 # Strip out --no-create and --no-recursion so they do not pile up.
1885 # Strip out --silent because we don't want to record it for future runs.
1886 # Also quote any args containing shell meta-characters.
1887 # Make two passes to allow for proper duplicate-argument suppression.
1891 ac_must_keep_next
=false
1897 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1898 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1899 |
-silent |
--silent |
--silen |
--sile |
--sil)
1902 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1905 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1907 as_fn_append ac_configure_args1
" '$ac_arg'"
1908 if test $ac_must_keep_next = true
; then
1909 ac_must_keep_next
=false
# Got value, back to normal.
1912 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1913 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1914 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1915 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1916 case "$ac_configure_args0 " in
1917 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1920 -* ) ac_must_keep_next
=true
;;
1923 as_fn_append ac_configure_args
" '$ac_arg'"
1928 { ac_configure_args0
=; unset ac_configure_args0
;}
1929 { ac_configure_args1
=; unset ac_configure_args1
;}
1931 # When interrupted or exit'd, cleanup temporary files, and complete
1932 # config.log. We remove comments because anyway the quotes in there
1933 # would cause problems or look ugly.
1934 # WARNING: Use '\'' to represent an apostrophe within the trap.
1935 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1936 trap 'exit_status=$?
1937 # Save into config.log some information that might help in debugging.
1942 ## ---------------- ##
1943 ## Cache variables. ##
1944 ## ---------------- ##
1947 # The following way of writing the cache mishandles newlines in values,
1949 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1950 eval ac_val=\$$ac_var
1954 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1955 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1958 _ | IFS | as_nl) ;; #(
1959 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1960 *) { eval $ac_var=; unset $ac_var;} ;;
1965 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1966 *${as_nl}ac_space=\ *)
1968 "s/'\''/'\''\\\\'\'''\''/g;
1969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1980 ## ----------------- ##
1981 ## Output variables. ##
1982 ## ----------------- ##
1985 for ac_var in $ac_subst_vars
1987 eval ac_val=\$$ac_var
1989 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1991 $as_echo "$ac_var='\''$ac_val'\''"
1995 if test -n "$ac_subst_files"; then
1997 ## ------------------- ##
1998 ## File substitutions. ##
1999 ## ------------------- ##
2002 for ac_var
in $ac_subst_files
2004 eval ac_val
=\$
$ac_var
2006 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2008 $as_echo "$ac_var='\''$ac_val'\''"
2013 if test -s confdefs.h; then
2023 test "$ac_signal" != 0 &&
2024 $as_echo "$as_me: caught signal $ac_signal"
2025 $as_echo "$as_me: exit $exit_status"
2027 rm -f core *.core core.conftest.* &&
2028 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2031 for ac_signal
in 1 2 13 15; do
2032 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2036 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2037 rm -f -r conftest
* confdefs.h
2039 $as_echo "/* confdefs.h */" > confdefs.h
2041 # Predefined preprocessor variables.
2043 cat >>confdefs.h
<<_ACEOF
2044 #define PACKAGE_NAME "$PACKAGE_NAME"
2047 cat >>confdefs.h
<<_ACEOF
2048 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2051 cat >>confdefs.h
<<_ACEOF
2052 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2055 cat >>confdefs.h
<<_ACEOF
2056 #define PACKAGE_STRING "$PACKAGE_STRING"
2059 cat >>confdefs.h
<<_ACEOF
2060 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2063 cat >>confdefs.h
<<_ACEOF
2064 #define PACKAGE_URL "$PACKAGE_URL"
2068 # Let the site file select an alternate cache file if it wants to.
2069 # Prefer an explicitly selected file to automatically selected ones.
2072 if test -n "$CONFIG_SITE"; then
2073 ac_site_file1
=$CONFIG_SITE
2074 elif test "x$prefix" != xNONE
; then
2075 ac_site_file1
=$prefix/share
/config.site
2076 ac_site_file2
=$prefix/etc
/config.site
2078 ac_site_file1
=$ac_default_prefix/share
/config.site
2079 ac_site_file2
=$ac_default_prefix/etc
/config.site
2081 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2083 test "x$ac_site_file" = xNONE
&& continue
2084 if test -r "$ac_site_file"; then
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2086 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2087 sed 's/^/| /' "$ac_site_file" >&5
2092 if test -r "$cache_file"; then
2093 # Some versions of bash will fail to source /dev/null (special
2094 # files actually), so we avoid doing that.
2095 if test -f "$cache_file"; then
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2097 $as_echo "$as_me: loading cache $cache_file" >&6;}
2099 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2100 *) .
"./$cache_file";;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2105 $as_echo "$as_me: creating cache $cache_file" >&6;}
2109 # Check that the precious variables saved in the cache have kept the same
2111 ac_cache_corrupted
=false
2112 for ac_var
in $ac_precious_vars; do
2113 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2114 eval ac_new_set
=\
$ac_env_${ac_var}_set
2115 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2116 eval ac_new_val
=\
$ac_env_${ac_var}_value
2117 case $ac_old_set,$ac_new_set in
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2120 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2121 ac_cache_corrupted
=: ;;
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2124 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2125 ac_cache_corrupted
=: ;;
2128 if test "x$ac_old_val" != "x$ac_new_val"; then
2129 # differences in whitespace do not lead to failure.
2130 ac_old_val_w
=`echo x $ac_old_val`
2131 ac_new_val_w
=`echo x $ac_new_val`
2132 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2134 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2135 ac_cache_corrupted
=:
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2138 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2139 eval $ac_var=\
$ac_old_val
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2142 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2144 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2147 # Pass precious variables to config.status.
2148 if test "$ac_new_set" = set; then
2150 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2151 *) ac_arg
=$ac_var=$ac_new_val ;;
2153 case " $ac_configure_args " in
2154 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2155 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2159 if $ac_cache_corrupted; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2163 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2164 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2166 ## -------------------- ##
2167 ## Main body of script. ##
2168 ## -------------------- ##
2171 ac_cpp
='$CPP $CPPFLAGS'
2172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2181 ac_config_headers
="$ac_config_headers config.h"
2185 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2186 for ac_t
in install-sh
install.sh shtool
; do
2187 if test -f "$ac_dir/$ac_t"; then
2189 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2194 if test -z "$ac_aux_dir"; then
2195 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2198 # These three variables are undocumented and unsupported,
2199 # and are intended to be withdrawn in a future Autoconf release.
2200 # They can cause serious problems if a builder's source tree is in a directory
2201 # whose full name contains unusual characters.
2202 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2203 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2204 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2207 # Make sure we can run config.sub.
2208 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2209 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2212 $as_echo_n "checking build system type... " >&6; }
2213 if test "${ac_cv_build+set}" = set; then :
2214 $as_echo_n "(cached) " >&6
2216 ac_build_alias
=$build_alias
2217 test "x$ac_build_alias" = x
&&
2218 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2219 test "x$ac_build_alias" = x
&&
2220 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2221 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2222 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2226 $as_echo "$ac_cv_build" >&6; }
2227 case $ac_cv_build in
2229 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2232 ac_save_IFS
=$IFS; IFS
='-'
2238 # Remember, the first character of IFS is used to create $*,
2239 # except with old shells:
2242 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2246 $as_echo_n "checking host system type... " >&6; }
2247 if test "${ac_cv_host+set}" = set; then :
2248 $as_echo_n "(cached) " >&6
2250 if test "x$host_alias" = x
; then
2251 ac_cv_host
=$ac_cv_build
2253 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2254 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2259 $as_echo "$ac_cv_host" >&6; }
2262 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2265 ac_save_IFS
=$IFS; IFS
='-'
2271 # Remember, the first character of IFS is used to create $*,
2272 # except with old shells:
2275 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2279 $as_echo_n "checking target system type... " >&6; }
2280 if test "${ac_cv_target+set}" = set; then :
2281 $as_echo_n "(cached) " >&6
2283 if test "x$target_alias" = x
; then
2284 ac_cv_target
=$ac_cv_host
2286 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2287 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2292 $as_echo "$ac_cv_target" >&6; }
2293 case $ac_cv_target in
2295 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2297 target
=$ac_cv_target
2298 ac_save_IFS
=$IFS; IFS
='-'
2304 # Remember, the first character of IFS is used to create $*,
2305 # except with old shells:
2308 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2311 # The aliases save the names the user supplied, while $host etc.
2312 # will get canonicalized.
2313 test -n "$target_alias" &&
2314 test "$program_prefix$program_suffix$program_transform_name" = \
2316 program_prefix
=${target_alias}-
2318 target_alias
=${target_alias-$host_alias}
2320 libtool_VERSION
=1:0:0
2323 am__api_version
='1.11'
2325 # Find a good install program. We prefer a C program (faster),
2326 # so one script is as good as another. But avoid the broken or
2327 # incompatible versions:
2328 # SysV /etc/install, /usr/sbin/install
2329 # SunOS /usr/etc/install
2330 # IRIX /sbin/install
2332 # AmigaOS /C/install, which installs bootblocks on floppy discs
2333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2336 # OS/2's system install, which has a completely different semantic
2337 # ./install, which can be erroneously created by make from ./install.sh.
2338 # Reject install programs that cannot install multiple files.
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2340 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2341 if test -z "$INSTALL"; then
2342 if test "${ac_cv_path_install+set}" = set; then :
2343 $as_echo_n "(cached) " >&6
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 # Account for people who put trailing slashes in PATH elements.
2351 case $as_dir/ in #((
2352 .
/ | .
// |
/[cC
]/* | \
2353 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2354 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2357 # OSF1 and SCO ODT 3.0 have their own names for install.
2358 # Don't use installbsd from OSF since it installs stuff as root
2360 for ac_prog
in ginstall scoinst
install; do
2361 for ac_exec_ext
in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2363 if test $ac_prog = install &&
2364 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2365 # AIX install. It has an incompatible calling convention.
2367 elif test $ac_prog = install &&
2368 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2369 # program-specific install script used by HP pwplus--don't use.
2372 rm -rf conftest.one conftest.two conftest.dir
2373 echo one
> conftest.one
2374 echo two
> conftest.two
2376 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2377 test -s conftest.one
&& test -s conftest.two
&&
2378 test -s conftest.dir
/conftest.one
&&
2379 test -s conftest.dir
/conftest.two
2381 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2394 rm -rf conftest.one conftest.two conftest.dir
2397 if test "${ac_cv_path_install+set}" = set; then
2398 INSTALL
=$ac_cv_path_install
2400 # As a last resort, use the slow shell script. Don't cache a
2401 # value for INSTALL within a source directory, because that will
2402 # break other packages using the cache if that directory is
2403 # removed, or if the value is a relative name.
2404 INSTALL
=$ac_install_sh
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2408 $as_echo "$INSTALL" >&6; }
2410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2411 # It thinks the first close brace ends the variable substitution.
2412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2416 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2419 $as_echo_n "checking whether build environment is sane... " >&6; }
2422 echo timestamp
> conftest.
file
2423 # Reject unsafe characters in $srcdir or the absolute working directory
2424 # name. Accept space and tab only in the latter.
2428 *[\\\"\
#\$\&\'\`$am_lf]*)
2429 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2432 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2433 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2436 # Do `set' in a subshell so we don't clobber the current shell's
2437 # arguments. Must try -L first in case configure is actually a
2438 # symlink; some systems play weird games with the mod time of symlinks
2439 # (eg FreeBSD returns the mod time of the symlink's containing
2442 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2443 if test "$*" = "X"; then
2445 set X
`ls -t "$srcdir/configure" conftest.file`
2448 if test "$*" != "X $srcdir/configure conftest.file" \
2449 && test "$*" != "X conftest.file $srcdir/configure"; then
2451 # If neither matched, then we have a broken ls. This can happen
2452 # if, for instance, CONFIG_SHELL is bash and it inherits a
2453 # broken ls alias from the environment. This has actually
2454 # happened. Such a system could not be considered "sane".
2455 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2456 alias in your environment" "$LINENO" 5
2459 test "$2" = conftest.
file
2465 as_fn_error
"newly created file is older than distributed files!
2466 Check your system clock" "$LINENO" 5
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2469 $as_echo "yes" >&6; }
2470 test "$program_prefix" != NONE
&&
2471 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2472 # Use a double $ so make ignores it.
2473 test "$program_suffix" != NONE
&&
2474 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2475 # Double any \ or $.
2476 # By default was `s,x,x', remove it if useless.
2477 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2478 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2480 # expand $ac_aux_dir to an absolute path
2481 am_aux_dir
=`cd $ac_aux_dir && pwd`
2483 if test x
"${MISSING+set}" != xset
; then
2486 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2488 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2491 # Use eval to expand $SHELL
2492 if eval "$MISSING --run true"; then
2493 am_missing_run
="$MISSING --run "
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2497 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2500 if test x
"${install_sh}" != xset
; then
2503 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2505 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2509 # Installed binaries are usually stripped using `strip' when the user
2510 # run `make install-strip'. However `strip' might not be the right
2511 # tool to use in cross-compilation environments, therefore Automake
2512 # will honor the `STRIP' environment variable to overrule this program.
2513 if test "$cross_compiling" != no
; then
2514 if test -n "$ac_tool_prefix"; then
2515 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2516 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_STRIP+set}" = set; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$STRIP"; then
2523 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 STRIP
=$ac_cv_prog_STRIP
2543 if test -n "$STRIP"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2545 $as_echo "$STRIP" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2553 if test -z "$ac_cv_prog_STRIP"; then
2555 # Extract the first word of "strip", so it can be a program name with args.
2556 set dummy strip
; ac_word
=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$ac_ct_STRIP"; then
2563 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_ac_ct_STRIP
="strip"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2583 if test -n "$ac_ct_STRIP"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2585 $as_echo "$ac_ct_STRIP" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2591 if test "x$ac_ct_STRIP" = x
; then
2594 case $cross_compiling:$ac_tool_warned in
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2598 ac_tool_warned
=yes ;;
2603 STRIP
="$ac_cv_prog_STRIP"
2607 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2610 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2611 if test -z "$MKDIR_P"; then
2612 if test "${ac_cv_path_mkdir+set}" = set; then :
2613 $as_echo_n "(cached) " >&6
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_prog
in mkdir gmkdir
; do
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2623 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2624 'mkdir (GNU coreutils) '* | \
2625 'mkdir (coreutils) '* | \
2626 'mkdir (fileutils) '4.1*)
2627 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2637 if test "${ac_cv_path_mkdir+set}" = set; then
2638 MKDIR_P
="$ac_cv_path_mkdir -p"
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for MKDIR_P within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 test -d .
/--version && rmdir .
/--version
2645 MKDIR_P
="$ac_install_sh -d"
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2649 $as_echo "$MKDIR_P" >&6; }
2653 [\\/$
]* | ?
:[\\/]*) ;;
2654 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2657 for ac_prog
in gawk mawk nawk
awk
2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy
$ac_prog; ac_word
=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if test "${ac_cv_prog_AWK+set}" = set; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$AWK"; then
2667 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir
=.
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676 ac_cv_prog_AWK
="$ac_prog"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$AWK"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689 $as_echo "$AWK" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2696 test -n "$AWK" && break
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2702 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2704 $as_echo_n "(cached) " >&6
2706 cat >conftest.
make <<\_ACEOF
2709 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2716 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2720 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 SET_MAKE
="MAKE=${MAKE-make}"
2730 rm -rf .tst
2>/dev
/null
2731 mkdir .tst
2>/dev
/null
2732 if test -d .tst
; then
2737 rmdir .tst
2>/dev
/null
2739 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2740 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2741 # is not polluted with repeated "-I."
2742 am__isrc
=' -I$(srcdir)'
2743 # test to see if srcdir already configured
2744 if test -f $srcdir/config.status
; then
2745 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2749 # test whether we have cygpath
2750 if test -z "$CYGPATH_W"; then
2751 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2752 CYGPATH_W
='cygpath -w'
2759 # Define the identity of the package.
2760 PACKAGE
='libbacktrace'
2761 VERSION
='version-unused'
2764 # Some tools Automake needs.
2766 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2769 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2772 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2775 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2778 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2780 # We need awk for the "check" target. The system "awk" is bad on
2782 # Always define AMTAR for backward compatibility.
2784 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2786 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2795 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2796 # Check whether --enable-maintainer-mode was given.
2797 if test "${enable_maintainer_mode+set}" = set; then :
2798 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2800 USE_MAINTAINER_MODE
=no
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2804 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2805 if test $USE_MAINTAINER_MODE = yes; then
2806 MAINTAINER_MODE_TRUE
=
2807 MAINTAINER_MODE_FALSE
='#'
2809 MAINTAINER_MODE_TRUE
='#'
2810 MAINTAINER_MODE_FALSE
=
2813 MAINT
=$MAINTAINER_MODE_TRUE
2818 # Check whether --with-target-subdir was given.
2819 if test "${with_target_subdir+set}" = set; then :
2820 withval
=$with_target_subdir;
2824 # We must force CC to /not/ be precious variables; otherwise
2825 # the wrong, non-multilib-adjusted value will be used in multilibs.
2826 # As a side effect, we have to subst CFLAGS ourselves.
2830 ac_cpp
='$CPP $CPPFLAGS'
2831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2834 if test -n "$ac_tool_prefix"; then
2835 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2836 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if test "${ac_cv_prog_CC+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC
="$CC" # Let the user override the test.
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_exec_ext
in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$ac_cv_prog_CC"; then
2875 # Extract the first word of "gcc", so it can be a program name with args.
2876 set dummy gcc
; ac_word
=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$ac_ct_CC"; then
2883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_ac_ct_CC
="gcc"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2903 if test -n "$ac_ct_CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2905 $as_echo "$ac_ct_CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2911 if test "x$ac_ct_CC" = x
; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned
=yes ;;
2926 if test -z "$CC"; then
2927 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2929 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if test "${ac_cv_prog_CC+set}" = set; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC
="$CC" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2967 if test -z "$CC"; then
2968 # Extract the first word of "cc", so it can be a program name with args.
2969 set dummy cc
; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_CC+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC
="$CC" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2987 ac_prog_rejected
=yes
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test $ac_prog_rejected = yes; then
2999 # We found a bogon in the path, so make sure we never use it.
3000 set dummy
$ac_cv_prog_CC
3002 if test $# != 0; then
3003 # We chose a different compiler from the bogus one.
3004 # However, it has the same basename, so the bogon will be chosen
3005 # first if we set CC to just the basename; use the full file name.
3007 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3023 if test -z "$CC"; then
3024 if test -n "$ac_tool_prefix"; then
3025 for ac_prog
in cl.exe
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if test "${ac_cv_prog_CC+set}" = set; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3064 test -n "$CC" && break
3067 if test -z "$CC"; then
3069 for ac_prog
in cl.exe
3071 # Extract the first word of "$ac_prog", so it can be a program name with args.
3072 set dummy
$ac_prog; ac_word
=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088 ac_cv_prog_ac_ct_CC
="$ac_prog"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3099 if test -n "$ac_ct_CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3101 $as_echo "$ac_ct_CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3108 test -n "$ac_ct_CC" && break
3111 if test "x$ac_ct_CC" = x
; then
3114 case $cross_compiling:$ac_tool_warned in
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3118 ac_tool_warned
=yes ;;
3127 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error
"no acceptable C compiler found in \$PATH
3130 See \`config.log' for more details." "$LINENO" 5; }
3132 # Provide some information about the compiler.
3133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3136 for ac_option
in --version -v -V -qversion; do
3137 { { ac_try
="$ac_compiler $ac_option >&5"
3139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3146 if test -s conftest.err; then
3148 ... rest of stderr output deleted ...
3149 10q' conftest.err >conftest.er1
3150 cat conftest.er1 >&5
3151 rm -f conftest.er1 conftest.err
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3174 $as_echo_n "checking for C compiler default output file name... " >&6; }
3175 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3177 # The possible output files:
3178 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3181 for ac_file in $ac_files
3184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3190 if { { ac_try="$ac_link_default"
3192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3193 *) ac_try_echo
=$ac_try;;
3195 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link_default") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }; then :
3201 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3204 # so that the user can short-circuit this test for compilers unknown to
3206 for ac_file
in $ac_files ''
3208 test -f "$ac_file" ||
continue
3210 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3213 # We found the default executable, but exeext='' is most
3217 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3219 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 # We set ac_cv_exeext here because the later test for it is not
3222 # safe: cross compilers may not add the suffix if given an `-o'
3223 # argument, so we may need to know it at that point already.
3224 # Even if this section looks crufty: it has the advantage of
3231 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3237 $as_echo "$ac_file" >&6; }
3238 if test -z "$ac_file"; then :
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.
$ac_ext >&5
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 { as_fn_set_status
77
3245 as_fn_error
"C compiler cannot create executables
3246 See \`config.log' for more details." "$LINENO" 5; }; }
3248 ac_exeext
=$ac_cv_exeext
3250 # Check that the compiler produces executables we can run. If not, either
3251 # the compiler is broken, or we cross compile.
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3253 $as_echo_n "checking whether the C compiler works... " >&6; }
3254 # If not cross compiling, check that we can run a simple program.
3255 if test "$cross_compiling" != yes; then
3256 if { ac_try
='./$ac_file'
3257 { { case "(($ac_try" in
3258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3269 if test "$cross_compiling" = maybe; then
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error "cannot run C compiled programs.
3275 If you meant to cross compile
, use \
`--host'.
3276 See \`config.log
' for more details." "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281 $as_echo "yes" >&6; }
3283 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3284 ac_clean_files=$ac_clean_files_save
3285 # Check that the compiler produces executables we can run. If not, either
3286 # the compiler is broken, or we cross compile.
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3288 $as_echo_n "checking whether we are cross compiling... " >&6; }
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3290 $as_echo "$cross_compiling" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3293 $as_echo_n "checking for suffix of executables... " >&6; }
3294 if { { ac_try="$ac_link"
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link") 2>&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3306 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3307 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3309 for ac_file
in conftest.exe conftest conftest.
*; do
3310 test -f "$ac_file" ||
continue
3312 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3313 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3322 See \`config.log' for more details." "$LINENO" 5; }
3324 rm -f conftest
$ac_cv_exeext
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3326 $as_echo "$ac_cv_exeext" >&6; }
3328 rm -f conftest.
$ac_ext
3329 EXEEXT
=$ac_cv_exeext
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3332 $as_echo_n "checking for suffix of object files... " >&6; }
3333 if test "${ac_cv_objext+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 rm -f conftest.o conftest.obj
3348 if { { ac_try
="$ac_compile"
3350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355 (eval "$ac_compile") 2>&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }; then :
3359 for ac_file in conftest.o conftest.obj conftest.*; do
3360 test -f "$ac_file" || continue;
3362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3363 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error "cannot compute suffix of object files
: cannot compile
3374 See \
`config.log' for more details." "$LINENO" 5; }
3376 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3379 $as_echo "$ac_cv_objext" >&6; }
3380 OBJEXT=$ac_cv_objext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3384 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3385 $as_echo_n "(cached) " >&6
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3401 if ac_fn_c_try_compile "$LINENO"; then :
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3411 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3412 if test $ac_compiler_gnu = yes; then
3417 ac_test_CFLAGS=${CFLAGS+set}
3418 ac_save_CFLAGS=$CFLAGS
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3420 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3421 if test "${ac_cv_prog_cc_g+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3424 ac_save_c_werror_flag=$ac_c_werror_flag
3425 ac_c_werror_flag=yes
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 if ac_fn_c_try_compile "$LINENO"; then :
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3454 if ac_fn_c_try_compile "$LINENO"; then :
3457 ac_c_werror_flag=$ac_save_c_werror_flag
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3470 if ac_fn_c_try_compile "$LINENO"; then :
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 ac_c_werror_flag=$ac_save_c_werror_flag
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3481 $as_echo "$ac_cv_prog_cc_g" >&6; }
3482 if test "$ac_test_CFLAGS" = set; then
3483 CFLAGS=$ac_save_CFLAGS
3484 elif test $ac_cv_prog_cc_g = yes; then
3485 if test "$GCC" = yes; then
3491 if test "$GCC" = yes; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3498 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3499 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3502 ac_cv_prog_cc_c89=no
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3508 #include <sys/types.h>
3509 #include <sys/stat.h>
3510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3511 struct buf { int x; };
3512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3513 static char *e (p, i)
3519 static char *f (char * (*g) (char **, int), char **p, ...)
3524 s = g (p, va_arg (v,int));
3529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3530 function prototypes and stuff, but not '\xHH' hex character constants.
3531 These don't provoke an error unfortunately, instead are silently treated
3532 as 'x'. The following induces an error, until -std is added to get
3533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3534 array size at least. It's necessary to write '\x00'==0 to get something
3535 that's true only with -std. */
3536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3539 inside strings and character constants. */
3541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3543 int test (int i, double x);
3544 struct s1 {int (*f) (int a);};
3545 struct s2 {int (*f) (double a);};
3546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3560 CC="$ac_save_CC $ac_arg"
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_cv_prog_cc_c89=$ac_arg
3564 rm -f core conftest.err conftest.$ac_objext
3565 test "x$ac_cv_prog_cc_c89" != "xno" && break
3567 rm -f conftest.$ac_ext
3572 case "x$ac_cv_prog_cc_c89" in
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3575 $as_echo "none needed" >&6; } ;;
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3578 $as_echo "unsupported" >&6; } ;;
3580 CC="$CC $ac_cv_prog_cc_c89"
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3584 if test "x$ac_cv_prog_cc_c89" != xno; then :
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 DEPDIR="${am__leading_dot}deps"
3595 ac_config_commands="$ac_config_commands depfiles"
3598 am_make=${MAKE-make}
3599 cat > confinc << 'END'
3601 @echo this is the am__doit target
3604 # If we don't find an include directive, just comment out the code.
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3606 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3610 # First try GNU make style include.
3611 echo "include confinc" > confmf
3612 # Ignore all kinds of additional output from `make'.
3613 case `$am_make -s -f confmf 2> /dev/null` in #(
3614 *the\ am__doit\ target*)
3620 # Now try BSD make style include.
3621 if test "$am__include" = "#"; then
3622 echo '.include
"confinc"' > confmf
3623 case `$am_make -s -f confmf 2> /dev/null` in #(
3624 *the\ am__doit\ target*)
3625 am__include=.include
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3634 $as_echo "$_am_result" >&6; }
3635 rm -f confinc confmf
3637 # Check whether --enable-dependency-tracking was given.
3638 if test "${enable_dependency_tracking+set}" = set; then :
3639 enableval=$enable_dependency_tracking;
3642 if test "x$enable_dependency_tracking" != xno; then
3643 am_depcomp="$ac_aux_dir/depcomp"
3646 if test "x$enable_dependency_tracking" != xno
; then
3656 depcc
="$CC" am_compiler_list
=
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3659 $as_echo_n "checking dependency style of $depcc... " >&6; }
3660 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3664 # We make a subdir and do the tests there. Otherwise we can end up
3665 # making bogus files that we don't know about and never remove. For
3666 # instance it was reported that on HP-UX the gcc test will end up
3667 # making a dummy file named `D' -- because `-MD' means `put the output
3670 # Copy depcomp to subdir because otherwise we won't find it if we're
3671 # using a relative directory.
3672 cp "$am_depcomp" conftest.dir
3674 # We will build objects and dependencies in a subdirectory because
3675 # it helps to detect inapplicable dependency modes. For instance
3676 # both Tru64's cc and ICC support -MD to output dependencies as a
3677 # side effect of compilation, but ICC will put the dependencies in
3678 # the current directory while Tru64 will put them in the object
3682 am_cv_CC_dependencies_compiler_type
=none
3683 if test "$am_compiler_list" = ""; then
3684 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3687 case " $depcc " in #(
3688 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3691 for depmode
in $am_compiler_list; do
3692 # Setup a source with many dependencies, because some compilers
3693 # like to wrap large dependency lists on column 80 (with \), and
3694 # we should not choose a depcomp mode which is confused by this.
3696 # We need to recreate these files for each test, as the compiler may
3697 # overwrite some of them when testing with obscure command lines.
3698 # This happens at least with the AIX C compiler.
3700 for i
in 1 2 3 4 5 6; do
3701 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3702 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3703 # Solaris 8's {/usr,}/bin/sh.
3704 touch sub
/conftst
$i.h
3706 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3708 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3709 # mode. It turns out that the SunPro C++ compiler does not properly
3710 # handle `-M -o', and we need to detect this. Also, some Intel
3711 # versions had trouble with output in subdirs
3712 am__obj
=sub
/conftest.
${OBJEXT-o}
3713 am__minus_obj
="-o $am__obj"
3716 # This depmode causes a compiler race in universal mode.
3717 test "$am__universal" = false ||
continue
3720 # after this tag, mechanisms are not by side-effect, so they'll
3721 # only be used when explicitly requested
3722 if test "x$enable_dependency_tracking" = xyes
; then
3728 msvisualcpp | msvcmsys
)
3729 # This compiler won't grok `-c -o', but also, the minuso test has
3730 # not run yet. These depmodes are late enough in the game, and
3731 # so weak that their functioning should not be impacted.
3732 am__obj
=conftest.
${OBJEXT-o}
3737 if depmode
=$depmode \
3738 source=sub
/conftest.c object
=$am__obj \
3739 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3740 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3741 >/dev
/null
2>conftest.err
&&
3742 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3743 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3744 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3745 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3746 # icc doesn't choke on unknown options, it will just issue warnings
3747 # or remarks (even with -Werror). So we grep stderr for any message
3748 # that says an option was ignored or not supported.
3749 # When given -MP, icc 7.0 and 7.1 complain thusly:
3750 # icc: Command line warning: ignoring option '-M'; no argument required
3751 # The diagnosis changed in icc 8.0:
3752 # icc: Command line remark: option '-MP' not supported
3753 if (grep 'ignoring option' conftest.err ||
3754 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3755 am_cv_CC_dependencies_compiler_type
=$depmode
3764 am_cv_CC_dependencies_compiler_type
=none
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3769 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3770 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3773 test "x$enable_dependency_tracking" != xno \
3774 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3776 am__fastdepCC_FALSE
='#'
3778 am__fastdepCC_TRUE
='#'
3779 am__fastdepCC_FALSE
=
3787 if test -n "$ac_tool_prefix"; then
3788 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3789 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$RANLIB"; then
3796 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 RANLIB
=$ac_cv_prog_RANLIB
3816 if test -n "$RANLIB"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3818 $as_echo "$RANLIB" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3826 if test -z "$ac_cv_prog_RANLIB"; then
3827 ac_ct_RANLIB
=$RANLIB
3828 # Extract the first word of "ranlib", so it can be a program name with args.
3829 set dummy ranlib
; ac_word
=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 if test -n "$ac_ct_RANLIB"; then
3836 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3845 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3856 if test -n "$ac_ct_RANLIB"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3858 $as_echo "$ac_ct_RANLIB" >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3864 if test "x$ac_ct_RANLIB" = x
; then
3867 case $cross_compiling:$ac_tool_warned in
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3871 ac_tool_warned
=yes ;;
3873 RANLIB
=$ac_ct_RANLIB
3876 RANLIB
="$ac_cv_prog_RANLIB"
3880 for ac_prog
in gawk mawk nawk
awk
3882 # Extract the first word of "$ac_prog", so it can be a program name with args.
3883 set dummy
$ac_prog; ac_word
=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_AWK+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$AWK"; then
3890 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_AWK
="$ac_prog"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 if test -n "$AWK"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3912 $as_echo "$AWK" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3919 test -n "$AWK" && break
3923 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3929 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3934 macro_version
='2.2.7a'
3935 macro_revision
='1.3134'
3949 ltmain
="$ac_aux_dir/ltmain.sh"
3951 # Backslashify metacharacters that are still active within
3952 # double-quoted strings.
3953 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3955 # Same as above, but do not quote variable references.
3956 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3958 # Sed substitution to delay expansion of an escaped shell variable in a
3959 # double_quote_subst'ed string.
3960 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3962 # Sed substitution to delay expansion of an escaped single quote.
3963 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3965 # Sed substitution to avoid accidental globbing in evaled expressions
3966 no_glob_subst
='s/\*/\\\*/g'
3968 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3969 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3970 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3973 $as_echo_n "checking how to print strings... " >&6; }
3974 # Test print first, because it will be a builtin if present.
3975 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3976 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3978 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3981 # Use this function as a fallback that always works.
3982 func_fallback_echo ()
3984 eval 'cat <<_LTECHO_EOF
3988 ECHO='func_fallback_echo
'
3991 # func_echo_all arg...
3992 # Invoke $ECHO with all args, space-separated.
3999 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4000 $as_echo "printf" >&6; } ;;
4001 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4002 $as_echo "print -r" >&6; } ;;
4003 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4004 $as_echo "cat" >&6; } ;;
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4021 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4022 if test "${ac_cv_path_SED+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4025 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4026 for ac_i in 1 2 3 4 5 6 7; do
4027 ac_script="$ac_script$as_nl$ac_script"
4029 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4030 { ac_script=; unset ac_script;}
4031 if test -z "$SED"; then
4032 ac_path_SED_found=false
4033 # Loop through the user's path and
test for each of PROGNAME-LIST
4034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir
=.
4039 for ac_prog
in sed gsed
; do
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4042 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4043 # Check for GNU ac_path_SED and select it if it is found.
4044 # Check for GNU $ac_path_SED
4045 case `"$ac_path_SED" --version 2>&1` in
4047 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4050 $as_echo_n 0123456789 >"conftest.in"
4053 cat "conftest.in" "conftest.in" >"conftest.tmp"
4054 mv "conftest.tmp" "conftest.in"
4055 cp "conftest.in" "conftest.nl"
4056 $as_echo '' >> "conftest.nl"
4057 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4059 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4060 if test $ac_count -gt ${ac_path_SED_max-0}; then
4061 # Best one so far, save it but keep looking for a better one
4062 ac_cv_path_SED
="$ac_path_SED"
4063 ac_path_SED_max
=$ac_count
4065 # 10*(2^10) chars as input seems more than enough
4066 test $ac_count -gt 10 && break
4068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4071 $ac_path_SED_found && break 3
4076 if test -z "$ac_cv_path_SED"; then
4077 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4085 $as_echo "$ac_cv_path_SED" >&6; }
4086 SED
="$ac_cv_path_SED"
4089 test -z "$SED" && SED
=sed
4090 Xsed
="$SED -e 1s/^X//"
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4103 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4104 if test "${ac_cv_path_GREP+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -z "$GREP"; then
4108 ac_path_GREP_found
=false
4109 # Loop through the user's path and test for each of PROGNAME-LIST
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_prog
in grep ggrep
; do
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4118 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4119 # Check for GNU ac_path_GREP and select it if it is found.
4120 # Check for GNU $ac_path_GREP
4121 case `"$ac_path_GREP" --version 2>&1` in
4123 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4126 $as_echo_n 0123456789 >"conftest.in"
4129 cat "conftest.in" "conftest.in" >"conftest.tmp"
4130 mv "conftest.tmp" "conftest.in"
4131 cp "conftest.in" "conftest.nl"
4132 $as_echo 'GREP' >> "conftest.nl"
4133 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4134 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4135 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4136 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4137 # Best one so far, save it but keep looking for a better one
4138 ac_cv_path_GREP
="$ac_path_GREP"
4139 ac_path_GREP_max
=$ac_count
4141 # 10*(2^10) chars as input seems more than enough
4142 test $ac_count -gt 10 && break
4144 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4147 $ac_path_GREP_found && break 3
4152 if test -z "$ac_cv_path_GREP"; then
4153 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4156 ac_cv_path_GREP
=$GREP
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4161 $as_echo "$ac_cv_path_GREP" >&6; }
4162 GREP
="$ac_cv_path_GREP"
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4166 $as_echo_n "checking for egrep... " >&6; }
4167 if test "${ac_cv_path_EGREP+set}" = set; then :
4168 $as_echo_n "(cached) " >&6
4170 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4171 then ac_cv_path_EGREP
="$GREP -E"
4173 if test -z "$EGREP"; then
4174 ac_path_EGREP_found
=false
4175 # Loop through the user's path and test for each of PROGNAME-LIST
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_prog
in egrep; do
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4184 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4185 # Check for GNU ac_path_EGREP and select it if it is found.
4186 # Check for GNU $ac_path_EGREP
4187 case `"$ac_path_EGREP" --version 2>&1` in
4189 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4192 $as_echo_n 0123456789 >"conftest.in"
4195 cat "conftest.in" "conftest.in" >"conftest.tmp"
4196 mv "conftest.tmp" "conftest.in"
4197 cp "conftest.in" "conftest.nl"
4198 $as_echo 'EGREP' >> "conftest.nl"
4199 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4201 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4202 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4203 # Best one so far, save it but keep looking for a better one
4204 ac_cv_path_EGREP
="$ac_path_EGREP"
4205 ac_path_EGREP_max
=$ac_count
4207 # 10*(2^10) chars as input seems more than enough
4208 test $ac_count -gt 10 && break
4210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4213 $ac_path_EGREP_found && break 3
4218 if test -z "$ac_cv_path_EGREP"; then
4219 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4222 ac_cv_path_EGREP
=$EGREP
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4228 $as_echo "$ac_cv_path_EGREP" >&6; }
4229 EGREP
="$ac_cv_path_EGREP"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4233 $as_echo_n "checking for fgrep... " >&6; }
4234 if test "${ac_cv_path_FGREP+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4238 then ac_cv_path_FGREP
="$GREP -F"
4240 if test -z "$FGREP"; then
4241 ac_path_FGREP_found
=false
4242 # Loop through the user's path and test for each of PROGNAME-LIST
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4244 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_prog
in fgrep
; do
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4251 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4252 # Check for GNU ac_path_FGREP and select it if it is found.
4253 # Check for GNU $ac_path_FGREP
4254 case `"$ac_path_FGREP" --version 2>&1` in
4256 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4259 $as_echo_n 0123456789 >"conftest.in"
4262 cat "conftest.in" "conftest.in" >"conftest.tmp"
4263 mv "conftest.tmp" "conftest.in"
4264 cp "conftest.in" "conftest.nl"
4265 $as_echo 'FGREP' >> "conftest.nl"
4266 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4267 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4268 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4269 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4270 # Best one so far, save it but keep looking for a better one
4271 ac_cv_path_FGREP
="$ac_path_FGREP"
4272 ac_path_FGREP_max
=$ac_count
4274 # 10*(2^10) chars as input seems more than enough
4275 test $ac_count -gt 10 && break
4277 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4280 $ac_path_FGREP_found && break 3
4285 if test -z "$ac_cv_path_FGREP"; then
4286 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289 ac_cv_path_FGREP
=$FGREP
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4295 $as_echo "$ac_cv_path_FGREP" >&6; }
4296 FGREP
="$ac_cv_path_FGREP"
4299 test -z "$GREP" && GREP
=grep
4319 # Check whether --with-gnu-ld was given.
4320 if test "${with_gnu_ld+set}" = set; then :
4321 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4327 if test "$GCC" = yes; then
4328 # Check if gcc -print-prog-name=ld gives a path.
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4330 $as_echo_n "checking for ld used by $CC... " >&6; }
4333 # gcc leaves a trailing carriage return which upsets mingw
4334 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4336 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4339 # Accept absolute paths.
4341 re_direlt
='/[^/][^/]*/\.\./'
4342 # Canonicalize the pathname of ld
4343 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4344 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4345 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4347 test -z "$LD" && LD
="$ac_prog"
4350 # If it fails, then pretend we aren't using GCC.
4354 # If it is relative, then search for the first ld in PATH.
4358 elif test "$with_gnu_ld" = yes; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4360 $as_echo_n "checking for GNU ld... " >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4363 $as_echo_n "checking for non-GNU ld... " >&6; }
4365 if test "${lt_cv_path_LD+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -z "$LD"; then
4369 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4370 for ac_dir
in $PATH; do
4372 test -z "$ac_dir" && ac_dir
=.
4373 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4374 lt_cv_path_LD
="$ac_dir/$ac_prog"
4375 # Check to see if the program is GNU ld. I'd rather use --version,
4376 # but apparently some variants of GNU ld only accept -v.
4377 # Break only if it was the GNU/non-GNU ld that we prefer.
4378 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4379 *GNU
* |
*'with BFD'*)
4380 test "$with_gnu_ld" != no
&& break
4383 test "$with_gnu_ld" != yes && break
4390 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4395 if test -n "$LD"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4397 $as_echo "$LD" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4402 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4404 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4405 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4409 case `$LD -v 2>&1 </dev/null` in
4410 *GNU
* |
*'with BFD'*)
4411 lt_cv_prog_gnu_ld
=yes
4414 lt_cv_prog_gnu_ld
=no
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4419 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4420 with_gnu_ld
=$lt_cv_prog_gnu_ld
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4431 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4432 if test "${lt_cv_path_NM+set}" = set; then :
4433 $as_echo_n "(cached) " >&6
4435 if test -n "$NM"; then
4436 # Let the user override the test.
4439 lt_nm_to_check
="${ac_tool_prefix}nm"
4440 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4441 lt_nm_to_check
="$lt_nm_to_check nm"
4443 for lt_tmp_nm
in $lt_nm_to_check; do
4444 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4445 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4447 test -z "$ac_dir" && ac_dir
=.
4448 tmp_nm
="$ac_dir/$lt_tmp_nm"
4449 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4450 # Check to see if the nm accepts a BSD-compat flag.
4451 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4452 # nm: unknown option "B" ignored
4453 # Tru64's nm complains that /dev/null is an invalid object file
4454 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4455 */dev
/null
* |
*'Invalid file or object type'*)
4456 lt_cv_path_NM
="$tmp_nm -B"
4460 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4462 lt_cv_path_NM
="$tmp_nm -p"
4466 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4467 continue # so that we can try to find one that supports BSD flags
4476 : ${lt_cv_path_NM=no}
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4480 $as_echo "$lt_cv_path_NM" >&6; }
4481 if test "$lt_cv_path_NM" != "no"; then
4484 # Didn't find any BSD compatible name lister, look for dumpbin.
4485 if test -n "$DUMPBIN"; then :
4486 # Let the user override the test.
4488 if test -n "$ac_tool_prefix"; then
4489 for ac_prog
in dumpbin
"link -dump"
4491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$DUMPBIN"; then
4499 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 DUMPBIN
=$ac_cv_prog_DUMPBIN
4519 if test -n "$DUMPBIN"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4521 $as_echo "$DUMPBIN" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4528 test -n "$DUMPBIN" && break
4531 if test -z "$DUMPBIN"; then
4532 ac_ct_DUMPBIN
=$DUMPBIN
4533 for ac_prog
in dumpbin
"link -dump"
4535 # Extract the first word of "$ac_prog", so it can be a program name with args.
4536 set dummy
$ac_prog; ac_word
=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$ac_ct_DUMPBIN"; then
4543 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4563 if test -n "$ac_ct_DUMPBIN"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4565 $as_echo "$ac_ct_DUMPBIN" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4572 test -n "$ac_ct_DUMPBIN" && break
4575 if test "x$ac_ct_DUMPBIN" = x
; then
4578 case $cross_compiling:$ac_tool_warned in
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned
=yes ;;
4584 DUMPBIN
=$ac_ct_DUMPBIN
4588 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4590 DUMPBIN
="$DUMPBIN -symbols"
4598 if test "$DUMPBIN" != ":"; then
4602 test -z "$NM" && NM
=nm
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4610 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4611 if test "${lt_cv_nm_interface+set}" = set; then :
4612 $as_echo_n "(cached) " >&6
4614 lt_cv_nm_interface
="BSD nm"
4615 echo "int some_variable = 0;" > conftest.
$ac_ext
4616 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4617 (eval "$ac_compile" 2>conftest.err
)
4618 cat conftest.err
>&5
4619 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4620 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4621 cat conftest.err
>&5
4622 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4623 cat conftest.out
>&5
4624 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4625 lt_cv_nm_interface
="MS dumpbin"
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4630 $as_echo "$lt_cv_nm_interface" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4633 $as_echo_n "checking whether ln -s works... " >&6; }
4635 if test "$LN_S" = "ln -s"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4637 $as_echo "yes" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4640 $as_echo "no, using $LN_S" >&6; }
4643 # find the maximum length of command line arguments
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4645 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4646 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4654 # On DJGPP, this test can blow up pretty badly due to problems in libc
4655 # (any single argument exceeding 2000 bytes causes a buffer overrun
4656 # during glob expansion). Even if it were fixed, the result of this
4657 # check would be larger than it should be.
4658 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4662 # Under GNU Hurd, this test is not required because there is
4663 # no limit to the length of command line arguments.
4664 # Libtool will interpret -1 as no limit whatsoever
4665 lt_cv_sys_max_cmd_len
=-1;
4668 cygwin
* | mingw
* | cegcc
*)
4669 # On Win9x/ME, this test blows up -- it succeeds, but takes
4670 # about 5 minutes as the teststring grows exponentially.
4671 # Worse, since 9x/ME are not pre-emptively multitasking,
4672 # you end up with a "frozen" computer, even though with patience
4673 # the test eventually succeeds (with a max line length of 256k).
4674 # Instead, let's just punt: use the minimum linelength reported by
4675 # all of the supported platforms: 8192 (on NT/2K/XP).
4676 lt_cv_sys_max_cmd_len
=8192;
4680 # On MiNT this can take a long time and run out of memory.
4681 lt_cv_sys_max_cmd_len
=8192;
4685 # On AmigaOS with pdksh, this test takes hours, literally.
4686 # So we just punt and use a minimum line length of 8192.
4687 lt_cv_sys_max_cmd_len
=8192;
4690 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4691 # This has been around since 386BSD, at least. Likely further.
4692 if test -x /sbin
/sysctl
; then
4693 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4694 elif test -x /usr
/sbin
/sysctl
; then
4695 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4697 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4699 # And add a safety zone
4700 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4705 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4706 lt_cv_sys_max_cmd_len
=196608
4710 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4711 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4712 # nice to cause kernel panics so lets avoid the loop below.
4713 # First set a reasonable default.
4714 lt_cv_sys_max_cmd_len
=16384
4716 if test -x /sbin
/sysconfig
; then
4717 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4718 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4723 lt_cv_sys_max_cmd_len
=102400
4725 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4726 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4727 if test -n "$kargmax"; then
4728 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4730 lt_cv_sys_max_cmd_len
=32768
4734 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4735 if test -n "$lt_cv_sys_max_cmd_len"; then
4736 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4737 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4739 # Make teststring a little bigger before we do anything with it.
4740 # a 1K string should be a reasonable start.
4741 for i
in 1 2 3 4 5 6 7 8 ; do
4742 teststring
=$teststring$teststring
4744 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4745 # If test is not a shell built-in, we'll probably end up computing a
4746 # maximum length that is only half of the actual maximum length, but
4748 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4749 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4750 test $i != 17 # 1/2 MB should be enough
4753 teststring
=$teststring$teststring
4755 # Only check the string length outside the loop.
4756 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4758 # Add a significant safety factor because C++ compilers can tack on
4759 # massive amounts of additional arguments before passing them to the
4760 # linker. It appears as though 1/2 is a usable value.
4761 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4768 if test -n $lt_cv_sys_max_cmd_len ; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4770 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4773 $as_echo "none" >&6; }
4775 max_cmd_len
=$lt_cv_sys_max_cmd_len
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4787 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4788 # Try some XSI features
4791 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4793 && eval 'test $(( 1 + 1 )) -eq 2 \
4794 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4797 $as_echo "$xsi_shell" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4801 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4803 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4805 && lt_shell_append=yes
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4807 $as_echo "$lt_shell_append" >&6; }
4810 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4820 # test EBCDIC or ASCII
4821 case `echo X|tr X '\101'` in
4822 A) # ASCII based system
4823 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4824 lt_SP2NL='tr \040 \012'
4825 lt_NL2SP='tr \015\012 \040\040'
4827 *) # EBCDIC based system
4828 lt_SP2NL='tr \100 \n'
4829 lt_NL2SP='tr \r\n \100\100'
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4842 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4843 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4844 $as_echo_n "(cached
) " >&6
4846 lt_cv_ld_reload_flag='-r'
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4849 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4850 reload_flag=$lt_cv_ld_reload_flag
4851 case $reload_flag in
4853 *) reload_flag=" $reload_flag" ;;
4855 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4858 if test "$GCC" = yes; then
4859 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4861 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4876 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4878 $as_echo_n "checking
for $ac_word...
" >&6; }
4879 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4880 $as_echo_n "(cached
) " >&6
4882 if test -n "$OBJDUMP"; then
4883 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4902 OBJDUMP=$ac_cv_prog_OBJDUMP
4903 if test -n "$OBJDUMP"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4905 $as_echo "$OBJDUMP" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4908 $as_echo "no
" >&6; }
4913 if test -z "$ac_cv_prog_OBJDUMP"; then
4914 ac_ct_OBJDUMP=$OBJDUMP
4915 # Extract the first word of "objdump
", so it can be a program name with args.
4916 set dummy objdump; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4918 $as_echo_n "checking
for $ac_word...
" >&6; }
4919 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4920 $as_echo_n "(cached
) " >&6
4922 if test -n "$ac_ct_OBJDUMP"; then
4923 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4943 if test -n "$ac_ct_OBJDUMP"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4945 $as_echo "$ac_ct_OBJDUMP" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4948 $as_echo "no
" >&6; }
4951 if test "x
$ac_ct_OBJDUMP" = x; then
4954 case $cross_compiling:$ac_tool_warned in
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4957 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4958 ac_tool_warned=yes ;;
4960 OBJDUMP=$ac_ct_OBJDUMP
4963 OBJDUMP="$ac_cv_prog_OBJDUMP"
4966 test -z "$OBJDUMP" && OBJDUMP=objdump
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4977 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4978 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4979 $as_echo_n "(cached
) " >&6
4981 lt_cv_file_magic_cmd='$MAGIC_CMD'
4982 lt_cv_file_magic_test_file=
4983 lt_cv_deplibs_check_method='unknown'
4984 # Need to set the preceding variable on all platforms that support
4985 # interlibrary dependencies.
4986 # 'none' -- dependencies not supported.
4987 # `unknown' -- same as none, but documents that we really don't know.
4988 # 'pass_all' -- all dependencies passed with no checks.
4989 # 'test_compile' -- check by making test program.
4990 # 'file_magic [[regex]]' -- check by looking for files in library path
4991 # which responds to the $file_magic_cmd with a given extended regex.
4992 # If you have `file' or equivalent on your system and you're not sure
4993 # whether `pass_all' will *always* work, you probably want this one.
4997 lt_cv_deplibs_check_method=pass_all
5001 lt_cv_deplibs_check_method=pass_all
5005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5006 lt_cv_file_magic_cmd='/usr/bin/file -L'
5007 lt_cv_file_magic_test_file=/shlib/libc.so
5011 # func_win32_libid is a shell function defined in ltmain.sh
5012 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5013 lt_cv_file_magic_cmd='func_win32_libid'
5017 # Base MSYS/MinGW do not provide the 'file' command needed by
5018 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5019 # unless we find 'file', for example because we are cross-compiling.
5020 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5021 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5022 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5023 lt_cv_file_magic_cmd='func_win32_libid'
5025 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5026 lt_cv_file_magic_cmd='$OBJDUMP -f'
5031 # use the weaker test based on 'objdump'. See mingw*.
5032 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5033 lt_cv_file_magic_cmd='$OBJDUMP -f'
5036 darwin* | rhapsody*)
5037 lt_cv_deplibs_check_method=pass_all
5040 freebsd* | dragonfly*)
5041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5044 # Not sure whether the presence of OpenBSD here was a mistake.
5045 # Let's accept both of them until this is cleared up.
5046 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5047 lt_cv_file_magic_cmd=/usr/bin/file
5048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5052 lt_cv_deplibs_check_method=pass_all
5057 lt_cv_deplibs_check_method=pass_all
5061 lt_cv_deplibs_check_method=pass_all
5064 hpux10.20* | hpux11*)
5065 lt_cv_file_magic_cmd=/usr/bin/file
5068 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5069 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5072 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]'
5073 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5076 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5077 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5083 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5087 irix5* | irix6* | nonstopux*)
5089 *-32|*"-32 ") libmagic=32-bit;;
5090 *-n32|*"-n32 ") libmagic=N32;;
5091 *-64|*"-64 ") libmagic=64-bit;;
5092 *) libmagic=never-match;;
5094 lt_cv_deplibs_check_method=pass_all
5097 # This must be Linux ELF.
5098 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5099 lt_cv_deplibs_check_method=pass_all
5103 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5111 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5112 lt_cv_file_magic_cmd=/usr/bin/file
5113 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5117 lt_cv_deplibs_check_method=pass_all
5121 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5122 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5124 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5128 osf3* | osf4* | osf5*)
5129 lt_cv_deplibs_check_method=pass_all
5133 lt_cv_deplibs_check_method=pass_all
5137 lt_cv_deplibs_check_method=pass_all
5140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5141 lt_cv_deplibs_check_method=pass_all
5145 case $host_vendor in
5147 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]'
5148 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5151 lt_cv_deplibs_check_method=pass_all
5154 lt_cv_file_magic_cmd='/bin/file'
5155 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5158 lt_cv_file_magic_cmd='/bin/file'
5159 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5160 lt_cv_file_magic_test_file=/lib/libc.so
5163 lt_cv_deplibs_check_method=pass_all
5166 lt_cv_deplibs_check_method=pass_all
5172 lt_cv_deplibs_check_method=pass_all
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5178 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5179 file_magic_cmd=$lt_cv_file_magic_cmd
5180 deplibs_check_method=$lt_cv_deplibs_check_method
5181 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ar; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5198 $as_echo_n "checking
for $ac_word...
" >&6; }
5199 if test "${ac_cv_prog_AR+set}" = set; then :
5200 $as_echo_n "(cached
) " >&6
5202 if test -n "$AR"; then
5203 ac_cv_prog_AR="$AR" # Let the user override the test.
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_AR="${ac_tool_prefix}ar"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5223 if test -n "$AR"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5225 $as_echo "$AR" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5228 $as_echo "no
" >&6; }
5233 if test -z "$ac_cv_prog_AR"; then
5235 # Extract the first word of "ar", so it can be a program name with args.
5236 set dummy ar; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5238 $as_echo_n "checking
for $ac_word...
" >&6; }
5239 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5240 $as_echo_n "(cached
) " >&6
5242 if test -n "$ac_ct_AR"; then
5243 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_AR="ar"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5262 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5263 if test -n "$ac_ct_AR"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5265 $as_echo "$ac_ct_AR" >&6; }
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5268 $as_echo "no
" >&6; }
5271 if test "x
$ac_ct_AR" = x; then
5274 case $cross_compiling:$ac_tool_warned in
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5278 ac_tool_warned=yes ;;
5286 test -z "$AR" && AR=ar
5287 test -z "$AR_FLAGS" && AR_FLAGS=cru
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5301 set dummy ${ac_tool_prefix}strip; ac_word=$2
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5303 $as_echo_n "checking
for $ac_word...
" >&6; }
5304 if test "${ac_cv_prog_STRIP+set}" = set; then :
5305 $as_echo_n "(cached
) " >&6
5307 if test -n "$STRIP"; then
5308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir=.
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5317 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5327 STRIP=$ac_cv_prog_STRIP
5328 if test -n "$STRIP"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5330 $as_echo "$STRIP" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5333 $as_echo "no
" >&6; }
5338 if test -z "$ac_cv_prog_STRIP"; then
5340 # Extract the first word of "strip
", so it can be a program name with args.
5341 set dummy strip; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5343 $as_echo_n "checking
for $ac_word...
" >&6; }
5344 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5345 $as_echo_n "(cached
) " >&6
5347 if test -n "$ac_ct_STRIP"; then
5348 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_prog_ac_ct_STRIP="strip
"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5368 if test -n "$ac_ct_STRIP"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5370 $as_echo "$ac_ct_STRIP" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5373 $as_echo "no
" >&6; }
5376 if test "x
$ac_ct_STRIP" = x; then
5379 case $cross_compiling:$ac_tool_warned in
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5383 ac_tool_warned=yes ;;
5388 STRIP="$ac_cv_prog_STRIP"
5391 test -z "$STRIP" && STRIP=:
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5400 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5402 $as_echo_n "checking
for $ac_word...
" >&6; }
5403 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5404 $as_echo_n "(cached
) " >&6
5406 if test -n "$RANLIB"; then
5407 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5416 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5426 RANLIB=$ac_cv_prog_RANLIB
5427 if test -n "$RANLIB"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5429 $as_echo "$RANLIB" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5432 $as_echo "no
" >&6; }
5437 if test -z "$ac_cv_prog_RANLIB"; then
5438 ac_ct_RANLIB=$RANLIB
5439 # Extract the first word of "ranlib
", so it can be a program name with args.
5440 set dummy ranlib; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5442 $as_echo_n "checking
for $ac_word...
" >&6; }
5443 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5444 $as_echo_n "(cached
) " >&6
5446 if test -n "$ac_ct_RANLIB"; then
5447 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5456 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5466 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5467 if test -n "$ac_ct_RANLIB"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5469 $as_echo "$ac_ct_RANLIB" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5472 $as_echo "no
" >&6; }
5475 if test "x
$ac_ct_RANLIB" = x; then
5478 case $cross_compiling:$ac_tool_warned in
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5481 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5482 ac_tool_warned=yes ;;
5484 RANLIB=$ac_ct_RANLIB
5487 RANLIB="$ac_cv_prog_RANLIB"
5490 test -z "$RANLIB" && RANLIB=:
5497 # Determine commands to create old-style static archives.
5498 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5499 old_postinstall_cmds='chmod 644 $oldlib'
5500 old_postuninstall_cmds=
5502 if test -n "$RANLIB"; then
5505 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5508 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5511 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5516 lock_old_archive_extraction=yes ;;
5518 lock_old_archive_extraction=no ;;
5559 # If no C compiler was specified, use CC.
5562 # If no C compiler flags were specified, use CFLAGS.
5563 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5565 # Allow CC to be a program name with arguments.
5569 # Check for command to grab the raw symbol name followed by C symbol from nm.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5571 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5572 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5573 $as_echo_n "(cached
) " >&6
5576 # These are sane defaults that work on at least a few old systems.
5577 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5579 # Character class describing NM global symbol codes.
5580 symcode='[BCDEGRST]'
5582 # Regexp to match symbols that can be accessed directly from C.
5583 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5585 # Define system-specific variables.
5590 cygwin* | mingw* | pw32* | cegcc*)
5591 symcode='[ABCDGISTW]'
5594 if test "$host_cpu" = ia64; then
5595 symcode='[ABCDEGRST]'
5599 symcode='[BCDEGRST]'
5602 symcode='[BCDEGQRST]'
5613 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5621 # If we're using GNU nm, then use its standard symbol codes.
5622 case `$NM -V 2>&1` in
5623 *GNU* | *'with BFD'*)
5624 symcode='[ABCDGIRSTW]' ;;
5627 # Transform an extracted symbol line into a proper C declaration.
5628 # Some systems (esp. on ia64) link data and code symbols differently,
5629 # so use this general approach.
5630 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5632 # Transform an extracted symbol line into symbol name and symbol address
5633 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5634 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'"
5636 # Handle CRLF in mingw tool chain
5640 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5644 # Try without a prefix underscore, then with it.
5645 for ac_symprfx in "" "_
"; do
5647 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5648 symxfrm="\\1 $ac_symprfx\\2 \\2"
5650 # Write the raw and C identifiers.
5651 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5652 # Fake it for dumpbin and say T for any non-static function
5653 # and D for any global variable.
5654 # Also find C++ and __fastcall symbols from MSVC++,
5655 # which start with @ or ?.
5656 lt_cv_sys_global_symbol_pipe="$AWK '"\
5657 " {last_section=section; section=\$ 3};"\
5658 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5659 " \$ 0!~/External *\|/{next};"\
5660 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5661 " {if(hide[section]) next};"\
5662 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5663 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5664 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5665 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5666 " ' prfx
=^
$ac_symprfx"
5668 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5671 # Check to see that the pipe works correctly.
5675 cat > conftest.$ac_ext <<_LT_EOF
5680 void nm_test_func(void);
5681 void nm_test_func(void){}
5685 int main(){nm_test_var='a';nm_test_func();return(0);}
5688 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5689 (eval $ac_compile) 2>&5
5691 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5692 test $ac_status = 0; }; then
5693 # Now try to grab the symbols.
5695 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5696 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5698 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5699 test $ac_status = 0; } && test -s "$nlist"; then
5700 # Try sorting and uniquifying the output.
5701 if sort "$nlist" | uniq > "$nlist"T; then
5702 mv -f "$nlist"T "$nlist"
5707 # Make sure that we snagged all the symbols we need.
5708 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5709 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5710 cat <<_LT_EOF > conftest.$ac_ext
5716 # Now generate the symbol file.
5717 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5719 cat <<_LT_EOF >> conftest.$ac_ext
5721 /* The mapping between symbol names and symbols. */
5726 lt__PROGRAM__LTX_preloaded_symbols[] =
5728 { "@PROGRAM@
", (void *) 0 },
5730 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5731 cat <<\_LT_EOF >> conftest.$ac_ext
5735 /* This works around a problem in FreeBSD linker */
5736 #ifdef FREEBSD_WORKAROUND
5737 static const void *lt_preloaded_setup() {
5738 return lt__PROGRAM__LTX_preloaded_symbols;
5746 # Now try linking the two files.
5747 mv conftest.$ac_objext conftstm.$ac_objext
5748 lt_save_LIBS="$LIBS"
5749 lt_save_CFLAGS="$CFLAGS"
5750 LIBS="conftstm.
$ac_objext"
5751 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5752 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5753 (eval $ac_link) 2>&5
5755 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5756 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5759 LIBS="$lt_save_LIBS"
5760 CFLAGS="$lt_save_CFLAGS"
5762 echo "cannot
find nm_test_func
in $nlist" >&5
5765 echo "cannot
find nm_test_var
in $nlist" >&5
5768 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5771 echo "$progname: failed program was
:" >&5
5772 cat conftest.$ac_ext >&5
5774 rm -rf conftest* conftst*
5776 # Do not use the global_symbol_pipe unless it works.
5777 if test "$pipe_works" = yes; then
5780 lt_cv_sys_global_symbol_pipe=
5786 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5787 lt_cv_sys_global_symbol_to_cdecl=
5789 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5791 $as_echo "failed
" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5794 $as_echo "ok
" >&6; }
5819 # Check whether --enable-libtool-lock was given.
5820 if test "${enable_libtool_lock+set}" = set; then :
5821 enableval=$enable_libtool_lock;
5824 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5826 # Some flags need to be propagated to the compiler or linker for good
5830 # Find out which ABI we are using.
5831 echo 'int i;' > conftest.$ac_ext
5832 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5833 (eval $ac_compile) 2>&5
5835 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5836 test $ac_status = 0; }; then
5837 case `/usr/bin/file conftest.$ac_objext` in
5849 # Find out which ABI we are using.
5850 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5852 (eval $ac_compile) 2>&5
5854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5855 test $ac_status = 0; }; then
5856 if test "$lt_cv_prog_gnu_ld" = yes; then
5857 case `/usr/bin/file conftest.$ac_objext` in
5859 LD="${LD-ld} -melf32bsmip"
5862 LD="${LD-ld} -melf32bmipn32"
5865 LD="${LD-ld} -melf64bmip"
5869 case `/usr/bin/file conftest.$ac_objext` in
5885 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5886 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5887 # Find out which ABI we are using.
5888 echo 'int i;' > conftest.$ac_ext
5889 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5890 (eval $ac_compile) 2>&5
5892 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5893 test $ac_status = 0; }; then
5894 case `/usr/bin/file conftest.o` in
5897 x86_64-*kfreebsd*-gnu)
5898 LD="${LD-ld} -m elf_i386_fbsd
"
5901 case `/usr/bin/file conftest.o` in
5903 LD="${LD-ld} -m elf32_x86_64
"
5906 LD="${LD-ld} -m elf_i386
"
5910 ppc64-*linux*|powerpc64-*linux*)
5911 LD="${LD-ld} -m elf32ppclinux
"
5914 LD="${LD-ld} -m elf_s390
"
5917 LD="${LD-ld} -m elf32_sparc
"
5923 x86_64-*kfreebsd*-gnu)
5924 LD="${LD-ld} -m elf_x86_64_fbsd
"
5927 LD="${LD-ld} -m elf_x86_64
"
5929 ppc*-*linux*|powerpc*-*linux*)
5930 LD="${LD-ld} -m elf64ppc
"
5932 s390*-*linux*|s390*-*tpf*)
5933 LD="${LD-ld} -m elf64_s390
"
5936 LD="${LD-ld} -m elf64_sparc
"
5946 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5947 SAVE_CFLAGS="$CFLAGS"
5948 CFLAGS="$CFLAGS -belf"
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5950 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5951 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5952 $as_echo_n "(cached
) " >&6
5955 ac_cpp='$CPP $CPPFLAGS'
5956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5971 if ac_fn_c_try_link "$LINENO"; then :
5972 lt_cv_cc_needs_belf=yes
5974 lt_cv_cc_needs_belf=no
5976 rm -f core conftest.err conftest.$ac_objext \
5977 conftest$ac_exeext conftest.$ac_ext
5979 ac_cpp='$CPP $CPPFLAGS'
5980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5986 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5987 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5988 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5989 CFLAGS="$SAVE_CFLAGS"
5993 # Find out which ABI we are using.
5994 echo 'int i;' > conftest.$ac_ext
5995 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5996 (eval $ac_compile) 2>&5
5998 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5999 test $ac_status = 0; }; then
6000 case `/usr/bin/file conftest.o` in
6002 case $lt_cv_prog_gnu_ld in
6003 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6005 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6017 need_locks="$enable_libtool_lock"
6021 rhapsody* | darwin*)
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6026 $as_echo_n "checking
for $ac_word...
" >&6; }
6027 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6028 $as_echo_n "(cached
) " >&6
6030 if test -n "$DSYMUTIL"; then
6031 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6050 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6051 if test -n "$DSYMUTIL"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6053 $as_echo "$DSYMUTIL" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6056 $as_echo "no
" >&6; }
6061 if test -z "$ac_cv_prog_DSYMUTIL"; then
6062 ac_ct_DSYMUTIL=$DSYMUTIL
6063 # Extract the first word of "dsymutil
", so it can be a program name with args.
6064 set dummy dsymutil; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6066 $as_echo_n "checking
for $ac_word...
" >&6; }
6067 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6068 $as_echo_n "(cached
) " >&6
6070 if test -n "$ac_ct_DSYMUTIL"; then
6071 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6090 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6091 if test -n "$ac_ct_DSYMUTIL"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6093 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6096 $as_echo "no
" >&6; }
6099 if test "x
$ac_ct_DSYMUTIL" = x; then
6102 case $cross_compiling:$ac_tool_warned in
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6105 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6106 ac_tool_warned=yes ;;
6108 DSYMUTIL=$ac_ct_DSYMUTIL
6111 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6114 if test -n "$ac_tool_prefix"; then
6115 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6116 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6118 $as_echo_n "checking
for $ac_word...
" >&6; }
6119 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6120 $as_echo_n "(cached
) " >&6
6122 if test -n "$NMEDIT"; then
6123 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6132 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6142 NMEDIT=$ac_cv_prog_NMEDIT
6143 if test -n "$NMEDIT"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6145 $as_echo "$NMEDIT" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6148 $as_echo "no
" >&6; }
6153 if test -z "$ac_cv_prog_NMEDIT"; then
6154 ac_ct_NMEDIT=$NMEDIT
6155 # Extract the first word of "nmedit
", so it can be a program name with args.
6156 set dummy nmedit; ac_word=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6158 $as_echo_n "checking
for $ac_word...
" >&6; }
6159 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6160 $as_echo_n "(cached
) " >&6
6162 if test -n "$ac_ct_NMEDIT"; then
6163 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6182 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6183 if test -n "$ac_ct_NMEDIT"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6185 $as_echo "$ac_ct_NMEDIT" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6188 $as_echo "no
" >&6; }
6191 if test "x
$ac_ct_NMEDIT" = x; then
6194 case $cross_compiling:$ac_tool_warned in
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6197 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6198 ac_tool_warned=yes ;;
6200 NMEDIT=$ac_ct_NMEDIT
6203 NMEDIT="$ac_cv_prog_NMEDIT"
6206 if test -n "$ac_tool_prefix"; then
6207 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6208 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6210 $as_echo_n "checking
for $ac_word...
" >&6; }
6211 if test "${ac_cv_prog_LIPO+set}" = set; then :
6212 $as_echo_n "(cached
) " >&6
6214 if test -n "$LIPO"; then
6215 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 test -z "$as_dir" && as_dir=.
6222 for ac_exec_ext in '' $ac_executable_extensions; do
6223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6224 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6234 LIPO=$ac_cv_prog_LIPO
6235 if test -n "$LIPO"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6237 $as_echo "$LIPO" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6240 $as_echo "no
" >&6; }
6245 if test -z "$ac_cv_prog_LIPO"; then
6247 # Extract the first word of "lipo
", so it can be a program name with args.
6248 set dummy lipo; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6250 $as_echo_n "checking
for $ac_word...
" >&6; }
6251 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6252 $as_echo_n "(cached
) " >&6
6254 if test -n "$ac_ct_LIPO"; then
6255 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_ac_ct_LIPO="lipo
"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6275 if test -n "$ac_ct_LIPO"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6277 $as_echo "$ac_ct_LIPO" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6280 $as_echo "no
" >&6; }
6283 if test "x
$ac_ct_LIPO" = x; then
6286 case $cross_compiling:$ac_tool_warned in
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6289 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6290 ac_tool_warned=yes ;;
6295 LIPO="$ac_cv_prog_LIPO"
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}otool; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6302 $as_echo_n "checking
for $ac_word...
" >&6; }
6303 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6304 $as_echo_n "(cached
) " >&6
6306 if test -n "$OTOOL"; then
6307 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6326 OTOOL=$ac_cv_prog_OTOOL
6327 if test -n "$OTOOL"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6329 $as_echo "$OTOOL" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6332 $as_echo "no
" >&6; }
6337 if test -z "$ac_cv_prog_OTOOL"; then
6339 # Extract the first word of "otool
", so it can be a program name with args.
6340 set dummy otool; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6342 $as_echo_n "checking
for $ac_word...
" >&6; }
6343 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6344 $as_echo_n "(cached
) " >&6
6346 if test -n "$ac_ct_OTOOL"; then
6347 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_ac_ct_OTOOL="otool
"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6366 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6367 if test -n "$ac_ct_OTOOL"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6369 $as_echo "$ac_ct_OTOOL" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6372 $as_echo "no
" >&6; }
6375 if test "x
$ac_ct_OTOOL" = x; then
6378 case $cross_compiling:$ac_tool_warned in
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6381 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6382 ac_tool_warned=yes ;;
6387 OTOOL="$ac_cv_prog_OTOOL"
6390 if test -n "$ac_tool_prefix"; then
6391 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6392 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6394 $as_echo_n "checking
for $ac_word...
" >&6; }
6395 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6396 $as_echo_n "(cached
) " >&6
6398 if test -n "$OTOOL64"; then
6399 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6418 OTOOL64=$ac_cv_prog_OTOOL64
6419 if test -n "$OTOOL64"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6421 $as_echo "$OTOOL64" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6424 $as_echo "no
" >&6; }
6429 if test -z "$ac_cv_prog_OTOOL64"; then
6430 ac_ct_OTOOL64=$OTOOL64
6431 # Extract the first word of "otool64
", so it can be a program name with args.
6432 set dummy otool64; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6434 $as_echo_n "checking
for $ac_word...
" >&6; }
6435 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6436 $as_echo_n "(cached
) " >&6
6438 if test -n "$ac_ct_OTOOL64"; then
6439 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6448 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6458 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6459 if test -n "$ac_ct_OTOOL64"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6461 $as_echo "$ac_ct_OTOOL64" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6464 $as_echo "no
" >&6; }
6467 if test "x
$ac_ct_OTOOL64" = x; then
6470 case $cross_compiling:$ac_tool_warned in
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6473 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6474 ac_tool_warned=yes ;;
6476 OTOOL64=$ac_ct_OTOOL64
6479 OTOOL64="$ac_cv_prog_OTOOL64"
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6509 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6510 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6511 $as_echo_n "(cached
) " >&6
6513 lt_cv_apple_cc_single_mod=no
6514 if test -z "${LT_MULTI_MODULE}"; then
6515 # By default we will add the -single_module flag. You can override
6516 # by either setting the environment variable LT_MULTI_MODULE
6517 # non-empty at configure time, or by adding -multi_module to the
6519 rm -rf libconftest.dylib*
6520 echo "int foo
(void
){return 1;}" > conftest.c
6521 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6522 -dynamiclib -Wl,-single_module conftest.c
" >&5
6523 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6524 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6526 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6527 lt_cv_apple_cc_single_mod=yes
6529 cat conftest.err >&5
6531 rm -rf libconftest.dylib*
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6536 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6538 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6539 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6540 $as_echo_n "(cached
) " >&6
6542 lt_cv_ld_exported_symbols_list=no
6543 save_LDFLAGS=$LDFLAGS
6544 echo "_main
" > conftest.sym
6545 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h. */
6557 if ac_fn_c_try_link "$LINENO"; then :
6558 lt_cv_ld_exported_symbols_list=yes
6560 lt_cv_ld_exported_symbols_list=no
6562 rm -f core conftest.err conftest.$ac_objext \
6563 conftest$ac_exeext conftest.$ac_ext
6564 LDFLAGS="$save_LDFLAGS"
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6568 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6570 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6571 if test "${lt_cv_ld_force_load+set}" = set; then :
6572 $as_echo_n "(cached
) " >&6
6574 lt_cv_ld_force_load=no
6575 cat > conftest.c << _LT_EOF
6576 int forced_loaded() { return 2;}
6578 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6579 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6580 echo "$AR cru libconftest.a conftest.o
" >&5
6581 $AR cru libconftest.a conftest.o 2>&5
6582 cat > conftest.c << _LT_EOF
6583 int main() { return 0;}
6585 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6586 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6588 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6589 lt_cv_ld_force_load=yes
6591 cat conftest.err >&5
6593 rm -f conftest.err libconftest.a conftest conftest.c
6594 rm -rf conftest.dSYM
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6598 $as_echo "$lt_cv_ld_force_load" >&6; }
6600 rhapsody* | darwin1.[012])
6601 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6603 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6604 darwin*) # darwin 5.x on
6605 # if running on 10.5 or later, the deployment target defaults
6606 # to the OS version, if on x86, and 10.4, the deployment
6607 # target defaults to 10.4. Don't you love it?
6608 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6609 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6610 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6612 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6614 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6618 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6619 _lt_dar_single_mod='$single_module'
6621 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6622 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6624 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6626 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6627 _lt_dsymutil='~$DSYMUTIL $lib || :'
6635 ac_cpp='$CPP $CPPFLAGS'
6636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6640 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6641 # On Suns, sometimes $CPP names a directory.
6642 if test -n "$CPP" && test -d "$CPP"; then
6645 if test -z "$CPP"; then
6646 if test "${ac_cv_prog_CPP+set}" = set; then :
6647 $as_echo_n "(cached
) " >&6
6649 # Double quotes because CPP needs to be expanded
6650 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6653 for ac_c_preproc_warn_flag in '' yes
6655 # Use a header file that comes with gcc, so configuring glibc
6656 # with a fresh cross-compiler works.
6657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6658 # <limits.h> exists even on freestanding compilers.
6659 # On the NeXT, cc -E runs the code through the compiler's parser,
6660 # not just through cpp. "Syntax error
" is here to catch this case.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6664 # include <limits.h>
6666 # include <assert.h>
6670 if ac_fn_c_try_cpp "$LINENO"; then :
6673 # Broken: fails on valid input.
6676 rm -f conftest.err conftest.$ac_ext
6678 # OK, works on sane cases. Now check whether nonexistent headers
6679 # can be detected and how.
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <ac_nonexistent.h>
6684 if ac_fn_c_try_cpp "$LINENO"; then :
6685 # Broken: success on invalid input.
6688 # Passes both tests.
6692 rm -f conftest.err conftest.$ac_ext
6695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6696 rm -f conftest.err conftest.$ac_ext
6697 if $ac_preproc_ok; then :
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6710 $as_echo "$CPP" >&6; }
6712 for ac_c_preproc_warn_flag in '' yes
6714 # Use a header file that comes with gcc, so configuring glibc
6715 # with a fresh cross-compiler works.
6716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6717 # <limits.h> exists even on freestanding compilers.
6718 # On the NeXT, cc -E runs the code through the compiler's parser,
6719 # not just through cpp. "Syntax error
" is here to catch this case.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6723 # include <limits.h>
6725 # include <assert.h>
6729 if ac_fn_c_try_cpp "$LINENO"; then :
6732 # Broken: fails on valid input.
6735 rm -f conftest.err conftest.$ac_ext
6737 # OK, works on sane cases. Now check whether nonexistent headers
6738 # can be detected and how.
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 #include <ac_nonexistent.h>
6743 if ac_fn_c_try_cpp "$LINENO"; then :
6744 # Broken: success on invalid input.
6747 # Passes both tests.
6751 rm -f conftest.err conftest.$ac_ext
6754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6755 rm -f conftest.err conftest.$ac_ext
6756 if $ac_preproc_ok; then :
6759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6761 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6762 See \`config.log' for more details.
" "$LINENO" 5; }
6766 ac_cpp='$CPP $CPPFLAGS'
6767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6773 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6774 if test "${ac_cv_header_stdc+set}" = set; then :
6775 $as_echo_n "(cached
) " >&6
6777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6778 /* end confdefs.h. */
6792 if ac_fn_c_try_compile "$LINENO"; then :
6793 ac_cv_header_stdc=yes
6795 ac_cv_header_stdc=no
6797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6799 if test $ac_cv_header_stdc = yes; then
6800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6806 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6807 $EGREP "memchr
" >/dev/null 2>&1; then :
6810 ac_cv_header_stdc=no
6816 if test $ac_cv_header_stdc = yes; then
6817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6823 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6824 $EGREP "free
" >/dev/null 2>&1; then :
6827 ac_cv_header_stdc=no
6833 if test $ac_cv_header_stdc = yes; then
6834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6835 if test "$cross_compiling" = yes; then :
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6842 #if ((' ' & 0x0FF) == 0x020)
6843 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6844 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6846 # define ISLOWER(c) \
6847 (('a' <= (c) && (c) <= 'i') \
6848 || ('j' <= (c) && (c) <= 'r') \
6849 || ('s' <= (c) && (c) <= 'z'))
6850 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6853 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6858 for (i = 0; i < 256; i++)
6859 if (XOR (islower (i), ISLOWER (i))
6860 || toupper (i) != TOUPPER (i))
6865 if ac_fn_c_try_run "$LINENO"; then :
6868 ac_cv_header_stdc=no
6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6871 conftest.$ac_objext conftest.beam conftest.$ac_ext
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6877 $as_echo "$ac_cv_header_stdc" >&6; }
6878 if test $ac_cv_header_stdc = yes; then
6880 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6884 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6885 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6886 inttypes.h stdint.h unistd.h
6888 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6889 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6891 eval as_val
=\$
$as_ac_Header
6892 if test "x$as_val" = x
""yes; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6902 for ac_header
in dlfcn.h
6904 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6906 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HAVE_DLFCN_H 1
6920 # Check whether --enable-shared was given.
6921 if test "${enable_shared+set}" = set; then :
6922 enableval
=$enable_shared; p
=${PACKAGE-default}
6924 yes) enable_shared
=yes ;;
6925 no
) enable_shared
=no
;;
6928 # Look at the argument we got. We use all the common list separators.
6929 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6930 for pkg
in $enableval; do
6932 if test "X$pkg" = "X$p"; then
6959 # Check whether --enable-static was given.
6960 if test "${enable_static+set}" = set; then :
6961 enableval
=$enable_static; p
=${PACKAGE-default}
6963 yes) enable_static
=yes ;;
6964 no
) enable_static
=no
;;
6967 # Look at the argument we got. We use all the common list separators.
6968 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6969 for pkg
in $enableval; do
6971 if test "X$pkg" = "X$p"; then
6991 # Check whether --with-pic was given.
6992 if test "${with_pic+set}" = set; then :
6993 withval
=$with_pic; pic_mode
="$withval"
6999 test -z "$pic_mode" && pic_mode
=default
7007 # Check whether --enable-fast-install was given.
7008 if test "${enable_fast_install+set}" = set; then :
7009 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7011 yes) enable_fast_install
=yes ;;
7012 no
) enable_fast_install
=no
;;
7014 enable_fast_install
=no
7015 # Look at the argument we got. We use all the common list separators.
7016 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7017 for pkg
in $enableval; do
7019 if test "X$pkg" = "X$p"; then
7020 enable_fast_install
=yes
7027 enable_fast_install
=yes
7040 # This can be used to rebuild libtool when needed
7041 LIBTOOL_DEPS
="$ltmain"
7043 # Always use our own libtool.
7044 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7071 test -z "$LN_S" && LN_S
="ln -s"
7086 if test -n "${ZSH_VERSION+set}" ; then
7087 setopt NO_GLOB_SUBST
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7091 $as_echo_n "checking for objdir... " >&6; }
7092 if test "${lt_cv_objdir+set}" = set; then :
7093 $as_echo_n "(cached) " >&6
7095 rm -f .libs
2>/dev
/null
7096 mkdir .libs
2>/dev
/null
7097 if test -d .libs
; then
7100 # MS-DOS does not allow filenames that begin with a dot.
7103 rmdir .libs
2>/dev
/null
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7106 $as_echo "$lt_cv_objdir" >&6; }
7107 objdir
=$lt_cv_objdir
7113 cat >>confdefs.h
<<_ACEOF
7114 #define LT_OBJDIR "$lt_cv_objdir/"
7122 # AIX sometimes has problems with the GCC collect2 program. For some
7123 # reason, if we set the COLLECT_NAMES environment variable, the problems
7124 # vanish in a puff of smoke.
7125 if test "X${COLLECT_NAMES+set}" != Xset
; then
7127 export COLLECT_NAMES
7134 can_build_shared
=yes
7136 # All known linkers require a `.a' archive for static linking (except MSVC,
7137 # which needs '.lib').
7140 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7143 old_CFLAGS
="$CFLAGS"
7145 # Set sane defaults for various variables
7146 test -z "$CC" && CC
=cc
7147 test -z "$LTCC" && LTCC
=$CC
7148 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7149 test -z "$LD" && LD
=ld
7150 test -z "$ac_objext" && ac_objext
=o
7152 for cc_temp
in $compiler""; do
7154 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7155 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7160 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7163 # Only perform the check for file, if the check method requires it
7164 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7165 case $deplibs_check_method in
7167 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7169 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7170 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7171 $as_echo_n "(cached) " >&6
7175 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7178 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7179 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7180 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7181 for ac_dir
in $ac_dummy; do
7183 test -z "$ac_dir" && ac_dir
=.
7184 if test -f $ac_dir/${ac_tool_prefix}file; then
7185 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7186 if test -n "$file_magic_test_file"; then
7187 case $deplibs_check_method in
7189 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7190 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7191 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7192 $EGREP "$file_magic_regex" > /dev
/null
; then
7197 *** Warning: the command libtool uses to detect shared libraries,
7198 *** $file_magic_cmd, produces output that libtool cannot recognize.
7199 *** The result is that libtool may fail to recognize shared libraries
7200 *** as such. This will affect the creation of libtool libraries that
7201 *** depend on shared libraries, but programs linked with such libtool
7202 *** libraries will work regardless of this problem. Nevertheless, you
7203 *** may want to report the problem to your system manager and/or to
7204 *** bug-libtool@gnu.org
7214 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7219 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7220 if test -n "$MAGIC_CMD"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7222 $as_echo "$MAGIC_CMD" >&6; }
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7232 if test -z "$lt_cv_path_MAGIC_CMD"; then
7233 if test -n "$ac_tool_prefix"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7235 $as_echo_n "checking for file... " >&6; }
7236 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7237 $as_echo_n "(cached) " >&6
7241 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7244 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7245 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7246 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7247 for ac_dir
in $ac_dummy; do
7249 test -z "$ac_dir" && ac_dir
=.
7250 if test -f $ac_dir/file; then
7251 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7252 if test -n "$file_magic_test_file"; then
7253 case $deplibs_check_method in
7255 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7256 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7257 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7258 $EGREP "$file_magic_regex" > /dev
/null
; then
7263 *** Warning: the command libtool uses to detect shared libraries,
7264 *** $file_magic_cmd, produces output that libtool cannot recognize.
7265 *** The result is that libtool may fail to recognize shared libraries
7266 *** as such. This will affect the creation of libtool libraries that
7267 *** depend on shared libraries, but programs linked with such libtool
7268 *** libraries will work regardless of this problem. Nevertheless, you
7269 *** may want to report the problem to your system manager and/or to
7270 *** bug-libtool@gnu.org
7280 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7285 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7286 if test -n "$MAGIC_CMD"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7288 $as_echo "$MAGIC_CMD" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7304 # Use C for the default configuration in the libtool script
7308 ac_cpp
='$CPP $CPPFLAGS'
7309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7314 # Source file extension for C test sources.
7317 # Object file extension for compiled C test sources.
7321 # Code to be used in simple compile tests
7322 lt_simple_compile_test_code
="int some_variable = 0;"
7324 # Code to be used in simple link tests
7325 lt_simple_link_test_code
='int main(){return(0);}'
7333 # If no C compiler was specified, use CC.
7336 # If no C compiler flags were specified, use CFLAGS.
7337 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7339 # Allow CC to be a program name with arguments.
7342 # Save the default compiler, since it gets overwritten when the other
7343 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7344 compiler_DEFAULT
=$CC
7346 # save warnings/boilerplate of simple test code
7347 ac_outfile
=conftest.
$ac_objext
7348 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7349 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7350 _lt_compiler_boilerplate
=`cat conftest.err`
7353 ac_outfile
=conftest.
$ac_objext
7354 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7355 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7356 _lt_linker_boilerplate
=`cat conftest.err`
7361 ## There is no encapsulation within the following macros, do not change
7362 ## the running order or otherwise move them around unless you know exactly
7363 ## what you are doing...
7364 if test -n "$compiler"; then
7366 lt_prog_compiler_no_builtin_flag
=
7368 if test "$GCC" = yes; then
7369 case $cc_basename in
7371 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7373 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7377 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7378 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7379 $as_echo_n "(cached) " >&6
7381 lt_cv_prog_compiler_rtti_exceptions
=no
7382 ac_outfile
=conftest.
$ac_objext
7383 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7384 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7385 # Insert the option either (1) after the last *FLAGS variable, or
7386 # (2) before a word containing "conftest.", or (3) at the end.
7387 # Note that $ac_compile itself does not contain backslashes and begins
7388 # with a dollar sign (not a hyphen), so the echo should work correctly.
7389 # The option is referenced via a variable to avoid confusing sed.
7390 lt_compile
=`echo "$ac_compile" | $SED \
7391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7393 -e 's:$: $lt_compiler_flag:'`
7394 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7395 (eval "$lt_compile" 2>conftest.err
)
7397 cat conftest.err
>&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 if (exit $ac_status) && test -s "$ac_outfile"; then
7400 # The compiler can only warn and ignore the option if not recognized
7401 # So say no if there are warnings other than the usual output.
7402 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7403 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7404 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7405 lt_cv_prog_compiler_rtti_exceptions
=yes
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7412 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7414 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7415 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7427 lt_prog_compiler_wl
=
7428 lt_prog_compiler_pic
=
7429 lt_prog_compiler_static
=
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7432 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7434 if test "$GCC" = yes; then
7435 lt_prog_compiler_wl
='-Wl,'
7436 lt_prog_compiler_static
='-static'
7440 # All AIX code is PIC.
7441 if test "$host_cpu" = ia64
; then
7442 # AIX 5 now supports IA64 processor
7443 lt_prog_compiler_static
='-Bstatic'
7450 # see comment about AmigaOS4 .so support
7451 lt_prog_compiler_pic
='-fPIC'
7454 # FIXME: we need at least 68020 code to build shared libraries, but
7455 # adding the `-m68020' flag to GCC prevents building anything better,
7457 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7462 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7463 # PIC is the default for these OSes.
7466 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7467 # This hack is so that the source file can tell whether it is being
7468 # built for inclusion in a dll (and should export symbols for example).
7469 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7470 # (--disable-auto-import) libraries
7471 lt_prog_compiler_pic
='-DDLL_EXPORT'
7474 darwin
* | rhapsody
*)
7475 # PIC is the default on this platform
7476 # Common symbols not allowed in MH_DYLIB files
7477 lt_prog_compiler_pic
='-fno-common'
7481 # PIC is the default for Haiku.
7482 # The "-static" flag exists, but is broken.
7483 lt_prog_compiler_static
=
7487 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7488 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7489 # sets the default TLS model and affects inlining.
7495 lt_prog_compiler_pic
='-fPIC'
7501 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7502 # Instead, we relocate shared libraries at runtime.
7506 # Just because we use GCC doesn't mean we suddenly get shared libraries
7507 # on systems that don't support them.
7508 lt_prog_compiler_can_build_shared
=no
7513 # QNX uses GNU C++, but need to define -shared option too, otherwise
7515 lt_prog_compiler_pic
='-fPIC -shared'
7519 if test -d /usr
/nec
; then
7520 lt_prog_compiler_pic
=-Kconform_pic
7525 lt_prog_compiler_pic
='-fPIC'
7529 case $cc_basename in
7530 nvcc
*) # Cuda Compiler Driver 2.2
7531 lt_prog_compiler_wl
='-Xlinker '
7532 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7536 # PORTME Check for flag to pass linker flags through the system compiler.
7539 lt_prog_compiler_wl
='-Wl,'
7540 if test "$host_cpu" = ia64
; then
7541 # AIX 5 now supports IA64 processor
7542 lt_prog_compiler_static
='-Bstatic'
7544 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7548 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7549 # This hack is so that the source file can tell whether it is being
7550 # built for inclusion in a dll (and should export symbols for example).
7551 lt_prog_compiler_pic
='-DDLL_EXPORT'
7554 hpux9
* | hpux10
* | hpux11
*)
7555 lt_prog_compiler_wl
='-Wl,'
7556 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7563 lt_prog_compiler_pic
='+Z'
7566 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7567 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7570 irix5
* | irix6
* | nonstopux
*)
7571 lt_prog_compiler_wl
='-Wl,'
7572 # PIC (with -KPIC) is the default.
7573 lt_prog_compiler_static
='-non_shared'
7576 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7577 case $cc_basename in
7578 # old Intel for x86_64 which still supported -KPIC.
7580 lt_prog_compiler_wl
='-Wl,'
7581 lt_prog_compiler_pic
='-KPIC'
7582 lt_prog_compiler_static
='-static'
7584 # icc used to be incompatible with GCC.
7585 # ICC 10 doesn't accept -KPIC any more.
7587 lt_prog_compiler_wl
='-Wl,'
7588 lt_prog_compiler_pic
='-fPIC'
7589 lt_prog_compiler_static
='-static'
7591 # Lahey Fortran 8.1.
7593 lt_prog_compiler_wl
='-Wl,'
7594 lt_prog_compiler_pic
='--shared'
7595 lt_prog_compiler_static
='--static'
7597 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7598 # Portland Group compilers (*not* the Pentium gcc compiler,
7599 # which looks to be a dead project)
7600 lt_prog_compiler_wl
='-Wl,'
7601 lt_prog_compiler_pic
='-fpic'
7602 lt_prog_compiler_static
='-Bstatic'
7605 lt_prog_compiler_wl
='-Wl,'
7606 # All Alpha code is PIC.
7607 lt_prog_compiler_static
='-non_shared'
7609 xl
* | bgxl
* | bgf
* | mpixl
*)
7610 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7611 lt_prog_compiler_wl
='-Wl,'
7612 lt_prog_compiler_pic
='-qpic'
7613 lt_prog_compiler_static
='-qstaticlink'
7616 case `$CC -V 2>&1 | sed 5q` in
7617 *Sun\ F
* |
*Sun
*Fortran
*)
7618 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7619 lt_prog_compiler_pic
='-KPIC'
7620 lt_prog_compiler_static
='-Bstatic'
7621 lt_prog_compiler_wl
=''
7625 lt_prog_compiler_pic
='-KPIC'
7626 lt_prog_compiler_static
='-Bstatic'
7627 lt_prog_compiler_wl
='-Wl,'
7635 lt_prog_compiler_pic
='-KPIC'
7636 lt_prog_compiler_static
='-Bstatic'
7640 # QNX uses GNU C++, but need to define -shared option too, otherwise
7642 lt_prog_compiler_pic
='-fPIC -shared'
7645 osf3
* | osf4
* | osf5
*)
7646 lt_prog_compiler_wl
='-Wl,'
7647 # All OSF/1 code is PIC.
7648 lt_prog_compiler_static
='-non_shared'
7652 lt_prog_compiler_static
='-non_shared'
7656 lt_prog_compiler_pic
='-KPIC'
7657 lt_prog_compiler_static
='-Bstatic'
7658 case $cc_basename in
7660 lt_prog_compiler_wl
='-Qoption ld ';;
7662 lt_prog_compiler_wl
='-Wl,';;
7667 lt_prog_compiler_wl
='-Qoption ld '
7668 lt_prog_compiler_pic
='-PIC'
7669 lt_prog_compiler_static
='-Bstatic'
7672 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7673 lt_prog_compiler_wl
='-Wl,'
7674 lt_prog_compiler_pic
='-KPIC'
7675 lt_prog_compiler_static
='-Bstatic'
7679 if test -d /usr
/nec
;then
7680 lt_prog_compiler_pic
='-Kconform_pic'
7681 lt_prog_compiler_static
='-Bstatic'
7685 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7686 lt_prog_compiler_wl
='-Wl,'
7687 lt_prog_compiler_pic
='-KPIC'
7688 lt_prog_compiler_static
='-Bstatic'
7692 lt_prog_compiler_wl
='-Wl,'
7693 lt_prog_compiler_can_build_shared
=no
7697 lt_prog_compiler_pic
='-pic'
7698 lt_prog_compiler_static
='-Bstatic'
7702 lt_prog_compiler_can_build_shared
=no
7708 # For platforms which do not support PIC, -DPIC is meaningless:
7710 lt_prog_compiler_pic
=
7713 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7717 $as_echo "$lt_prog_compiler_pic" >&6; }
7725 # Check to make sure the PIC flag actually works.
7727 if test -n "$lt_prog_compiler_pic"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7729 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7730 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7731 $as_echo_n "(cached) " >&6
7733 lt_cv_prog_compiler_pic_works
=no
7734 ac_outfile
=conftest.
$ac_objext
7735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7736 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7737 # Insert the option either (1) after the last *FLAGS variable, or
7738 # (2) before a word containing "conftest.", or (3) at the end.
7739 # Note that $ac_compile itself does not contain backslashes and begins
7740 # with a dollar sign (not a hyphen), so the echo should work correctly.
7741 # The option is referenced via a variable to avoid confusing sed.
7742 lt_compile
=`echo "$ac_compile" | $SED \
7743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7745 -e 's:$: $lt_compiler_flag:'`
7746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7747 (eval "$lt_compile" 2>conftest.err
)
7749 cat conftest.err
>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 if (exit $ac_status) && test -s "$ac_outfile"; then
7752 # The compiler can only warn and ignore the option if not recognized
7753 # So say no if there are warnings other than the usual output.
7754 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7755 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7756 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7757 lt_cv_prog_compiler_pic_works
=yes
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7764 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7766 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7767 case $lt_prog_compiler_pic in
7769 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7772 lt_prog_compiler_pic
=
7773 lt_prog_compiler_can_build_shared
=no
7784 # Check to make sure the static flag actually works.
7786 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7788 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7789 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7792 lt_cv_prog_compiler_static_works
=no
7793 save_LDFLAGS
="$LDFLAGS"
7794 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7795 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7796 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7797 # The linker can only warn and ignore the option if not recognized
7798 # So say no if there are warnings
7799 if test -s conftest.err
; then
7800 # Append any errors to the config.log.
7801 cat conftest.err
1>&5
7802 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7803 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7804 if diff conftest.exp conftest.er2
>/dev
/null
; then
7805 lt_cv_prog_compiler_static_works
=yes
7808 lt_cv_prog_compiler_static_works
=yes
7812 LDFLAGS
="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7816 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7818 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7821 lt_prog_compiler_static
=
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7831 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7832 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7835 lt_cv_prog_compiler_c_o
=no
7836 $RM -r conftest
2>/dev
/null
7840 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7842 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7843 # Insert the option either (1) after the last *FLAGS variable, or
7844 # (2) before a word containing "conftest.", or (3) at the end.
7845 # Note that $ac_compile itself does not contain backslashes and begins
7846 # with a dollar sign (not a hyphen), so the echo should work correctly.
7847 lt_compile
=`echo "$ac_compile" | $SED \
7848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7850 -e 's:$: $lt_compiler_flag:'`
7851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7852 (eval "$lt_compile" 2>out
/conftest.err
)
7854 cat out
/conftest.err
>&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7858 # The compiler can only warn and ignore the option if not recognized
7859 # So say no if there are warnings
7860 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7861 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7862 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7863 lt_cv_prog_compiler_c_o
=yes
7868 # SGI C++ compiler will create directory out/ii_files/ for
7869 # template instantiation
7870 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7871 $RM out
/* && rmdir out
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7878 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7886 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7887 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7890 lt_cv_prog_compiler_c_o
=no
7891 $RM -r conftest
2>/dev
/null
7895 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7897 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7898 # Insert the option either (1) after the last *FLAGS variable, or
7899 # (2) before a word containing "conftest.", or (3) at the end.
7900 # Note that $ac_compile itself does not contain backslashes and begins
7901 # with a dollar sign (not a hyphen), so the echo should work correctly.
7902 lt_compile
=`echo "$ac_compile" | $SED \
7903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7905 -e 's:$: $lt_compiler_flag:'`
7906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7907 (eval "$lt_compile" 2>out
/conftest.err
)
7909 cat out
/conftest.err
>&5
7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7913 # The compiler can only warn and ignore the option if not recognized
7914 # So say no if there are warnings
7915 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7916 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7917 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7918 lt_cv_prog_compiler_c_o
=yes
7923 # SGI C++ compiler will create directory out/ii_files/ for
7924 # template instantiation
7925 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7926 $RM out
/* && rmdir out
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7933 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7938 hard_links
="nottested"
7939 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7940 # do not overwrite the value of need_locks provided by the user
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7942 $as_echo_n "checking if we can lock with hard links... " >&6; }
7945 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7947 ln conftest.a conftest.b
2>&5 || hard_links
=no
7948 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7950 $as_echo "$hard_links" >&6; }
7951 if test "$hard_links" = no
; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7953 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7966 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7969 allow_undefined_flag
=
7970 always_export_symbols
=no
7972 archive_expsym_cmds
=
7973 compiler_needs_object
=no
7974 enable_shared_with_static_runtimes
=no
7975 export_dynamic_flag_spec
=
7976 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7977 hardcode_automatic
=no
7979 hardcode_direct_absolute
=no
7980 hardcode_libdir_flag_spec
=
7981 hardcode_libdir_flag_spec_ld
=
7982 hardcode_libdir_separator
=
7984 hardcode_shlibpath_var
=unsupported
7986 link_all_deplibs
=unknown
7989 old_archive_from_new_cmds
=
7990 old_archive_from_expsyms_cmds
=
7991 thread_safe_flag_spec
=
7992 whole_archive_flag_spec
=
7993 # include_expsyms should be a list of space-separated symbols to be *always*
7994 # included in the symbol list
7996 # exclude_expsyms can be an extended regexp of symbols to exclude
7997 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7998 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7999 # as well as any symbol that contains `d'.
8000 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8001 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8002 # platforms (ab)use it in PIC code, but their linkers get confused if
8003 # the symbol is explicitly referenced. Since portable code cannot
8004 # rely on this symbol name, it's probably fine to never include it in
8005 # preloaded symbol tables.
8006 # Exclude shared library initialization/finalization symbols.
8007 extract_expsyms_cmds
=
8010 cygwin
* | mingw
* | pw32
* | cegcc
*)
8011 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8012 # When not using gcc, we currently assume that we are using
8013 # Microsoft Visual C++.
8014 if test "$GCC" != yes; then
8019 # we just hope/assume this is gcc and not c89 (= MSVC++)
8029 # On some targets, GNU ld is compatible enough with the native linker
8030 # that we're better off using the native interface for both.
8031 lt_use_gnu_ld_interface
=no
8032 if test "$with_gnu_ld" = yes; then
8035 # The AIX port of GNU ld has always aspired to compatibility
8036 # with the native linker. However, as the warning in the GNU ld
8037 # block says, versions before 2.19.5* couldn't really create working
8038 # shared libraries, regardless of the interface used.
8039 case `$LD -v 2>&1` in
8040 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8041 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8042 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8044 lt_use_gnu_ld_interface
=yes
8049 lt_use_gnu_ld_interface
=yes
8054 if test "$lt_use_gnu_ld_interface" = yes; then
8055 # If archive_cmds runs LD, not CC, wlarc should be empty
8058 # Set some defaults for GNU ld with shared library support. These
8059 # are reset later if shared libraries are not supported. Putting them
8060 # here allows them to be overridden if necessary.
8061 runpath_var
=LD_RUN_PATH
8062 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8063 export_dynamic_flag_spec
='${wl}--export-dynamic'
8064 # ancient GNU ld didn't support --whole-archive et. al.
8065 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8066 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8068 whole_archive_flag_spec
=
8070 supports_anon_versioning
=no
8071 case `$LD -v 2>&1` in
8072 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8073 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8074 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8075 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8076 *\
2.11.
*) ;; # other 2.11 versions
8077 *) supports_anon_versioning
=yes ;;
8080 # See if GNU ld supports shared libraries.
8083 # On AIX/PPC, the GNU linker is very broken
8084 if test "$host_cpu" != ia64
; then
8088 *** Warning: the GNU linker, at least up to release 2.19, is reported
8089 *** to be unable to reliably create shared libraries on AIX.
8090 *** Therefore, libtool is disabling shared libraries support. If you
8091 *** really care for shared libraries, you may want to install binutils
8092 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8093 *** You will then need to restart the configuration process.
8102 # see comment about AmigaOS4 .so support
8103 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8104 archive_expsym_cmds
=''
8107 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)'
8108 hardcode_libdir_flag_spec
='-L$libdir'
8109 hardcode_minus_L
=yes
8115 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8116 allow_undefined_flag
=unsupported
8117 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8118 # support --undefined. This deserves some investigation. FIXME
8119 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125 cygwin
* | mingw
* | pw32
* | cegcc
*)
8126 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8127 # as there is no search path for DLLs.
8128 hardcode_libdir_flag_spec
='-L$libdir'
8129 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8130 allow_undefined_flag
=unsupported
8131 always_export_symbols
=no
8132 enable_shared_with_static_runtimes
=yes
8133 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8135 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8136 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8137 # If the export-symbols file already is a .def file (1st line
8138 # is EXPORTS), use it as is; otherwise, prepend...
8139 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8140 cp $export_symbols $output_objdir/$soname.def;
8142 echo EXPORTS > $output_objdir/$soname.def;
8143 cat $export_symbols >> $output_objdir/$soname.def;
8145 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8152 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8153 link_all_deplibs
=yes
8158 hardcode_shlibpath_var
=no
8159 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8160 export_dynamic_flag_spec
='${wl}-E'
8161 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8162 # Instead, shared libraries are loaded at an image base (0x10000000 by
8163 # default) and relocated if they conflict, which is a slow very memory
8164 # consuming and fragmenting process. To avoid this, we pick a random,
8165 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8166 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8167 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8168 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'
8171 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8173 if test "$host_os" = linux-dietlibc
; then
8174 case $cc_basename in
8175 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8178 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8179 && test "$tmp_diet" = no
8182 tmp_sharedflag
='-shared'
8183 case $cc_basename,$host_cpu in
8184 pgcc
*) # Portland Group C compiler
8185 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'
8186 tmp_addflag
=' $pic_flag'
8188 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8189 # Portland Group f77 and f90 compilers
8190 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'
8191 tmp_addflag
=' $pic_flag -Mnomain' ;;
8192 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8193 tmp_addflag
=' -i_dynamic' ;;
8194 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8195 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8196 ifc
* | ifort
*) # Intel Fortran compiler
8197 tmp_addflag
=' -nofor_main' ;;
8198 lf95
*) # Lahey Fortran 8.1
8199 whole_archive_flag_spec
=
8200 tmp_sharedflag
='--shared' ;;
8201 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8202 tmp_sharedflag
='-qmkshrobj'
8204 nvcc
*) # Cuda Compiler Driver 2.2
8205 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'
8206 compiler_needs_object
=yes
8209 case `$CC -V 2>&1 | sed 5q` in
8210 *Sun\ C
*) # Sun C 5.9
8211 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'
8212 compiler_needs_object
=yes
8213 tmp_sharedflag
='-G' ;;
8214 *Sun\ F
*) # Sun Fortran 8.3
8215 tmp_sharedflag
='-G' ;;
8217 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8219 if test "x$supports_anon_versioning" = xyes
; then
8220 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8221 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8222 echo "local: *; };" >> $output_objdir/$libname.ver~
8223 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8226 case $cc_basename in
8227 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8228 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8229 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8230 hardcode_libdir_flag_spec
=
8231 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8232 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8233 if test "x$supports_anon_versioning" = xyes
; then
8234 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8235 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8236 echo "local: *; };" >> $output_objdir/$libname.ver~
8237 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8247 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8248 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8252 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8257 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8261 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8262 *** create shared libraries on Solaris systems. Therefore, libtool
8263 *** is disabling shared libraries support. We urge you to upgrade GNU
8264 *** binutils to release 2.9.1 or newer. Another option is to modify
8265 *** your PATH or compiler configuration so that the native linker is
8266 *** used, and then restart.
8269 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8270 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8271 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8277 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8278 case `$LD -v 2>&1` in
8279 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8283 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8284 *** reliably create shared libraries on SCO systems. Therefore, libtool
8285 *** is disabling shared libraries support. We urge you to upgrade GNU
8286 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8287 *** your PATH or compiler configuration so that the native linker is
8288 *** used, and then restart.
8293 # For security reasons, it is highly recommended that you always
8294 # use absolute paths for naming shared libraries, and exclude the
8295 # DT_RUNPATH tag from executables and libraries. But doing so
8296 # requires that you compile everything twice, which is a pain.
8297 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8298 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8309 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8312 hardcode_shlibpath_var
=no
8316 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8317 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8318 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8325 if test "$ld_shlibs" = no
; then
8327 hardcode_libdir_flag_spec
=
8328 export_dynamic_flag_spec
=
8329 whole_archive_flag_spec
=
8332 # PORTME fill in a description of your system's linker (not GNU ld)
8335 allow_undefined_flag
=unsupported
8336 always_export_symbols
=yes
8337 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'
8338 # Note: this linker hardcodes the directories in LIBPATH if there
8339 # are no directories specified by -L.
8340 hardcode_minus_L
=yes
8341 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8342 # Neither direct hardcoding nor static linking is supported with a
8344 hardcode_direct
=unsupported
8349 if test "$host_cpu" = ia64
; then
8350 # On IA64, the linker does run time linking by default, so we don't
8351 # have to do anything special.
8352 aix_use_runtimelinking
=no
8353 exp_sym_flag
='-Bexport'
8356 # If we're using GNU nm, then we don't want the "-C" option.
8357 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8358 # Also, AIX nm treats weak defined symbols like other global
8359 # defined symbols, whereas GNU nm marks them as "W".
8360 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8361 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'
8363 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'
8365 aix_use_runtimelinking
=no
8367 # Test if we are trying to use run time linking or normal
8368 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8369 # need to do runtime linking.
8370 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8371 for ld_flag
in $LDFLAGS; do
8372 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8373 aix_use_runtimelinking
=yes
8380 exp_sym_flag
='-bexport'
8381 no_entry_flag
='-bnoentry'
8384 # When large executables or shared objects are built, AIX ld can
8385 # have problems creating the table of contents. If linking a library
8386 # or program results in "error TOC overflow" add -mminimal-toc to
8387 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8388 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8392 hardcode_direct_absolute
=yes
8393 hardcode_libdir_separator
=':'
8394 link_all_deplibs
=yes
8395 file_list_spec
='${wl}-f,'
8397 if test "$GCC" = yes; then
8398 case $host_os in aix4.
[012]|aix4.
[012].
*)
8399 # We only want to do this on AIX 4.2 and lower, the check
8400 # below for broken collect2 doesn't work under 4.3+
8401 collect2name
=`${CC} -print-prog-name=collect2`
8402 if test -f "$collect2name" &&
8403 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8405 # We have reworked collect2
8408 # We have old collect2
8409 hardcode_direct
=unsupported
8410 # It fails to find uninstalled libraries when the uninstalled
8411 # path is not listed in the libpath. Setting hardcode_minus_L
8412 # to unsupported forces relinking
8413 hardcode_minus_L
=yes
8414 hardcode_libdir_flag_spec
='-L$libdir'
8415 hardcode_libdir_separator
=
8419 shared_flag
='-shared'
8420 if test "$aix_use_runtimelinking" = yes; then
8421 shared_flag
="$shared_flag "'${wl}-G'
8425 if test "$host_cpu" = ia64
; then
8426 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8427 # chokes on -Wl,-G. The following line is correct:
8430 if test "$aix_use_runtimelinking" = yes; then
8431 shared_flag
='${wl}-G'
8433 shared_flag
='${wl}-bM:SRE'
8438 export_dynamic_flag_spec
='${wl}-bexpall'
8439 # It seems that -bexpall does not export symbols beginning with
8440 # underscore (_), so it is better to generate a list of symbols to export.
8441 always_export_symbols
=yes
8442 if test "$aix_use_runtimelinking" = yes; then
8443 # Warning - without using the other runtime loading flags (-brtl),
8444 # -berok will link without error, but may produce a broken library.
8445 allow_undefined_flag
='-berok'
8446 # Determine the default libpath from the value encoded in an
8448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8459 if ac_fn_c_try_link
"$LINENO"; then :
8461 lt_aix_libpath_sed
='
8462 /Import File Strings/,/^$/ {
8468 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8469 # Check for a 64-bit object if we didn't find anything.
8470 if test -z "$aix_libpath"; then
8471 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8474 rm -f core conftest.err conftest.
$ac_objext \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8478 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8479 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"
8481 if test "$host_cpu" = ia64
; then
8482 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8483 allow_undefined_flag
="-z nodefs"
8484 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"
8486 # Determine the default libpath from the value encoded in an
8488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8499 if ac_fn_c_try_link
"$LINENO"; then :
8501 lt_aix_libpath_sed
='
8502 /Import File Strings/,/^$/ {
8508 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8509 # Check for a 64-bit object if we didn't find anything.
8510 if test -z "$aix_libpath"; then
8511 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8514 rm -f core conftest.err conftest.
$ac_objext \
8515 conftest
$ac_exeext conftest.
$ac_ext
8516 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8518 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8519 # Warning - without using the other run time loading flags,
8520 # -berok will link without error, but may produce a broken library.
8521 no_undefined_flag
=' ${wl}-bernotok'
8522 allow_undefined_flag
=' ${wl}-berok'
8523 if test "$with_gnu_ld" = yes; then
8524 # We only use this code for GNU lds that support --whole-archive.
8525 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8527 # Exported symbols can be pulled into shared objects from archives
8528 whole_archive_flag_spec
='$convenience'
8530 archive_cmds_need_lc
=yes
8531 # This is similar to how AIX traditionally builds its shared libraries.
8532 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'
8540 # see comment about AmigaOS4 .so support
8541 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8542 archive_expsym_cmds
=''
8545 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)'
8546 hardcode_libdir_flag_spec
='-L$libdir'
8547 hardcode_minus_L
=yes
8553 export_dynamic_flag_spec
=-rdynamic
8556 cygwin
* | mingw
* | pw32
* | cegcc
*)
8557 # When not using gcc, we currently assume that we are using
8558 # Microsoft Visual C++.
8559 # hardcode_libdir_flag_spec is actually meaningless, as there is
8560 # no search path for DLLs.
8561 hardcode_libdir_flag_spec
=' '
8562 allow_undefined_flag
=unsupported
8563 # Tell ltmain to make .lib files, not .a files.
8565 # Tell ltmain to make .dll files, not .so files.
8567 # FIXME: Setting linknames here is a bad hack.
8568 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8569 # The linker will automatically build a .lib file if we build a DLL.
8570 old_archive_from_new_cmds
='true'
8571 # FIXME: Should let the user specify the lib program.
8572 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8573 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8574 enable_shared_with_static_runtimes
=yes
8577 darwin
* | rhapsody
*)
8580 archive_cmds_need_lc
=no
8582 hardcode_automatic
=yes
8583 hardcode_shlibpath_var
=unsupported
8584 if test "$lt_cv_ld_force_load" = "yes"; then
8585 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\"`'
8587 whole_archive_flag_spec
=''
8589 link_all_deplibs
=yes
8590 allow_undefined_flag
="$_lt_dar_allow_undefined"
8591 case $cc_basename in
8592 ifort
*) _lt_dar_can_shared
=yes ;;
8593 *) _lt_dar_can_shared
=$GCC ;;
8595 if test "$_lt_dar_can_shared" = "yes"; then
8596 output_verbose_link_cmd
=func_echo_all
8597 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8598 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8599 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}"
8600 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}"
8609 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8610 hardcode_libdir_flag_spec
='-L$libdir'
8611 hardcode_shlibpath_var
=no
8614 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8615 # support. Future versions do this automatically, but an explicit c++rt0.o
8616 # does not break anything, and helps significantly (at the cost of a little
8619 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8620 hardcode_libdir_flag_spec
='-R$libdir'
8622 hardcode_shlibpath_var
=no
8625 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8627 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8629 hardcode_minus_L
=yes
8630 hardcode_shlibpath_var
=no
8633 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8634 freebsd
* | dragonfly
*)
8635 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8636 hardcode_libdir_flag_spec
='-R$libdir'
8638 hardcode_shlibpath_var
=no
8642 if test "$GCC" = yes; then
8643 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'
8645 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'
8647 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8648 hardcode_libdir_separator
=:
8651 # hardcode_minus_L: Not really in the search PATH,
8652 # but as the default location of the library.
8653 hardcode_minus_L
=yes
8654 export_dynamic_flag_spec
='${wl}-E'
8658 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8659 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8661 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8663 if test "$with_gnu_ld" = no
; then
8664 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8665 hardcode_libdir_flag_spec_ld
='+b $libdir'
8666 hardcode_libdir_separator
=:
8668 hardcode_direct_absolute
=yes
8669 export_dynamic_flag_spec
='${wl}-E'
8670 # hardcode_minus_L: Not really in the search PATH,
8671 # but as the default location of the library.
8672 hardcode_minus_L
=yes
8677 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8680 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8683 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8686 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8692 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8695 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8699 # Older versions of the 11.00 compiler do not understand -b yet
8700 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8702 $as_echo_n "checking if $CC understands -b... " >&6; }
8703 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8704 $as_echo_n "(cached) " >&6
8706 lt_cv_prog_compiler__b
=no
8707 save_LDFLAGS
="$LDFLAGS"
8708 LDFLAGS
="$LDFLAGS -b"
8709 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8710 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8711 # The linker can only warn and ignore the option if not recognized
8712 # So say no if there are warnings
8713 if test -s conftest.err
; then
8714 # Append any errors to the config.log.
8715 cat conftest.err
1>&5
8716 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8718 if diff conftest.exp conftest.er2
>/dev
/null
; then
8719 lt_cv_prog_compiler__b
=yes
8722 lt_cv_prog_compiler__b
=yes
8726 LDFLAGS
="$save_LDFLAGS"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8730 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8732 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8733 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8735 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8741 if test "$with_gnu_ld" = no
; then
8742 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8743 hardcode_libdir_separator
=:
8748 hardcode_shlibpath_var
=no
8752 hardcode_direct_absolute
=yes
8753 export_dynamic_flag_spec
='${wl}-E'
8755 # hardcode_minus_L: Not really in the search PATH,
8756 # but as the default location of the library.
8757 hardcode_minus_L
=yes
8763 irix5
* | irix6
* | nonstopux
*)
8764 if test "$GCC" = yes; then
8765 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'
8766 # Try to use the -exported_symbol ld option, if it does not
8767 # work, assume that -exports_file does not work either and
8768 # implicitly export all symbols.
8769 save_LDFLAGS
="$LDFLAGS"
8770 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8775 if ac_fn_c_try_link
"$LINENO"; then :
8776 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'
8779 rm -f core conftest.err conftest.
$ac_objext \
8780 conftest
$ac_exeext conftest.
$ac_ext
8781 LDFLAGS
="$save_LDFLAGS"
8783 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'
8784 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'
8786 archive_cmds_need_lc
='no'
8787 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8788 hardcode_libdir_separator
=:
8790 link_all_deplibs
=yes
8794 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8795 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8797 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8799 hardcode_libdir_flag_spec
='-R$libdir'
8801 hardcode_shlibpath_var
=no
8805 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8808 hardcode_libdir_separator
=:
8809 hardcode_shlibpath_var
=no
8816 if test -f /usr
/libexec
/ld.so
; then
8818 hardcode_shlibpath_var
=no
8819 hardcode_direct_absolute
=yes
8820 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8821 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8822 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8824 export_dynamic_flag_spec
='${wl}-E'
8827 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8828 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8829 hardcode_libdir_flag_spec
='-R$libdir'
8832 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8833 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8843 hardcode_libdir_flag_spec
='-L$libdir'
8844 hardcode_minus_L
=yes
8845 allow_undefined_flag
=unsupported
8846 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'
8847 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8851 if test "$GCC" = yes; then
8852 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8853 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'
8855 allow_undefined_flag
=' -expect_unresolved \*'
8856 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'
8858 archive_cmds_need_lc
='no'
8859 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8860 hardcode_libdir_separator
=:
8863 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8864 if test "$GCC" = yes; then
8865 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8866 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'
8867 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8869 allow_undefined_flag
=' -expect_unresolved \*'
8870 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'
8871 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~
8872 $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'
8874 # Both c and cxx compiler support -rpath directly
8875 hardcode_libdir_flag_spec
='-rpath $libdir'
8877 archive_cmds_need_lc
='no'
8878 hardcode_libdir_separator
=:
8882 no_undefined_flag
=' -z defs'
8883 if test "$GCC" = yes; then
8885 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8886 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8887 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8889 case `$CC -V 2>&1` in
8892 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8893 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8894 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8898 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8899 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8900 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8904 hardcode_libdir_flag_spec
='-R$libdir'
8905 hardcode_shlibpath_var
=no
8907 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8909 # The compiler driver will combine and reorder linker options,
8910 # but understands `-z linker_flag'. GCC discards it without `$wl',
8911 # but is careful enough not to reorder.
8912 # Supported since Solaris 2.6 (maybe 2.5.1?)
8913 if test "$GCC" = yes; then
8914 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8916 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8920 link_all_deplibs
=yes
8924 if test "x$host_vendor" = xsequent
; then
8925 # Use $CC to link under sequent, because it throws in some extra .o
8926 # files that make .init and .fini sections work.
8927 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8929 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8931 hardcode_libdir_flag_spec
='-L$libdir'
8933 hardcode_minus_L
=yes
8934 hardcode_shlibpath_var
=no
8938 case $host_vendor in
8940 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_direct
=yes # is this really true???
8944 ## LD is ld it makes a PLAMLIB
8945 ## CC just makes a GrossModule.
8946 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8947 reload_cmds
='$CC -r -o $output$reload_objs'
8951 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8952 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8955 runpath_var
='LD_RUN_PATH'
8956 hardcode_shlibpath_var
=no
8960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_shlibpath_var
=no
8962 export_dynamic_flag_spec
='-Bexport'
8966 if test -d /usr
/nec
; then
8967 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8968 hardcode_shlibpath_var
=no
8969 runpath_var
=LD_RUN_PATH
8970 hardcode_runpath_var
=yes
8975 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8976 no_undefined_flag
='${wl}-z,text'
8977 archive_cmds_need_lc
=no
8978 hardcode_shlibpath_var
=no
8979 runpath_var
='LD_RUN_PATH'
8981 if test "$GCC" = yes; then
8982 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8983 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8985 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8986 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990 sysv5
* | sco3.2v5
* | sco5v6
*)
8991 # Note: We can NOT use -z defs as we might desire, because we do not
8992 # link with -lc, and that would cause any symbols used from libc to
8993 # always be unresolved, which means just about no library would
8994 # ever link correctly. If we're not using GNU ld we use -z text
8995 # though, which does catch some bad symbols but isn't as heavy-handed
8997 no_undefined_flag
='${wl}-z,text'
8998 allow_undefined_flag
='${wl}-z,nodefs'
8999 archive_cmds_need_lc
=no
9000 hardcode_shlibpath_var
=no
9001 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9002 hardcode_libdir_separator
=':'
9003 link_all_deplibs
=yes
9004 export_dynamic_flag_spec
='${wl}-Bexport'
9005 runpath_var
='LD_RUN_PATH'
9007 if test "$GCC" = yes; then
9008 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9009 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9012 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_libdir_flag_spec
='-L$libdir'
9019 hardcode_shlibpath_var
=no
9027 if test x
$host_vendor = xsni
; then
9029 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9030 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9037 $as_echo "$ld_shlibs" >&6; }
9038 test "$ld_shlibs" = no
&& can_build_shared
=no
9040 with_gnu_ld
=$with_gnu_ld
9057 # Do we need to explicitly link libc?
9059 case "x$archive_cmds_need_lc" in
9061 # Assume -lc should be added
9062 archive_cmds_need_lc
=yes
9064 if test "$enable_shared" = yes && test "$GCC" = yes; then
9065 case $archive_cmds in
9067 # FIXME: we may have to deal with multi-command sequences.
9070 # Test whether the compiler implicitly links with -lc since on some
9071 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9072 # to ld, don't add -lc before -lgcc.
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9074 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9075 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9076 $as_echo_n "(cached) " >&6
9079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9082 (eval $ac_compile) 2>&5
9084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9085 test $ac_status = 0; } 2>conftest.err
; then
9088 libobjs
=conftest.
$ac_objext
9090 wl
=$lt_prog_compiler_wl
9091 pic_flag
=$lt_prog_compiler_pic
9097 lt_save_allow_undefined_flag
=$allow_undefined_flag
9098 allow_undefined_flag
=
9099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9100 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9103 test $ac_status = 0; }
9105 lt_cv_archive_cmds_need_lc
=no
9107 lt_cv_archive_cmds_need_lc
=yes
9109 allow_undefined_flag
=$lt_save_allow_undefined_flag
9111 cat conftest.err
1>&5
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9117 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9118 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9282 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9284 if test "$GCC" = yes; then
9286 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9287 *) lt_awk_arg
="/^libraries:/" ;;
9290 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9291 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9293 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9294 case $lt_search_path_spec in
9296 # if the path contains ";" then we assume it to be the separator
9297 # otherwise default to the standard path separator (i.e. ":") - it is
9298 # assumed that no part of a normal pathname contains ";" but that should
9299 # okay in the real world where ";" in dirpaths is itself problematic.
9300 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9303 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9306 # Ok, now we have the path, separated by spaces, we can step through it
9307 # and add multilib dir if necessary.
9308 lt_tmp_lt_search_path_spec
=
9309 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9310 for lt_sys_path
in $lt_search_path_spec; do
9311 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9312 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9314 test -d "$lt_sys_path" && \
9315 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9318 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9319 BEGIN {RS=" "; FS="/|\n";} {
9322 for (lt_i = NF; lt_i > 0; lt_i--) {
9323 if ($lt_i != "" && $lt_i != ".") {
9324 if ($lt_i == "..") {
9327 if (lt_count == 0) {
9328 lt_foo="/" $lt_i lt_foo;
9335 if (lt_foo != "") { lt_freq[lt_foo]++; }
9336 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9338 # AWK program above erroneously prepends '/' to C:/dos/paths
9341 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9342 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9344 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9346 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9349 libname_spec
='lib$name'
9357 shlibpath_overrides_runpath
=unknown
9359 dynamic_linker
="$host_os ld.so"
9360 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9361 need_lib_prefix
=unknown
9362 hardcode_into_libs
=no
9364 # when you set need_version to no, make sure it does not cause -set_version
9365 # flags to be left without arguments
9366 need_version
=unknown
9371 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9372 shlibpath_var
=LIBPATH
9374 # AIX 3 has no versioning support, so we append a major version to the name.
9375 soname_spec
='${libname}${release}${shared_ext}$major'
9382 hardcode_into_libs
=yes
9383 if test "$host_cpu" = ia64
; then
9384 # AIX 5 supports IA64
9385 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9386 shlibpath_var
=LD_LIBRARY_PATH
9388 # With GCC up to 2.95.x, collect2 would create an import file
9389 # for dependence libraries. The import file would start with
9390 # the line `#! .'. This would cause the generated library to
9391 # depend on `.', always an invalid library. This was fixed in
9392 # development snapshots of GCC prior to 3.0.
9394 aix4 | aix4.
[01] | aix4.
[01].
*)
9395 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9397 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9404 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9405 # soname into executable. Probably we can add versioning support to
9406 # collect2, so additional links can be useful in future.
9407 if test "$aix_use_runtimelinking" = yes; then
9408 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9409 # instead of lib<name>.a to let people know that these are not
9410 # typical AIX shared libraries.
9411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9413 # We preserve .a as extension for shared libraries through AIX4.2
9414 # and later when we are not doing run time linking.
9415 library_names_spec
='${libname}${release}.a $libname.a'
9416 soname_spec
='${libname}${release}${shared_ext}$major'
9418 shlibpath_var
=LIBPATH
9425 # Since July 2007 AmigaOS4 officially supports .so libraries.
9426 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9430 library_names_spec
='$libname.ixlibrary $libname.a'
9431 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9432 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'
9438 library_names_spec
='${libname}${shared_ext}'
9439 dynamic_linker
="$host_os ld.so"
9440 shlibpath_var
=LIBRARY_PATH
9446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9447 soname_spec
='${libname}${release}${shared_ext}$major'
9448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9449 shlibpath_var
=LD_LIBRARY_PATH
9450 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9451 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9452 # the default ld.so.conf also contains /usr/contrib/lib and
9453 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9454 # libtool to hard-code these into programs
9457 cygwin
* | mingw
* | pw32
* | cegcc
*)
9458 version_type
=windows
9463 case $GCC,$host_os in
9464 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9465 library_names_spec
='$libname.dll.a'
9466 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9467 postinstall_cmds
='base_file=`basename \${file}`~
9468 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9469 dldir=$destdir/`dirname \$dlpath`~
9470 test -d \$dldir || mkdir -p \$dldir~
9471 $install_prog $dir/$dlname \$dldir/$dlname~
9472 chmod a+x \$dldir/$dlname~
9473 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9474 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9476 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9477 dlpath=$dir/\$dldll~
9479 shlibpath_overrides_runpath
=yes
9483 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9484 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9486 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9489 # MinGW DLLs use traditional 'lib' prefix
9490 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9493 # pw32 DLLs use 'pw' prefix rather than 'lib'
9494 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9500 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9503 dynamic_linker
='Win32 ld.exe'
9504 # FIXME: first we should search . and the directory the executable is in
9508 darwin
* | rhapsody
*)
9509 dynamic_linker
="$host_os dyld"
9513 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9514 soname_spec
='${libname}${release}${major}$shared_ext'
9515 shlibpath_overrides_runpath
=yes
9516 shlibpath_var
=DYLD_LIBRARY_PATH
9517 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9519 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9520 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9528 soname_spec
='${libname}${release}${shared_ext}$major'
9529 shlibpath_var
=LD_LIBRARY_PATH
9532 freebsd
* | dragonfly
*)
9533 # DragonFly does not have aout. When/if they implement a new
9534 # versioning mechanism, adjust this.
9535 if test -x /usr
/bin
/objformat
; then
9536 objformat
=`/usr/bin/objformat`
9539 freebsd
[23].
*) objformat
=aout
;;
9543 version_type
=freebsd-
$objformat
9544 case $version_type in
9546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9551 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9555 shlibpath_var
=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath
=yes
9560 freebsd3.
[01]* | freebsdelf3.
[01]*)
9561 shlibpath_overrides_runpath
=yes
9562 hardcode_into_libs
=yes
9564 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9565 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9566 shlibpath_overrides_runpath
=no
9567 hardcode_into_libs
=yes
9569 *) # from 4.6 on, and DragonFly
9570 shlibpath_overrides_runpath
=yes
9571 hardcode_into_libs
=yes
9580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9581 soname_spec
='${libname}${release}${shared_ext}$major'
9582 shlibpath_var
=LD_LIBRARY_PATH
9583 hardcode_into_libs
=yes
9590 dynamic_linker
="$host_os runtime_loader"
9591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9592 soname_spec
='${libname}${release}${shared_ext}$major'
9593 shlibpath_var
=LIBRARY_PATH
9594 shlibpath_overrides_runpath
=yes
9595 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9596 hardcode_into_libs
=yes
9599 hpux9
* | hpux10
* | hpux11
*)
9600 # Give a soname corresponding to the major version so that dld.sl refuses to
9601 # link against other versions.
9608 hardcode_into_libs
=yes
9609 dynamic_linker
="$host_os dld.so"
9610 shlibpath_var
=LD_LIBRARY_PATH
9611 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9613 soname_spec
='${libname}${release}${shared_ext}$major'
9614 if test "X$HPUX_IA64_MODE" = X32
; then
9615 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9617 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9619 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9623 hardcode_into_libs
=yes
9624 dynamic_linker
="$host_os dld.sl"
9625 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9626 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9628 soname_spec
='${libname}${release}${shared_ext}$major'
9629 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9630 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9634 dynamic_linker
="$host_os dld.sl"
9635 shlibpath_var
=SHLIB_PATH
9636 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9638 soname_spec
='${libname}${release}${shared_ext}$major'
9641 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9642 postinstall_cmds
='chmod 555 $lib'
9643 # or fails outright, so override atomically:
9644 install_override_mode
=555
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9652 soname_spec
='${libname}${release}${shared_ext}$major'
9653 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9654 shlibpath_var
=LD_LIBRARY_PATH
9655 shlibpath_overrides_runpath
=no
9656 hardcode_into_libs
=yes
9659 irix5
* | irix6
* | nonstopux
*)
9661 nonstopux
*) version_type
=nonstopux
;;
9663 if test "$lt_cv_prog_gnu_ld" = yes; then
9671 soname_spec
='${libname}${release}${shared_ext}$major'
9672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9674 irix5
* | nonstopux
*)
9678 case $LD in # libtool.m4 will add one of these switches to LD
9679 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9680 libsuff
= shlibsuff
= libmagic
=32-bit;;
9681 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9682 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9683 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9684 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9685 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9689 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9690 shlibpath_overrides_runpath
=no
9691 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9692 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9693 hardcode_into_libs
=yes
9696 # No shared lib support for Linux oldld, aout, or coff.
9697 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9701 # This must be Linux ELF.
9702 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9707 soname_spec
='${libname}${release}${shared_ext}$major'
9708 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9709 shlibpath_var
=LD_LIBRARY_PATH
9710 shlibpath_overrides_runpath
=no
9712 # Some binutils ld are patched to set DT_RUNPATH
9713 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9714 $as_echo_n "(cached) " >&6
9716 lt_cv_shlibpath_overrides_runpath
=no
9717 save_LDFLAGS
=$LDFLAGS
9719 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9720 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9732 if ac_fn_c_try_link
"$LINENO"; then :
9733 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9734 lt_cv_shlibpath_overrides_runpath
=yes
9737 rm -f core conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9739 LDFLAGS
=$save_LDFLAGS
9744 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9746 # This implies no fast_install, which is unacceptable.
9747 # Some rework will be needed to allow for fast_install
9748 # before this can be enabled.
9749 hardcode_into_libs
=yes
9751 # Append ld.so.conf contents to the search path
9752 if test -f /etc
/ld.so.conf
; then
9753 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' ' '`
9754 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9757 # We used to test for /lib/ld.so.1 and disable shared libraries on
9758 # powerpc, because MkLinux only supported shared libraries with the
9759 # GNU dynamic linker. Since this was broken with cross compilers,
9760 # most powerpc-linux boxes support dynamic linking these days and
9761 # people can always --disable-shared, the test was removed, and we
9762 # assume the GNU/Linux dynamic linker is in use.
9763 dynamic_linker
='GNU/Linux ld.so'
9770 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9773 dynamic_linker
='NetBSD (a.out) ld.so'
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9776 soname_spec
='${libname}${release}${shared_ext}$major'
9777 dynamic_linker
='NetBSD ld.elf_so'
9779 shlibpath_var
=LD_LIBRARY_PATH
9780 shlibpath_overrides_runpath
=yes
9781 hardcode_into_libs
=yes
9786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9787 shlibpath_var
=LD_LIBRARY_PATH
9788 shlibpath_overrides_runpath
=yes
9795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9796 soname_spec
='${libname}${release}${shared_ext}$major'
9797 shlibpath_var
=LD_LIBRARY_PATH
9798 shlibpath_overrides_runpath
=no
9799 hardcode_into_libs
=yes
9800 dynamic_linker
='ldqnx.so'
9805 sys_lib_dlsearch_path_spec
="/usr/lib"
9807 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9809 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9810 *) need_version
=no
;;
9812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9814 shlibpath_var
=LD_LIBRARY_PATH
9815 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9817 openbsd2.
[89] | openbsd2.
[89].
*)
9818 shlibpath_overrides_runpath
=no
9821 shlibpath_overrides_runpath
=yes
9825 shlibpath_overrides_runpath
=yes
9830 libname_spec
='$name'
9833 library_names_spec
='$libname${shared_ext} $libname.a'
9834 dynamic_linker
='OS/2 ld.exe'
9835 shlibpath_var
=LIBPATH
9838 osf3
* | osf4
* | osf5
*)
9842 soname_spec
='${libname}${release}${shared_ext}$major'
9843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 shlibpath_var
=LD_LIBRARY_PATH
9845 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9846 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9858 soname_spec
='${libname}${release}${shared_ext}$major'
9859 shlibpath_var
=LD_LIBRARY_PATH
9860 shlibpath_overrides_runpath
=yes
9861 hardcode_into_libs
=yes
9862 # ldd complains unless libraries are executable
9863 postinstall_cmds
='chmod +x $lib'
9868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9869 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9870 shlibpath_var
=LD_LIBRARY_PATH
9871 shlibpath_overrides_runpath
=yes
9872 if test "$with_gnu_ld" = yes; then
9880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9881 soname_spec
='${libname}${release}${shared_ext}$major'
9882 shlibpath_var
=LD_LIBRARY_PATH
9883 case $host_vendor in
9885 shlibpath_overrides_runpath
=no
9887 runpath_var
=LD_RUN_PATH
9895 shlibpath_overrides_runpath
=no
9896 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9902 if test -d /usr
/nec
;then
9904 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9905 soname_spec
='$libname${shared_ext}.$major'
9906 shlibpath_var
=LD_LIBRARY_PATH
9910 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9911 version_type
=freebsd-elf
9914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9915 soname_spec
='${libname}${release}${shared_ext}$major'
9916 shlibpath_var
=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath
=yes
9918 hardcode_into_libs
=yes
9919 if test "$with_gnu_ld" = yes; then
9920 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9922 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9925 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9929 sys_lib_dlsearch_path_spec
='/usr/lib'
9933 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 shlibpath_var
=LD_LIBRARY_PATH
9939 shlibpath_overrides_runpath
=no
9940 hardcode_into_libs
=yes
9945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9946 soname_spec
='${libname}${release}${shared_ext}$major'
9947 shlibpath_var
=LD_LIBRARY_PATH
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9955 $as_echo "$dynamic_linker" >&6; }
9956 test "$dynamic_linker" = no
&& can_build_shared
=no
9958 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9959 if test "$GCC" = yes; then
9960 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9963 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9964 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9966 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9967 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10062 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10064 if test -n "$hardcode_libdir_flag_spec" ||
10065 test -n "$runpath_var" ||
10066 test "X$hardcode_automatic" = "Xyes" ; then
10068 # We can hardcode non-existent directories.
10069 if test "$hardcode_direct" != no
&&
10070 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10071 # have to relink, otherwise we might link with an installed library
10072 # when we should be linking with a yet-to-be-installed one
10073 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10074 test "$hardcode_minus_L" != no
; then
10075 # Linking always hardcodes the temporary library directory.
10076 hardcode_action
=relink
10078 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10079 hardcode_action
=immediate
10082 # We cannot hardcode anything, or else we can only hardcode existing
10084 hardcode_action
=unsupported
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10087 $as_echo "$hardcode_action" >&6; }
10089 if test "$hardcode_action" = relink ||
10090 test "$inherit_rpath" = yes; then
10091 # Fast installation is not supported
10092 enable_fast_install
=no
10093 elif test "$shlibpath_overrides_runpath" = yes ||
10094 test "$enable_shared" = no
; then
10095 # Fast installation is not necessary
10096 enable_fast_install
=needless
10104 if test "x$enable_dlopen" != xyes
; then
10105 enable_dlopen
=unknown
10106 enable_dlopen_self
=unknown
10107 enable_dlopen_self_static
=unknown
10114 lt_cv_dlopen
="load_add_on"
10116 lt_cv_dlopen_self
=yes
10119 mingw
* | pw32
* | cegcc
*)
10120 lt_cv_dlopen
="LoadLibrary"
10125 lt_cv_dlopen
="dlopen"
10130 # if libdl is installed we need to link against it
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10132 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10133 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10134 $as_echo_n "(cached) " >&6
10136 ac_check_lib_save_LIBS
=$LIBS
10138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10156 if ac_fn_c_try_link
"$LINENO"; then :
10157 ac_cv_lib_dl_dlopen
=yes
10159 ac_cv_lib_dl_dlopen
=no
10161 rm -f core conftest.err conftest.
$ac_objext \
10162 conftest
$ac_exeext conftest.
$ac_ext
10163 LIBS
=$ac_check_lib_save_LIBS
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10166 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10167 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10168 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10171 lt_cv_dlopen
="dyld"
10173 lt_cv_dlopen_self
=yes
10180 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10181 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10182 lt_cv_dlopen
="shl_load"
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10185 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10186 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10187 $as_echo_n "(cached) " >&6
10189 ac_check_lib_save_LIBS
=$LIBS
10191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10204 return shl_load ();
10209 if ac_fn_c_try_link
"$LINENO"; then :
10210 ac_cv_lib_dld_shl_load
=yes
10212 ac_cv_lib_dld_shl_load
=no
10214 rm -f core conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10216 LIBS
=$ac_check_lib_save_LIBS
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10219 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10220 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10221 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10223 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10224 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10225 lt_cv_dlopen
="dlopen"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10228 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10229 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10230 $as_echo_n "(cached) " >&6
10232 ac_check_lib_save_LIBS
=$LIBS
10234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10252 if ac_fn_c_try_link
"$LINENO"; then :
10253 ac_cv_lib_dl_dlopen
=yes
10255 ac_cv_lib_dl_dlopen
=no
10257 rm -f core conftest.err conftest.
$ac_objext \
10258 conftest
$ac_exeext conftest.
$ac_ext
10259 LIBS
=$ac_check_lib_save_LIBS
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10262 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10263 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10264 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10267 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10268 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10269 $as_echo_n "(cached) " >&6
10271 ac_check_lib_save_LIBS
=$LIBS
10272 LIBS
="-lsvld $LIBS"
10273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10291 if ac_fn_c_try_link
"$LINENO"; then :
10292 ac_cv_lib_svld_dlopen
=yes
10294 ac_cv_lib_svld_dlopen
=no
10296 rm -f core conftest.err conftest.
$ac_objext \
10297 conftest
$ac_exeext conftest.
$ac_ext
10298 LIBS
=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10301 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10302 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10303 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10306 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10307 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 ac_check_lib_save_LIBS
=$LIBS
10312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10325 return dld_link ();
10330 if ac_fn_c_try_link
"$LINENO"; then :
10331 ac_cv_lib_dld_dld_link
=yes
10333 ac_cv_lib_dld_dld_link
=no
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LIBS
=$ac_check_lib_save_LIBS
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10340 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10341 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10342 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10363 if test "x$lt_cv_dlopen" != xno
; then
10369 case $lt_cv_dlopen in
10371 save_CPPFLAGS
="$CPPFLAGS"
10372 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10374 save_LDFLAGS
="$LDFLAGS"
10375 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10378 LIBS
="$lt_cv_dlopen_libs $LIBS"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10381 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10382 if test "${lt_cv_dlopen_self+set}" = set; then :
10383 $as_echo_n "(cached) " >&6
10385 if test "$cross_compiling" = yes; then :
10386 lt_cv_dlopen_self
=cross
10388 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10389 lt_status
=$lt_dlunknown
10390 cat > conftest.
$ac_ext <<_LT_EOF
10391 #line 10391 "configure"
10392 #include "confdefs.h"
10401 # define LT_DLGLOBAL RTLD_GLOBAL
10404 # define LT_DLGLOBAL DL_GLOBAL
10406 # define LT_DLGLOBAL 0
10410 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10411 find out it does not work in some platform. */
10412 #ifndef LT_DLLAZY_OR_NOW
10414 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10417 # define LT_DLLAZY_OR_NOW DL_LAZY
10420 # define LT_DLLAZY_OR_NOW RTLD_NOW
10423 # define LT_DLLAZY_OR_NOW DL_NOW
10425 # define LT_DLLAZY_OR_NOW 0
10432 /* When -fvisbility=hidden is used, assume the code has been annotated
10433 correspondingly for the symbols needed. */
10434 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10435 void fnord () __attribute__((visibility("default")));
10438 void fnord () { int i=42; }
10441 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10442 int status = $lt_dlunknown;
10446 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10449 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10450 else puts (dlerror ());
10452 /* dlclose (self); */
10460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10461 (eval $ac_link) 2>&5
10463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10464 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10465 (.
/conftest
; exit; ) >&5 2>/dev
/null
10467 case x
$lt_status in
10468 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10469 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10470 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10473 # compilation failed
10474 lt_cv_dlopen_self
=no
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10482 $as_echo "$lt_cv_dlopen_self" >&6; }
10484 if test "x$lt_cv_dlopen_self" = xyes
; then
10485 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10487 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10488 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10489 $as_echo_n "(cached) " >&6
10491 if test "$cross_compiling" = yes; then :
10492 lt_cv_dlopen_self_static
=cross
10494 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10495 lt_status
=$lt_dlunknown
10496 cat > conftest.
$ac_ext <<_LT_EOF
10497 #line 10497 "configure"
10498 #include "confdefs.h"
10507 # define LT_DLGLOBAL RTLD_GLOBAL
10510 # define LT_DLGLOBAL DL_GLOBAL
10512 # define LT_DLGLOBAL 0
10516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10517 find out it does not work in some platform. */
10518 #ifndef LT_DLLAZY_OR_NOW
10520 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10523 # define LT_DLLAZY_OR_NOW DL_LAZY
10526 # define LT_DLLAZY_OR_NOW RTLD_NOW
10529 # define LT_DLLAZY_OR_NOW DL_NOW
10531 # define LT_DLLAZY_OR_NOW 0
10538 /* When -fvisbility=hidden is used, assume the code has been annotated
10539 correspondingly for the symbols needed. */
10540 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10541 void fnord () __attribute__((visibility("default")));
10544 void fnord () { int i=42; }
10547 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10548 int status = $lt_dlunknown;
10552 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10555 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10556 else puts (dlerror ());
10558 /* dlclose (self); */
10566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10567 (eval $ac_link) 2>&5
10569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10570 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10571 (.
/conftest
; exit; ) >&5 2>/dev
/null
10573 case x
$lt_status in
10574 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10575 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10576 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10579 # compilation failed
10580 lt_cv_dlopen_self_static
=no
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10588 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10591 CPPFLAGS
="$save_CPPFLAGS"
10592 LDFLAGS
="$save_LDFLAGS"
10597 case $lt_cv_dlopen_self in
10598 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10599 *) enable_dlopen_self
=unknown
;;
10602 case $lt_cv_dlopen_self_static in
10603 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10604 *) enable_dlopen_self_static
=unknown
;;
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10627 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10628 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10629 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10630 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10632 $as_echo "yes" >&6; }
10634 # FIXME - insert some real tests, host_os isn't really good enough
10637 if test -n "$STRIP" ; then
10638 striplib
="$STRIP -x"
10639 old_striplib
="$STRIP -S"
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10641 $as_echo "yes" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10644 $as_echo "no" >&6; }
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 $as_echo "no" >&6; }
10665 # Report which library types will actually be built
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10667 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10669 $as_echo "$can_build_shared" >&6; }
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10672 $as_echo_n "checking whether to build shared libraries... " >&6; }
10673 test "$can_build_shared" = "no" && enable_shared
=no
10675 # On AIX, shared libraries and static libraries use the same namespace, and
10676 # are all built from PIC.
10679 test "$enable_shared" = yes && enable_static
=no
10680 if test -n "$RANLIB"; then
10681 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10682 postinstall_cmds
='$RANLIB $lib'
10687 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10688 test "$enable_shared" = yes && enable_static
=no
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10693 $as_echo "$enable_shared" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10696 $as_echo_n "checking whether to build static libraries... " >&6; }
10697 # Make sure either enable_shared or enable_static is yes.
10698 test "$enable_shared" = yes || enable_static
=yes
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10700 $as_echo "$enable_static" >&6; }
10707 ac_cpp
='$CPP $CPPFLAGS'
10708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10726 ac_config_commands
="$ac_config_commands libtool"
10731 # Only expand once:
10736 backtrace_supported
=yes
10738 if test -n "${with_target_subdir}"; then
10739 # We are compiling a GCC library. We can assume that the unwind
10741 # Default to --enable-multilib
10742 # Check whether --enable-multilib was given.
10743 if test "${enable_multilib+set}" = set; then :
10744 enableval
=$enable_multilib; case "$enableval" in
10745 yes) multilib
=yes ;;
10747 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10754 # We may get other options which we leave undocumented:
10755 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10756 # See config-ml.in if you want the gory details.
10758 if test "$srcdir" = "."; then
10759 if test "$with_target_subdir" != "."; then
10760 multi_basedir
="$srcdir/$with_multisrctop../.."
10762 multi_basedir
="$srcdir/$with_multisrctop.."
10765 multi_basedir
="$srcdir/.."
10769 # Even if the default multilib is not a cross compilation,
10770 # it may be that some of the other multilibs are.
10771 if test $cross_compiling = no
&& test $multilib = yes \
10772 && test "x${with_multisubdir}" != x
; then
10773 cross_compiling
=maybe
10776 ac_config_commands
="$ac_config_commands default-1"
10778 BACKTRACE_FILE
="backtrace.lo simple.lo"
10780 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
10781 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
10782 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
10783 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
10784 BACKTRACE_FILE
="backtrace.lo simple.lo"
10786 BACKTRACE_FILE
="nounwind.lo"
10787 backtrace_supported
=no
10791 BACKTRACE_FILE
="nounwind.lo"
10792 backtrace_supported
=no
10800 save_CFLAGS
="$CFLAGS"
10801 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
10802 -Wmissing-prototypes -Wold-style-definition \
10803 -Wmissing-format-attribute -Wcast-qual; do
10804 # Do the check with the no- prefix removed since gcc silently
10805 # accepts any -Wno-* option on purpose
10806 case $real_option in
10807 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
10808 *) option
=$real_option ;;
10810 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
10813 $as_echo_n "checking whether $CC supports $option... " >&6; }
10814 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
10815 $as_echo_n "(cached) " >&6
10818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10829 if ac_fn_c_try_compile
"$LINENO"; then :
10830 eval "$as_acx_Woption=yes"
10832 eval "$as_acx_Woption=no"
10834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10837 eval ac_res
=\$
$as_acx_Woption
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10839 $as_echo "$ac_res" >&6; }
10840 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
10841 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
10844 CFLAGS
="$save_CFLAGS"
10847 if test "x$GCC" = "xyes"; then
10848 WARN_FLAGS
="$WARN_FLAGS -Werror"
10855 # Check whether --with-system-libunwind was given.
10856 if test "${with_system_libunwind+set}" = set; then :
10857 withval
=$with_system_libunwind;
10860 # If system-libunwind was not specifically set, pick a default setting.
10861 if test x
$with_system_libunwind = x
; then
10863 ia64-
*-hpux*) with_system_libunwind
=yes ;;
10864 *) with_system_libunwind
=no
;;
10867 # Based on system-libunwind and target, do we have ipinfo?
10868 if test x
$with_system_libunwind = xyes
; then
10870 ia64-
*-*) have_unwind_getipinfo
=no
;;
10871 *) have_unwind_getipinfo
=yes ;;
10874 # Darwin before version 9 does not have _Unwind_GetIPInfo.
10877 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
10878 *) have_unwind_getipinfo
=yes ;;
10883 if test x
$have_unwind_getipinfo = xyes
; then
10885 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
10890 # When building as a target library, shared libraries may want to link
10891 # this in. We don't want to provide another shared library to
10892 # complicate dependencies. Instead, we just compile with -fPIC.
10894 if test -n "${with_target_subdir}"; then
10899 # Test for __sync support.
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
10901 $as_echo_n "checking __sync extensions... " >&6; }
10902 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
10903 $as_echo_n "(cached) " >&6
10905 if test -n "${with_target_subdir}"; then
10906 libbacktrace_cv_sys_sync
=yes
10908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10914 __sync_bool_compare_and_swap (&i, i, i);
10915 __sync_lock_test_and_set (&i, 1);
10916 __sync_lock_release (&i);
10921 if ac_fn_c_try_link
"$LINENO"; then :
10922 libbacktrace_cv_sys_sync
=yes
10924 libbacktrace_cv_sys_sync
=no
10926 rm -f core conftest.err conftest.
$ac_objext \
10927 conftest
$ac_exeext conftest.
$ac_ext
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
10931 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
10932 BACKTRACE_SUPPORTS_THREADS
=0
10933 if test "$libbacktrace_cv_sys_sync" = "yes"; then
10934 BACKTRACE_SUPPORTS_THREADS
=1
10936 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
10941 # The library needs to be able to read the executable itself. Compile
10942 # a file to determine the executable format. The awk script
10943 # filetype.awk prints out the file type.
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
10945 $as_echo_n "checking output filetype... " >&6; }
10946 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
10947 $as_echo_n "(cached) " >&6
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10961 if ac_fn_c_try_compile
"$LINENO"; then :
10962 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
10964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10966 as_fn_error
"compiler failed
10967 See \`config.log' for more details." "$LINENO" 5; }
10969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10970 libbacktrace_cv_sys_filetype
=$filetype
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
10973 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
10975 # Match the file type to decide what files to compile.
10977 case "$libbacktrace_cv_sys_filetype" in
10978 elf
*) FORMAT_FILE
="elf.lo" ;;
10979 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
10980 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
10981 FORMAT_FILE
="unknown.lo"
10982 backtrace_supported
=no
10989 case "$libbacktrace_cv_sys_filetype" in
10990 elf32
) elfsize
=32 ;;
10991 elf64
) elfsize
=64 ;;
10994 cat >>confdefs.h
<<_ACEOF
10995 #define BACKTRACE_ELF_SIZE $elfsize
10999 BACKTRACE_SUPPORTED
=0
11000 if test "$backtrace_supported" = "yes"; then
11001 BACKTRACE_SUPPORTED
=1
11005 for ac_header
in sys
/mman.h
11007 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11008 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11009 cat >>confdefs.h
<<_ACEOF
11010 #define HAVE_SYS_MMAN_H 1
11017 if test "$ac_cv_header_sys_mman_h" = "no"; then
11020 if test -n "${with_target_subdir}"; then
11021 # When built as a GCC target library, we can't do a link test. We
11022 # simply assume that if we have mman.h, we have mmap.
11025 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11026 if test "x$ac_cv_func_mmap" = x
""yes; then :
11034 if test "$have_mmap" = "no"; then
11036 ALLOC_FILE
=alloc.lo
11038 VIEW_FILE
=mmapio.lo
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 #include <sys/mman.h>
11043 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
11044 #error no MAP_ANONYMOUS
11048 if ac_fn_c_try_cpp
"$LINENO"; then :
11051 ALLOC_FILE
=alloc.lo
11053 rm -f conftest.err conftest.
$ac_ext
11058 BACKTRACE_USES_MALLOC
=0
11059 if test "$ALLOC_FILE" = "alloc.lo"; then
11060 BACKTRACE_USES_MALLOC
=1
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
11065 $as_echo_n "checking whether tests can run... " >&6; }
11066 if test "${libbacktrace_cv_sys_native+set}" = set; then :
11067 $as_echo_n "(cached) " >&6
11069 if test "$cross_compiling" = yes; then :
11070 libbacktrace_cv_sys_native
=no
11072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11083 if ac_fn_c_try_run
"$LINENO"; then :
11084 libbacktrace_cv_sys_native
=yes
11086 libbacktrace_cv_sys_native
=no
11088 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11089 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
11094 $as_echo "$libbacktrace_cv_sys_native" >&6; }
11095 if test "$libbacktrace_cv_sys_native" = "yes"; then
11104 if test "${multilib}" = "yes"; then
11105 multilib_arg
="--enable-multilib"
11110 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
11113 # We need multilib support, but only if configuring for the target.
11114 ac_config_commands
="$ac_config_commands default"
11117 cat >confcache
<<\_ACEOF
11118 # This file is a shell script that caches the results of configure
11119 # tests run on this system so they can be shared between configure
11120 # scripts and configure runs, see configure's option --config-cache.
11121 # It is not useful on other systems. If it contains results you don't
11122 # want to keep, you may remove or edit it.
11124 # config.status only pays attention to the cache file if you give it
11125 # the --recheck option to rerun configure.
11127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11129 # following values.
11133 # The following way of writing the cache mishandles newlines in values,
11134 # but we know of no workaround that is simple, portable, and efficient.
11135 # So, we kill variables containing newlines.
11136 # Ultrix sh set writes to stderr and can't be redirected directly,
11137 # and sets the high bit in the cache file unless we assign to the vars.
11139 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11140 eval ac_val
=\$
$ac_var
11144 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11148 _ | IFS | as_nl
) ;; #(
11149 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11150 *) { eval $ac_var=; unset $ac_var;} ;;
11156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11157 *${as_nl}ac_space
=\
*)
11158 # `set' does not quote correctly, so add quotes: double-quote
11159 # substitution turns \\\\ into \\, and sed turns \\ into \.
11162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11165 # `set' quotes correctly as required by POSIX, so do not add quotes.
11166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11179 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11180 if test -w "$cache_file"; then
11181 test "x$cache_file" != "x/dev/null" &&
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11183 $as_echo "$as_me: updating cache $cache_file" >&6;}
11184 cat confcache
>$cache_file
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11192 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11193 # Let make expand exec_prefix.
11194 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11196 DEFS
=-DHAVE_CONFIG_H
11200 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11201 # 1. Remove the extension, and $U if already installed.
11202 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11203 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11204 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11205 # will be set to the directory where LIBOBJS objects are built.
11206 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11207 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11209 LIBOBJS
=$ac_libobjs
11211 LTLIBOBJS
=$ac_ltlibobjs
11214 if test -n "$EXEEXT"; then
11216 am__EXEEXT_FALSE
='#'
11218 am__EXEEXT_TRUE
='#'
11222 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11223 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11226 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11227 as_fn_error
"conditional \"AMDEP\" was never defined.
11228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11230 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11231 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11234 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
11235 as_fn_error
"conditional \"NATIVE\" was never defined.
11236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11239 : ${CONFIG_STATUS=./config.status}
11241 ac_clean_files_save
=$ac_clean_files
11242 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11244 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11246 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11248 # Generated by $as_me.
11249 # Run this file to recreate the current configuration.
11250 # Compiler output produced by configure, useful for debugging
11251 # configure, is in config.log if it exists.
11254 ac_cs_recheck=false
11257 SHELL=\${CONFIG_SHELL-$SHELL}
11260 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11261 ## -------------------- ##
11262 ## M4sh Initialization. ##
11263 ## -------------------- ##
11265 # Be more Bourne compatible
11266 DUALCASE
=1; export DUALCASE
# for MKS sh
11267 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11270 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11271 # is contrary to our usage. Disable this feature.
11272 alias -g '${1+"$@"}'='"$@"'
11273 setopt NO_GLOB_SUBST
11275 case `(set -o) 2>/dev/null` in #(
11287 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11288 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11289 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11290 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11291 # Prefer a ksh shell builtin over an external printf program on Solaris,
11292 # but without wasting forks for bash or zsh.
11293 if test -z "$BASH_VERSION$ZSH_VERSION" \
11294 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11295 as_echo='print
-r --'
11296 as_echo_n='print
-rn --'
11297 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11298 as_echo='printf %s
\n'
11299 as_echo_n='printf %s
'
11301 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11302 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11303 as_echo_n='/usr
/ucb
/echo -n'
11305 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11306 as_echo_n_body='eval
11310 expr "X$arg" : "X\\(.*\\)$as_nl";
11311 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11313 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11315 export as_echo_n_body
11316 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11318 export as_echo_body
11319 as_echo='sh
-c $as_echo_body as_echo
'
11322 # The user is always right.
11323 if test "${PATH_SEPARATOR+set}" != set; then
11325 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11326 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11333 # We need space, tab and new line, in precisely that order. Quoting is
11334 # there to prevent editors from complaining about space-tab.
11335 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11336 # splitting by setting IFS to empty value.)
11339 # Find who we are. Look in the path if we contain no directory separator.
11341 *[\\/]* ) as_myself=$0 ;;
11342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11343 for as_dir in $PATH
11346 test -z "$as_dir" && as_dir=.
11347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11353 # We did not find ourselves, most probably we were run as `sh COMMAND'
11354 # in which case we are not to be found in the path.
11355 if test "x$as_myself" = x
; then
11358 if test ! -f "$as_myself"; then
11359 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11363 # Unset variables that we do not need and which cause bugs (e.g. in
11364 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11365 # suppresses any "Segmentation fault" message there. '((' could
11366 # trigger a bug in pdksh 5.2.14.
11367 for as_var
in BASH_ENV ENV MAIL MAILPATH
11368 do eval test x\
${$as_var+set} = xset \
11369 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11382 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11385 # as_fn_error ERROR [LINENO LOG_FD]
11386 # ---------------------------------
11387 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11388 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11389 # script with status $?, using 1 if that was 0.
11392 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11394 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11395 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11397 $as_echo "$as_me: error: $1" >&2
11398 as_fn_exit
$as_status
11402 # as_fn_set_status STATUS
11403 # -----------------------
11404 # Set $? to STATUS, without forking.
11405 as_fn_set_status
()
11408 } # as_fn_set_status
11410 # as_fn_exit STATUS
11411 # -----------------
11412 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11416 as_fn_set_status
$1
11422 # Portably unset VAR.
11425 { eval $1=; unset $1;}
11427 as_unset
=as_fn_unset
11428 # as_fn_append VAR VALUE
11429 # ----------------------
11430 # Append the text in VALUE to the end of the definition contained in VAR. Take
11431 # advantage of any shell optimizations that allow amortized linear growth over
11432 # repeated appends, instead of the typical quadratic growth present in naive
11434 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11435 eval 'as_fn_append ()
11446 # as_fn_arith ARG...
11447 # ------------------
11448 # Perform arithmetic evaluation on the ARGs, and store the result in the
11449 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11450 # must be portable across $(()) and expr.
11451 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11452 eval 'as_fn_arith ()
11459 as_val
=`expr "$@" || test $? -eq 1`
11464 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11465 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11471 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11472 as_basename
=basename
11477 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11483 as_me
=`$as_basename -- "$0" ||
11484 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11485 X"$0" : 'X\(//\)$' \| \
11486 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11488 sed '/^.*\/\([^/][^/]*\)\/*$/{
11502 # Avoid depending upon Character Ranges.
11503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11506 as_cr_digits
='0123456789'
11507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11509 ECHO_C
= ECHO_N
= ECHO_T
=
11510 case `echo -n x` in #(((((
11512 case `echo 'xy\c'` in
11513 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11515 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11522 rm -f conf$$ conf$$.exe conf$$.
file
11523 if test -d conf$$.dir
; then
11524 rm -f conf$$.dir
/conf$$.
file
11527 mkdir conf$$.dir
2>/dev
/null
11529 if (echo >conf$$.
file) 2>/dev
/null
; then
11530 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11532 # ... but there are two gotchas:
11533 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11534 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11535 # In both cases, we have to default to `cp -p'.
11536 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11538 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11546 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11547 rmdir conf$$.dir
2>/dev
/null
11552 # Create "$as_dir" as a directory, including parents if necessary.
11557 -*) as_dir
=.
/$as_dir;;
11559 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11563 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11564 *) as_qdir
=$as_dir;;
11566 as_dirs
="'$as_qdir' $as_dirs"
11567 as_dir
=`$as_dirname -- "$as_dir" ||
11568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11569 X"$as_dir" : 'X\(//\)[^/]' \| \
11570 X"$as_dir" : 'X\(//\)$' \| \
11571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11572 $as_echo X"$as_dir" |
11573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11577 /^X\(\/\/\)[^/].*/{
11590 test -d "$as_dir" && break
11592 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11593 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11597 if mkdir
-p .
2>/dev
/null
; then
11598 as_mkdir_p
='mkdir -p "$as_dir"'
11600 test -d .
/-p && rmdir .
/-p
11604 if test -x / >/dev
/null
2>&1; then
11605 as_test_x
='test -x'
11607 if ls -dL / >/dev
/null
2>&1; then
11614 if test -d "$1"; then
11620 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11621 ???[sx]*):;;*)false;;esac;fi
11625 as_executable_p
=$as_test_x
11627 # Sed expression to map a string onto a valid CPP name.
11628 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11630 # Sed expression to map a string onto a valid variable name.
11631 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11635 ## ----------------------------------- ##
11636 ## Main body of $CONFIG_STATUS script. ##
11637 ## ----------------------------------- ##
11639 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11642 # Save the log message, to keep $0 and so on meaningful, and to
11643 # report actual input values of CONFIG_FILES etc. instead of their
11644 # values after options handling.
11646 This file was extended by package-unused $as_me version-unused, which was
11647 generated by GNU Autoconf 2.64. Invocation command line was
11649 CONFIG_FILES = $CONFIG_FILES
11650 CONFIG_HEADERS = $CONFIG_HEADERS
11651 CONFIG_LINKS = $CONFIG_LINKS
11652 CONFIG_COMMANDS = $CONFIG_COMMANDS
11655 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11660 case $ac_config_files in *"
11661 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11664 case $ac_config_headers in *"
11665 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11670 # Files that config.status was made for.
11671 config_files="$ac_config_files"
11672 config_headers="$ac_config_headers"
11673 config_commands="$ac_config_commands"
11677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11679 \`$as_me' instantiates files and other configuration actions
11680 from templates according to the current configuration. Unless the files
11681 and actions are specified as TAGs, all are instantiated by default.
11683 Usage: $0 [OPTION]... [TAG]...
11685 -h, --help print this help, then exit
11686 -V, --version print version number and configuration settings, then exit
11687 -q, --quiet, --silent
11688 do not print progress messages
11689 -d, --debug don't remove temporary files
11690 --recheck update $as_me by reconfiguring in the same conditions
11691 --file=FILE[:TEMPLATE]
11692 instantiate the configuration file FILE
11693 --header=FILE[:TEMPLATE]
11694 instantiate the configuration header FILE
11696 Configuration files:
11699 Configuration headers:
11702 Configuration commands:
11705 Report bugs to the package provider."
11708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11710 package-unused config.status version-unused
11711 configured by $0, generated by GNU Autoconf 2.64,
11712 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11714 Copyright (C) 2009 Free Software Foundation, Inc.
11715 This config.status script is free software; the Free Software Foundation
11716 gives unlimited permission to copy, distribute and modify it."
11723 test -n "\$AWK" || AWK=awk
11726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11727 # The default lists apply if the user does not specify any file.
11733 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11734 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11745 # Handling of the options.
11746 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11748 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11749 $as_echo "$ac_cs_version"; exit ;;
11750 --debug |
--debu |
--deb |
--de |
--d |
-d )
11752 --file |
--fil |
--fi |
--f )
11755 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11757 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11758 ac_need_defaults
=false
;;
11759 --header |
--heade |
--head |
--hea )
11762 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11764 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11765 ac_need_defaults
=false
;;
11767 # Conflict between --help and --header
11768 as_fn_error
"ambiguous option: \`$1'
11769 Try \`$0 --help' for more information.";;
11770 --help |
--hel |
-h )
11771 $as_echo "$ac_cs_usage"; exit ;;
11772 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11773 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11776 # This is an error.
11777 -*) as_fn_error
"unrecognized option: \`$1'
11778 Try \`$0 --help' for more information." ;;
11780 *) as_fn_append ac_config_targets
" $1"
11781 ac_need_defaults
=false
;;
11787 ac_configure_extra_args
=
11789 if $ac_cs_silent; then
11791 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11796 if \$ac_cs_recheck; then
11797 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11799 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11800 CONFIG_SHELL='$SHELL'
11801 export CONFIG_SHELL
11806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11810 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11811 ## Running $as_me. ##
11817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11821 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11824 # The HP-UX ksh and POSIX shell print the target directory to stdout
11825 # if CDPATH is set.
11826 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11828 sed_quote_subst='$sed_quote_subst'
11829 double_quote_subst='$double_quote_subst'
11830 delay_variable_subst='$delay_variable_subst'
11831 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11832 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11833 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11834 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11835 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11836 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11837 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11838 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11839 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11840 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11841 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11842 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11843 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11844 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11845 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11846 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11847 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11848 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11849 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11850 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11851 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11852 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11853 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11854 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11855 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11856 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11857 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11858 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11859 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11860 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11861 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11862 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11863 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11864 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11865 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11866 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11867 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11868 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11869 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11870 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11871 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11872 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11873 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11874 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11875 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11876 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11877 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11878 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11879 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"`'
11880 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11881 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11882 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11883 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11884 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11885 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11886 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11887 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11888 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11889 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11890 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11891 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11892 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11893 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11894 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11895 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11896 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11897 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11898 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11899 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11900 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11901 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11902 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11903 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11904 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11905 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11906 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11907 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11908 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11909 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11910 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11911 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11912 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
11913 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
11914 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
11915 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
11916 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
11917 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
11918 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
11919 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
11920 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
11921 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
11922 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
11923 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
11924 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
11925 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
11926 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
11927 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
11928 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
11929 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
11930 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
11931 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
11932 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
11933 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
11934 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
11935 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
11936 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
11937 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
11938 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11939 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11940 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
11941 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
11942 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
11943 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
11944 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
11945 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
11946 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
11947 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
11948 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
11949 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
11950 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
11953 LTCFLAGS='$LTCFLAGS'
11954 compiler='$compiler_DEFAULT'
11956 # A function that is used when there is no print builtin or printf.
11957 func_fallback_echo ()
11959 eval 'cat <<_LTECHO_EOF
11964 # Quote evaled strings.
11978 deplibs_check_method \
11987 lt_cv_sys_global_symbol_pipe \
11988 lt_cv_sys_global_symbol_to_cdecl \
11989 lt_cv_sys_global_symbol_to_c_name_address \
11990 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11991 lt_prog_compiler_no_builtin_flag \
11992 lt_prog_compiler_wl \
11993 lt_prog_compiler_pic \
11994 lt_prog_compiler_static \
11995 lt_cv_prog_compiler_c_o \
12003 export_dynamic_flag_spec \
12004 whole_archive_flag_spec \
12005 compiler_needs_object \
12007 allow_undefined_flag \
12008 no_undefined_flag \
12009 hardcode_libdir_flag_spec \
12010 hardcode_libdir_flag_spec_ld \
12011 hardcode_libdir_separator \
12016 variables_saved_for_relink \
12018 library_names_spec \
12020 install_override_mode \
12024 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12025 *[\\\\\\\`\\"\\\$]*)
12026 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12029 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12034 # Double-quote double-evaled strings.
12035 for var in reload_cmds \
12036 old_postinstall_cmds \
12037 old_postuninstall_cmds \
12039 extract_expsyms_cmds \
12040 old_archive_from_new_cmds \
12041 old_archive_from_expsyms_cmds \
12043 archive_expsym_cmds \
12045 module_expsym_cmds \
12046 export_symbols_cmds \
12049 postuninstall_cmds \
12051 sys_lib_search_path_spec \
12052 sys_lib_dlsearch_path_spec; do
12053 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12054 *[\\\\\\\`\\"\\\$]*)
12055 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12058 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12063 ac_aux_dir='$ac_aux_dir'
12064 xsi_shell='$xsi_shell'
12065 lt_shell_append='$lt_shell_append'
12067 # See if we are running on zsh, and set the options which allow our
12068 # commands through without removal of \ escapes INIT.
12069 if test -n "\${ZSH_VERSION+set}" ; then
12070 setopt NO_GLOB_SUBST
12076 TIMESTAMP='$TIMESTAMP'
12086 with_multisubdir="$with_multisubdir"
12087 with_multisrctop="$with_multisrctop"
12088 with_target_subdir="$with_target_subdir"
12089 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12090 multi_basedir="$multi_basedir"
12091 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12094 GFORTRAN="$GFORTRAN"
12097 # Variables needed in config.status (file generation) which aren't already
12098 # passed by autoconf.
12104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12106 # Handling of arguments.
12107 for ac_config_target
in $ac_config_targets
12109 case $ac_config_target in
12110 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12111 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12112 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12113 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12114 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12115 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
12116 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12118 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12123 # If the user did not use the arguments to specify the items to instantiate,
12124 # then the envvar interface is used. Set only those that are not.
12125 # We use the long form for the default assignment because of an extremely
12126 # bizarre bug on SunOS 4.1.3.
12127 if $ac_need_defaults; then
12128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12133 # Have a temporary directory for convenience. Make it in the build tree
12134 # simply because there is no reason against having it here, and in addition,
12135 # creating and moving files from /tmp can sometimes cause problems.
12136 # Hook for its removal unless debugging.
12137 # Note that there is a small window in which the directory will not be cleaned:
12138 # after its creation but before its name has been assigned to `$tmp'.
12142 trap 'exit_status=$?
12143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12145 trap 'as_fn_exit 1' 1 2 13 15
12147 # Create a (secure) tmp directory for tmp files.
12150 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12151 test -n "$tmp" && test -d "$tmp"
12154 tmp
=.
/conf$$
-$RANDOM
12155 (umask 077 && mkdir
"$tmp")
12156 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12158 # Set up the scripts for CONFIG_FILES section.
12159 # No need to generate them if there are no CONFIG_FILES.
12160 # This happens for instance with `./config.status config.h'.
12161 if test -n "$CONFIG_FILES"; then
12164 ac_cr
=`echo X | tr X '\015'`
12165 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12166 # But we know of no other shell where ac_cr would be empty at this
12167 # point, so we can use a bashism as a fallback.
12168 if test "x$ac_cr" = x
; then
12169 eval ac_cr
=\$
\'\\r
\'
12171 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12172 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12175 ac_cs_awk_cr
=$ac_cr
12178 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12183 echo "cat >conf$$subs.awk <<_ACEOF" &&
12184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12186 } >conf$$subs.sh ||
12187 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12188 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12190 for ac_last_try in false false false false false :; do
12191 . ./conf$$subs.sh ||
12192 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12194 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12195 if test $ac_delim_n = $ac_delim_num; then
12197 elif $ac_last_try; then
12198 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12200 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12203 rm -f conf$$subs.sh
12205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12206 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12210 s/^/S["/; s
/!.
*/"]=/
12220 s/\(.\{148\}\).*/\1/
12222 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12227 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12234 s/\(.\{148\}\).*/\1/
12236 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12240 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12245 ' <conf$$subs.awk | sed '
12250 ' >>$CONFIG_STATUS || ac_write_fail=1
12251 rm -f conf$$subs.awk
12252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12254 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12255 for (key in S) S_is_set[key] = 1
12261 nfields = split(line, field, "@
")
12263 len = length(field[1])
12264 for (i = 2; i < nfields; i++) {
12266 keylen = length(key)
12267 if (S_is_set[key]) {
12269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12270 len += length(value) + length(field[++i])
12281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12282 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12283 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12286 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12287 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12292 # trailing colons and then remove the whole line if VPATH becomes empty
12293 # (actually we leave an empty line to preserve line numbers).
12294 if test "x
$srcdir" = x.; then
12295 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12296 s/:*\$(srcdir):*/:/
12297 s/:*\${srcdir}:*/:/
12299 s/^\([^=]*=[ ]*\):*/\1/
12305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12306 fi # test -n "$CONFIG_FILES"
12308 # Set up the scripts for CONFIG_HEADERS section.
12309 # No need to generate them if there are no CONFIG_HEADERS.
12310 # This happens for instance with `./config.status Makefile'.
12311 if test -n "$CONFIG_HEADERS"; then
12312 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12316 # Transform confdefs.h into an awk script `defines.awk', embedded as
12317 # here-document in config.status, that substitutes the proper values into
12318 # config.h.in to produce config.h.
12320 # Create a delimiter string that does not exist in confdefs.h, to ease
12321 # handling of long lines.
12323 for ac_last_try in false false :; do
12324 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12325 if test -z "$ac_t"; then
12327 elif $ac_last_try; then
12328 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12330 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12334 # For the awk script, D is an array of macro values keyed by name,
12335 # likewise P contains macro parameters if any. Preserve backslash
12336 # newline sequences.
12338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12340 s/.\{148\}/&'"$ac_delim"'/g
12343 s/^[ ]*#[ ]*define[ ][ ]*/ /
12350 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12352 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12357 D["\
1"]=" \
3\\\\\\n
"\\/p
12359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12364 s/.\{148\}/&'"$ac_delim"'/g
12369 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12372 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12374 ' <confdefs.h | sed '
12375 s/'"$ac_delim"'/"\\\
12376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12379 for (key in D) D_is_set[key] = 1
12382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12384 split(line, arg, " ")
12385 if (arg[1] == "#") {
12389 defundef
= substr
(arg
[1], 2)
12392 split(mac1
, mac2
, "(") #)
12394 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12395 if (D_is_set
[macro
]) {
12396 # Preserve the white space surrounding the "#".
12397 print prefix
"define", macro P
[macro
] D
[macro
]
12400 # Replace #undef with comments. This is necessary, for example,
12401 # in the case of _POSIX_SOURCE, which is predefined and required
12402 # on some systems where configure will not decide to define it.
12403 if (defundef
== "undef") {
12404 print
"/*", prefix defundef
, macro
, "*/"
12412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12413 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12414 fi # test -n "$CONFIG_HEADERS"
12417 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12422 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12424 case $ac_mode$ac_tag in
12426 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12427 :[FH
]-) ac_tag
=-:-;;
12428 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12445 -) ac_f
="$tmp/stdin";;
12446 *) # Look for the file first in the build tree, then in the source tree
12447 # (if the path is not absolute). The absolute path cannot be DOS-style,
12448 # because $ac_f cannot contain `:'.
12452 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12454 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12456 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12457 as_fn_append ac_file_inputs
" '$ac_f'"
12460 # Let's still pretend it is `configure' which instantiates (i.e., don't
12461 # use $as_me), people would be surprised to read:
12462 # /* config.h. Generated by config.status. */
12463 configure_input
='Generated from '`
12464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12466 if test x
"$ac_file" != x-
; then
12467 configure_input
="$ac_file. $configure_input"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12469 $as_echo "$as_me: creating $ac_file" >&6;}
12471 # Neutralize special characters interpreted by sed in replacement strings.
12472 case $configure_input in #(
12473 *\
&* |
*\|
* |
*\\* )
12474 ac_sed_conf_input
=`$as_echo "$configure_input" |
12475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12476 *) ac_sed_conf_input
=$configure_input;;
12480 *:-:* |
*:-) cat >"$tmp/stdin" \
12481 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12486 ac_dir
=`$as_dirname -- "$ac_file" ||
12487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12488 X"$ac_file" : 'X\(//\)[^/]' \| \
12489 X"$ac_file" : 'X\(//\)$' \| \
12490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12491 $as_echo X"$ac_file" |
12492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12496 /^X\(\/\/\)[^/].*/{
12509 as_dir
="$ac_dir"; as_fn_mkdir_p
12513 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12515 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12516 # A ".." for each directory in $ac_dir_suffix.
12517 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12518 case $ac_top_builddir_sub in
12519 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12520 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12523 ac_abs_top_builddir
=$ac_pwd
12524 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12525 # for backward compatibility:
12526 ac_top_builddir
=$ac_top_build_prefix
12529 .
) # We are building in place.
12531 ac_top_srcdir
=$ac_top_builddir_sub
12532 ac_abs_top_srcdir
=$ac_pwd ;;
12533 [\\/]* | ?
:[\\/]* ) # Absolute name.
12534 ac_srcdir
=$srcdir$ac_dir_suffix;
12535 ac_top_srcdir
=$srcdir
12536 ac_abs_top_srcdir
=$srcdir ;;
12537 *) # Relative name.
12538 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12539 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12540 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12542 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12552 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12553 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12555 ac_MKDIR_P
=$MKDIR_P
12557 [\\/$
]* | ?
:[\\/]* ) ;;
12558 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12563 # If the template does not know about datarootdir, expand it.
12564 # FIXME: This hack should be removed a few years after 2.60.
12565 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12577 *datarootdir
*) ac_datarootdir_seen
=yes;;
12578 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12580 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12583 ac_datarootdir_hack='
12584 s&@datadir@&$datadir&g
12585 s&@docdir@&$docdir&g
12586 s&@infodir@&$infodir&g
12587 s&@localedir@&$localedir&g
12588 s&@mandir@&$mandir&g
12589 s&\\\${datarootdir}&$datarootdir&g' ;;
12593 # Neutralize VPATH when `$srcdir' = `.'.
12594 # Shell code in configure.ac might set extrasub.
12595 # FIXME: do we really want to maintain this feature?
12596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12597 ac_sed_extra="$ac_vpsub
12600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12602 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12603 s|@configure_input@|
$ac_sed_conf_input|
;t t
12604 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12605 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12606 s
&@srcdir@
&$ac_srcdir&;t t
12607 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12608 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12609 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12610 s
&@builddir@
&$ac_builddir&;t t
12611 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12612 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12613 s
&@INSTALL@
&$ac_INSTALL&;t t
12614 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12615 $ac_datarootdir_hack
12617 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12618 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12621 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12624 which seems to be undefined. Please make sure it is defined." >&5
12625 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12626 which seems to be undefined. Please make sure it is defined." >&2;}
12630 -) cat "$tmp/out" && rm -f "$tmp/out";;
12631 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12633 || as_fn_error "could not create $ac_file" "$LINENO" 5
12639 if test x"$ac_file" != x-; then
12641 $as_echo "/* $configure_input */" \
12642 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12643 } >"$tmp/config.h" \
12644 || as_fn_error "could not create $ac_file" "$LINENO" 5
12645 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12647 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12650 mv "$tmp/config.h" "$ac_file" \
12651 || as_fn_error "could not create $ac_file" "$LINENO" 5
12654 $as_echo "/* $configure_input */" \
12655 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12656 || as_fn_error "could not create -" "$LINENO" 5
12658 # Compute "$ac_file"'s index
in $config_headers.
12661 for _am_header
in $config_headers :; do
12662 case $_am_header in
12663 $_am_arg |
$_am_arg:* )
12666 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12669 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12670 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12671 X"$_am_arg" : 'X\(//\)[^/]' \| \
12672 X"$_am_arg" : 'X\(//\)$' \| \
12673 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12674 $as_echo X"$_am_arg" |
12675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12679 /^X\(\/\/\)[^/].*/{
12691 s/.*/./; q'`/stamp-h
$_am_stamp_count
12694 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12695 $as_echo "$as_me: executing $ac_file commands" >&6;}
12700 case $ac_file$ac_mode in
12701 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12702 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12703 # are listed without --file. Let's play safe and only enable the eval
12704 # if we detect the quoting.
12705 case $CONFIG_FILES in
12706 *\'*) eval set x
"$CONFIG_FILES" ;;
12707 *) set x
$CONFIG_FILES ;;
12712 # Strip MF so we end up with the name of the file.
12713 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12714 # Check whether this is an Automake generated Makefile or not.
12715 # We used to match only the files named `Makefile.in', but
12716 # some people rename them; so instead we look at the file content.
12717 # Grep'ing the first line is not enough: some people post-process
12718 # each Makefile.in and add a new line on top of each file to say so.
12719 # Grep'ing the whole file is not good either: AIX grep has a line
12720 # limit of 2048, but all sed's we know have understand at least 4000.
12721 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12722 dirpart
=`$as_dirname -- "$mf" ||
12723 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12724 X"$mf" : 'X\(//\)[^/]' \| \
12725 X"$mf" : 'X\(//\)$' \| \
12726 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12732 /^X\(\/\/\)[^/].*/{
12748 # Extract the definition of DEPDIR, am__include, and am__quote
12749 # from the Makefile without running `make'.
12750 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12751 test -z "$DEPDIR" && continue
12752 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12753 test -z "am__include" && continue
12754 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12755 # When using ansi2knr, U may be empty or an underscore; expand it
12756 U
=`sed -n 's/^U = //p' < "$mf"`
12757 # Find all dependency output files, they are included files with
12758 # $(DEPDIR) in their names. We invoke sed twice because it is the
12759 # simplest approach to changing $(DEPDIR) to its actual value in the
12761 for file in `sed -n "
12762 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12763 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12764 # Make sure the directory exists.
12765 test -f "$dirpart/$file" && continue
12766 fdir
=`$as_dirname -- "$file" ||
12767 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12768 X"$file" : 'X\(//\)[^/]' \| \
12769 X"$file" : 'X\(//\)$' \| \
12770 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12771 $as_echo X"$file" |
12772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12776 /^X\(\/\/\)[^/].*/{
12789 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12790 # echo "creating $dirpart/$file"
12791 echo '# dummy' > "$dirpart/$file"
12798 # See if we are running on zsh, and set the options which allow our
12799 # commands through without removal of \ escapes.
12800 if test -n "${ZSH_VERSION+set}" ; then
12801 setopt NO_GLOB_SUBST
12804 cfgfile
="${ofile}T"
12805 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12808 cat <<_LT_EOF >> "$cfgfile"
12811 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12812 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12813 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12814 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12816 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12817 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12818 # Written by Gordon Matzigkeit, 1996
12820 # This file is part of GNU Libtool.
12822 # GNU Libtool is free software; you can redistribute it and/or
12823 # modify it under the terms of the GNU General Public License as
12824 # published by the Free Software Foundation; either version 2 of
12825 # the License, or (at your option) any later version.
12827 # As a special exception to the GNU General Public License,
12828 # if you distribute this file as part of a program or library that
12829 # is built using GNU Libtool, you may include this file under the
12830 # same distribution terms that you use for the rest of that program.
12832 # GNU Libtool is distributed in the hope that it will be useful,
12833 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12835 # GNU General Public License for more details.
12837 # You should have received a copy of the GNU General Public License
12838 # along with GNU Libtool; see the file COPYING. If not, a copy
12839 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12840 # obtained by writing to the Free Software Foundation, Inc.,
12841 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12844 # The names of the tagged configurations supported by this script.
12847 # ### BEGIN LIBTOOL CONFIG
12849 # Which release of libtool.m4 was used?
12850 macro_version=$macro_version
12851 macro_revision=$macro_revision
12853 # Whether or not to build shared libraries.
12854 build_libtool_libs=$enable_shared
12856 # Whether or not to build static libraries.
12857 build_old_libs=$enable_static
12859 # What type of objects to build.
12862 # Whether or not to optimize for fast installation.
12863 fast_install=$enable_fast_install
12865 # Shell to use when invoking shell scripts.
12868 # An echo program that protects backslashes.
12872 host_alias=$host_alias
12876 # The build system.
12877 build_alias=$build_alias
12881 # A sed program that does not truncate output.
12884 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12885 Xsed="\$SED -e 1s/^X//"
12887 # A grep program that handles long lines.
12893 # A literal string matcher.
12896 # A BSD- or MS-compatible name lister.
12899 # Whether we need soft or hard links.
12902 # What is the maximum length of a command?
12903 max_cmd_len=$max_cmd_len
12905 # Object file suffix (normally "o").
12908 # Executable file suffix (normally "").
12911 # whether the shell understands "unset".
12914 # turn spaces into newlines.
12917 # turn newlines into spaces.
12920 # An object symbol dumper.
12921 OBJDUMP=$lt_OBJDUMP
12923 # Method to check whether dependent libraries are shared objects.
12924 deplibs_check_method=$lt_deplibs_check_method
12926 # Command to use when deplibs_check_method == "file_magic".
12927 file_magic_cmd=$lt_file_magic_cmd
12931 AR_FLAGS=$lt_AR_FLAGS
12933 # A symbol stripping program.
12936 # Commands used to install an old-style archive.
12938 old_postinstall_cmds=$lt_old_postinstall_cmds
12939 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12941 # Whether to use a lock for old archive extraction.
12942 lock_old_archive_extraction=$lock_old_archive_extraction
12947 # LTCC compiler flags.
12948 LTCFLAGS=$lt_CFLAGS
12950 # Take the output of nm and produce a listing of raw symbols and C names.
12951 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12953 # Transform the output of nm in a proper C declaration.
12954 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12956 # Transform the output of nm in a C name address pair.
12957 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12959 # Transform the output of nm in a C name address pair when lib prefix is needed.
12960 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12962 # The name of the directory that contains temporary libtool files.
12965 # Used to examine libraries when file_magic_cmd begins with "file".
12966 MAGIC_CMD=$MAGIC_CMD
12968 # Must we lock files when doing compilation?
12969 need_locks=$lt_need_locks
12971 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12972 DSYMUTIL=$lt_DSYMUTIL
12974 # Tool to change global to local symbols on Mac OS X.
12977 # Tool to manipulate fat objects and archives on Mac OS X.
12980 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12983 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12984 OTOOL64=$lt_OTOOL64
12986 # Old archive suffix (normally "a").
12989 # Shared library suffix (normally ".so").
12990 shrext_cmds=$lt_shrext_cmds
12992 # The commands to extract the exported symbol list from a shared archive.
12993 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12995 # Variables whose values should be saved in libtool wrapper scripts and
12996 # restored at link time.
12997 variables_saved_for_relink=$lt_variables_saved_for_relink
12999 # Do we need the "lib" prefix for modules?
13000 need_lib_prefix=$need_lib_prefix
13002 # Do we need a version for libraries?
13003 need_version=$need_version
13005 # Library versioning type.
13006 version_type=$version_type
13008 # Shared library runtime path variable.
13009 runpath_var=$runpath_var
13011 # Shared library path variable.
13012 shlibpath_var=$shlibpath_var
13014 # Is shlibpath searched before the hard-coded library search path?
13015 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13017 # Format of library name prefix.
13018 libname_spec=$lt_libname_spec
13020 # List of archive names. First name is the real one, the rest are links.
13021 # The last name is the one that the linker finds with -lNAME
13022 library_names_spec=$lt_library_names_spec
13024 # The coded name of the library, if different from the real name.
13025 soname_spec=$lt_soname_spec
13027 # Permission mode override for installation of shared libraries.
13028 install_override_mode=$lt_install_override_mode
13030 # Command to use after installation of a shared archive.
13031 postinstall_cmds=$lt_postinstall_cmds
13033 # Command to use after uninstallation of a shared archive.
13034 postuninstall_cmds=$lt_postuninstall_cmds
13036 # Commands used to finish a libtool library installation in a directory.
13037 finish_cmds=$lt_finish_cmds
13039 # As "finish_cmds", except a single script fragment to be evaled but
13041 finish_eval=$lt_finish_eval
13043 # Whether we should hardcode library paths into libraries.
13044 hardcode_into_libs=$hardcode_into_libs
13046 # Compile-time system search path for libraries.
13047 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13049 # Run-time system search path for libraries.
13050 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13052 # Whether dlopen is supported.
13053 dlopen_support=$enable_dlopen
13055 # Whether dlopen of programs is supported.
13056 dlopen_self=$enable_dlopen_self
13058 # Whether dlopen of statically linked programs is supported.
13059 dlopen_self_static=$enable_dlopen_self_static
13061 # Commands to strip libraries.
13062 old_striplib=$lt_old_striplib
13063 striplib=$lt_striplib
13066 # The linker used to build libraries.
13069 # How to create reloadable object files.
13070 reload_flag=$lt_reload_flag
13071 reload_cmds=$lt_reload_cmds
13073 # Commands used to build an old-style archive.
13074 old_archive_cmds=$lt_old_archive_cmds
13076 # A language specific compiler.
13079 # Is the compiler the GNU compiler?
13082 # Compiler flag to turn off builtin functions.
13083 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13085 # How to pass a linker flag through the compiler.
13086 wl=$lt_lt_prog_compiler_wl
13088 # Additional compiler flags for building library objects.
13089 pic_flag=$lt_lt_prog_compiler_pic
13091 # Compiler flag to prevent dynamic linking.
13092 link_static_flag=$lt_lt_prog_compiler_static
13094 # Does compiler simultaneously support -c and -o options?
13095 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13097 # Whether or not to add -lc for building shared libraries.
13098 build_libtool_need_lc=$archive_cmds_need_lc
13100 # Whether or not to disallow shared libs when runtime libs are static.
13101 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13103 # Compiler flag to allow reflexive dlopens.
13104 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13106 # Compiler flag to generate shared objects directly from archives.
13107 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13109 # Whether the compiler copes with passing no objects directly.
13110 compiler_needs_object=$lt_compiler_needs_object
13112 # Create an old-style archive from a shared archive.
13113 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13115 # Create a temporary old-style archive to link instead of a shared archive.
13116 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13118 # Commands used to build a shared archive.
13119 archive_cmds=$lt_archive_cmds
13120 archive_expsym_cmds=$lt_archive_expsym_cmds
13122 # Commands used to build a loadable module if different from building
13123 # a shared archive.
13124 module_cmds=$lt_module_cmds
13125 module_expsym_cmds=$lt_module_expsym_cmds
13127 # Whether we are building with GNU ld or not.
13128 with_gnu_ld=$lt_with_gnu_ld
13130 # Flag that allows shared libraries with undefined symbols to be built.
13131 allow_undefined_flag=$lt_allow_undefined_flag
13133 # Flag that enforces no undefined symbols.
13134 no_undefined_flag=$lt_no_undefined_flag
13136 # Flag to hardcode \$libdir into a binary during linking.
13137 # This must work even if \$libdir does not exist
13138 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13140 # If ld is used when linking, flag to hardcode \$libdir into a binary
13141 # during linking. This must work even if \$libdir does not exist.
13142 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13144 # Whether we need a single "-rpath" flag with a separated argument.
13145 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13147 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13148 # DIR into the resulting binary.
13149 hardcode_direct=$hardcode_direct
13151 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13152 # DIR into the resulting binary and the resulting library dependency is
13153 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13154 # library is relocated.
13155 hardcode_direct_absolute=$hardcode_direct_absolute
13157 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13158 # into the resulting binary.
13159 hardcode_minus_L=$hardcode_minus_L
13161 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13162 # into the resulting binary.
13163 hardcode_shlibpath_var=$hardcode_shlibpath_var
13165 # Set to "yes" if building a shared library automatically hardcodes DIR
13166 # into the library and all subsequent libraries and executables linked
13168 hardcode_automatic=$hardcode_automatic
13170 # Set to yes if linker adds runtime paths of dependent libraries
13171 # to runtime path list.
13172 inherit_rpath=$inherit_rpath
13174 # Whether libtool must link a program against all its dependency libraries.
13175 link_all_deplibs=$link_all_deplibs
13177 # Fix the shell variable \$srcfile for the compiler.
13178 fix_srcfile_path=$lt_fix_srcfile_path
13180 # Set to "yes" if exported symbols are required.
13181 always_export_symbols=$always_export_symbols
13183 # The commands to list exported symbols.
13184 export_symbols_cmds=$lt_export_symbols_cmds
13186 # Symbols that should not be listed in the preloaded symbols.
13187 exclude_expsyms=$lt_exclude_expsyms
13189 # Symbols that must always be exported.
13190 include_expsyms=$lt_include_expsyms
13192 # Commands necessary for linking programs (against libraries) with templates.
13193 prelink_cmds=$lt_prelink_cmds
13195 # Specify filename containing input files.
13196 file_list_spec=$lt_file_list_spec
13198 # How to hardcode a shared library path into an executable.
13199 hardcode_action=$hardcode_action
13201 # ### END LIBTOOL CONFIG
13207 cat <<\_LT_EOF
>> "$cfgfile"
13208 # AIX sometimes has problems with the GCC collect2 program. For some
13209 # reason, if we set the COLLECT_NAMES environment variable, the problems
13210 # vanish in a puff of smoke.
13211 if test "X${COLLECT_NAMES+set}" != Xset
; then
13213 export COLLECT_NAMES
13220 ltmain
="$ac_aux_dir/ltmain.sh"
13223 # We use sed instead of cat because bash on DJGPP gets confused if
13224 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13225 # text mode, it properly converts lines to CR/LF. This bash problem
13226 # is reportedly fixed, but why not run on old versions too?
13227 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13228 ||
(rm -f "$cfgfile"; exit 1)
13232 cat << \_LT_EOF
>> "$cfgfile"
13234 # func_dirname file append nondir_replacement
13235 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13236 # otherwise set result to NONDIR_REPLACEMENT.
13240 */*) func_dirname_result
="${1%/*}${2}" ;;
13241 * ) func_dirname_result
="${3}" ;;
13245 # func_basename file
13248 func_basename_result
="${1##*/}"
13251 # func_dirname_and_basename file append nondir_replacement
13252 # perform func_basename and func_dirname in a single function
13254 # dirname: Compute the dirname of FILE. If nonempty,
13255 # add APPEND to the result, otherwise set result
13256 # to NONDIR_REPLACEMENT.
13257 # value returned in "$func_dirname_result"
13258 # basename: Compute filename of FILE.
13259 # value retuned in "$func_basename_result"
13260 # Implementation must be kept synchronized with func_dirname
13261 # and func_basename. For efficiency, we do not delegate to
13262 # those functions but instead duplicate the functionality here.
13263 func_dirname_and_basename
()
13266 */*) func_dirname_result
="${1%/*}${2}" ;;
13267 * ) func_dirname_result
="${3}" ;;
13269 func_basename_result
="${1##*/}"
13272 # func_stripname prefix suffix name
13273 # strip PREFIX and SUFFIX off of NAME.
13274 # PREFIX and SUFFIX must not contain globbing or regex special
13275 # characters, hashes, percent signs, but SUFFIX may contain a leading
13276 # dot (in which case that matches only a dot).
13279 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13280 # positional parameters, so assign one to ordinary parameter first.
13281 func_stripname_result
=${3}
13282 func_stripname_result
=${func_stripname_result#"${1}"}
13283 func_stripname_result
=${func_stripname_result%"${2}"}
13289 func_opt_split_opt
=${1%%=*}
13290 func_opt_split_arg
=${1#*=}
13297 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13298 *) func_lo2o_result
=${1} ;;
13302 # func_xform libobj-or-source
13305 func_xform_result
=${1%.*}.lo
13308 # func_arith arithmetic-term...
13311 func_arith_result
=$
(( $
* ))
13315 # STRING may not start with a hyphen.
13318 func_len_result
=${#1}
13323 *) # Bourne compatible functions.
13324 cat << \_LT_EOF
>> "$cfgfile"
13326 # func_dirname file append nondir_replacement
13327 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13328 # otherwise set result to NONDIR_REPLACEMENT.
13331 # Extract subdirectory from the argument.
13332 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13333 if test "X$func_dirname_result" = "X${1}"; then
13334 func_dirname_result
="${3}"
13336 func_dirname_result
="$func_dirname_result${2}"
13340 # func_basename file
13343 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13347 # func_stripname prefix suffix name
13348 # strip PREFIX and SUFFIX off of NAME.
13349 # PREFIX and SUFFIX must not contain globbing or regex special
13350 # characters, hashes, percent signs, but SUFFIX may contain a leading
13351 # dot (in which case that matches only a dot).
13352 # func_strip_suffix prefix name
13356 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13357 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13362 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13363 my_sed_long_arg
='1s/^-[^=]*=//'
13368 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13369 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13375 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13378 # func_xform libobj-or-source
13381 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13384 # func_arith arithmetic-term...
13387 func_arith_result
=`expr "$@"`
13391 # STRING may not start with a hyphen.
13394 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13400 case $lt_shell_append in
13402 cat << \_LT_EOF
>> "$cfgfile"
13404 # func_append var value
13405 # Append VALUE to the end of shell variable VAR.
13413 cat << \_LT_EOF
>> "$cfgfile"
13415 # func_append var value
13416 # Append VALUE to the end of shell variable VAR.
13427 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13428 ||
(rm -f "$cfgfile"; exit 1)
13430 mv -f "$cfgfile" "$ofile" ||
13431 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13436 # Only add multilib support code if we just rebuilt the top-level
13438 case " $CONFIG_FILES " in
13440 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13443 "default":C
) if test -n "$CONFIG_FILES"; then
13444 if test -n "${with_target_subdir}"; then
13445 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
13446 # that multilib installs will end up installed in the correct place.
13447 # The testsuite needs it for multilib-aware ABI baseline files.
13448 # To work around this not being passed down from config-ml.in ->
13449 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
13450 # append it here. Only modify Makefiles that have just been created.
13452 # Also, get rid of this simulated-VPATH thing that automake does.
13453 cat > vpsed
<< \_EOF
13454 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13456 for i
in $SUBDIRS; do
13457 case $CONFIG_FILES in
13459 #echo "Adding MULTISUBDIR to $i/Makefile"
13460 sed -f vpsed
$i/Makefile
> tmp
13461 grep '^MULTISUBDIR =' Makefile
>> tmp
13477 ac_clean_files
=$ac_clean_files_save
13479 test $ac_write_fail = 0 ||
13480 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13483 # configure is writing to config.log, and then calls config.status.
13484 # config.status does its own redirection, appending to config.log.
13485 # Unfortunately, on DOS this fails, as config.log is still kept open
13486 # by configure, so config.status won't be able to write to it; its
13487 # output is simply discarded. So we exec the FD to /dev/null,
13488 # effectively closing config.log, so it can be properly (re)opened and
13489 # appended to by config.status. When coming back to configure, we
13490 # need to make the FD available again.
13491 if test "$no_create" != yes; then
13493 ac_config_status_args
=
13494 test "$silent" = yes &&
13495 ac_config_status_args
="$ac_config_status_args --quiet"
13497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13500 # would make configure fail if this is the last instruction.
13501 $ac_cs_success || as_fn_exit $?
13503 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13505 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}