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
1827 # ac_fn_c_check_decl LINENO SYMBOL VAR
1828 # ------------------------------------
1829 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1830 ac_fn_c_check_decl
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1834 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1836 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1837 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1846 #ifndef $as_decl_name
1848 (void) $as_decl_use;
1850 (void) $as_decl_name;
1858 if ac_fn_c_try_compile
"$LINENO"; then :
1863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1870 } # ac_fn_c_check_decl
1871 cat >config.log
<<_ACEOF
1872 This file contains any messages produced by compilers while
1873 running configure, to aid debugging if configure makes a mistake.
1875 It was created by package-unused $as_me version-unused, which was
1876 generated by GNU Autoconf 2.64. Invocation command line was
1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1895 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1897 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1898 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1900 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1901 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1902 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1903 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir
=.
1912 $as_echo "PATH: $as_dir"
1928 # Keep a trace of the command line.
1929 # Strip out --no-create and --no-recursion so they do not pile up.
1930 # Strip out --silent because we don't want to record it for future runs.
1931 # Also quote any args containing shell meta-characters.
1932 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_must_keep_next
=false
1942 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1943 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1944 |
-silent |
--silent |
--silen |
--sile |
--sil)
1947 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1950 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1952 as_fn_append ac_configure_args1
" '$ac_arg'"
1953 if test $ac_must_keep_next = true
; then
1954 ac_must_keep_next
=false
# Got value, back to normal.
1957 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1958 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1959 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1960 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1961 case "$ac_configure_args0 " in
1962 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1965 -* ) ac_must_keep_next
=true
;;
1968 as_fn_append ac_configure_args
" '$ac_arg'"
1973 { ac_configure_args0
=; unset ac_configure_args0
;}
1974 { ac_configure_args1
=; unset ac_configure_args1
;}
1976 # When interrupted or exit'd, cleanup temporary files, and complete
1977 # config.log. We remove comments because anyway the quotes in there
1978 # would cause problems or look ugly.
1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1981 trap 'exit_status=$?
1982 # Save into config.log some information that might help in debugging.
1987 ## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##
1992 # The following way of writing the cache mishandles newlines in values,
1994 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1995 eval ac_val=\$$ac_var
1999 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2003 _ | IFS | as_nl) ;; #(
2004 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2005 *) { eval $ac_var=; unset $ac_var;} ;;
2010 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2011 *${as_nl}ac_space=\ *)
2013 "s/'\''/'\''\\\\'\'''\''/g;
2014 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2025 ## ----------------- ##
2026 ## Output variables. ##
2027 ## ----------------- ##
2030 for ac_var in $ac_subst_vars
2032 eval ac_val=\$$ac_var
2034 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -n "$ac_subst_files"; then
2042 ## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##
2047 for ac_var
in $ac_subst_files
2049 eval ac_val
=\$
$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2058 if test -s confdefs.h; then
2068 test "$ac_signal" != 0 &&
2069 $as_echo "$as_me: caught signal $ac_signal"
2070 $as_echo "$as_me: exit $exit_status"
2072 rm -f core *.core core.conftest.* &&
2073 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2076 for ac_signal
in 1 2 13 15; do
2077 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2082 rm -f -r conftest
* confdefs.h
2084 $as_echo "/* confdefs.h */" > confdefs.h
2086 # Predefined preprocessor variables.
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_NAME "$PACKAGE_NAME"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_STRING "$PACKAGE_STRING"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_URL "$PACKAGE_URL"
2113 # Let the site file select an alternate cache file if it wants to.
2114 # Prefer an explicitly selected file to automatically selected ones.
2117 if test -n "$CONFIG_SITE"; then
2118 ac_site_file1
=$CONFIG_SITE
2119 elif test "x$prefix" != xNONE
; then
2120 ac_site_file1
=$prefix/share
/config.site
2121 ac_site_file2
=$prefix/etc
/config.site
2123 ac_site_file1
=$ac_default_prefix/share
/config.site
2124 ac_site_file2
=$ac_default_prefix/etc
/config.site
2126 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2128 test "x$ac_site_file" = xNONE
&& continue
2129 if test -r "$ac_site_file"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2131 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2132 sed 's/^/| /' "$ac_site_file" >&5
2137 if test -r "$cache_file"; then
2138 # Some versions of bash will fail to source /dev/null (special
2139 # files actually), so we avoid doing that.
2140 if test -f "$cache_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
2144 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2145 *) .
"./$cache_file";;
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
2154 # Check that the precious variables saved in the cache have kept the same
2156 ac_cache_corrupted
=false
2157 for ac_var
in $ac_precious_vars; do
2158 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2159 eval ac_new_set
=\
$ac_env_${ac_var}_set
2160 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2161 eval ac_new_val
=\
$ac_env_${ac_var}_value
2162 case $ac_old_set,$ac_new_set in
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166 ac_cache_corrupted
=: ;;
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2170 ac_cache_corrupted
=: ;;
2173 if test "x$ac_old_val" != "x$ac_new_val"; then
2174 # differences in whitespace do not lead to failure.
2175 ac_old_val_w
=`echo x $ac_old_val`
2176 ac_new_val_w
=`echo x $ac_new_val`
2177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2180 ac_cache_corrupted
=:
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184 eval $ac_var=\
$ac_old_val
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2192 # Pass precious variables to config.status.
2193 if test "$ac_new_set" = set; then
2195 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 *) ac_arg
=$ac_var=$ac_new_val ;;
2198 case " $ac_configure_args " in
2199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2204 if $ac_cache_corrupted; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2216 ac_cpp
='$CPP $CPPFLAGS'
2217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2226 ac_config_headers
="$ac_config_headers config.h"
2230 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2231 for ac_t
in install-sh
install.sh shtool
; do
2232 if test -f "$ac_dir/$ac_t"; then
2234 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2239 if test -z "$ac_aux_dir"; then
2240 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2243 # These three variables are undocumented and unsupported,
2244 # and are intended to be withdrawn in a future Autoconf release.
2245 # They can cause serious problems if a builder's source tree is in a directory
2246 # whose full name contains unusual characters.
2247 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2248 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2249 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2252 # Make sure we can run config.sub.
2253 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2254 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2257 $as_echo_n "checking build system type... " >&6; }
2258 if test "${ac_cv_build+set}" = set; then :
2259 $as_echo_n "(cached) " >&6
2261 ac_build_alias
=$build_alias
2262 test "x$ac_build_alias" = x
&&
2263 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2264 test "x$ac_build_alias" = x
&&
2265 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2266 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2267 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2271 $as_echo "$ac_cv_build" >&6; }
2272 case $ac_cv_build in
2274 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2277 ac_save_IFS
=$IFS; IFS
='-'
2283 # Remember, the first character of IFS is used to create $*,
2284 # except with old shells:
2287 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2291 $as_echo_n "checking host system type... " >&6; }
2292 if test "${ac_cv_host+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test "x$host_alias" = x
; then
2296 ac_cv_host
=$ac_cv_build
2298 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2304 $as_echo "$ac_cv_host" >&6; }
2307 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2310 ac_save_IFS
=$IFS; IFS
='-'
2316 # Remember, the first character of IFS is used to create $*,
2317 # except with old shells:
2320 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2324 $as_echo_n "checking target system type... " >&6; }
2325 if test "${ac_cv_target+set}" = set; then :
2326 $as_echo_n "(cached) " >&6
2328 if test "x$target_alias" = x
; then
2329 ac_cv_target
=$ac_cv_host
2331 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2332 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2337 $as_echo "$ac_cv_target" >&6; }
2338 case $ac_cv_target in
2340 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2342 target
=$ac_cv_target
2343 ac_save_IFS
=$IFS; IFS
='-'
2349 # Remember, the first character of IFS is used to create $*,
2350 # except with old shells:
2353 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2356 # The aliases save the names the user supplied, while $host etc.
2357 # will get canonicalized.
2358 test -n "$target_alias" &&
2359 test "$program_prefix$program_suffix$program_transform_name" = \
2361 program_prefix
=${target_alias}-
2363 target_alias
=${target_alias-$host_alias}
2365 libtool_VERSION
=1:0:0
2368 am__api_version
='1.11'
2370 # Find a good install program. We prefer a C program (faster),
2371 # so one script is as good as another. But avoid the broken or
2372 # incompatible versions:
2373 # SysV /etc/install, /usr/sbin/install
2374 # SunOS /usr/etc/install
2375 # IRIX /sbin/install
2377 # AmigaOS /C/install, which installs bootblocks on floppy discs
2378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2381 # OS/2's system install, which has a completely different semantic
2382 # ./install, which can be erroneously created by make from ./install.sh.
2383 # Reject install programs that cannot install multiple files.
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2385 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2386 if test -z "$INSTALL"; then
2387 if test "${ac_cv_path_install+set}" = set; then :
2388 $as_echo_n "(cached) " >&6
2390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir
=.
2395 # Account for people who put trailing slashes in PATH elements.
2396 case $as_dir/ in #((
2397 .
/ | .
// |
/[cC
]/* | \
2398 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2399 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2402 # OSF1 and SCO ODT 3.0 have their own names for install.
2403 # Don't use installbsd from OSF since it installs stuff as root
2405 for ac_prog
in ginstall scoinst
install; do
2406 for ac_exec_ext
in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2408 if test $ac_prog = install &&
2409 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2410 # AIX install. It has an incompatible calling convention.
2412 elif test $ac_prog = install &&
2413 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2414 # program-specific install script used by HP pwplus--don't use.
2417 rm -rf conftest.one conftest.two conftest.dir
2418 echo one
> conftest.one
2419 echo two
> conftest.two
2421 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2422 test -s conftest.one
&& test -s conftest.two
&&
2423 test -s conftest.dir
/conftest.one
&&
2424 test -s conftest.dir
/conftest.two
2426 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2439 rm -rf conftest.one conftest.two conftest.dir
2442 if test "${ac_cv_path_install+set}" = set; then
2443 INSTALL
=$ac_cv_path_install
2445 # As a last resort, use the slow shell script. Don't cache a
2446 # value for INSTALL within a source directory, because that will
2447 # break other packages using the cache if that directory is
2448 # removed, or if the value is a relative name.
2449 INSTALL
=$ac_install_sh
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2453 $as_echo "$INSTALL" >&6; }
2455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2456 # It thinks the first close brace ends the variable substitution.
2457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2464 $as_echo_n "checking whether build environment is sane... " >&6; }
2467 echo timestamp
> conftest.
file
2468 # Reject unsafe characters in $srcdir or the absolute working directory
2469 # name. Accept space and tab only in the latter.
2473 *[\\\"\
#\$\&\'\`$am_lf]*)
2474 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2477 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2478 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2481 # Do `set' in a subshell so we don't clobber the current shell's
2482 # arguments. Must try -L first in case configure is actually a
2483 # symlink; some systems play weird games with the mod time of symlinks
2484 # (eg FreeBSD returns the mod time of the symlink's containing
2487 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2488 if test "$*" = "X"; then
2490 set X
`ls -t "$srcdir/configure" conftest.file`
2493 if test "$*" != "X $srcdir/configure conftest.file" \
2494 && test "$*" != "X conftest.file $srcdir/configure"; then
2496 # If neither matched, then we have a broken ls. This can happen
2497 # if, for instance, CONFIG_SHELL is bash and it inherits a
2498 # broken ls alias from the environment. This has actually
2499 # happened. Such a system could not be considered "sane".
2500 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2501 alias in your environment" "$LINENO" 5
2504 test "$2" = conftest.
file
2510 as_fn_error
"newly created file is older than distributed files!
2511 Check your system clock" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2514 $as_echo "yes" >&6; }
2515 test "$program_prefix" != NONE
&&
2516 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE
&&
2519 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2525 # expand $ac_aux_dir to an absolute path
2526 am_aux_dir
=`cd $ac_aux_dir && pwd`
2528 if test x
"${MISSING+set}" != xset
; then
2531 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2533 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2536 # Use eval to expand $SHELL
2537 if eval "$MISSING --run true"; then
2538 am_missing_run
="$MISSING --run "
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2542 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2545 if test x
"${install_sh}" != xset
; then
2548 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2550 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2554 # Installed binaries are usually stripped using `strip' when the user
2555 # run `make install-strip'. However `strip' might not be the right
2556 # tool to use in cross-compilation environments, therefore Automake
2557 # will honor the `STRIP' environment variable to overrule this program.
2558 if test "$cross_compiling" != no
; then
2559 if test -n "$ac_tool_prefix"; then
2560 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_STRIP+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$STRIP"; then
2568 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 STRIP
=$ac_cv_prog_STRIP
2588 if test -n "$STRIP"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590 $as_echo "$STRIP" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2598 if test -z "$ac_cv_prog_STRIP"; then
2600 # Extract the first word of "strip", so it can be a program name with args.
2601 set dummy strip
; ac_word
=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$ac_ct_STRIP"; then
2608 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_ac_ct_STRIP
="strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2628 if test -n "$ac_ct_STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630 $as_echo "$ac_ct_STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2636 if test "x$ac_ct_STRIP" = x
; then
2639 case $cross_compiling:$ac_tool_warned in
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned
=yes ;;
2648 STRIP
="$ac_cv_prog_STRIP"
2652 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656 if test -z "$MKDIR_P"; then
2657 if test "${ac_cv_path_mkdir+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_prog
in mkdir gmkdir
; do
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2668 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669 'mkdir (GNU coreutils) '* | \
2670 'mkdir (coreutils) '* | \
2671 'mkdir (fileutils) '4.1*)
2672 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2682 if test "${ac_cv_path_mkdir+set}" = set; then
2683 MKDIR_P
="$ac_cv_path_mkdir -p"
2685 # As a last resort, use the slow shell script. Don't cache a
2686 # value for MKDIR_P within a source directory, because that will
2687 # break other packages using the cache if that directory is
2688 # removed, or if the value is a relative name.
2689 test -d .
/--version && rmdir .
/--version
2690 MKDIR_P
="$ac_install_sh -d"
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694 $as_echo "$MKDIR_P" >&6; }
2698 [\\/$
]* | ?
:[\\/]*) ;;
2699 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2702 for ac_prog
in gawk mawk nawk
awk
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy
$ac_prog; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_AWK+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$AWK"; then
2712 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_AWK
="$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$AWK"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2734 $as_echo "$AWK" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$AWK" && break
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2745 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2747 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2748 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2749 $as_echo_n "(cached) " >&6
2751 cat >conftest.
make <<\_ACEOF
2754 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2756 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2757 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2759 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2761 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2765 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2767 $as_echo "yes" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 SET_MAKE
="MAKE=${MAKE-make}"
2775 rm -rf .tst
2>/dev
/null
2776 mkdir .tst
2>/dev
/null
2777 if test -d .tst
; then
2782 rmdir .tst
2>/dev
/null
2784 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2785 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2786 # is not polluted with repeated "-I."
2787 am__isrc
=' -I$(srcdir)'
2788 # test to see if srcdir already configured
2789 if test -f $srcdir/config.status
; then
2790 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2794 # test whether we have cygpath
2795 if test -z "$CYGPATH_W"; then
2796 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2797 CYGPATH_W
='cygpath -w'
2804 # Define the identity of the package.
2805 PACKAGE
='libbacktrace'
2806 VERSION
='version-unused'
2809 # Some tools Automake needs.
2811 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2814 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2817 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2820 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2823 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2825 # We need awk for the "check" target. The system "awk" is bad on
2827 # Always define AMTAR for backward compatibility.
2829 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2831 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2840 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2841 # Check whether --enable-maintainer-mode was given.
2842 if test "${enable_maintainer_mode+set}" = set; then :
2843 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2845 USE_MAINTAINER_MODE
=no
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2849 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2850 if test $USE_MAINTAINER_MODE = yes; then
2851 MAINTAINER_MODE_TRUE
=
2852 MAINTAINER_MODE_FALSE
='#'
2854 MAINTAINER_MODE_TRUE
='#'
2855 MAINTAINER_MODE_FALSE
=
2858 MAINT
=$MAINTAINER_MODE_TRUE
2863 # Check whether --with-target-subdir was given.
2864 if test "${with_target_subdir+set}" = set; then :
2865 withval
=$with_target_subdir;
2869 # We must force CC to /not/ be precious variables; otherwise
2870 # the wrong, non-multilib-adjusted value will be used in multilibs.
2871 # As a side effect, we have to subst CFLAGS ourselves.
2875 ac_cpp
='$CPP $CPPFLAGS'
2876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2881 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if test "${ac_cv_prog_CC+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC
="$CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2918 if test -z "$ac_cv_prog_CC"; then
2920 # Extract the first word of "gcc", so it can be a program name with args.
2921 set dummy gcc
; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_CC"; then
2928 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_ac_ct_CC
="gcc"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2948 if test -n "$ac_ct_CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2950 $as_echo "$ac_ct_CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2956 if test "x$ac_ct_CC" = x
; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned
=yes ;;
2971 if test -z "$CC"; then
2972 if test -n "$ac_tool_prefix"; then
2973 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2974 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if test "${ac_cv_prog_CC+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC
="$CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3012 if test -z "$CC"; then
3013 # Extract the first word of "cc", so it can be a program name with args.
3014 set dummy cc
; ac_word
=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if test "${ac_cv_prog_CC+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$CC"; then
3021 ac_cv_prog_CC
="$CC" # Let the user override the test.
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir
=.
3029 for ac_exec_ext
in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3032 ac_prog_rejected
=yes
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test $ac_prog_rejected = yes; then
3044 # We found a bogon in the path, so make sure we never use it.
3045 set dummy
$ac_cv_prog_CC
3047 if test $# != 0; then
3048 # We chose a different compiler from the bogus one.
3049 # However, it has the same basename, so the bogon will be chosen
3050 # first if we set CC to just the basename; use the full file name.
3052 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3058 if test -n "$CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 $as_echo "$CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3068 if test -z "$CC"; then
3069 if test -n "$ac_tool_prefix"; then
3070 for ac_prog
in cl.exe
3072 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3073 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if test "${ac_cv_prog_CC+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC
="$CC" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 if test -n "$CC"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3102 $as_echo "$CC" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3109 test -n "$CC" && break
3112 if test -z "$CC"; then
3114 for ac_prog
in cl.exe
3116 # Extract the first word of "$ac_prog", so it can be a program name with args.
3117 set dummy
$ac_prog; ac_word
=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3121 $as_echo_n "(cached) " >&6
3123 if test -n "$ac_ct_CC"; then
3124 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133 ac_cv_prog_ac_ct_CC
="$ac_prog"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3144 if test -n "$ac_ct_CC"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3146 $as_echo "$ac_ct_CC" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3153 test -n "$ac_ct_CC" && break
3156 if test "x$ac_ct_CC" = x
; then
3159 case $cross_compiling:$ac_tool_warned in
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3163 ac_tool_warned
=yes ;;
3172 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error
"no acceptable C compiler found in \$PATH
3175 See \`config.log' for more details." "$LINENO" 5; }
3177 # Provide some information about the compiler.
3178 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3181 for ac_option
in --version -v -V -qversion; do
3182 { { ac_try
="$ac_compiler $ac_option >&5"
3184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3191 if test -s conftest.err; then
3193 ... rest of stderr output deleted ...
3194 10q' conftest.err >conftest.er1
3195 cat conftest.er1 >&5
3196 rm -f conftest.er1 conftest.err
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 ac_clean_files_save=$ac_clean_files
3214 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3215 # Try to create an executable without -o first, disregard a.out.
3216 # It will help us diagnose broken compilers, and finding out an intuition
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3219 $as_echo_n "checking for C compiler default output file name... " >&6; }
3220 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3222 # The possible output files:
3223 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3226 for ac_file in $ac_files
3229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3230 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3235 if { { ac_try="$ac_link_default"
3237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3238 *) ac_try_echo
=$ac_try;;
3240 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_link_default") 2>&5
3244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; }; then :
3246 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3247 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3248 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3249 # so that the user can short-circuit this test for compilers unknown to
3251 for ac_file
in $ac_files ''
3253 test -f "$ac_file" ||
continue
3255 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3258 # We found the default executable, but exeext='' is most
3262 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3264 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3266 # We set ac_cv_exeext here because the later test for it is not
3267 # safe: cross compilers may not add the suffix if given an `-o'
3268 # argument, so we may need to know it at that point already.
3269 # Even if this section looks crufty: it has the advantage of
3276 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3282 $as_echo "$ac_file" >&6; }
3283 if test -z "$ac_file"; then :
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.
$ac_ext >&5
3287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 { as_fn_set_status
77
3290 as_fn_error
"C compiler cannot create executables
3291 See \`config.log' for more details." "$LINENO" 5; }; }
3293 ac_exeext
=$ac_cv_exeext
3295 # Check that the compiler produces executables we can run. If not, either
3296 # the compiler is broken, or we cross compile.
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3298 $as_echo_n "checking whether the C compiler works... " >&6; }
3299 # If not cross compiling, check that we can run a simple program.
3300 if test "$cross_compiling" != yes; then
3301 if { ac_try
='./$ac_file'
3302 { { case "(($ac_try" in
3303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_try") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; }; then
3314 if test "$cross_compiling" = maybe; then
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error "cannot run C compiled programs.
3320 If you meant to cross compile
, use \
`--host'.
3321 See \`config.log
' for more details." "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3328 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3329 ac_clean_files=$ac_clean_files_save
3330 # Check that the compiler produces executables we can run. If not, either
3331 # the compiler is broken, or we cross compile.
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3333 $as_echo_n "checking whether we are cross compiling... " >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3335 $as_echo "$cross_compiling" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3338 $as_echo_n "checking for suffix of executables... " >&6; }
3339 if { { ac_try="$ac_link"
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346 (eval "$ac_link") 2>&5
3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349 test $ac_status = 0; }; then :
3350 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3351 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3352 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3354 for ac_file
in conftest.exe conftest conftest.
*; do
3355 test -f "$ac_file" ||
continue
3357 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3358 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3367 See \`config.log' for more details." "$LINENO" 5; }
3369 rm -f conftest
$ac_cv_exeext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3371 $as_echo "$ac_cv_exeext" >&6; }
3373 rm -f conftest.
$ac_ext
3374 EXEEXT
=$ac_cv_exeext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3377 $as_echo_n "checking for suffix of object files... " >&6; }
3378 if test "${ac_cv_objext+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 rm -f conftest.o conftest.obj
3393 if { { ac_try
="$ac_compile"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_compile") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 for ac_file in conftest.o conftest.obj conftest.*; do
3405 test -f "$ac_file" || continue;
3407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3413 $as_echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error "cannot compute suffix of object files
: cannot compile
3419 See \
`config.log' for more details." "$LINENO" 5; }
3421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3424 $as_echo "$ac_cv_objext" >&6; }
3425 OBJEXT=$ac_cv_objext
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3429 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3430 $as_echo_n "(cached) " >&6
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3457 if test $ac_compiler_gnu = yes; then
3462 ac_test_CFLAGS=${CFLAGS+set}
3463 ac_save_CFLAGS=$CFLAGS
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3466 if test "${ac_cv_prog_cc_g+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 ac_save_c_werror_flag=$ac_c_werror_flag
3470 ac_c_werror_flag=yes
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3502 ac_c_werror_flag=$ac_save_c_werror_flag
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_c_werror_flag=$ac_save_c_werror_flag
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3526 $as_echo "$ac_cv_prog_cc_g" >&6; }
3527 if test "$ac_test_CFLAGS" = set; then
3528 CFLAGS=$ac_save_CFLAGS
3529 elif test $ac_cv_prog_cc_g = yes; then
3530 if test "$GCC" = yes; then
3536 if test "$GCC" = yes; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3544 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 ac_cv_prog_cc_c89=no
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3553 #include <sys/types.h>
3554 #include <sys/stat.h>
3555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3556 struct buf { int x; };
3557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3558 static char *e (p, i)
3564 static char *f (char * (*g) (char **, int), char **p, ...)
3569 s = g (p, va_arg (v,int));
3574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3575 function prototypes and stuff, but not '\xHH' hex character constants.
3576 These don't provoke an error unfortunately, instead are silently treated
3577 as 'x'. The following induces an error, until -std is added to get
3578 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3579 array size at least. It's necessary to write '\x00'==0 to get something
3580 that's true only with -std. */
3581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3583 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3584 inside strings and character constants. */
3586 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3588 int test (int i, double x);
3589 struct s1 {int (*f) (int a);};
3590 struct s2 {int (*f) (double a);};
3591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3597 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3602 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3603 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3605 CC="$ac_save_CC $ac_arg"
3606 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_cv_prog_cc_c89=$ac_arg
3609 rm -f core conftest.err conftest.$ac_objext
3610 test "x$ac_cv_prog_cc_c89" != "xno" && break
3612 rm -f conftest.$ac_ext
3617 case "x$ac_cv_prog_cc_c89" in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3620 $as_echo "none needed" >&6; } ;;
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3623 $as_echo "unsupported" >&6; } ;;
3625 CC="$CC $ac_cv_prog_cc_c89"
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3627 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3629 if test "x$ac_cv_prog_cc_c89" != xno; then :
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 DEPDIR="${am__leading_dot}deps"
3640 ac_config_commands="$ac_config_commands depfiles"
3643 am_make=${MAKE-make}
3644 cat > confinc << 'END'
3646 @echo this is the am__doit target
3649 # If we don't find an include directive, just comment out the code.
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3651 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3655 # First try GNU make style include.
3656 echo "include confinc" > confmf
3657 # Ignore all kinds of additional output from `make'.
3658 case `$am_make -s -f confmf 2> /dev/null` in #(
3659 *the\ am__doit\ target*)
3665 # Now try BSD make style include.
3666 if test "$am__include" = "#"; then
3667 echo '.include
"confinc"' > confmf
3668 case `$am_make -s -f confmf 2> /dev/null` in #(
3669 *the\ am__doit\ target*)
3670 am__include=.include
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3679 $as_echo "$_am_result" >&6; }
3680 rm -f confinc confmf
3682 # Check whether --enable-dependency-tracking was given.
3683 if test "${enable_dependency_tracking+set}" = set; then :
3684 enableval=$enable_dependency_tracking;
3687 if test "x$enable_dependency_tracking" != xno; then
3688 am_depcomp="$ac_aux_dir/depcomp"
3691 if test "x$enable_dependency_tracking" != xno
; then
3701 depcc
="$CC" am_compiler_list
=
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3704 $as_echo_n "checking dependency style of $depcc... " >&6; }
3705 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3709 # We make a subdir and do the tests there. Otherwise we can end up
3710 # making bogus files that we don't know about and never remove. For
3711 # instance it was reported that on HP-UX the gcc test will end up
3712 # making a dummy file named `D' -- because `-MD' means `put the output
3715 # Copy depcomp to subdir because otherwise we won't find it if we're
3716 # using a relative directory.
3717 cp "$am_depcomp" conftest.dir
3719 # We will build objects and dependencies in a subdirectory because
3720 # it helps to detect inapplicable dependency modes. For instance
3721 # both Tru64's cc and ICC support -MD to output dependencies as a
3722 # side effect of compilation, but ICC will put the dependencies in
3723 # the current directory while Tru64 will put them in the object
3727 am_cv_CC_dependencies_compiler_type
=none
3728 if test "$am_compiler_list" = ""; then
3729 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3732 case " $depcc " in #(
3733 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3736 for depmode
in $am_compiler_list; do
3737 # Setup a source with many dependencies, because some compilers
3738 # like to wrap large dependency lists on column 80 (with \), and
3739 # we should not choose a depcomp mode which is confused by this.
3741 # We need to recreate these files for each test, as the compiler may
3742 # overwrite some of them when testing with obscure command lines.
3743 # This happens at least with the AIX C compiler.
3745 for i
in 1 2 3 4 5 6; do
3746 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3747 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3748 # Solaris 8's {/usr,}/bin/sh.
3749 touch sub
/conftst
$i.h
3751 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3753 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3754 # mode. It turns out that the SunPro C++ compiler does not properly
3755 # handle `-M -o', and we need to detect this. Also, some Intel
3756 # versions had trouble with output in subdirs
3757 am__obj
=sub
/conftest.
${OBJEXT-o}
3758 am__minus_obj
="-o $am__obj"
3761 # This depmode causes a compiler race in universal mode.
3762 test "$am__universal" = false ||
continue
3765 # after this tag, mechanisms are not by side-effect, so they'll
3766 # only be used when explicitly requested
3767 if test "x$enable_dependency_tracking" = xyes
; then
3773 msvisualcpp | msvcmsys
)
3774 # This compiler won't grok `-c -o', but also, the minuso test has
3775 # not run yet. These depmodes are late enough in the game, and
3776 # so weak that their functioning should not be impacted.
3777 am__obj
=conftest.
${OBJEXT-o}
3782 if depmode
=$depmode \
3783 source=sub
/conftest.c object
=$am__obj \
3784 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3785 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3786 >/dev
/null
2>conftest.err
&&
3787 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3788 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3789 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3790 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3791 # icc doesn't choke on unknown options, it will just issue warnings
3792 # or remarks (even with -Werror). So we grep stderr for any message
3793 # that says an option was ignored or not supported.
3794 # When given -MP, icc 7.0 and 7.1 complain thusly:
3795 # icc: Command line warning: ignoring option '-M'; no argument required
3796 # The diagnosis changed in icc 8.0:
3797 # icc: Command line remark: option '-MP' not supported
3798 if (grep 'ignoring option' conftest.err ||
3799 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3800 am_cv_CC_dependencies_compiler_type
=$depmode
3809 am_cv_CC_dependencies_compiler_type
=none
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3814 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3815 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3818 test "x$enable_dependency_tracking" != xno \
3819 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3821 am__fastdepCC_FALSE
='#'
3823 am__fastdepCC_TRUE
='#'
3824 am__fastdepCC_FALSE
=
3832 if test -n "$ac_tool_prefix"; then
3833 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3834 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$RANLIB"; then
3841 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 RANLIB
=$ac_cv_prog_RANLIB
3861 if test -n "$RANLIB"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3863 $as_echo "$RANLIB" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3871 if test -z "$ac_cv_prog_RANLIB"; then
3872 ac_ct_RANLIB
=$RANLIB
3873 # Extract the first word of "ranlib", so it can be a program name with args.
3874 set dummy ranlib
; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_RANLIB"; then
3881 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3901 if test -n "$ac_ct_RANLIB"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3903 $as_echo "$ac_ct_RANLIB" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3909 if test "x$ac_ct_RANLIB" = x
; then
3912 case $cross_compiling:$ac_tool_warned in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916 ac_tool_warned
=yes ;;
3918 RANLIB
=$ac_ct_RANLIB
3921 RANLIB
="$ac_cv_prog_RANLIB"
3925 for ac_prog
in gawk mawk nawk
awk
3927 # Extract the first word of "$ac_prog", so it can be a program name with args.
3928 set dummy
$ac_prog; ac_word
=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_AWK+set}" = set; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$AWK"; then
3935 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir
=.
3942 for ac_exec_ext
in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_AWK
="$ac_prog"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 if test -n "$AWK"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3957 $as_echo "$AWK" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3964 test -n "$AWK" && break
3968 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3974 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3979 macro_version
='2.2.7a'
3980 macro_revision
='1.3134'
3994 ltmain
="$ac_aux_dir/ltmain.sh"
3996 # Backslashify metacharacters that are still active within
3997 # double-quoted strings.
3998 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4000 # Same as above, but do not quote variable references.
4001 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4003 # Sed substitution to delay expansion of an escaped shell variable in a
4004 # double_quote_subst'ed string.
4005 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4007 # Sed substitution to delay expansion of an escaped single quote.
4008 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4010 # Sed substitution to avoid accidental globbing in evaled expressions
4011 no_glob_subst
='s/\*/\\\*/g'
4013 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4014 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4015 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4018 $as_echo_n "checking how to print strings... " >&6; }
4019 # Test print first, because it will be a builtin if present.
4020 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4021 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4023 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4026 # Use this function as a fallback that always works.
4027 func_fallback_echo ()
4029 eval 'cat <<_LTECHO_EOF
4033 ECHO='func_fallback_echo
'
4036 # func_echo_all arg...
4037 # Invoke $ECHO with all args, space-separated.
4044 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4045 $as_echo "printf" >&6; } ;;
4046 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4047 $as_echo "print -r" >&6; } ;;
4048 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4049 $as_echo "cat" >&6; } ;;
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4066 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4067 if test "${ac_cv_path_SED+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4071 for ac_i in 1 2 3 4 5 6 7; do
4072 ac_script="$ac_script$as_nl$ac_script"
4074 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4075 { ac_script=; unset ac_script;}
4076 if test -z "$SED"; then
4077 ac_path_SED_found=false
4078 # Loop through the user's path and
test for each of PROGNAME-LIST
4079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir
=.
4084 for ac_prog
in sed gsed
; do
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4087 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4088 # Check for GNU ac_path_SED and select it if it is found.
4089 # Check for GNU $ac_path_SED
4090 case `"$ac_path_SED" --version 2>&1` in
4092 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4095 $as_echo_n 0123456789 >"conftest.in"
4098 cat "conftest.in" "conftest.in" >"conftest.tmp"
4099 mv "conftest.tmp" "conftest.in"
4100 cp "conftest.in" "conftest.nl"
4101 $as_echo '' >> "conftest.nl"
4102 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4103 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4104 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4105 if test $ac_count -gt ${ac_path_SED_max-0}; then
4106 # Best one so far, save it but keep looking for a better one
4107 ac_cv_path_SED
="$ac_path_SED"
4108 ac_path_SED_max
=$ac_count
4110 # 10*(2^10) chars as input seems more than enough
4111 test $ac_count -gt 10 && break
4113 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4116 $ac_path_SED_found && break 3
4121 if test -z "$ac_cv_path_SED"; then
4122 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4130 $as_echo "$ac_cv_path_SED" >&6; }
4131 SED
="$ac_cv_path_SED"
4134 test -z "$SED" && SED
=sed
4135 Xsed
="$SED -e 1s/^X//"
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4148 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4149 if test "${ac_cv_path_GREP+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -z "$GREP"; then
4153 ac_path_GREP_found
=false
4154 # Loop through the user's path and test for each of PROGNAME-LIST
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_prog
in grep ggrep
; do
4161 for ac_exec_ext
in '' $ac_executable_extensions; do
4162 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4163 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4164 # Check for GNU ac_path_GREP and select it if it is found.
4165 # Check for GNU $ac_path_GREP
4166 case `"$ac_path_GREP" --version 2>&1` in
4168 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4171 $as_echo_n 0123456789 >"conftest.in"
4174 cat "conftest.in" "conftest.in" >"conftest.tmp"
4175 mv "conftest.tmp" "conftest.in"
4176 cp "conftest.in" "conftest.nl"
4177 $as_echo 'GREP' >> "conftest.nl"
4178 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4179 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4180 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4181 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4182 # Best one so far, save it but keep looking for a better one
4183 ac_cv_path_GREP
="$ac_path_GREP"
4184 ac_path_GREP_max
=$ac_count
4186 # 10*(2^10) chars as input seems more than enough
4187 test $ac_count -gt 10 && break
4189 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4192 $ac_path_GREP_found && break 3
4197 if test -z "$ac_cv_path_GREP"; then
4198 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4201 ac_cv_path_GREP
=$GREP
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4206 $as_echo "$ac_cv_path_GREP" >&6; }
4207 GREP
="$ac_cv_path_GREP"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4211 $as_echo_n "checking for egrep... " >&6; }
4212 if test "${ac_cv_path_EGREP+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4215 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4216 then ac_cv_path_EGREP
="$GREP -E"
4218 if test -z "$EGREP"; then
4219 ac_path_EGREP_found
=false
4220 # Loop through the user's path and test for each of PROGNAME-LIST
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_prog
in egrep; do
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4229 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4230 # Check for GNU ac_path_EGREP and select it if it is found.
4231 # Check for GNU $ac_path_EGREP
4232 case `"$ac_path_EGREP" --version 2>&1` in
4234 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4237 $as_echo_n 0123456789 >"conftest.in"
4240 cat "conftest.in" "conftest.in" >"conftest.tmp"
4241 mv "conftest.tmp" "conftest.in"
4242 cp "conftest.in" "conftest.nl"
4243 $as_echo 'EGREP' >> "conftest.nl"
4244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4245 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4246 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4247 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4248 # Best one so far, save it but keep looking for a better one
4249 ac_cv_path_EGREP
="$ac_path_EGREP"
4250 ac_path_EGREP_max
=$ac_count
4252 # 10*(2^10) chars as input seems more than enough
4253 test $ac_count -gt 10 && break
4255 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4258 $ac_path_EGREP_found && break 3
4263 if test -z "$ac_cv_path_EGREP"; then
4264 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4267 ac_cv_path_EGREP
=$EGREP
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4273 $as_echo "$ac_cv_path_EGREP" >&6; }
4274 EGREP
="$ac_cv_path_EGREP"
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4278 $as_echo_n "checking for fgrep... " >&6; }
4279 if test "${ac_cv_path_FGREP+set}" = set; then :
4280 $as_echo_n "(cached) " >&6
4282 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4283 then ac_cv_path_FGREP
="$GREP -F"
4285 if test -z "$FGREP"; then
4286 ac_path_FGREP_found
=false
4287 # Loop through the user's path and test for each of PROGNAME-LIST
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_prog
in fgrep
; do
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4296 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4297 # Check for GNU ac_path_FGREP and select it if it is found.
4298 # Check for GNU $ac_path_FGREP
4299 case `"$ac_path_FGREP" --version 2>&1` in
4301 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4304 $as_echo_n 0123456789 >"conftest.in"
4307 cat "conftest.in" "conftest.in" >"conftest.tmp"
4308 mv "conftest.tmp" "conftest.in"
4309 cp "conftest.in" "conftest.nl"
4310 $as_echo 'FGREP' >> "conftest.nl"
4311 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4312 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4313 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4314 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4315 # Best one so far, save it but keep looking for a better one
4316 ac_cv_path_FGREP
="$ac_path_FGREP"
4317 ac_path_FGREP_max
=$ac_count
4319 # 10*(2^10) chars as input seems more than enough
4320 test $ac_count -gt 10 && break
4322 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4325 $ac_path_FGREP_found && break 3
4330 if test -z "$ac_cv_path_FGREP"; then
4331 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4334 ac_cv_path_FGREP
=$FGREP
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4340 $as_echo "$ac_cv_path_FGREP" >&6; }
4341 FGREP
="$ac_cv_path_FGREP"
4344 test -z "$GREP" && GREP
=grep
4364 # Check whether --with-gnu-ld was given.
4365 if test "${with_gnu_ld+set}" = set; then :
4366 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4372 if test "$GCC" = yes; then
4373 # Check if gcc -print-prog-name=ld gives a path.
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4375 $as_echo_n "checking for ld used by $CC... " >&6; }
4378 # gcc leaves a trailing carriage return which upsets mingw
4379 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4381 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4384 # Accept absolute paths.
4386 re_direlt
='/[^/][^/]*/\.\./'
4387 # Canonicalize the pathname of ld
4388 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4389 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4390 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4392 test -z "$LD" && LD
="$ac_prog"
4395 # If it fails, then pretend we aren't using GCC.
4399 # If it is relative, then search for the first ld in PATH.
4403 elif test "$with_gnu_ld" = yes; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4405 $as_echo_n "checking for GNU ld... " >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4408 $as_echo_n "checking for non-GNU ld... " >&6; }
4410 if test "${lt_cv_path_LD+set}" = set; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -z "$LD"; then
4414 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4415 for ac_dir
in $PATH; do
4417 test -z "$ac_dir" && ac_dir
=.
4418 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4419 lt_cv_path_LD
="$ac_dir/$ac_prog"
4420 # Check to see if the program is GNU ld. I'd rather use --version,
4421 # but apparently some variants of GNU ld only accept -v.
4422 # Break only if it was the GNU/non-GNU ld that we prefer.
4423 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4424 *GNU
* |
*'with BFD'*)
4425 test "$with_gnu_ld" != no
&& break
4428 test "$with_gnu_ld" != yes && break
4435 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4440 if test -n "$LD"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4442 $as_echo "$LD" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4447 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4449 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4450 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4454 case `$LD -v 2>&1 </dev/null` in
4455 *GNU
* |
*'with BFD'*)
4456 lt_cv_prog_gnu_ld
=yes
4459 lt_cv_prog_gnu_ld
=no
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4464 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4465 with_gnu_ld
=$lt_cv_prog_gnu_ld
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4476 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4477 if test "${lt_cv_path_NM+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$NM"; then
4481 # Let the user override the test.
4484 lt_nm_to_check
="${ac_tool_prefix}nm"
4485 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4486 lt_nm_to_check
="$lt_nm_to_check nm"
4488 for lt_tmp_nm
in $lt_nm_to_check; do
4489 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4490 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4492 test -z "$ac_dir" && ac_dir
=.
4493 tmp_nm
="$ac_dir/$lt_tmp_nm"
4494 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4495 # Check to see if the nm accepts a BSD-compat flag.
4496 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4497 # nm: unknown option "B" ignored
4498 # Tru64's nm complains that /dev/null is an invalid object file
4499 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4500 */dev
/null
* |
*'Invalid file or object type'*)
4501 lt_cv_path_NM
="$tmp_nm -B"
4505 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4507 lt_cv_path_NM
="$tmp_nm -p"
4511 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4512 continue # so that we can try to find one that supports BSD flags
4521 : ${lt_cv_path_NM=no}
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4525 $as_echo "$lt_cv_path_NM" >&6; }
4526 if test "$lt_cv_path_NM" != "no"; then
4529 # Didn't find any BSD compatible name lister, look for dumpbin.
4530 if test -n "$DUMPBIN"; then :
4531 # Let the user override the test.
4533 if test -n "$ac_tool_prefix"; then
4534 for ac_prog
in dumpbin
"link -dump"
4536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$DUMPBIN"; then
4544 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 DUMPBIN
=$ac_cv_prog_DUMPBIN
4564 if test -n "$DUMPBIN"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4566 $as_echo "$DUMPBIN" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$DUMPBIN" && break
4576 if test -z "$DUMPBIN"; then
4577 ac_ct_DUMPBIN
=$DUMPBIN
4578 for ac_prog
in dumpbin
"link -dump"
4580 # Extract the first word of "$ac_prog", so it can be a program name with args.
4581 set dummy
$ac_prog; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$ac_ct_DUMPBIN"; then
4588 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4608 if test -n "$ac_ct_DUMPBIN"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4610 $as_echo "$ac_ct_DUMPBIN" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$ac_ct_DUMPBIN" && break
4620 if test "x$ac_ct_DUMPBIN" = x
; then
4623 case $cross_compiling:$ac_tool_warned in
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4627 ac_tool_warned
=yes ;;
4629 DUMPBIN
=$ac_ct_DUMPBIN
4633 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4635 DUMPBIN
="$DUMPBIN -symbols"
4643 if test "$DUMPBIN" != ":"; then
4647 test -z "$NM" && NM
=nm
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4655 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4656 if test "${lt_cv_nm_interface+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4659 lt_cv_nm_interface
="BSD nm"
4660 echo "int some_variable = 0;" > conftest.
$ac_ext
4661 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4662 (eval "$ac_compile" 2>conftest.err
)
4663 cat conftest.err
>&5
4664 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4665 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4666 cat conftest.err
>&5
4667 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4668 cat conftest.out
>&5
4669 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4670 lt_cv_nm_interface
="MS dumpbin"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4675 $as_echo "$lt_cv_nm_interface" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4678 $as_echo_n "checking whether ln -s works... " >&6; }
4680 if test "$LN_S" = "ln -s"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4682 $as_echo "yes" >&6; }
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4685 $as_echo "no, using $LN_S" >&6; }
4688 # find the maximum length of command line arguments
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4690 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4691 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4692 $as_echo_n "(cached) " >&6
4699 # On DJGPP, this test can blow up pretty badly due to problems in libc
4700 # (any single argument exceeding 2000 bytes causes a buffer overrun
4701 # during glob expansion). Even if it were fixed, the result of this
4702 # check would be larger than it should be.
4703 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4707 # Under GNU Hurd, this test is not required because there is
4708 # no limit to the length of command line arguments.
4709 # Libtool will interpret -1 as no limit whatsoever
4710 lt_cv_sys_max_cmd_len
=-1;
4713 cygwin
* | mingw
* | cegcc
*)
4714 # On Win9x/ME, this test blows up -- it succeeds, but takes
4715 # about 5 minutes as the teststring grows exponentially.
4716 # Worse, since 9x/ME are not pre-emptively multitasking,
4717 # you end up with a "frozen" computer, even though with patience
4718 # the test eventually succeeds (with a max line length of 256k).
4719 # Instead, let's just punt: use the minimum linelength reported by
4720 # all of the supported platforms: 8192 (on NT/2K/XP).
4721 lt_cv_sys_max_cmd_len
=8192;
4725 # On MiNT this can take a long time and run out of memory.
4726 lt_cv_sys_max_cmd_len
=8192;
4730 # On AmigaOS with pdksh, this test takes hours, literally.
4731 # So we just punt and use a minimum line length of 8192.
4732 lt_cv_sys_max_cmd_len
=8192;
4735 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4736 # This has been around since 386BSD, at least. Likely further.
4737 if test -x /sbin
/sysctl
; then
4738 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4739 elif test -x /usr
/sbin
/sysctl
; then
4740 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4742 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4744 # And add a safety zone
4745 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4746 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4750 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4751 lt_cv_sys_max_cmd_len
=196608
4755 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4756 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4757 # nice to cause kernel panics so lets avoid the loop below.
4758 # First set a reasonable default.
4759 lt_cv_sys_max_cmd_len
=16384
4761 if test -x /sbin
/sysconfig
; then
4762 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4763 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4768 lt_cv_sys_max_cmd_len
=102400
4770 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4771 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4772 if test -n "$kargmax"; then
4773 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4775 lt_cv_sys_max_cmd_len
=32768
4779 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4780 if test -n "$lt_cv_sys_max_cmd_len"; then
4781 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4782 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4784 # Make teststring a little bigger before we do anything with it.
4785 # a 1K string should be a reasonable start.
4786 for i
in 1 2 3 4 5 6 7 8 ; do
4787 teststring
=$teststring$teststring
4789 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4790 # If test is not a shell built-in, we'll probably end up computing a
4791 # maximum length that is only half of the actual maximum length, but
4793 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4794 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4795 test $i != 17 # 1/2 MB should be enough
4798 teststring
=$teststring$teststring
4800 # Only check the string length outside the loop.
4801 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4803 # Add a significant safety factor because C++ compilers can tack on
4804 # massive amounts of additional arguments before passing them to the
4805 # linker. It appears as though 1/2 is a usable value.
4806 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4813 if test -n $lt_cv_sys_max_cmd_len ; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4815 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4818 $as_echo "none" >&6; }
4820 max_cmd_len
=$lt_cv_sys_max_cmd_len
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4832 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4833 # Try some XSI features
4836 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4838 && eval 'test $(( 1 + 1 )) -eq 2 \
4839 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4842 $as_echo "$xsi_shell" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4846 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4848 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4850 && lt_shell_append=yes
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4852 $as_echo "$lt_shell_append" >&6; }
4855 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4865 # test EBCDIC or ASCII
4866 case `echo X|tr X '\101'` in
4867 A) # ASCII based system
4868 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4869 lt_SP2NL='tr \040 \012'
4870 lt_NL2SP='tr \015\012 \040\040'
4872 *) # EBCDIC based system
4873 lt_SP2NL='tr \100 \n'
4874 lt_NL2SP='tr \r\n \100\100'
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4887 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4888 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4889 $as_echo_n "(cached
) " >&6
4891 lt_cv_ld_reload_flag='-r'
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4894 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4895 reload_flag=$lt_cv_ld_reload_flag
4896 case $reload_flag in
4898 *) reload_flag=" $reload_flag" ;;
4900 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4903 if test "$GCC" = yes; then
4904 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4906 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4923 $as_echo_n "checking
for $ac_word...
" >&6; }
4924 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4925 $as_echo_n "(cached
) " >&6
4927 if test -n "$OBJDUMP"; then
4928 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4947 OBJDUMP=$ac_cv_prog_OBJDUMP
4948 if test -n "$OBJDUMP"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4950 $as_echo "$OBJDUMP" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4953 $as_echo "no
" >&6; }
4958 if test -z "$ac_cv_prog_OBJDUMP"; then
4959 ac_ct_OBJDUMP=$OBJDUMP
4960 # Extract the first word of "objdump
", so it can be a program name with args.
4961 set dummy objdump; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4963 $as_echo_n "checking
for $ac_word...
" >&6; }
4964 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4965 $as_echo_n "(cached
) " >&6
4967 if test -n "$ac_ct_OBJDUMP"; then
4968 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4987 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4988 if test -n "$ac_ct_OBJDUMP"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4990 $as_echo "$ac_ct_OBJDUMP" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4993 $as_echo "no
" >&6; }
4996 if test "x
$ac_ct_OBJDUMP" = x; then
4999 case $cross_compiling:$ac_tool_warned in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5002 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5003 ac_tool_warned=yes ;;
5005 OBJDUMP=$ac_ct_OBJDUMP
5008 OBJDUMP="$ac_cv_prog_OBJDUMP"
5011 test -z "$OBJDUMP" && OBJDUMP=objdump
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5022 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5023 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5024 $as_echo_n "(cached
) " >&6
5026 lt_cv_file_magic_cmd='$MAGIC_CMD'
5027 lt_cv_file_magic_test_file=
5028 lt_cv_deplibs_check_method='unknown'
5029 # Need to set the preceding variable on all platforms that support
5030 # interlibrary dependencies.
5031 # 'none' -- dependencies not supported.
5032 # `unknown' -- same as none, but documents that we really don't know.
5033 # 'pass_all' -- all dependencies passed with no checks.
5034 # 'test_compile' -- check by making test program.
5035 # 'file_magic [[regex]]' -- check by looking for files in library path
5036 # which responds to the $file_magic_cmd with a given extended regex.
5037 # If you have `file' or equivalent on your system and you're not sure
5038 # whether `pass_all' will *always* work, you probably want this one.
5042 lt_cv_deplibs_check_method=pass_all
5046 lt_cv_deplibs_check_method=pass_all
5050 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5051 lt_cv_file_magic_cmd='/usr/bin/file -L'
5052 lt_cv_file_magic_test_file=/shlib/libc.so
5056 # func_win32_libid is a shell function defined in ltmain.sh
5057 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5058 lt_cv_file_magic_cmd='func_win32_libid'
5062 # Base MSYS/MinGW do not provide the 'file' command needed by
5063 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5064 # unless we find 'file', for example because we are cross-compiling.
5065 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5066 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5067 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5068 lt_cv_file_magic_cmd='func_win32_libid'
5070 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5071 lt_cv_file_magic_cmd='$OBJDUMP -f'
5076 # use the weaker test based on 'objdump'. See mingw*.
5077 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5078 lt_cv_file_magic_cmd='$OBJDUMP -f'
5081 darwin* | rhapsody*)
5082 lt_cv_deplibs_check_method=pass_all
5085 freebsd* | dragonfly*)
5086 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5089 # Not sure whether the presence of OpenBSD here was a mistake.
5090 # Let's accept both of them until this is cleared up.
5091 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5092 lt_cv_file_magic_cmd=/usr/bin/file
5093 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5097 lt_cv_deplibs_check_method=pass_all
5102 lt_cv_deplibs_check_method=pass_all
5106 lt_cv_deplibs_check_method=pass_all
5109 hpux10.20* | hpux11*)
5110 lt_cv_file_magic_cmd=/usr/bin/file
5113 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5114 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5117 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]'
5118 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5121 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5122 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5128 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5132 irix5* | irix6* | nonstopux*)
5134 *-32|*"-32 ") libmagic=32-bit;;
5135 *-n32|*"-n32 ") libmagic=N32;;
5136 *-64|*"-64 ") libmagic=64-bit;;
5137 *) libmagic=never-match;;
5139 lt_cv_deplibs_check_method=pass_all
5142 # This must be Linux ELF.
5143 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5144 lt_cv_deplibs_check_method=pass_all
5148 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5151 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5156 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5157 lt_cv_file_magic_cmd=/usr/bin/file
5158 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5162 lt_cv_deplibs_check_method=pass_all
5166 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5167 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5169 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5173 osf3* | osf4* | osf5*)
5174 lt_cv_deplibs_check_method=pass_all
5178 lt_cv_deplibs_check_method=pass_all
5182 lt_cv_deplibs_check_method=pass_all
5185 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5186 lt_cv_deplibs_check_method=pass_all
5190 case $host_vendor in
5192 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]'
5193 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5196 lt_cv_deplibs_check_method=pass_all
5199 lt_cv_file_magic_cmd='/bin/file'
5200 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5203 lt_cv_file_magic_cmd='/bin/file'
5204 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5205 lt_cv_file_magic_test_file=/lib/libc.so
5208 lt_cv_deplibs_check_method=pass_all
5211 lt_cv_deplibs_check_method=pass_all
5217 lt_cv_deplibs_check_method=pass_all
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5223 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5224 file_magic_cmd=$lt_cv_file_magic_cmd
5225 deplibs_check_method=$lt_cv_deplibs_check_method
5226 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}ar; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5243 $as_echo_n "checking
for $ac_word...
" >&6; }
5244 if test "${ac_cv_prog_AR+set}" = set; then :
5245 $as_echo_n "(cached
) " >&6
5247 if test -n "$AR"; then
5248 ac_cv_prog_AR="$AR" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_AR="${ac_tool_prefix}ar"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5268 if test -n "$AR"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5270 $as_echo "$AR" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5273 $as_echo "no
" >&6; }
5278 if test -z "$ac_cv_prog_AR"; then
5280 # Extract the first word of "ar", so it can be a program name with args.
5281 set dummy ar; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5283 $as_echo_n "checking
for $ac_word...
" >&6; }
5284 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5285 $as_echo_n "(cached
) " >&6
5287 if test -n "$ac_ct_AR"; then
5288 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_ac_ct_AR="ar"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5307 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5308 if test -n "$ac_ct_AR"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5310 $as_echo "$ac_ct_AR" >&6; }
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5313 $as_echo "no
" >&6; }
5316 if test "x
$ac_ct_AR" = x; then
5319 case $cross_compiling:$ac_tool_warned in
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5323 ac_tool_warned=yes ;;
5331 test -z "$AR" && AR=ar
5332 test -z "$AR_FLAGS" && AR_FLAGS=cru
5344 if test -n "$ac_tool_prefix"; then
5345 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5346 set dummy ${ac_tool_prefix}strip; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5348 $as_echo_n "checking
for $ac_word...
" >&6; }
5349 if test "${ac_cv_prog_STRIP+set}" = set; then :
5350 $as_echo_n "(cached
) " >&6
5352 if test -n "$STRIP"; then
5353 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5372 STRIP=$ac_cv_prog_STRIP
5373 if test -n "$STRIP"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5375 $as_echo "$STRIP" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5378 $as_echo "no
" >&6; }
5383 if test -z "$ac_cv_prog_STRIP"; then
5385 # Extract the first word of "strip
", so it can be a program name with args.
5386 set dummy strip; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5388 $as_echo_n "checking
for $ac_word...
" >&6; }
5389 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5390 $as_echo_n "(cached
) " >&6
5392 if test -n "$ac_ct_STRIP"; then
5393 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5402 ac_cv_prog_ac_ct_STRIP="strip
"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5413 if test -n "$ac_ct_STRIP"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5415 $as_echo "$ac_ct_STRIP" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5418 $as_echo "no
" >&6; }
5421 if test "x
$ac_ct_STRIP" = x; then
5424 case $cross_compiling:$ac_tool_warned in
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5427 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5428 ac_tool_warned=yes ;;
5433 STRIP="$ac_cv_prog_STRIP"
5436 test -z "$STRIP" && STRIP=:
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5445 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5447 $as_echo_n "checking
for $ac_word...
" >&6; }
5448 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5449 $as_echo_n "(cached
) " >&6
5451 if test -n "$RANLIB"; then
5452 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir=.
5459 for ac_exec_ext in '' $ac_executable_extensions; do
5460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5461 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5471 RANLIB=$ac_cv_prog_RANLIB
5472 if test -n "$RANLIB"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5474 $as_echo "$RANLIB" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5477 $as_echo "no
" >&6; }
5482 if test -z "$ac_cv_prog_RANLIB"; then
5483 ac_ct_RANLIB=$RANLIB
5484 # Extract the first word of "ranlib
", so it can be a program name with args.
5485 set dummy ranlib; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5487 $as_echo_n "checking
for $ac_word...
" >&6; }
5488 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5489 $as_echo_n "(cached
) " >&6
5491 if test -n "$ac_ct_RANLIB"; then
5492 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir=.
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5511 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5512 if test -n "$ac_ct_RANLIB"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5514 $as_echo "$ac_ct_RANLIB" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5517 $as_echo "no
" >&6; }
5520 if test "x
$ac_ct_RANLIB" = x; then
5523 case $cross_compiling:$ac_tool_warned in
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5527 ac_tool_warned=yes ;;
5529 RANLIB=$ac_ct_RANLIB
5532 RANLIB="$ac_cv_prog_RANLIB"
5535 test -z "$RANLIB" && RANLIB=:
5542 # Determine commands to create old-style static archives.
5543 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5544 old_postinstall_cmds='chmod 644 $oldlib'
5545 old_postuninstall_cmds=
5547 if test -n "$RANLIB"; then
5550 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5553 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5556 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5561 lock_old_archive_extraction=yes ;;
5563 lock_old_archive_extraction=no ;;
5604 # If no C compiler was specified, use CC.
5607 # If no C compiler flags were specified, use CFLAGS.
5608 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5610 # Allow CC to be a program name with arguments.
5614 # Check for command to grab the raw symbol name followed by C symbol from nm.
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5616 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5617 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5618 $as_echo_n "(cached
) " >&6
5621 # These are sane defaults that work on at least a few old systems.
5622 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5624 # Character class describing NM global symbol codes.
5625 symcode='[BCDEGRST]'
5627 # Regexp to match symbols that can be accessed directly from C.
5628 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5630 # Define system-specific variables.
5635 cygwin* | mingw* | pw32* | cegcc*)
5636 symcode='[ABCDGISTW]'
5639 if test "$host_cpu" = ia64; then
5640 symcode='[ABCDEGRST]'
5644 symcode='[BCDEGRST]'
5647 symcode='[BCDEGQRST]'
5658 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5666 # If we're using GNU nm, then use its standard symbol codes.
5667 case `$NM -V 2>&1` in
5668 *GNU* | *'with BFD'*)
5669 symcode='[ABCDGIRSTW]' ;;
5672 # Transform an extracted symbol line into a proper C declaration.
5673 # Some systems (esp. on ia64) link data and code symbols differently,
5674 # so use this general approach.
5675 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5677 # Transform an extracted symbol line into symbol name and symbol address
5678 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5679 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'"
5681 # Handle CRLF in mingw tool chain
5685 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5689 # Try without a prefix underscore, then with it.
5690 for ac_symprfx in "" "_
"; do
5692 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5693 symxfrm="\\1 $ac_symprfx\\2 \\2"
5695 # Write the raw and C identifiers.
5696 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5697 # Fake it for dumpbin and say T for any non-static function
5698 # and D for any global variable.
5699 # Also find C++ and __fastcall symbols from MSVC++,
5700 # which start with @ or ?.
5701 lt_cv_sys_global_symbol_pipe="$AWK '"\
5702 " {last_section=section; section=\$ 3};"\
5703 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5704 " \$ 0!~/External *\|/{next};"\
5705 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5706 " {if(hide[section]) next};"\
5707 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5708 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5709 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5710 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5711 " ' prfx
=^
$ac_symprfx"
5713 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5716 # Check to see that the pipe works correctly.
5720 cat > conftest.$ac_ext <<_LT_EOF
5725 void nm_test_func(void);
5726 void nm_test_func(void){}
5730 int main(){nm_test_var='a';nm_test_func();return(0);}
5733 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5734 (eval $ac_compile) 2>&5
5736 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5737 test $ac_status = 0; }; then
5738 # Now try to grab the symbols.
5740 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5741 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5743 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5744 test $ac_status = 0; } && test -s "$nlist"; then
5745 # Try sorting and uniquifying the output.
5746 if sort "$nlist" | uniq > "$nlist"T; then
5747 mv -f "$nlist"T "$nlist"
5752 # Make sure that we snagged all the symbols we need.
5753 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5754 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5755 cat <<_LT_EOF > conftest.$ac_ext
5761 # Now generate the symbol file.
5762 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5764 cat <<_LT_EOF >> conftest.$ac_ext
5766 /* The mapping between symbol names and symbols. */
5771 lt__PROGRAM__LTX_preloaded_symbols[] =
5773 { "@PROGRAM@
", (void *) 0 },
5775 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5776 cat <<\_LT_EOF >> conftest.$ac_ext
5780 /* This works around a problem in FreeBSD linker */
5781 #ifdef FREEBSD_WORKAROUND
5782 static const void *lt_preloaded_setup() {
5783 return lt__PROGRAM__LTX_preloaded_symbols;
5791 # Now try linking the two files.
5792 mv conftest.$ac_objext conftstm.$ac_objext
5793 lt_save_LIBS="$LIBS"
5794 lt_save_CFLAGS="$CFLAGS"
5795 LIBS="conftstm.
$ac_objext"
5796 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5797 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5798 (eval $ac_link) 2>&5
5800 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5801 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5804 LIBS="$lt_save_LIBS"
5805 CFLAGS="$lt_save_CFLAGS"
5807 echo "cannot
find nm_test_func
in $nlist" >&5
5810 echo "cannot
find nm_test_var
in $nlist" >&5
5813 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5816 echo "$progname: failed program was
:" >&5
5817 cat conftest.$ac_ext >&5
5819 rm -rf conftest* conftst*
5821 # Do not use the global_symbol_pipe unless it works.
5822 if test "$pipe_works" = yes; then
5825 lt_cv_sys_global_symbol_pipe=
5831 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5832 lt_cv_sys_global_symbol_to_cdecl=
5834 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5836 $as_echo "failed
" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5839 $as_echo "ok
" >&6; }
5864 # Check whether --enable-libtool-lock was given.
5865 if test "${enable_libtool_lock+set}" = set; then :
5866 enableval=$enable_libtool_lock;
5869 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5871 # Some flags need to be propagated to the compiler or linker for good
5875 # Find out which ABI we are using.
5876 echo 'int i;' > conftest.$ac_ext
5877 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5878 (eval $ac_compile) 2>&5
5880 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5881 test $ac_status = 0; }; then
5882 case `/usr/bin/file conftest.$ac_objext` in
5894 # Find out which ABI we are using.
5895 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5896 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5897 (eval $ac_compile) 2>&5
5899 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5900 test $ac_status = 0; }; then
5901 if test "$lt_cv_prog_gnu_ld" = yes; then
5902 case `/usr/bin/file conftest.$ac_objext` in
5904 LD="${LD-ld} -melf32bsmip"
5907 LD="${LD-ld} -melf32bmipn32"
5910 LD="${LD-ld} -melf64bmip"
5914 case `/usr/bin/file conftest.$ac_objext` in
5930 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5931 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5932 # Find out which ABI we are using.
5933 echo 'int i;' > conftest.$ac_ext
5934 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5935 (eval $ac_compile) 2>&5
5937 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5938 test $ac_status = 0; }; then
5939 case `/usr/bin/file conftest.o` in
5942 x86_64-*kfreebsd*-gnu)
5943 LD="${LD-ld} -m elf_i386_fbsd
"
5946 case `/usr/bin/file conftest.o` in
5948 LD="${LD-ld} -m elf32_x86_64
"
5951 LD="${LD-ld} -m elf_i386
"
5955 ppc64-*linux*|powerpc64-*linux*)
5956 LD="${LD-ld} -m elf32ppclinux
"
5959 LD="${LD-ld} -m elf_s390
"
5962 LD="${LD-ld} -m elf32_sparc
"
5968 x86_64-*kfreebsd*-gnu)
5969 LD="${LD-ld} -m elf_x86_64_fbsd
"
5972 LD="${LD-ld} -m elf_x86_64
"
5974 ppc*-*linux*|powerpc*-*linux*)
5975 LD="${LD-ld} -m elf64ppc
"
5977 s390*-*linux*|s390*-*tpf*)
5978 LD="${LD-ld} -m elf64_s390
"
5981 LD="${LD-ld} -m elf64_sparc
"
5991 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5992 SAVE_CFLAGS="$CFLAGS"
5993 CFLAGS="$CFLAGS -belf"
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5995 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5996 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5997 $as_echo_n "(cached
) " >&6
6000 ac_cpp='$CPP $CPPFLAGS'
6001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6016 if ac_fn_c_try_link "$LINENO"; then :
6017 lt_cv_cc_needs_belf=yes
6019 lt_cv_cc_needs_belf=no
6021 rm -f core conftest.err conftest.$ac_objext \
6022 conftest$ac_exeext conftest.$ac_ext
6024 ac_cpp='$CPP $CPPFLAGS'
6025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6031 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6032 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6033 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6034 CFLAGS="$SAVE_CFLAGS"
6038 # Find out which ABI we are using.
6039 echo 'int i;' > conftest.$ac_ext
6040 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6041 (eval $ac_compile) 2>&5
6043 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6044 test $ac_status = 0; }; then
6045 case `/usr/bin/file conftest.o` in
6047 case $lt_cv_prog_gnu_ld in
6048 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6050 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6062 need_locks="$enable_libtool_lock"
6066 rhapsody* | darwin*)
6067 if test -n "$ac_tool_prefix"; then
6068 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6069 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6071 $as_echo_n "checking
for $ac_word...
" >&6; }
6072 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6073 $as_echo_n "(cached
) " >&6
6075 if test -n "$DSYMUTIL"; then
6076 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6085 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6095 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6096 if test -n "$DSYMUTIL"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6098 $as_echo "$DSYMUTIL" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6101 $as_echo "no
" >&6; }
6106 if test -z "$ac_cv_prog_DSYMUTIL"; then
6107 ac_ct_DSYMUTIL=$DSYMUTIL
6108 # Extract the first word of "dsymutil
", so it can be a program name with args.
6109 set dummy dsymutil; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6111 $as_echo_n "checking
for $ac_word...
" >&6; }
6112 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6113 $as_echo_n "(cached
) " >&6
6115 if test -n "$ac_ct_DSYMUTIL"; then
6116 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6135 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6136 if test -n "$ac_ct_DSYMUTIL"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6138 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6141 $as_echo "no
" >&6; }
6144 if test "x
$ac_ct_DSYMUTIL" = x; then
6147 case $cross_compiling:$ac_tool_warned in
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6150 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6151 ac_tool_warned=yes ;;
6153 DSYMUTIL=$ac_ct_DSYMUTIL
6156 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6159 if test -n "$ac_tool_prefix"; then
6160 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6161 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6163 $as_echo_n "checking
for $ac_word...
" >&6; }
6164 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6165 $as_echo_n "(cached
) " >&6
6167 if test -n "$NMEDIT"; then
6168 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6187 NMEDIT=$ac_cv_prog_NMEDIT
6188 if test -n "$NMEDIT"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6190 $as_echo "$NMEDIT" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6193 $as_echo "no
" >&6; }
6198 if test -z "$ac_cv_prog_NMEDIT"; then
6199 ac_ct_NMEDIT=$NMEDIT
6200 # Extract the first word of "nmedit
", so it can be a program name with args.
6201 set dummy nmedit; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6203 $as_echo_n "checking
for $ac_word...
" >&6; }
6204 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6205 $as_echo_n "(cached
) " >&6
6207 if test -n "$ac_ct_NMEDIT"; then
6208 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6217 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6227 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6228 if test -n "$ac_ct_NMEDIT"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6230 $as_echo "$ac_ct_NMEDIT" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6233 $as_echo "no
" >&6; }
6236 if test "x
$ac_ct_NMEDIT" = x; then
6239 case $cross_compiling:$ac_tool_warned in
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6243 ac_tool_warned=yes ;;
6245 NMEDIT=$ac_ct_NMEDIT
6248 NMEDIT="$ac_cv_prog_NMEDIT"
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6255 $as_echo_n "checking
for $ac_word...
" >&6; }
6256 if test "${ac_cv_prog_LIPO+set}" = set; then :
6257 $as_echo_n "(cached
) " >&6
6259 if test -n "$LIPO"; then
6260 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6279 LIPO=$ac_cv_prog_LIPO
6280 if test -n "$LIPO"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6282 $as_echo "$LIPO" >&6; }
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6285 $as_echo "no
" >&6; }
6290 if test -z "$ac_cv_prog_LIPO"; then
6292 # Extract the first word of "lipo
", so it can be a program name with args.
6293 set dummy lipo; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6295 $as_echo_n "checking
for $ac_word...
" >&6; }
6296 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6297 $as_echo_n "(cached
) " >&6
6299 if test -n "$ac_ct_LIPO"; then
6300 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 test -z "$as_dir" && as_dir=.
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309 ac_cv_prog_ac_ct_LIPO="lipo
"
6310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6319 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6320 if test -n "$ac_ct_LIPO"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6322 $as_echo "$ac_ct_LIPO" >&6; }
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6325 $as_echo "no
" >&6; }
6328 if test "x
$ac_ct_LIPO" = x; then
6331 case $cross_compiling:$ac_tool_warned in
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6334 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6335 ac_tool_warned=yes ;;
6340 LIPO="$ac_cv_prog_LIPO"
6343 if test -n "$ac_tool_prefix"; then
6344 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6345 set dummy ${ac_tool_prefix}otool; ac_word=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6347 $as_echo_n "checking
for $ac_word...
" >&6; }
6348 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6349 $as_echo_n "(cached
) " >&6
6351 if test -n "$OTOOL"; then
6352 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6371 OTOOL=$ac_cv_prog_OTOOL
6372 if test -n "$OTOOL"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6374 $as_echo "$OTOOL" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6377 $as_echo "no
" >&6; }
6382 if test -z "$ac_cv_prog_OTOOL"; then
6384 # Extract the first word of "otool
", so it can be a program name with args.
6385 set dummy otool; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6387 $as_echo_n "checking
for $ac_word...
" >&6; }
6388 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6389 $as_echo_n "(cached
) " >&6
6391 if test -n "$ac_ct_OTOOL"; then
6392 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_ac_ct_OTOOL="otool
"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6411 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6412 if test -n "$ac_ct_OTOOL"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6414 $as_echo "$ac_ct_OTOOL" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6417 $as_echo "no
" >&6; }
6420 if test "x
$ac_ct_OTOOL" = x; then
6423 case $cross_compiling:$ac_tool_warned in
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6427 ac_tool_warned=yes ;;
6432 OTOOL="$ac_cv_prog_OTOOL"
6435 if test -n "$ac_tool_prefix"; then
6436 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6437 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6439 $as_echo_n "checking
for $ac_word...
" >&6; }
6440 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6441 $as_echo_n "(cached
) " >&6
6443 if test -n "$OTOOL64"; then
6444 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6453 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6463 OTOOL64=$ac_cv_prog_OTOOL64
6464 if test -n "$OTOOL64"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6466 $as_echo "$OTOOL64" >&6; }
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6469 $as_echo "no
" >&6; }
6474 if test -z "$ac_cv_prog_OTOOL64"; then
6475 ac_ct_OTOOL64=$OTOOL64
6476 # Extract the first word of "otool64
", so it can be a program name with args.
6477 set dummy otool64; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6479 $as_echo_n "checking
for $ac_word...
" >&6; }
6480 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6481 $as_echo_n "(cached
) " >&6
6483 if test -n "$ac_ct_OTOOL64"; then
6484 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6503 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6504 if test -n "$ac_ct_OTOOL64"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6506 $as_echo "$ac_ct_OTOOL64" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6509 $as_echo "no
" >&6; }
6512 if test "x
$ac_ct_OTOOL64" = x; then
6515 case $cross_compiling:$ac_tool_warned in
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6518 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6519 ac_tool_warned=yes ;;
6521 OTOOL64=$ac_ct_OTOOL64
6524 OTOOL64="$ac_cv_prog_OTOOL64"
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6554 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6555 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6556 $as_echo_n "(cached
) " >&6
6558 lt_cv_apple_cc_single_mod=no
6559 if test -z "${LT_MULTI_MODULE}"; then
6560 # By default we will add the -single_module flag. You can override
6561 # by either setting the environment variable LT_MULTI_MODULE
6562 # non-empty at configure time, or by adding -multi_module to the
6564 rm -rf libconftest.dylib*
6565 echo "int foo
(void
){return 1;}" > conftest.c
6566 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6567 -dynamiclib -Wl,-single_module conftest.c
" >&5
6568 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6569 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6571 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6572 lt_cv_apple_cc_single_mod=yes
6574 cat conftest.err >&5
6576 rm -rf libconftest.dylib*
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6581 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6583 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6584 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6585 $as_echo_n "(cached
) " >&6
6587 lt_cv_ld_exported_symbols_list=no
6588 save_LDFLAGS=$LDFLAGS
6589 echo "_main
" > conftest.sym
6590 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6602 if ac_fn_c_try_link "$LINENO"; then :
6603 lt_cv_ld_exported_symbols_list=yes
6605 lt_cv_ld_exported_symbols_list=no
6607 rm -f core conftest.err conftest.$ac_objext \
6608 conftest$ac_exeext conftest.$ac_ext
6609 LDFLAGS="$save_LDFLAGS"
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6613 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6615 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6616 if test "${lt_cv_ld_force_load+set}" = set; then :
6617 $as_echo_n "(cached
) " >&6
6619 lt_cv_ld_force_load=no
6620 cat > conftest.c << _LT_EOF
6621 int forced_loaded() { return 2;}
6623 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6624 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6625 echo "$AR cru libconftest.a conftest.o
" >&5
6626 $AR cru libconftest.a conftest.o 2>&5
6627 cat > conftest.c << _LT_EOF
6628 int main() { return 0;}
6630 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6631 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6633 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6634 lt_cv_ld_force_load=yes
6636 cat conftest.err >&5
6638 rm -f conftest.err libconftest.a conftest conftest.c
6639 rm -rf conftest.dSYM
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6643 $as_echo "$lt_cv_ld_force_load" >&6; }
6645 rhapsody* | darwin1.[012])
6646 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6648 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6649 darwin*) # darwin 5.x on
6650 # if running on 10.5 or later, the deployment target defaults
6651 # to the OS version, if on x86, and 10.4, the deployment
6652 # target defaults to 10.4. Don't you love it?
6653 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6654 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6655 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6657 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6659 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6663 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6664 _lt_dar_single_mod='$single_module'
6666 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6667 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6669 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6671 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6672 _lt_dsymutil='~$DSYMUTIL $lib || :'
6680 ac_cpp='$CPP $CPPFLAGS'
6681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6685 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6686 # On Suns, sometimes $CPP names a directory.
6687 if test -n "$CPP" && test -d "$CPP"; then
6690 if test -z "$CPP"; then
6691 if test "${ac_cv_prog_CPP+set}" = set; then :
6692 $as_echo_n "(cached
) " >&6
6694 # Double quotes because CPP needs to be expanded
6695 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6698 for ac_c_preproc_warn_flag in '' yes
6700 # Use a header file that comes with gcc, so configuring glibc
6701 # with a fresh cross-compiler works.
6702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6703 # <limits.h> exists even on freestanding compilers.
6704 # On the NeXT, cc -E runs the code through the compiler's parser,
6705 # not just through cpp. "Syntax error
" is here to catch this case.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6709 # include <limits.h>
6711 # include <assert.h>
6715 if ac_fn_c_try_cpp "$LINENO"; then :
6718 # Broken: fails on valid input.
6721 rm -f conftest.err conftest.$ac_ext
6723 # OK, works on sane cases. Now check whether nonexistent headers
6724 # can be detected and how.
6725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6726 /* end confdefs.h. */
6727 #include <ac_nonexistent.h>
6729 if ac_fn_c_try_cpp "$LINENO"; then :
6730 # Broken: success on invalid input.
6733 # Passes both tests.
6737 rm -f conftest.err conftest.$ac_ext
6740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6741 rm -f conftest.err conftest.$ac_ext
6742 if $ac_preproc_ok; then :
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6755 $as_echo "$CPP" >&6; }
6757 for ac_c_preproc_warn_flag in '' yes
6759 # Use a header file that comes with gcc, so configuring glibc
6760 # with a fresh cross-compiler works.
6761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6762 # <limits.h> exists even on freestanding compilers.
6763 # On the NeXT, cc -E runs the code through the compiler's parser,
6764 # not just through cpp. "Syntax error
" is here to catch this case.
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6768 # include <limits.h>
6770 # include <assert.h>
6774 if ac_fn_c_try_cpp "$LINENO"; then :
6777 # Broken: fails on valid input.
6780 rm -f conftest.err conftest.$ac_ext
6782 # OK, works on sane cases. Now check whether nonexistent headers
6783 # can be detected and how.
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6786 #include <ac_nonexistent.h>
6788 if ac_fn_c_try_cpp "$LINENO"; then :
6789 # Broken: success on invalid input.
6792 # Passes both tests.
6796 rm -f conftest.err conftest.$ac_ext
6799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6800 rm -f conftest.err conftest.$ac_ext
6801 if $ac_preproc_ok; then :
6804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6806 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6807 See \`config.log' for more details.
" "$LINENO" 5; }
6811 ac_cpp='$CPP $CPPFLAGS'
6812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6818 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6819 if test "${ac_cv_header_stdc+set}" = set; then :
6820 $as_echo_n "(cached
) " >&6
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6837 if ac_fn_c_try_compile "$LINENO"; then :
6838 ac_cv_header_stdc=yes
6840 ac_cv_header_stdc=no
6842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6844 if test $ac_cv_header_stdc = yes; then
6845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6851 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6852 $EGREP "memchr
" >/dev/null 2>&1; then :
6855 ac_cv_header_stdc=no
6861 if test $ac_cv_header_stdc = yes; then
6862 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6868 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6869 $EGREP "free
" >/dev/null 2>&1; then :
6872 ac_cv_header_stdc=no
6878 if test $ac_cv_header_stdc = yes; then
6879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6880 if test "$cross_compiling" = yes; then :
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6887 #if ((' ' & 0x0FF) == 0x020)
6888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6891 # define ISLOWER(c) \
6892 (('a' <= (c) && (c) <= 'i') \
6893 || ('j' <= (c) && (c) <= 'r') \
6894 || ('s' <= (c) && (c) <= 'z'))
6895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6903 for (i = 0; i < 256; i++)
6904 if (XOR (islower (i), ISLOWER (i))
6905 || toupper (i) != TOUPPER (i))
6910 if ac_fn_c_try_run "$LINENO"; then :
6913 ac_cv_header_stdc=no
6915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6916 conftest.$ac_objext conftest.beam conftest.$ac_ext
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6922 $as_echo "$ac_cv_header_stdc" >&6; }
6923 if test $ac_cv_header_stdc = yes; then
6925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6929 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6930 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6931 inttypes.h stdint.h unistd.h
6933 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6934 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6936 eval as_val
=\$
$as_ac_Header
6937 if test "x$as_val" = x
""yes; then :
6938 cat >>confdefs.h
<<_ACEOF
6939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 for ac_header
in dlfcn.h
6949 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6951 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6952 cat >>confdefs.h
<<_ACEOF
6953 #define HAVE_DLFCN_H 1
6965 # Check whether --enable-shared was given.
6966 if test "${enable_shared+set}" = set; then :
6967 enableval
=$enable_shared; p
=${PACKAGE-default}
6969 yes) enable_shared
=yes ;;
6970 no
) enable_shared
=no
;;
6973 # Look at the argument we got. We use all the common list separators.
6974 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6975 for pkg
in $enableval; do
6977 if test "X$pkg" = "X$p"; then
7004 # Check whether --enable-static was given.
7005 if test "${enable_static+set}" = set; then :
7006 enableval
=$enable_static; p
=${PACKAGE-default}
7008 yes) enable_static
=yes ;;
7009 no
) enable_static
=no
;;
7012 # Look at the argument we got. We use all the common list separators.
7013 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7014 for pkg
in $enableval; do
7016 if test "X$pkg" = "X$p"; then
7036 # Check whether --with-pic was given.
7037 if test "${with_pic+set}" = set; then :
7038 withval
=$with_pic; pic_mode
="$withval"
7044 test -z "$pic_mode" && pic_mode
=default
7052 # Check whether --enable-fast-install was given.
7053 if test "${enable_fast_install+set}" = set; then :
7054 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7056 yes) enable_fast_install
=yes ;;
7057 no
) enable_fast_install
=no
;;
7059 enable_fast_install
=no
7060 # Look at the argument we got. We use all the common list separators.
7061 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7062 for pkg
in $enableval; do
7064 if test "X$pkg" = "X$p"; then
7065 enable_fast_install
=yes
7072 enable_fast_install
=yes
7085 # This can be used to rebuild libtool when needed
7086 LIBTOOL_DEPS
="$ltmain"
7088 # Always use our own libtool.
7089 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7116 test -z "$LN_S" && LN_S
="ln -s"
7131 if test -n "${ZSH_VERSION+set}" ; then
7132 setopt NO_GLOB_SUBST
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7136 $as_echo_n "checking for objdir... " >&6; }
7137 if test "${lt_cv_objdir+set}" = set; then :
7138 $as_echo_n "(cached) " >&6
7140 rm -f .libs
2>/dev
/null
7141 mkdir .libs
2>/dev
/null
7142 if test -d .libs
; then
7145 # MS-DOS does not allow filenames that begin with a dot.
7148 rmdir .libs
2>/dev
/null
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7151 $as_echo "$lt_cv_objdir" >&6; }
7152 objdir
=$lt_cv_objdir
7158 cat >>confdefs.h
<<_ACEOF
7159 #define LT_OBJDIR "$lt_cv_objdir/"
7167 # AIX sometimes has problems with the GCC collect2 program. For some
7168 # reason, if we set the COLLECT_NAMES environment variable, the problems
7169 # vanish in a puff of smoke.
7170 if test "X${COLLECT_NAMES+set}" != Xset
; then
7172 export COLLECT_NAMES
7179 can_build_shared
=yes
7181 # All known linkers require a `.a' archive for static linking (except MSVC,
7182 # which needs '.lib').
7185 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7188 old_CFLAGS
="$CFLAGS"
7190 # Set sane defaults for various variables
7191 test -z "$CC" && CC
=cc
7192 test -z "$LTCC" && LTCC
=$CC
7193 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7194 test -z "$LD" && LD
=ld
7195 test -z "$ac_objext" && ac_objext
=o
7197 for cc_temp
in $compiler""; do
7199 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7200 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7205 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7208 # Only perform the check for file, if the check method requires it
7209 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7210 case $deplibs_check_method in
7212 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7214 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7215 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7216 $as_echo_n "(cached) " >&6
7220 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7223 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7224 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7225 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7226 for ac_dir
in $ac_dummy; do
7228 test -z "$ac_dir" && ac_dir
=.
7229 if test -f $ac_dir/${ac_tool_prefix}file; then
7230 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7231 if test -n "$file_magic_test_file"; then
7232 case $deplibs_check_method in
7234 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7235 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7236 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7237 $EGREP "$file_magic_regex" > /dev
/null
; then
7242 *** Warning: the command libtool uses to detect shared libraries,
7243 *** $file_magic_cmd, produces output that libtool cannot recognize.
7244 *** The result is that libtool may fail to recognize shared libraries
7245 *** as such. This will affect the creation of libtool libraries that
7246 *** depend on shared libraries, but programs linked with such libtool
7247 *** libraries will work regardless of this problem. Nevertheless, you
7248 *** may want to report the problem to your system manager and/or to
7249 *** bug-libtool@gnu.org
7259 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7264 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7265 if test -n "$MAGIC_CMD"; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7267 $as_echo "$MAGIC_CMD" >&6; }
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7277 if test -z "$lt_cv_path_MAGIC_CMD"; then
7278 if test -n "$ac_tool_prefix"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7280 $as_echo_n "checking for file... " >&6; }
7281 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7282 $as_echo_n "(cached) " >&6
7286 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7289 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7290 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7291 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7292 for ac_dir
in $ac_dummy; do
7294 test -z "$ac_dir" && ac_dir
=.
7295 if test -f $ac_dir/file; then
7296 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7297 if test -n "$file_magic_test_file"; then
7298 case $deplibs_check_method in
7300 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7301 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7302 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7303 $EGREP "$file_magic_regex" > /dev
/null
; then
7308 *** Warning: the command libtool uses to detect shared libraries,
7309 *** $file_magic_cmd, produces output that libtool cannot recognize.
7310 *** The result is that libtool may fail to recognize shared libraries
7311 *** as such. This will affect the creation of libtool libraries that
7312 *** depend on shared libraries, but programs linked with such libtool
7313 *** libraries will work regardless of this problem. Nevertheless, you
7314 *** may want to report the problem to your system manager and/or to
7315 *** bug-libtool@gnu.org
7325 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7330 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7331 if test -n "$MAGIC_CMD"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7333 $as_echo "$MAGIC_CMD" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7349 # Use C for the default configuration in the libtool script
7353 ac_cpp
='$CPP $CPPFLAGS'
7354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7359 # Source file extension for C test sources.
7362 # Object file extension for compiled C test sources.
7366 # Code to be used in simple compile tests
7367 lt_simple_compile_test_code
="int some_variable = 0;"
7369 # Code to be used in simple link tests
7370 lt_simple_link_test_code
='int main(){return(0);}'
7378 # If no C compiler was specified, use CC.
7381 # If no C compiler flags were specified, use CFLAGS.
7382 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7384 # Allow CC to be a program name with arguments.
7387 # Save the default compiler, since it gets overwritten when the other
7388 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7389 compiler_DEFAULT
=$CC
7391 # save warnings/boilerplate of simple test code
7392 ac_outfile
=conftest.
$ac_objext
7393 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7394 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7395 _lt_compiler_boilerplate
=`cat conftest.err`
7398 ac_outfile
=conftest.
$ac_objext
7399 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7400 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7401 _lt_linker_boilerplate
=`cat conftest.err`
7406 ## There is no encapsulation within the following macros, do not change
7407 ## the running order or otherwise move them around unless you know exactly
7408 ## what you are doing...
7409 if test -n "$compiler"; then
7411 lt_prog_compiler_no_builtin_flag
=
7413 if test "$GCC" = yes; then
7414 case $cc_basename in
7416 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7418 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7422 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7423 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7426 lt_cv_prog_compiler_rtti_exceptions
=no
7427 ac_outfile
=conftest.
$ac_objext
7428 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7429 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7430 # Insert the option either (1) after the last *FLAGS variable, or
7431 # (2) before a word containing "conftest.", or (3) at the end.
7432 # Note that $ac_compile itself does not contain backslashes and begins
7433 # with a dollar sign (not a hyphen), so the echo should work correctly.
7434 # The option is referenced via a variable to avoid confusing sed.
7435 lt_compile
=`echo "$ac_compile" | $SED \
7436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7438 -e 's:$: $lt_compiler_flag:'`
7439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7440 (eval "$lt_compile" 2>conftest.err
)
7442 cat conftest.err
>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 if (exit $ac_status) && test -s "$ac_outfile"; then
7445 # The compiler can only warn and ignore the option if not recognized
7446 # So say no if there are warnings other than the usual output.
7447 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7448 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7449 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7450 lt_cv_prog_compiler_rtti_exceptions
=yes
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7457 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7459 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7460 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7472 lt_prog_compiler_wl
=
7473 lt_prog_compiler_pic
=
7474 lt_prog_compiler_static
=
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7477 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7479 if test "$GCC" = yes; then
7480 lt_prog_compiler_wl
='-Wl,'
7481 lt_prog_compiler_static
='-static'
7485 # All AIX code is PIC.
7486 if test "$host_cpu" = ia64
; then
7487 # AIX 5 now supports IA64 processor
7488 lt_prog_compiler_static
='-Bstatic'
7490 lt_prog_compiler_pic
='-fPIC'
7496 # see comment about AmigaOS4 .so support
7497 lt_prog_compiler_pic
='-fPIC'
7500 # FIXME: we need at least 68020 code to build shared libraries, but
7501 # adding the `-m68020' flag to GCC prevents building anything better,
7503 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7508 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7509 # PIC is the default for these OSes.
7512 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7513 # This hack is so that the source file can tell whether it is being
7514 # built for inclusion in a dll (and should export symbols for example).
7515 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7516 # (--disable-auto-import) libraries
7517 lt_prog_compiler_pic
='-DDLL_EXPORT'
7520 darwin
* | rhapsody
*)
7521 # PIC is the default on this platform
7522 # Common symbols not allowed in MH_DYLIB files
7523 lt_prog_compiler_pic
='-fno-common'
7527 # PIC is the default for Haiku.
7528 # The "-static" flag exists, but is broken.
7529 lt_prog_compiler_static
=
7533 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7534 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7535 # sets the default TLS model and affects inlining.
7541 lt_prog_compiler_pic
='-fPIC'
7547 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7548 # Instead, we relocate shared libraries at runtime.
7552 # Just because we use GCC doesn't mean we suddenly get shared libraries
7553 # on systems that don't support them.
7554 lt_prog_compiler_can_build_shared
=no
7559 # QNX uses GNU C++, but need to define -shared option too, otherwise
7561 lt_prog_compiler_pic
='-fPIC -shared'
7565 if test -d /usr
/nec
; then
7566 lt_prog_compiler_pic
=-Kconform_pic
7571 lt_prog_compiler_pic
='-fPIC'
7575 case $cc_basename in
7576 nvcc
*) # Cuda Compiler Driver 2.2
7577 lt_prog_compiler_wl
='-Xlinker '
7578 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7582 # PORTME Check for flag to pass linker flags through the system compiler.
7585 lt_prog_compiler_wl
='-Wl,'
7586 if test "$host_cpu" = ia64
; then
7587 # AIX 5 now supports IA64 processor
7588 lt_prog_compiler_static
='-Bstatic'
7590 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7594 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7595 # This hack is so that the source file can tell whether it is being
7596 # built for inclusion in a dll (and should export symbols for example).
7597 lt_prog_compiler_pic
='-DDLL_EXPORT'
7600 hpux9
* | hpux10
* | hpux11
*)
7601 lt_prog_compiler_wl
='-Wl,'
7602 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7609 lt_prog_compiler_pic
='+Z'
7612 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7613 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7616 irix5
* | irix6
* | nonstopux
*)
7617 lt_prog_compiler_wl
='-Wl,'
7618 # PIC (with -KPIC) is the default.
7619 lt_prog_compiler_static
='-non_shared'
7622 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7623 case $cc_basename in
7624 # old Intel for x86_64 which still supported -KPIC.
7626 lt_prog_compiler_wl
='-Wl,'
7627 lt_prog_compiler_pic
='-KPIC'
7628 lt_prog_compiler_static
='-static'
7630 # icc used to be incompatible with GCC.
7631 # ICC 10 doesn't accept -KPIC any more.
7633 lt_prog_compiler_wl
='-Wl,'
7634 lt_prog_compiler_pic
='-fPIC'
7635 lt_prog_compiler_static
='-static'
7637 # Lahey Fortran 8.1.
7639 lt_prog_compiler_wl
='-Wl,'
7640 lt_prog_compiler_pic
='--shared'
7641 lt_prog_compiler_static
='--static'
7643 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7644 # Portland Group compilers (*not* the Pentium gcc compiler,
7645 # which looks to be a dead project)
7646 lt_prog_compiler_wl
='-Wl,'
7647 lt_prog_compiler_pic
='-fpic'
7648 lt_prog_compiler_static
='-Bstatic'
7651 lt_prog_compiler_wl
='-Wl,'
7652 # All Alpha code is PIC.
7653 lt_prog_compiler_static
='-non_shared'
7655 xl
* | bgxl
* | bgf
* | mpixl
*)
7656 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7657 lt_prog_compiler_wl
='-Wl,'
7658 lt_prog_compiler_pic
='-qpic'
7659 lt_prog_compiler_static
='-qstaticlink'
7662 case `$CC -V 2>&1 | sed 5q` in
7663 *Sun\ F
* |
*Sun
*Fortran
*)
7664 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7665 lt_prog_compiler_pic
='-KPIC'
7666 lt_prog_compiler_static
='-Bstatic'
7667 lt_prog_compiler_wl
=''
7671 lt_prog_compiler_pic
='-KPIC'
7672 lt_prog_compiler_static
='-Bstatic'
7673 lt_prog_compiler_wl
='-Wl,'
7681 lt_prog_compiler_pic
='-KPIC'
7682 lt_prog_compiler_static
='-Bstatic'
7686 # QNX uses GNU C++, but need to define -shared option too, otherwise
7688 lt_prog_compiler_pic
='-fPIC -shared'
7691 osf3
* | osf4
* | osf5
*)
7692 lt_prog_compiler_wl
='-Wl,'
7693 # All OSF/1 code is PIC.
7694 lt_prog_compiler_static
='-non_shared'
7698 lt_prog_compiler_static
='-non_shared'
7702 lt_prog_compiler_pic
='-KPIC'
7703 lt_prog_compiler_static
='-Bstatic'
7704 case $cc_basename in
7706 lt_prog_compiler_wl
='-Qoption ld ';;
7708 lt_prog_compiler_wl
='-Wl,';;
7713 lt_prog_compiler_wl
='-Qoption ld '
7714 lt_prog_compiler_pic
='-PIC'
7715 lt_prog_compiler_static
='-Bstatic'
7718 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7719 lt_prog_compiler_wl
='-Wl,'
7720 lt_prog_compiler_pic
='-KPIC'
7721 lt_prog_compiler_static
='-Bstatic'
7725 if test -d /usr
/nec
;then
7726 lt_prog_compiler_pic
='-Kconform_pic'
7727 lt_prog_compiler_static
='-Bstatic'
7731 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7732 lt_prog_compiler_wl
='-Wl,'
7733 lt_prog_compiler_pic
='-KPIC'
7734 lt_prog_compiler_static
='-Bstatic'
7738 lt_prog_compiler_wl
='-Wl,'
7739 lt_prog_compiler_can_build_shared
=no
7743 lt_prog_compiler_pic
='-pic'
7744 lt_prog_compiler_static
='-Bstatic'
7748 lt_prog_compiler_can_build_shared
=no
7754 # For platforms which do not support PIC, -DPIC is meaningless:
7756 lt_prog_compiler_pic
=
7759 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7763 $as_echo "$lt_prog_compiler_pic" >&6; }
7771 # Check to make sure the PIC flag actually works.
7773 if test -n "$lt_prog_compiler_pic"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7775 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7776 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7777 $as_echo_n "(cached) " >&6
7779 lt_cv_prog_compiler_pic_works
=no
7780 ac_outfile
=conftest.
$ac_objext
7781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7782 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7783 # Insert the option either (1) after the last *FLAGS variable, or
7784 # (2) before a word containing "conftest.", or (3) at the end.
7785 # Note that $ac_compile itself does not contain backslashes and begins
7786 # with a dollar sign (not a hyphen), so the echo should work correctly.
7787 # The option is referenced via a variable to avoid confusing sed.
7788 lt_compile
=`echo "$ac_compile" | $SED \
7789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7791 -e 's:$: $lt_compiler_flag:'`
7792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7793 (eval "$lt_compile" 2>conftest.err
)
7795 cat conftest.err
>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 if (exit $ac_status) && test -s "$ac_outfile"; then
7798 # The compiler can only warn and ignore the option if not recognized
7799 # So say no if there are warnings other than the usual output.
7800 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7801 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7802 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7803 lt_cv_prog_compiler_pic_works
=yes
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7810 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7812 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7813 case $lt_prog_compiler_pic in
7815 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7818 lt_prog_compiler_pic
=
7819 lt_prog_compiler_can_build_shared
=no
7830 # Check to make sure the static flag actually works.
7832 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7834 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7835 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7838 lt_cv_prog_compiler_static_works
=no
7839 save_LDFLAGS
="$LDFLAGS"
7840 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7841 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7842 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7843 # The linker can only warn and ignore the option if not recognized
7844 # So say no if there are warnings
7845 if test -s conftest.err
; then
7846 # Append any errors to the config.log.
7847 cat conftest.err
1>&5
7848 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7849 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7850 if diff conftest.exp conftest.er2
>/dev
/null
; then
7851 lt_cv_prog_compiler_static_works
=yes
7854 lt_cv_prog_compiler_static_works
=yes
7858 LDFLAGS
="$save_LDFLAGS"
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7862 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7864 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7867 lt_prog_compiler_static
=
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7877 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7878 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7881 lt_cv_prog_compiler_c_o
=no
7882 $RM -r conftest
2>/dev
/null
7886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7888 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7889 # Insert the option either (1) after the last *FLAGS variable, or
7890 # (2) before a word containing "conftest.", or (3) at the end.
7891 # Note that $ac_compile itself does not contain backslashes and begins
7892 # with a dollar sign (not a hyphen), so the echo should work correctly.
7893 lt_compile
=`echo "$ac_compile" | $SED \
7894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7896 -e 's:$: $lt_compiler_flag:'`
7897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7898 (eval "$lt_compile" 2>out
/conftest.err
)
7900 cat out
/conftest.err
>&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7904 # The compiler can only warn and ignore the option if not recognized
7905 # So say no if there are warnings
7906 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7907 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7908 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7909 lt_cv_prog_compiler_c_o
=yes
7914 # SGI C++ compiler will create directory out/ii_files/ for
7915 # template instantiation
7916 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7917 $RM out
/* && rmdir out
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7924 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7933 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7934 $as_echo_n "(cached) " >&6
7936 lt_cv_prog_compiler_c_o
=no
7937 $RM -r conftest
2>/dev
/null
7941 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7943 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7944 # Insert the option either (1) after the last *FLAGS variable, or
7945 # (2) before a word containing "conftest.", or (3) at the end.
7946 # Note that $ac_compile itself does not contain backslashes and begins
7947 # with a dollar sign (not a hyphen), so the echo should work correctly.
7948 lt_compile
=`echo "$ac_compile" | $SED \
7949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7951 -e 's:$: $lt_compiler_flag:'`
7952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7953 (eval "$lt_compile" 2>out
/conftest.err
)
7955 cat out
/conftest.err
>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7959 # The compiler can only warn and ignore the option if not recognized
7960 # So say no if there are warnings
7961 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7962 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7963 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7964 lt_cv_prog_compiler_c_o
=yes
7969 # SGI C++ compiler will create directory out/ii_files/ for
7970 # template instantiation
7971 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7972 $RM out
/* && rmdir out
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7979 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7984 hard_links
="nottested"
7985 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7986 # do not overwrite the value of need_locks provided by the user
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7988 $as_echo_n "checking if we can lock with hard links... " >&6; }
7991 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7993 ln conftest.a conftest.b
2>&5 || hard_links
=no
7994 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7996 $as_echo "$hard_links" >&6; }
7997 if test "$hard_links" = no
; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7999 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8012 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8015 allow_undefined_flag
=
8016 always_export_symbols
=no
8018 archive_expsym_cmds
=
8019 compiler_needs_object
=no
8020 enable_shared_with_static_runtimes
=no
8021 export_dynamic_flag_spec
=
8022 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8023 hardcode_automatic
=no
8025 hardcode_direct_absolute
=no
8026 hardcode_libdir_flag_spec
=
8027 hardcode_libdir_flag_spec_ld
=
8028 hardcode_libdir_separator
=
8030 hardcode_shlibpath_var
=unsupported
8032 link_all_deplibs
=unknown
8035 old_archive_from_new_cmds
=
8036 old_archive_from_expsyms_cmds
=
8037 thread_safe_flag_spec
=
8038 whole_archive_flag_spec
=
8039 # include_expsyms should be a list of space-separated symbols to be *always*
8040 # included in the symbol list
8042 # exclude_expsyms can be an extended regexp of symbols to exclude
8043 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8044 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8045 # as well as any symbol that contains `d'.
8046 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8047 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8048 # platforms (ab)use it in PIC code, but their linkers get confused if
8049 # the symbol is explicitly referenced. Since portable code cannot
8050 # rely on this symbol name, it's probably fine to never include it in
8051 # preloaded symbol tables.
8052 # Exclude shared library initialization/finalization symbols.
8053 extract_expsyms_cmds
=
8056 cygwin
* | mingw
* | pw32
* | cegcc
*)
8057 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8058 # When not using gcc, we currently assume that we are using
8059 # Microsoft Visual C++.
8060 if test "$GCC" != yes; then
8065 # we just hope/assume this is gcc and not c89 (= MSVC++)
8075 # On some targets, GNU ld is compatible enough with the native linker
8076 # that we're better off using the native interface for both.
8077 lt_use_gnu_ld_interface
=no
8078 if test "$with_gnu_ld" = yes; then
8081 # The AIX port of GNU ld has always aspired to compatibility
8082 # with the native linker. However, as the warning in the GNU ld
8083 # block says, versions before 2.19.5* couldn't really create working
8084 # shared libraries, regardless of the interface used.
8085 case `$LD -v 2>&1` in
8086 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8087 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8088 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8090 lt_use_gnu_ld_interface
=yes
8095 lt_use_gnu_ld_interface
=yes
8100 if test "$lt_use_gnu_ld_interface" = yes; then
8101 # If archive_cmds runs LD, not CC, wlarc should be empty
8104 # Set some defaults for GNU ld with shared library support. These
8105 # are reset later if shared libraries are not supported. Putting them
8106 # here allows them to be overridden if necessary.
8107 runpath_var
=LD_RUN_PATH
8108 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8109 export_dynamic_flag_spec
='${wl}--export-dynamic'
8110 # ancient GNU ld didn't support --whole-archive et. al.
8111 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8112 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8114 whole_archive_flag_spec
=
8116 supports_anon_versioning
=no
8117 case `$LD -v 2>&1` in
8118 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8119 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8120 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8121 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8122 *\
2.11.
*) ;; # other 2.11 versions
8123 *) supports_anon_versioning
=yes ;;
8126 # See if GNU ld supports shared libraries.
8129 # On AIX/PPC, the GNU linker is very broken
8130 if test "$host_cpu" != ia64
; then
8134 *** Warning: the GNU linker, at least up to release 2.19, is reported
8135 *** to be unable to reliably create shared libraries on AIX.
8136 *** Therefore, libtool is disabling shared libraries support. If you
8137 *** really care for shared libraries, you may want to install binutils
8138 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8139 *** You will then need to restart the configuration process.
8148 # see comment about AmigaOS4 .so support
8149 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8150 archive_expsym_cmds
=''
8153 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)'
8154 hardcode_libdir_flag_spec
='-L$libdir'
8155 hardcode_minus_L
=yes
8161 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8162 allow_undefined_flag
=unsupported
8163 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8164 # support --undefined. This deserves some investigation. FIXME
8165 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8171 cygwin
* | mingw
* | pw32
* | cegcc
*)
8172 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8173 # as there is no search path for DLLs.
8174 hardcode_libdir_flag_spec
='-L$libdir'
8175 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8176 allow_undefined_flag
=unsupported
8177 always_export_symbols
=no
8178 enable_shared_with_static_runtimes
=yes
8179 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8181 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8182 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8183 # If the export-symbols file already is a .def file (1st line
8184 # is EXPORTS), use it as is; otherwise, prepend...
8185 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8186 cp $export_symbols $output_objdir/$soname.def;
8188 echo EXPORTS > $output_objdir/$soname.def;
8189 cat $export_symbols >> $output_objdir/$soname.def;
8191 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8198 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8199 link_all_deplibs
=yes
8204 hardcode_shlibpath_var
=no
8205 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8206 export_dynamic_flag_spec
='${wl}-E'
8207 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8208 # Instead, shared libraries are loaded at an image base (0x10000000 by
8209 # default) and relocated if they conflict, which is a slow very memory
8210 # consuming and fragmenting process. To avoid this, we pick a random,
8211 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8212 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8213 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8214 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'
8217 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8219 if test "$host_os" = linux-dietlibc
; then
8220 case $cc_basename in
8221 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8224 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8225 && test "$tmp_diet" = no
8228 tmp_sharedflag
='-shared'
8229 case $cc_basename,$host_cpu in
8230 pgcc
*) # Portland Group C compiler
8231 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'
8232 tmp_addflag
=' $pic_flag'
8234 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8235 # Portland Group f77 and f90 compilers
8236 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'
8237 tmp_addflag
=' $pic_flag -Mnomain' ;;
8238 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8239 tmp_addflag
=' -i_dynamic' ;;
8240 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8241 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8242 ifc
* | ifort
*) # Intel Fortran compiler
8243 tmp_addflag
=' -nofor_main' ;;
8244 lf95
*) # Lahey Fortran 8.1
8245 whole_archive_flag_spec
=
8246 tmp_sharedflag
='--shared' ;;
8247 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8248 tmp_sharedflag
='-qmkshrobj'
8250 nvcc
*) # Cuda Compiler Driver 2.2
8251 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'
8252 compiler_needs_object
=yes
8255 case `$CC -V 2>&1 | sed 5q` in
8256 *Sun\ C
*) # Sun C 5.9
8257 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'
8258 compiler_needs_object
=yes
8259 tmp_sharedflag
='-G' ;;
8260 *Sun\ F
*) # Sun Fortran 8.3
8261 tmp_sharedflag
='-G' ;;
8263 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8265 if test "x$supports_anon_versioning" = xyes
; then
8266 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8267 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8268 echo "local: *; };" >> $output_objdir/$libname.ver~
8269 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8272 case $cc_basename in
8273 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8274 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8275 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8276 hardcode_libdir_flag_spec
=
8277 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8278 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8279 if test "x$supports_anon_versioning" = xyes
; then
8280 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8281 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8282 echo "local: *; };" >> $output_objdir/$libname.ver~
8283 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8293 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8294 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8297 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8298 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8303 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8307 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8308 *** create shared libraries on Solaris systems. Therefore, libtool
8309 *** is disabling shared libraries support. We urge you to upgrade GNU
8310 *** binutils to release 2.9.1 or newer. Another option is to modify
8311 *** your PATH or compiler configuration so that the native linker is
8312 *** used, and then restart.
8315 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8316 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8323 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8324 case `$LD -v 2>&1` in
8325 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8329 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8330 *** reliably create shared libraries on SCO systems. Therefore, libtool
8331 *** is disabling shared libraries support. We urge you to upgrade GNU
8332 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8333 *** your PATH or compiler configuration so that the native linker is
8334 *** used, and then restart.
8339 # For security reasons, it is highly recommended that you always
8340 # use absolute paths for naming shared libraries, and exclude the
8341 # DT_RUNPATH tag from executables and libraries. But doing so
8342 # requires that you compile everything twice, which is a pain.
8343 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8344 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8345 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8346 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8355 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8358 hardcode_shlibpath_var
=no
8362 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8364 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8371 if test "$ld_shlibs" = no
; then
8373 hardcode_libdir_flag_spec
=
8374 export_dynamic_flag_spec
=
8375 whole_archive_flag_spec
=
8378 # PORTME fill in a description of your system's linker (not GNU ld)
8381 allow_undefined_flag
=unsupported
8382 always_export_symbols
=yes
8383 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'
8384 # Note: this linker hardcodes the directories in LIBPATH if there
8385 # are no directories specified by -L.
8386 hardcode_minus_L
=yes
8387 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8388 # Neither direct hardcoding nor static linking is supported with a
8390 hardcode_direct
=unsupported
8395 if test "$host_cpu" = ia64
; then
8396 # On IA64, the linker does run time linking by default, so we don't
8397 # have to do anything special.
8398 aix_use_runtimelinking
=no
8399 exp_sym_flag
='-Bexport'
8402 # If we're using GNU nm, then we don't want the "-C" option.
8403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8404 # Also, AIX nm treats weak defined symbols like other global
8405 # defined symbols, whereas GNU nm marks them as "W".
8406 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8407 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'
8409 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'
8411 aix_use_runtimelinking
=no
8413 # Test if we are trying to use run time linking or normal
8414 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8415 # need to do runtime linking.
8416 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8417 for ld_flag
in $LDFLAGS; do
8418 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8419 aix_use_runtimelinking
=yes
8426 exp_sym_flag
='-bexport'
8427 no_entry_flag
='-bnoentry'
8430 # When large executables or shared objects are built, AIX ld can
8431 # have problems creating the table of contents. If linking a library
8432 # or program results in "error TOC overflow" add -mminimal-toc to
8433 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8438 hardcode_direct_absolute
=yes
8439 hardcode_libdir_separator
=':'
8440 link_all_deplibs
=yes
8441 file_list_spec
='${wl}-f,'
8443 if test "$GCC" = yes; then
8444 case $host_os in aix4.
[012]|aix4.
[012].
*)
8445 # We only want to do this on AIX 4.2 and lower, the check
8446 # below for broken collect2 doesn't work under 4.3+
8447 collect2name
=`${CC} -print-prog-name=collect2`
8448 if test -f "$collect2name" &&
8449 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8451 # We have reworked collect2
8454 # We have old collect2
8455 hardcode_direct
=unsupported
8456 # It fails to find uninstalled libraries when the uninstalled
8457 # path is not listed in the libpath. Setting hardcode_minus_L
8458 # to unsupported forces relinking
8459 hardcode_minus_L
=yes
8460 hardcode_libdir_flag_spec
='-L$libdir'
8461 hardcode_libdir_separator
=
8465 shared_flag
='-shared'
8466 if test "$aix_use_runtimelinking" = yes; then
8467 shared_flag
="$shared_flag "'${wl}-G'
8471 if test "$host_cpu" = ia64
; then
8472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8473 # chokes on -Wl,-G. The following line is correct:
8476 if test "$aix_use_runtimelinking" = yes; then
8477 shared_flag
='${wl}-G'
8479 shared_flag
='${wl}-bM:SRE'
8484 export_dynamic_flag_spec
='${wl}-bexpall'
8485 # It seems that -bexpall does not export symbols beginning with
8486 # underscore (_), so it is better to generate a list of symbols to export.
8487 always_export_symbols
=yes
8488 if test "$aix_use_runtimelinking" = yes; then
8489 # Warning - without using the other runtime loading flags (-brtl),
8490 # -berok will link without error, but may produce a broken library.
8491 allow_undefined_flag
='-berok'
8492 # Determine the default libpath from the value encoded in an
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8505 if ac_fn_c_try_link
"$LINENO"; then :
8507 lt_aix_libpath_sed
='
8508 /Import File Strings/,/^$/ {
8514 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8515 # Check for a 64-bit object if we didn't find anything.
8516 if test -z "$aix_libpath"; then
8517 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8520 rm -f core conftest.err conftest.
$ac_objext \
8521 conftest
$ac_exeext conftest.
$ac_ext
8522 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8524 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8525 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"
8527 if test "$host_cpu" = ia64
; then
8528 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8529 allow_undefined_flag
="-z nodefs"
8530 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"
8532 # Determine the default libpath from the value encoded in an
8534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8545 if ac_fn_c_try_link
"$LINENO"; then :
8547 lt_aix_libpath_sed
='
8548 /Import File Strings/,/^$/ {
8554 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8555 # Check for a 64-bit object if we didn't find anything.
8556 if test -z "$aix_libpath"; then
8557 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8560 rm -f core conftest.err conftest.
$ac_objext \
8561 conftest
$ac_exeext conftest.
$ac_ext
8562 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8564 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8565 # Warning - without using the other run time loading flags,
8566 # -berok will link without error, but may produce a broken library.
8567 no_undefined_flag
=' ${wl}-bernotok'
8568 allow_undefined_flag
=' ${wl}-berok'
8569 if test "$with_gnu_ld" = yes; then
8570 # We only use this code for GNU lds that support --whole-archive.
8571 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8573 # Exported symbols can be pulled into shared objects from archives
8574 whole_archive_flag_spec
='$convenience'
8576 archive_cmds_need_lc
=yes
8577 # This is similar to how AIX traditionally builds its shared libraries.
8578 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'
8586 # see comment about AmigaOS4 .so support
8587 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588 archive_expsym_cmds
=''
8591 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)'
8592 hardcode_libdir_flag_spec
='-L$libdir'
8593 hardcode_minus_L
=yes
8599 export_dynamic_flag_spec
=-rdynamic
8602 cygwin
* | mingw
* | pw32
* | cegcc
*)
8603 # When not using gcc, we currently assume that we are using
8604 # Microsoft Visual C++.
8605 # hardcode_libdir_flag_spec is actually meaningless, as there is
8606 # no search path for DLLs.
8607 hardcode_libdir_flag_spec
=' '
8608 allow_undefined_flag
=unsupported
8609 # Tell ltmain to make .lib files, not .a files.
8611 # Tell ltmain to make .dll files, not .so files.
8613 # FIXME: Setting linknames here is a bad hack.
8614 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8615 # The linker will automatically build a .lib file if we build a DLL.
8616 old_archive_from_new_cmds
='true'
8617 # FIXME: Should let the user specify the lib program.
8618 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8619 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8620 enable_shared_with_static_runtimes
=yes
8623 darwin
* | rhapsody
*)
8626 archive_cmds_need_lc
=no
8628 hardcode_automatic
=yes
8629 hardcode_shlibpath_var
=unsupported
8630 if test "$lt_cv_ld_force_load" = "yes"; then
8631 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\"`'
8633 whole_archive_flag_spec
=''
8635 link_all_deplibs
=yes
8636 allow_undefined_flag
="$_lt_dar_allow_undefined"
8637 case $cc_basename in
8638 ifort
*) _lt_dar_can_shared
=yes ;;
8639 *) _lt_dar_can_shared
=$GCC ;;
8641 if test "$_lt_dar_can_shared" = "yes"; then
8642 output_verbose_link_cmd
=func_echo_all
8643 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8644 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8645 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}"
8646 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}"
8655 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8656 hardcode_libdir_flag_spec
='-L$libdir'
8657 hardcode_shlibpath_var
=no
8660 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8661 # support. Future versions do this automatically, but an explicit c++rt0.o
8662 # does not break anything, and helps significantly (at the cost of a little
8665 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8666 hardcode_libdir_flag_spec
='-R$libdir'
8668 hardcode_shlibpath_var
=no
8671 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8673 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8675 hardcode_minus_L
=yes
8676 hardcode_shlibpath_var
=no
8679 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8680 freebsd
* | dragonfly
*)
8681 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8682 hardcode_libdir_flag_spec
='-R$libdir'
8684 hardcode_shlibpath_var
=no
8688 if test "$GCC" = yes; then
8689 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'
8691 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'
8693 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8694 hardcode_libdir_separator
=:
8697 # hardcode_minus_L: Not really in the search PATH,
8698 # but as the default location of the library.
8699 hardcode_minus_L
=yes
8700 export_dynamic_flag_spec
='${wl}-E'
8704 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8705 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8707 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8709 if test "$with_gnu_ld" = no
; then
8710 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8711 hardcode_libdir_flag_spec_ld
='+b $libdir'
8712 hardcode_libdir_separator
=:
8714 hardcode_direct_absolute
=yes
8715 export_dynamic_flag_spec
='${wl}-E'
8716 # hardcode_minus_L: Not really in the search PATH,
8717 # but as the default location of the library.
8718 hardcode_minus_L
=yes
8723 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8726 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8729 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8732 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8745 # Older versions of the 11.00 compiler do not understand -b yet
8746 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8748 $as_echo_n "checking if $CC understands -b... " >&6; }
8749 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8750 $as_echo_n "(cached) " >&6
8752 lt_cv_prog_compiler__b
=no
8753 save_LDFLAGS
="$LDFLAGS"
8754 LDFLAGS
="$LDFLAGS -b"
8755 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8756 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8757 # The linker can only warn and ignore the option if not recognized
8758 # So say no if there are warnings
8759 if test -s conftest.err
; then
8760 # Append any errors to the config.log.
8761 cat conftest.err
1>&5
8762 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8764 if diff conftest.exp conftest.er2
>/dev
/null
; then
8765 lt_cv_prog_compiler__b
=yes
8768 lt_cv_prog_compiler__b
=yes
8772 LDFLAGS
="$save_LDFLAGS"
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8776 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8778 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8779 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8787 if test "$with_gnu_ld" = no
; then
8788 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8789 hardcode_libdir_separator
=:
8794 hardcode_shlibpath_var
=no
8798 hardcode_direct_absolute
=yes
8799 export_dynamic_flag_spec
='${wl}-E'
8801 # hardcode_minus_L: Not really in the search PATH,
8802 # but as the default location of the library.
8803 hardcode_minus_L
=yes
8809 irix5
* | irix6
* | nonstopux
*)
8810 if test "$GCC" = yes; then
8811 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'
8812 # Try to use the -exported_symbol ld option, if it does not
8813 # work, assume that -exports_file does not work either and
8814 # implicitly export all symbols.
8815 save_LDFLAGS
="$LDFLAGS"
8816 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8821 if ac_fn_c_try_link
"$LINENO"; then :
8822 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'
8825 rm -f core conftest.err conftest.
$ac_objext \
8826 conftest
$ac_exeext conftest.
$ac_ext
8827 LDFLAGS
="$save_LDFLAGS"
8829 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'
8830 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'
8832 archive_cmds_need_lc
='no'
8833 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8834 hardcode_libdir_separator
=:
8836 link_all_deplibs
=yes
8840 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8841 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8843 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8845 hardcode_libdir_flag_spec
='-R$libdir'
8847 hardcode_shlibpath_var
=no
8851 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8853 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8854 hardcode_libdir_separator
=:
8855 hardcode_shlibpath_var
=no
8862 if test -f /usr
/libexec
/ld.so
; then
8864 hardcode_shlibpath_var
=no
8865 hardcode_direct_absolute
=yes
8866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8867 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8868 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8869 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8870 export_dynamic_flag_spec
='${wl}-E'
8873 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8874 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8875 hardcode_libdir_flag_spec
='-R$libdir'
8878 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8879 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8889 hardcode_libdir_flag_spec
='-L$libdir'
8890 hardcode_minus_L
=yes
8891 allow_undefined_flag
=unsupported
8892 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'
8893 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8897 if test "$GCC" = yes; then
8898 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8899 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'
8901 allow_undefined_flag
=' -expect_unresolved \*'
8902 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'
8904 archive_cmds_need_lc
='no'
8905 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8906 hardcode_libdir_separator
=:
8909 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8910 if test "$GCC" = yes; then
8911 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8912 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'
8913 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8915 allow_undefined_flag
=' -expect_unresolved \*'
8916 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'
8917 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~
8918 $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'
8920 # Both c and cxx compiler support -rpath directly
8921 hardcode_libdir_flag_spec
='-rpath $libdir'
8923 archive_cmds_need_lc
='no'
8924 hardcode_libdir_separator
=:
8928 no_undefined_flag
=' -z defs'
8929 if test "$GCC" = yes; then
8931 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8932 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8933 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8935 case `$CC -V 2>&1` in
8938 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8940 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8944 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8946 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8950 hardcode_libdir_flag_spec
='-R$libdir'
8951 hardcode_shlibpath_var
=no
8953 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8955 # The compiler driver will combine and reorder linker options,
8956 # but understands `-z linker_flag'. GCC discards it without `$wl',
8957 # but is careful enough not to reorder.
8958 # Supported since Solaris 2.6 (maybe 2.5.1?)
8959 if test "$GCC" = yes; then
8960 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8962 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8966 link_all_deplibs
=yes
8970 if test "x$host_vendor" = xsequent
; then
8971 # Use $CC to link under sequent, because it throws in some extra .o
8972 # files that make .init and .fini sections work.
8973 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8977 hardcode_libdir_flag_spec
='-L$libdir'
8979 hardcode_minus_L
=yes
8980 hardcode_shlibpath_var
=no
8984 case $host_vendor in
8986 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8987 hardcode_direct
=yes # is this really true???
8990 ## LD is ld it makes a PLAMLIB
8991 ## CC just makes a GrossModule.
8992 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8993 reload_cmds
='$CC -r -o $output$reload_objs'
8997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8998 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9001 runpath_var
='LD_RUN_PATH'
9002 hardcode_shlibpath_var
=no
9006 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007 hardcode_shlibpath_var
=no
9008 export_dynamic_flag_spec
='-Bexport'
9012 if test -d /usr
/nec
; then
9013 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9014 hardcode_shlibpath_var
=no
9015 runpath_var
=LD_RUN_PATH
9016 hardcode_runpath_var
=yes
9021 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9022 no_undefined_flag
='${wl}-z,text'
9023 archive_cmds_need_lc
=no
9024 hardcode_shlibpath_var
=no
9025 runpath_var
='LD_RUN_PATH'
9027 if test "$GCC" = yes; then
9028 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9029 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9031 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9032 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9036 sysv5
* | sco3.2v5
* | sco5v6
*)
9037 # Note: We can NOT use -z defs as we might desire, because we do not
9038 # link with -lc, and that would cause any symbols used from libc to
9039 # always be unresolved, which means just about no library would
9040 # ever link correctly. If we're not using GNU ld we use -z text
9041 # though, which does catch some bad symbols but isn't as heavy-handed
9043 no_undefined_flag
='${wl}-z,text'
9044 allow_undefined_flag
='${wl}-z,nodefs'
9045 archive_cmds_need_lc
=no
9046 hardcode_shlibpath_var
=no
9047 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9048 hardcode_libdir_separator
=':'
9049 link_all_deplibs
=yes
9050 export_dynamic_flag_spec
='${wl}-Bexport'
9051 runpath_var
='LD_RUN_PATH'
9053 if test "$GCC" = yes; then
9054 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9057 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9058 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9064 hardcode_libdir_flag_spec
='-L$libdir'
9065 hardcode_shlibpath_var
=no
9073 if test x
$host_vendor = xsni
; then
9075 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9076 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9083 $as_echo "$ld_shlibs" >&6; }
9084 test "$ld_shlibs" = no
&& can_build_shared
=no
9086 with_gnu_ld
=$with_gnu_ld
9103 # Do we need to explicitly link libc?
9105 case "x$archive_cmds_need_lc" in
9107 # Assume -lc should be added
9108 archive_cmds_need_lc
=yes
9110 if test "$enable_shared" = yes && test "$GCC" = yes; then
9111 case $archive_cmds in
9113 # FIXME: we may have to deal with multi-command sequences.
9116 # Test whether the compiler implicitly links with -lc since on some
9117 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9118 # to ld, don't add -lc before -lgcc.
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9120 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9121 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9122 $as_echo_n "(cached) " >&6
9125 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9128 (eval $ac_compile) 2>&5
9130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9131 test $ac_status = 0; } 2>conftest.err
; then
9134 libobjs
=conftest.
$ac_objext
9136 wl
=$lt_prog_compiler_wl
9137 pic_flag
=$lt_prog_compiler_pic
9143 lt_save_allow_undefined_flag
=$allow_undefined_flag
9144 allow_undefined_flag
=
9145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9146 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9149 test $ac_status = 0; }
9151 lt_cv_archive_cmds_need_lc
=no
9153 lt_cv_archive_cmds_need_lc
=yes
9155 allow_undefined_flag
=$lt_save_allow_undefined_flag
9157 cat conftest.err
1>&5
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9163 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9164 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9328 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9330 if test "$GCC" = yes; then
9332 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9333 *) lt_awk_arg
="/^libraries:/" ;;
9336 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9337 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9339 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9340 case $lt_search_path_spec in
9342 # if the path contains ";" then we assume it to be the separator
9343 # otherwise default to the standard path separator (i.e. ":") - it is
9344 # assumed that no part of a normal pathname contains ";" but that should
9345 # okay in the real world where ";" in dirpaths is itself problematic.
9346 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9349 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9352 # Ok, now we have the path, separated by spaces, we can step through it
9353 # and add multilib dir if necessary.
9354 lt_tmp_lt_search_path_spec
=
9355 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9356 for lt_sys_path
in $lt_search_path_spec; do
9357 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9358 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9360 test -d "$lt_sys_path" && \
9361 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9364 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9365 BEGIN {RS=" "; FS="/|\n";} {
9368 for (lt_i = NF; lt_i > 0; lt_i--) {
9369 if ($lt_i != "" && $lt_i != ".") {
9370 if ($lt_i == "..") {
9373 if (lt_count == 0) {
9374 lt_foo="/" $lt_i lt_foo;
9381 if (lt_foo != "") { lt_freq[lt_foo]++; }
9382 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9384 # AWK program above erroneously prepends '/' to C:/dos/paths
9387 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9388 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9390 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9392 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9395 libname_spec
='lib$name'
9403 shlibpath_overrides_runpath
=unknown
9405 dynamic_linker
="$host_os ld.so"
9406 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9407 need_lib_prefix
=unknown
9408 hardcode_into_libs
=no
9410 # when you set need_version to no, make sure it does not cause -set_version
9411 # flags to be left without arguments
9412 need_version
=unknown
9417 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9418 shlibpath_var
=LIBPATH
9420 # AIX 3 has no versioning support, so we append a major version to the name.
9421 soname_spec
='${libname}${release}${shared_ext}$major'
9428 hardcode_into_libs
=yes
9429 if test "$host_cpu" = ia64
; then
9430 # AIX 5 supports IA64
9431 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9432 shlibpath_var
=LD_LIBRARY_PATH
9434 # With GCC up to 2.95.x, collect2 would create an import file
9435 # for dependence libraries. The import file would start with
9436 # the line `#! .'. This would cause the generated library to
9437 # depend on `.', always an invalid library. This was fixed in
9438 # development snapshots of GCC prior to 3.0.
9440 aix4 | aix4.
[01] | aix4.
[01].
*)
9441 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9443 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9450 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9451 # soname into executable. Probably we can add versioning support to
9452 # collect2, so additional links can be useful in future.
9453 if test "$aix_use_runtimelinking" = yes; then
9454 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9455 # instead of lib<name>.a to let people know that these are not
9456 # typical AIX shared libraries.
9457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459 # We preserve .a as extension for shared libraries through AIX4.2
9460 # and later when we are not doing run time linking.
9461 library_names_spec
='${libname}${release}.a $libname.a'
9462 soname_spec
='${libname}${release}${shared_ext}$major'
9464 shlibpath_var
=LIBPATH
9471 # Since July 2007 AmigaOS4 officially supports .so libraries.
9472 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9476 library_names_spec
='$libname.ixlibrary $libname.a'
9477 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9478 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'
9484 library_names_spec
='${libname}${shared_ext}'
9485 dynamic_linker
="$host_os ld.so"
9486 shlibpath_var
=LIBRARY_PATH
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9493 soname_spec
='${libname}${release}${shared_ext}$major'
9494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9495 shlibpath_var
=LD_LIBRARY_PATH
9496 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9497 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9498 # the default ld.so.conf also contains /usr/contrib/lib and
9499 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9500 # libtool to hard-code these into programs
9503 cygwin
* | mingw
* | pw32
* | cegcc
*)
9504 version_type
=windows
9509 case $GCC,$host_os in
9510 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9511 library_names_spec
='$libname.dll.a'
9512 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9513 postinstall_cmds
='base_file=`basename \${file}`~
9514 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9515 dldir=$destdir/`dirname \$dlpath`~
9516 test -d \$dldir || mkdir -p \$dldir~
9517 $install_prog $dir/$dlname \$dldir/$dlname~
9518 chmod a+x \$dldir/$dlname~
9519 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9520 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9522 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9523 dlpath=$dir/\$dldll~
9525 shlibpath_overrides_runpath
=yes
9529 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9530 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9532 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9535 # MinGW DLLs use traditional 'lib' prefix
9536 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9539 # pw32 DLLs use 'pw' prefix rather than 'lib'
9540 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9546 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9549 dynamic_linker
='Win32 ld.exe'
9550 # FIXME: first we should search . and the directory the executable is in
9554 darwin
* | rhapsody
*)
9555 dynamic_linker
="$host_os dyld"
9559 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9560 soname_spec
='${libname}${release}${major}$shared_ext'
9561 shlibpath_overrides_runpath
=yes
9562 shlibpath_var
=DYLD_LIBRARY_PATH
9563 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9565 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9566 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9574 soname_spec
='${libname}${release}${shared_ext}$major'
9575 shlibpath_var
=LD_LIBRARY_PATH
9578 freebsd
* | dragonfly
*)
9579 # DragonFly does not have aout. When/if they implement a new
9580 # versioning mechanism, adjust this.
9581 if test -x /usr
/bin
/objformat
; then
9582 objformat
=`/usr/bin/objformat`
9585 freebsd
[23].
*) objformat
=aout
;;
9589 version_type
=freebsd-
$objformat
9590 case $version_type in
9592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9597 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9601 shlibpath_var
=LD_LIBRARY_PATH
9604 shlibpath_overrides_runpath
=yes
9606 freebsd3.
[01]* | freebsdelf3.
[01]*)
9607 shlibpath_overrides_runpath
=yes
9608 hardcode_into_libs
=yes
9610 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9611 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9612 shlibpath_overrides_runpath
=no
9613 hardcode_into_libs
=yes
9615 *) # from 4.6 on, and DragonFly
9616 shlibpath_overrides_runpath
=yes
9617 hardcode_into_libs
=yes
9626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9627 soname_spec
='${libname}${release}${shared_ext}$major'
9628 shlibpath_var
=LD_LIBRARY_PATH
9629 hardcode_into_libs
=yes
9636 dynamic_linker
="$host_os runtime_loader"
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'
9639 shlibpath_var
=LIBRARY_PATH
9640 shlibpath_overrides_runpath
=yes
9641 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9642 hardcode_into_libs
=yes
9645 hpux9
* | hpux10
* | hpux11
*)
9646 # Give a soname corresponding to the major version so that dld.sl refuses to
9647 # link against other versions.
9654 hardcode_into_libs
=yes
9655 dynamic_linker
="$host_os dld.so"
9656 shlibpath_var
=LD_LIBRARY_PATH
9657 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9659 soname_spec
='${libname}${release}${shared_ext}$major'
9660 if test "X$HPUX_IA64_MODE" = X32
; then
9661 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9663 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9665 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9669 hardcode_into_libs
=yes
9670 dynamic_linker
="$host_os dld.sl"
9671 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9672 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9674 soname_spec
='${libname}${release}${shared_ext}$major'
9675 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9676 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9680 dynamic_linker
="$host_os dld.sl"
9681 shlibpath_var
=SHLIB_PATH
9682 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9684 soname_spec
='${libname}${release}${shared_ext}$major'
9687 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9688 postinstall_cmds
='chmod 555 $lib'
9689 # or fails outright, so override atomically:
9690 install_override_mode
=555
9697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9698 soname_spec
='${libname}${release}${shared_ext}$major'
9699 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9700 shlibpath_var
=LD_LIBRARY_PATH
9701 shlibpath_overrides_runpath
=no
9702 hardcode_into_libs
=yes
9705 irix5
* | irix6
* | nonstopux
*)
9707 nonstopux
*) version_type
=nonstopux
;;
9709 if test "$lt_cv_prog_gnu_ld" = yes; then
9717 soname_spec
='${libname}${release}${shared_ext}$major'
9718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9720 irix5
* | nonstopux
*)
9724 case $LD in # libtool.m4 will add one of these switches to LD
9725 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9726 libsuff
= shlibsuff
= libmagic
=32-bit;;
9727 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9728 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9729 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9730 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9731 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9735 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9736 shlibpath_overrides_runpath
=no
9737 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9738 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9739 hardcode_into_libs
=yes
9742 # No shared lib support for Linux oldld, aout, or coff.
9743 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9747 # This must be Linux ELF.
9748 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753 soname_spec
='${libname}${release}${shared_ext}$major'
9754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9755 shlibpath_var
=LD_LIBRARY_PATH
9756 shlibpath_overrides_runpath
=no
9758 # Some binutils ld are patched to set DT_RUNPATH
9759 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9762 lt_cv_shlibpath_overrides_runpath
=no
9763 save_LDFLAGS
=$LDFLAGS
9765 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9766 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9778 if ac_fn_c_try_link
"$LINENO"; then :
9779 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9780 lt_cv_shlibpath_overrides_runpath
=yes
9783 rm -f core conftest.err conftest.
$ac_objext \
9784 conftest
$ac_exeext conftest.
$ac_ext
9785 LDFLAGS
=$save_LDFLAGS
9790 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9792 # This implies no fast_install, which is unacceptable.
9793 # Some rework will be needed to allow for fast_install
9794 # before this can be enabled.
9795 hardcode_into_libs
=yes
9797 # Append ld.so.conf contents to the search path
9798 if test -f /etc
/ld.so.conf
; then
9799 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' ' '`
9800 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9803 # We used to test for /lib/ld.so.1 and disable shared libraries on
9804 # powerpc, because MkLinux only supported shared libraries with the
9805 # GNU dynamic linker. Since this was broken with cross compilers,
9806 # most powerpc-linux boxes support dynamic linking these days and
9807 # people can always --disable-shared, the test was removed, and we
9808 # assume the GNU/Linux dynamic linker is in use.
9809 dynamic_linker
='GNU/Linux ld.so'
9816 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9819 dynamic_linker
='NetBSD (a.out) ld.so'
9821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9822 soname_spec
='${libname}${release}${shared_ext}$major'
9823 dynamic_linker
='NetBSD ld.elf_so'
9825 shlibpath_var
=LD_LIBRARY_PATH
9826 shlibpath_overrides_runpath
=yes
9827 hardcode_into_libs
=yes
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833 shlibpath_var
=LD_LIBRARY_PATH
9834 shlibpath_overrides_runpath
=yes
9841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 soname_spec
='${libname}${release}${shared_ext}$major'
9843 shlibpath_var
=LD_LIBRARY_PATH
9844 shlibpath_overrides_runpath
=no
9845 hardcode_into_libs
=yes
9846 dynamic_linker
='ldqnx.so'
9851 sys_lib_dlsearch_path_spec
="/usr/lib"
9853 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9855 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9856 *) need_version
=no
;;
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9860 shlibpath_var
=LD_LIBRARY_PATH
9861 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9863 openbsd2.
[89] | openbsd2.
[89].
*)
9864 shlibpath_overrides_runpath
=no
9867 shlibpath_overrides_runpath
=yes
9871 shlibpath_overrides_runpath
=yes
9876 libname_spec
='$name'
9879 library_names_spec
='$libname${shared_ext} $libname.a'
9880 dynamic_linker
='OS/2 ld.exe'
9881 shlibpath_var
=LIBPATH
9884 osf3
* | osf4
* | osf5
*)
9888 soname_spec
='${libname}${release}${shared_ext}$major'
9889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9890 shlibpath_var
=LD_LIBRARY_PATH
9891 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9892 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 soname_spec
='${libname}${release}${shared_ext}$major'
9905 shlibpath_var
=LD_LIBRARY_PATH
9906 shlibpath_overrides_runpath
=yes
9907 hardcode_into_libs
=yes
9908 # ldd complains unless libraries are executable
9909 postinstall_cmds
='chmod +x $lib'
9914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9915 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9916 shlibpath_var
=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath
=yes
9918 if test "$with_gnu_ld" = yes; then
9926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927 soname_spec
='${libname}${release}${shared_ext}$major'
9928 shlibpath_var
=LD_LIBRARY_PATH
9929 case $host_vendor in
9931 shlibpath_overrides_runpath
=no
9933 runpath_var
=LD_RUN_PATH
9941 shlibpath_overrides_runpath
=no
9942 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9948 if test -d /usr
/nec
;then
9950 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9951 soname_spec
='$libname${shared_ext}.$major'
9952 shlibpath_var
=LD_LIBRARY_PATH
9956 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9957 version_type
=freebsd-elf
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9961 soname_spec
='${libname}${release}${shared_ext}$major'
9962 shlibpath_var
=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath
=yes
9964 hardcode_into_libs
=yes
9965 if test "$with_gnu_ld" = yes; then
9966 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9968 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9971 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9975 sys_lib_dlsearch_path_spec
='/usr/lib'
9979 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 shlibpath_var
=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath
=no
9986 hardcode_into_libs
=yes
9991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 soname_spec
='${libname}${release}${shared_ext}$major'
9993 shlibpath_var
=LD_LIBRARY_PATH
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10001 $as_echo "$dynamic_linker" >&6; }
10002 test "$dynamic_linker" = no
&& can_build_shared
=no
10004 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10005 if test "$GCC" = yes; then
10006 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10009 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10010 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10012 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10013 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10108 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10110 if test -n "$hardcode_libdir_flag_spec" ||
10111 test -n "$runpath_var" ||
10112 test "X$hardcode_automatic" = "Xyes" ; then
10114 # We can hardcode non-existent directories.
10115 if test "$hardcode_direct" != no
&&
10116 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10117 # have to relink, otherwise we might link with an installed library
10118 # when we should be linking with a yet-to-be-installed one
10119 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10120 test "$hardcode_minus_L" != no
; then
10121 # Linking always hardcodes the temporary library directory.
10122 hardcode_action
=relink
10124 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10125 hardcode_action
=immediate
10128 # We cannot hardcode anything, or else we can only hardcode existing
10130 hardcode_action
=unsupported
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10133 $as_echo "$hardcode_action" >&6; }
10135 if test "$hardcode_action" = relink ||
10136 test "$inherit_rpath" = yes; then
10137 # Fast installation is not supported
10138 enable_fast_install
=no
10139 elif test "$shlibpath_overrides_runpath" = yes ||
10140 test "$enable_shared" = no
; then
10141 # Fast installation is not necessary
10142 enable_fast_install
=needless
10150 if test "x$enable_dlopen" != xyes
; then
10151 enable_dlopen
=unknown
10152 enable_dlopen_self
=unknown
10153 enable_dlopen_self_static
=unknown
10160 lt_cv_dlopen
="load_add_on"
10162 lt_cv_dlopen_self
=yes
10165 mingw
* | pw32
* | cegcc
*)
10166 lt_cv_dlopen
="LoadLibrary"
10171 lt_cv_dlopen
="dlopen"
10176 # if libdl is installed we need to link against it
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10178 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10179 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10180 $as_echo_n "(cached) " >&6
10182 ac_check_lib_save_LIBS
=$LIBS
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10202 if ac_fn_c_try_link
"$LINENO"; then :
10203 ac_cv_lib_dl_dlopen
=yes
10205 ac_cv_lib_dl_dlopen
=no
10207 rm -f core conftest.err conftest.
$ac_objext \
10208 conftest
$ac_exeext conftest.
$ac_ext
10209 LIBS
=$ac_check_lib_save_LIBS
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10212 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10213 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10214 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10217 lt_cv_dlopen
="dyld"
10219 lt_cv_dlopen_self
=yes
10226 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10227 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10228 lt_cv_dlopen
="shl_load"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10231 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10232 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10233 $as_echo_n "(cached) " >&6
10235 ac_check_lib_save_LIBS
=$LIBS
10237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10250 return shl_load ();
10255 if ac_fn_c_try_link
"$LINENO"; then :
10256 ac_cv_lib_dld_shl_load
=yes
10258 ac_cv_lib_dld_shl_load
=no
10260 rm -f core conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_lib_save_LIBS
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10265 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10266 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10267 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10269 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10270 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10271 lt_cv_dlopen
="dlopen"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10274 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10275 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10276 $as_echo_n "(cached) " >&6
10278 ac_check_lib_save_LIBS
=$LIBS
10280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10283 /* Override any GCC internal prototype to avoid an error.
10284 Use char because int might match the return type of a GCC
10285 builtin and then its argument prototype would still apply. */
10298 if ac_fn_c_try_link
"$LINENO"; then :
10299 ac_cv_lib_dl_dlopen
=yes
10301 ac_cv_lib_dl_dlopen
=no
10303 rm -f core conftest.err conftest.
$ac_objext \
10304 conftest
$ac_exeext conftest.
$ac_ext
10305 LIBS
=$ac_check_lib_save_LIBS
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10309 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10310 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10313 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10314 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10315 $as_echo_n "(cached) " >&6
10317 ac_check_lib_save_LIBS
=$LIBS
10318 LIBS
="-lsvld $LIBS"
10319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10337 if ac_fn_c_try_link
"$LINENO"; then :
10338 ac_cv_lib_svld_dlopen
=yes
10340 ac_cv_lib_svld_dlopen
=no
10342 rm -f core conftest.err conftest.
$ac_objext \
10343 conftest
$ac_exeext conftest.
$ac_ext
10344 LIBS
=$ac_check_lib_save_LIBS
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10347 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10348 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10349 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10352 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10353 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_lib_save_LIBS
=$LIBS
10358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10371 return dld_link ();
10376 if ac_fn_c_try_link
"$LINENO"; then :
10377 ac_cv_lib_dld_dld_link
=yes
10379 ac_cv_lib_dld_dld_link
=no
10381 rm -f core conftest.err conftest.
$ac_objext \
10382 conftest
$ac_exeext conftest.
$ac_ext
10383 LIBS
=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10386 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10387 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10388 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10409 if test "x$lt_cv_dlopen" != xno
; then
10415 case $lt_cv_dlopen in
10417 save_CPPFLAGS
="$CPPFLAGS"
10418 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10420 save_LDFLAGS
="$LDFLAGS"
10421 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10424 LIBS
="$lt_cv_dlopen_libs $LIBS"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10427 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10428 if test "${lt_cv_dlopen_self+set}" = set; then :
10429 $as_echo_n "(cached) " >&6
10431 if test "$cross_compiling" = yes; then :
10432 lt_cv_dlopen_self
=cross
10434 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10435 lt_status
=$lt_dlunknown
10436 cat > conftest.
$ac_ext <<_LT_EOF
10437 #line 10437 "configure"
10438 #include "confdefs.h"
10447 # define LT_DLGLOBAL RTLD_GLOBAL
10450 # define LT_DLGLOBAL DL_GLOBAL
10452 # define LT_DLGLOBAL 0
10456 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10457 find out it does not work in some platform. */
10458 #ifndef LT_DLLAZY_OR_NOW
10460 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10463 # define LT_DLLAZY_OR_NOW DL_LAZY
10466 # define LT_DLLAZY_OR_NOW RTLD_NOW
10469 # define LT_DLLAZY_OR_NOW DL_NOW
10471 # define LT_DLLAZY_OR_NOW 0
10478 /* When -fvisbility=hidden is used, assume the code has been annotated
10479 correspondingly for the symbols needed. */
10480 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10481 void fnord () __attribute__((visibility("default")));
10484 void fnord () { int i=42; }
10487 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10488 int status = $lt_dlunknown;
10492 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10495 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10496 else puts (dlerror ());
10498 /* dlclose (self); */
10506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10507 (eval $ac_link) 2>&5
10509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10510 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10511 (.
/conftest
; exit; ) >&5 2>/dev
/null
10513 case x
$lt_status in
10514 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10515 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10516 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10519 # compilation failed
10520 lt_cv_dlopen_self
=no
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10528 $as_echo "$lt_cv_dlopen_self" >&6; }
10530 if test "x$lt_cv_dlopen_self" = xyes
; then
10531 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10533 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10534 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10535 $as_echo_n "(cached) " >&6
10537 if test "$cross_compiling" = yes; then :
10538 lt_cv_dlopen_self_static
=cross
10540 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10541 lt_status
=$lt_dlunknown
10542 cat > conftest.
$ac_ext <<_LT_EOF
10543 #line 10543 "configure"
10544 #include "confdefs.h"
10553 # define LT_DLGLOBAL RTLD_GLOBAL
10556 # define LT_DLGLOBAL DL_GLOBAL
10558 # define LT_DLGLOBAL 0
10562 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10563 find out it does not work in some platform. */
10564 #ifndef LT_DLLAZY_OR_NOW
10566 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10569 # define LT_DLLAZY_OR_NOW DL_LAZY
10572 # define LT_DLLAZY_OR_NOW RTLD_NOW
10575 # define LT_DLLAZY_OR_NOW DL_NOW
10577 # define LT_DLLAZY_OR_NOW 0
10584 /* When -fvisbility=hidden is used, assume the code has been annotated
10585 correspondingly for the symbols needed. */
10586 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10587 void fnord () __attribute__((visibility("default")));
10590 void fnord () { int i=42; }
10593 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10594 int status = $lt_dlunknown;
10598 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10601 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10602 else puts (dlerror ());
10604 /* dlclose (self); */
10612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10613 (eval $ac_link) 2>&5
10615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10616 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10617 (.
/conftest
; exit; ) >&5 2>/dev
/null
10619 case x
$lt_status in
10620 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10621 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10622 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10625 # compilation failed
10626 lt_cv_dlopen_self_static
=no
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10634 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10637 CPPFLAGS
="$save_CPPFLAGS"
10638 LDFLAGS
="$save_LDFLAGS"
10643 case $lt_cv_dlopen_self in
10644 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10645 *) enable_dlopen_self
=unknown
;;
10648 case $lt_cv_dlopen_self_static in
10649 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10650 *) enable_dlopen_self_static
=unknown
;;
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10673 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10674 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10675 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10676 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10678 $as_echo "yes" >&6; }
10680 # FIXME - insert some real tests, host_os isn't really good enough
10683 if test -n "$STRIP" ; then
10684 striplib
="$STRIP -x"
10685 old_striplib
="$STRIP -S"
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10687 $as_echo "yes" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10690 $as_echo "no" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10695 $as_echo "no" >&6; }
10711 # Report which library types will actually be built
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10713 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10715 $as_echo "$can_build_shared" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10718 $as_echo_n "checking whether to build shared libraries... " >&6; }
10719 test "$can_build_shared" = "no" && enable_shared
=no
10721 # On AIX, shared libraries and static libraries use the same namespace, and
10722 # are all built from PIC.
10725 test "$enable_shared" = yes && enable_static
=no
10726 if test -n "$RANLIB"; then
10727 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10728 postinstall_cmds
='$RANLIB $lib'
10733 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10734 test "$enable_shared" = yes && enable_static
=no
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10739 $as_echo "$enable_shared" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10742 $as_echo_n "checking whether to build static libraries... " >&6; }
10743 # Make sure either enable_shared or enable_static is yes.
10744 test "$enable_shared" = yes || enable_static
=yes
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10746 $as_echo "$enable_static" >&6; }
10753 ac_cpp
='$CPP $CPPFLAGS'
10754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10772 ac_config_commands
="$ac_config_commands libtool"
10777 # Only expand once:
10782 backtrace_supported
=yes
10784 if test -n "${with_target_subdir}"; then
10785 # We are compiling a GCC library. We can assume that the unwind
10787 # Default to --enable-multilib
10788 # Check whether --enable-multilib was given.
10789 if test "${enable_multilib+set}" = set; then :
10790 enableval
=$enable_multilib; case "$enableval" in
10791 yes) multilib
=yes ;;
10793 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10800 # We may get other options which we leave undocumented:
10801 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10802 # See config-ml.in if you want the gory details.
10804 if test "$srcdir" = "."; then
10805 if test "$with_target_subdir" != "."; then
10806 multi_basedir
="$srcdir/$with_multisrctop../.."
10808 multi_basedir
="$srcdir/$with_multisrctop.."
10811 multi_basedir
="$srcdir/.."
10815 # Even if the default multilib is not a cross compilation,
10816 # it may be that some of the other multilibs are.
10817 if test $cross_compiling = no
&& test $multilib = yes \
10818 && test "x${with_multisubdir}" != x
; then
10819 cross_compiling
=maybe
10822 ac_config_commands
="$ac_config_commands default-1"
10824 BACKTRACE_FILE
="backtrace.lo simple.lo"
10826 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
10827 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
10828 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
10829 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
10830 BACKTRACE_FILE
="backtrace.lo simple.lo"
10832 BACKTRACE_FILE
="nounwind.lo"
10833 backtrace_supported
=no
10837 BACKTRACE_FILE
="nounwind.lo"
10838 backtrace_supported
=no
10846 save_CFLAGS
="$CFLAGS"
10847 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
10848 -Wmissing-prototypes -Wold-style-definition \
10849 -Wmissing-format-attribute -Wcast-qual; do
10850 # Do the check with the no- prefix removed since gcc silently
10851 # accepts any -Wno-* option on purpose
10852 case $real_option in
10853 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
10854 *) option
=$real_option ;;
10856 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
10859 $as_echo_n "checking whether $CC supports $option... " >&6; }
10860 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
10861 $as_echo_n "(cached) " >&6
10864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10875 if ac_fn_c_try_compile
"$LINENO"; then :
10876 eval "$as_acx_Woption=yes"
10878 eval "$as_acx_Woption=no"
10880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10883 eval ac_res
=\$
$as_acx_Woption
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10885 $as_echo "$ac_res" >&6; }
10886 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
10887 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
10890 CFLAGS
="$save_CFLAGS"
10893 if test "x$GCC" = "xyes"; then
10894 WARN_FLAGS
="$WARN_FLAGS -Werror"
10901 # Check whether --with-system-libunwind was given.
10902 if test "${with_system_libunwind+set}" = set; then :
10903 withval
=$with_system_libunwind;
10906 # If system-libunwind was not specifically set, pick a default setting.
10907 if test x
$with_system_libunwind = x
; then
10909 ia64-
*-hpux*) with_system_libunwind
=yes ;;
10910 *) with_system_libunwind
=no
;;
10913 # Based on system-libunwind and target, do we have ipinfo?
10914 if test x
$with_system_libunwind = xyes
; then
10916 ia64-
*-*) have_unwind_getipinfo
=no
;;
10917 *) have_unwind_getipinfo
=yes ;;
10920 # Darwin before version 9 does not have _Unwind_GetIPInfo.
10923 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
10924 *) have_unwind_getipinfo
=yes ;;
10929 if test x
$have_unwind_getipinfo = xyes
; then
10931 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
10936 # When building as a target library, shared libraries may want to link
10937 # this in. We don't want to provide another shared library to
10938 # complicate dependencies. Instead, we just compile with -fPIC.
10940 if test -n "${with_target_subdir}"; then
10945 # Test for __sync support.
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
10947 $as_echo_n "checking __sync extensions... " >&6; }
10948 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
10949 $as_echo_n "(cached) " >&6
10951 if test -n "${with_target_subdir}"; then
10952 libbacktrace_cv_sys_sync
=yes
10954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10960 __sync_bool_compare_and_swap (&i, i, i);
10961 __sync_lock_test_and_set (&i, 1);
10962 __sync_lock_release (&i);
10967 if ac_fn_c_try_link
"$LINENO"; then :
10968 libbacktrace_cv_sys_sync
=yes
10970 libbacktrace_cv_sys_sync
=no
10972 rm -f core conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
10977 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
10978 BACKTRACE_SUPPORTS_THREADS
=0
10979 if test "$libbacktrace_cv_sys_sync" = "yes"; then
10980 BACKTRACE_SUPPORTS_THREADS
=1
10982 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
10987 # The library needs to be able to read the executable itself. Compile
10988 # a file to determine the executable format. The awk script
10989 # filetype.awk prints out the file type.
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
10991 $as_echo_n "checking output filetype... " >&6; }
10992 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
10993 $as_echo_n "(cached) " >&6
10996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
11007 if ac_fn_c_try_compile
"$LINENO"; then :
11008 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
11010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11012 as_fn_error
"compiler failed
11013 See \`config.log' for more details." "$LINENO" 5; }
11015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11016 libbacktrace_cv_sys_filetype
=$filetype
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
11019 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
11021 # Match the file type to decide what files to compile.
11023 case "$libbacktrace_cv_sys_filetype" in
11024 elf
*) FORMAT_FILE
="elf.lo" ;;
11025 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
11026 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
11027 FORMAT_FILE
="unknown.lo"
11028 backtrace_supported
=no
11035 case "$libbacktrace_cv_sys_filetype" in
11036 elf32
) elfsize
=32 ;;
11037 elf64
) elfsize
=64 ;;
11040 cat >>confdefs.h
<<_ACEOF
11041 #define BACKTRACE_ELF_SIZE $elfsize
11045 BACKTRACE_SUPPORTED
=0
11046 if test "$backtrace_supported" = "yes"; then
11047 BACKTRACE_SUPPORTED
=1
11051 for ac_header
in sys
/mman.h
11053 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11054 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11055 cat >>confdefs.h
<<_ACEOF
11056 #define HAVE_SYS_MMAN_H 1
11063 if test "$ac_cv_header_sys_mman_h" = "no"; then
11066 if test -n "${with_target_subdir}"; then
11067 # When built as a GCC target library, we can't do a link test. We
11068 # simply assume that if we have mman.h, we have mmap.
11071 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11072 if test "x$ac_cv_func_mmap" = x
""yes; then :
11080 if test "$have_mmap" = "no"; then
11082 ALLOC_FILE
=alloc.lo
11084 VIEW_FILE
=mmapio.lo
11085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 #include <sys/mman.h>
11089 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
11090 #error no MAP_ANONYMOUS
11094 if ac_fn_c_try_cpp
"$LINENO"; then :
11097 ALLOC_FILE
=alloc.lo
11099 rm -f conftest.err conftest.
$ac_ext
11104 BACKTRACE_USES_MALLOC
=0
11105 if test "$ALLOC_FILE" = "alloc.lo"; then
11106 BACKTRACE_USES_MALLOC
=1
11110 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
11111 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
11117 cat >>confdefs.h
<<_ACEOF
11118 #define HAVE_DECL_STRNLEN $ac_have_decl
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
11123 $as_echo_n "checking whether tests can run... " >&6; }
11124 if test "${libbacktrace_cv_sys_native+set}" = set; then :
11125 $as_echo_n "(cached) " >&6
11127 if test "$cross_compiling" = yes; then :
11128 libbacktrace_cv_sys_native
=no
11130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11141 if ac_fn_c_try_run
"$LINENO"; then :
11142 libbacktrace_cv_sys_native
=yes
11144 libbacktrace_cv_sys_native
=no
11146 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11147 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
11152 $as_echo "$libbacktrace_cv_sys_native" >&6; }
11153 if test "$libbacktrace_cv_sys_native" = "yes"; then
11162 if test "${multilib}" = "yes"; then
11163 multilib_arg
="--enable-multilib"
11168 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
11171 # We need multilib support, but only if configuring for the target.
11172 ac_config_commands
="$ac_config_commands default"
11175 cat >confcache
<<\_ACEOF
11176 # This file is a shell script that caches the results of configure
11177 # tests run on this system so they can be shared between configure
11178 # scripts and configure runs, see configure's option --config-cache.
11179 # It is not useful on other systems. If it contains results you don't
11180 # want to keep, you may remove or edit it.
11182 # config.status only pays attention to the cache file if you give it
11183 # the --recheck option to rerun configure.
11185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11187 # following values.
11191 # The following way of writing the cache mishandles newlines in values,
11192 # but we know of no workaround that is simple, portable, and efficient.
11193 # So, we kill variables containing newlines.
11194 # Ultrix sh set writes to stderr and can't be redirected directly,
11195 # and sets the high bit in the cache file unless we assign to the vars.
11197 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11198 eval ac_val
=\$
$ac_var
11202 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11206 _ | IFS | as_nl
) ;; #(
11207 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11208 *) { eval $ac_var=; unset $ac_var;} ;;
11214 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11215 *${as_nl}ac_space
=\
*)
11216 # `set' does not quote correctly, so add quotes: double-quote
11217 # substitution turns \\\\ into \\, and sed turns \\ into \.
11220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11223 # `set' quotes correctly as required by POSIX, so do not add quotes.
11224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11235 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11237 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11238 if test -w "$cache_file"; then
11239 test "x$cache_file" != "x/dev/null" &&
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11241 $as_echo "$as_me: updating cache $cache_file" >&6;}
11242 cat confcache
>$cache_file
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11245 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11250 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11251 # Let make expand exec_prefix.
11252 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11254 DEFS
=-DHAVE_CONFIG_H
11258 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11259 # 1. Remove the extension, and $U if already installed.
11260 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11261 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11262 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11263 # will be set to the directory where LIBOBJS objects are built.
11264 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11265 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11267 LIBOBJS
=$ac_libobjs
11269 LTLIBOBJS
=$ac_ltlibobjs
11272 if test -n "$EXEEXT"; then
11274 am__EXEEXT_FALSE
='#'
11276 am__EXEEXT_TRUE
='#'
11280 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11281 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11284 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11285 as_fn_error
"conditional \"AMDEP\" was never defined.
11286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11288 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11289 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11292 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
11293 as_fn_error
"conditional \"NATIVE\" was never defined.
11294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11297 : ${CONFIG_STATUS=./config.status}
11299 ac_clean_files_save
=$ac_clean_files
11300 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11302 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11304 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11306 # Generated by $as_me.
11307 # Run this file to recreate the current configuration.
11308 # Compiler output produced by configure, useful for debugging
11309 # configure, is in config.log if it exists.
11312 ac_cs_recheck=false
11315 SHELL=\${CONFIG_SHELL-$SHELL}
11318 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11319 ## -------------------- ##
11320 ## M4sh Initialization. ##
11321 ## -------------------- ##
11323 # Be more Bourne compatible
11324 DUALCASE
=1; export DUALCASE
# for MKS sh
11325 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11328 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11329 # is contrary to our usage. Disable this feature.
11330 alias -g '${1+"$@"}'='"$@"'
11331 setopt NO_GLOB_SUBST
11333 case `(set -o) 2>/dev/null` in #(
11345 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11346 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11347 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11348 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11349 # Prefer a ksh shell builtin over an external printf program on Solaris,
11350 # but without wasting forks for bash or zsh.
11351 if test -z "$BASH_VERSION$ZSH_VERSION" \
11352 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11353 as_echo='print
-r --'
11354 as_echo_n='print
-rn --'
11355 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11356 as_echo='printf %s
\n'
11357 as_echo_n='printf %s
'
11359 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11360 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11361 as_echo_n='/usr
/ucb
/echo -n'
11363 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11364 as_echo_n_body='eval
11368 expr "X$arg" : "X\\(.*\\)$as_nl";
11369 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11371 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11373 export as_echo_n_body
11374 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11376 export as_echo_body
11377 as_echo='sh
-c $as_echo_body as_echo
'
11380 # The user is always right.
11381 if test "${PATH_SEPARATOR+set}" != set; then
11383 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11384 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11391 # We need space, tab and new line, in precisely that order. Quoting is
11392 # there to prevent editors from complaining about space-tab.
11393 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11394 # splitting by setting IFS to empty value.)
11397 # Find who we are. Look in the path if we contain no directory separator.
11399 *[\\/]* ) as_myself=$0 ;;
11400 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11401 for as_dir in $PATH
11404 test -z "$as_dir" && as_dir=.
11405 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11411 # We did not find ourselves, most probably we were run as `sh COMMAND'
11412 # in which case we are not to be found in the path.
11413 if test "x$as_myself" = x
; then
11416 if test ! -f "$as_myself"; then
11417 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11421 # Unset variables that we do not need and which cause bugs (e.g. in
11422 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11423 # suppresses any "Segmentation fault" message there. '((' could
11424 # trigger a bug in pdksh 5.2.14.
11425 for as_var
in BASH_ENV ENV MAIL MAILPATH
11426 do eval test x\
${$as_var+set} = xset \
11427 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11440 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11443 # as_fn_error ERROR [LINENO LOG_FD]
11444 # ---------------------------------
11445 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11446 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11447 # script with status $?, using 1 if that was 0.
11450 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11452 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11453 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11455 $as_echo "$as_me: error: $1" >&2
11456 as_fn_exit
$as_status
11460 # as_fn_set_status STATUS
11461 # -----------------------
11462 # Set $? to STATUS, without forking.
11463 as_fn_set_status
()
11466 } # as_fn_set_status
11468 # as_fn_exit STATUS
11469 # -----------------
11470 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11474 as_fn_set_status
$1
11480 # Portably unset VAR.
11483 { eval $1=; unset $1;}
11485 as_unset
=as_fn_unset
11486 # as_fn_append VAR VALUE
11487 # ----------------------
11488 # Append the text in VALUE to the end of the definition contained in VAR. Take
11489 # advantage of any shell optimizations that allow amortized linear growth over
11490 # repeated appends, instead of the typical quadratic growth present in naive
11492 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11493 eval 'as_fn_append ()
11504 # as_fn_arith ARG...
11505 # ------------------
11506 # Perform arithmetic evaluation on the ARGs, and store the result in the
11507 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11508 # must be portable across $(()) and expr.
11509 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11510 eval 'as_fn_arith ()
11517 as_val
=`expr "$@" || test $? -eq 1`
11522 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11523 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11529 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11530 as_basename
=basename
11535 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11541 as_me
=`$as_basename -- "$0" ||
11542 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11543 X"$0" : 'X\(//\)$' \| \
11544 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11546 sed '/^.*\/\([^/][^/]*\)\/*$/{
11560 # Avoid depending upon Character Ranges.
11561 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11562 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11563 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11564 as_cr_digits
='0123456789'
11565 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11567 ECHO_C
= ECHO_N
= ECHO_T
=
11568 case `echo -n x` in #(((((
11570 case `echo 'xy\c'` in
11571 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11573 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11580 rm -f conf$$ conf$$.exe conf$$.
file
11581 if test -d conf$$.dir
; then
11582 rm -f conf$$.dir
/conf$$.
file
11585 mkdir conf$$.dir
2>/dev
/null
11587 if (echo >conf$$.
file) 2>/dev
/null
; then
11588 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11590 # ... but there are two gotchas:
11591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11593 # In both cases, we have to default to `cp -p'.
11594 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11596 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11604 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11605 rmdir conf$$.dir
2>/dev
/null
11610 # Create "$as_dir" as a directory, including parents if necessary.
11615 -*) as_dir
=.
/$as_dir;;
11617 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11621 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11622 *) as_qdir
=$as_dir;;
11624 as_dirs
="'$as_qdir' $as_dirs"
11625 as_dir
=`$as_dirname -- "$as_dir" ||
11626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11627 X"$as_dir" : 'X\(//\)[^/]' \| \
11628 X"$as_dir" : 'X\(//\)$' \| \
11629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11630 $as_echo X"$as_dir" |
11631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11635 /^X\(\/\/\)[^/].*/{
11648 test -d "$as_dir" && break
11650 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11651 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11655 if mkdir
-p .
2>/dev
/null
; then
11656 as_mkdir_p
='mkdir -p "$as_dir"'
11658 test -d .
/-p && rmdir .
/-p
11662 if test -x / >/dev
/null
2>&1; then
11663 as_test_x
='test -x'
11665 if ls -dL / >/dev
/null
2>&1; then
11672 if test -d "$1"; then
11678 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11679 ???[sx]*):;;*)false;;esac;fi
11683 as_executable_p
=$as_test_x
11685 # Sed expression to map a string onto a valid CPP name.
11686 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11688 # Sed expression to map a string onto a valid variable name.
11689 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11693 ## ----------------------------------- ##
11694 ## Main body of $CONFIG_STATUS script. ##
11695 ## ----------------------------------- ##
11697 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11700 # Save the log message, to keep $0 and so on meaningful, and to
11701 # report actual input values of CONFIG_FILES etc. instead of their
11702 # values after options handling.
11704 This file was extended by package-unused $as_me version-unused, which was
11705 generated by GNU Autoconf 2.64. Invocation command line was
11707 CONFIG_FILES = $CONFIG_FILES
11708 CONFIG_HEADERS = $CONFIG_HEADERS
11709 CONFIG_LINKS = $CONFIG_LINKS
11710 CONFIG_COMMANDS = $CONFIG_COMMANDS
11713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11718 case $ac_config_files in *"
11719 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11722 case $ac_config_headers in *"
11723 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11728 # Files that config.status was made for.
11729 config_files="$ac_config_files"
11730 config_headers="$ac_config_headers"
11731 config_commands="$ac_config_commands"
11735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11737 \`$as_me' instantiates files and other configuration actions
11738 from templates according to the current configuration. Unless the files
11739 and actions are specified as TAGs, all are instantiated by default.
11741 Usage: $0 [OPTION]... [TAG]...
11743 -h, --help print this help, then exit
11744 -V, --version print version number and configuration settings, then exit
11745 -q, --quiet, --silent
11746 do not print progress messages
11747 -d, --debug don't remove temporary files
11748 --recheck update $as_me by reconfiguring in the same conditions
11749 --file=FILE[:TEMPLATE]
11750 instantiate the configuration file FILE
11751 --header=FILE[:TEMPLATE]
11752 instantiate the configuration header FILE
11754 Configuration files:
11757 Configuration headers:
11760 Configuration commands:
11763 Report bugs to the package provider."
11766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11768 package-unused config.status version-unused
11769 configured by $0, generated by GNU Autoconf 2.64,
11770 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11772 Copyright (C) 2009 Free Software Foundation, Inc.
11773 This config.status script is free software; the Free Software Foundation
11774 gives unlimited permission to copy, distribute and modify it."
11781 test -n "\$AWK" || AWK=awk
11784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11785 # The default lists apply if the user does not specify any file.
11791 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11792 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11803 # Handling of the options.
11804 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11806 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11807 $as_echo "$ac_cs_version"; exit ;;
11808 --debug |
--debu |
--deb |
--de |
--d |
-d )
11810 --file |
--fil |
--fi |
--f )
11813 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11815 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11816 ac_need_defaults
=false
;;
11817 --header |
--heade |
--head |
--hea )
11820 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11822 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11823 ac_need_defaults
=false
;;
11825 # Conflict between --help and --header
11826 as_fn_error
"ambiguous option: \`$1'
11827 Try \`$0 --help' for more information.";;
11828 --help |
--hel |
-h )
11829 $as_echo "$ac_cs_usage"; exit ;;
11830 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11831 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11834 # This is an error.
11835 -*) as_fn_error
"unrecognized option: \`$1'
11836 Try \`$0 --help' for more information." ;;
11838 *) as_fn_append ac_config_targets
" $1"
11839 ac_need_defaults
=false
;;
11845 ac_configure_extra_args
=
11847 if $ac_cs_silent; then
11849 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11854 if \$ac_cs_recheck; then
11855 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11857 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11858 CONFIG_SHELL='$SHELL'
11859 export CONFIG_SHELL
11864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11869 ## Running $as_me. ##
11875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11879 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11882 # The HP-UX ksh and POSIX shell print the target directory to stdout
11883 # if CDPATH is set.
11884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11886 sed_quote_subst='$sed_quote_subst'
11887 double_quote_subst='$double_quote_subst'
11888 delay_variable_subst='$delay_variable_subst'
11889 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
11890 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
11891 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
11892 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
11893 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
11894 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
11895 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
11896 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
11897 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
11898 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
11899 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
11900 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
11901 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
11902 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
11903 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
11904 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
11905 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
11906 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
11907 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
11908 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
11909 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
11910 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
11911 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
11912 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
11913 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
11914 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
11915 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
11916 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
11917 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
11918 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
11919 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
11920 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
11921 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
11922 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
11923 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
11924 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
11925 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
11926 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11927 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11928 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
11929 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
11930 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
11931 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
11932 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
11933 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
11934 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
11935 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
11936 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
11937 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"`'
11938 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
11939 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
11940 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
11941 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
11942 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
11943 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
11944 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
11945 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
11946 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
11947 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
11948 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
11949 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
11950 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
11951 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
11952 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
11953 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11954 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
11955 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
11956 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
11957 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
11958 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
11959 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
11960 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
11961 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
11962 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11963 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
11964 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
11965 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
11966 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
11967 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
11968 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
11969 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
11970 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
11971 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
11972 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
11973 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
11974 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
11975 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
11976 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
11977 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
11978 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
11979 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
11980 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
11981 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
11982 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
11983 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
11984 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
11985 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
11986 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
11987 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
11988 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
11989 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
11990 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
11991 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
11992 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
11993 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
11994 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
11995 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
11996 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
11997 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
11998 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
11999 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12000 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12001 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12002 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12003 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12004 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12005 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12006 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12007 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12008 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12011 LTCFLAGS='$LTCFLAGS'
12012 compiler='$compiler_DEFAULT'
12014 # A function that is used when there is no print builtin or printf.
12015 func_fallback_echo ()
12017 eval 'cat <<_LTECHO_EOF
12022 # Quote evaled strings.
12036 deplibs_check_method \
12045 lt_cv_sys_global_symbol_pipe \
12046 lt_cv_sys_global_symbol_to_cdecl \
12047 lt_cv_sys_global_symbol_to_c_name_address \
12048 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12049 lt_prog_compiler_no_builtin_flag \
12050 lt_prog_compiler_wl \
12051 lt_prog_compiler_pic \
12052 lt_prog_compiler_static \
12053 lt_cv_prog_compiler_c_o \
12061 export_dynamic_flag_spec \
12062 whole_archive_flag_spec \
12063 compiler_needs_object \
12065 allow_undefined_flag \
12066 no_undefined_flag \
12067 hardcode_libdir_flag_spec \
12068 hardcode_libdir_flag_spec_ld \
12069 hardcode_libdir_separator \
12074 variables_saved_for_relink \
12076 library_names_spec \
12078 install_override_mode \
12082 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12083 *[\\\\\\\`\\"\\\$]*)
12084 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12087 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12092 # Double-quote double-evaled strings.
12093 for var in reload_cmds \
12094 old_postinstall_cmds \
12095 old_postuninstall_cmds \
12097 extract_expsyms_cmds \
12098 old_archive_from_new_cmds \
12099 old_archive_from_expsyms_cmds \
12101 archive_expsym_cmds \
12103 module_expsym_cmds \
12104 export_symbols_cmds \
12107 postuninstall_cmds \
12109 sys_lib_search_path_spec \
12110 sys_lib_dlsearch_path_spec; do
12111 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12112 *[\\\\\\\`\\"\\\$]*)
12113 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12116 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12121 ac_aux_dir='$ac_aux_dir'
12122 xsi_shell='$xsi_shell'
12123 lt_shell_append='$lt_shell_append'
12125 # See if we are running on zsh, and set the options which allow our
12126 # commands through without removal of \ escapes INIT.
12127 if test -n "\${ZSH_VERSION+set}" ; then
12128 setopt NO_GLOB_SUBST
12134 TIMESTAMP='$TIMESTAMP'
12144 with_multisubdir="$with_multisubdir"
12145 with_multisrctop="$with_multisrctop"
12146 with_target_subdir="$with_target_subdir"
12147 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12148 multi_basedir="$multi_basedir"
12149 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12152 GFORTRAN="$GFORTRAN"
12155 # Variables needed in config.status (file generation) which aren't already
12156 # passed by autoconf.
12162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12164 # Handling of arguments.
12165 for ac_config_target
in $ac_config_targets
12167 case $ac_config_target in
12168 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12169 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12170 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12171 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12172 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12173 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
12174 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12176 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12181 # If the user did not use the arguments to specify the items to instantiate,
12182 # then the envvar interface is used. Set only those that are not.
12183 # We use the long form for the default assignment because of an extremely
12184 # bizarre bug on SunOS 4.1.3.
12185 if $ac_need_defaults; then
12186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12188 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12191 # Have a temporary directory for convenience. Make it in the build tree
12192 # simply because there is no reason against having it here, and in addition,
12193 # creating and moving files from /tmp can sometimes cause problems.
12194 # Hook for its removal unless debugging.
12195 # Note that there is a small window in which the directory will not be cleaned:
12196 # after its creation but before its name has been assigned to `$tmp'.
12200 trap 'exit_status=$?
12201 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12203 trap 'as_fn_exit 1' 1 2 13 15
12205 # Create a (secure) tmp directory for tmp files.
12208 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12209 test -n "$tmp" && test -d "$tmp"
12212 tmp
=.
/conf$$
-$RANDOM
12213 (umask 077 && mkdir
"$tmp")
12214 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12216 # Set up the scripts for CONFIG_FILES section.
12217 # No need to generate them if there are no CONFIG_FILES.
12218 # This happens for instance with `./config.status config.h'.
12219 if test -n "$CONFIG_FILES"; then
12222 ac_cr
=`echo X | tr X '\015'`
12223 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12224 # But we know of no other shell where ac_cr would be empty at this
12225 # point, so we can use a bashism as a fallback.
12226 if test "x$ac_cr" = x
; then
12227 eval ac_cr
=\$
\'\\r
\'
12229 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12230 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12233 ac_cs_awk_cr
=$ac_cr
12236 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12241 echo "cat >conf$$subs.awk <<_ACEOF" &&
12242 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12244 } >conf$$subs.sh ||
12245 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12246 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12248 for ac_last_try in false false false false false :; do
12249 . ./conf$$subs.sh ||
12250 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12252 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12253 if test $ac_delim_n = $ac_delim_num; then
12255 elif $ac_last_try; then
12256 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12258 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12261 rm -f conf$$subs.sh
12263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12264 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12268 s/^/S["/; s
/!.
*/"]=/
12278 s/\(.\{148\}\).*/\1/
12280 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12285 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12292 s/\(.\{148\}\).*/\1/
12294 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12298 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12303 ' <conf$$subs.awk | sed '
12308 ' >>$CONFIG_STATUS || ac_write_fail=1
12309 rm -f conf$$subs.awk
12310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12312 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12313 for (key in S) S_is_set[key] = 1
12319 nfields = split(line, field, "@
")
12321 len = length(field[1])
12322 for (i = 2; i < nfields; i++) {
12324 keylen = length(key)
12325 if (S_is_set[key]) {
12327 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12328 len += length(value) + length(field[++i])
12339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12340 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12341 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12344 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12345 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12348 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12349 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12350 # trailing colons and then remove the whole line if VPATH becomes empty
12351 # (actually we leave an empty line to preserve line numbers).
12352 if test "x
$srcdir" = x.; then
12353 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12354 s/:*\$(srcdir):*/:/
12355 s/:*\${srcdir}:*/:/
12357 s/^\([^=]*=[ ]*\):*/\1/
12363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12364 fi # test -n "$CONFIG_FILES"
12366 # Set up the scripts for CONFIG_HEADERS section.
12367 # No need to generate them if there are no CONFIG_HEADERS.
12368 # This happens for instance with `./config.status Makefile'.
12369 if test -n "$CONFIG_HEADERS"; then
12370 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12374 # Transform confdefs.h into an awk script `defines.awk', embedded as
12375 # here-document in config.status, that substitutes the proper values into
12376 # config.h.in to produce config.h.
12378 # Create a delimiter string that does not exist in confdefs.h, to ease
12379 # handling of long lines.
12381 for ac_last_try in false false :; do
12382 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12383 if test -z "$ac_t"; then
12385 elif $ac_last_try; then
12386 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12388 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12392 # For the awk script, D is an array of macro values keyed by name,
12393 # likewise P contains macro parameters if any. Preserve backslash
12394 # newline sequences.
12396 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12398 s/.\{148\}/&'"$ac_delim"'/g
12401 s/^[ ]*#[ ]*define[ ][ ]*/ /
12408 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12410 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12414 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12415 D["\
1"]=" \
3\\\\\\n
"\\/p
12417 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12422 s/.\{148\}/&'"$ac_delim"'/g
12427 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12430 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12432 ' <confdefs.h | sed '
12433 s/'"$ac_delim"'/"\\\
12434 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12437 for (key in D) D_is_set[key] = 1
12440 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12442 split(line, arg, " ")
12443 if (arg[1] == "#") {
12447 defundef
= substr
(arg
[1], 2)
12450 split(mac1
, mac2
, "(") #)
12452 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12453 if (D_is_set
[macro
]) {
12454 # Preserve the white space surrounding the "#".
12455 print prefix
"define", macro P
[macro
] D
[macro
]
12458 # Replace #undef with comments. This is necessary, for example,
12459 # in the case of _POSIX_SOURCE, which is predefined and required
12460 # on some systems where configure will not decide to define it.
12461 if (defundef
== "undef") {
12462 print
"/*", prefix defundef
, macro
, "*/"
12470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12471 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12472 fi # test -n "$CONFIG_HEADERS"
12475 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12480 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12482 case $ac_mode$ac_tag in
12484 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12485 :[FH
]-) ac_tag
=-:-;;
12486 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12503 -) ac_f
="$tmp/stdin";;
12504 *) # Look for the file first in the build tree, then in the source tree
12505 # (if the path is not absolute). The absolute path cannot be DOS-style,
12506 # because $ac_f cannot contain `:'.
12510 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12512 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12514 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12515 as_fn_append ac_file_inputs
" '$ac_f'"
12518 # Let's still pretend it is `configure' which instantiates (i.e., don't
12519 # use $as_me), people would be surprised to read:
12520 # /* config.h. Generated by config.status. */
12521 configure_input
='Generated from '`
12522 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12524 if test x
"$ac_file" != x-
; then
12525 configure_input
="$ac_file. $configure_input"
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12527 $as_echo "$as_me: creating $ac_file" >&6;}
12529 # Neutralize special characters interpreted by sed in replacement strings.
12530 case $configure_input in #(
12531 *\
&* |
*\|
* |
*\\* )
12532 ac_sed_conf_input
=`$as_echo "$configure_input" |
12533 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12534 *) ac_sed_conf_input
=$configure_input;;
12538 *:-:* |
*:-) cat >"$tmp/stdin" \
12539 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12544 ac_dir
=`$as_dirname -- "$ac_file" ||
12545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12546 X"$ac_file" : 'X\(//\)[^/]' \| \
12547 X"$ac_file" : 'X\(//\)$' \| \
12548 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12549 $as_echo X"$ac_file" |
12550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12554 /^X\(\/\/\)[^/].*/{
12567 as_dir
="$ac_dir"; as_fn_mkdir_p
12571 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12573 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12574 # A ".." for each directory in $ac_dir_suffix.
12575 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12576 case $ac_top_builddir_sub in
12577 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12578 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12581 ac_abs_top_builddir
=$ac_pwd
12582 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12583 # for backward compatibility:
12584 ac_top_builddir
=$ac_top_build_prefix
12587 .
) # We are building in place.
12589 ac_top_srcdir
=$ac_top_builddir_sub
12590 ac_abs_top_srcdir
=$ac_pwd ;;
12591 [\\/]* | ?
:[\\/]* ) # Absolute name.
12592 ac_srcdir
=$srcdir$ac_dir_suffix;
12593 ac_top_srcdir
=$srcdir
12594 ac_abs_top_srcdir
=$srcdir ;;
12595 *) # Relative name.
12596 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12597 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12598 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12600 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12610 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12611 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12613 ac_MKDIR_P
=$MKDIR_P
12615 [\\/$
]* | ?
:[\\/]* ) ;;
12616 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12621 # If the template does not know about datarootdir, expand it.
12622 # FIXME: This hack should be removed a few years after 2.60.
12623 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12634 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12635 *datarootdir
*) ac_datarootdir_seen
=yes;;
12636 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12638 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12641 ac_datarootdir_hack='
12642 s&@datadir@&$datadir&g
12643 s&@docdir@&$docdir&g
12644 s&@infodir@&$infodir&g
12645 s&@localedir@&$localedir&g
12646 s&@mandir@&$mandir&g
12647 s&\\\${datarootdir}&$datarootdir&g' ;;
12651 # Neutralize VPATH when `$srcdir' = `.'.
12652 # Shell code in configure.ac might set extrasub.
12653 # FIXME: do we really want to maintain this feature?
12654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12655 ac_sed_extra="$ac_vpsub
12658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12660 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12661 s|@configure_input@|
$ac_sed_conf_input|
;t t
12662 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12663 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12664 s
&@srcdir@
&$ac_srcdir&;t t
12665 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12666 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12667 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12668 s
&@builddir@
&$ac_builddir&;t t
12669 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12670 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12671 s
&@INSTALL@
&$ac_INSTALL&;t t
12672 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12673 $ac_datarootdir_hack
12675 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12676 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12679 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12682 which seems to be undefined. Please make sure it is defined." >&5
12683 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12684 which seems to be undefined. Please make sure it is defined." >&2;}
12688 -) cat "$tmp/out" && rm -f "$tmp/out";;
12689 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12691 || as_fn_error "could not create $ac_file" "$LINENO" 5
12697 if test x"$ac_file" != x-; then
12699 $as_echo "/* $configure_input */" \
12700 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12701 } >"$tmp/config.h" \
12702 || as_fn_error "could not create $ac_file" "$LINENO" 5
12703 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12705 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12708 mv "$tmp/config.h" "$ac_file" \
12709 || as_fn_error "could not create $ac_file" "$LINENO" 5
12712 $as_echo "/* $configure_input */" \
12713 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12714 || as_fn_error "could not create -" "$LINENO" 5
12716 # Compute "$ac_file"'s index
in $config_headers.
12719 for _am_header
in $config_headers :; do
12720 case $_am_header in
12721 $_am_arg |
$_am_arg:* )
12724 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12727 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12728 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12729 X"$_am_arg" : 'X\(//\)[^/]' \| \
12730 X"$_am_arg" : 'X\(//\)$' \| \
12731 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12732 $as_echo X"$_am_arg" |
12733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12737 /^X\(\/\/\)[^/].*/{
12749 s/.*/./; q'`/stamp-h
$_am_stamp_count
12752 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12753 $as_echo "$as_me: executing $ac_file commands" >&6;}
12758 case $ac_file$ac_mode in
12759 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12760 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12761 # are listed without --file. Let's play safe and only enable the eval
12762 # if we detect the quoting.
12763 case $CONFIG_FILES in
12764 *\'*) eval set x
"$CONFIG_FILES" ;;
12765 *) set x
$CONFIG_FILES ;;
12770 # Strip MF so we end up with the name of the file.
12771 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12772 # Check whether this is an Automake generated Makefile or not.
12773 # We used to match only the files named `Makefile.in', but
12774 # some people rename them; so instead we look at the file content.
12775 # Grep'ing the first line is not enough: some people post-process
12776 # each Makefile.in and add a new line on top of each file to say so.
12777 # Grep'ing the whole file is not good either: AIX grep has a line
12778 # limit of 2048, but all sed's we know have understand at least 4000.
12779 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12780 dirpart
=`$as_dirname -- "$mf" ||
12781 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12782 X"$mf" : 'X\(//\)[^/]' \| \
12783 X"$mf" : 'X\(//\)$' \| \
12784 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12790 /^X\(\/\/\)[^/].*/{
12806 # Extract the definition of DEPDIR, am__include, and am__quote
12807 # from the Makefile without running `make'.
12808 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12809 test -z "$DEPDIR" && continue
12810 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12811 test -z "am__include" && continue
12812 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12813 # When using ansi2knr, U may be empty or an underscore; expand it
12814 U
=`sed -n 's/^U = //p' < "$mf"`
12815 # Find all dependency output files, they are included files with
12816 # $(DEPDIR) in their names. We invoke sed twice because it is the
12817 # simplest approach to changing $(DEPDIR) to its actual value in the
12819 for file in `sed -n "
12820 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12821 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12822 # Make sure the directory exists.
12823 test -f "$dirpart/$file" && continue
12824 fdir
=`$as_dirname -- "$file" ||
12825 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12826 X"$file" : 'X\(//\)[^/]' \| \
12827 X"$file" : 'X\(//\)$' \| \
12828 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12829 $as_echo X"$file" |
12830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12834 /^X\(\/\/\)[^/].*/{
12847 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12848 # echo "creating $dirpart/$file"
12849 echo '# dummy' > "$dirpart/$file"
12856 # See if we are running on zsh, and set the options which allow our
12857 # commands through without removal of \ escapes.
12858 if test -n "${ZSH_VERSION+set}" ; then
12859 setopt NO_GLOB_SUBST
12862 cfgfile
="${ofile}T"
12863 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12866 cat <<_LT_EOF >> "$cfgfile"
12869 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12870 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12872 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12874 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12875 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12876 # Written by Gordon Matzigkeit, 1996
12878 # This file is part of GNU Libtool.
12880 # GNU Libtool is free software; you can redistribute it and/or
12881 # modify it under the terms of the GNU General Public License as
12882 # published by the Free Software Foundation; either version 2 of
12883 # the License, or (at your option) any later version.
12885 # As a special exception to the GNU General Public License,
12886 # if you distribute this file as part of a program or library that
12887 # is built using GNU Libtool, you may include this file under the
12888 # same distribution terms that you use for the rest of that program.
12890 # GNU Libtool is distributed in the hope that it will be useful,
12891 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12893 # GNU General Public License for more details.
12895 # You should have received a copy of the GNU General Public License
12896 # along with GNU Libtool; see the file COPYING. If not, a copy
12897 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12898 # obtained by writing to the Free Software Foundation, Inc.,
12899 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12902 # The names of the tagged configurations supported by this script.
12905 # ### BEGIN LIBTOOL CONFIG
12907 # Which release of libtool.m4 was used?
12908 macro_version=$macro_version
12909 macro_revision=$macro_revision
12911 # Whether or not to build shared libraries.
12912 build_libtool_libs=$enable_shared
12914 # Whether or not to build static libraries.
12915 build_old_libs=$enable_static
12917 # What type of objects to build.
12920 # Whether or not to optimize for fast installation.
12921 fast_install=$enable_fast_install
12923 # Shell to use when invoking shell scripts.
12926 # An echo program that protects backslashes.
12930 host_alias=$host_alias
12934 # The build system.
12935 build_alias=$build_alias
12939 # A sed program that does not truncate output.
12942 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12943 Xsed="\$SED -e 1s/^X//"
12945 # A grep program that handles long lines.
12951 # A literal string matcher.
12954 # A BSD- or MS-compatible name lister.
12957 # Whether we need soft or hard links.
12960 # What is the maximum length of a command?
12961 max_cmd_len=$max_cmd_len
12963 # Object file suffix (normally "o").
12966 # Executable file suffix (normally "").
12969 # whether the shell understands "unset".
12972 # turn spaces into newlines.
12975 # turn newlines into spaces.
12978 # An object symbol dumper.
12979 OBJDUMP=$lt_OBJDUMP
12981 # Method to check whether dependent libraries are shared objects.
12982 deplibs_check_method=$lt_deplibs_check_method
12984 # Command to use when deplibs_check_method == "file_magic".
12985 file_magic_cmd=$lt_file_magic_cmd
12989 AR_FLAGS=$lt_AR_FLAGS
12991 # A symbol stripping program.
12994 # Commands used to install an old-style archive.
12996 old_postinstall_cmds=$lt_old_postinstall_cmds
12997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12999 # Whether to use a lock for old archive extraction.
13000 lock_old_archive_extraction=$lock_old_archive_extraction
13005 # LTCC compiler flags.
13006 LTCFLAGS=$lt_CFLAGS
13008 # Take the output of nm and produce a listing of raw symbols and C names.
13009 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13011 # Transform the output of nm in a proper C declaration.
13012 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13014 # Transform the output of nm in a C name address pair.
13015 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13017 # Transform the output of nm in a C name address pair when lib prefix is needed.
13018 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13020 # The name of the directory that contains temporary libtool files.
13023 # Used to examine libraries when file_magic_cmd begins with "file".
13024 MAGIC_CMD=$MAGIC_CMD
13026 # Must we lock files when doing compilation?
13027 need_locks=$lt_need_locks
13029 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13030 DSYMUTIL=$lt_DSYMUTIL
13032 # Tool to change global to local symbols on Mac OS X.
13035 # Tool to manipulate fat objects and archives on Mac OS X.
13038 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13041 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13042 OTOOL64=$lt_OTOOL64
13044 # Old archive suffix (normally "a").
13047 # Shared library suffix (normally ".so").
13048 shrext_cmds=$lt_shrext_cmds
13050 # The commands to extract the exported symbol list from a shared archive.
13051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13053 # Variables whose values should be saved in libtool wrapper scripts and
13054 # restored at link time.
13055 variables_saved_for_relink=$lt_variables_saved_for_relink
13057 # Do we need the "lib" prefix for modules?
13058 need_lib_prefix=$need_lib_prefix
13060 # Do we need a version for libraries?
13061 need_version=$need_version
13063 # Library versioning type.
13064 version_type=$version_type
13066 # Shared library runtime path variable.
13067 runpath_var=$runpath_var
13069 # Shared library path variable.
13070 shlibpath_var=$shlibpath_var
13072 # Is shlibpath searched before the hard-coded library search path?
13073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13075 # Format of library name prefix.
13076 libname_spec=$lt_libname_spec
13078 # List of archive names. First name is the real one, the rest are links.
13079 # The last name is the one that the linker finds with -lNAME
13080 library_names_spec=$lt_library_names_spec
13082 # The coded name of the library, if different from the real name.
13083 soname_spec=$lt_soname_spec
13085 # Permission mode override for installation of shared libraries.
13086 install_override_mode=$lt_install_override_mode
13088 # Command to use after installation of a shared archive.
13089 postinstall_cmds=$lt_postinstall_cmds
13091 # Command to use after uninstallation of a shared archive.
13092 postuninstall_cmds=$lt_postuninstall_cmds
13094 # Commands used to finish a libtool library installation in a directory.
13095 finish_cmds=$lt_finish_cmds
13097 # As "finish_cmds", except a single script fragment to be evaled but
13099 finish_eval=$lt_finish_eval
13101 # Whether we should hardcode library paths into libraries.
13102 hardcode_into_libs=$hardcode_into_libs
13104 # Compile-time system search path for libraries.
13105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13107 # Run-time system search path for libraries.
13108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13110 # Whether dlopen is supported.
13111 dlopen_support=$enable_dlopen
13113 # Whether dlopen of programs is supported.
13114 dlopen_self=$enable_dlopen_self
13116 # Whether dlopen of statically linked programs is supported.
13117 dlopen_self_static=$enable_dlopen_self_static
13119 # Commands to strip libraries.
13120 old_striplib=$lt_old_striplib
13121 striplib=$lt_striplib
13124 # The linker used to build libraries.
13127 # How to create reloadable object files.
13128 reload_flag=$lt_reload_flag
13129 reload_cmds=$lt_reload_cmds
13131 # Commands used to build an old-style archive.
13132 old_archive_cmds=$lt_old_archive_cmds
13134 # A language specific compiler.
13137 # Is the compiler the GNU compiler?
13140 # Compiler flag to turn off builtin functions.
13141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13143 # How to pass a linker flag through the compiler.
13144 wl=$lt_lt_prog_compiler_wl
13146 # Additional compiler flags for building library objects.
13147 pic_flag=$lt_lt_prog_compiler_pic
13149 # Compiler flag to prevent dynamic linking.
13150 link_static_flag=$lt_lt_prog_compiler_static
13152 # Does compiler simultaneously support -c and -o options?
13153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13155 # Whether or not to add -lc for building shared libraries.
13156 build_libtool_need_lc=$archive_cmds_need_lc
13158 # Whether or not to disallow shared libs when runtime libs are static.
13159 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13161 # Compiler flag to allow reflexive dlopens.
13162 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13164 # Compiler flag to generate shared objects directly from archives.
13165 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13167 # Whether the compiler copes with passing no objects directly.
13168 compiler_needs_object=$lt_compiler_needs_object
13170 # Create an old-style archive from a shared archive.
13171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13173 # Create a temporary old-style archive to link instead of a shared archive.
13174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13176 # Commands used to build a shared archive.
13177 archive_cmds=$lt_archive_cmds
13178 archive_expsym_cmds=$lt_archive_expsym_cmds
13180 # Commands used to build a loadable module if different from building
13181 # a shared archive.
13182 module_cmds=$lt_module_cmds
13183 module_expsym_cmds=$lt_module_expsym_cmds
13185 # Whether we are building with GNU ld or not.
13186 with_gnu_ld=$lt_with_gnu_ld
13188 # Flag that allows shared libraries with undefined symbols to be built.
13189 allow_undefined_flag=$lt_allow_undefined_flag
13191 # Flag that enforces no undefined symbols.
13192 no_undefined_flag=$lt_no_undefined_flag
13194 # Flag to hardcode \$libdir into a binary during linking.
13195 # This must work even if \$libdir does not exist
13196 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13198 # If ld is used when linking, flag to hardcode \$libdir into a binary
13199 # during linking. This must work even if \$libdir does not exist.
13200 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13202 # Whether we need a single "-rpath" flag with a separated argument.
13203 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13206 # DIR into the resulting binary.
13207 hardcode_direct=$hardcode_direct
13209 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13210 # DIR into the resulting binary and the resulting library dependency is
13211 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13212 # library is relocated.
13213 hardcode_direct_absolute=$hardcode_direct_absolute
13215 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13216 # into the resulting binary.
13217 hardcode_minus_L=$hardcode_minus_L
13219 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13220 # into the resulting binary.
13221 hardcode_shlibpath_var=$hardcode_shlibpath_var
13223 # Set to "yes" if building a shared library automatically hardcodes DIR
13224 # into the library and all subsequent libraries and executables linked
13226 hardcode_automatic=$hardcode_automatic
13228 # Set to yes if linker adds runtime paths of dependent libraries
13229 # to runtime path list.
13230 inherit_rpath=$inherit_rpath
13232 # Whether libtool must link a program against all its dependency libraries.
13233 link_all_deplibs=$link_all_deplibs
13235 # Fix the shell variable \$srcfile for the compiler.
13236 fix_srcfile_path=$lt_fix_srcfile_path
13238 # Set to "yes" if exported symbols are required.
13239 always_export_symbols=$always_export_symbols
13241 # The commands to list exported symbols.
13242 export_symbols_cmds=$lt_export_symbols_cmds
13244 # Symbols that should not be listed in the preloaded symbols.
13245 exclude_expsyms=$lt_exclude_expsyms
13247 # Symbols that must always be exported.
13248 include_expsyms=$lt_include_expsyms
13250 # Commands necessary for linking programs (against libraries) with templates.
13251 prelink_cmds=$lt_prelink_cmds
13253 # Specify filename containing input files.
13254 file_list_spec=$lt_file_list_spec
13256 # How to hardcode a shared library path into an executable.
13257 hardcode_action=$hardcode_action
13259 # ### END LIBTOOL CONFIG
13265 cat <<\_LT_EOF
>> "$cfgfile"
13266 # AIX sometimes has problems with the GCC collect2 program. For some
13267 # reason, if we set the COLLECT_NAMES environment variable, the problems
13268 # vanish in a puff of smoke.
13269 if test "X${COLLECT_NAMES+set}" != Xset
; then
13271 export COLLECT_NAMES
13278 ltmain
="$ac_aux_dir/ltmain.sh"
13281 # We use sed instead of cat because bash on DJGPP gets confused if
13282 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13283 # text mode, it properly converts lines to CR/LF. This bash problem
13284 # is reportedly fixed, but why not run on old versions too?
13285 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13286 ||
(rm -f "$cfgfile"; exit 1)
13290 cat << \_LT_EOF
>> "$cfgfile"
13292 # func_dirname file append nondir_replacement
13293 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13294 # otherwise set result to NONDIR_REPLACEMENT.
13298 */*) func_dirname_result
="${1%/*}${2}" ;;
13299 * ) func_dirname_result
="${3}" ;;
13303 # func_basename file
13306 func_basename_result
="${1##*/}"
13309 # func_dirname_and_basename file append nondir_replacement
13310 # perform func_basename and func_dirname in a single function
13312 # dirname: Compute the dirname of FILE. If nonempty,
13313 # add APPEND to the result, otherwise set result
13314 # to NONDIR_REPLACEMENT.
13315 # value returned in "$func_dirname_result"
13316 # basename: Compute filename of FILE.
13317 # value retuned in "$func_basename_result"
13318 # Implementation must be kept synchronized with func_dirname
13319 # and func_basename. For efficiency, we do not delegate to
13320 # those functions but instead duplicate the functionality here.
13321 func_dirname_and_basename
()
13324 */*) func_dirname_result
="${1%/*}${2}" ;;
13325 * ) func_dirname_result
="${3}" ;;
13327 func_basename_result
="${1##*/}"
13330 # func_stripname prefix suffix name
13331 # strip PREFIX and SUFFIX off of NAME.
13332 # PREFIX and SUFFIX must not contain globbing or regex special
13333 # characters, hashes, percent signs, but SUFFIX may contain a leading
13334 # dot (in which case that matches only a dot).
13337 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13338 # positional parameters, so assign one to ordinary parameter first.
13339 func_stripname_result
=${3}
13340 func_stripname_result
=${func_stripname_result#"${1}"}
13341 func_stripname_result
=${func_stripname_result%"${2}"}
13347 func_opt_split_opt
=${1%%=*}
13348 func_opt_split_arg
=${1#*=}
13355 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13356 *) func_lo2o_result
=${1} ;;
13360 # func_xform libobj-or-source
13363 func_xform_result
=${1%.*}.lo
13366 # func_arith arithmetic-term...
13369 func_arith_result
=$
(( $
* ))
13373 # STRING may not start with a hyphen.
13376 func_len_result
=${#1}
13381 *) # Bourne compatible functions.
13382 cat << \_LT_EOF
>> "$cfgfile"
13384 # func_dirname file append nondir_replacement
13385 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13386 # otherwise set result to NONDIR_REPLACEMENT.
13389 # Extract subdirectory from the argument.
13390 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13391 if test "X$func_dirname_result" = "X${1}"; then
13392 func_dirname_result
="${3}"
13394 func_dirname_result
="$func_dirname_result${2}"
13398 # func_basename file
13401 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13405 # func_stripname prefix suffix name
13406 # strip PREFIX and SUFFIX off of NAME.
13407 # PREFIX and SUFFIX must not contain globbing or regex special
13408 # characters, hashes, percent signs, but SUFFIX may contain a leading
13409 # dot (in which case that matches only a dot).
13410 # func_strip_suffix prefix name
13414 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13415 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13420 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13421 my_sed_long_arg
='1s/^-[^=]*=//'
13426 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13427 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13433 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13436 # func_xform libobj-or-source
13439 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13442 # func_arith arithmetic-term...
13445 func_arith_result
=`expr "$@"`
13449 # STRING may not start with a hyphen.
13452 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13458 case $lt_shell_append in
13460 cat << \_LT_EOF
>> "$cfgfile"
13462 # func_append var value
13463 # Append VALUE to the end of shell variable VAR.
13471 cat << \_LT_EOF
>> "$cfgfile"
13473 # func_append var value
13474 # Append VALUE to the end of shell variable VAR.
13485 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13486 ||
(rm -f "$cfgfile"; exit 1)
13488 mv -f "$cfgfile" "$ofile" ||
13489 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13494 # Only add multilib support code if we just rebuilt the top-level
13496 case " $CONFIG_FILES " in
13498 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13501 "default":C
) if test -n "$CONFIG_FILES"; then
13502 if test -n "${with_target_subdir}"; then
13503 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
13504 # that multilib installs will end up installed in the correct place.
13505 # The testsuite needs it for multilib-aware ABI baseline files.
13506 # To work around this not being passed down from config-ml.in ->
13507 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
13508 # append it here. Only modify Makefiles that have just been created.
13510 # Also, get rid of this simulated-VPATH thing that automake does.
13511 cat > vpsed
<< \_EOF
13512 s
!`test -f '$<' || echo '$(srcdir)/'`!!
13514 for i
in $SUBDIRS; do
13515 case $CONFIG_FILES in
13517 #echo "Adding MULTISUBDIR to $i/Makefile"
13518 sed -f vpsed
$i/Makefile
> tmp
13519 grep '^MULTISUBDIR =' Makefile
>> tmp
13535 ac_clean_files
=$ac_clean_files_save
13537 test $ac_write_fail = 0 ||
13538 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13541 # configure is writing to config.log, and then calls config.status.
13542 # config.status does its own redirection, appending to config.log.
13543 # Unfortunately, on DOS this fails, as config.log is still kept open
13544 # by configure, so config.status won't be able to write to it; its
13545 # output is simply discarded. So we exec the FD to /dev/null,
13546 # effectively closing config.log, so it can be properly (re)opened and
13547 # appended to by config.status. When coming back to configure, we
13548 # need to make the FD available again.
13549 if test "$no_create" != yes; then
13551 ac_config_status_args
=
13552 test "$silent" = yes &&
13553 ac_config_status_args
="$ac_config_status_args --quiet"
13555 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13557 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13558 # would make configure fail if this is the last instruction.
13559 $ac_cs_success || as_fn_exit $?
13561 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13563 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}