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
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
634 MAINTAINER_MODE_FALSE
653 INSTALL_STRIP_PROGRAM
718 program_transform_name
731 enable_option_checking
732 enable_dependency_tracking
733 enable_maintainer_mode
742 with_system_libunwind
744 ac_precious_vars
='build_alias
755 # Initialize some variables set by options.
757 ac_init_version
=false
758 ac_unrecognized_opts
=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
769 program_transform_name
=s
,x
,x
,
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir
='${exec_prefix}/bin'
784 sbindir
='${exec_prefix}/sbin'
785 libexecdir
='${exec_prefix}/libexec'
786 datarootdir
='${prefix}/share'
787 datadir
='${datarootdir}'
788 sysconfdir
='${prefix}/etc'
789 sharedstatedir
='${prefix}/com'
790 localstatedir
='${prefix}/var'
791 includedir
='${prefix}/include'
792 oldincludedir
='/usr/include'
793 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir
='${datarootdir}/info'
799 libdir
='${exec_prefix}/lib'
800 localedir
='${datarootdir}/locale'
801 mandir
='${datarootdir}/man'
807 # If the previous option needs an argument, assign it.
808 if test -n "$ac_prev"; then
809 eval $ac_prev=\
$ac_option
815 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
819 # Accept the important Cygnus configure options, so we can diagnose typos.
821 case $ac_dashdash$ac_option in
825 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
827 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
830 -build |
--build |
--buil |
--bui |
--bu)
831 ac_prev
=build_alias
;;
832 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
833 build_alias
=$ac_optarg ;;
835 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
836 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
837 ac_prev
=cache_file
;;
838 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
839 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
840 cache_file
=$ac_optarg ;;
843 cache_file
=config.cache
;;
845 -datadir |
--datadir |
--datadi |
--datad)
847 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
848 datadir
=$ac_optarg ;;
850 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
851 |
--dataroo |
--dataro |
--datar)
852 ac_prev
=datarootdir
;;
853 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
854 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
855 datarootdir
=$ac_optarg ;;
857 -disable-* |
--disable-*)
858 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
861 as_fn_error
"invalid feature name: $ac_useropt"
862 ac_useropt_orig
=$ac_useropt
863 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869 ac_unrecognized_sep
=', ';;
871 eval enable_
$ac_useropt=no
;;
873 -docdir |
--docdir |
--docdi |
--doc |
--do)
875 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
878 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
880 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
883 -enable-* |
--enable-*)
884 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
887 as_fn_error
"invalid feature name: $ac_useropt"
888 ac_useropt_orig
=$ac_useropt
889 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 case $ac_user_opts in
894 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895 ac_unrecognized_sep
=', ';;
897 eval enable_
$ac_useropt=\
$ac_optarg ;;
899 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
900 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
901 |
--exec |
--exe |
--ex)
902 ac_prev
=exec_prefix
;;
903 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
904 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
905 |
--exec=* |
--exe=* |
--ex=*)
906 exec_prefix
=$ac_optarg ;;
908 -gas |
--gas |
--ga |
--g)
909 # Obsolete; use --with-gas.
912 -help |
--help |
--hel |
--he |
-h)
914 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
915 ac_init_help
=recursive
;;
916 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
917 ac_init_help
=short
;;
919 -host |
--host |
--hos |
--ho)
920 ac_prev
=host_alias
;;
921 -host=* |
--host=* |
--hos=* |
--ho=*)
922 host_alias
=$ac_optarg ;;
924 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
926 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
928 htmldir
=$ac_optarg ;;
930 -includedir |
--includedir |
--includedi |
--included |
--include \
931 |
--includ |
--inclu |
--incl |
--inc)
932 ac_prev
=includedir
;;
933 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
934 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
935 includedir
=$ac_optarg ;;
937 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
939 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
940 infodir
=$ac_optarg ;;
942 -libdir |
--libdir |
--libdi |
--libd)
944 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
947 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
948 |
--libexe |
--libex |
--libe)
949 ac_prev
=libexecdir
;;
950 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
951 |
--libexe=* |
--libex=* |
--libe=*)
952 libexecdir
=$ac_optarg ;;
954 -localedir |
--localedir |
--localedi |
--localed |
--locale)
956 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
957 localedir
=$ac_optarg ;;
959 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
960 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
961 ac_prev
=localstatedir
;;
962 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
963 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
964 localstatedir
=$ac_optarg ;;
966 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
968 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
972 # Obsolete; use --without-fp.
975 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
976 |
--no-cr |
--no-c |
-n)
979 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
980 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
983 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
984 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
985 |
--oldin |
--oldi |
--old |
--ol |
--o)
986 ac_prev
=oldincludedir
;;
987 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
988 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
989 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
990 oldincludedir
=$ac_optarg ;;
992 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
994 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
997 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
998 |
--program-pre |
--program-pr |
--program-p)
999 ac_prev
=program_prefix
;;
1000 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1001 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1002 program_prefix
=$ac_optarg ;;
1004 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1005 |
--program-suf |
--program-su |
--program-s)
1006 ac_prev
=program_suffix
;;
1007 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1008 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1009 program_suffix
=$ac_optarg ;;
1011 -program-transform-name |
--program-transform-name \
1012 |
--program-transform-nam |
--program-transform-na \
1013 |
--program-transform-n |
--program-transform- \
1014 |
--program-transform |
--program-transfor \
1015 |
--program-transfo |
--program-transf \
1016 |
--program-trans |
--program-tran \
1017 |
--progr-tra |
--program-tr |
--program-t)
1018 ac_prev
=program_transform_name
;;
1019 -program-transform-name=* |
--program-transform-name=* \
1020 |
--program-transform-nam=* |
--program-transform-na=* \
1021 |
--program-transform-n=* |
--program-transform-=* \
1022 |
--program-transform=* |
--program-transfor=* \
1023 |
--program-transfo=* |
--program-transf=* \
1024 |
--program-trans=* |
--program-tran=* \
1025 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1026 program_transform_name
=$ac_optarg ;;
1028 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1030 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1031 pdfdir
=$ac_optarg ;;
1033 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1035 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1039 |
-silent |
--silent |
--silen |
--sile |
--sil)
1042 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1044 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1046 sbindir
=$ac_optarg ;;
1048 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1049 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1050 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1052 ac_prev
=sharedstatedir
;;
1053 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1054 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1055 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1057 sharedstatedir
=$ac_optarg ;;
1059 -site |
--site |
--sit)
1061 -site=* |
--site=* |
--sit=*)
1064 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1066 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1067 srcdir
=$ac_optarg ;;
1069 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1070 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1071 ac_prev
=sysconfdir
;;
1072 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1073 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1074 sysconfdir
=$ac_optarg ;;
1076 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1077 ac_prev
=target_alias
;;
1078 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1079 target_alias
=$ac_optarg ;;
1081 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1084 -version |
--version |
--versio |
--versi |
--vers |
-V)
1085 ac_init_version
=: ;;
1088 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error
"invalid package name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval with_
$ac_useropt=\
$ac_optarg ;;
1103 -without-* |
--without-*)
1104 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1107 as_fn_error
"invalid package name: $ac_useropt"
1108 ac_useropt_orig
=$ac_useropt
1109 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115 ac_unrecognized_sep
=', ';;
1117 eval with_
$ac_useropt=no
;;
1120 # Obsolete; use --with-x.
1123 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1124 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1125 ac_prev
=x_includes
;;
1126 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1127 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1128 x_includes
=$ac_optarg ;;
1130 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1131 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1132 ac_prev
=x_libraries
;;
1133 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1134 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1135 x_libraries
=$ac_optarg ;;
1137 -*) as_fn_error
"unrecognized option: \`$ac_option'
1138 Try \`$0 --help' for more information."
1142 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1143 # Reject names that are not valid shell variable names.
1144 case $ac_envvar in #(
1145 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1146 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1148 eval $ac_envvar=\
$ac_optarg
1149 export $ac_envvar ;;
1152 # FIXME: should be removed in autoconf 3.0.
1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162 if test -n "$ac_prev"; then
1163 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1164 as_fn_error
"missing argument to $ac_option"
1167 if test -n "$ac_unrecognized_opts"; then
1168 case $enable_option_checking in
1170 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175 # Check all directory arguments for consistency.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1182 # Remove trailing slashes.
1185 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1186 eval $ac_var=\
$ac_val;;
1188 # Be sure to have absolute directory names.
1190 [\\/$
]* | ?
:[\\/]* ) continue;;
1191 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1193 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target
=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x
; then
1205 if test "x$build_alias" = x
; then
1206 cross_compiling
=maybe
1207 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1217 test "$silent" = yes && exec 6>/dev
/null
1220 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di
=`ls -di .` &&
1222 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1223 as_fn_error
"working directory cannot be determined"
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 as_fn_error
"pwd does not report name of working directory"
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted
=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir
=`$as_dirname -- "$as_myself" ||
1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$as_myself" : 'X\(//\)[^/]' \| \
1235 X"$as_myself" : 'X\(//\)$' \| \
1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237 $as_echo X"$as_myself" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted
=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1264 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1266 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --program-prefix=PREFIX prepend PREFIX to installed program names
1353 --program-suffix=SUFFIX append SUFFIX to installed program names
1354 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1357 --build=BUILD configure
for building on BUILD
[guessed
]
1358 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of package-unused version-unused:";;
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --disable-dependency-tracking speeds up one-time build
1374 --enable-dependency-tracking do not reject slow dependency extractors
1375 --enable-maintainer-mode enable make rules and dependencies not useful
1376 (and sometimes confusing
) to the casual installer
1377 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1378 --enable-static[=PKGS
] build static libraries
[default
=yes]
1379 --enable-fast-install[=PKGS
]
1380 optimize
for fast installation
[default
=yes]
1381 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1382 --enable-multilib build many library versions
(default
)
1385 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1386 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1387 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1388 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1390 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1391 --with-system-libunwind use installed libunwind
1393 Some influential environment variables
:
1394 CC C compiler
command
1395 CFLAGS C compiler flags
1396 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1397 nonstandard directory
<lib dir
>
1398 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1399 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1400 you have headers
in a nonstandard directory
<include dir
>
1403 Use these variables to override the choices made by
`configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to the package provider.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1436 .) # We are building in place.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for guested configure.
1453 if test -f "$ac_srcdir/configure.gnu"; then
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then
1458 $SHELL "$ac_srcdir/configure" --help=recursive
1460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 cd "$ac_pwd" || { ac_status=$?; break; }
1466 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then
1469 package-unused configure version-unused
1470 generated by GNU Autoconf 2.64
1472 Copyright (C) 2009 Free Software Foundation, Inc.
1473 This configure script is free software; the Free Software Foundation
1474 gives unlimited permission to copy, distribute and modify it.
1479 ## ------------------------ ##
1480 ## Autoconf initialization. ##
1481 ## ------------------------ ##
1483 # ac_fn_c_try_compile LINENO
1484 # --------------------------
1485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1486 ac_fn_c_try_compile ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 rm -f conftest.$ac_objext
1490 if { { ac_try="$ac_compile"
1492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1493 *) ac_try_echo
=$ac_try;;
1495 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496 $as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_compile") 2>conftest.err
1499 if test -s conftest.err
; then
1500 grep -v '^ *+' conftest.err
>conftest.er1
1501 cat conftest.er1
>&5
1502 mv -f conftest.er1 conftest.err
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } && {
1506 test -z "$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1508 } && test -s conftest.
$ac_objext; then :
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.
$ac_ext >&5
1516 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1519 } # ac_fn_c_try_compile
1521 # ac_fn_c_try_cpp LINENO
1522 # ----------------------
1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1527 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } >/dev/null && {
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1563 ac_fn_c_check_header_mongrel ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570 $as_echo_n "(cached) " >&6
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1584 if ac_fn_c_try_compile "$LINENO"; then :
1585 ac_header_compiler=yes
1587 ac_header_compiler=no
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1600 if ac_fn_c_try_cpp "$LINENO"; then :
1601 ac_header_preproc=yes
1603 ac_header_preproc=no
1605 rm -f conftest.err conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1633 $as_echo_n "(cached) " >&6
1635 eval "$3=\$ac_header_compiler"
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1643 } # ac_fn_c_check_header_mongrel
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 if { { ac_try="$ac_link"
1654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1655 *) ac_try_echo
=$ac_try;;
1657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
1664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_try") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1679 ac_retval=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile "$LINENO"; then :
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716 } # ac_fn_c_check_header_compile
1718 # ac_fn_c_try_link LINENO
1719 # -----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext conftest$ac_exeext
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest
$ac_exeext && {
1744 test "$cross_compiling" = yes ||
1745 $as_test_x conftest
$ac_exeext
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.
$ac_ext >&5
1754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1756 # interfere with the next link command; also delete a directory that is
1757 # left behind by Apple's compiler. We do this before executing the actions.
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1762 } # ac_fn_c_try_link
1764 # ac_fn_c_check_func LINENO FUNC VAR
1765 # ----------------------------------
1766 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1767 ac_fn_c_check_func
()
1769 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773 $as_echo_n "(cached) " >&6
1775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1779 #define $2 innocuous_$2
1781 /* System header to define __stub macros and hopefully few prototypes,
1782 which can conflict with char $2 (); below.
1783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784 <limits.h> exists even on freestanding compilers. */
1787 # include <limits.h>
1789 # include <assert.h>
1794 /* Override any GCC internal prototype to avoid an error.
1795 Use char because int might match the return type of a GCC
1796 builtin and then its argument prototype would still apply. */
1801 /* The GNU C library defines this for functions which it implements
1802 to always fail with ENOSYS. Some functions are actually named
1803 something starting with __ and the normal name is an alias. */
1804 #if defined __stub_$2 || defined __stub___$2
1816 if ac_fn_c_try_link
"$LINENO"; then :
1821 rm -f core conftest.err conftest.
$ac_objext \
1822 conftest
$ac_exeext conftest.
$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1829 } # ac_fn_c_check_func
1831 # ac_fn_c_check_decl LINENO SYMBOL VAR
1832 # ------------------------------------
1833 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1834 ac_fn_c_check_decl
()
1836 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1837 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1838 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1840 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1841 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1850 #ifndef $as_decl_name
1852 (void) $as_decl_use;
1854 (void) $as_decl_name;
1862 if ac_fn_c_try_compile
"$LINENO"; then :
1867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1874 } # ac_fn_c_check_decl
1875 cat >config.log
<<_ACEOF
1876 This file contains any messages produced by compilers while
1877 running configure, to aid debugging if configure makes a mistake.
1879 It was created by package-unused $as_me version-unused, which was
1880 generated by GNU Autoconf 2.64. Invocation command line was
1892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1899 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1901 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1902 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1904 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1905 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1906 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1907 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 $as_echo "PATH: $as_dir"
1932 # Keep a trace of the command line.
1933 # Strip out --no-create and --no-recursion so they do not pile up.
1934 # Strip out --silent because we don't want to record it for future runs.
1935 # Also quote any args containing shell meta-characters.
1936 # Make two passes to allow for proper duplicate-argument suppression.
1940 ac_must_keep_next
=false
1946 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1948 |
-silent |
--silent |
--silen |
--sile |
--sil)
1951 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1954 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1956 as_fn_append ac_configure_args1
" '$ac_arg'"
1957 if test $ac_must_keep_next = true
; then
1958 ac_must_keep_next
=false
# Got value, back to normal.
1961 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1962 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1963 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1964 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1965 case "$ac_configure_args0 " in
1966 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1969 -* ) ac_must_keep_next
=true
;;
1972 as_fn_append ac_configure_args
" '$ac_arg'"
1977 { ac_configure_args0
=; unset ac_configure_args0
;}
1978 { ac_configure_args1
=; unset ac_configure_args1
;}
1980 # When interrupted or exit'd, cleanup temporary files, and complete
1981 # config.log. We remove comments because anyway the quotes in there
1982 # would cause problems or look ugly.
1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1985 trap 'exit_status=$?
1986 # Save into config.log some information that might help in debugging.
1991 ## ---------------- ##
1992 ## Cache variables. ##
1993 ## ---------------- ##
1996 # The following way of writing the cache mishandles newlines in values,
1998 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1999 eval ac_val=\$$ac_var
2003 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2007 _ | IFS | as_nl) ;; #(
2008 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2009 *) { eval $ac_var=; unset $ac_var;} ;;
2014 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2015 *${as_nl}ac_space=\ *)
2017 "s/'\''/'\''\\\\'\'''\''/g;
2018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2029 ## ----------------- ##
2030 ## Output variables. ##
2031 ## ----------------- ##
2034 for ac_var in $ac_subst_vars
2036 eval ac_val=\$$ac_var
2038 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 $as_echo "$ac_var='\''$ac_val'\''"
2044 if test -n "$ac_subst_files"; then
2046 ## ------------------- ##
2047 ## File substitutions. ##
2048 ## ------------------- ##
2051 for ac_var
in $ac_subst_files
2053 eval ac_val
=\$
$ac_var
2055 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -s confdefs.h; then
2072 test "$ac_signal" != 0 &&
2073 $as_echo "$as_me: caught signal $ac_signal"
2074 $as_echo "$as_me: exit $exit_status"
2076 rm -f core *.core core.conftest.* &&
2077 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2080 for ac_signal
in 1 2 13 15; do
2081 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2085 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2086 rm -f -r conftest
* confdefs.h
2088 $as_echo "/* confdefs.h */" > confdefs.h
2090 # Predefined preprocessor variables.
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_NAME "$PACKAGE_NAME"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_STRING "$PACKAGE_STRING"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_URL "$PACKAGE_URL"
2117 # Let the site file select an alternate cache file if it wants to.
2118 # Prefer an explicitly selected file to automatically selected ones.
2121 if test -n "$CONFIG_SITE"; then
2122 ac_site_file1
=$CONFIG_SITE
2123 elif test "x$prefix" != xNONE
; then
2124 ac_site_file1
=$prefix/share
/config.site
2125 ac_site_file2
=$prefix/etc
/config.site
2127 ac_site_file1
=$ac_default_prefix/share
/config.site
2128 ac_site_file2
=$ac_default_prefix/etc
/config.site
2130 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2132 test "x$ac_site_file" = xNONE
&& continue
2133 if test -r "$ac_site_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2135 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2136 sed 's/^/| /' "$ac_site_file" >&5
2141 if test -r "$cache_file"; then
2142 # Some versions of bash will fail to source /dev/null (special
2143 # files actually), so we avoid doing that.
2144 if test -f "$cache_file"; then
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2146 $as_echo "$as_me: loading cache $cache_file" >&6;}
2148 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2149 *) .
"./$cache_file";;
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2154 $as_echo "$as_me: creating cache $cache_file" >&6;}
2158 # Check that the precious variables saved in the cache have kept the same
2160 ac_cache_corrupted
=false
2161 for ac_var
in $ac_precious_vars; do
2162 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2163 eval ac_new_set
=\
$ac_env_${ac_var}_set
2164 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2165 eval ac_new_val
=\
$ac_env_${ac_var}_value
2166 case $ac_old_set,$ac_new_set in
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2170 ac_cache_corrupted
=: ;;
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2174 ac_cache_corrupted
=: ;;
2177 if test "x$ac_old_val" != "x$ac_new_val"; then
2178 # differences in whitespace do not lead to failure.
2179 ac_old_val_w
=`echo x $ac_old_val`
2180 ac_new_val_w
=`echo x $ac_new_val`
2181 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2183 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2184 ac_cache_corrupted
=:
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2187 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2188 eval $ac_var=\
$ac_old_val
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2191 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2193 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2196 # Pass precious variables to config.status.
2197 if test "$ac_new_set" = set; then
2199 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2200 *) ac_arg
=$ac_var=$ac_new_val ;;
2202 case " $ac_configure_args " in
2203 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2204 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2208 if $ac_cache_corrupted; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2212 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2213 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2215 ## -------------------- ##
2216 ## Main body of script. ##
2217 ## -------------------- ##
2220 ac_cpp
='$CPP $CPPFLAGS'
2221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2230 ac_config_headers
="$ac_config_headers config.h"
2234 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2235 for ac_t
in install-sh
install.sh shtool
; do
2236 if test -f "$ac_dir/$ac_t"; then
2238 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2243 if test -z "$ac_aux_dir"; then
2244 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2247 # These three variables are undocumented and unsupported,
2248 # and are intended to be withdrawn in a future Autoconf release.
2249 # They can cause serious problems if a builder's source tree is in a directory
2250 # whose full name contains unusual characters.
2251 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2252 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2253 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2256 # Make sure we can run config.sub.
2257 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2258 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2261 $as_echo_n "checking build system type... " >&6; }
2262 if test "${ac_cv_build+set}" = set; then :
2263 $as_echo_n "(cached) " >&6
2265 ac_build_alias
=$build_alias
2266 test "x$ac_build_alias" = x
&&
2267 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2268 test "x$ac_build_alias" = x
&&
2269 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2270 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2271 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2275 $as_echo "$ac_cv_build" >&6; }
2276 case $ac_cv_build in
2278 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2281 ac_save_IFS
=$IFS; IFS
='-'
2287 # Remember, the first character of IFS is used to create $*,
2288 # except with old shells:
2291 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2295 $as_echo_n "checking host system type... " >&6; }
2296 if test "${ac_cv_host+set}" = set; then :
2297 $as_echo_n "(cached) " >&6
2299 if test "x$host_alias" = x
; then
2300 ac_cv_host
=$ac_cv_build
2302 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2303 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2308 $as_echo "$ac_cv_host" >&6; }
2311 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2314 ac_save_IFS
=$IFS; IFS
='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2328 $as_echo_n "checking target system type... " >&6; }
2329 if test "${ac_cv_target+set}" = set; then :
2330 $as_echo_n "(cached) " >&6
2332 if test "x$target_alias" = x
; then
2333 ac_cv_target
=$ac_cv_host
2335 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2336 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2341 $as_echo "$ac_cv_target" >&6; }
2342 case $ac_cv_target in
2344 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2346 target
=$ac_cv_target
2347 ac_save_IFS
=$IFS; IFS
='-'
2353 # Remember, the first character of IFS is used to create $*,
2354 # except with old shells:
2357 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2360 # The aliases save the names the user supplied, while $host etc.
2361 # will get canonicalized.
2362 test -n "$target_alias" &&
2363 test "$program_prefix$program_suffix$program_transform_name" = \
2365 program_prefix
=${target_alias}-
2367 target_alias
=${target_alias-$host_alias}
2370 ac_cpp
='$CPP $CPPFLAGS'
2371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC
="$CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405 $as_echo "$CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2413 if test -z "$ac_cv_prog_CC"; then
2415 # Extract the first word of "gcc", so it can be a program name with args.
2416 set dummy gcc
; ac_word
=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$ac_ct_CC"; then
2423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_ac_ct_CC
="gcc"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2443 if test -n "$ac_ct_CC"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2445 $as_echo "$ac_ct_CC" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2451 if test "x$ac_ct_CC" = x
; then
2454 case $cross_compiling:$ac_tool_warned in
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2458 ac_tool_warned
=yes ;;
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2469 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_CC+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC
="$CC" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 if test -n "$CC"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2498 $as_echo "$CC" >&6; }
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501 $as_echo "no" >&6; }
2507 if test -z "$CC"; then
2508 # Extract the first word of "cc", so it can be a program name with args.
2509 set dummy cc
; ac_word
=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if test "${ac_cv_prog_CC+set}" = set; then :
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$CC"; then
2516 ac_cv_prog_CC
="$CC" # Let the user override the test.
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2527 ac_prog_rejected
=yes
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 if test $ac_prog_rejected = yes; then
2539 # We found a bogon in the path, so make sure we never use it.
2540 set dummy
$ac_cv_prog_CC
2542 if test $# != 0; then
2543 # We chose a different compiler from the bogus one.
2544 # However, it has the same basename, so the bogon will be chosen
2545 # first if we set CC to just the basename; use the full file name.
2547 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2553 if test -n "$CC"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555 $as_echo "$CC" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$CC"; then
2564 if test -n "$ac_tool_prefix"; then
2565 for ac_prog
in cl.exe
2567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2568 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if test "${ac_cv_prog_CC+set}" = set; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$CC"; then
2575 ac_cv_prog_CC
="$CC" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 if test -n "$CC"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2597 $as_echo "$CC" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2604 test -n "$CC" && break
2607 if test -z "$CC"; then
2609 for ac_prog
in cl.exe
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy
$ac_prog; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$ac_ct_CC"; then
2619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_ac_ct_CC
="$ac_prog"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2639 if test -n "$ac_ct_CC"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2641 $as_echo "$ac_ct_CC" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2648 test -n "$ac_ct_CC" && break
2651 if test "x$ac_ct_CC" = x
; then
2654 case $cross_compiling:$ac_tool_warned in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned
=yes ;;
2667 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669 as_fn_error
"no acceptable C compiler found in \$PATH
2670 See \`config.log' for more details." "$LINENO" 5; }
2672 # Provide some information about the compiler.
2673 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2676 for ac_option
in --version -v -V -qversion; do
2677 { { ac_try
="$ac_compiler $ac_option >&5"
2679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2686 if test -s conftest.err; then
2688 ... rest of stderr output deleted ...
2689 10q' conftest.err >conftest.er1
2690 cat conftest.er1 >&5
2691 rm -f conftest.er1 conftest.err
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2708 ac_clean_files_save=$ac_clean_files
2709 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2710 # Try to create an executable without -o first, disregard a.out.
2711 # It will help us diagnose broken compilers, and finding out an intuition
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2714 $as_echo_n "checking for C compiler default output file name... " >&6; }
2715 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2717 # The possible output files:
2718 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2721 for ac_file in $ac_files
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2725 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2730 if { { ac_try="$ac_link_default"
2732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2733 *) ac_try_echo
=$ac_try;;
2735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_link_default") 2>&5
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; then :
2741 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2742 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2743 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2744 # so that the user can short-circuit this test for compilers unknown to
2746 for ac_file
in $ac_files ''
2748 test -f "$ac_file" ||
continue
2750 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2753 # We found the default executable, but exeext='' is most
2757 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2759 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2761 # We set ac_cv_exeext here because the later test for it is not
2762 # safe: cross compilers may not add the suffix if given an `-o'
2763 # argument, so we may need to know it at that point already.
2764 # Even if this section looks crufty: it has the advantage of
2771 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2777 $as_echo "$ac_file" >&6; }
2778 if test -z "$ac_file"; then :
2779 $as_echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784 { as_fn_set_status
77
2785 as_fn_error
"C compiler cannot create executables
2786 See \`config.log' for more details." "$LINENO" 5; }; }
2788 ac_exeext
=$ac_cv_exeext
2790 # Check that the compiler produces executables we can run. If not, either
2791 # the compiler is broken, or we cross compile.
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2793 $as_echo_n "checking whether the C compiler works... " >&6; }
2794 # If not cross compiling, check that we can run a simple program.
2795 if test "$cross_compiling" != yes; then
2796 if { ac_try
='./$ac_file'
2797 { { case "(($ac_try" in
2798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_try") 2>&5
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; }; }; then
2809 if test "$cross_compiling" = maybe; then
2812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 as_fn_error "cannot run C compiled programs.
2815 If you meant to cross compile
, use \
`--host'.
2816 See \`config.log
' for more details." "$LINENO" 5; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2821 $as_echo "yes" >&6; }
2823 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2824 ac_clean_files=$ac_clean_files_save
2825 # Check that the compiler produces executables we can run. If not, either
2826 # the compiler is broken, or we cross compile.
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2828 $as_echo_n "checking whether we are cross compiling... " >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2830 $as_echo "$cross_compiling" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2833 $as_echo_n "checking for suffix of executables... " >&6; }
2834 if { { ac_try="$ac_link"
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_link") 2>&5
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; }; then :
2845 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2846 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2847 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2849 for ac_file
in conftest.exe conftest conftest.
*; do
2850 test -f "$ac_file" ||
continue
2852 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2853 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2861 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2862 See \`config.log' for more details." "$LINENO" 5; }
2864 rm -f conftest
$ac_cv_exeext
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2866 $as_echo "$ac_cv_exeext" >&6; }
2868 rm -f conftest.
$ac_ext
2869 EXEEXT
=$ac_cv_exeext
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2872 $as_echo_n "checking for suffix of object files... " >&6; }
2873 if test "${ac_cv_objext+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2887 rm -f conftest.o conftest.obj
2888 if { { ac_try
="$ac_compile"
2890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2894 $as_echo "$ac_try_echo"; } >&5
2895 (eval "$ac_compile") 2>&5
2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; }; then :
2899 for ac_file in conftest.o conftest.obj conftest.*; do
2900 test -f "$ac_file" || continue;
2902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 as_fn_error "cannot compute suffix of object files
: cannot compile
2914 See \
`config.log' for more details." "$LINENO" 5; }
2916 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2919 $as_echo "$ac_cv_objext" >&6; }
2920 OBJEXT=$ac_cv_objext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2923 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2924 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2941 if ac_fn_c_try_compile "$LINENO"; then :
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2951 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2952 if test $ac_compiler_gnu = yes; then
2957 ac_test_CFLAGS=${CFLAGS+set}
2958 ac_save_CFLAGS=$CFLAGS
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2960 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2961 if test "${ac_cv_prog_cc_g+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 ac_save_c_werror_flag=$ac_c_werror_flag
2965 ac_c_werror_flag=yes
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2979 if ac_fn_c_try_compile "$LINENO"; then :
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2994 if ac_fn_c_try_compile "$LINENO"; then :
2997 ac_c_werror_flag=$ac_save_c_werror_flag
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3010 if ac_fn_c_try_compile "$LINENO"; then :
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 ac_c_werror_flag=$ac_save_c_werror_flag
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3021 $as_echo "$ac_cv_prog_cc_g" >&6; }
3022 if test "$ac_test_CFLAGS" = set; then
3023 CFLAGS=$ac_save_CFLAGS
3024 elif test $ac_cv_prog_cc_g = yes; then
3025 if test "$GCC" = yes; then
3031 if test "$GCC" = yes; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3039 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3042 ac_cv_prog_cc_c89=no
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 #include <sys/types.h>
3049 #include <sys/stat.h>
3050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3051 struct buf { int x; };
3052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3053 static char *e (p, i)
3059 static char *f (char * (*g) (char **, int), char **p, ...)
3064 s = g (p, va_arg (v,int));
3069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3070 function prototypes and stuff, but not '\xHH' hex character constants.
3071 These don't provoke an error unfortunately, instead are silently treated
3072 as 'x'. The following induces an error, until -std is added to get
3073 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3074 array size at least. It's necessary to write '\x00'==0 to get something
3075 that's true only with -std. */
3076 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3078 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3079 inside strings and character constants. */
3081 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3083 int test (int i, double x);
3084 struct s1 {int (*f) (int a);};
3085 struct s2 {int (*f) (double a);};
3086 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3092 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3097 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3098 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3100 CC="$ac_save_CC $ac_arg"
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 ac_cv_prog_cc_c89=$ac_arg
3104 rm -f core conftest.err conftest.$ac_objext
3105 test "x$ac_cv_prog_cc_c89" != "xno" && break
3107 rm -f conftest.$ac_ext
3112 case "x$ac_cv_prog_cc_c89" in
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3115 $as_echo "none needed" >&6; } ;;
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3118 $as_echo "unsupported" >&6; } ;;
3120 CC="$CC $ac_cv_prog_cc_c89"
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3122 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3124 if test "x$ac_cv_prog_cc_c89" != xno; then :
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3136 ac_cpp='$CPP $CPPFLAGS'
3137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3141 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3142 # On Suns, sometimes $CPP names a directory.
3143 if test -n "$CPP" && test -d "$CPP"; then
3146 if test -z "$CPP"; then
3147 if test "${ac_cv_prog_CPP+set}" = set; then :
3148 $as_echo_n "(cached) " >&6
3150 # Double quotes because CPP needs to be expanded
3151 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3154 for ac_c_preproc_warn_flag in '' yes
3156 # Use a header file that comes with gcc, so configuring glibc
3157 # with a fresh cross-compiler works.
3158 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3159 # <limits.h> exists even on freestanding compilers.
3160 # On the NeXT, cc -E runs the code through the compiler's parser,
3161 # not just through cpp. "Syntax error" is here to catch this case.
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3165 # include <limits.h>
3167 # include <assert.h>
3171 if ac_fn_c_try_cpp "$LINENO"; then :
3174 # Broken: fails on valid input.
3177 rm -f conftest.err conftest.$ac_ext
3179 # OK, works on sane cases. Now check whether nonexistent headers
3180 # can be detected and how.
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3183 #include <ac_nonexistent.h>
3185 if ac_fn_c_try_cpp "$LINENO"; then :
3186 # Broken: success on invalid input.
3189 # Passes both tests.
3193 rm -f conftest.err conftest.$ac_ext
3196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3197 rm -f conftest.err conftest.
$ac_ext
3198 if $ac_preproc_ok; then :
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3211 $as_echo "$CPP" >&6; }
3213 for ac_c_preproc_warn_flag
in '' yes
3215 # Use a header file that comes with gcc, so configuring glibc
3216 # with a fresh cross-compiler works.
3217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218 # <limits.h> exists even on freestanding compilers.
3219 # On the NeXT, cc -E runs the code through the compiler's parser,
3220 # not just through cpp. "Syntax error" is here to catch this case.
3221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3224 # include <limits.h>
3226 # include <assert.h>
3230 if ac_fn_c_try_cpp
"$LINENO"; then :
3233 # Broken: fails on valid input.
3236 rm -f conftest.err conftest.
$ac_ext
3238 # OK, works on sane cases. Now check whether nonexistent headers
3239 # can be detected and how.
3240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3242 #include <ac_nonexistent.h>
3244 if ac_fn_c_try_cpp
"$LINENO"; then :
3245 # Broken: success on invalid input.
3248 # Passes both tests.
3252 rm -f conftest.err conftest.
$ac_ext
3255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3256 rm -f conftest.err conftest.
$ac_ext
3257 if $ac_preproc_ok; then :
3260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3263 See \`config.log' for more details." "$LINENO" 5; }
3267 ac_cpp
='$CPP $CPPFLAGS'
3268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3274 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3275 if test "${ac_cv_path_GREP+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -z "$GREP"; then
3279 ac_path_GREP_found
=false
3280 # Loop through the user's path and test for each of PROGNAME-LIST
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_prog
in grep ggrep
; do
3287 for ac_exec_ext
in '' $ac_executable_extensions; do
3288 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3289 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3290 # Check for GNU ac_path_GREP and select it if it is found.
3291 # Check for GNU $ac_path_GREP
3292 case `"$ac_path_GREP" --version 2>&1` in
3294 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3297 $as_echo_n 0123456789 >"conftest.in"
3300 cat "conftest.in" "conftest.in" >"conftest.tmp"
3301 mv "conftest.tmp" "conftest.in"
3302 cp "conftest.in" "conftest.nl"
3303 $as_echo 'GREP' >> "conftest.nl"
3304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3305 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3306 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3307 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3308 # Best one so far, save it but keep looking for a better one
3309 ac_cv_path_GREP
="$ac_path_GREP"
3310 ac_path_GREP_max
=$ac_count
3312 # 10*(2^10) chars as input seems more than enough
3313 test $ac_count -gt 10 && break
3315 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3318 $ac_path_GREP_found && break 3
3323 if test -z "$ac_cv_path_GREP"; then
3324 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3327 ac_cv_path_GREP
=$GREP
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3332 $as_echo "$ac_cv_path_GREP" >&6; }
3333 GREP
="$ac_cv_path_GREP"
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3337 $as_echo_n "checking for egrep... " >&6; }
3338 if test "${ac_cv_path_EGREP+set}" = set; then :
3339 $as_echo_n "(cached) " >&6
3341 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3342 then ac_cv_path_EGREP
="$GREP -E"
3344 if test -z "$EGREP"; then
3345 ac_path_EGREP_found
=false
3346 # Loop through the user's path and test for each of PROGNAME-LIST
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3348 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_prog
in egrep; do
3353 for ac_exec_ext
in '' $ac_executable_extensions; do
3354 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3355 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3356 # Check for GNU ac_path_EGREP and select it if it is found.
3357 # Check for GNU $ac_path_EGREP
3358 case `"$ac_path_EGREP" --version 2>&1` in
3360 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3363 $as_echo_n 0123456789 >"conftest.in"
3366 cat "conftest.in" "conftest.in" >"conftest.tmp"
3367 mv "conftest.tmp" "conftest.in"
3368 cp "conftest.in" "conftest.nl"
3369 $as_echo 'EGREP' >> "conftest.nl"
3370 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3371 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3372 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3374 # Best one so far, save it but keep looking for a better one
3375 ac_cv_path_EGREP
="$ac_path_EGREP"
3376 ac_path_EGREP_max
=$ac_count
3378 # 10*(2^10) chars as input seems more than enough
3379 test $ac_count -gt 10 && break
3381 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3384 $ac_path_EGREP_found && break 3
3389 if test -z "$ac_cv_path_EGREP"; then
3390 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3393 ac_cv_path_EGREP
=$EGREP
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3399 $as_echo "$ac_cv_path_EGREP" >&6; }
3400 EGREP
="$ac_cv_path_EGREP"
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3404 $as_echo_n "checking for ANSI C header files... " >&6; }
3405 if test "${ac_cv_header_stdc+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3423 if ac_fn_c_try_compile
"$LINENO"; then :
3424 ac_cv_header_stdc
=yes
3426 ac_cv_header_stdc
=no
3428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3430 if test $ac_cv_header_stdc = yes; then
3431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3438 $EGREP "memchr" >/dev
/null
2>&1; then :
3441 ac_cv_header_stdc
=no
3447 if test $ac_cv_header_stdc = yes; then
3448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3455 $EGREP "free" >/dev
/null
2>&1; then :
3458 ac_cv_header_stdc
=no
3464 if test $ac_cv_header_stdc = yes; then
3465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3466 if test "$cross_compiling" = yes; then :
3469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 #if ((' ' & 0x0FF) == 0x020)
3474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3477 # define ISLOWER(c) \
3478 (('a' <= (c) && (c) <= 'i') \
3479 || ('j' <= (c) && (c) <= 'r') \
3480 || ('s' <= (c) && (c) <= 'z'))
3481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3489 for (i = 0; i < 256; i++)
3490 if (XOR (islower (i), ISLOWER (i))
3491 || toupper (i) != TOUPPER (i))
3496 if ac_fn_c_try_run
"$LINENO"; then :
3499 ac_cv_header_stdc
=no
3501 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3502 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3508 $as_echo "$ac_cv_header_stdc" >&6; }
3509 if test $ac_cv_header_stdc = yes; then
3511 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3515 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3516 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3517 inttypes.h stdint.h unistd.h
3519 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3520 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3522 eval as_val
=\$
$as_ac_Header
3523 if test "x$as_val" = x
""yes; then :
3524 cat >>confdefs.h
<<_ACEOF
3525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3534 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3535 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3542 if test "$MINIX" = yes; then
3544 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3547 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3550 $as_echo "#define _MINIX 1" >>confdefs.h
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3556 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3557 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3563 # define __EXTENSIONS__ 1
3564 $ac_includes_default
3573 if ac_fn_c_try_compile
"$LINENO"; then :
3574 ac_cv_safe_to_define___extensions__
=yes
3576 ac_cv_safe_to_define___extensions__
=no
3578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3581 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3582 test $ac_cv_safe_to_define___extensions__ = yes &&
3583 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3585 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3587 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3589 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3591 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3595 libtool_VERSION
=1:0:0
3598 am__api_version
='1.11'
3600 # Find a good install program. We prefer a C program (faster),
3601 # so one script is as good as another. But avoid the broken or
3602 # incompatible versions:
3603 # SysV /etc/install, /usr/sbin/install
3604 # SunOS /usr/etc/install
3605 # IRIX /sbin/install
3607 # AmigaOS /C/install, which installs bootblocks on floppy discs
3608 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3609 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3610 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3611 # OS/2's system install, which has a completely different semantic
3612 # ./install, which can be erroneously created by make from ./install.sh.
3613 # Reject install programs that cannot install multiple files.
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3615 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3616 if test -z "$INSTALL"; then
3617 if test "${ac_cv_path_install+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 # Account for people who put trailing slashes in PATH elements.
3626 case $as_dir/ in #((
3627 .
/ | .
// |
/[cC
]/* | \
3628 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3629 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3632 # OSF1 and SCO ODT 3.0 have their own names for install.
3633 # Don't use installbsd from OSF since it installs stuff as root
3635 for ac_prog
in ginstall scoinst
install; do
3636 for ac_exec_ext
in '' $ac_executable_extensions; do
3637 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3638 if test $ac_prog = install &&
3639 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3640 # AIX install. It has an incompatible calling convention.
3642 elif test $ac_prog = install &&
3643 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3644 # program-specific install script used by HP pwplus--don't use.
3647 rm -rf conftest.one conftest.two conftest.dir
3648 echo one
> conftest.one
3649 echo two
> conftest.two
3651 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3652 test -s conftest.one
&& test -s conftest.two
&&
3653 test -s conftest.dir
/conftest.one
&&
3654 test -s conftest.dir
/conftest.two
3656 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3669 rm -rf conftest.one conftest.two conftest.dir
3672 if test "${ac_cv_path_install+set}" = set; then
3673 INSTALL
=$ac_cv_path_install
3675 # As a last resort, use the slow shell script. Don't cache a
3676 # value for INSTALL within a source directory, because that will
3677 # break other packages using the cache if that directory is
3678 # removed, or if the value is a relative name.
3679 INSTALL
=$ac_install_sh
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3683 $as_echo "$INSTALL" >&6; }
3685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3686 # It thinks the first close brace ends the variable substitution.
3687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3691 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3694 $as_echo_n "checking whether build environment is sane... " >&6; }
3697 echo timestamp
> conftest.
file
3698 # Reject unsafe characters in $srcdir or the absolute working directory
3699 # name. Accept space and tab only in the latter.
3703 *[\\\"\
#\$\&\'\`$am_lf]*)
3704 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3707 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3708 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3711 # Do `set' in a subshell so we don't clobber the current shell's
3712 # arguments. Must try -L first in case configure is actually a
3713 # symlink; some systems play weird games with the mod time of symlinks
3714 # (eg FreeBSD returns the mod time of the symlink's containing
3717 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3718 if test "$*" = "X"; then
3720 set X
`ls -t "$srcdir/configure" conftest.file`
3723 if test "$*" != "X $srcdir/configure conftest.file" \
3724 && test "$*" != "X conftest.file $srcdir/configure"; then
3726 # If neither matched, then we have a broken ls. This can happen
3727 # if, for instance, CONFIG_SHELL is bash and it inherits a
3728 # broken ls alias from the environment. This has actually
3729 # happened. Such a system could not be considered "sane".
3730 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3731 alias in your environment" "$LINENO" 5
3734 test "$2" = conftest.
file
3740 as_fn_error
"newly created file is older than distributed files!
3741 Check your system clock" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3744 $as_echo "yes" >&6; }
3745 test "$program_prefix" != NONE
&&
3746 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3747 # Use a double $ so make ignores it.
3748 test "$program_suffix" != NONE
&&
3749 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3750 # Double any \ or $.
3751 # By default was `s,x,x', remove it if useless.
3752 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3753 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3755 # expand $ac_aux_dir to an absolute path
3756 am_aux_dir
=`cd $ac_aux_dir && pwd`
3758 if test x
"${MISSING+set}" != xset
; then
3761 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3763 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3766 # Use eval to expand $SHELL
3767 if eval "$MISSING --run true"; then
3768 am_missing_run
="$MISSING --run "
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3772 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3775 if test x
"${install_sh}" != xset
; then
3778 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3780 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3784 # Installed binaries are usually stripped using `strip' when the user
3785 # run `make install-strip'. However `strip' might not be the right
3786 # tool to use in cross-compilation environments, therefore Automake
3787 # will honor the `STRIP' environment variable to overrule this program.
3788 if test "$cross_compiling" != no
; then
3789 if test -n "$ac_tool_prefix"; then
3790 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3791 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if test "${ac_cv_prog_STRIP+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$STRIP"; then
3798 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 STRIP
=$ac_cv_prog_STRIP
3818 if test -n "$STRIP"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3820 $as_echo "$STRIP" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3828 if test -z "$ac_cv_prog_STRIP"; then
3830 # Extract the first word of "strip", so it can be a program name with args.
3831 set dummy strip
; ac_word
=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$ac_ct_STRIP"; then
3838 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir
=.
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_ac_ct_STRIP
="strip"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3858 if test -n "$ac_ct_STRIP"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3860 $as_echo "$ac_ct_STRIP" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3866 if test "x$ac_ct_STRIP" = x
; then
3869 case $cross_compiling:$ac_tool_warned in
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3873 ac_tool_warned
=yes ;;
3878 STRIP
="$ac_cv_prog_STRIP"
3882 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3885 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3886 if test -z "$MKDIR_P"; then
3887 if test "${ac_cv_path_mkdir+set}" = set; then :
3888 $as_echo_n "(cached) " >&6
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3891 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_prog
in mkdir gmkdir
; do
3896 for ac_exec_ext
in '' $ac_executable_extensions; do
3897 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3898 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3899 'mkdir (GNU coreutils) '* | \
3900 'mkdir (coreutils) '* | \
3901 'mkdir (fileutils) '4.1*)
3902 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3912 if test "${ac_cv_path_mkdir+set}" = set; then
3913 MKDIR_P
="$ac_cv_path_mkdir -p"
3915 # As a last resort, use the slow shell script. Don't cache a
3916 # value for MKDIR_P within a source directory, because that will
3917 # break other packages using the cache if that directory is
3918 # removed, or if the value is a relative name.
3919 test -d .
/--version && rmdir .
/--version
3920 MKDIR_P
="$ac_install_sh -d"
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3924 $as_echo "$MKDIR_P" >&6; }
3928 [\\/$
]* | ?
:[\\/]*) ;;
3929 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3932 for ac_prog
in gawk mawk nawk
awk
3934 # Extract the first word of "$ac_prog", so it can be a program name with args.
3935 set dummy
$ac_prog; ac_word
=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if test "${ac_cv_prog_AWK+set}" = set; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$AWK"; then
3942 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_AWK
="$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 if test -n "$AWK"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3964 $as_echo "$AWK" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3971 test -n "$AWK" && break
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3975 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3977 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3978 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3979 $as_echo_n "(cached) " >&6
3981 cat >conftest.
make <<\_ACEOF
3984 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3989 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3991 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3995 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3997 $as_echo "yes" >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4001 $as_echo "no" >&6; }
4002 SET_MAKE
="MAKE=${MAKE-make}"
4005 rm -rf .tst
2>/dev
/null
4006 mkdir .tst
2>/dev
/null
4007 if test -d .tst
; then
4012 rmdir .tst
2>/dev
/null
4014 DEPDIR
="${am__leading_dot}deps"
4016 ac_config_commands
="$ac_config_commands depfiles"
4019 am_make
=${MAKE-make}
4020 cat > confinc
<< 'END'
4022 @
echo this is the am__doit target
4025 # If we don't find an include directive, just comment out the code.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4027 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4031 # First try GNU make style include.
4032 echo "include confinc" > confmf
4033 # Ignore all kinds of additional output from `make'.
4034 case `$am_make -s -f confmf 2> /dev/null` in #(
4035 *the\ am__doit\ target
*)
4041 # Now try BSD make style include.
4042 if test "$am__include" = "#"; then
4043 echo '.include "confinc"' > confmf
4044 case `$am_make -s -f confmf 2> /dev/null` in #(
4045 *the\ am__doit\ target
*)
4046 am__include
=.include
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4055 $as_echo "$_am_result" >&6; }
4056 rm -f confinc confmf
4058 # Check whether --enable-dependency-tracking was given.
4059 if test "${enable_dependency_tracking+set}" = set; then :
4060 enableval
=$enable_dependency_tracking;
4063 if test "x$enable_dependency_tracking" != xno
; then
4064 am_depcomp
="$ac_aux_dir/depcomp"
4067 if test "x$enable_dependency_tracking" != xno; then
4076 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4077 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4078 # is not polluted with repeated "-I."
4079 am__isrc
=' -I$(srcdir)'
4080 # test to see if srcdir already configured
4081 if test -f $srcdir/config.status
; then
4082 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4086 # test whether we have cygpath
4087 if test -z "$CYGPATH_W"; then
4088 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4089 CYGPATH_W
='cygpath -w'
4096 # Define the identity of the package.
4097 PACKAGE
='libbacktrace'
4098 VERSION
='version-unused'
4101 # Some tools Automake needs.
4103 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4106 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4109 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4112 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4115 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4117 # We need awk for the "check" target. The system "awk" is bad on
4119 # Always define AMTAR for backward compatibility.
4121 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4123 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4128 depcc
="$CC" am_compiler_list
=
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4131 $as_echo_n "checking dependency style of $depcc... " >&6; }
4132 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4136 # We make a subdir and do the tests there. Otherwise we can end up
4137 # making bogus files that we don't know about and never remove. For
4138 # instance it was reported that on HP-UX the gcc test will end up
4139 # making a dummy file named `D' -- because `-MD' means `put the output
4142 # Copy depcomp to subdir because otherwise we won't find it if we're
4143 # using a relative directory.
4144 cp "$am_depcomp" conftest.dir
4146 # We will build objects and dependencies in a subdirectory because
4147 # it helps to detect inapplicable dependency modes. For instance
4148 # both Tru64's cc and ICC support -MD to output dependencies as a
4149 # side effect of compilation, but ICC will put the dependencies in
4150 # the current directory while Tru64 will put them in the object
4154 am_cv_CC_dependencies_compiler_type
=none
4155 if test "$am_compiler_list" = ""; then
4156 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4159 case " $depcc " in #(
4160 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4163 for depmode
in $am_compiler_list; do
4164 # Setup a source with many dependencies, because some compilers
4165 # like to wrap large dependency lists on column 80 (with \), and
4166 # we should not choose a depcomp mode which is confused by this.
4168 # We need to recreate these files for each test, as the compiler may
4169 # overwrite some of them when testing with obscure command lines.
4170 # This happens at least with the AIX C compiler.
4172 for i
in 1 2 3 4 5 6; do
4173 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4174 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4175 # Solaris 8's {/usr,}/bin/sh.
4176 touch sub
/conftst
$i.h
4178 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4180 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4181 # mode. It turns out that the SunPro C++ compiler does not properly
4182 # handle `-M -o', and we need to detect this. Also, some Intel
4183 # versions had trouble with output in subdirs
4184 am__obj
=sub
/conftest.
${OBJEXT-o}
4185 am__minus_obj
="-o $am__obj"
4188 # This depmode causes a compiler race in universal mode.
4189 test "$am__universal" = false ||
continue
4192 # after this tag, mechanisms are not by side-effect, so they'll
4193 # only be used when explicitly requested
4194 if test "x$enable_dependency_tracking" = xyes
; then
4200 msvisualcpp | msvcmsys
)
4201 # This compiler won't grok `-c -o', but also, the minuso test has
4202 # not run yet. These depmodes are late enough in the game, and
4203 # so weak that their functioning should not be impacted.
4204 am__obj
=conftest.
${OBJEXT-o}
4209 if depmode
=$depmode \
4210 source=sub
/conftest.c object
=$am__obj \
4211 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4212 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4213 >/dev
/null
2>conftest.err
&&
4214 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4215 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4216 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4217 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4218 # icc doesn't choke on unknown options, it will just issue warnings
4219 # or remarks (even with -Werror). So we grep stderr for any message
4220 # that says an option was ignored or not supported.
4221 # When given -MP, icc 7.0 and 7.1 complain thusly:
4222 # icc: Command line warning: ignoring option '-M'; no argument required
4223 # The diagnosis changed in icc 8.0:
4224 # icc: Command line remark: option '-MP' not supported
4225 if (grep 'ignoring option' conftest.err ||
4226 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4227 am_cv_CC_dependencies_compiler_type
=$depmode
4236 am_cv_CC_dependencies_compiler_type
=none
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4241 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4242 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4245 test "x$enable_dependency_tracking" != xno \
4246 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4248 am__fastdepCC_FALSE
='#'
4250 am__fastdepCC_TRUE
='#'
4251 am__fastdepCC_FALSE
=
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4259 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4260 # Check whether --enable-maintainer-mode was given.
4261 if test "${enable_maintainer_mode+set}" = set; then :
4262 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4264 USE_MAINTAINER_MODE
=no
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4268 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4269 if test $USE_MAINTAINER_MODE = yes; then
4270 MAINTAINER_MODE_TRUE
=
4271 MAINTAINER_MODE_FALSE
='#'
4273 MAINTAINER_MODE_TRUE
='#'
4274 MAINTAINER_MODE_FALSE
=
4277 MAINT
=$MAINTAINER_MODE_TRUE
4282 # Check whether --with-target-subdir was given.
4283 if test "${with_target_subdir+set}" = set; then :
4284 withval
=$with_target_subdir;
4288 # We must force CC to /not/ be precious variables; otherwise
4289 # the wrong, non-multilib-adjusted value will be used in multilibs.
4290 # As a side effect, we have to subst CFLAGS ourselves.
4294 ac_cpp
='$CPP $CPPFLAGS'
4295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4298 if test -n "$ac_tool_prefix"; then
4299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4300 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if test "${ac_cv_prog_CC+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$CC"; then
4307 ac_cv_prog_CC
="$CC" # Let the user override the test.
4309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir
=.
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 if test -n "$CC"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4329 $as_echo "$CC" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4337 if test -z "$ac_cv_prog_CC"; then
4339 # Extract the first word of "gcc", so it can be a program name with args.
4340 set dummy gcc
; ac_word
=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$ac_ct_CC"; then
4347 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4356 ac_cv_prog_ac_ct_CC
="gcc"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4367 if test -n "$ac_ct_CC"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4369 $as_echo "$ac_ct_CC" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4375 if test "x$ac_ct_CC" = x
; then
4378 case $cross_compiling:$ac_tool_warned in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4382 ac_tool_warned
=yes ;;
4390 if test -z "$CC"; then
4391 if test -n "$ac_tool_prefix"; then
4392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4393 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_prog_CC+set}" = set; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$CC"; then
4400 ac_cv_prog_CC
="$CC" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4422 $as_echo "$CC" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4431 if test -z "$CC"; then
4432 # Extract the first word of "cc", so it can be a program name with args.
4433 set dummy cc
; ac_word
=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CC+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC
="$CC" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4451 ac_prog_rejected
=yes
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 if test $ac_prog_rejected = yes; then
4463 # We found a bogon in the path, so make sure we never use it.
4464 set dummy
$ac_cv_prog_CC
4466 if test $# != 0; then
4467 # We chose a different compiler from the bogus one.
4468 # However, it has the same basename, so the bogon will be chosen
4469 # first if we set CC to just the basename; use the full file name.
4471 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4477 if test -n "$CC"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4479 $as_echo "$CC" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4487 if test -z "$CC"; then
4488 if test -n "$ac_tool_prefix"; then
4489 for ac_prog
in cl.exe
4491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4492 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if test "${ac_cv_prog_CC+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$CC"; then
4499 ac_cv_prog_CC
="$CC" # Let the user override the test.
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 if test -n "$CC"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4521 $as_echo "$CC" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4528 test -n "$CC" && break
4531 if test -z "$CC"; then
4533 for ac_prog
in cl.exe
4535 # Extract the first word of "$ac_prog", so it can be a program name with args.
4536 set dummy
$ac_prog; ac_word
=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$ac_ct_CC"; then
4543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_ac_ct_CC
="$ac_prog"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4563 if test -n "$ac_ct_CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4565 $as_echo "$ac_ct_CC" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4572 test -n "$ac_ct_CC" && break
4575 if test "x$ac_ct_CC" = x
; then
4578 case $cross_compiling:$ac_tool_warned in
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned
=yes ;;
4591 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4593 as_fn_error
"no acceptable C compiler found in \$PATH
4594 See \`config.log' for more details." "$LINENO" 5; }
4596 # Provide some information about the compiler.
4597 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4600 for ac_option
in --version -v -V -qversion; do
4601 { { ac_try
="$ac_compiler $ac_option >&5"
4603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4604 *) ac_try_echo=$ac_try;;
4606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4607 $as_echo "$ac_try_echo"; } >&5
4608 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4610 if test -s conftest.err; then
4612 ... rest of stderr output deleted ...
4613 10q' conftest.err >conftest.er1
4614 cat conftest.er1 >&5
4615 rm -f conftest.er1 conftest.err
4617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618 test $ac_status = 0; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4623 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4640 if ac_fn_c_try_compile "$LINENO"; then :
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4651 if test $ac_compiler_gnu = yes; then
4656 ac_test_CFLAGS=${CFLAGS+set}
4657 ac_save_CFLAGS=$CFLAGS
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4660 if test "${ac_cv_prog_cc_g+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 ac_save_c_werror_flag=$ac_c_werror_flag
4664 ac_c_werror_flag=yes
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 if ac_fn_c_try_compile "$LINENO"; then :
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4693 if ac_fn_c_try_compile "$LINENO"; then :
4696 ac_c_werror_flag=$ac_save_c_werror_flag
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4709 if ac_fn_c_try_compile "$LINENO"; then :
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 ac_c_werror_flag=$ac_save_c_werror_flag
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4720 $as_echo "$ac_cv_prog_cc_g" >&6; }
4721 if test "$ac_test_CFLAGS" = set; then
4722 CFLAGS=$ac_save_CFLAGS
4723 elif test $ac_cv_prog_cc_g = yes; then
4724 if test "$GCC" = yes; then
4730 if test "$GCC" = yes; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4738 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4739 $as_echo_n "(cached) " >&6
4741 ac_cv_prog_cc_c89=no
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 #include <sys/types.h>
4748 #include <sys/stat.h>
4749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4750 struct buf { int x; };
4751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4752 static char *e (p, i)
4758 static char *f (char * (*g) (char **, int), char **p, ...)
4763 s = g (p, va_arg (v,int));
4768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4769 function prototypes and stuff, but not '\xHH' hex character constants.
4770 These don't provoke an error unfortunately, instead are silently treated
4771 as 'x'. The following induces an error, until -std is added to get
4772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4773 array size at least. It's necessary to write '\x00'==0 to get something
4774 that's true only with -std. */
4775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4777 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4778 inside strings and character constants. */
4780 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4782 int test (int i, double x);
4783 struct s1 {int (*f) (int a);};
4784 struct s2 {int (*f) (double a);};
4785 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4791 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4796 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4797 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4799 CC="$ac_save_CC $ac_arg"
4800 if ac_fn_c_try_compile "$LINENO"; then :
4801 ac_cv_prog_cc_c89=$ac_arg
4803 rm -f core conftest.err conftest.$ac_objext
4804 test "x$ac_cv_prog_cc_c89" != "xno" && break
4806 rm -f conftest.$ac_ext
4811 case "x$ac_cv_prog_cc_c89" in
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4814 $as_echo "none needed" >&6; } ;;
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4817 $as_echo "unsupported" >&6; } ;;
4819 CC="$CC $ac_cv_prog_cc_c89"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4821 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4823 if test "x$ac_cv_prog_cc_c89" != xno; then :
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4839 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$RANLIB"; then
4846 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 RANLIB=$ac_cv_prog_RANLIB
4866 if test -n "$RANLIB"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4868 $as_echo "$RANLIB" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4876 if test -z "$ac_cv_prog_RANLIB"; then
4877 ac_ct_RANLIB=$RANLIB
4878 # Extract the first word of "ranlib", so it can be a program name with args.
4879 set dummy ranlib; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$ac_ct_RANLIB"; then
4886 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_ac_ct_RANLIB="ranlib"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4906 if test -n "$ac_ct_RANLIB"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4908 $as_echo "$ac_ct_RANLIB" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4914 if test "x$ac_ct_RANLIB" = x; then
4917 case $cross_compiling:$ac_tool_warned in
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4923 RANLIB=$ac_ct_RANLIB
4926 RANLIB="$ac_cv_prog_RANLIB"
4930 for ac_prog in gawk mawk nawk awk
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if test "${ac_cv_prog_AWK+set}" = set; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$AWK"; then
4940 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949 ac_cv_prog_AWK="$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 if test -n "$AWK"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4962 $as_echo "$AWK" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$AWK" && break
4973 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4984 macro_version='2.2.7a'
4985 macro_revision='1.3134'
4999 ltmain="$ac_aux_dir/ltmain.sh"
5001 # Backslashify metacharacters that are still active within
5002 # double-quoted strings.
5003 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5005 # Same as above, but do not quote variable references.
5006 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5008 # Sed substitution to delay expansion of an escaped shell variable in a
5009 # double_quote_subst'ed string.
5010 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5012 # Sed substitution to delay expansion of an escaped single quote.
5013 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5015 # Sed substitution to avoid accidental globbing in evaled expressions
5016 no_glob_subst='s/\*/\\\*/g'
5018 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5019 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5020 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5023 $as_echo_n "checking how to print
strings...
" >&6; }
5024 # Test print first, because it will be a builtin if present.
5025 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5026 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5028 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5031 # Use this function as a fallback that always works.
5032 func_fallback_echo ()
5034 eval 'cat <<_LTECHO_EOF
5038 ECHO='func_fallback_echo'
5041 # func_echo_all arg...
5042 # Invoke $ECHO with all args, space-separated.
5049 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5050 $as_echo "printf" >&6; } ;;
5051 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5052 $as_echo "print
-r" >&6; } ;;
5053 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5054 $as_echo "cat" >&6; } ;;
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5071 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5072 if test "${ac_cv_path_SED+set}" = set; then :
5073 $as_echo_n "(cached
) " >&6
5075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5076 for ac_i in 1 2 3 4 5 6 7; do
5077 ac_script="$ac_script$as_nl$ac_script"
5079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5080 { ac_script=; unset ac_script;}
5081 if test -z "$SED"; then
5082 ac_path_SED_found=false
5083 # Loop through the user's path and test for each of PROGNAME-LIST
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_prog in sed gsed; do
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5092 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5093 # Check for GNU ac_path_SED and select it if it is found.
5094 # Check for GNU $ac_path_SED
5095 case `"$ac_path_SED" --version 2>&1` in
5097 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5100 $as_echo_n 0123456789 >"conftest.
in"
5103 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5104 mv "conftest.tmp
" "conftest.
in"
5105 cp "conftest.
in" "conftest.
nl"
5106 $as_echo '' >> "conftest.
nl"
5107 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5108 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5109 as_fn_arith $ac_count + 1 && ac_count=$as_val
5110 if test $ac_count -gt ${ac_path_SED_max-0}; then
5111 # Best one so far, save it but keep looking for a better one
5112 ac_cv_path_SED="$ac_path_SED"
5113 ac_path_SED_max=$ac_count
5115 # 10*(2^10) chars as input seems more than enough
5116 test $ac_count -gt 10 && break
5118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5121 $ac_path_SED_found && break 3
5126 if test -z "$ac_cv_path_SED"; then
5127 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5135 $as_echo "$ac_cv_path_SED" >&6; }
5136 SED="$ac_cv_path_SED"
5139 test -z "$SED" && SED=sed
5140 Xsed="$SED -e 1s
/^X
//"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5153 $as_echo_n "checking
for fgrep...
" >&6; }
5154 if test "${ac_cv_path_FGREP+set}" = set; then :
5155 $as_echo_n "(cached
) " >&6
5157 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5158 then ac_cv_path_FGREP="$GREP -F"
5160 if test -z "$FGREP"; then
5161 ac_path_FGREP_found=false
5162 # Loop through the user's path and test for each of PROGNAME-LIST
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5167 test -z "$as_dir" && as_dir=.
5168 for ac_prog in fgrep; do
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5171 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5172 # Check for GNU ac_path_FGREP and select it if it is found.
5173 # Check for GNU $ac_path_FGREP
5174 case `"$ac_path_FGREP" --version 2>&1` in
5176 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5179 $as_echo_n 0123456789 >"conftest.
in"
5182 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5183 mv "conftest.tmp
" "conftest.
in"
5184 cp "conftest.
in" "conftest.
nl"
5185 $as_echo 'FGREP' >> "conftest.
nl"
5186 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5187 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5188 as_fn_arith $ac_count + 1 && ac_count=$as_val
5189 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5190 # Best one so far, save it but keep looking for a better one
5191 ac_cv_path_FGREP="$ac_path_FGREP"
5192 ac_path_FGREP_max=$ac_count
5194 # 10*(2^10) chars as input seems more than enough
5195 test $ac_count -gt 10 && break
5197 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5200 $ac_path_FGREP_found && break 3
5205 if test -z "$ac_cv_path_FGREP"; then
5206 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5209 ac_cv_path_FGREP=$FGREP
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5215 $as_echo "$ac_cv_path_FGREP" >&6; }
5216 FGREP="$ac_cv_path_FGREP"
5219 test -z "$GREP" && GREP=grep
5239 # Check whether --with-gnu-ld was given.
5240 if test "${with_gnu_ld+set}" = set; then :
5241 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5247 if test "$GCC" = yes; then
5248 # Check if gcc -print-prog-name=ld gives a path.
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5250 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5253 # gcc leaves a trailing carriage return which upsets mingw
5254 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5256 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5259 # Accept absolute paths.
5261 re_direlt='/[^/][^/]*/\.\./'
5262 # Canonicalize the pathname of ld
5263 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5264 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5265 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5267 test -z "$LD" && LD="$ac_prog"
5270 # If it fails, then pretend we aren't using GCC.
5274 # If it is relative, then search for the first ld in PATH.
5278 elif test "$with_gnu_ld" = yes; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5280 $as_echo_n "checking
for GNU ld...
" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5283 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5285 if test "${lt_cv_path_LD+set}" = set; then :
5286 $as_echo_n "(cached
) " >&6
5288 if test -z "$LD"; then
5289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5290 for ac_dir in $PATH; do
5292 test -z "$ac_dir" && ac_dir=.
5293 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5294 lt_cv_path_LD="$ac_dir/$ac_prog"
5295 # Check to see if the program is GNU ld. I'd rather use --version,
5296 # but apparently some variants of GNU ld only accept -v.
5297 # Break only if it was the GNU/non-GNU ld that we prefer.
5298 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5299 *GNU* | *'with BFD'*)
5300 test "$with_gnu_ld" != no && break
5303 test "$with_gnu_ld" != yes && break
5310 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5315 if test -n "$LD"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5317 $as_echo "$LD" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5320 $as_echo "no
" >&6; }
5322 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5324 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5325 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5326 $as_echo_n "(cached
) " >&6
5328 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5329 case `$LD -v 2>&1 </dev/null` in
5330 *GNU* | *'with BFD'*)
5331 lt_cv_prog_gnu_ld=yes
5334 lt_cv_prog_gnu_ld=no
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5339 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5340 with_gnu_ld=$lt_cv_prog_gnu_ld
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5351 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5352 if test "${lt_cv_path_NM+set}" = set; then :
5353 $as_echo_n "(cached
) " >&6
5355 if test -n "$NM"; then
5356 # Let the user override the test.
5359 lt_nm_to_check="${ac_tool_prefix}nm
"
5360 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5361 lt_nm_to_check="$lt_nm_to_check nm
"
5363 for lt_tmp_nm in $lt_nm_to_check; do
5364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5365 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5367 test -z "$ac_dir" && ac_dir=.
5368 tmp_nm="$ac_dir/$lt_tmp_nm"
5369 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5370 # Check to see if the nm accepts a BSD-compat flag.
5371 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5372 # nm: unknown option "B
" ignored
5373 # Tru64's nm complains that /dev/null is an invalid object file
5374 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5375 */dev/null* | *'Invalid file or object type'*)
5376 lt_cv_path_NM="$tmp_nm -B"
5380 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5382 lt_cv_path_NM="$tmp_nm -p"
5386 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5387 continue # so that we can try to find one that supports BSD flags
5396 : ${lt_cv_path_NM=no}
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5400 $as_echo "$lt_cv_path_NM" >&6; }
5401 if test "$lt_cv_path_NM" != "no
"; then
5404 # Didn't find any BSD compatible name lister, look for dumpbin.
5405 if test -n "$DUMPBIN"; then :
5406 # Let the user override the test.
5408 if test -n "$ac_tool_prefix"; then
5409 for ac_prog in dumpbin "link
-dump"
5411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5414 $as_echo_n "checking
for $ac_word...
" >&6; }
5415 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5416 $as_echo_n "(cached
) " >&6
5418 if test -n "$DUMPBIN"; then
5419 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5438 DUMPBIN=$ac_cv_prog_DUMPBIN
5439 if test -n "$DUMPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5441 $as_echo "$DUMPBIN" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5444 $as_echo "no
" >&6; }
5448 test -n "$DUMPBIN" && break
5451 if test -z "$DUMPBIN"; then
5452 ac_ct_DUMPBIN=$DUMPBIN
5453 for ac_prog in dumpbin "link
-dump"
5455 # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy $ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5458 $as_echo_n "checking
for $ac_word...
" >&6; }
5459 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5460 $as_echo_n "(cached
) " >&6
5462 if test -n "$ac_ct_DUMPBIN"; then
5463 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5472 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5482 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5483 if test -n "$ac_ct_DUMPBIN"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5485 $as_echo "$ac_ct_DUMPBIN" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5488 $as_echo "no
" >&6; }
5492 test -n "$ac_ct_DUMPBIN" && break
5495 if test "x
$ac_ct_DUMPBIN" = x; then
5498 case $cross_compiling:$ac_tool_warned in
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5501 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5502 ac_tool_warned=yes ;;
5504 DUMPBIN=$ac_ct_DUMPBIN
5508 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5510 DUMPBIN="$DUMPBIN -symbols"
5518 if test "$DUMPBIN" != ":"; then
5522 test -z "$NM" && NM=nm
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5530 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5531 if test "${lt_cv_nm_interface+set}" = set; then :
5532 $as_echo_n "(cached
) " >&6
5534 lt_cv_nm_interface="BSD nm
"
5535 echo "int some_variable
= 0;" > conftest.$ac_ext
5536 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5537 (eval "$ac_compile" 2>conftest.err)
5538 cat conftest.err >&5
5539 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5540 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5541 cat conftest.err >&5
5542 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5543 cat conftest.out >&5
5544 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5545 lt_cv_nm_interface="MS dumpbin
"
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5550 $as_echo "$lt_cv_nm_interface" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5553 $as_echo_n "checking whether
ln -s works...
" >&6; }
5555 if test "$LN_S" = "ln -s"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5557 $as_echo "yes" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5560 $as_echo "no
, using
$LN_S" >&6; }
5563 # find the maximum length of command line arguments
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5565 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5566 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5567 $as_echo_n "(cached
) " >&6
5574 # On DJGPP, this test can blow up pretty badly due to problems in libc
5575 # (any single argument exceeding 2000 bytes causes a buffer overrun
5576 # during glob expansion). Even if it were fixed, the result of this
5577 # check would be larger than it should be.
5578 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5582 # Under GNU Hurd, this test is not required because there is
5583 # no limit to the length of command line arguments.
5584 # Libtool will interpret -1 as no limit whatsoever
5585 lt_cv_sys_max_cmd_len=-1;
5588 cygwin* | mingw* | cegcc*)
5589 # On Win9x/ME, this test blows up -- it succeeds, but takes
5590 # about 5 minutes as the teststring grows exponentially.
5591 # Worse, since 9x/ME are not pre-emptively multitasking,
5592 # you end up with a "frozen
" computer, even though with patience
5593 # the test eventually succeeds (with a max line length of 256k).
5594 # Instead, let's just punt: use the minimum linelength reported by
5595 # all of the supported platforms: 8192 (on NT/2K/XP).
5596 lt_cv_sys_max_cmd_len=8192;
5600 # On MiNT this can take a long time and run out of memory.
5601 lt_cv_sys_max_cmd_len=8192;
5605 # On AmigaOS with pdksh, this test takes hours, literally.
5606 # So we just punt and use a minimum line length of 8192.
5607 lt_cv_sys_max_cmd_len=8192;
5610 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5611 # This has been around since 386BSD, at least. Likely further.
5612 if test -x /sbin/sysctl; then
5613 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5614 elif test -x /usr/sbin/sysctl; then
5615 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5617 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5619 # And add a safety zone
5620 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5625 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5626 lt_cv_sys_max_cmd_len=196608
5630 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5631 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5632 # nice to cause kernel panics so lets avoid the loop below.
5633 # First set a reasonable default.
5634 lt_cv_sys_max_cmd_len=16384
5636 if test -x /sbin/sysconfig; then
5637 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5638 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5643 lt_cv_sys_max_cmd_len=102400
5645 sysv5* | sco5v6* | sysv4.2uw2*)
5646 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5647 if test -n "$kargmax"; then
5648 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5650 lt_cv_sys_max_cmd_len=32768
5654 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5655 if test -n "$lt_cv_sys_max_cmd_len"; then
5656 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5657 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5659 # Make teststring a little bigger before we do anything with it.
5660 # a 1K string should be a reasonable start.
5661 for i in 1 2 3 4 5 6 7 8 ; do
5662 teststring=$teststring$teststring
5664 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5665 # If test is not a shell built-in, we'll probably end up computing a
5666 # maximum length that is only half of the actual maximum length, but
5668 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5669 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5670 test $i != 17 # 1/2 MB should be enough
5673 teststring=$teststring$teststring
5675 # Only check the string length outside the loop.
5676 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5678 # Add a significant safety factor because C++ compilers can tack on
5679 # massive amounts of additional arguments before passing them to the
5680 # linker. It appears as though 1/2 is a usable value.
5681 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5688 if test -n $lt_cv_sys_max_cmd_len ; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5690 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5693 $as_echo "none
" >&6; }
5695 max_cmd_len=$lt_cv_sys_max_cmd_len
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5707 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5708 # Try some XSI features
5711 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5713 && eval 'test $(( 1 + 1 )) -eq 2 \
5714 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5717 $as_echo "$xsi_shell" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5721 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5723 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5725 && lt_shell_append
=yes
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5727 $as_echo "$lt_shell_append" >&6; }
5730 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5740 # test EBCDIC or ASCII
5741 case `echo X|tr X '\101'` in
5742 A
) # ASCII based system
5743 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5744 lt_SP2NL
='tr \040 \012'
5745 lt_NL2SP
='tr \015\012 \040\040'
5747 *) # EBCDIC based system
5748 lt_SP2NL
='tr \100 \n'
5749 lt_NL2SP
='tr \r\n \100\100'
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5762 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5763 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5766 lt_cv_ld_reload_flag
='-r'
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5769 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5770 reload_flag
=$lt_cv_ld_reload_flag
5771 case $reload_flag in
5773 *) reload_flag
=" $reload_flag" ;;
5775 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5778 if test "$GCC" = yes; then
5779 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5781 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5796 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$OBJDUMP"; then
5803 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 OBJDUMP
=$ac_cv_prog_OBJDUMP
5823 if test -n "$OBJDUMP"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5825 $as_echo "$OBJDUMP" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_OBJDUMP"; then
5834 ac_ct_OBJDUMP
=$OBJDUMP
5835 # Extract the first word of "objdump", so it can be a program name with args.
5836 set dummy objdump
; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$ac_ct_OBJDUMP"; then
5843 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5863 if test -n "$ac_ct_OBJDUMP"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5865 $as_echo "$ac_ct_OBJDUMP" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 if test "x$ac_ct_OBJDUMP" = x
; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned
=yes ;;
5880 OBJDUMP
=$ac_ct_OBJDUMP
5883 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5886 test -z "$OBJDUMP" && OBJDUMP
=objdump
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5897 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5898 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5901 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5902 lt_cv_file_magic_test_file
=
5903 lt_cv_deplibs_check_method
='unknown'
5904 # Need to set the preceding variable on all platforms that support
5905 # interlibrary dependencies.
5906 # 'none' -- dependencies not supported.
5907 # `unknown' -- same as none, but documents that we really don't know.
5908 # 'pass_all' -- all dependencies passed with no checks.
5909 # 'test_compile' -- check by making test program.
5910 # 'file_magic [[regex]]' -- check by looking for files in library path
5911 # which responds to the $file_magic_cmd with a given extended regex.
5912 # If you have `file' or equivalent on your system and you're not sure
5913 # whether `pass_all' will *always* work, you probably want this one.
5917 lt_cv_deplibs_check_method
=pass_all
5921 lt_cv_deplibs_check_method
=pass_all
5925 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5926 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5927 lt_cv_file_magic_test_file
=/shlib
/libc.so
5931 # func_win32_libid is a shell function defined in ltmain.sh
5932 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5933 lt_cv_file_magic_cmd
='func_win32_libid'
5937 # Base MSYS/MinGW do not provide the 'file' command needed by
5938 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5939 # unless we find 'file', for example because we are cross-compiling.
5940 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5941 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5942 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5943 lt_cv_file_magic_cmd
='func_win32_libid'
5945 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5946 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5951 # use the weaker test based on 'objdump'. See mingw*.
5952 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5953 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5956 darwin
* | rhapsody
*)
5957 lt_cv_deplibs_check_method
=pass_all
5960 freebsd
* | dragonfly
*)
5961 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5964 # Not sure whether the presence of OpenBSD here was a mistake.
5965 # Let's accept both of them until this is cleared up.
5966 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5967 lt_cv_file_magic_cmd
=/usr
/bin
/file
5968 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5972 lt_cv_deplibs_check_method
=pass_all
5977 lt_cv_deplibs_check_method
=pass_all
5981 lt_cv_deplibs_check_method
=pass_all
5984 hpux10.20
* | hpux11
*)
5985 lt_cv_file_magic_cmd
=/usr
/bin
/file
5988 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5989 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5992 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]'
5993 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5996 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5997 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6003 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6004 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6007 irix5
* | irix6
* | nonstopux
*)
6009 *-32|
*"-32 ") libmagic
=32-bit;;
6010 *-n32|
*"-n32 ") libmagic
=N32
;;
6011 *-64|
*"-64 ") libmagic
=64-bit;;
6012 *) libmagic
=never-match
;;
6014 lt_cv_deplibs_check_method
=pass_all
6017 # This must be Linux ELF.
6018 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6019 lt_cv_deplibs_check_method
=pass_all
6023 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6024 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6026 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6031 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6032 lt_cv_file_magic_cmd
=/usr
/bin
/file
6033 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6037 lt_cv_deplibs_check_method
=pass_all
6041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6042 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6044 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6048 osf3
* | osf4
* | osf5
*)
6049 lt_cv_deplibs_check_method
=pass_all
6053 lt_cv_deplibs_check_method
=pass_all
6057 lt_cv_deplibs_check_method
=pass_all
6060 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6061 lt_cv_deplibs_check_method
=pass_all
6065 case $host_vendor in
6067 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]'
6068 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6071 lt_cv_deplibs_check_method
=pass_all
6074 lt_cv_file_magic_cmd
='/bin/file'
6075 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6078 lt_cv_file_magic_cmd
='/bin/file'
6079 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6080 lt_cv_file_magic_test_file
=/lib
/libc.so
6083 lt_cv_deplibs_check_method
=pass_all
6086 lt_cv_deplibs_check_method
=pass_all
6092 lt_cv_deplibs_check_method
=pass_all
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6098 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6099 file_magic_cmd
=$lt_cv_file_magic_cmd
6100 deplibs_check_method
=$lt_cv_deplibs_check_method
6101 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6114 if test -n "$ac_tool_prefix"; then
6115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6116 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if test "${ac_cv_prog_AR+set}" = set; then :
6120 $as_echo_n "(cached) " >&6
6122 if test -n "$AR"; then
6123 ac_cv_prog_AR
="$AR" # Let the user override the test.
6125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6129 test -z "$as_dir" && as_dir
=.
6130 for ac_exec_ext
in '' $ac_executable_extensions; do
6131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6132 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 if test -n "$AR"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6145 $as_echo "$AR" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6153 if test -z "$ac_cv_prog_AR"; then
6155 # Extract the first word of "ar", so it can be a program name with args.
6156 set dummy
ar; ac_word
=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 $as_echo_n "checking for $ac_word... " >&6; }
6159 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6162 if test -n "$ac_ct_AR"; then
6163 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_prog_ac_ct_AR
="ar"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6183 if test -n "$ac_ct_AR"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6185 $as_echo "$ac_ct_AR" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 $as_echo "no" >&6; }
6191 if test "x$ac_ct_AR" = x
; then
6194 case $cross_compiling:$ac_tool_warned in
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6198 ac_tool_warned
=yes ;;
6206 test -z "$AR" && AR
=ar
6207 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6219 if test -n "$ac_tool_prefix"; then
6220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_STRIP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6227 if test -n "$STRIP"; then
6228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6234 test -z "$as_dir" && as_dir
=.
6235 for ac_exec_ext
in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 STRIP
=$ac_cv_prog_STRIP
6248 if test -n "$STRIP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6250 $as_echo "$STRIP" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6258 if test -z "$ac_cv_prog_STRIP"; then
6260 # Extract the first word of "strip", so it can be a program name with args.
6261 set dummy strip
; ac_word
=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6265 $as_echo_n "(cached) " >&6
6267 if test -n "$ac_ct_STRIP"; then
6268 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6274 test -z "$as_dir" && as_dir
=.
6275 for ac_exec_ext
in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_prog_ac_ct_STRIP
="strip"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6288 if test -n "$ac_ct_STRIP"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6290 $as_echo "$ac_ct_STRIP" >&6; }
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6296 if test "x$ac_ct_STRIP" = x
; then
6299 case $cross_compiling:$ac_tool_warned in
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6303 ac_tool_warned
=yes ;;
6308 STRIP
="$ac_cv_prog_STRIP"
6311 test -z "$STRIP" && STRIP
=:
6318 if test -n "$ac_tool_prefix"; then
6319 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6320 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322 $as_echo_n "checking for $ac_word... " >&6; }
6323 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6324 $as_echo_n "(cached) " >&6
6326 if test -n "$RANLIB"; then
6327 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir
=.
6334 for ac_exec_ext
in '' $ac_executable_extensions; do
6335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 RANLIB
=$ac_cv_prog_RANLIB
6347 if test -n "$RANLIB"; then
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6349 $as_echo "$RANLIB" >&6; }
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352 $as_echo "no" >&6; }
6357 if test -z "$ac_cv_prog_RANLIB"; then
6358 ac_ct_RANLIB
=$RANLIB
6359 # Extract the first word of "ranlib", so it can be a program name with args.
6360 set dummy ranlib
; ac_word
=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$ac_ct_RANLIB"; then
6367 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir
=.
6374 for ac_exec_ext
in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6387 if test -n "$ac_ct_RANLIB"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6389 $as_echo "$ac_ct_RANLIB" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6395 if test "x$ac_ct_RANLIB" = x
; then
6398 case $cross_compiling:$ac_tool_warned in
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6402 ac_tool_warned
=yes ;;
6404 RANLIB
=$ac_ct_RANLIB
6407 RANLIB
="$ac_cv_prog_RANLIB"
6410 test -z "$RANLIB" && RANLIB
=:
6417 # Determine commands to create old-style static archives.
6418 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6419 old_postinstall_cmds
='chmod 644 $oldlib'
6420 old_postuninstall_cmds
=
6422 if test -n "$RANLIB"; then
6425 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6428 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6431 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6436 lock_old_archive_extraction
=yes ;;
6438 lock_old_archive_extraction
=no
;;
6479 # If no C compiler was specified, use CC.
6482 # If no C compiler flags were specified, use CFLAGS.
6483 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6485 # Allow CC to be a program name with arguments.
6489 # Check for command to grab the raw symbol name followed by C symbol from nm.
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6491 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6492 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6493 $as_echo_n "(cached) " >&6
6496 # These are sane defaults that work on at least a few old systems.
6497 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6499 # Character class describing NM global symbol codes.
6500 symcode
='[BCDEGRST]'
6502 # Regexp to match symbols that can be accessed directly from C.
6503 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6505 # Define system-specific variables.
6510 cygwin
* | mingw
* | pw32
* | cegcc
*)
6511 symcode
='[ABCDGISTW]'
6514 if test "$host_cpu" = ia64
; then
6515 symcode
='[ABCDEGRST]'
6519 symcode
='[BCDEGRST]'
6522 symcode
='[BCDEGQRST]'
6533 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6541 # If we're using GNU nm, then use its standard symbol codes.
6542 case `$NM -V 2>&1` in
6543 *GNU
* |
*'with BFD'*)
6544 symcode
='[ABCDGIRSTW]' ;;
6547 # Transform an extracted symbol line into a proper C declaration.
6548 # Some systems (esp. on ia64) link data and code symbols differently,
6549 # so use this general approach.
6550 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6552 # Transform an extracted symbol line into symbol name and symbol address
6553 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6554 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'"
6556 # Handle CRLF in mingw tool chain
6560 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6564 # Try without a prefix underscore, then with it.
6565 for ac_symprfx
in "" "_"; do
6567 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6568 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6570 # Write the raw and C identifiers.
6571 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6572 # Fake it for dumpbin and say T for any non-static function
6573 # and D for any global variable.
6574 # Also find C++ and __fastcall symbols from MSVC++,
6575 # which start with @ or ?.
6576 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6577 " {last_section=section; section=\$ 3};"\
6578 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6579 " \$ 0!~/External *\|/{next};"\
6580 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6581 " {if(hide[section]) next};"\
6582 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6583 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6584 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6585 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6586 " ' prfx=^$ac_symprfx"
6588 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6591 # Check to see that the pipe works correctly.
6595 cat > conftest.
$ac_ext <<_LT_EOF
6600 void nm_test_func(void);
6601 void nm_test_func(void){}
6605 int main(){nm_test_var='a';nm_test_func();return(0);}
6608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6609 (eval $ac_compile) 2>&5
6611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6612 test $ac_status = 0; }; then
6613 # Now try to grab the symbols.
6615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6616 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6619 test $ac_status = 0; } && test -s "$nlist"; then
6620 # Try sorting and uniquifying the output.
6621 if sort "$nlist" |
uniq > "$nlist"T
; then
6622 mv -f "$nlist"T
"$nlist"
6627 # Make sure that we snagged all the symbols we need.
6628 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6629 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6630 cat <<_LT_EOF > conftest.$ac_ext
6636 # Now generate the symbol file.
6637 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6639 cat <<_LT_EOF >> conftest.$ac_ext
6641 /* The mapping between symbol names and symbols. */
6646 lt__PROGRAM__LTX_preloaded_symbols[] =
6648 { "@PROGRAM@", (void *) 0 },
6650 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6651 cat <<\_LT_EOF
>> conftest.
$ac_ext
6655 /* This works around a problem
in FreeBSD linker
*/
6656 #ifdef FREEBSD_WORKAROUND
6657 static const void
*lt_preloaded_setup
() {
6658 return lt__PROGRAM__LTX_preloaded_symbols
;
6666 # Now try linking the two files.
6667 mv conftest.
$ac_objext conftstm.
$ac_objext
6668 lt_save_LIBS
="$LIBS"
6669 lt_save_CFLAGS
="$CFLAGS"
6670 LIBS
="conftstm.$ac_objext"
6671 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6673 (eval $ac_link) 2>&5
6675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6676 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6679 LIBS
="$lt_save_LIBS"
6680 CFLAGS
="$lt_save_CFLAGS"
6682 echo "cannot find nm_test_func in $nlist" >&5
6685 echo "cannot find nm_test_var in $nlist" >&5
6688 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6691 echo "$progname: failed program was:" >&5
6692 cat conftest.
$ac_ext >&5
6694 rm -rf conftest
* conftst
*
6696 # Do not use the global_symbol_pipe unless it works.
6697 if test "$pipe_works" = yes; then
6700 lt_cv_sys_global_symbol_pipe
=
6706 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6707 lt_cv_sys_global_symbol_to_cdecl
=
6709 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6711 $as_echo "failed" >&6; }
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6714 $as_echo "ok" >&6; }
6738 # Check whether --enable-libtool-lock was given.
6739 if test "${enable_libtool_lock+set}" = set; then :
6740 enableval
=$enable_libtool_lock;
6743 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6745 # Some flags need to be propagated to the compiler or linker for good
6749 # Find out which ABI we are using.
6750 echo 'int i;' > conftest.
$ac_ext
6751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6752 (eval $ac_compile) 2>&5
6754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6755 test $ac_status = 0; }; then
6756 case `/usr/bin/file conftest.$ac_objext` in
6768 # Find out which ABI we are using.
6769 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 (eval $ac_compile) 2>&5
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774 test $ac_status = 0; }; then
6775 if test "$lt_cv_prog_gnu_ld" = yes; then
6776 case `/usr/bin/file conftest.$ac_objext` in
6778 LD
="${LD-ld} -melf32bsmip"
6781 LD
="${LD-ld} -melf32bmipn32"
6784 LD
="${LD-ld} -melf64bmip"
6788 case `/usr/bin/file conftest.$ac_objext` in
6804 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6805 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6806 # Find out which ABI we are using.
6807 echo 'int i;' > conftest.
$ac_ext
6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809 (eval $ac_compile) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812 test $ac_status = 0; }; then
6813 case `/usr/bin/file conftest.o` in
6816 x86_64-
*kfreebsd
*-gnu)
6817 LD
="${LD-ld} -m elf_i386_fbsd"
6820 case `/usr/bin/file conftest.o` in
6822 LD
="${LD-ld} -m elf32_x86_64"
6825 LD
="${LD-ld} -m elf_i386"
6829 ppc64-
*linux
*|powerpc64-
*linux
*)
6830 LD
="${LD-ld} -m elf32ppclinux"
6833 LD
="${LD-ld} -m elf_s390"
6836 LD
="${LD-ld} -m elf32_sparc"
6842 x86_64-
*kfreebsd
*-gnu)
6843 LD
="${LD-ld} -m elf_x86_64_fbsd"
6846 LD
="${LD-ld} -m elf_x86_64"
6848 ppc
*-*linux
*|powerpc
*-*linux
*)
6849 LD
="${LD-ld} -m elf64ppc"
6851 s390
*-*linux
*|s390
*-*tpf
*)
6852 LD
="${LD-ld} -m elf64_s390"
6855 LD
="${LD-ld} -m elf64_sparc"
6865 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6866 SAVE_CFLAGS
="$CFLAGS"
6867 CFLAGS
="$CFLAGS -belf"
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6869 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6870 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6871 $as_echo_n "(cached) " >&6
6874 ac_cpp
='$CPP $CPPFLAGS'
6875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6890 if ac_fn_c_try_link
"$LINENO"; then :
6891 lt_cv_cc_needs_belf
=yes
6893 lt_cv_cc_needs_belf
=no
6895 rm -f core conftest.err conftest.
$ac_objext \
6896 conftest
$ac_exeext conftest.
$ac_ext
6898 ac_cpp
='$CPP $CPPFLAGS'
6899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6905 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6906 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6907 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6908 CFLAGS
="$SAVE_CFLAGS"
6912 # Find out which ABI we are using.
6913 echo 'int i;' > conftest.
$ac_ext
6914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6915 (eval $ac_compile) 2>&5
6917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6918 test $ac_status = 0; }; then
6919 case `/usr/bin/file conftest.o` in
6921 case $lt_cv_prog_gnu_ld in
6922 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6924 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6936 need_locks
="$enable_libtool_lock"
6940 rhapsody
* | darwin
*)
6941 if test -n "$ac_tool_prefix"; then
6942 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6943 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 $as_echo_n "checking for $ac_word... " >&6; }
6946 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6947 $as_echo_n "(cached) " >&6
6949 if test -n "$DSYMUTIL"; then
6950 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir
=.
6957 for ac_exec_ext
in '' $ac_executable_extensions; do
6958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6970 if test -n "$DSYMUTIL"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6972 $as_echo "$DSYMUTIL" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 $as_echo "no" >&6; }
6980 if test -z "$ac_cv_prog_DSYMUTIL"; then
6981 ac_ct_DSYMUTIL
=$DSYMUTIL
6982 # Extract the first word of "dsymutil", so it can be a program name with args.
6983 set dummy dsymutil
; ac_word
=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 $as_echo_n "checking for $ac_word... " >&6; }
6986 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6987 $as_echo_n "(cached) " >&6
6989 if test -n "$ac_ct_DSYMUTIL"; then
6990 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir
=.
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7010 if test -n "$ac_ct_DSYMUTIL"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7012 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7018 if test "x$ac_ct_DSYMUTIL" = x
; then
7021 case $cross_compiling:$ac_tool_warned in
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7025 ac_tool_warned
=yes ;;
7027 DSYMUTIL
=$ac_ct_DSYMUTIL
7030 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7033 if test -n "$ac_tool_prefix"; then
7034 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7035 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037 $as_echo_n "checking for $ac_word... " >&6; }
7038 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7039 $as_echo_n "(cached) " >&6
7041 if test -n "$NMEDIT"; then
7042 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7048 test -z "$as_dir" && as_dir
=.
7049 for ac_exec_ext
in '' $ac_executable_extensions; do
7050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7051 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061 NMEDIT
=$ac_cv_prog_NMEDIT
7062 if test -n "$NMEDIT"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7064 $as_echo "$NMEDIT" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067 $as_echo "no" >&6; }
7072 if test -z "$ac_cv_prog_NMEDIT"; then
7073 ac_ct_NMEDIT
=$NMEDIT
7074 # Extract the first word of "nmedit", so it can be a program name with args.
7075 set dummy nmedit
; ac_word
=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7079 $as_echo_n "(cached) " >&6
7081 if test -n "$ac_ct_NMEDIT"; then
7082 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir
=.
7089 for ac_exec_ext
in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7102 if test -n "$ac_ct_NMEDIT"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7104 $as_echo "$ac_ct_NMEDIT" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 $as_echo "no" >&6; }
7110 if test "x$ac_ct_NMEDIT" = x
; then
7113 case $cross_compiling:$ac_tool_warned in
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7117 ac_tool_warned
=yes ;;
7119 NMEDIT
=$ac_ct_NMEDIT
7122 NMEDIT
="$ac_cv_prog_NMEDIT"
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7127 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if test "${ac_cv_prog_LIPO+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$LIPO"; then
7134 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir
=.
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 LIPO
=$ac_cv_prog_LIPO
7154 if test -n "$LIPO"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7156 $as_echo "$LIPO" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7164 if test -z "$ac_cv_prog_LIPO"; then
7166 # Extract the first word of "lipo", so it can be a program name with args.
7167 set dummy lipo
; ac_word
=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7171 $as_echo_n "(cached) " >&6
7173 if test -n "$ac_ct_LIPO"; then
7174 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir
=.
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_ac_ct_LIPO
="lipo"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7194 if test -n "$ac_ct_LIPO"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7196 $as_echo "$ac_ct_LIPO" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7202 if test "x$ac_ct_LIPO" = x
; then
7205 case $cross_compiling:$ac_tool_warned in
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned
=yes ;;
7214 LIPO
="$ac_cv_prog_LIPO"
7217 if test -n "$ac_tool_prefix"; then
7218 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7219 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 $as_echo_n "checking for $ac_word... " >&6; }
7222 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7223 $as_echo_n "(cached) " >&6
7225 if test -n "$OTOOL"; then
7226 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir
=.
7233 for ac_exec_ext
in '' $ac_executable_extensions; do
7234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7235 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245 OTOOL
=$ac_cv_prog_OTOOL
7246 if test -n "$OTOOL"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7248 $as_echo "$OTOOL" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 $as_echo "no" >&6; }
7256 if test -z "$ac_cv_prog_OTOOL"; then
7258 # Extract the first word of "otool", so it can be a program name with args.
7259 set dummy otool
; ac_word
=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7263 $as_echo_n "(cached) " >&6
7265 if test -n "$ac_ct_OTOOL"; then
7266 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir
=.
7273 for ac_exec_ext
in '' $ac_executable_extensions; do
7274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7275 ac_cv_prog_ac_ct_OTOOL
="otool"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7286 if test -n "$ac_ct_OTOOL"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7288 $as_echo "$ac_ct_OTOOL" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7294 if test "x$ac_ct_OTOOL" = x
; then
7297 case $cross_compiling:$ac_tool_warned in
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7301 ac_tool_warned
=yes ;;
7306 OTOOL
="$ac_cv_prog_OTOOL"
7309 if test -n "$ac_tool_prefix"; then
7310 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7311 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7315 $as_echo_n "(cached) " >&6
7317 if test -n "$OTOOL64"; then
7318 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7324 test -z "$as_dir" && as_dir
=.
7325 for ac_exec_ext
in '' $ac_executable_extensions; do
7326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7327 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7337 OTOOL64
=$ac_cv_prog_OTOOL64
7338 if test -n "$OTOOL64"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7340 $as_echo "$OTOOL64" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343 $as_echo "no" >&6; }
7348 if test -z "$ac_cv_prog_OTOOL64"; then
7349 ac_ct_OTOOL64
=$OTOOL64
7350 # Extract the first word of "otool64", so it can be a program name with args.
7351 set dummy otool64
; ac_word
=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7355 $as_echo_n "(cached) " >&6
7357 if test -n "$ac_ct_OTOOL64"; then
7358 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7364 test -z "$as_dir" && as_dir
=.
7365 for ac_exec_ext
in '' $ac_executable_extensions; do
7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7378 if test -n "$ac_ct_OTOOL64"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7380 $as_echo "$ac_ct_OTOOL64" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7386 if test "x$ac_ct_OTOOL64" = x
; then
7389 case $cross_compiling:$ac_tool_warned in
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7393 ac_tool_warned
=yes ;;
7395 OTOOL64
=$ac_ct_OTOOL64
7398 OTOOL64
="$ac_cv_prog_OTOOL64"
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7428 $as_echo_n "checking for -single_module linker flag... " >&6; }
7429 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7430 $as_echo_n "(cached) " >&6
7432 lt_cv_apple_cc_single_mod
=no
7433 if test -z "${LT_MULTI_MODULE}"; then
7434 # By default we will add the -single_module flag. You can override
7435 # by either setting the environment variable LT_MULTI_MODULE
7436 # non-empty at configure time, or by adding -multi_module to the
7438 rm -rf libconftest.dylib
*
7439 echo "int foo(void){return 1;}" > conftest.c
7440 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7441 -dynamiclib -Wl,-single_module conftest.c" >&5
7442 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7443 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7445 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7446 lt_cv_apple_cc_single_mod
=yes
7448 cat conftest.err
>&5
7450 rm -rf libconftest.dylib
*
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7455 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7457 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7458 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7461 lt_cv_ld_exported_symbols_list
=no
7462 save_LDFLAGS
=$LDFLAGS
7463 echo "_main" > conftest.sym
7464 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7466 /* end confdefs.h. */
7476 if ac_fn_c_try_link
"$LINENO"; then :
7477 lt_cv_ld_exported_symbols_list
=yes
7479 lt_cv_ld_exported_symbols_list
=no
7481 rm -f core conftest.err conftest.
$ac_objext \
7482 conftest
$ac_exeext conftest.
$ac_ext
7483 LDFLAGS
="$save_LDFLAGS"
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7487 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7489 $as_echo_n "checking for -force_load linker flag... " >&6; }
7490 if test "${lt_cv_ld_force_load+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7493 lt_cv_ld_force_load
=no
7494 cat > conftest.c
<< _LT_EOF
7495 int forced_loaded() { return 2;}
7497 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7498 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7499 echo "$AR cru libconftest.a conftest.o" >&5
7500 $AR cru libconftest.a conftest.o
2>&5
7501 cat > conftest.c
<< _LT_EOF
7502 int main() { return 0;}
7504 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7505 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7507 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7508 lt_cv_ld_force_load
=yes
7510 cat conftest.err
>&5
7512 rm -f conftest.err libconftest.a conftest conftest.c
7513 rm -rf conftest.dSYM
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7517 $as_echo "$lt_cv_ld_force_load" >&6; }
7519 rhapsody
* | darwin1.
[012])
7520 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7522 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7523 darwin
*) # darwin 5.x on
7524 # if running on 10.5 or later, the deployment target defaults
7525 # to the OS version, if on x86, and 10.4, the deployment
7526 # target defaults to 10.4. Don't you love it?
7527 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7528 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7529 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7531 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7533 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7538 _lt_dar_single_mod
='$single_module'
7540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7541 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7543 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7545 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7546 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7553 for ac_header
in dlfcn.h
7555 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7557 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7558 cat >>confdefs.h
<<_ACEOF
7559 #define HAVE_DLFCN_H 1
7571 # Check whether --enable-shared was given.
7572 if test "${enable_shared+set}" = set; then :
7573 enableval
=$enable_shared; p
=${PACKAGE-default}
7575 yes) enable_shared
=yes ;;
7576 no
) enable_shared
=no
;;
7579 # Look at the argument we got. We use all the common list separators.
7580 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7581 for pkg
in $enableval; do
7583 if test "X$pkg" = "X$p"; then
7610 # Check whether --enable-static was given.
7611 if test "${enable_static+set}" = set; then :
7612 enableval
=$enable_static; p
=${PACKAGE-default}
7614 yes) enable_static
=yes ;;
7615 no
) enable_static
=no
;;
7618 # Look at the argument we got. We use all the common list separators.
7619 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7620 for pkg
in $enableval; do
7622 if test "X$pkg" = "X$p"; then
7642 # Check whether --with-pic was given.
7643 if test "${with_pic+set}" = set; then :
7644 withval
=$with_pic; pic_mode
="$withval"
7650 test -z "$pic_mode" && pic_mode
=default
7658 # Check whether --enable-fast-install was given.
7659 if test "${enable_fast_install+set}" = set; then :
7660 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7662 yes) enable_fast_install
=yes ;;
7663 no
) enable_fast_install
=no
;;
7665 enable_fast_install
=no
7666 # Look at the argument we got. We use all the common list separators.
7667 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7668 for pkg
in $enableval; do
7670 if test "X$pkg" = "X$p"; then
7671 enable_fast_install
=yes
7678 enable_fast_install
=yes
7691 # This can be used to rebuild libtool when needed
7692 LIBTOOL_DEPS
="$ltmain"
7694 # Always use our own libtool.
7695 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7722 test -z "$LN_S" && LN_S
="ln -s"
7737 if test -n "${ZSH_VERSION+set}" ; then
7738 setopt NO_GLOB_SUBST
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7742 $as_echo_n "checking for objdir... " >&6; }
7743 if test "${lt_cv_objdir+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7746 rm -f .libs
2>/dev
/null
7747 mkdir .libs
2>/dev
/null
7748 if test -d .libs
; then
7751 # MS-DOS does not allow filenames that begin with a dot.
7754 rmdir .libs
2>/dev
/null
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7757 $as_echo "$lt_cv_objdir" >&6; }
7758 objdir
=$lt_cv_objdir
7764 cat >>confdefs.h
<<_ACEOF
7765 #define LT_OBJDIR "$lt_cv_objdir/"
7773 # AIX sometimes has problems with the GCC collect2 program. For some
7774 # reason, if we set the COLLECT_NAMES environment variable, the problems
7775 # vanish in a puff of smoke.
7776 if test "X${COLLECT_NAMES+set}" != Xset
; then
7778 export COLLECT_NAMES
7785 can_build_shared
=yes
7787 # All known linkers require a `.a' archive for static linking (except MSVC,
7788 # which needs '.lib').
7791 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7794 old_CFLAGS
="$CFLAGS"
7796 # Set sane defaults for various variables
7797 test -z "$CC" && CC
=cc
7798 test -z "$LTCC" && LTCC
=$CC
7799 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7800 test -z "$LD" && LD
=ld
7801 test -z "$ac_objext" && ac_objext
=o
7803 for cc_temp
in $compiler""; do
7805 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7806 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7811 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7814 # Only perform the check for file, if the check method requires it
7815 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7816 case $deplibs_check_method in
7818 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7820 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7821 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7822 $as_echo_n "(cached) " >&6
7826 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7829 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7830 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7831 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7832 for ac_dir
in $ac_dummy; do
7834 test -z "$ac_dir" && ac_dir
=.
7835 if test -f $ac_dir/${ac_tool_prefix}file; then
7836 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7837 if test -n "$file_magic_test_file"; then
7838 case $deplibs_check_method in
7840 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7841 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7842 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7843 $EGREP "$file_magic_regex" > /dev
/null
; then
7848 *** Warning: the command libtool uses to detect shared libraries,
7849 *** $file_magic_cmd, produces output that libtool cannot recognize.
7850 *** The result is that libtool may fail to recognize shared libraries
7851 *** as such. This will affect the creation of libtool libraries that
7852 *** depend on shared libraries, but programs linked with such libtool
7853 *** libraries will work regardless of this problem. Nevertheless, you
7854 *** may want to report the problem to your system manager and/or to
7855 *** bug-libtool@gnu.org
7865 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7870 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7871 if test -n "$MAGIC_CMD"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7873 $as_echo "$MAGIC_CMD" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7883 if test -z "$lt_cv_path_MAGIC_CMD"; then
7884 if test -n "$ac_tool_prefix"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7886 $as_echo_n "checking for file... " >&6; }
7887 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7892 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7895 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7896 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7897 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7898 for ac_dir
in $ac_dummy; do
7900 test -z "$ac_dir" && ac_dir
=.
7901 if test -f $ac_dir/file; then
7902 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7903 if test -n "$file_magic_test_file"; then
7904 case $deplibs_check_method in
7906 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7907 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7908 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7909 $EGREP "$file_magic_regex" > /dev
/null
; then
7914 *** Warning: the command libtool uses to detect shared libraries,
7915 *** $file_magic_cmd, produces output that libtool cannot recognize.
7916 *** The result is that libtool may fail to recognize shared libraries
7917 *** as such. This will affect the creation of libtool libraries that
7918 *** depend on shared libraries, but programs linked with such libtool
7919 *** libraries will work regardless of this problem. Nevertheless, you
7920 *** may want to report the problem to your system manager and/or to
7921 *** bug-libtool@gnu.org
7931 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7936 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7937 if test -n "$MAGIC_CMD"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7939 $as_echo "$MAGIC_CMD" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7955 # Use C for the default configuration in the libtool script
7959 ac_cpp
='$CPP $CPPFLAGS'
7960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7965 # Source file extension for C test sources.
7968 # Object file extension for compiled C test sources.
7972 # Code to be used in simple compile tests
7973 lt_simple_compile_test_code
="int some_variable = 0;"
7975 # Code to be used in simple link tests
7976 lt_simple_link_test_code
='int main(){return(0);}'
7984 # If no C compiler was specified, use CC.
7987 # If no C compiler flags were specified, use CFLAGS.
7988 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7990 # Allow CC to be a program name with arguments.
7993 # Save the default compiler, since it gets overwritten when the other
7994 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7995 compiler_DEFAULT
=$CC
7997 # save warnings/boilerplate of simple test code
7998 ac_outfile
=conftest.
$ac_objext
7999 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8000 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8001 _lt_compiler_boilerplate
=`cat conftest.err`
8004 ac_outfile
=conftest.
$ac_objext
8005 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8006 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8007 _lt_linker_boilerplate
=`cat conftest.err`
8012 ## There is no encapsulation within the following macros, do not change
8013 ## the running order or otherwise move them around unless you know exactly
8014 ## what you are doing...
8015 if test -n "$compiler"; then
8017 lt_prog_compiler_no_builtin_flag
=
8019 if test "$GCC" = yes; then
8020 case $cc_basename in
8022 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8024 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8028 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8029 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8030 $as_echo_n "(cached) " >&6
8032 lt_cv_prog_compiler_rtti_exceptions
=no
8033 ac_outfile
=conftest.
$ac_objext
8034 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8035 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8036 # Insert the option either (1) after the last *FLAGS variable, or
8037 # (2) before a word containing "conftest.", or (3) at the end.
8038 # Note that $ac_compile itself does not contain backslashes and begins
8039 # with a dollar sign (not a hyphen), so the echo should work correctly.
8040 # The option is referenced via a variable to avoid confusing sed.
8041 lt_compile
=`echo "$ac_compile" | $SED \
8042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8044 -e 's:$: $lt_compiler_flag:'`
8045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8046 (eval "$lt_compile" 2>conftest.err
)
8048 cat conftest.err
>&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 if (exit $ac_status) && test -s "$ac_outfile"; then
8051 # The compiler can only warn and ignore the option if not recognized
8052 # So say no if there are warnings other than the usual output.
8053 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8054 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8055 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8056 lt_cv_prog_compiler_rtti_exceptions
=yes
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8063 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8065 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8066 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8078 lt_prog_compiler_wl
=
8079 lt_prog_compiler_pic
=
8080 lt_prog_compiler_static
=
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8083 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8085 if test "$GCC" = yes; then
8086 lt_prog_compiler_wl
='-Wl,'
8087 lt_prog_compiler_static
='-static'
8091 # All AIX code is PIC.
8092 if test "$host_cpu" = ia64
; then
8093 # AIX 5 now supports IA64 processor
8094 lt_prog_compiler_static
='-Bstatic'
8096 lt_prog_compiler_pic
='-fPIC'
8102 # see comment about AmigaOS4 .so support
8103 lt_prog_compiler_pic
='-fPIC'
8106 # FIXME: we need at least 68020 code to build shared libraries, but
8107 # adding the `-m68020' flag to GCC prevents building anything better,
8109 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8114 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8115 # PIC is the default for these OSes.
8118 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8119 # This hack is so that the source file can tell whether it is being
8120 # built for inclusion in a dll (and should export symbols for example).
8121 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8122 # (--disable-auto-import) libraries
8123 lt_prog_compiler_pic
='-DDLL_EXPORT'
8126 darwin
* | rhapsody
*)
8127 # PIC is the default on this platform
8128 # Common symbols not allowed in MH_DYLIB files
8129 lt_prog_compiler_pic
='-fno-common'
8133 # PIC is the default for Haiku.
8134 # The "-static" flag exists, but is broken.
8135 lt_prog_compiler_static
=
8139 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8140 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8141 # sets the default TLS model and affects inlining.
8147 lt_prog_compiler_pic
='-fPIC'
8153 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8154 # Instead, we relocate shared libraries at runtime.
8158 # Just because we use GCC doesn't mean we suddenly get shared libraries
8159 # on systems that don't support them.
8160 lt_prog_compiler_can_build_shared
=no
8165 # QNX uses GNU C++, but need to define -shared option too, otherwise
8167 lt_prog_compiler_pic
='-fPIC -shared'
8171 if test -d /usr
/nec
; then
8172 lt_prog_compiler_pic
=-Kconform_pic
8177 lt_prog_compiler_pic
='-fPIC'
8181 case $cc_basename in
8182 nvcc
*) # Cuda Compiler Driver 2.2
8183 lt_prog_compiler_wl
='-Xlinker '
8184 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8188 # PORTME Check for flag to pass linker flags through the system compiler.
8191 lt_prog_compiler_wl
='-Wl,'
8192 if test "$host_cpu" = ia64
; then
8193 # AIX 5 now supports IA64 processor
8194 lt_prog_compiler_static
='-Bstatic'
8196 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8200 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8201 # This hack is so that the source file can tell whether it is being
8202 # built for inclusion in a dll (and should export symbols for example).
8203 lt_prog_compiler_pic
='-DDLL_EXPORT'
8206 hpux9
* | hpux10
* | hpux11
*)
8207 lt_prog_compiler_wl
='-Wl,'
8208 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8215 lt_prog_compiler_pic
='+Z'
8218 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8219 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8222 irix5
* | irix6
* | nonstopux
*)
8223 lt_prog_compiler_wl
='-Wl,'
8224 # PIC (with -KPIC) is the default.
8225 lt_prog_compiler_static
='-non_shared'
8228 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8229 case $cc_basename in
8230 # old Intel for x86_64 which still supported -KPIC.
8232 lt_prog_compiler_wl
='-Wl,'
8233 lt_prog_compiler_pic
='-KPIC'
8234 lt_prog_compiler_static
='-static'
8236 # icc used to be incompatible with GCC.
8237 # ICC 10 doesn't accept -KPIC any more.
8239 lt_prog_compiler_wl
='-Wl,'
8240 lt_prog_compiler_pic
='-fPIC'
8241 lt_prog_compiler_static
='-static'
8243 # Lahey Fortran 8.1.
8245 lt_prog_compiler_wl
='-Wl,'
8246 lt_prog_compiler_pic
='--shared'
8247 lt_prog_compiler_static
='--static'
8249 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8250 # Portland Group compilers (*not* the Pentium gcc compiler,
8251 # which looks to be a dead project)
8252 lt_prog_compiler_wl
='-Wl,'
8253 lt_prog_compiler_pic
='-fpic'
8254 lt_prog_compiler_static
='-Bstatic'
8257 lt_prog_compiler_wl
='-Wl,'
8258 # All Alpha code is PIC.
8259 lt_prog_compiler_static
='-non_shared'
8261 xl
* | bgxl
* | bgf
* | mpixl
*)
8262 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8263 lt_prog_compiler_wl
='-Wl,'
8264 lt_prog_compiler_pic
='-qpic'
8265 lt_prog_compiler_static
='-qstaticlink'
8268 case `$CC -V 2>&1 | sed 5q` in
8269 *Sun\ F
* |
*Sun
*Fortran
*)
8270 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8271 lt_prog_compiler_pic
='-KPIC'
8272 lt_prog_compiler_static
='-Bstatic'
8273 lt_prog_compiler_wl
=''
8277 lt_prog_compiler_pic
='-KPIC'
8278 lt_prog_compiler_static
='-Bstatic'
8279 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-KPIC'
8288 lt_prog_compiler_static
='-Bstatic'
8292 # QNX uses GNU C++, but need to define -shared option too, otherwise
8294 lt_prog_compiler_pic
='-fPIC -shared'
8297 osf3
* | osf4
* | osf5
*)
8298 lt_prog_compiler_wl
='-Wl,'
8299 # All OSF/1 code is PIC.
8300 lt_prog_compiler_static
='-non_shared'
8304 lt_prog_compiler_static
='-non_shared'
8308 lt_prog_compiler_pic
='-KPIC'
8309 lt_prog_compiler_static
='-Bstatic'
8310 case $cc_basename in
8312 lt_prog_compiler_wl
='-Qoption ld ';;
8314 lt_prog_compiler_wl
='-Wl,';;
8319 lt_prog_compiler_wl
='-Qoption ld '
8320 lt_prog_compiler_pic
='-PIC'
8321 lt_prog_compiler_static
='-Bstatic'
8324 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8325 lt_prog_compiler_wl
='-Wl,'
8326 lt_prog_compiler_pic
='-KPIC'
8327 lt_prog_compiler_static
='-Bstatic'
8331 if test -d /usr
/nec
;then
8332 lt_prog_compiler_pic
='-Kconform_pic'
8333 lt_prog_compiler_static
='-Bstatic'
8337 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8338 lt_prog_compiler_wl
='-Wl,'
8339 lt_prog_compiler_pic
='-KPIC'
8340 lt_prog_compiler_static
='-Bstatic'
8344 lt_prog_compiler_wl
='-Wl,'
8345 lt_prog_compiler_can_build_shared
=no
8349 lt_prog_compiler_pic
='-pic'
8350 lt_prog_compiler_static
='-Bstatic'
8354 lt_prog_compiler_can_build_shared
=no
8360 # For platforms which do not support PIC, -DPIC is meaningless:
8362 lt_prog_compiler_pic
=
8365 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8369 $as_echo "$lt_prog_compiler_pic" >&6; }
8377 # Check to make sure the PIC flag actually works.
8379 if test -n "$lt_prog_compiler_pic"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8381 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8382 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8383 $as_echo_n "(cached) " >&6
8385 lt_cv_prog_compiler_pic_works
=no
8386 ac_outfile
=conftest.
$ac_objext
8387 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8388 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8389 # Insert the option either (1) after the last *FLAGS variable, or
8390 # (2) before a word containing "conftest.", or (3) at the end.
8391 # Note that $ac_compile itself does not contain backslashes and begins
8392 # with a dollar sign (not a hyphen), so the echo should work correctly.
8393 # The option is referenced via a variable to avoid confusing sed.
8394 lt_compile
=`echo "$ac_compile" | $SED \
8395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8397 -e 's:$: $lt_compiler_flag:'`
8398 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8399 (eval "$lt_compile" 2>conftest.err
)
8401 cat conftest.err
>&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 if (exit $ac_status) && test -s "$ac_outfile"; then
8404 # The compiler can only warn and ignore the option if not recognized
8405 # So say no if there are warnings other than the usual output.
8406 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8408 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8409 lt_cv_prog_compiler_pic_works
=yes
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8416 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8418 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8419 case $lt_prog_compiler_pic in
8421 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8424 lt_prog_compiler_pic
=
8425 lt_prog_compiler_can_build_shared
=no
8436 # Check to make sure the static flag actually works.
8438 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8440 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8441 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8442 $as_echo_n "(cached) " >&6
8444 lt_cv_prog_compiler_static_works
=no
8445 save_LDFLAGS
="$LDFLAGS"
8446 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8447 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8448 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8449 # The linker can only warn and ignore the option if not recognized
8450 # So say no if there are warnings
8451 if test -s conftest.err
; then
8452 # Append any errors to the config.log.
8453 cat conftest.err
1>&5
8454 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8455 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8456 if diff conftest.exp conftest.er2
>/dev
/null
; then
8457 lt_cv_prog_compiler_static_works
=yes
8460 lt_cv_prog_compiler_static_works
=yes
8464 LDFLAGS
="$save_LDFLAGS"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8468 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8470 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8473 lt_prog_compiler_static
=
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8483 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8484 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8485 $as_echo_n "(cached) " >&6
8487 lt_cv_prog_compiler_c_o
=no
8488 $RM -r conftest
2>/dev
/null
8492 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8494 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 lt_compile
=`echo "$ac_compile" | $SED \
8500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8502 -e 's:$: $lt_compiler_flag:'`
8503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8504 (eval "$lt_compile" 2>out
/conftest.err
)
8506 cat out
/conftest.err
>&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings
8512 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8513 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8514 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8515 lt_cv_prog_compiler_c_o
=yes
8520 # SGI C++ compiler will create directory out/ii_files/ for
8521 # template instantiation
8522 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8523 $RM out
/* && rmdir out
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8530 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8538 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8539 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8542 lt_cv_prog_compiler_c_o
=no
8543 $RM -r conftest
2>/dev
/null
8547 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8549 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8550 # Insert the option either (1) after the last *FLAGS variable, or
8551 # (2) before a word containing "conftest.", or (3) at the end.
8552 # Note that $ac_compile itself does not contain backslashes and begins
8553 # with a dollar sign (not a hyphen), so the echo should work correctly.
8554 lt_compile
=`echo "$ac_compile" | $SED \
8555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8557 -e 's:$: $lt_compiler_flag:'`
8558 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8559 (eval "$lt_compile" 2>out
/conftest.err
)
8561 cat out
/conftest.err
>&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8565 # The compiler can only warn and ignore the option if not recognized
8566 # So say no if there are warnings
8567 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8568 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8569 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8570 lt_cv_prog_compiler_c_o
=yes
8575 # SGI C++ compiler will create directory out/ii_files/ for
8576 # template instantiation
8577 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8578 $RM out
/* && rmdir out
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8585 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8590 hard_links
="nottested"
8591 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8592 # do not overwrite the value of need_locks provided by the user
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8594 $as_echo_n "checking if we can lock with hard links... " >&6; }
8597 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8599 ln conftest.a conftest.b
2>&5 || hard_links
=no
8600 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8602 $as_echo "$hard_links" >&6; }
8603 if test "$hard_links" = no
; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8605 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8618 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8621 allow_undefined_flag
=
8622 always_export_symbols
=no
8624 archive_expsym_cmds
=
8625 compiler_needs_object
=no
8626 enable_shared_with_static_runtimes
=no
8627 export_dynamic_flag_spec
=
8628 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8629 hardcode_automatic
=no
8631 hardcode_direct_absolute
=no
8632 hardcode_libdir_flag_spec
=
8633 hardcode_libdir_flag_spec_ld
=
8634 hardcode_libdir_separator
=
8636 hardcode_shlibpath_var
=unsupported
8638 link_all_deplibs
=unknown
8641 old_archive_from_new_cmds
=
8642 old_archive_from_expsyms_cmds
=
8643 thread_safe_flag_spec
=
8644 whole_archive_flag_spec
=
8645 # include_expsyms should be a list of space-separated symbols to be *always*
8646 # included in the symbol list
8648 # exclude_expsyms can be an extended regexp of symbols to exclude
8649 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8650 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8651 # as well as any symbol that contains `d'.
8652 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8653 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8654 # platforms (ab)use it in PIC code, but their linkers get confused if
8655 # the symbol is explicitly referenced. Since portable code cannot
8656 # rely on this symbol name, it's probably fine to never include it in
8657 # preloaded symbol tables.
8658 # Exclude shared library initialization/finalization symbols.
8659 extract_expsyms_cmds
=
8662 cygwin
* | mingw
* | pw32
* | cegcc
*)
8663 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8664 # When not using gcc, we currently assume that we are using
8665 # Microsoft Visual C++.
8666 if test "$GCC" != yes; then
8671 # we just hope/assume this is gcc and not c89 (= MSVC++)
8681 # On some targets, GNU ld is compatible enough with the native linker
8682 # that we're better off using the native interface for both.
8683 lt_use_gnu_ld_interface
=no
8684 if test "$with_gnu_ld" = yes; then
8687 # The AIX port of GNU ld has always aspired to compatibility
8688 # with the native linker. However, as the warning in the GNU ld
8689 # block says, versions before 2.19.5* couldn't really create working
8690 # shared libraries, regardless of the interface used.
8691 case `$LD -v 2>&1` in
8692 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8693 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8694 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8696 lt_use_gnu_ld_interface
=yes
8701 lt_use_gnu_ld_interface
=yes
8706 if test "$lt_use_gnu_ld_interface" = yes; then
8707 # If archive_cmds runs LD, not CC, wlarc should be empty
8710 # Set some defaults for GNU ld with shared library support. These
8711 # are reset later if shared libraries are not supported. Putting them
8712 # here allows them to be overridden if necessary.
8713 runpath_var
=LD_RUN_PATH
8714 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8715 export_dynamic_flag_spec
='${wl}--export-dynamic'
8716 # ancient GNU ld didn't support --whole-archive et. al.
8717 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8718 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8720 whole_archive_flag_spec
=
8722 supports_anon_versioning
=no
8723 case `$LD -v 2>&1` in
8724 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8725 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8726 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8727 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8728 *\
2.11.
*) ;; # other 2.11 versions
8729 *) supports_anon_versioning
=yes ;;
8732 # See if GNU ld supports shared libraries.
8735 # On AIX/PPC, the GNU linker is very broken
8736 if test "$host_cpu" != ia64
; then
8740 *** Warning: the GNU linker, at least up to release 2.19, is reported
8741 *** to be unable to reliably create shared libraries on AIX.
8742 *** Therefore, libtool is disabling shared libraries support. If you
8743 *** really care for shared libraries, you may want to install binutils
8744 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8745 *** You will then need to restart the configuration process.
8754 # see comment about AmigaOS4 .so support
8755 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8756 archive_expsym_cmds
=''
8759 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)'
8760 hardcode_libdir_flag_spec
='-L$libdir'
8761 hardcode_minus_L
=yes
8767 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8768 allow_undefined_flag
=unsupported
8769 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8770 # support --undefined. This deserves some investigation. FIXME
8771 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777 cygwin
* | mingw
* | pw32
* | cegcc
*)
8778 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8779 # as there is no search path for DLLs.
8780 hardcode_libdir_flag_spec
='-L$libdir'
8781 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8782 allow_undefined_flag
=unsupported
8783 always_export_symbols
=no
8784 enable_shared_with_static_runtimes
=yes
8785 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8787 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8788 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8789 # If the export-symbols file already is a .def file (1st line
8790 # is EXPORTS), use it as is; otherwise, prepend...
8791 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8792 cp $export_symbols $output_objdir/$soname.def;
8794 echo EXPORTS > $output_objdir/$soname.def;
8795 cat $export_symbols >> $output_objdir/$soname.def;
8797 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8804 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8805 link_all_deplibs
=yes
8810 hardcode_shlibpath_var
=no
8811 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8812 export_dynamic_flag_spec
='${wl}-E'
8813 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8814 # Instead, shared libraries are loaded at an image base (0x10000000 by
8815 # default) and relocated if they conflict, which is a slow very memory
8816 # consuming and fragmenting process. To avoid this, we pick a random,
8817 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8818 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8819 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8820 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'
8823 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8825 if test "$host_os" = linux-dietlibc
; then
8826 case $cc_basename in
8827 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8830 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8831 && test "$tmp_diet" = no
8834 tmp_sharedflag
='-shared'
8835 case $cc_basename,$host_cpu in
8836 pgcc
*) # Portland Group C compiler
8837 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'
8838 tmp_addflag
=' $pic_flag'
8840 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8841 # Portland Group f77 and f90 compilers
8842 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'
8843 tmp_addflag
=' $pic_flag -Mnomain' ;;
8844 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8845 tmp_addflag
=' -i_dynamic' ;;
8846 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8847 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8848 ifc
* | ifort
*) # Intel Fortran compiler
8849 tmp_addflag
=' -nofor_main' ;;
8850 lf95
*) # Lahey Fortran 8.1
8851 whole_archive_flag_spec
=
8852 tmp_sharedflag
='--shared' ;;
8853 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8854 tmp_sharedflag
='-qmkshrobj'
8856 nvcc
*) # Cuda Compiler Driver 2.2
8857 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'
8858 compiler_needs_object
=yes
8861 case `$CC -V 2>&1 | sed 5q` in
8862 *Sun\ C
*) # Sun C 5.9
8863 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'
8864 compiler_needs_object
=yes
8865 tmp_sharedflag
='-G' ;;
8866 *Sun\ F
*) # Sun Fortran 8.3
8867 tmp_sharedflag
='-G' ;;
8869 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8871 if test "x$supports_anon_versioning" = xyes
; then
8872 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8873 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8874 echo "local: *; };" >> $output_objdir/$libname.ver~
8875 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8878 case $cc_basename in
8879 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8880 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8881 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8882 hardcode_libdir_flag_spec
=
8883 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8884 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8885 if test "x$supports_anon_versioning" = xyes
; then
8886 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8887 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8888 echo "local: *; };" >> $output_objdir/$libname.ver~
8889 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8899 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8900 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8903 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8904 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8909 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8913 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8914 *** create shared libraries on Solaris systems. Therefore, libtool
8915 *** is disabling shared libraries support. We urge you to upgrade GNU
8916 *** binutils to release 2.9.1 or newer. Another option is to modify
8917 *** your PATH or compiler configuration so that the native linker is
8918 *** used, and then restart.
8921 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8922 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8923 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8929 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8930 case `$LD -v 2>&1` in
8931 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8935 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8936 *** reliably create shared libraries on SCO systems. Therefore, libtool
8937 *** is disabling shared libraries support. We urge you to upgrade GNU
8938 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8939 *** your PATH or compiler configuration so that the native linker is
8940 *** used, and then restart.
8945 # For security reasons, it is highly recommended that you always
8946 # use absolute paths for naming shared libraries, and exclude the
8947 # DT_RUNPATH tag from executables and libraries. But doing so
8948 # requires that you compile everything twice, which is a pain.
8949 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8950 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8951 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8952 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8961 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8964 hardcode_shlibpath_var
=no
8968 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8969 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8977 if test "$ld_shlibs" = no
; then
8979 hardcode_libdir_flag_spec
=
8980 export_dynamic_flag_spec
=
8981 whole_archive_flag_spec
=
8984 # PORTME fill in a description of your system's linker (not GNU ld)
8987 allow_undefined_flag
=unsupported
8988 always_export_symbols
=yes
8989 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'
8990 # Note: this linker hardcodes the directories in LIBPATH if there
8991 # are no directories specified by -L.
8992 hardcode_minus_L
=yes
8993 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8994 # Neither direct hardcoding nor static linking is supported with a
8996 hardcode_direct
=unsupported
9001 if test "$host_cpu" = ia64
; then
9002 # On IA64, the linker does run time linking by default, so we don't
9003 # have to do anything special.
9004 aix_use_runtimelinking
=no
9005 exp_sym_flag
='-Bexport'
9008 # If we're using GNU nm, then we don't want the "-C" option.
9009 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9010 # Also, AIX nm treats weak defined symbols like other global
9011 # defined symbols, whereas GNU nm marks them as "W".
9012 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9013 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'
9015 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'
9017 aix_use_runtimelinking
=no
9019 # Test if we are trying to use run time linking or normal
9020 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9021 # need to do runtime linking.
9022 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9023 for ld_flag
in $LDFLAGS; do
9024 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9025 aix_use_runtimelinking
=yes
9032 exp_sym_flag
='-bexport'
9033 no_entry_flag
='-bnoentry'
9036 # When large executables or shared objects are built, AIX ld can
9037 # have problems creating the table of contents. If linking a library
9038 # or program results in "error TOC overflow" add -mminimal-toc to
9039 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9040 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9044 hardcode_direct_absolute
=yes
9045 hardcode_libdir_separator
=':'
9046 link_all_deplibs
=yes
9047 file_list_spec
='${wl}-f,'
9049 if test "$GCC" = yes; then
9050 case $host_os in aix4.
[012]|aix4.
[012].
*)
9051 # We only want to do this on AIX 4.2 and lower, the check
9052 # below for broken collect2 doesn't work under 4.3+
9053 collect2name
=`${CC} -print-prog-name=collect2`
9054 if test -f "$collect2name" &&
9055 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9057 # We have reworked collect2
9060 # We have old collect2
9061 hardcode_direct
=unsupported
9062 # It fails to find uninstalled libraries when the uninstalled
9063 # path is not listed in the libpath. Setting hardcode_minus_L
9064 # to unsupported forces relinking
9065 hardcode_minus_L
=yes
9066 hardcode_libdir_flag_spec
='-L$libdir'
9067 hardcode_libdir_separator
=
9071 shared_flag
='-shared'
9072 if test "$aix_use_runtimelinking" = yes; then
9073 shared_flag
="$shared_flag "'${wl}-G'
9077 if test "$host_cpu" = ia64
; then
9078 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9079 # chokes on -Wl,-G. The following line is correct:
9082 if test "$aix_use_runtimelinking" = yes; then
9083 shared_flag
='${wl}-G'
9085 shared_flag
='${wl}-bM:SRE'
9090 export_dynamic_flag_spec
='${wl}-bexpall'
9091 # It seems that -bexpall does not export symbols beginning with
9092 # underscore (_), so it is better to generate a list of symbols to export.
9093 always_export_symbols
=yes
9094 if test "$aix_use_runtimelinking" = yes; then
9095 # Warning - without using the other runtime loading flags (-brtl),
9096 # -berok will link without error, but may produce a broken library.
9097 allow_undefined_flag
='-berok'
9098 # Determine the default libpath from the value encoded in an
9100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9111 if ac_fn_c_try_link
"$LINENO"; then :
9113 lt_aix_libpath_sed
='
9114 /Import File Strings/,/^$/ {
9120 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9121 # Check for a 64-bit object if we didn't find anything.
9122 if test -z "$aix_libpath"; then
9123 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9126 rm -f core conftest.err conftest.
$ac_objext \
9127 conftest
$ac_exeext conftest.
$ac_ext
9128 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9130 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9131 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"
9133 if test "$host_cpu" = ia64
; then
9134 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9135 allow_undefined_flag
="-z nodefs"
9136 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"
9138 # Determine the default libpath from the value encoded in an
9140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9151 if ac_fn_c_try_link
"$LINENO"; then :
9153 lt_aix_libpath_sed
='
9154 /Import File Strings/,/^$/ {
9160 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9161 # Check for a 64-bit object if we didn't find anything.
9162 if test -z "$aix_libpath"; then
9163 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9166 rm -f core conftest.err conftest.
$ac_objext \
9167 conftest
$ac_exeext conftest.
$ac_ext
9168 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9170 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9171 # Warning - without using the other run time loading flags,
9172 # -berok will link without error, but may produce a broken library.
9173 no_undefined_flag
=' ${wl}-bernotok'
9174 allow_undefined_flag
=' ${wl}-berok'
9175 if test "$with_gnu_ld" = yes; then
9176 # We only use this code for GNU lds that support --whole-archive.
9177 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9179 # Exported symbols can be pulled into shared objects from archives
9180 whole_archive_flag_spec
='$convenience'
9182 archive_cmds_need_lc
=yes
9183 # This is similar to how AIX traditionally builds its shared libraries.
9184 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'
9192 # see comment about AmigaOS4 .so support
9193 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194 archive_expsym_cmds
=''
9197 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)'
9198 hardcode_libdir_flag_spec
='-L$libdir'
9199 hardcode_minus_L
=yes
9205 export_dynamic_flag_spec
=-rdynamic
9208 cygwin
* | mingw
* | pw32
* | cegcc
*)
9209 # When not using gcc, we currently assume that we are using
9210 # Microsoft Visual C++.
9211 # hardcode_libdir_flag_spec is actually meaningless, as there is
9212 # no search path for DLLs.
9213 hardcode_libdir_flag_spec
=' '
9214 allow_undefined_flag
=unsupported
9215 # Tell ltmain to make .lib files, not .a files.
9217 # Tell ltmain to make .dll files, not .so files.
9219 # FIXME: Setting linknames here is a bad hack.
9220 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9221 # The linker will automatically build a .lib file if we build a DLL.
9222 old_archive_from_new_cmds
='true'
9223 # FIXME: Should let the user specify the lib program.
9224 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9225 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9226 enable_shared_with_static_runtimes
=yes
9229 darwin
* | rhapsody
*)
9232 archive_cmds_need_lc
=no
9234 hardcode_automatic
=yes
9235 hardcode_shlibpath_var
=unsupported
9236 if test "$lt_cv_ld_force_load" = "yes"; then
9237 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\"`'
9239 whole_archive_flag_spec
=''
9241 link_all_deplibs
=yes
9242 allow_undefined_flag
="$_lt_dar_allow_undefined"
9243 case $cc_basename in
9244 ifort
*) _lt_dar_can_shared
=yes ;;
9245 *) _lt_dar_can_shared
=$GCC ;;
9247 if test "$_lt_dar_can_shared" = "yes"; then
9248 output_verbose_link_cmd
=func_echo_all
9249 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9250 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9251 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}"
9252 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}"
9261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_libdir_flag_spec
='-L$libdir'
9263 hardcode_shlibpath_var
=no
9266 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9267 # support. Future versions do this automatically, but an explicit c++rt0.o
9268 # does not break anything, and helps significantly (at the cost of a little
9271 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9272 hardcode_libdir_flag_spec
='-R$libdir'
9274 hardcode_shlibpath_var
=no
9277 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9279 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9281 hardcode_minus_L
=yes
9282 hardcode_shlibpath_var
=no
9285 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9286 freebsd
* | dragonfly
*)
9287 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9288 hardcode_libdir_flag_spec
='-R$libdir'
9290 hardcode_shlibpath_var
=no
9294 if test "$GCC" = yes; then
9295 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'
9297 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'
9299 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9300 hardcode_libdir_separator
=:
9303 # hardcode_minus_L: Not really in the search PATH,
9304 # but as the default location of the library.
9305 hardcode_minus_L
=yes
9306 export_dynamic_flag_spec
='${wl}-E'
9310 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9311 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9313 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9315 if test "$with_gnu_ld" = no
; then
9316 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9317 hardcode_libdir_flag_spec_ld
='+b $libdir'
9318 hardcode_libdir_separator
=:
9320 hardcode_direct_absolute
=yes
9321 export_dynamic_flag_spec
='${wl}-E'
9322 # hardcode_minus_L: Not really in the search PATH,
9323 # but as the default location of the library.
9324 hardcode_minus_L
=yes
9329 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9332 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9335 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9338 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9344 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9351 # Older versions of the 11.00 compiler do not understand -b yet
9352 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9354 $as_echo_n "checking if $CC understands -b... " >&6; }
9355 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9356 $as_echo_n "(cached) " >&6
9358 lt_cv_prog_compiler__b
=no
9359 save_LDFLAGS
="$LDFLAGS"
9360 LDFLAGS
="$LDFLAGS -b"
9361 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9362 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9363 # The linker can only warn and ignore the option if not recognized
9364 # So say no if there are warnings
9365 if test -s conftest.err
; then
9366 # Append any errors to the config.log.
9367 cat conftest.err
1>&5
9368 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9369 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9370 if diff conftest.exp conftest.er2
>/dev
/null
; then
9371 lt_cv_prog_compiler__b
=yes
9374 lt_cv_prog_compiler__b
=yes
9378 LDFLAGS
="$save_LDFLAGS"
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9382 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9384 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9393 if test "$with_gnu_ld" = no
; then
9394 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9395 hardcode_libdir_separator
=:
9400 hardcode_shlibpath_var
=no
9404 hardcode_direct_absolute
=yes
9405 export_dynamic_flag_spec
='${wl}-E'
9407 # hardcode_minus_L: Not really in the search PATH,
9408 # but as the default location of the library.
9409 hardcode_minus_L
=yes
9415 irix5
* | irix6
* | nonstopux
*)
9416 if test "$GCC" = yes; then
9417 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'
9418 # Try to use the -exported_symbol ld option, if it does not
9419 # work, assume that -exports_file does not work either and
9420 # implicitly export all symbols.
9421 save_LDFLAGS
="$LDFLAGS"
9422 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9427 if ac_fn_c_try_link
"$LINENO"; then :
9428 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'
9431 rm -f core conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9433 LDFLAGS
="$save_LDFLAGS"
9435 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'
9436 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'
9438 archive_cmds_need_lc
='no'
9439 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9440 hardcode_libdir_separator
=:
9442 link_all_deplibs
=yes
9446 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9447 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9449 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9451 hardcode_libdir_flag_spec
='-R$libdir'
9453 hardcode_shlibpath_var
=no
9457 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9459 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9460 hardcode_libdir_separator
=:
9461 hardcode_shlibpath_var
=no
9468 if test -f /usr
/libexec
/ld.so
; then
9470 hardcode_shlibpath_var
=no
9471 hardcode_direct_absolute
=yes
9472 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9473 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9474 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9475 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9476 export_dynamic_flag_spec
='${wl}-E'
9479 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9480 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9481 hardcode_libdir_flag_spec
='-R$libdir'
9484 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9485 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9495 hardcode_libdir_flag_spec
='-L$libdir'
9496 hardcode_minus_L
=yes
9497 allow_undefined_flag
=unsupported
9498 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'
9499 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9503 if test "$GCC" = yes; then
9504 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9505 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'
9507 allow_undefined_flag
=' -expect_unresolved \*'
9508 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'
9510 archive_cmds_need_lc
='no'
9511 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9512 hardcode_libdir_separator
=:
9515 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9516 if test "$GCC" = yes; then
9517 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9518 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'
9519 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9521 allow_undefined_flag
=' -expect_unresolved \*'
9522 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'
9523 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~
9524 $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'
9526 # Both c and cxx compiler support -rpath directly
9527 hardcode_libdir_flag_spec
='-rpath $libdir'
9529 archive_cmds_need_lc
='no'
9530 hardcode_libdir_separator
=:
9534 no_undefined_flag
=' -z defs'
9535 if test "$GCC" = yes; then
9537 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9538 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9539 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9541 case `$CC -V 2>&1` in
9544 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9546 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9550 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9551 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9552 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9556 hardcode_libdir_flag_spec
='-R$libdir'
9557 hardcode_shlibpath_var
=no
9559 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9561 # The compiler driver will combine and reorder linker options,
9562 # but understands `-z linker_flag'. GCC discards it without `$wl',
9563 # but is careful enough not to reorder.
9564 # Supported since Solaris 2.6 (maybe 2.5.1?)
9565 if test "$GCC" = yes; then
9566 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9568 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9572 link_all_deplibs
=yes
9576 if test "x$host_vendor" = xsequent
; then
9577 # Use $CC to link under sequent, because it throws in some extra .o
9578 # files that make .init and .fini sections work.
9579 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9583 hardcode_libdir_flag_spec
='-L$libdir'
9585 hardcode_minus_L
=yes
9586 hardcode_shlibpath_var
=no
9590 case $host_vendor in
9592 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9593 hardcode_direct
=yes # is this really true???
9596 ## LD is ld it makes a PLAMLIB
9597 ## CC just makes a GrossModule.
9598 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9599 reload_cmds
='$CC -r -o $output$reload_objs'
9603 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9607 runpath_var
='LD_RUN_PATH'
9608 hardcode_shlibpath_var
=no
9612 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9613 hardcode_shlibpath_var
=no
9614 export_dynamic_flag_spec
='-Bexport'
9618 if test -d /usr
/nec
; then
9619 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620 hardcode_shlibpath_var
=no
9621 runpath_var
=LD_RUN_PATH
9622 hardcode_runpath_var
=yes
9627 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9628 no_undefined_flag
='${wl}-z,text'
9629 archive_cmds_need_lc
=no
9630 hardcode_shlibpath_var
=no
9631 runpath_var
='LD_RUN_PATH'
9633 if test "$GCC" = yes; then
9634 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 sysv5
* | sco3.2v5
* | sco5v6
*)
9643 # Note: We can NOT use -z defs as we might desire, because we do not
9644 # link with -lc, and that would cause any symbols used from libc to
9645 # always be unresolved, which means just about no library would
9646 # ever link correctly. If we're not using GNU ld we use -z text
9647 # though, which does catch some bad symbols but isn't as heavy-handed
9649 no_undefined_flag
='${wl}-z,text'
9650 allow_undefined_flag
='${wl}-z,nodefs'
9651 archive_cmds_need_lc
=no
9652 hardcode_shlibpath_var
=no
9653 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9654 hardcode_libdir_separator
=':'
9655 link_all_deplibs
=yes
9656 export_dynamic_flag_spec
='${wl}-Bexport'
9657 runpath_var
='LD_RUN_PATH'
9659 if test "$GCC" = yes; then
9660 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9663 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9670 hardcode_libdir_flag_spec
='-L$libdir'
9671 hardcode_shlibpath_var
=no
9679 if test x
$host_vendor = xsni
; then
9681 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9682 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9689 $as_echo "$ld_shlibs" >&6; }
9690 test "$ld_shlibs" = no
&& can_build_shared
=no
9692 with_gnu_ld
=$with_gnu_ld
9709 # Do we need to explicitly link libc?
9711 case "x$archive_cmds_need_lc" in
9713 # Assume -lc should be added
9714 archive_cmds_need_lc
=yes
9716 if test "$enable_shared" = yes && test "$GCC" = yes; then
9717 case $archive_cmds in
9719 # FIXME: we may have to deal with multi-command sequences.
9722 # Test whether the compiler implicitly links with -lc since on some
9723 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9724 # to ld, don't add -lc before -lgcc.
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9726 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9727 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9728 $as_echo_n "(cached) " >&6
9731 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9734 (eval $ac_compile) 2>&5
9736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; } 2>conftest.err
; then
9740 libobjs
=conftest.
$ac_objext
9742 wl
=$lt_prog_compiler_wl
9743 pic_flag
=$lt_prog_compiler_pic
9749 lt_save_allow_undefined_flag
=$allow_undefined_flag
9750 allow_undefined_flag
=
9751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9752 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9755 test $ac_status = 0; }
9757 lt_cv_archive_cmds_need_lc
=no
9759 lt_cv_archive_cmds_need_lc
=yes
9761 allow_undefined_flag
=$lt_save_allow_undefined_flag
9763 cat conftest.err
1>&5
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9769 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9770 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9934 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9936 if test "$GCC" = yes; then
9938 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9939 *) lt_awk_arg
="/^libraries:/" ;;
9942 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9943 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9945 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9946 case $lt_search_path_spec in
9948 # if the path contains ";" then we assume it to be the separator
9949 # otherwise default to the standard path separator (i.e. ":") - it is
9950 # assumed that no part of a normal pathname contains ";" but that should
9951 # okay in the real world where ";" in dirpaths is itself problematic.
9952 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9955 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9958 # Ok, now we have the path, separated by spaces, we can step through it
9959 # and add multilib dir if necessary.
9960 lt_tmp_lt_search_path_spec
=
9961 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9962 for lt_sys_path
in $lt_search_path_spec; do
9963 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9964 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9966 test -d "$lt_sys_path" && \
9967 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9970 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9971 BEGIN {RS=" "; FS="/|\n";} {
9974 for (lt_i = NF; lt_i > 0; lt_i--) {
9975 if ($lt_i != "" && $lt_i != ".") {
9976 if ($lt_i == "..") {
9979 if (lt_count == 0) {
9980 lt_foo="/" $lt_i lt_foo;
9987 if (lt_foo != "") { lt_freq[lt_foo]++; }
9988 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9990 # AWK program above erroneously prepends '/' to C:/dos/paths
9993 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9994 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9996 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9998 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10000 library_names_spec
=
10001 libname_spec
='lib$name'
10005 postuninstall_cmds
=
10009 shlibpath_overrides_runpath
=unknown
10011 dynamic_linker
="$host_os ld.so"
10012 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10013 need_lib_prefix
=unknown
10014 hardcode_into_libs
=no
10016 # when you set need_version to no, make sure it does not cause -set_version
10017 # flags to be left without arguments
10018 need_version
=unknown
10023 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10024 shlibpath_var
=LIBPATH
10026 # AIX 3 has no versioning support, so we append a major version to the name.
10027 soname_spec
='${libname}${release}${shared_ext}$major'
10034 hardcode_into_libs
=yes
10035 if test "$host_cpu" = ia64
; then
10036 # AIX 5 supports IA64
10037 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10038 shlibpath_var
=LD_LIBRARY_PATH
10040 # With GCC up to 2.95.x, collect2 would create an import file
10041 # for dependence libraries. The import file would start with
10042 # the line `#! .'. This would cause the generated library to
10043 # depend on `.', always an invalid library. This was fixed in
10044 # development snapshots of GCC prior to 3.0.
10046 aix4 | aix4.
[01] | aix4.
[01].
*)
10047 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10049 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10052 can_build_shared
=no
10056 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10057 # soname into executable. Probably we can add versioning support to
10058 # collect2, so additional links can be useful in future.
10059 if test "$aix_use_runtimelinking" = yes; then
10060 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10061 # instead of lib<name>.a to let people know that these are not
10062 # typical AIX shared libraries.
10063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10065 # We preserve .a as extension for shared libraries through AIX4.2
10066 # and later when we are not doing run time linking.
10067 library_names_spec
='${libname}${release}.a $libname.a'
10068 soname_spec
='${libname}${release}${shared_ext}$major'
10070 shlibpath_var
=LIBPATH
10077 # Since July 2007 AmigaOS4 officially supports .so libraries.
10078 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082 library_names_spec
='$libname.ixlibrary $libname.a'
10083 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10084 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'
10090 library_names_spec
='${libname}${shared_ext}'
10091 dynamic_linker
="$host_os ld.so"
10092 shlibpath_var
=LIBRARY_PATH
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099 soname_spec
='${libname}${release}${shared_ext}$major'
10100 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10103 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10104 # the default ld.so.conf also contains /usr/contrib/lib and
10105 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10106 # libtool to hard-code these into programs
10109 cygwin
* | mingw
* | pw32
* | cegcc
*)
10110 version_type
=windows
10115 case $GCC,$host_os in
10116 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10117 library_names_spec
='$libname.dll.a'
10118 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10119 postinstall_cmds
='base_file=`basename \${file}`~
10120 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10121 dldir=$destdir/`dirname \$dlpath`~
10122 test -d \$dldir || mkdir -p \$dldir~
10123 $install_prog $dir/$dlname \$dldir/$dlname~
10124 chmod a+x \$dldir/$dlname~
10125 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10126 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10128 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10129 dlpath=$dir/\$dldll~
10131 shlibpath_overrides_runpath
=yes
10135 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10136 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10138 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10141 # MinGW DLLs use traditional 'lib' prefix
10142 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10145 # pw32 DLLs use 'pw' prefix rather than 'lib'
10146 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10152 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10155 dynamic_linker
='Win32 ld.exe'
10156 # FIXME: first we should search . and the directory the executable is in
10160 darwin
* | rhapsody
*)
10161 dynamic_linker
="$host_os dyld"
10162 version_type
=darwin
10165 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10166 soname_spec
='${libname}${release}${major}$shared_ext'
10167 shlibpath_overrides_runpath
=yes
10168 shlibpath_var
=DYLD_LIBRARY_PATH
10169 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10171 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10172 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10181 shlibpath_var
=LD_LIBRARY_PATH
10184 freebsd
* | dragonfly
*)
10185 # DragonFly does not have aout. When/if they implement a new
10186 # versioning mechanism, adjust this.
10187 if test -x /usr
/bin
/objformat
; then
10188 objformat
=`/usr/bin/objformat`
10191 freebsd
[23].
*) objformat
=aout
;;
10192 *) objformat
=elf
;;
10195 version_type
=freebsd-
$objformat
10196 case $version_type in
10198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10207 shlibpath_var
=LD_LIBRARY_PATH
10210 shlibpath_overrides_runpath
=yes
10212 freebsd3.
[01]* | freebsdelf3.
[01]*)
10213 shlibpath_overrides_runpath
=yes
10214 hardcode_into_libs
=yes
10216 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10217 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10218 shlibpath_overrides_runpath
=no
10219 hardcode_into_libs
=yes
10221 *) # from 4.6 on, and DragonFly
10222 shlibpath_overrides_runpath
=yes
10223 hardcode_into_libs
=yes
10232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10233 soname_spec
='${libname}${release}${shared_ext}$major'
10234 shlibpath_var
=LD_LIBRARY_PATH
10235 hardcode_into_libs
=yes
10242 dynamic_linker
="$host_os runtime_loader"
10243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10244 soname_spec
='${libname}${release}${shared_ext}$major'
10245 shlibpath_var
=LIBRARY_PATH
10246 shlibpath_overrides_runpath
=yes
10247 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10248 hardcode_into_libs
=yes
10251 hpux9
* | hpux10
* | hpux11
*)
10252 # Give a soname corresponding to the major version so that dld.sl refuses to
10253 # link against other versions.
10260 hardcode_into_libs
=yes
10261 dynamic_linker
="$host_os dld.so"
10262 shlibpath_var
=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265 soname_spec
='${libname}${release}${shared_ext}$major'
10266 if test "X$HPUX_IA64_MODE" = X32
; then
10267 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10269 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10271 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10275 hardcode_into_libs
=yes
10276 dynamic_linker
="$host_os dld.sl"
10277 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10278 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10280 soname_spec
='${libname}${release}${shared_ext}$major'
10281 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10282 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10286 dynamic_linker
="$host_os dld.sl"
10287 shlibpath_var
=SHLIB_PATH
10288 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10293 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10294 postinstall_cmds
='chmod 555 $lib'
10295 # or fails outright, so override atomically:
10296 install_override_mode
=555
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10306 shlibpath_var
=LD_LIBRARY_PATH
10307 shlibpath_overrides_runpath
=no
10308 hardcode_into_libs
=yes
10311 irix5
* | irix6
* | nonstopux
*)
10313 nonstopux
*) version_type
=nonstopux
;;
10315 if test "$lt_cv_prog_gnu_ld" = yes; then
10323 soname_spec
='${libname}${release}${shared_ext}$major'
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10326 irix5
* | nonstopux
*)
10327 libsuff
= shlibsuff
=
10330 case $LD in # libtool.m4 will add one of these switches to LD
10331 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10332 libsuff
= shlibsuff
= libmagic
=32-bit;;
10333 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10334 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10335 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10336 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10337 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10341 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10342 shlibpath_overrides_runpath
=no
10343 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10344 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10345 hardcode_into_libs
=yes
10348 # No shared lib support for Linux oldld, aout, or coff.
10349 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10353 # This must be Linux ELF.
10354 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359 soname_spec
='${libname}${release}${shared_ext}$major'
10360 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10361 shlibpath_var
=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath
=no
10364 # Some binutils ld are patched to set DT_RUNPATH
10365 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10366 $as_echo_n "(cached) " >&6
10368 lt_cv_shlibpath_overrides_runpath
=no
10369 save_LDFLAGS
=$LDFLAGS
10370 save_libdir
=$libdir
10371 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10372 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10384 if ac_fn_c_try_link
"$LINENO"; then :
10385 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10386 lt_cv_shlibpath_overrides_runpath
=yes
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 LDFLAGS
=$save_LDFLAGS
10392 libdir
=$save_libdir
10396 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10398 # This implies no fast_install, which is unacceptable.
10399 # Some rework will be needed to allow for fast_install
10400 # before this can be enabled.
10401 hardcode_into_libs
=yes
10403 # Append ld.so.conf contents to the search path
10404 if test -f /etc
/ld.so.conf
; then
10405 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' ' '`
10406 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10409 # We used to test for /lib/ld.so.1 and disable shared libraries on
10410 # powerpc, because MkLinux only supported shared libraries with the
10411 # GNU dynamic linker. Since this was broken with cross compilers,
10412 # most powerpc-linux boxes support dynamic linking these days and
10413 # people can always --disable-shared, the test was removed, and we
10414 # assume the GNU/Linux dynamic linker is in use.
10415 dynamic_linker
='GNU/Linux ld.so'
10422 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10425 dynamic_linker
='NetBSD (a.out) ld.so'
10427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10428 soname_spec
='${libname}${release}${shared_ext}$major'
10429 dynamic_linker
='NetBSD ld.elf_so'
10431 shlibpath_var
=LD_LIBRARY_PATH
10432 shlibpath_overrides_runpath
=yes
10433 hardcode_into_libs
=yes
10438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439 shlibpath_var
=LD_LIBRARY_PATH
10440 shlibpath_overrides_runpath
=yes
10447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448 soname_spec
='${libname}${release}${shared_ext}$major'
10449 shlibpath_var
=LD_LIBRARY_PATH
10450 shlibpath_overrides_runpath
=no
10451 hardcode_into_libs
=yes
10452 dynamic_linker
='ldqnx.so'
10457 sys_lib_dlsearch_path_spec
="/usr/lib"
10459 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10461 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10462 *) need_version
=no
;;
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466 shlibpath_var
=LD_LIBRARY_PATH
10467 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10469 openbsd2.
[89] | openbsd2.
[89].
*)
10470 shlibpath_overrides_runpath
=no
10473 shlibpath_overrides_runpath
=yes
10477 shlibpath_overrides_runpath
=yes
10482 libname_spec
='$name'
10485 library_names_spec
='$libname${shared_ext} $libname.a'
10486 dynamic_linker
='OS/2 ld.exe'
10487 shlibpath_var
=LIBPATH
10490 osf3
* | osf4
* | osf5
*)
10494 soname_spec
='${libname}${release}${shared_ext}$major'
10495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10498 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10512 shlibpath_overrides_runpath
=yes
10513 hardcode_into_libs
=yes
10514 # ldd complains unless libraries are executable
10515 postinstall_cmds
='chmod +x $lib'
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10521 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10522 shlibpath_var
=LD_LIBRARY_PATH
10523 shlibpath_overrides_runpath
=yes
10524 if test "$with_gnu_ld" = yes; then
10532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10533 soname_spec
='${libname}${release}${shared_ext}$major'
10534 shlibpath_var
=LD_LIBRARY_PATH
10535 case $host_vendor in
10537 shlibpath_overrides_runpath
=no
10539 runpath_var
=LD_RUN_PATH
10547 shlibpath_overrides_runpath
=no
10548 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10554 if test -d /usr
/nec
;then
10556 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10557 soname_spec
='$libname${shared_ext}.$major'
10558 shlibpath_var
=LD_LIBRARY_PATH
10562 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10563 version_type
=freebsd-elf
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10567 soname_spec
='${libname}${release}${shared_ext}$major'
10568 shlibpath_var
=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath
=yes
10570 hardcode_into_libs
=yes
10571 if test "$with_gnu_ld" = yes; then
10572 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10574 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10577 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10581 sys_lib_dlsearch_path_spec
='/usr/lib'
10585 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 shlibpath_var
=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath
=no
10592 hardcode_into_libs
=yes
10597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10598 soname_spec
='${libname}${release}${shared_ext}$major'
10599 shlibpath_var
=LD_LIBRARY_PATH
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10607 $as_echo "$dynamic_linker" >&6; }
10608 test "$dynamic_linker" = no
&& can_build_shared
=no
10610 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10611 if test "$GCC" = yes; then
10612 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10615 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10616 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10618 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10619 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10714 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10716 if test -n "$hardcode_libdir_flag_spec" ||
10717 test -n "$runpath_var" ||
10718 test "X$hardcode_automatic" = "Xyes" ; then
10720 # We can hardcode non-existent directories.
10721 if test "$hardcode_direct" != no
&&
10722 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10723 # have to relink, otherwise we might link with an installed library
10724 # when we should be linking with a yet-to-be-installed one
10725 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10726 test "$hardcode_minus_L" != no
; then
10727 # Linking always hardcodes the temporary library directory.
10728 hardcode_action
=relink
10730 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10731 hardcode_action
=immediate
10734 # We cannot hardcode anything, or else we can only hardcode existing
10736 hardcode_action
=unsupported
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10739 $as_echo "$hardcode_action" >&6; }
10741 if test "$hardcode_action" = relink ||
10742 test "$inherit_rpath" = yes; then
10743 # Fast installation is not supported
10744 enable_fast_install
=no
10745 elif test "$shlibpath_overrides_runpath" = yes ||
10746 test "$enable_shared" = no
; then
10747 # Fast installation is not necessary
10748 enable_fast_install
=needless
10756 if test "x$enable_dlopen" != xyes
; then
10757 enable_dlopen
=unknown
10758 enable_dlopen_self
=unknown
10759 enable_dlopen_self_static
=unknown
10766 lt_cv_dlopen
="load_add_on"
10768 lt_cv_dlopen_self
=yes
10771 mingw
* | pw32
* | cegcc
*)
10772 lt_cv_dlopen
="LoadLibrary"
10777 lt_cv_dlopen
="dlopen"
10782 # if libdl is installed we need to link against it
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10784 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10785 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10786 $as_echo_n "(cached) " >&6
10788 ac_check_lib_save_LIBS
=$LIBS
10790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10808 if ac_fn_c_try_link
"$LINENO"; then :
10809 ac_cv_lib_dl_dlopen
=yes
10811 ac_cv_lib_dl_dlopen
=no
10813 rm -f core conftest.err conftest.
$ac_objext \
10814 conftest
$ac_exeext conftest.
$ac_ext
10815 LIBS
=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10818 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10819 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10820 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10823 lt_cv_dlopen
="dyld"
10825 lt_cv_dlopen_self
=yes
10832 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10833 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10834 lt_cv_dlopen
="shl_load"
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10837 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10838 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10841 ac_check_lib_save_LIBS
=$LIBS
10843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10856 return shl_load ();
10861 if ac_fn_c_try_link
"$LINENO"; then :
10862 ac_cv_lib_dld_shl_load
=yes
10864 ac_cv_lib_dld_shl_load
=no
10866 rm -f core conftest.err conftest.
$ac_objext \
10867 conftest
$ac_exeext conftest.
$ac_ext
10868 LIBS
=$ac_check_lib_save_LIBS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10871 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10872 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10873 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10875 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10876 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10877 lt_cv_dlopen
="dlopen"
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10880 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10882 $as_echo_n "(cached) " >&6
10884 ac_check_lib_save_LIBS
=$LIBS
10886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10904 if ac_fn_c_try_link
"$LINENO"; then :
10905 ac_cv_lib_dl_dlopen
=yes
10907 ac_cv_lib_dl_dlopen
=no
10909 rm -f core conftest.err conftest.
$ac_objext \
10910 conftest
$ac_exeext conftest.
$ac_ext
10911 LIBS
=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10915 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10916 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10919 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10920 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10921 $as_echo_n "(cached) " >&6
10923 ac_check_lib_save_LIBS
=$LIBS
10924 LIBS
="-lsvld $LIBS"
10925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10943 if ac_fn_c_try_link
"$LINENO"; then :
10944 ac_cv_lib_svld_dlopen
=yes
10946 ac_cv_lib_svld_dlopen
=no
10948 rm -f core conftest.err conftest.
$ac_objext \
10949 conftest
$ac_exeext conftest.
$ac_ext
10950 LIBS
=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10953 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10954 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10955 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10958 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10959 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10960 $as_echo_n "(cached) " >&6
10962 ac_check_lib_save_LIBS
=$LIBS
10964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10977 return dld_link ();
10982 if ac_fn_c_try_link
"$LINENO"; then :
10983 ac_cv_lib_dld_dld_link
=yes
10985 ac_cv_lib_dld_dld_link
=no
10987 rm -f core conftest.err conftest.
$ac_objext \
10988 conftest
$ac_exeext conftest.
$ac_ext
10989 LIBS
=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10992 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10993 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10994 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11015 if test "x$lt_cv_dlopen" != xno
; then
11021 case $lt_cv_dlopen in
11023 save_CPPFLAGS
="$CPPFLAGS"
11024 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11026 save_LDFLAGS
="$LDFLAGS"
11027 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11030 LIBS
="$lt_cv_dlopen_libs $LIBS"
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11033 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11034 if test "${lt_cv_dlopen_self+set}" = set; then :
11035 $as_echo_n "(cached) " >&6
11037 if test "$cross_compiling" = yes; then :
11038 lt_cv_dlopen_self
=cross
11040 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11041 lt_status
=$lt_dlunknown
11042 cat > conftest.
$ac_ext <<_LT_EOF
11043 #line 11043 "configure"
11044 #include "confdefs.h"
11053 # define LT_DLGLOBAL RTLD_GLOBAL
11056 # define LT_DLGLOBAL DL_GLOBAL
11058 # define LT_DLGLOBAL 0
11062 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11063 find out it does not work in some platform. */
11064 #ifndef LT_DLLAZY_OR_NOW
11066 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11069 # define LT_DLLAZY_OR_NOW DL_LAZY
11072 # define LT_DLLAZY_OR_NOW RTLD_NOW
11075 # define LT_DLLAZY_OR_NOW DL_NOW
11077 # define LT_DLLAZY_OR_NOW 0
11084 /* When -fvisbility=hidden is used, assume the code has been annotated
11085 correspondingly for the symbols needed. */
11086 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11087 void fnord () __attribute__((visibility("default")));
11090 void fnord () { int i=42; }
11093 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11094 int status = $lt_dlunknown;
11098 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11101 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11102 else puts (dlerror ());
11104 /* dlclose (self); */
11112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11113 (eval $ac_link) 2>&5
11115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11116 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11117 (.
/conftest
; exit; ) >&5 2>/dev
/null
11119 case x
$lt_status in
11120 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11121 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11122 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11125 # compilation failed
11126 lt_cv_dlopen_self
=no
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11134 $as_echo "$lt_cv_dlopen_self" >&6; }
11136 if test "x$lt_cv_dlopen_self" = xyes
; then
11137 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11139 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11140 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11141 $as_echo_n "(cached) " >&6
11143 if test "$cross_compiling" = yes; then :
11144 lt_cv_dlopen_self_static
=cross
11146 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11147 lt_status
=$lt_dlunknown
11148 cat > conftest.
$ac_ext <<_LT_EOF
11149 #line 11149 "configure"
11150 #include "confdefs.h"
11159 # define LT_DLGLOBAL RTLD_GLOBAL
11162 # define LT_DLGLOBAL DL_GLOBAL
11164 # define LT_DLGLOBAL 0
11168 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11169 find out it does not work in some platform. */
11170 #ifndef LT_DLLAZY_OR_NOW
11172 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11175 # define LT_DLLAZY_OR_NOW DL_LAZY
11178 # define LT_DLLAZY_OR_NOW RTLD_NOW
11181 # define LT_DLLAZY_OR_NOW DL_NOW
11183 # define LT_DLLAZY_OR_NOW 0
11190 /* When -fvisbility=hidden is used, assume the code has been annotated
11191 correspondingly for the symbols needed. */
11192 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11193 void fnord () __attribute__((visibility("default")));
11196 void fnord () { int i=42; }
11199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11200 int status = $lt_dlunknown;
11204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11207 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11208 else puts (dlerror ());
11210 /* dlclose (self); */
11218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11219 (eval $ac_link) 2>&5
11221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11222 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11223 (.
/conftest
; exit; ) >&5 2>/dev
/null
11225 case x
$lt_status in
11226 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11227 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11228 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11231 # compilation failed
11232 lt_cv_dlopen_self_static
=no
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11240 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11243 CPPFLAGS
="$save_CPPFLAGS"
11244 LDFLAGS
="$save_LDFLAGS"
11249 case $lt_cv_dlopen_self in
11250 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11251 *) enable_dlopen_self
=unknown
;;
11254 case $lt_cv_dlopen_self_static in
11255 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11256 *) enable_dlopen_self_static
=unknown
;;
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11279 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11280 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11281 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11282 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11284 $as_echo "yes" >&6; }
11286 # FIXME - insert some real tests, host_os isn't really good enough
11289 if test -n "$STRIP" ; then
11290 striplib
="$STRIP -x"
11291 old_striplib
="$STRIP -S"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11293 $as_echo "yes" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11296 $as_echo "no" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11317 # Report which library types will actually be built
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11319 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11321 $as_echo "$can_build_shared" >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11324 $as_echo_n "checking whether to build shared libraries... " >&6; }
11325 test "$can_build_shared" = "no" && enable_shared
=no
11327 # On AIX, shared libraries and static libraries use the same namespace, and
11328 # are all built from PIC.
11331 test "$enable_shared" = yes && enable_static
=no
11332 if test -n "$RANLIB"; then
11333 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11334 postinstall_cmds
='$RANLIB $lib'
11339 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11340 test "$enable_shared" = yes && enable_static
=no
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11345 $as_echo "$enable_shared" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11348 $as_echo_n "checking whether to build static libraries... " >&6; }
11349 # Make sure either enable_shared or enable_static is yes.
11350 test "$enable_shared" = yes || enable_static
=yes
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11352 $as_echo "$enable_static" >&6; }
11359 ac_cpp
='$CPP $CPPFLAGS'
11360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11378 ac_config_commands
="$ac_config_commands libtool"
11383 # Only expand once:
11388 backtrace_supported
=yes
11390 if test -n "${with_target_subdir}"; then
11391 # We are compiling a GCC library. We can assume that the unwind
11393 # Default to --enable-multilib
11394 # Check whether --enable-multilib was given.
11395 if test "${enable_multilib+set}" = set; then :
11396 enableval
=$enable_multilib; case "$enableval" in
11397 yes) multilib
=yes ;;
11399 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
11406 # We may get other options which we leave undocumented:
11407 # --with-target-subdir, --with-multisrctop, --with-multisubdir
11408 # See config-ml.in if you want the gory details.
11410 if test "$srcdir" = "."; then
11411 if test "$with_target_subdir" != "."; then
11412 multi_basedir
="$srcdir/$with_multisrctop../.."
11414 multi_basedir
="$srcdir/$with_multisrctop.."
11417 multi_basedir
="$srcdir/.."
11421 # Even if the default multilib is not a cross compilation,
11422 # it may be that some of the other multilibs are.
11423 if test $cross_compiling = no
&& test $multilib = yes \
11424 && test "x${with_multisubdir}" != x
; then
11425 cross_compiling
=maybe
11428 ac_config_commands
="$ac_config_commands default-1"
11430 BACKTRACE_FILE
="backtrace.lo simple.lo"
11432 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11433 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
11434 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11435 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
11436 BACKTRACE_FILE
="backtrace.lo simple.lo"
11438 BACKTRACE_FILE
="nounwind.lo"
11439 backtrace_supported
=no
11443 BACKTRACE_FILE
="nounwind.lo"
11444 backtrace_supported
=no
11452 save_CFLAGS
="$CFLAGS"
11453 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11454 -Wmissing-prototypes -Wold-style-definition \
11455 -Wmissing-format-attribute -Wcast-qual; do
11456 # Do the check with the no- prefix removed since gcc silently
11457 # accepts any -Wno-* option on purpose
11458 case $real_option in
11459 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11460 *) option
=$real_option ;;
11462 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11465 $as_echo_n "checking whether $CC supports $option... " >&6; }
11466 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11467 $as_echo_n "(cached) " >&6
11470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11481 if ac_fn_c_try_compile
"$LINENO"; then :
11482 eval "$as_acx_Woption=yes"
11484 eval "$as_acx_Woption=no"
11486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11489 eval ac_res
=\$
$as_acx_Woption
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11491 $as_echo "$ac_res" >&6; }
11492 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11493 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11496 CFLAGS
="$save_CFLAGS"
11499 if test "x$GCC" = "xyes"; then
11500 WARN_FLAGS
="$WARN_FLAGS -Werror"
11507 # Check whether --with-system-libunwind was given.
11508 if test "${with_system_libunwind+set}" = set; then :
11509 withval
=$with_system_libunwind;
11512 # If system-libunwind was not specifically set, pick a default setting.
11513 if test x
$with_system_libunwind = x
; then
11515 ia64-
*-hpux*) with_system_libunwind
=yes ;;
11516 *) with_system_libunwind
=no
;;
11519 # Based on system-libunwind and target, do we have ipinfo?
11520 if test x
$with_system_libunwind = xyes
; then
11522 ia64-
*-*) have_unwind_getipinfo
=no
;;
11523 *) have_unwind_getipinfo
=yes ;;
11526 # Darwin before version 9 does not have _Unwind_GetIPInfo.
11529 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
11530 *) have_unwind_getipinfo
=yes ;;
11535 if test x
$have_unwind_getipinfo = xyes
; then
11537 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11542 # When building as a target library, shared libraries may want to link
11543 # this in. We don't want to provide another shared library to
11544 # complicate dependencies. Instead, we just compile with -fPIC.
11546 if test -n "${with_target_subdir}"; then
11551 # Test for __sync support.
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
11553 $as_echo_n "checking __sync extensions... " >&6; }
11554 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11557 if test -n "${with_target_subdir}"; then
11558 libbacktrace_cv_sys_sync
=yes
11560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11566 __sync_bool_compare_and_swap (&i, i, i);
11567 __sync_lock_test_and_set (&i, 1);
11568 __sync_lock_release (&i);
11573 if ac_fn_c_try_link
"$LINENO"; then :
11574 libbacktrace_cv_sys_sync
=yes
11576 libbacktrace_cv_sys_sync
=no
11578 rm -f core conftest.err conftest.
$ac_objext \
11579 conftest
$ac_exeext conftest.
$ac_ext
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
11583 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
11584 BACKTRACE_SUPPORTS_THREADS
=0
11585 if test "$libbacktrace_cv_sys_sync" = "yes"; then
11586 BACKTRACE_SUPPORTS_THREADS
=1
11588 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
11593 # The library needs to be able to read the executable itself. Compile
11594 # a file to determine the executable format. The awk script
11595 # filetype.awk prints out the file type.
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
11597 $as_echo_n "checking output filetype... " >&6; }
11598 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
11599 $as_echo_n "(cached) " >&6
11602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11613 if ac_fn_c_try_compile
"$LINENO"; then :
11614 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
11616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11618 as_fn_error
"compiler failed
11619 See \`config.log' for more details." "$LINENO" 5; }
11621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11622 libbacktrace_cv_sys_filetype
=$filetype
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
11625 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
11627 # Match the file type to decide what files to compile.
11629 case "$libbacktrace_cv_sys_filetype" in
11630 elf
*) FORMAT_FILE
="elf.lo" ;;
11631 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
11632 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
11633 FORMAT_FILE
="unknown.lo"
11634 backtrace_supported
=no
11641 case "$libbacktrace_cv_sys_filetype" in
11642 elf32
) elfsize
=32 ;;
11643 elf64
) elfsize
=64 ;;
11646 cat >>confdefs.h
<<_ACEOF
11647 #define BACKTRACE_ELF_SIZE $elfsize
11651 BACKTRACE_SUPPORTED
=0
11652 if test "$backtrace_supported" = "yes"; then
11653 BACKTRACE_SUPPORTED
=1
11657 for ac_header
in sys
/mman.h
11659 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
11660 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
11661 cat >>confdefs.h
<<_ACEOF
11662 #define HAVE_SYS_MMAN_H 1
11669 if test "$ac_cv_header_sys_mman_h" = "no"; then
11672 if test -n "${with_target_subdir}"; then
11673 # When built as a GCC target library, we can't do a link test. We
11674 # simply assume that if we have mman.h, we have mmap.
11677 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
11678 if test "x$ac_cv_func_mmap" = x
""yes; then :
11686 if test "$have_mmap" = "no"; then
11688 ALLOC_FILE
=alloc.lo
11690 VIEW_FILE
=mmapio.lo
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 #include <sys/mman.h>
11695 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
11696 #error no MAP_ANONYMOUS
11700 if ac_fn_c_try_cpp
"$LINENO"; then :
11703 ALLOC_FILE
=alloc.lo
11705 rm -f conftest.err conftest.
$ac_ext
11710 BACKTRACE_USES_MALLOC
=0
11711 if test "$ALLOC_FILE" = "alloc.lo"; then
11712 BACKTRACE_USES_MALLOC
=1
11716 # Check for the fcntl function.
11717 if test -n "${with_target_subdir}"; then
11719 *-*-mingw*) have_fcntl
=no
;;
11720 *) have_fcntl
=yes ;;
11723 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
11724 if test "x$ac_cv_func_fcntl" = x
""yes; then :
11731 if test "$have_fcntl" = "yes"; then
11733 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
11737 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
11738 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
11744 cat >>confdefs.h
<<_ACEOF
11745 #define HAVE_DECL_STRNLEN $ac_have_decl
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
11750 $as_echo_n "checking whether tests can run... " >&6; }
11751 if test "${libbacktrace_cv_sys_native+set}" = set; then :
11752 $as_echo_n "(cached) " >&6
11754 if test "$cross_compiling" = yes; then :
11755 libbacktrace_cv_sys_native
=no
11757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11768 if ac_fn_c_try_run
"$LINENO"; then :
11769 libbacktrace_cv_sys_native
=yes
11771 libbacktrace_cv_sys_native
=no
11773 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11774 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
11779 $as_echo "$libbacktrace_cv_sys_native" >&6; }
11780 if test "$libbacktrace_cv_sys_native" = "yes"; then
11789 if test "${multilib}" = "yes"; then
11790 multilib_arg
="--enable-multilib"
11795 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
11798 # We need multilib support, but only if configuring for the target.
11799 ac_config_commands
="$ac_config_commands default"
11802 cat >confcache
<<\_ACEOF
11803 # This file is a shell script that caches the results of configure
11804 # tests run on this system so they can be shared between configure
11805 # scripts and configure runs, see configure's option --config-cache.
11806 # It is not useful on other systems. If it contains results you don't
11807 # want to keep, you may remove or edit it.
11809 # config.status only pays attention to the cache file if you give it
11810 # the --recheck option to rerun configure.
11812 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11813 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11814 # following values.
11818 # The following way of writing the cache mishandles newlines in values,
11819 # but we know of no workaround that is simple, portable, and efficient.
11820 # So, we kill variables containing newlines.
11821 # Ultrix sh set writes to stderr and can't be redirected directly,
11822 # and sets the high bit in the cache file unless we assign to the vars.
11824 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11825 eval ac_val
=\$
$ac_var
11829 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11830 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11833 _ | IFS | as_nl
) ;; #(
11834 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11835 *) { eval $ac_var=; unset $ac_var;} ;;
11841 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11842 *${as_nl}ac_space
=\
*)
11843 # `set' does not quote correctly, so add quotes: double-quote
11844 # substitution turns \\\\ into \\, and sed turns \\ into \.
11847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11850 # `set' quotes correctly as required by POSIX, so do not add quotes.
11851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11862 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11864 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11865 if test -w "$cache_file"; then
11866 test "x$cache_file" != "x/dev/null" &&
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11868 $as_echo "$as_me: updating cache $cache_file" >&6;}
11869 cat confcache
>$cache_file
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11872 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11877 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11878 # Let make expand exec_prefix.
11879 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11881 DEFS
=-DHAVE_CONFIG_H
11885 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11886 # 1. Remove the extension, and $U if already installed.
11887 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11888 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11889 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11890 # will be set to the directory where LIBOBJS objects are built.
11891 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11892 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11894 LIBOBJS
=$ac_libobjs
11896 LTLIBOBJS
=$ac_ltlibobjs
11899 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11900 as_fn_error
"conditional \"AMDEP\" was never defined.
11901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11903 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11904 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11907 if test -n "$EXEEXT"; then
11909 am__EXEEXT_FALSE
='#'
11911 am__EXEEXT_TRUE
='#'
11915 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11916 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11919 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
11920 as_fn_error
"conditional \"NATIVE\" was never defined.
11921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11924 : ${CONFIG_STATUS=./config.status}
11926 ac_clean_files_save
=$ac_clean_files
11927 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11929 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11931 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11933 # Generated by $as_me.
11934 # Run this file to recreate the current configuration.
11935 # Compiler output produced by configure, useful for debugging
11936 # configure, is in config.log if it exists.
11939 ac_cs_recheck=false
11942 SHELL=\${CONFIG_SHELL-$SHELL}
11945 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11946 ## -------------------- ##
11947 ## M4sh Initialization. ##
11948 ## -------------------- ##
11950 # Be more Bourne compatible
11951 DUALCASE
=1; export DUALCASE
# for MKS sh
11952 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11955 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11956 # is contrary to our usage. Disable this feature.
11957 alias -g '${1+"$@"}'='"$@"'
11958 setopt NO_GLOB_SUBST
11960 case `(set -o) 2>/dev/null` in #(
11972 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11973 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11976 # Prefer a ksh shell builtin over an external printf program on Solaris,
11977 # but without wasting forks for bash or zsh.
11978 if test -z "$BASH_VERSION$ZSH_VERSION" \
11979 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11980 as_echo='print
-r --'
11981 as_echo_n='print
-rn --'
11982 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11983 as_echo='printf %s
\n'
11984 as_echo_n='printf %s
'
11986 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11987 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11988 as_echo_n='/usr
/ucb
/echo -n'
11990 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11991 as_echo_n_body='eval
11995 expr "X$arg" : "X\\(.*\\)$as_nl";
11996 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11998 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12000 export as_echo_n_body
12001 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12003 export as_echo_body
12004 as_echo='sh
-c $as_echo_body as_echo
'
12007 # The user is always right.
12008 if test "${PATH_SEPARATOR+set}" != set; then
12010 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12011 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12018 # We need space, tab and new line, in precisely that order. Quoting is
12019 # there to prevent editors from complaining about space-tab.
12020 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12021 # splitting by setting IFS to empty value.)
12024 # Find who we are. Look in the path if we contain no directory separator.
12026 *[\\/]* ) as_myself=$0 ;;
12027 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12028 for as_dir in $PATH
12031 test -z "$as_dir" && as_dir=.
12032 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12038 # We did not find ourselves, most probably we were run as `sh COMMAND'
12039 # in which case we are not to be found in the path.
12040 if test "x$as_myself" = x
; then
12043 if test ! -f "$as_myself"; then
12044 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12048 # Unset variables that we do not need and which cause bugs (e.g. in
12049 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12050 # suppresses any "Segmentation fault" message there. '((' could
12051 # trigger a bug in pdksh 5.2.14.
12052 for as_var
in BASH_ENV ENV MAIL MAILPATH
12053 do eval test x\
${$as_var+set} = xset \
12054 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12067 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12070 # as_fn_error ERROR [LINENO LOG_FD]
12071 # ---------------------------------
12072 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12073 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12074 # script with status $?, using 1 if that was 0.
12077 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12079 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12080 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12082 $as_echo "$as_me: error: $1" >&2
12083 as_fn_exit
$as_status
12087 # as_fn_set_status STATUS
12088 # -----------------------
12089 # Set $? to STATUS, without forking.
12090 as_fn_set_status
()
12093 } # as_fn_set_status
12095 # as_fn_exit STATUS
12096 # -----------------
12097 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12101 as_fn_set_status
$1
12107 # Portably unset VAR.
12110 { eval $1=; unset $1;}
12112 as_unset
=as_fn_unset
12113 # as_fn_append VAR VALUE
12114 # ----------------------
12115 # Append the text in VALUE to the end of the definition contained in VAR. Take
12116 # advantage of any shell optimizations that allow amortized linear growth over
12117 # repeated appends, instead of the typical quadratic growth present in naive
12119 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12120 eval 'as_fn_append ()
12131 # as_fn_arith ARG...
12132 # ------------------
12133 # Perform arithmetic evaluation on the ARGs, and store the result in the
12134 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12135 # must be portable across $(()) and expr.
12136 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12137 eval 'as_fn_arith ()
12144 as_val
=`expr "$@" || test $? -eq 1`
12149 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12150 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12156 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12157 as_basename
=basename
12162 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12168 as_me
=`$as_basename -- "$0" ||
12169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12170 X"$0" : 'X\(//\)$' \| \
12171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12173 sed '/^.*\/\([^/][^/]*\)\/*$/{
12187 # Avoid depending upon Character Ranges.
12188 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12189 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12190 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12191 as_cr_digits
='0123456789'
12192 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12194 ECHO_C
= ECHO_N
= ECHO_T
=
12195 case `echo -n x` in #(((((
12197 case `echo 'xy\c'` in
12198 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12200 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12207 rm -f conf$$ conf$$.exe conf$$.
file
12208 if test -d conf$$.dir
; then
12209 rm -f conf$$.dir
/conf$$.
file
12212 mkdir conf$$.dir
2>/dev
/null
12214 if (echo >conf$$.
file) 2>/dev
/null
; then
12215 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12217 # ... but there are two gotchas:
12218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12220 # In both cases, we have to default to `cp -p'.
12221 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12223 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12231 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12232 rmdir conf$$.dir
2>/dev
/null
12237 # Create "$as_dir" as a directory, including parents if necessary.
12242 -*) as_dir
=.
/$as_dir;;
12244 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12248 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12249 *) as_qdir
=$as_dir;;
12251 as_dirs
="'$as_qdir' $as_dirs"
12252 as_dir
=`$as_dirname -- "$as_dir" ||
12253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12254 X"$as_dir" : 'X\(//\)[^/]' \| \
12255 X"$as_dir" : 'X\(//\)$' \| \
12256 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12257 $as_echo X"$as_dir" |
12258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12262 /^X\(\/\/\)[^/].*/{
12275 test -d "$as_dir" && break
12277 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12278 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12282 if mkdir
-p .
2>/dev
/null
; then
12283 as_mkdir_p
='mkdir -p "$as_dir"'
12285 test -d .
/-p && rmdir .
/-p
12289 if test -x / >/dev
/null
2>&1; then
12290 as_test_x
='test -x'
12292 if ls -dL / >/dev
/null
2>&1; then
12299 if test -d "$1"; then
12305 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12306 ???[sx]*):;;*)false;;esac;fi
12310 as_executable_p
=$as_test_x
12312 # Sed expression to map a string onto a valid CPP name.
12313 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12315 # Sed expression to map a string onto a valid variable name.
12316 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12320 ## ----------------------------------- ##
12321 ## Main body of $CONFIG_STATUS script. ##
12322 ## ----------------------------------- ##
12324 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12327 # Save the log message, to keep $0 and so on meaningful, and to
12328 # report actual input values of CONFIG_FILES etc. instead of their
12329 # values after options handling.
12331 This file was extended by package-unused $as_me version-unused, which was
12332 generated by GNU Autoconf 2.64. Invocation command line was
12334 CONFIG_FILES = $CONFIG_FILES
12335 CONFIG_HEADERS = $CONFIG_HEADERS
12336 CONFIG_LINKS = $CONFIG_LINKS
12337 CONFIG_COMMANDS = $CONFIG_COMMANDS
12340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12345 case $ac_config_files in *"
12346 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12349 case $ac_config_headers in *"
12350 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12355 # Files that config.status was made for.
12356 config_files="$ac_config_files"
12357 config_headers="$ac_config_headers"
12358 config_commands="$ac_config_commands"
12362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12364 \`$as_me' instantiates files and other configuration actions
12365 from templates according to the current configuration. Unless the files
12366 and actions are specified as TAGs, all are instantiated by default.
12368 Usage: $0 [OPTION]... [TAG]...
12370 -h, --help print this help, then exit
12371 -V, --version print version number and configuration settings, then exit
12372 -q, --quiet, --silent
12373 do not print progress messages
12374 -d, --debug don't remove temporary files
12375 --recheck update $as_me by reconfiguring in the same conditions
12376 --file=FILE[:TEMPLATE]
12377 instantiate the configuration file FILE
12378 --header=FILE[:TEMPLATE]
12379 instantiate the configuration header FILE
12381 Configuration files:
12384 Configuration headers:
12387 Configuration commands:
12390 Report bugs to the package provider."
12393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12395 package-unused config.status version-unused
12396 configured by $0, generated by GNU Autoconf 2.64,
12397 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12399 Copyright (C) 2009 Free Software Foundation, Inc.
12400 This config.status script is free software; the Free Software Foundation
12401 gives unlimited permission to copy, distribute and modify it."
12408 test -n "\$AWK" || AWK=awk
12411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12412 # The default lists apply if the user does not specify any file.
12418 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12419 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12430 # Handling of the options.
12431 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12433 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12434 $as_echo "$ac_cs_version"; exit ;;
12435 --debug |
--debu |
--deb |
--de |
--d |
-d )
12437 --file |
--fil |
--fi |
--f )
12440 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12442 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12443 ac_need_defaults
=false
;;
12444 --header |
--heade |
--head |
--hea )
12447 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12449 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12450 ac_need_defaults
=false
;;
12452 # Conflict between --help and --header
12453 as_fn_error
"ambiguous option: \`$1'
12454 Try \`$0 --help' for more information.";;
12455 --help |
--hel |
-h )
12456 $as_echo "$ac_cs_usage"; exit ;;
12457 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12458 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12461 # This is an error.
12462 -*) as_fn_error
"unrecognized option: \`$1'
12463 Try \`$0 --help' for more information." ;;
12465 *) as_fn_append ac_config_targets
" $1"
12466 ac_need_defaults
=false
;;
12472 ac_configure_extra_args
=
12474 if $ac_cs_silent; then
12476 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12481 if \$ac_cs_recheck; then
12482 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12484 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12485 CONFIG_SHELL='$SHELL'
12486 export CONFIG_SHELL
12491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12495 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12496 ## Running $as_me. ##
12502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12506 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12509 # The HP-UX ksh and POSIX shell print the target directory to stdout
12510 # if CDPATH is set.
12511 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12513 sed_quote_subst='$sed_quote_subst'
12514 double_quote_subst='$double_quote_subst'
12515 delay_variable_subst='$delay_variable_subst'
12516 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12517 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12518 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12519 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12520 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12521 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12522 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12523 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12524 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12525 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12526 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12527 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12528 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12529 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12530 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12531 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12532 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12533 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12534 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12535 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12536 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12537 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12538 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12539 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12540 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12541 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12542 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12543 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12544 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12545 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12546 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12547 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12548 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12549 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12550 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12551 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12552 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12553 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12554 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12555 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12556 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12557 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12558 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12559 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12560 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12561 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12562 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12563 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12564 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"`'
12565 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12566 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12567 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12568 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12569 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12570 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12571 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12572 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12573 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12574 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12575 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12576 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12577 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12578 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12579 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12580 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12581 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12582 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12583 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12584 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12585 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12586 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12587 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12588 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12589 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12590 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12591 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12592 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12593 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12594 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12595 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12596 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12597 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12598 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12599 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12600 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12601 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12602 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12603 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12604 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12605 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12606 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12607 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12608 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12609 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12610 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12611 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12612 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12613 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12614 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12615 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12616 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12617 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12618 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12619 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12620 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12621 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12622 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12623 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12624 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12625 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12626 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12627 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12628 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12629 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12630 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12631 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12632 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12633 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12634 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12635 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12638 LTCFLAGS='$LTCFLAGS'
12639 compiler='$compiler_DEFAULT'
12641 # A function that is used when there is no print builtin or printf.
12642 func_fallback_echo ()
12644 eval 'cat <<_LTECHO_EOF
12649 # Quote evaled strings.
12663 deplibs_check_method \
12672 lt_cv_sys_global_symbol_pipe \
12673 lt_cv_sys_global_symbol_to_cdecl \
12674 lt_cv_sys_global_symbol_to_c_name_address \
12675 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12676 lt_prog_compiler_no_builtin_flag \
12677 lt_prog_compiler_wl \
12678 lt_prog_compiler_pic \
12679 lt_prog_compiler_static \
12680 lt_cv_prog_compiler_c_o \
12688 export_dynamic_flag_spec \
12689 whole_archive_flag_spec \
12690 compiler_needs_object \
12692 allow_undefined_flag \
12693 no_undefined_flag \
12694 hardcode_libdir_flag_spec \
12695 hardcode_libdir_flag_spec_ld \
12696 hardcode_libdir_separator \
12701 variables_saved_for_relink \
12703 library_names_spec \
12705 install_override_mode \
12709 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12710 *[\\\\\\\`\\"\\\$]*)
12711 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12714 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12719 # Double-quote double-evaled strings.
12720 for var in reload_cmds \
12721 old_postinstall_cmds \
12722 old_postuninstall_cmds \
12724 extract_expsyms_cmds \
12725 old_archive_from_new_cmds \
12726 old_archive_from_expsyms_cmds \
12728 archive_expsym_cmds \
12730 module_expsym_cmds \
12731 export_symbols_cmds \
12734 postuninstall_cmds \
12736 sys_lib_search_path_spec \
12737 sys_lib_dlsearch_path_spec; do
12738 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12739 *[\\\\\\\`\\"\\\$]*)
12740 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12743 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12748 ac_aux_dir='$ac_aux_dir'
12749 xsi_shell='$xsi_shell'
12750 lt_shell_append='$lt_shell_append'
12752 # See if we are running on zsh, and set the options which allow our
12753 # commands through without removal of \ escapes INIT.
12754 if test -n "\${ZSH_VERSION+set}" ; then
12755 setopt NO_GLOB_SUBST
12761 TIMESTAMP='$TIMESTAMP'
12771 with_multisubdir="$with_multisubdir"
12772 with_multisrctop="$with_multisrctop"
12773 with_target_subdir="$with_target_subdir"
12774 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12775 multi_basedir="$multi_basedir"
12776 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12779 GFORTRAN="$GFORTRAN"
12782 # Variables needed in config.status (file generation) which aren't already
12783 # passed by autoconf.
12789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12791 # Handling of arguments.
12792 for ac_config_target
in $ac_config_targets
12794 case $ac_config_target in
12795 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12796 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12797 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12798 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12799 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12800 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
12801 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12803 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12808 # If the user did not use the arguments to specify the items to instantiate,
12809 # then the envvar interface is used. Set only those that are not.
12810 # We use the long form for the default assignment because of an extremely
12811 # bizarre bug on SunOS 4.1.3.
12812 if $ac_need_defaults; then
12813 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12814 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12818 # Have a temporary directory for convenience. Make it in the build tree
12819 # simply because there is no reason against having it here, and in addition,
12820 # creating and moving files from /tmp can sometimes cause problems.
12821 # Hook for its removal unless debugging.
12822 # Note that there is a small window in which the directory will not be cleaned:
12823 # after its creation but before its name has been assigned to `$tmp'.
12827 trap 'exit_status=$?
12828 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12830 trap 'as_fn_exit 1' 1 2 13 15
12832 # Create a (secure) tmp directory for tmp files.
12835 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12836 test -n "$tmp" && test -d "$tmp"
12839 tmp
=.
/conf$$
-$RANDOM
12840 (umask 077 && mkdir
"$tmp")
12841 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12843 # Set up the scripts for CONFIG_FILES section.
12844 # No need to generate them if there are no CONFIG_FILES.
12845 # This happens for instance with `./config.status config.h'.
12846 if test -n "$CONFIG_FILES"; then
12849 ac_cr
=`echo X | tr X '\015'`
12850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12851 # But we know of no other shell where ac_cr would be empty at this
12852 # point, so we can use a bashism as a fallback.
12853 if test "x$ac_cr" = x
; then
12854 eval ac_cr
=\$
\'\\r
\'
12856 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12860 ac_cs_awk_cr
=$ac_cr
12863 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12868 echo "cat >conf$$subs.awk <<_ACEOF" &&
12869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12871 } >conf$$subs.sh ||
12872 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12875 for ac_last_try in false false false false false :; do
12876 . ./conf$$subs.sh ||
12877 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12879 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12880 if test $ac_delim_n = $ac_delim_num; then
12882 elif $ac_last_try; then
12883 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12885 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12888 rm -f conf$$subs.sh
12890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12891 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12895 s/^/S["/; s
/!.
*/"]=/
12905 s/\(.\{148\}\).*/\1/
12907 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12912 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12919 s/\(.\{148\}\).*/\1/
12921 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12925 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12930 ' <conf$$subs.awk | sed '
12935 ' >>$CONFIG_STATUS || ac_write_fail=1
12936 rm -f conf$$subs.awk
12937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12939 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12940 for (key in S) S_is_set[key] = 1
12946 nfields = split(line, field, "@
")
12948 len = length(field[1])
12949 for (i = 2; i < nfields; i++) {
12951 keylen = length(key)
12952 if (S_is_set[key]) {
12954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12955 len += length(value) + length(field[++i])
12966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12967 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12968 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12971 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12972 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12975 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12976 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12977 # trailing colons and then remove the whole line if VPATH becomes empty
12978 # (actually we leave an empty line to preserve line numbers).
12979 if test "x
$srcdir" = x.; then
12980 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12981 s/:*\$(srcdir):*/:/
12982 s/:*\${srcdir}:*/:/
12984 s/^\([^=]*=[ ]*\):*/\1/
12990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12991 fi # test -n "$CONFIG_FILES"
12993 # Set up the scripts for CONFIG_HEADERS section.
12994 # No need to generate them if there are no CONFIG_HEADERS.
12995 # This happens for instance with `./config.status Makefile'.
12996 if test -n "$CONFIG_HEADERS"; then
12997 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13001 # Transform confdefs.h into an awk script `defines.awk', embedded as
13002 # here-document in config.status, that substitutes the proper values into
13003 # config.h.in to produce config.h.
13005 # Create a delimiter string that does not exist in confdefs.h, to ease
13006 # handling of long lines.
13008 for ac_last_try in false false :; do
13009 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13010 if test -z "$ac_t"; then
13012 elif $ac_last_try; then
13013 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13015 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13019 # For the awk script, D is an array of macro values keyed by name,
13020 # likewise P contains macro parameters if any. Preserve backslash
13021 # newline sequences.
13023 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13025 s/.\{148\}/&'"$ac_delim"'/g
13028 s/^[ ]*#[ ]*define[ ][ ]*/ /
13035 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13037 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13041 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13042 D["\
1"]=" \
3\\\\\\n
"\\/p
13044 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13049 s/.\{148\}/&'"$ac_delim"'/g
13054 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13057 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13059 ' <confdefs.h | sed '
13060 s/'"$ac_delim"'/"\\\
13061 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13064 for (key in D) D_is_set[key] = 1
13067 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13069 split(line, arg, " ")
13070 if (arg[1] == "#") {
13074 defundef
= substr
(arg
[1], 2)
13077 split(mac1
, mac2
, "(") #)
13079 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13080 if (D_is_set
[macro
]) {
13081 # Preserve the white space surrounding the "#".
13082 print prefix
"define", macro P
[macro
] D
[macro
]
13085 # Replace #undef with comments. This is necessary, for example,
13086 # in the case of _POSIX_SOURCE, which is predefined and required
13087 # on some systems where configure will not decide to define it.
13088 if (defundef
== "undef") {
13089 print
"/*", prefix defundef
, macro
, "*/"
13097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13098 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13099 fi # test -n "$CONFIG_HEADERS"
13102 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13107 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13109 case $ac_mode$ac_tag in
13111 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13112 :[FH
]-) ac_tag
=-:-;;
13113 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13130 -) ac_f
="$tmp/stdin";;
13131 *) # Look for the file first in the build tree, then in the source tree
13132 # (if the path is not absolute). The absolute path cannot be DOS-style,
13133 # because $ac_f cannot contain `:'.
13137 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13139 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13141 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13142 as_fn_append ac_file_inputs
" '$ac_f'"
13145 # Let's still pretend it is `configure' which instantiates (i.e., don't
13146 # use $as_me), people would be surprised to read:
13147 # /* config.h. Generated by config.status. */
13148 configure_input
='Generated from '`
13149 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13151 if test x
"$ac_file" != x-
; then
13152 configure_input
="$ac_file. $configure_input"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13154 $as_echo "$as_me: creating $ac_file" >&6;}
13156 # Neutralize special characters interpreted by sed in replacement strings.
13157 case $configure_input in #(
13158 *\
&* |
*\|
* |
*\\* )
13159 ac_sed_conf_input
=`$as_echo "$configure_input" |
13160 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13161 *) ac_sed_conf_input
=$configure_input;;
13165 *:-:* |
*:-) cat >"$tmp/stdin" \
13166 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13171 ac_dir
=`$as_dirname -- "$ac_file" ||
13172 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13173 X"$ac_file" : 'X\(//\)[^/]' \| \
13174 X"$ac_file" : 'X\(//\)$' \| \
13175 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13176 $as_echo X"$ac_file" |
13177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13181 /^X\(\/\/\)[^/].*/{
13194 as_dir
="$ac_dir"; as_fn_mkdir_p
13198 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13200 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13201 # A ".." for each directory in $ac_dir_suffix.
13202 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13203 case $ac_top_builddir_sub in
13204 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13205 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13208 ac_abs_top_builddir
=$ac_pwd
13209 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13210 # for backward compatibility:
13211 ac_top_builddir
=$ac_top_build_prefix
13214 .
) # We are building in place.
13216 ac_top_srcdir
=$ac_top_builddir_sub
13217 ac_abs_top_srcdir
=$ac_pwd ;;
13218 [\\/]* | ?
:[\\/]* ) # Absolute name.
13219 ac_srcdir
=$srcdir$ac_dir_suffix;
13220 ac_top_srcdir
=$srcdir
13221 ac_abs_top_srcdir
=$srcdir ;;
13222 *) # Relative name.
13223 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13224 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13225 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13227 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13237 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13238 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13240 ac_MKDIR_P
=$MKDIR_P
13242 [\\/$
]* | ?
:[\\/]* ) ;;
13243 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13248 # If the template does not know about datarootdir, expand it.
13249 # FIXME: This hack should be removed a few years after 2.60.
13250 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13261 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13262 *datarootdir
*) ac_datarootdir_seen
=yes;;
13263 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13265 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13268 ac_datarootdir_hack='
13269 s&@datadir@&$datadir&g
13270 s&@docdir@&$docdir&g
13271 s&@infodir@&$infodir&g
13272 s&@localedir@&$localedir&g
13273 s&@mandir@&$mandir&g
13274 s&\\\${datarootdir}&$datarootdir&g' ;;
13278 # Neutralize VPATH when `$srcdir' = `.'.
13279 # Shell code in configure.ac might set extrasub.
13280 # FIXME: do we really want to maintain this feature?
13281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13282 ac_sed_extra="$ac_vpsub
13285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13287 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13288 s|@configure_input@|
$ac_sed_conf_input|
;t t
13289 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13290 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13291 s
&@srcdir@
&$ac_srcdir&;t t
13292 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13293 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13294 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13295 s
&@builddir@
&$ac_builddir&;t t
13296 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13297 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13298 s
&@INSTALL@
&$ac_INSTALL&;t t
13299 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13300 $ac_datarootdir_hack
13302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13303 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13306 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13309 which seems to be undefined. Please make sure it is defined." >&5
13310 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13311 which seems to be undefined. Please make sure it is defined." >&2;}
13315 -) cat "$tmp/out" && rm -f "$tmp/out";;
13316 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13318 || as_fn_error "could not create $ac_file" "$LINENO" 5
13324 if test x"$ac_file" != x-; then
13326 $as_echo "/* $configure_input */" \
13327 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13328 } >"$tmp/config.h" \
13329 || as_fn_error "could not create $ac_file" "$LINENO" 5
13330 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13335 mv "$tmp/config.h" "$ac_file" \
13336 || as_fn_error "could not create $ac_file" "$LINENO" 5
13339 $as_echo "/* $configure_input */" \
13340 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13341 || as_fn_error "could not create -" "$LINENO" 5
13343 # Compute "$ac_file"'s index
in $config_headers.
13346 for _am_header
in $config_headers :; do
13347 case $_am_header in
13348 $_am_arg |
$_am_arg:* )
13351 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13354 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13355 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13356 X"$_am_arg" : 'X\(//\)[^/]' \| \
13357 X"$_am_arg" : 'X\(//\)$' \| \
13358 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13359 $as_echo X"$_am_arg" |
13360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13364 /^X\(\/\/\)[^/].*/{
13376 s/.*/./; q'`/stamp-h
$_am_stamp_count
13379 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13380 $as_echo "$as_me: executing $ac_file commands" >&6;}
13385 case $ac_file$ac_mode in
13386 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13387 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13388 # are listed without --file. Let's play safe and only enable the eval
13389 # if we detect the quoting.
13390 case $CONFIG_FILES in
13391 *\'*) eval set x
"$CONFIG_FILES" ;;
13392 *) set x
$CONFIG_FILES ;;
13397 # Strip MF so we end up with the name of the file.
13398 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13399 # Check whether this is an Automake generated Makefile or not.
13400 # We used to match only the files named `Makefile.in', but
13401 # some people rename them; so instead we look at the file content.
13402 # Grep'ing the first line is not enough: some people post-process
13403 # each Makefile.in and add a new line on top of each file to say so.
13404 # Grep'ing the whole file is not good either: AIX grep has a line
13405 # limit of 2048, but all sed's we know have understand at least 4000.
13406 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13407 dirpart
=`$as_dirname -- "$mf" ||
13408 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13409 X"$mf" : 'X\(//\)[^/]' \| \
13410 X"$mf" : 'X\(//\)$' \| \
13411 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13417 /^X\(\/\/\)[^/].*/{
13433 # Extract the definition of DEPDIR, am__include, and am__quote
13434 # from the Makefile without running `make'.
13435 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13436 test -z "$DEPDIR" && continue
13437 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13438 test -z "am__include" && continue
13439 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13440 # When using ansi2knr, U may be empty or an underscore; expand it
13441 U
=`sed -n 's/^U = //p' < "$mf"`
13442 # Find all dependency output files, they are included files with
13443 # $(DEPDIR) in their names. We invoke sed twice because it is the
13444 # simplest approach to changing $(DEPDIR) to its actual value in the
13446 for file in `sed -n "
13447 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13448 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13449 # Make sure the directory exists.
13450 test -f "$dirpart/$file" && continue
13451 fdir
=`$as_dirname -- "$file" ||
13452 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13453 X"$file" : 'X\(//\)[^/]' \| \
13454 X"$file" : 'X\(//\)$' \| \
13455 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13456 $as_echo X"$file" |
13457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13461 /^X\(\/\/\)[^/].*/{
13474 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13475 # echo "creating $dirpart/$file"
13476 echo '# dummy' > "$dirpart/$file"
13483 # See if we are running on zsh, and set the options which allow our
13484 # commands through without removal of \ escapes.
13485 if test -n "${ZSH_VERSION+set}" ; then
13486 setopt NO_GLOB_SUBST
13489 cfgfile
="${ofile}T"
13490 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13493 cat <<_LT_EOF >> "$cfgfile"
13496 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13497 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13498 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13499 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13501 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13502 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13503 # Written by Gordon Matzigkeit, 1996
13505 # This file is part of GNU Libtool.
13507 # GNU Libtool is free software; you can redistribute it and/or
13508 # modify it under the terms of the GNU General Public License as
13509 # published by the Free Software Foundation; either version 2 of
13510 # the License, or (at your option) any later version.
13512 # As a special exception to the GNU General Public License,
13513 # if you distribute this file as part of a program or library that
13514 # is built using GNU Libtool, you may include this file under the
13515 # same distribution terms that you use for the rest of that program.
13517 # GNU Libtool is distributed in the hope that it will be useful,
13518 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13519 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13520 # GNU General Public License for more details.
13522 # You should have received a copy of the GNU General Public License
13523 # along with GNU Libtool; see the file COPYING. If not, a copy
13524 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13525 # obtained by writing to the Free Software Foundation, Inc.,
13526 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13529 # The names of the tagged configurations supported by this script.
13532 # ### BEGIN LIBTOOL CONFIG
13534 # Which release of libtool.m4 was used?
13535 macro_version=$macro_version
13536 macro_revision=$macro_revision
13538 # Whether or not to build shared libraries.
13539 build_libtool_libs=$enable_shared
13541 # Whether or not to build static libraries.
13542 build_old_libs=$enable_static
13544 # What type of objects to build.
13547 # Whether or not to optimize for fast installation.
13548 fast_install=$enable_fast_install
13550 # Shell to use when invoking shell scripts.
13553 # An echo program that protects backslashes.
13557 host_alias=$host_alias
13561 # The build system.
13562 build_alias=$build_alias
13566 # A sed program that does not truncate output.
13569 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13570 Xsed="\$SED -e 1s/^X//"
13572 # A grep program that handles long lines.
13578 # A literal string matcher.
13581 # A BSD- or MS-compatible name lister.
13584 # Whether we need soft or hard links.
13587 # What is the maximum length of a command?
13588 max_cmd_len=$max_cmd_len
13590 # Object file suffix (normally "o").
13593 # Executable file suffix (normally "").
13596 # whether the shell understands "unset".
13599 # turn spaces into newlines.
13602 # turn newlines into spaces.
13605 # An object symbol dumper.
13606 OBJDUMP=$lt_OBJDUMP
13608 # Method to check whether dependent libraries are shared objects.
13609 deplibs_check_method=$lt_deplibs_check_method
13611 # Command to use when deplibs_check_method == "file_magic".
13612 file_magic_cmd=$lt_file_magic_cmd
13616 AR_FLAGS=$lt_AR_FLAGS
13618 # A symbol stripping program.
13621 # Commands used to install an old-style archive.
13623 old_postinstall_cmds=$lt_old_postinstall_cmds
13624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13626 # Whether to use a lock for old archive extraction.
13627 lock_old_archive_extraction=$lock_old_archive_extraction
13632 # LTCC compiler flags.
13633 LTCFLAGS=$lt_CFLAGS
13635 # Take the output of nm and produce a listing of raw symbols and C names.
13636 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13638 # Transform the output of nm in a proper C declaration.
13639 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13641 # Transform the output of nm in a C name address pair.
13642 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13644 # Transform the output of nm in a C name address pair when lib prefix is needed.
13645 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13647 # The name of the directory that contains temporary libtool files.
13650 # Used to examine libraries when file_magic_cmd begins with "file".
13651 MAGIC_CMD=$MAGIC_CMD
13653 # Must we lock files when doing compilation?
13654 need_locks=$lt_need_locks
13656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13657 DSYMUTIL=$lt_DSYMUTIL
13659 # Tool to change global to local symbols on Mac OS X.
13662 # Tool to manipulate fat objects and archives on Mac OS X.
13665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13669 OTOOL64=$lt_OTOOL64
13671 # Old archive suffix (normally "a").
13674 # Shared library suffix (normally ".so").
13675 shrext_cmds=$lt_shrext_cmds
13677 # The commands to extract the exported symbol list from a shared archive.
13678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13680 # Variables whose values should be saved in libtool wrapper scripts and
13681 # restored at link time.
13682 variables_saved_for_relink=$lt_variables_saved_for_relink
13684 # Do we need the "lib" prefix for modules?
13685 need_lib_prefix=$need_lib_prefix
13687 # Do we need a version for libraries?
13688 need_version=$need_version
13690 # Library versioning type.
13691 version_type=$version_type
13693 # Shared library runtime path variable.
13694 runpath_var=$runpath_var
13696 # Shared library path variable.
13697 shlibpath_var=$shlibpath_var
13699 # Is shlibpath searched before the hard-coded library search path?
13700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13702 # Format of library name prefix.
13703 libname_spec=$lt_libname_spec
13705 # List of archive names. First name is the real one, the rest are links.
13706 # The last name is the one that the linker finds with -lNAME
13707 library_names_spec=$lt_library_names_spec
13709 # The coded name of the library, if different from the real name.
13710 soname_spec=$lt_soname_spec
13712 # Permission mode override for installation of shared libraries.
13713 install_override_mode=$lt_install_override_mode
13715 # Command to use after installation of a shared archive.
13716 postinstall_cmds=$lt_postinstall_cmds
13718 # Command to use after uninstallation of a shared archive.
13719 postuninstall_cmds=$lt_postuninstall_cmds
13721 # Commands used to finish a libtool library installation in a directory.
13722 finish_cmds=$lt_finish_cmds
13724 # As "finish_cmds", except a single script fragment to be evaled but
13726 finish_eval=$lt_finish_eval
13728 # Whether we should hardcode library paths into libraries.
13729 hardcode_into_libs=$hardcode_into_libs
13731 # Compile-time system search path for libraries.
13732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13734 # Run-time system search path for libraries.
13735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13737 # Whether dlopen is supported.
13738 dlopen_support=$enable_dlopen
13740 # Whether dlopen of programs is supported.
13741 dlopen_self=$enable_dlopen_self
13743 # Whether dlopen of statically linked programs is supported.
13744 dlopen_self_static=$enable_dlopen_self_static
13746 # Commands to strip libraries.
13747 old_striplib=$lt_old_striplib
13748 striplib=$lt_striplib
13751 # The linker used to build libraries.
13754 # How to create reloadable object files.
13755 reload_flag=$lt_reload_flag
13756 reload_cmds=$lt_reload_cmds
13758 # Commands used to build an old-style archive.
13759 old_archive_cmds=$lt_old_archive_cmds
13761 # A language specific compiler.
13764 # Is the compiler the GNU compiler?
13767 # Compiler flag to turn off builtin functions.
13768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13770 # How to pass a linker flag through the compiler.
13771 wl=$lt_lt_prog_compiler_wl
13773 # Additional compiler flags for building library objects.
13774 pic_flag=$lt_lt_prog_compiler_pic
13776 # Compiler flag to prevent dynamic linking.
13777 link_static_flag=$lt_lt_prog_compiler_static
13779 # Does compiler simultaneously support -c and -o options?
13780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13782 # Whether or not to add -lc for building shared libraries.
13783 build_libtool_need_lc=$archive_cmds_need_lc
13785 # Whether or not to disallow shared libs when runtime libs are static.
13786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13788 # Compiler flag to allow reflexive dlopens.
13789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13791 # Compiler flag to generate shared objects directly from archives.
13792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13794 # Whether the compiler copes with passing no objects directly.
13795 compiler_needs_object=$lt_compiler_needs_object
13797 # Create an old-style archive from a shared archive.
13798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13800 # Create a temporary old-style archive to link instead of a shared archive.
13801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13803 # Commands used to build a shared archive.
13804 archive_cmds=$lt_archive_cmds
13805 archive_expsym_cmds=$lt_archive_expsym_cmds
13807 # Commands used to build a loadable module if different from building
13808 # a shared archive.
13809 module_cmds=$lt_module_cmds
13810 module_expsym_cmds=$lt_module_expsym_cmds
13812 # Whether we are building with GNU ld or not.
13813 with_gnu_ld=$lt_with_gnu_ld
13815 # Flag that allows shared libraries with undefined symbols to be built.
13816 allow_undefined_flag=$lt_allow_undefined_flag
13818 # Flag that enforces no undefined symbols.
13819 no_undefined_flag=$lt_no_undefined_flag
13821 # Flag to hardcode \$libdir into a binary during linking.
13822 # This must work even if \$libdir does not exist
13823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13825 # If ld is used when linking, flag to hardcode \$libdir into a binary
13826 # during linking. This must work even if \$libdir does not exist.
13827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13829 # Whether we need a single "-rpath" flag with a separated argument.
13830 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13833 # DIR into the resulting binary.
13834 hardcode_direct=$hardcode_direct
13836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13837 # DIR into the resulting binary and the resulting library dependency is
13838 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13839 # library is relocated.
13840 hardcode_direct_absolute=$hardcode_direct_absolute
13842 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13843 # into the resulting binary.
13844 hardcode_minus_L=$hardcode_minus_L
13846 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13847 # into the resulting binary.
13848 hardcode_shlibpath_var=$hardcode_shlibpath_var
13850 # Set to "yes" if building a shared library automatically hardcodes DIR
13851 # into the library and all subsequent libraries and executables linked
13853 hardcode_automatic=$hardcode_automatic
13855 # Set to yes if linker adds runtime paths of dependent libraries
13856 # to runtime path list.
13857 inherit_rpath=$inherit_rpath
13859 # Whether libtool must link a program against all its dependency libraries.
13860 link_all_deplibs=$link_all_deplibs
13862 # Fix the shell variable \$srcfile for the compiler.
13863 fix_srcfile_path=$lt_fix_srcfile_path
13865 # Set to "yes" if exported symbols are required.
13866 always_export_symbols=$always_export_symbols
13868 # The commands to list exported symbols.
13869 export_symbols_cmds=$lt_export_symbols_cmds
13871 # Symbols that should not be listed in the preloaded symbols.
13872 exclude_expsyms=$lt_exclude_expsyms
13874 # Symbols that must always be exported.
13875 include_expsyms=$lt_include_expsyms
13877 # Commands necessary for linking programs (against libraries) with templates.
13878 prelink_cmds=$lt_prelink_cmds
13880 # Specify filename containing input files.
13881 file_list_spec=$lt_file_list_spec
13883 # How to hardcode a shared library path into an executable.
13884 hardcode_action=$hardcode_action
13886 # ### END LIBTOOL CONFIG
13892 cat <<\_LT_EOF
>> "$cfgfile"
13893 # AIX sometimes has problems with the GCC collect2 program. For some
13894 # reason, if we set the COLLECT_NAMES environment variable, the problems
13895 # vanish in a puff of smoke.
13896 if test "X${COLLECT_NAMES+set}" != Xset
; then
13898 export COLLECT_NAMES
13905 ltmain
="$ac_aux_dir/ltmain.sh"
13908 # We use sed instead of cat because bash on DJGPP gets confused if
13909 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13910 # text mode, it properly converts lines to CR/LF. This bash problem
13911 # is reportedly fixed, but why not run on old versions too?
13912 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13913 ||
(rm -f "$cfgfile"; exit 1)
13917 cat << \_LT_EOF
>> "$cfgfile"
13919 # func_dirname file append nondir_replacement
13920 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13921 # otherwise set result to NONDIR_REPLACEMENT.
13925 */*) func_dirname_result
="${1%/*}${2}" ;;
13926 * ) func_dirname_result
="${3}" ;;
13930 # func_basename file
13933 func_basename_result
="${1##*/}"
13936 # func_dirname_and_basename file append nondir_replacement
13937 # perform func_basename and func_dirname in a single function
13939 # dirname: Compute the dirname of FILE. If nonempty,
13940 # add APPEND to the result, otherwise set result
13941 # to NONDIR_REPLACEMENT.
13942 # value returned in "$func_dirname_result"
13943 # basename: Compute filename of FILE.
13944 # value retuned in "$func_basename_result"
13945 # Implementation must be kept synchronized with func_dirname
13946 # and func_basename. For efficiency, we do not delegate to
13947 # those functions but instead duplicate the functionality here.
13948 func_dirname_and_basename
()
13951 */*) func_dirname_result
="${1%/*}${2}" ;;
13952 * ) func_dirname_result
="${3}" ;;
13954 func_basename_result
="${1##*/}"
13957 # func_stripname prefix suffix name
13958 # strip PREFIX and SUFFIX off of NAME.
13959 # PREFIX and SUFFIX must not contain globbing or regex special
13960 # characters, hashes, percent signs, but SUFFIX may contain a leading
13961 # dot (in which case that matches only a dot).
13964 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13965 # positional parameters, so assign one to ordinary parameter first.
13966 func_stripname_result
=${3}
13967 func_stripname_result
=${func_stripname_result#"${1}"}
13968 func_stripname_result
=${func_stripname_result%"${2}"}
13974 func_opt_split_opt
=${1%%=*}
13975 func_opt_split_arg
=${1#*=}
13982 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13983 *) func_lo2o_result
=${1} ;;
13987 # func_xform libobj-or-source
13990 func_xform_result
=${1%.*}.lo
13993 # func_arith arithmetic-term...
13996 func_arith_result
=$
(( $
* ))
14000 # STRING may not start with a hyphen.
14003 func_len_result
=${#1}
14008 *) # Bourne compatible functions.
14009 cat << \_LT_EOF
>> "$cfgfile"
14011 # func_dirname file append nondir_replacement
14012 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14013 # otherwise set result to NONDIR_REPLACEMENT.
14016 # Extract subdirectory from the argument.
14017 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14018 if test "X$func_dirname_result" = "X${1}"; then
14019 func_dirname_result
="${3}"
14021 func_dirname_result
="$func_dirname_result${2}"
14025 # func_basename file
14028 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14032 # func_stripname prefix suffix name
14033 # strip PREFIX and SUFFIX off of NAME.
14034 # PREFIX and SUFFIX must not contain globbing or regex special
14035 # characters, hashes, percent signs, but SUFFIX may contain a leading
14036 # dot (in which case that matches only a dot).
14037 # func_strip_suffix prefix name
14041 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14042 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14047 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14048 my_sed_long_arg
='1s/^-[^=]*=//'
14053 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14054 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14060 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14063 # func_xform libobj-or-source
14066 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14069 # func_arith arithmetic-term...
14072 func_arith_result
=`expr "$@"`
14076 # STRING may not start with a hyphen.
14079 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14085 case $lt_shell_append in
14087 cat << \_LT_EOF
>> "$cfgfile"
14089 # func_append var value
14090 # Append VALUE to the end of shell variable VAR.
14098 cat << \_LT_EOF
>> "$cfgfile"
14100 # func_append var value
14101 # Append VALUE to the end of shell variable VAR.
14112 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14113 ||
(rm -f "$cfgfile"; exit 1)
14115 mv -f "$cfgfile" "$ofile" ||
14116 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14121 # Only add multilib support code if we just rebuilt the top-level
14123 case " $CONFIG_FILES " in
14125 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14128 "default":C
) if test -n "$CONFIG_FILES"; then
14129 if test -n "${with_target_subdir}"; then
14130 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
14131 # that multilib installs will end up installed in the correct place.
14132 # The testsuite needs it for multilib-aware ABI baseline files.
14133 # To work around this not being passed down from config-ml.in ->
14134 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
14135 # append it here. Only modify Makefiles that have just been created.
14137 # Also, get rid of this simulated-VPATH thing that automake does.
14138 cat > vpsed
<< \_EOF
14139 s
!`test -f '$<' || echo '$(srcdir)/'`!!
14141 for i
in $SUBDIRS; do
14142 case $CONFIG_FILES in
14144 #echo "Adding MULTISUBDIR to $i/Makefile"
14145 sed -f vpsed
$i/Makefile
> tmp
14146 grep '^MULTISUBDIR =' Makefile
>> tmp
14162 ac_clean_files
=$ac_clean_files_save
14164 test $ac_write_fail = 0 ||
14165 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14168 # configure is writing to config.log, and then calls config.status.
14169 # config.status does its own redirection, appending to config.log.
14170 # Unfortunately, on DOS this fails, as config.log is still kept open
14171 # by configure, so config.status won't be able to write to it; its
14172 # output is simply discarded. So we exec the FD to /dev/null,
14173 # effectively closing config.log, so it can be properly (re)opened and
14174 # appended to by config.status. When coming back to configure, we
14175 # need to make the FD available again.
14176 if test "$no_create" != yes; then
14178 ac_config_status_args
=
14179 test "$silent" = yes &&
14180 ac_config_status_args
="$ac_config_status_args --quiet"
14182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14185 # would make configure fail if this is the last instruction.
14186 $ac_cs_success || as_fn_exit $?
14188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}