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
635 MAINTAINER_MODE_FALSE
645 INSTALL_STRIP_PROGRAM
710 program_transform_name
723 enable_option_checking
724 enable_maintainer_mode
733 with_system_libunwind
735 ac_precious_vars
='build_alias
746 # Initialize some variables set by options.
748 ac_init_version
=false
749 ac_unrecognized_opts
=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name
=s
,x
,x
,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir
='${exec_prefix}/bin'
775 sbindir
='${exec_prefix}/sbin'
776 libexecdir
='${exec_prefix}/libexec'
777 datarootdir
='${prefix}/share'
778 datadir
='${datarootdir}'
779 sysconfdir
='${prefix}/etc'
780 sharedstatedir
='${prefix}/com'
781 localstatedir
='${prefix}/var'
782 includedir
='${prefix}/include'
783 oldincludedir
='/usr/include'
784 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir
='${datarootdir}/info'
790 libdir
='${exec_prefix}/lib'
791 localedir
='${datarootdir}/locale'
792 mandir
='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\
$ac_option
806 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
818 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
821 -build |
--build |
--buil |
--bui |
--bu)
822 ac_prev
=build_alias
;;
823 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
824 build_alias
=$ac_optarg ;;
826 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
827 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
828 ac_prev
=cache_file
;;
829 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
830 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
831 cache_file
=$ac_optarg ;;
834 cache_file
=config.cache
;;
836 -datadir |
--datadir |
--datadi |
--datad)
838 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
839 datadir
=$ac_optarg ;;
841 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
842 |
--dataroo |
--dataro |
--datar)
843 ac_prev
=datarootdir
;;
844 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
845 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
846 datarootdir
=$ac_optarg ;;
848 -disable-* |
--disable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=\
$ac_optarg ;;
890 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
891 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
892 |
--exec |
--exe |
--ex)
893 ac_prev
=exec_prefix
;;
894 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
895 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
896 |
--exec=* |
--exe=* |
--ex=*)
897 exec_prefix
=$ac_optarg ;;
899 -gas |
--gas |
--ga |
--g)
900 # Obsolete; use --with-gas.
903 -help |
--help |
--hel |
--he |
-h)
905 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
906 ac_init_help
=recursive
;;
907 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
908 ac_init_help
=short
;;
910 -host |
--host |
--hos |
--ho)
911 ac_prev
=host_alias
;;
912 -host=* |
--host=* |
--hos=* |
--ho=*)
913 host_alias
=$ac_optarg ;;
915 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
917 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
919 htmldir
=$ac_optarg ;;
921 -includedir |
--includedir |
--includedi |
--included |
--include \
922 |
--includ |
--inclu |
--incl |
--inc)
923 ac_prev
=includedir
;;
924 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
925 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
926 includedir
=$ac_optarg ;;
928 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
930 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
931 infodir
=$ac_optarg ;;
933 -libdir |
--libdir |
--libdi |
--libd)
935 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
938 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
939 |
--libexe |
--libex |
--libe)
940 ac_prev
=libexecdir
;;
941 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
942 |
--libexe=* |
--libex=* |
--libe=*)
943 libexecdir
=$ac_optarg ;;
945 -localedir |
--localedir |
--localedi |
--localed |
--locale)
947 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
948 localedir
=$ac_optarg ;;
950 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
951 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
952 ac_prev
=localstatedir
;;
953 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
954 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
955 localstatedir
=$ac_optarg ;;
957 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
959 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
963 # Obsolete; use --without-fp.
966 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
967 |
--no-cr |
--no-c |
-n)
970 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
971 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
974 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
975 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
976 |
--oldin |
--oldi |
--old |
--ol |
--o)
977 ac_prev
=oldincludedir
;;
978 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
979 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
980 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
981 oldincludedir
=$ac_optarg ;;
983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
988 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
989 |
--program-pre |
--program-pr |
--program-p)
990 ac_prev
=program_prefix
;;
991 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
992 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
993 program_prefix
=$ac_optarg ;;
995 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
996 |
--program-suf |
--program-su |
--program-s)
997 ac_prev
=program_suffix
;;
998 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
999 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1000 program_suffix
=$ac_optarg ;;
1002 -program-transform-name |
--program-transform-name \
1003 |
--program-transform-nam |
--program-transform-na \
1004 |
--program-transform-n |
--program-transform- \
1005 |
--program-transform |
--program-transfor \
1006 |
--program-transfo |
--program-transf \
1007 |
--program-trans |
--program-tran \
1008 |
--progr-tra |
--program-tr |
--program-t)
1009 ac_prev
=program_transform_name
;;
1010 -program-transform-name=* |
--program-transform-name=* \
1011 |
--program-transform-nam=* |
--program-transform-na=* \
1012 |
--program-transform-n=* |
--program-transform-=* \
1013 |
--program-transform=* |
--program-transfor=* \
1014 |
--program-transfo=* |
--program-transf=* \
1015 |
--program-trans=* |
--program-tran=* \
1016 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1017 program_transform_name
=$ac_optarg ;;
1019 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1021 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1022 pdfdir
=$ac_optarg ;;
1024 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1026 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1030 |
-silent |
--silent |
--silen |
--sile |
--sil)
1033 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1035 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1037 sbindir
=$ac_optarg ;;
1039 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1040 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1041 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1043 ac_prev
=sharedstatedir
;;
1044 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1045 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1046 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1048 sharedstatedir
=$ac_optarg ;;
1050 -site |
--site |
--sit)
1052 -site=* |
--site=* |
--sit=*)
1055 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1057 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1058 srcdir
=$ac_optarg ;;
1060 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1061 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1062 ac_prev
=sysconfdir
;;
1063 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1064 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1065 sysconfdir
=$ac_optarg ;;
1067 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1068 ac_prev
=target_alias
;;
1069 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1070 target_alias
=$ac_optarg ;;
1072 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1075 -version |
--version |
--versio |
--versi |
--vers |
-V)
1076 ac_init_version
=: ;;
1079 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=no
;;
1111 # Obsolete; use --with-x.
1114 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1115 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1116 ac_prev
=x_includes
;;
1117 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1118 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1119 x_includes
=$ac_optarg ;;
1121 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1122 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1123 ac_prev
=x_libraries
;;
1124 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1125 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1126 x_libraries
=$ac_optarg ;;
1128 -*) as_fn_error
"unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information."
1133 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1137 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\
$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1153 if test -n "$ac_prev"; then
1154 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error
"missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1173 # Remove trailing slashes.
1176 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\
$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$
]* | ?
:[\\/]* ) continue;;
1182 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1184 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target
=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x
; then
1196 if test "x$build_alias" = x
; then
1197 cross_compiling
=maybe
1198 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1199 If a cross compiler is detected then cross compile mode will be used." >&2
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1208 test "$silent" = yes && exec 6>/dev
/null
1211 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di
=`ls -di .` &&
1213 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error
"working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error
"pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1348 --build=BUILD configure
for building on BUILD
[guessed
]
1349 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1350 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1354 if test -n "$ac_init_help"; then
1355 case $ac_init_help in
1356 short | recursive
) echo "Configuration of package-unused version-unused:";;
1361 --disable-option-checking ignore unrecognized
--enable/--with options
1362 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1363 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1364 --enable-maintainer-mode enable make rules and dependencies not useful
1365 (and sometimes confusing
) to the casual installer
1366 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1367 --enable-static[=PKGS
] build static libraries
[default
=yes]
1368 --enable-fast-install[=PKGS
]
1369 optimize
for fast installation
[default
=yes]
1370 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1371 --enable-multilib build many library versions
(default
)
1374 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1375 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1376 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1377 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1379 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1380 --with-system-libunwind use installed libunwind
1382 Some influential environment variables
:
1383 CC C compiler
command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1386 nonstandard directory
<lib dir
>
1387 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1388 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1389 you have headers
in a nonstandard directory
<include dir
>
1392 Use these variables to override the choices made by
`configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to the package provider.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" ||
1404 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 package-unused configure version-unused
1459 generated by GNU Autoconf 2.64
1461 Copyright (C) 2009 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1468 ## ------------------------ ##
1469 ## Autoconf initialization. ##
1470 ## ------------------------ ##
1472 # ac_fn_c_try_compile LINENO
1473 # --------------------------
1474 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1475 ac_fn_c_try_compile ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 rm -f conftest.$ac_objext
1479 if { { ac_try="$ac_compile"
1481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1482 *) ac_try_echo
=$ac_try;;
1484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_compile") 2>conftest.err
1488 if test -s conftest.err
; then
1489 grep -v '^ *+' conftest.err
>conftest.er1
1490 cat conftest.er1
>&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } && {
1495 test -z "$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1497 } && test -s conftest.
$ac_objext; then :
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.
$ac_ext >&5
1505 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1508 } # ac_fn_c_try_compile
1510 # ac_fn_c_try_cpp LINENO
1511 # ----------------------
1512 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } >/dev/null && {
1532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1547 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1548 # -------------------------------------------------------
1549 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1550 # the include files in INCLUDES and setting the cache variable VAR
1552 ac_fn_c_check_header_mongrel ()
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1557 $as_echo_n "checking for $2... " >&6; }
1558 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1559 $as_echo_n "(cached) " >&6
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1563 $as_echo "$ac_res" >&6; }
1565 # Is the header compilable?
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1567 $as_echo_n "checking $2 usability... " >&6; }
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569 /* end confdefs.h. */
1573 if ac_fn_c_try_compile "$LINENO"; then :
1574 ac_header_compiler=yes
1576 ac_header_compiler=no
1578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1580 $as_echo "$ac_header_compiler" >&6; }
1582 # Is the header present?
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1584 $as_echo_n "checking $2 presence... " >&6; }
1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586 /* end confdefs.h. */
1589 if ac_fn_c_try_cpp "$LINENO"; then :
1590 ac_header_preproc=yes
1592 ac_header_preproc=no
1594 rm -f conftest.err conftest.$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1596 $as_echo "$ac_header_preproc" >&6; }
1598 # So? What about this header?
1599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1602 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1604 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1608 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1610 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1612 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1614 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1616 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1620 $as_echo_n "checking for $2... " >&6; }
1621 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1622 $as_echo_n "(cached) " >&6
1624 eval "$3=\$ac_header_compiler"
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 $as_echo "$ac_res" >&6; }
1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1632 } # ac_fn_c_check_header_mongrel
1634 # ac_fn_c_try_run LINENO
1635 # ----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1637 # that executables *can* be run.
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 if { { ac_try="$ac_link"
1643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1644 *) ac_try_echo
=$ac_try;;
1646 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>&5
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1652 { { case "(($ac_try" in
1653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_try") 2>&5
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; }; }; then :
1664 $as_echo "$as_me: program exited with status $ac_status" >&5
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1668 ac_retval=$ac_status
1670 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists and can be compiled using the include files in
1679 # INCLUDES, setting the cache variable VAR accordingly.
1680 ac_fn_c_check_header_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1686 $as_echo_n "(cached) " >&6
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 } # ac_fn_c_check_header_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext conftest$ac_exeext
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1723 if test -s conftest.err
; then
1724 grep -v '^ *+' conftest.err
>conftest.er1
1725 cat conftest.er1
>&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest
$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 $as_test_x conftest
$ac_exeext
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.
$ac_ext >&5
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_check_func LINENO FUNC VAR
1754 # ----------------------------------
1755 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1756 ac_fn_c_check_func
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1766 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1768 #define $2 innocuous_$2
1770 /* System header to define __stub macros and hopefully few prototypes,
1771 which can conflict with char $2 (); below.
1772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1773 <limits.h> exists even on freestanding compilers. */
1776 # include <limits.h>
1778 # include <assert.h>
1783 /* Override any GCC internal prototype to avoid an error.
1784 Use char because int might match the return type of a GCC
1785 builtin and then its argument prototype would still apply. */
1790 /* The GNU C library defines this for functions which it implements
1791 to always fail with ENOSYS. Some functions are actually named
1792 something starting with __ and the normal name is an alias. */
1793 #if defined __stub_$2 || defined __stub___$2
1805 if ac_fn_c_try_link
"$LINENO"; then :
1810 rm -f core conftest.err conftest.
$ac_objext \
1811 conftest
$ac_exeext conftest.
$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 } # ac_fn_c_check_func
1820 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1821 # -------------------------------------------
1822 # Tests whether TYPE exists after having included INCLUDES, setting cache
1823 # variable VAR accordingly.
1824 ac_fn_c_check_type
()
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828 $as_echo_n "checking for $2... " >&6; }
1829 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1830 $as_echo_n "(cached) " >&6
1833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1845 if ac_fn_c_try_compile
"$LINENO"; then :
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1858 if ac_fn_c_try_compile
"$LINENO"; then :
1863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1872 } # ac_fn_c_check_type
1874 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1875 # --------------------------------------------
1876 # Tries to find the compile-time value of EXPR in a program that includes
1877 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1879 ac_fn_c_compute_int
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 if test "$cross_compiling" = yes; then
1883 # Depending upon the size, compute the lo and hi bounds.
1884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1890 static int test_array [1 - 2 * !(($2) >= 0)];
1897 if ac_fn_c_try_compile
"$LINENO"; then :
1900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1906 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1913 if ac_fn_c_try_compile
"$LINENO"; then :
1914 ac_hi
=$ac_mid; break
1916 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1917 if test $ac_lo -le $ac_mid; then
1921 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1932 static int test_array [1 - 2 * !(($2) < 0)];
1939 if ac_fn_c_try_compile
"$LINENO"; then :
1942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1948 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1955 if ac_fn_c_try_compile
"$LINENO"; then :
1956 ac_lo
=$ac_mid; break
1958 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1959 if test $ac_mid -le $ac_hi; then
1963 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 # Binary search between lo and hi bounds.
1974 while test "x$ac_lo" != "x$ac_hi"; do
1975 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1982 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1989 if ac_fn_c_try_compile
"$LINENO"; then :
1992 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2004 static long int longval () { return $2; }
2005 static unsigned long int ulongval () { return $2; }
2012 FILE *f = fopen ("conftest.val", "w");
2017 long int i = longval ();
2020 fprintf (f, "%ld", i);
2024 unsigned long int i = ulongval ();
2027 fprintf (f, "%lu", i);
2029 /* Do not output a trailing newline, as this causes \r\n confusion
2030 on some platforms. */
2031 return ferror (f) || fclose (f) != 0;
2037 if ac_fn_c_try_run
"$LINENO"; then :
2038 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2042 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2043 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2050 } # ac_fn_c_compute_int
2052 # ac_fn_c_check_decl LINENO SYMBOL VAR
2053 # ------------------------------------
2054 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2055 ac_fn_c_check_decl
()
2057 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2058 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2059 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2061 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2062 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2063 $as_echo_n "(cached) " >&6
2065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2071 #ifndef $as_decl_name
2073 (void) $as_decl_use;
2075 (void) $as_decl_name;
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2095 } # ac_fn_c_check_decl
2096 cat >config.log
<<_ACEOF
2097 This file contains any messages produced by compilers while
2098 running configure, to aid debugging if configure makes a mistake.
2100 It was created by package-unused $as_me version-unused, which was
2101 generated by GNU Autoconf 2.64. Invocation command line was
2113 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2114 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2115 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2116 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2117 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2119 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2120 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2122 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2123 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2124 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2125 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2126 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2127 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2128 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir
=.
2137 $as_echo "PATH: $as_dir"
2153 # Keep a trace of the command line.
2154 # Strip out --no-create and --no-recursion so they do not pile up.
2155 # Strip out --silent because we don't want to record it for future runs.
2156 # Also quote any args containing shell meta-characters.
2157 # Make two passes to allow for proper duplicate-argument suppression.
2161 ac_must_keep_next
=false
2167 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2168 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2169 |
-silent |
--silent |
--silen |
--sile |
--sil)
2172 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2175 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2177 as_fn_append ac_configure_args1
" '$ac_arg'"
2178 if test $ac_must_keep_next = true
; then
2179 ac_must_keep_next
=false
# Got value, back to normal.
2182 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2183 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2184 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2185 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2186 case "$ac_configure_args0 " in
2187 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2190 -* ) ac_must_keep_next
=true
;;
2193 as_fn_append ac_configure_args
" '$ac_arg'"
2198 { ac_configure_args0
=; unset ac_configure_args0
;}
2199 { ac_configure_args1
=; unset ac_configure_args1
;}
2201 # When interrupted or exit'd, cleanup temporary files, and complete
2202 # config.log. We remove comments because anyway the quotes in there
2203 # would cause problems or look ugly.
2204 # WARNING: Use '\'' to represent an apostrophe within the trap.
2205 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2206 trap 'exit_status=$?
2207 # Save into config.log some information that might help in debugging.
2212 ## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##
2217 # The following way of writing the cache mishandles newlines in values,
2219 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2220 eval ac_val=\$$ac_var
2224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2228 _ | IFS | as_nl) ;; #(
2229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2230 *) { eval $ac_var=; unset $ac_var;} ;;
2235 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2236 *${as_nl}ac_space=\ *)
2238 "s/'\''/'\''\\\\'\'''\''/g;
2239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2250 ## ----------------- ##
2251 ## Output variables. ##
2252 ## ----------------- ##
2255 for ac_var in $ac_subst_vars
2257 eval ac_val=\$$ac_var
2259 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2261 $as_echo "$ac_var='\''$ac_val'\''"
2265 if test -n "$ac_subst_files"; then
2267 ## ------------------- ##
2268 ## File substitutions. ##
2269 ## ------------------- ##
2272 for ac_var
in $ac_subst_files
2274 eval ac_val
=\$
$ac_var
2276 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 $as_echo "$ac_var='\''$ac_val'\''"
2283 if test -s confdefs.h; then
2293 test "$ac_signal" != 0 &&
2294 $as_echo "$as_me: caught signal $ac_signal"
2295 $as_echo "$as_me: exit $exit_status"
2297 rm -f core *.core core.conftest.* &&
2298 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2301 for ac_signal
in 1 2 13 15; do
2302 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2307 rm -f -r conftest
* confdefs.h
2309 $as_echo "/* confdefs.h */" > confdefs.h
2311 # Predefined preprocessor variables.
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 cat >>confdefs.h
<<_ACEOF
2318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_STRING "$PACKAGE_STRING"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_URL "$PACKAGE_URL"
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer an explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 ac_site_file1
=$CONFIG_SITE
2344 elif test "x$prefix" != xNONE
; then
2345 ac_site_file1
=$prefix/share
/config.site
2346 ac_site_file2
=$prefix/etc
/config.site
2348 ac_site_file1
=$ac_default_prefix/share
/config.site
2349 ac_site_file2
=$ac_default_prefix/etc
/config.site
2351 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2353 test "x$ac_site_file" = xNONE
&& continue
2354 if test -r "$ac_site_file"; then
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2356 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2357 sed 's/^/| /' "$ac_site_file" >&5
2362 if test -r "$cache_file"; then
2363 # Some versions of bash will fail to source /dev/null (special
2364 # files actually), so we avoid doing that.
2365 if test -f "$cache_file"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2367 $as_echo "$as_me: loading cache $cache_file" >&6;}
2369 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2370 *) .
"./$cache_file";;
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2375 $as_echo "$as_me: creating cache $cache_file" >&6;}
2379 # Check that the precious variables saved in the cache have kept the same
2381 ac_cache_corrupted
=false
2382 for ac_var
in $ac_precious_vars; do
2383 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2384 eval ac_new_set
=\
$ac_env_${ac_var}_set
2385 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2386 eval ac_new_val
=\
$ac_env_${ac_var}_value
2387 case $ac_old_set,$ac_new_set in
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391 ac_cache_corrupted
=: ;;
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2394 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395 ac_cache_corrupted
=: ;;
2398 if test "x$ac_old_val" != "x$ac_new_val"; then
2399 # differences in whitespace do not lead to failure.
2400 ac_old_val_w
=`echo x $ac_old_val`
2401 ac_new_val_w
=`echo x $ac_new_val`
2402 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2404 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2405 ac_cache_corrupted
=:
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2408 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2409 eval $ac_var=\
$ac_old_val
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2412 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2414 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2417 # Pass precious variables to config.status.
2418 if test "$ac_new_set" = set; then
2420 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421 *) ac_arg
=$ac_var=$ac_new_val ;;
2423 case " $ac_configure_args " in
2424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2425 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2429 if $ac_cache_corrupted; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2433 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2434 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2436 ## -------------------- ##
2437 ## Main body of script. ##
2438 ## -------------------- ##
2441 ac_cpp
='$CPP $CPPFLAGS'
2442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2451 ac_config_headers
="$ac_config_headers config.h"
2455 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2456 for ac_t
in install-sh
install.sh shtool
; do
2457 if test -f "$ac_dir/$ac_t"; then
2459 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2464 if test -z "$ac_aux_dir"; then
2465 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2468 # These three variables are undocumented and unsupported,
2469 # and are intended to be withdrawn in a future Autoconf release.
2470 # They can cause serious problems if a builder's source tree is in a directory
2471 # whose full name contains unusual characters.
2472 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2473 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2474 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2477 # Make sure we can run config.sub.
2478 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2479 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2482 $as_echo_n "checking build system type... " >&6; }
2483 if test "${ac_cv_build+set}" = set; then :
2484 $as_echo_n "(cached) " >&6
2486 ac_build_alias
=$build_alias
2487 test "x$ac_build_alias" = x
&&
2488 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2489 test "x$ac_build_alias" = x
&&
2490 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2491 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2492 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2496 $as_echo "$ac_cv_build" >&6; }
2497 case $ac_cv_build in
2499 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2502 ac_save_IFS
=$IFS; IFS
='-'
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2512 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2516 $as_echo_n "checking host system type... " >&6; }
2517 if test "${ac_cv_host+set}" = set; then :
2518 $as_echo_n "(cached) " >&6
2520 if test "x$host_alias" = x
; then
2521 ac_cv_host
=$ac_cv_build
2523 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2524 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2529 $as_echo "$ac_cv_host" >&6; }
2532 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2535 ac_save_IFS
=$IFS; IFS
='-'
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2545 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2549 $as_echo_n "checking target system type... " >&6; }
2550 if test "${ac_cv_target+set}" = set; then :
2551 $as_echo_n "(cached) " >&6
2553 if test "x$target_alias" = x
; then
2554 ac_cv_target
=$ac_cv_host
2556 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2557 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2562 $as_echo "$ac_cv_target" >&6; }
2563 case $ac_cv_target in
2565 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2567 target
=$ac_cv_target
2568 ac_save_IFS
=$IFS; IFS
='-'
2574 # Remember, the first character of IFS is used to create $*,
2575 # except with old shells:
2578 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2581 # The aliases save the names the user supplied, while $host etc.
2582 # will get canonicalized.
2583 test -n "$target_alias" &&
2584 test "$program_prefix$program_suffix$program_transform_name" = \
2586 program_prefix
=${target_alias}-
2588 target_alias
=${target_alias-$host_alias}
2591 ac_cpp
='$CPP $CPPFLAGS'
2592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 if test -n "$ac_tool_prefix"; then
2596 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2597 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if test "${ac_cv_prog_CC+set}" = set; then :
2601 $as_echo_n "(cached) " >&6
2603 if test -n "$CC"; then
2604 ac_cv_prog_CC
="$CC" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 if test -n "$CC"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2626 $as_echo "$CC" >&6; }
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2634 if test -z "$ac_cv_prog_CC"; then
2636 # Extract the first word of "gcc", so it can be a program name with args.
2637 set dummy gcc
; ac_word
=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$ac_ct_CC"; then
2644 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir
=.
2651 for ac_exec_ext
in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_ac_ct_CC
="gcc"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2666 $as_echo "$ac_ct_CC" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2672 if test "x$ac_ct_CC" = x
; then
2675 case $cross_compiling:$ac_tool_warned in
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2679 ac_tool_warned
=yes ;;
2687 if test -z "$CC"; then
2688 if test -n "$ac_tool_prefix"; then
2689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2690 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_CC+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$CC"; then
2697 ac_cv_prog_CC
="$CC" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2728 if test -z "$CC"; then
2729 # Extract the first word of "cc", so it can be a program name with args.
2730 set dummy cc
; ac_word
=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC
="$CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2748 ac_prog_rejected
=yes
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test $ac_prog_rejected = yes; then
2760 # We found a bogon in the path, so make sure we never use it.
2761 set dummy
$ac_cv_prog_CC
2763 if test $# != 0; then
2764 # We chose a different compiler from the bogus one.
2765 # However, it has the same basename, so the bogon will be chosen
2766 # first if we set CC to just the basename; use the full file name.
2768 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2774 if test -n "$CC"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2776 $as_echo "$CC" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$CC"; then
2785 if test -n "$ac_tool_prefix"; then
2786 for ac_prog
in cl.exe
2788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2789 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_CC+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC
="$CC" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$CC"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2818 $as_echo "$CC" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2825 test -n "$CC" && break
2828 if test -z "$CC"; then
2830 for ac_prog
in cl.exe
2832 # Extract the first word of "$ac_prog", so it can be a program name with args.
2833 set dummy
$ac_prog; ac_word
=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$ac_ct_CC"; then
2840 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir
=.
2847 for ac_exec_ext
in '' $ac_executable_extensions; do
2848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2849 ac_cv_prog_ac_ct_CC
="$ac_prog"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2860 if test -n "$ac_ct_CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2862 $as_echo "$ac_ct_CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2869 test -n "$ac_ct_CC" && break
2872 if test "x$ac_ct_CC" = x
; then
2875 case $cross_compiling:$ac_tool_warned in
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2879 ac_tool_warned
=yes ;;
2888 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 as_fn_error
"no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." "$LINENO" 5; }
2893 # Provide some information about the compiler.
2894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2897 for ac_option
in --version -v -V -qversion; do
2898 { { ac_try
="$ac_compiler $ac_option >&5"
2900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2907 if test -s conftest.err; then
2909 ... rest of stderr output deleted ...
2910 10q' conftest.err >conftest.er1
2911 cat conftest.er1 >&5
2912 rm -f conftest.er1 conftest.err
2914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2915 test $ac_status = 0; }
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2929 ac_clean_files_save=$ac_clean_files
2930 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2931 # Try to create an executable without -o first, disregard a.out.
2932 # It will help us diagnose broken compilers, and finding out an intuition
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2935 $as_echo_n "checking for C compiler default output file name... " >&6; }
2936 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2938 # The possible output files:
2939 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2942 for ac_file in $ac_files
2945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2946 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2951 if { { ac_try="$ac_link_default"
2953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2954 *) ac_try_echo
=$ac_try;;
2956 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957 $as_echo "$ac_try_echo"; } >&5
2958 (eval "$ac_link_default") 2>&5
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; }; then :
2962 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2963 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2964 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2965 # so that the user can short-circuit this test for compilers unknown to
2967 for ac_file
in $ac_files ''
2969 test -f "$ac_file" ||
continue
2971 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2974 # We found the default executable, but exeext='' is most
2978 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2980 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2982 # We set ac_cv_exeext here because the later test for it is not
2983 # safe: cross compilers may not add the suffix if given an `-o'
2984 # argument, so we may need to know it at that point already.
2985 # Even if this section looks crufty: it has the advantage of
2992 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2998 $as_echo "$ac_file" >&6; }
2999 if test -z "$ac_file"; then :
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.
$ac_ext >&5
3003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3005 { as_fn_set_status
77
3006 as_fn_error
"C compiler cannot create executables
3007 See \`config.log' for more details." "$LINENO" 5; }; }
3009 ac_exeext
=$ac_cv_exeext
3011 # Check that the compiler produces executables we can run. If not, either
3012 # the compiler is broken, or we cross compile.
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3014 $as_echo_n "checking whether the C compiler works... " >&6; }
3015 # If not cross compiling, check that we can run a simple program.
3016 if test "$cross_compiling" != yes; then
3017 if { ac_try
='./$ac_file'
3018 { { case "(($ac_try" in
3019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_try") 2>&5
3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027 test $ac_status = 0; }; }; then
3030 if test "$cross_compiling" = maybe; then
3033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035 as_fn_error "cannot run C compiled programs.
3036 If you meant to cross compile
, use \
`--host'.
3037 See \`config.log
' for more details." "$LINENO" 5; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3042 $as_echo "yes" >&6; }
3044 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3045 ac_clean_files=$ac_clean_files_save
3046 # Check that the compiler produces executables we can run. If not, either
3047 # the compiler is broken, or we cross compile.
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3049 $as_echo_n "checking whether we are cross compiling... " >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3051 $as_echo "$cross_compiling" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3054 $as_echo_n "checking for suffix of executables... " >&6; }
3055 if { { ac_try="$ac_link"
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link") 2>&5
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; then :
3066 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3067 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3068 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3070 for ac_file
in conftest.exe conftest conftest.
*; do
3071 test -f "$ac_file" ||
continue
3073 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3074 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3083 See \`config.log' for more details." "$LINENO" 5; }
3085 rm -f conftest
$ac_cv_exeext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3087 $as_echo "$ac_cv_exeext" >&6; }
3089 rm -f conftest.
$ac_ext
3090 EXEEXT
=$ac_cv_exeext
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3093 $as_echo_n "checking for suffix of object files... " >&6; }
3094 if test "${ac_cv_objext+set}" = set; then :
3095 $as_echo_n "(cached) " >&6
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 rm -f conftest.o conftest.obj
3109 if { { ac_try
="$ac_compile"
3111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_compile") 2>&5
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }; then :
3120 for ac_file in conftest.o conftest.obj conftest.*; do
3121 test -f "$ac_file" || continue;
3123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3124 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3129 $as_echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error "cannot compute suffix of object files
: cannot compile
3135 See \
`config.log' for more details." "$LINENO" 5; }
3137 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3140 $as_echo "$ac_cv_objext" >&6; }
3141 OBJEXT=$ac_cv_objext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3144 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3145 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3146 $as_echo_n "(cached) " >&6
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3162 if ac_fn_c_try_compile "$LINENO"; then :
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3172 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3173 if test $ac_compiler_gnu = yes; then
3178 ac_test_CFLAGS=${CFLAGS+set}
3179 ac_save_CFLAGS=$CFLAGS
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3181 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3182 if test "${ac_cv_prog_cc_g+set}" = set; then :
3183 $as_echo_n "(cached) " >&6
3185 ac_save_c_werror_flag=$ac_c_werror_flag
3186 ac_c_werror_flag=yes
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 if ac_fn_c_try_compile "$LINENO"; then :
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3215 if ac_fn_c_try_compile "$LINENO"; then :
3218 ac_c_werror_flag=$ac_save_c_werror_flag
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3231 if ac_fn_c_try_compile "$LINENO"; then :
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 ac_c_werror_flag=$ac_save_c_werror_flag
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3242 $as_echo "$ac_cv_prog_cc_g" >&6; }
3243 if test "$ac_test_CFLAGS" = set; then
3244 CFLAGS=$ac_save_CFLAGS
3245 elif test $ac_cv_prog_cc_g = yes; then
3246 if test "$GCC" = yes; then
3252 if test "$GCC" = yes; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3259 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3260 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3263 ac_cv_prog_cc_c89=no
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3272 struct buf { int x; };
3273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3274 static char *e (p, i)
3280 static char *f (char * (*g) (char **, int), char **p, ...)
3285 s = g (p, va_arg (v,int));
3290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3291 function prototypes and stuff, but not '\xHH' hex character constants.
3292 These don't provoke an error unfortunately, instead are silently treated
3293 as 'x'. The following induces an error, until -std is added to get
3294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3295 array size at least. It's necessary to write '\x00'==0 to get something
3296 that's true only with -std. */
3297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3299 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3300 inside strings and character constants. */
3302 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3304 int test (int i, double x);
3305 struct s1 {int (*f) (int a);};
3306 struct s2 {int (*f) (double a);};
3307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3318 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3319 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3321 CC="$ac_save_CC $ac_arg"
3322 if ac_fn_c_try_compile "$LINENO"; then :
3323 ac_cv_prog_cc_c89=$ac_arg
3325 rm -f core conftest.err conftest.$ac_objext
3326 test "x$ac_cv_prog_cc_c89" != "xno" && break
3328 rm -f conftest.$ac_ext
3333 case "x$ac_cv_prog_cc_c89" in
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3336 $as_echo "none needed" >&6; } ;;
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3339 $as_echo "unsupported" >&6; } ;;
3341 CC="$CC $ac_cv_prog_cc_c89"
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3343 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3345 if test "x$ac_cv_prog_cc_c89" != xno; then :
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357 ac_cpp='$CPP $CPPFLAGS'
3358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3362 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3363 # On Suns, sometimes $CPP names a directory.
3364 if test -n "$CPP" && test -d "$CPP"; then
3367 if test -z "$CPP"; then
3368 if test "${ac_cv_prog_CPP+set}" = set; then :
3369 $as_echo_n "(cached) " >&6
3371 # Double quotes because CPP needs to be expanded
3372 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3375 for ac_c_preproc_warn_flag in '' yes
3377 # Use a header file that comes with gcc, so configuring glibc
3378 # with a fresh cross-compiler works.
3379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3380 # <limits.h> exists even on freestanding compilers.
3381 # On the NeXT, cc -E runs the code through the compiler's parser,
3382 # not just through cpp. "Syntax error" is here to catch this case.
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3386 # include <limits.h>
3388 # include <assert.h>
3392 if ac_fn_c_try_cpp "$LINENO"; then :
3395 # Broken: fails on valid input.
3398 rm -f conftest.err conftest.$ac_ext
3400 # OK, works on sane cases. Now check whether nonexistent headers
3401 # can be detected and how.
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3404 #include <ac_nonexistent.h>
3406 if ac_fn_c_try_cpp "$LINENO"; then :
3407 # Broken: success on invalid input.
3410 # Passes both tests.
3414 rm -f conftest.err conftest.$ac_ext
3417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3418 rm -f conftest.err conftest.
$ac_ext
3419 if $ac_preproc_ok; then :
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3432 $as_echo "$CPP" >&6; }
3434 for ac_c_preproc_warn_flag
in '' yes
3436 # Use a header file that comes with gcc, so configuring glibc
3437 # with a fresh cross-compiler works.
3438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3439 # <limits.h> exists even on freestanding compilers.
3440 # On the NeXT, cc -E runs the code through the compiler's parser,
3441 # not just through cpp. "Syntax error" is here to catch this case.
3442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3445 # include <limits.h>
3447 # include <assert.h>
3451 if ac_fn_c_try_cpp
"$LINENO"; then :
3454 # Broken: fails on valid input.
3457 rm -f conftest.err conftest.
$ac_ext
3459 # OK, works on sane cases. Now check whether nonexistent headers
3460 # can be detected and how.
3461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3463 #include <ac_nonexistent.h>
3465 if ac_fn_c_try_cpp
"$LINENO"; then :
3466 # Broken: success on invalid input.
3469 # Passes both tests.
3473 rm -f conftest.err conftest.
$ac_ext
3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3477 rm -f conftest.err conftest.
$ac_ext
3478 if $ac_preproc_ok; then :
3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3484 See \`config.log' for more details." "$LINENO" 5; }
3488 ac_cpp
='$CPP $CPPFLAGS'
3489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3495 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3496 if test "${ac_cv_path_GREP+set}" = set; then :
3497 $as_echo_n "(cached) " >&6
3499 if test -z "$GREP"; then
3500 ac_path_GREP_found
=false
3501 # Loop through the user's path and test for each of PROGNAME-LIST
3502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3503 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3506 test -z "$as_dir" && as_dir
=.
3507 for ac_prog
in grep ggrep
; do
3508 for ac_exec_ext
in '' $ac_executable_extensions; do
3509 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3510 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3511 # Check for GNU ac_path_GREP and select it if it is found.
3512 # Check for GNU $ac_path_GREP
3513 case `"$ac_path_GREP" --version 2>&1` in
3515 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3518 $as_echo_n 0123456789 >"conftest.in"
3521 cat "conftest.in" "conftest.in" >"conftest.tmp"
3522 mv "conftest.tmp" "conftest.in"
3523 cp "conftest.in" "conftest.nl"
3524 $as_echo 'GREP' >> "conftest.nl"
3525 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3526 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3527 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3528 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3529 # Best one so far, save it but keep looking for a better one
3530 ac_cv_path_GREP
="$ac_path_GREP"
3531 ac_path_GREP_max
=$ac_count
3533 # 10*(2^10) chars as input seems more than enough
3534 test $ac_count -gt 10 && break
3536 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3539 $ac_path_GREP_found && break 3
3544 if test -z "$ac_cv_path_GREP"; then
3545 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3548 ac_cv_path_GREP
=$GREP
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3553 $as_echo "$ac_cv_path_GREP" >&6; }
3554 GREP
="$ac_cv_path_GREP"
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3558 $as_echo_n "checking for egrep... " >&6; }
3559 if test "${ac_cv_path_EGREP+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3563 then ac_cv_path_EGREP
="$GREP -E"
3565 if test -z "$EGREP"; then
3566 ac_path_EGREP_found
=false
3567 # Loop through the user's path and test for each of PROGNAME-LIST
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_prog
in egrep; do
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3576 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3577 # Check for GNU ac_path_EGREP and select it if it is found.
3578 # Check for GNU $ac_path_EGREP
3579 case `"$ac_path_EGREP" --version 2>&1` in
3581 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3584 $as_echo_n 0123456789 >"conftest.in"
3587 cat "conftest.in" "conftest.in" >"conftest.tmp"
3588 mv "conftest.tmp" "conftest.in"
3589 cp "conftest.in" "conftest.nl"
3590 $as_echo 'EGREP' >> "conftest.nl"
3591 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3592 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3593 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3594 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3595 # Best one so far, save it but keep looking for a better one
3596 ac_cv_path_EGREP
="$ac_path_EGREP"
3597 ac_path_EGREP_max
=$ac_count
3599 # 10*(2^10) chars as input seems more than enough
3600 test $ac_count -gt 10 && break
3602 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3605 $ac_path_EGREP_found && break 3
3610 if test -z "$ac_cv_path_EGREP"; then
3611 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3614 ac_cv_path_EGREP
=$EGREP
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3620 $as_echo "$ac_cv_path_EGREP" >&6; }
3621 EGREP
="$ac_cv_path_EGREP"
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3625 $as_echo_n "checking for ANSI C header files... " >&6; }
3626 if test "${ac_cv_header_stdc+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3644 if ac_fn_c_try_compile
"$LINENO"; then :
3645 ac_cv_header_stdc
=yes
3647 ac_cv_header_stdc
=no
3649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3651 if test $ac_cv_header_stdc = yes; then
3652 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3659 $EGREP "memchr" >/dev
/null
2>&1; then :
3662 ac_cv_header_stdc
=no
3668 if test $ac_cv_header_stdc = yes; then
3669 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3676 $EGREP "free" >/dev
/null
2>&1; then :
3679 ac_cv_header_stdc
=no
3685 if test $ac_cv_header_stdc = yes; then
3686 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3687 if test "$cross_compiling" = yes; then :
3690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3694 #if ((' ' & 0x0FF) == 0x020)
3695 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3696 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3698 # define ISLOWER(c) \
3699 (('a' <= (c) && (c) <= 'i') \
3700 || ('j' <= (c) && (c) <= 'r') \
3701 || ('s' <= (c) && (c) <= 'z'))
3702 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3705 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3710 for (i = 0; i < 256; i++)
3711 if (XOR (islower (i), ISLOWER (i))
3712 || toupper (i) != TOUPPER (i))
3717 if ac_fn_c_try_run
"$LINENO"; then :
3720 ac_cv_header_stdc
=no
3722 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3723 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3729 $as_echo "$ac_cv_header_stdc" >&6; }
3730 if test $ac_cv_header_stdc = yes; then
3732 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3736 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3737 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3738 inttypes.h stdint.h unistd.h
3740 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3741 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3743 eval as_val
=\$
$as_ac_Header
3744 if test "x$as_val" = x
""yes; then :
3745 cat >>confdefs.h
<<_ACEOF
3746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3755 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3756 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3763 if test "$MINIX" = yes; then
3765 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3768 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3771 $as_echo "#define _MINIX 1" >>confdefs.h
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3777 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3778 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3779 $as_echo_n "(cached) " >&6
3781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3784 # define __EXTENSIONS__ 1
3785 $ac_includes_default
3794 if ac_fn_c_try_compile
"$LINENO"; then :
3795 ac_cv_safe_to_define___extensions__
=yes
3797 ac_cv_safe_to_define___extensions__
=no
3799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3802 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3803 test $ac_cv_safe_to_define___extensions__ = yes &&
3804 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3806 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3808 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3810 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3812 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3816 libtool_VERSION
=1:0:0
3819 # 1.11.1: Require that version of automake.
3820 # foreign: Don't require README, INSTALL, NEWS, etc.
3821 # no-define: Don't define PACKAGE and VERSION.
3822 # no-dependencies: Don't generate automatic dependencies.
3823 # (because it breaks when using bootstrap-lean, since some of the
3824 # headers are gone at "make install" time).
3825 # -Wall: Issue all automake warnings.
3826 # -Wno-portability: Don't warn about constructs supported by GNU make.
3827 # (because GCC requires GNU make anyhow).
3828 am__api_version
='1.11'
3830 # Find a good install program. We prefer a C program (faster),
3831 # so one script is as good as another. But avoid the broken or
3832 # incompatible versions:
3833 # SysV /etc/install, /usr/sbin/install
3834 # SunOS /usr/etc/install
3835 # IRIX /sbin/install
3837 # AmigaOS /C/install, which installs bootblocks on floppy discs
3838 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3839 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3840 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3841 # OS/2's system install, which has a completely different semantic
3842 # ./install, which can be erroneously created by make from ./install.sh.
3843 # Reject install programs that cannot install multiple files.
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3845 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3846 if test -z "$INSTALL"; then
3847 if test "${ac_cv_path_install+set}" = set; then :
3848 $as_echo_n "(cached) " >&6
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 # Account for people who put trailing slashes in PATH elements.
3856 case $as_dir/ in #((
3857 .
/ | .
// |
/[cC
]/* | \
3858 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3859 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3862 # OSF1 and SCO ODT 3.0 have their own names for install.
3863 # Don't use installbsd from OSF since it installs stuff as root
3865 for ac_prog
in ginstall scoinst
install; do
3866 for ac_exec_ext
in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3868 if test $ac_prog = install &&
3869 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3870 # AIX install. It has an incompatible calling convention.
3872 elif test $ac_prog = install &&
3873 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3874 # program-specific install script used by HP pwplus--don't use.
3877 rm -rf conftest.one conftest.two conftest.dir
3878 echo one
> conftest.one
3879 echo two
> conftest.two
3881 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3882 test -s conftest.one
&& test -s conftest.two
&&
3883 test -s conftest.dir
/conftest.one
&&
3884 test -s conftest.dir
/conftest.two
3886 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3899 rm -rf conftest.one conftest.two conftest.dir
3902 if test "${ac_cv_path_install+set}" = set; then
3903 INSTALL
=$ac_cv_path_install
3905 # As a last resort, use the slow shell script. Don't cache a
3906 # value for INSTALL within a source directory, because that will
3907 # break other packages using the cache if that directory is
3908 # removed, or if the value is a relative name.
3909 INSTALL
=$ac_install_sh
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3913 $as_echo "$INSTALL" >&6; }
3915 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3916 # It thinks the first close brace ends the variable substitution.
3917 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3919 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3921 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3924 $as_echo_n "checking whether build environment is sane... " >&6; }
3927 echo timestamp
> conftest.
file
3928 # Reject unsafe characters in $srcdir or the absolute working directory
3929 # name. Accept space and tab only in the latter.
3933 *[\\\"\
#\$\&\'\`$am_lf]*)
3934 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3937 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3938 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3941 # Do `set' in a subshell so we don't clobber the current shell's
3942 # arguments. Must try -L first in case configure is actually a
3943 # symlink; some systems play weird games with the mod time of symlinks
3944 # (eg FreeBSD returns the mod time of the symlink's containing
3947 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3948 if test "$*" = "X"; then
3950 set X
`ls -t "$srcdir/configure" conftest.file`
3953 if test "$*" != "X $srcdir/configure conftest.file" \
3954 && test "$*" != "X conftest.file $srcdir/configure"; then
3956 # If neither matched, then we have a broken ls. This can happen
3957 # if, for instance, CONFIG_SHELL is bash and it inherits a
3958 # broken ls alias from the environment. This has actually
3959 # happened. Such a system could not be considered "sane".
3960 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3961 alias in your environment" "$LINENO" 5
3964 test "$2" = conftest.
file
3970 as_fn_error
"newly created file is older than distributed files!
3971 Check your system clock" "$LINENO" 5
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3975 test "$program_prefix" != NONE
&&
3976 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3977 # Use a double $ so make ignores it.
3978 test "$program_suffix" != NONE
&&
3979 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3980 # Double any \ or $.
3981 # By default was `s,x,x', remove it if useless.
3982 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3983 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3985 # expand $ac_aux_dir to an absolute path
3986 am_aux_dir
=`cd $ac_aux_dir && pwd`
3988 if test x
"${MISSING+set}" != xset
; then
3991 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3993 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3996 # Use eval to expand $SHELL
3997 if eval "$MISSING --run true"; then
3998 am_missing_run
="$MISSING --run "
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4002 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4005 if test x
"${install_sh}" != xset
; then
4008 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4010 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4014 # Installed binaries are usually stripped using `strip' when the user
4015 # run `make install-strip'. However `strip' might not be the right
4016 # tool to use in cross-compilation environments, therefore Automake
4017 # will honor the `STRIP' environment variable to overrule this program.
4018 if test "$cross_compiling" != no
; then
4019 if test -n "$ac_tool_prefix"; then
4020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4021 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if test "${ac_cv_prog_STRIP+set}" = set; then :
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$STRIP"; then
4028 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 STRIP
=$ac_cv_prog_STRIP
4048 if test -n "$STRIP"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4050 $as_echo "$STRIP" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4058 if test -z "$ac_cv_prog_STRIP"; then
4060 # Extract the first word of "strip", so it can be a program name with args.
4061 set dummy strip
; ac_word
=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4067 if test -n "$ac_ct_STRIP"; then
4068 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4077 ac_cv_prog_ac_ct_STRIP
="strip"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4088 if test -n "$ac_ct_STRIP"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4090 $as_echo "$ac_ct_STRIP" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4096 if test "x$ac_ct_STRIP" = x
; then
4099 case $cross_compiling:$ac_tool_warned in
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4103 ac_tool_warned
=yes ;;
4108 STRIP
="$ac_cv_prog_STRIP"
4112 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4115 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4116 if test -z "$MKDIR_P"; then
4117 if test "${ac_cv_path_mkdir+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4121 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4124 test -z "$as_dir" && as_dir
=.
4125 for ac_prog
in mkdir gmkdir
; do
4126 for ac_exec_ext
in '' $ac_executable_extensions; do
4127 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4128 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4129 'mkdir (GNU coreutils) '* | \
4130 'mkdir (coreutils) '* | \
4131 'mkdir (fileutils) '4.1*)
4132 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4142 if test "${ac_cv_path_mkdir+set}" = set; then
4143 MKDIR_P
="$ac_cv_path_mkdir -p"
4145 # As a last resort, use the slow shell script. Don't cache a
4146 # value for MKDIR_P within a source directory, because that will
4147 # break other packages using the cache if that directory is
4148 # removed, or if the value is a relative name.
4149 test -d .
/--version && rmdir .
/--version
4150 MKDIR_P
="$ac_install_sh -d"
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4154 $as_echo "$MKDIR_P" >&6; }
4158 [\\/$
]* | ?
:[\\/]*) ;;
4159 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4162 for ac_prog
in gawk mawk nawk
awk
4164 # Extract the first word of "$ac_prog", so it can be a program name with args.
4165 set dummy
$ac_prog; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if test "${ac_cv_prog_AWK+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$AWK"; then
4172 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir
=.
4179 for ac_exec_ext
in '' $ac_executable_extensions; do
4180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181 ac_cv_prog_AWK
="$ac_prog"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 if test -n "$AWK"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4194 $as_echo "$AWK" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4201 test -n "$AWK" && break
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4205 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4207 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4208 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4209 $as_echo_n "(cached) " >&6
4211 cat >conftest.
make <<\_ACEOF
4214 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4216 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4217 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4219 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4221 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4225 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 SET_MAKE
="MAKE=${MAKE-make}"
4235 rm -rf .tst
2>/dev
/null
4236 mkdir .tst
2>/dev
/null
4237 if test -d .tst
; then
4242 rmdir .tst
2>/dev
/null
4244 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4245 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4246 # is not polluted with repeated "-I."
4247 am__isrc
=' -I$(srcdir)'
4248 # test to see if srcdir already configured
4249 if test -f $srcdir/config.status
; then
4250 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4254 # test whether we have cygpath
4255 if test -z "$CYGPATH_W"; then
4256 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4257 CYGPATH_W
='cygpath -w'
4264 # Define the identity of the package.
4265 PACKAGE
='libbacktrace'
4266 VERSION
='version-unused'
4269 # Some tools Automake needs.
4271 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4274 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4277 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4280 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4283 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4285 # We need awk for the "check" target. The system "awk" is bad on
4287 # Always define AMTAR for backward compatibility.
4289 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4291 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4300 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4301 # Check whether --enable-maintainer-mode was given.
4302 if test "${enable_maintainer_mode+set}" = set; then :
4303 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4305 USE_MAINTAINER_MODE
=no
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4309 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4310 if test $USE_MAINTAINER_MODE = yes; then
4311 MAINTAINER_MODE_TRUE
=
4312 MAINTAINER_MODE_FALSE
='#'
4314 MAINTAINER_MODE_TRUE
='#'
4315 MAINTAINER_MODE_FALSE
=
4318 MAINT
=$MAINTAINER_MODE_TRUE
4323 # Check whether --with-target-subdir was given.
4324 if test "${with_target_subdir+set}" = set; then :
4325 withval
=$with_target_subdir;
4329 # We must force CC to /not/ be precious variables; otherwise
4330 # the wrong, non-multilib-adjusted value will be used in multilibs.
4331 # As a side effect, we have to subst CFLAGS ourselves.
4335 ac_cpp
='$CPP $CPPFLAGS'
4336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4339 if test -n "$ac_tool_prefix"; then
4340 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4341 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CC+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$CC"; then
4348 ac_cv_prog_CC
="$CC" # Let the user override the test.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 if test -n "$CC"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4370 $as_echo "$CC" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4378 if test -z "$ac_cv_prog_CC"; then
4380 # Extract the first word of "gcc", so it can be a program name with args.
4381 set dummy gcc
; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$ac_ct_CC"; then
4388 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir
=.
4395 for ac_exec_ext
in '' $ac_executable_extensions; do
4396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397 ac_cv_prog_ac_ct_CC
="gcc"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4408 if test -n "$ac_ct_CC"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4410 $as_echo "$ac_ct_CC" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4416 if test "x$ac_ct_CC" = x
; then
4419 case $cross_compiling:$ac_tool_warned in
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4423 ac_tool_warned
=yes ;;
4431 if test -z "$CC"; then
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4434 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if test "${ac_cv_prog_CC+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$CC"; then
4441 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 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 if test -n "$CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4463 $as_echo "$CC" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4472 if test -z "$CC"; then
4473 # Extract the first word of "cc", so it can be a program name with args.
4474 set dummy cc
; ac_word
=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if test "${ac_cv_prog_CC+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC
="$CC" # Let the user override the test.
4484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir
=.
4489 for ac_exec_ext
in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4492 ac_prog_rejected
=yes
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 if test $ac_prog_rejected = yes; then
4504 # We found a bogon in the path, so make sure we never use it.
4505 set dummy
$ac_cv_prog_CC
4507 if test $# != 0; then
4508 # We chose a different compiler from the bogus one.
4509 # However, it has the same basename, so the bogon will be chosen
4510 # first if we set CC to just the basename; use the full file name.
4512 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4518 if test -n "$CC"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4520 $as_echo "$CC" >&6; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4528 if test -z "$CC"; then
4529 if test -n "$ac_tool_prefix"; then
4530 for ac_prog
in cl.exe
4532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4533 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if test "${ac_cv_prog_CC+set}" = set; then :
4537 $as_echo_n "(cached) " >&6
4539 if test -n "$CC"; then
4540 ac_cv_prog_CC
="$CC" # Let the user override the test.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4549 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 if test -n "$CC"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4562 $as_echo "$CC" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4569 test -n "$CC" && break
4572 if test -z "$CC"; then
4574 for ac_prog
in cl.exe
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy
$ac_prog; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$ac_ct_CC"; then
4584 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_ac_ct_CC
="$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4604 if test -n "$ac_ct_CC"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4606 $as_echo "$ac_ct_CC" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$ac_ct_CC" && break
4616 if test "x$ac_ct_CC" = x
; then
4619 case $cross_compiling:$ac_tool_warned in
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4623 ac_tool_warned
=yes ;;
4632 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4634 as_fn_error
"no acceptable C compiler found in \$PATH
4635 See \`config.log' for more details." "$LINENO" 5; }
4637 # Provide some information about the compiler.
4638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4641 for ac_option
in --version -v -V -qversion; do
4642 { { ac_try
="$ac_compiler $ac_option >&5"
4644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4648 $as_echo "$ac_try_echo"; } >&5
4649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4651 if test -s conftest.err; then
4653 ... rest of stderr output deleted ...
4654 10q' conftest.err >conftest.er1
4655 cat conftest.er1 >&5
4656 rm -f conftest.er1 conftest.err
4658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4659 test $ac_status = 0; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4663 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4664 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4681 if ac_fn_c_try_compile "$LINENO"; then :
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4691 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4692 if test $ac_compiler_gnu = yes; then
4697 ac_test_CFLAGS=${CFLAGS+set}
4698 ac_save_CFLAGS=$CFLAGS
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4700 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4701 if test "${ac_cv_prog_cc_g+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 ac_save_c_werror_flag=$ac_c_werror_flag
4705 ac_c_werror_flag=yes
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4719 if ac_fn_c_try_compile "$LINENO"; then :
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4734 if ac_fn_c_try_compile "$LINENO"; then :
4737 ac_c_werror_flag=$ac_save_c_werror_flag
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4750 if ac_fn_c_try_compile "$LINENO"; then :
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_c_werror_flag=$ac_save_c_werror_flag
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4761 $as_echo "$ac_cv_prog_cc_g" >&6; }
4762 if test "$ac_test_CFLAGS" = set; then
4763 CFLAGS=$ac_save_CFLAGS
4764 elif test $ac_cv_prog_cc_g = yes; then
4765 if test "$GCC" = yes; then
4771 if test "$GCC" = yes; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4778 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4779 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4780 $as_echo_n "(cached) " >&6
4782 ac_cv_prog_cc_c89=no
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4788 #include <sys/types.h>
4789 #include <sys/stat.h>
4790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4791 struct buf { int x; };
4792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4793 static char *e (p, i)
4799 static char *f (char * (*g) (char **, int), char **p, ...)
4804 s = g (p, va_arg (v,int));
4809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4810 function prototypes and stuff, but not '\xHH' hex character constants.
4811 These don't provoke an error unfortunately, instead are silently treated
4812 as 'x'. The following induces an error, until -std is added to get
4813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4814 array size at least. It's necessary to write '\x00'==0 to get something
4815 that's true only with -std. */
4816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4818 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4819 inside strings and character constants. */
4821 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4823 int test (int i, double x);
4824 struct s1 {int (*f) (int a);};
4825 struct s2 {int (*f) (double a);};
4826 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4832 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4837 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4840 CC="$ac_save_CC $ac_arg"
4841 if ac_fn_c_try_compile "$LINENO"; then :
4842 ac_cv_prog_cc_c89=$ac_arg
4844 rm -f core conftest.err conftest.$ac_objext
4845 test "x$ac_cv_prog_cc_c89" != "xno" && break
4847 rm -f conftest.$ac_ext
4852 case "x$ac_cv_prog_cc_c89" in
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4855 $as_echo "none needed" >&6; } ;;
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4858 $as_echo "unsupported" >&6; } ;;
4860 CC="$CC $ac_cv_prog_cc_c89"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4862 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4864 if test "x$ac_cv_prog_cc_c89" != xno; then :
4869 ac_cpp='$CPP $CPPFLAGS'
4870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4878 if test -n "$ac_tool_prefix"; then
4879 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4880 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$RANLIB"; then
4887 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 RANLIB=$ac_cv_prog_RANLIB
4907 if test -n "$RANLIB"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4909 $as_echo "$RANLIB" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 if test -z "$ac_cv_prog_RANLIB"; then
4918 ac_ct_RANLIB=$RANLIB
4919 # Extract the first word of "ranlib", so it can be a program name with args.
4920 set dummy ranlib; ac_word=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$ac_ct_RANLIB"; then
4927 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936 ac_cv_prog_ac_ct_RANLIB="ranlib"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4947 if test -n "$ac_ct_RANLIB"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4949 $as_echo "$ac_ct_RANLIB" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4955 if test "x$ac_ct_RANLIB" = x; then
4958 case $cross_compiling:$ac_tool_warned in
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4962 ac_tool_warned=yes ;;
4964 RANLIB=$ac_ct_RANLIB
4967 RANLIB="$ac_cv_prog_RANLIB"
4971 for ac_prog in gawk mawk nawk awk
4973 # Extract the first word of "$ac_prog", so it can be a program name with args.
4974 set dummy $ac_prog; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if test "${ac_cv_prog_AWK+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4980 if test -n "$AWK"; then
4981 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_AWK="$ac_prog"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 if test -n "$AWK"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5003 $as_echo "$AWK" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5010 test -n "$AWK" && break
5014 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5020 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5025 macro_version='2.2.7a'
5026 macro_revision='1.3134'
5040 ltmain="$ac_aux_dir/ltmain.sh"
5042 # Backslashify metacharacters that are still active within
5043 # double-quoted strings.
5044 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5046 # Same as above, but do not quote variable references.
5047 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5049 # Sed substitution to delay expansion of an escaped shell variable in a
5050 # double_quote_subst'ed string.
5051 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5053 # Sed substitution to delay expansion of an escaped single quote.
5054 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5056 # Sed substitution to avoid accidental globbing in evaled expressions
5057 no_glob_subst='s/\*/\\\*/g'
5059 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5060 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5061 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5064 $as_echo_n "checking how to print
strings...
" >&6; }
5065 # Test print first, because it will be a builtin if present.
5066 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5067 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5069 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5072 # Use this function as a fallback that always works.
5073 func_fallback_echo ()
5075 eval 'cat <<_LTECHO_EOF
5079 ECHO='func_fallback_echo'
5082 # func_echo_all arg...
5083 # Invoke $ECHO with all args, space-separated.
5090 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5091 $as_echo "printf" >&6; } ;;
5092 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5093 $as_echo "print
-r" >&6; } ;;
5094 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5095 $as_echo "cat" >&6; } ;;
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5112 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5113 if test "${ac_cv_path_SED+set}" = set; then :
5114 $as_echo_n "(cached
) " >&6
5116 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5117 for ac_i in 1 2 3 4 5 6 7; do
5118 ac_script="$ac_script$as_nl$ac_script"
5120 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5121 { ac_script=; unset ac_script;}
5122 if test -z "$SED"; then
5123 ac_path_SED_found=false
5124 # Loop through the user's path and test for each of PROGNAME-LIST
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir=.
5130 for ac_prog in sed gsed; do
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5133 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5134 # Check for GNU ac_path_SED and select it if it is found.
5135 # Check for GNU $ac_path_SED
5136 case `"$ac_path_SED" --version 2>&1` in
5138 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5141 $as_echo_n 0123456789 >"conftest.
in"
5144 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5145 mv "conftest.tmp
" "conftest.
in"
5146 cp "conftest.
in" "conftest.
nl"
5147 $as_echo '' >> "conftest.
nl"
5148 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5149 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5150 as_fn_arith $ac_count + 1 && ac_count=$as_val
5151 if test $ac_count -gt ${ac_path_SED_max-0}; then
5152 # Best one so far, save it but keep looking for a better one
5153 ac_cv_path_SED="$ac_path_SED"
5154 ac_path_SED_max=$ac_count
5156 # 10*(2^10) chars as input seems more than enough
5157 test $ac_count -gt 10 && break
5159 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5162 $ac_path_SED_found && break 3
5167 if test -z "$ac_cv_path_SED"; then
5168 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5176 $as_echo "$ac_cv_path_SED" >&6; }
5177 SED="$ac_cv_path_SED"
5180 test -z "$SED" && SED=sed
5181 Xsed="$SED -e 1s
/^X
//"
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5194 $as_echo_n "checking
for fgrep...
" >&6; }
5195 if test "${ac_cv_path_FGREP+set}" = set; then :
5196 $as_echo_n "(cached
) " >&6
5198 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5199 then ac_cv_path_FGREP="$GREP -F"
5201 if test -z "$FGREP"; then
5202 ac_path_FGREP_found=false
5203 # Loop through the user's path and test for each of PROGNAME-LIST
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5208 test -z "$as_dir" && as_dir=.
5209 for ac_prog in fgrep; do
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5212 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5213 # Check for GNU ac_path_FGREP and select it if it is found.
5214 # Check for GNU $ac_path_FGREP
5215 case `"$ac_path_FGREP" --version 2>&1` in
5217 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5220 $as_echo_n 0123456789 >"conftest.
in"
5223 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5224 mv "conftest.tmp
" "conftest.
in"
5225 cp "conftest.
in" "conftest.
nl"
5226 $as_echo 'FGREP' >> "conftest.
nl"
5227 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5228 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5229 as_fn_arith $ac_count + 1 && ac_count=$as_val
5230 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5231 # Best one so far, save it but keep looking for a better one
5232 ac_cv_path_FGREP="$ac_path_FGREP"
5233 ac_path_FGREP_max=$ac_count
5235 # 10*(2^10) chars as input seems more than enough
5236 test $ac_count -gt 10 && break
5238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5241 $ac_path_FGREP_found && break 3
5246 if test -z "$ac_cv_path_FGREP"; then
5247 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5250 ac_cv_path_FGREP=$FGREP
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5256 $as_echo "$ac_cv_path_FGREP" >&6; }
5257 FGREP="$ac_cv_path_FGREP"
5260 test -z "$GREP" && GREP=grep
5280 # Check whether --with-gnu-ld was given.
5281 if test "${with_gnu_ld+set}" = set; then :
5282 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5288 if test "$GCC" = yes; then
5289 # Check if gcc -print-prog-name=ld gives a path.
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5291 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5294 # gcc leaves a trailing carriage return which upsets mingw
5295 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5297 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5300 # Accept absolute paths.
5302 re_direlt='/[^/][^/]*/\.\./'
5303 # Canonicalize the pathname of ld
5304 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5305 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5306 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5308 test -z "$LD" && LD="$ac_prog"
5311 # If it fails, then pretend we aren't using GCC.
5315 # If it is relative, then search for the first ld in PATH.
5319 elif test "$with_gnu_ld" = yes; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5321 $as_echo_n "checking
for GNU ld...
" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5324 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5326 if test "${lt_cv_path_LD+set}" = set; then :
5327 $as_echo_n "(cached
) " >&6
5329 if test -z "$LD"; then
5330 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5331 for ac_dir in $PATH; do
5333 test -z "$ac_dir" && ac_dir=.
5334 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5335 lt_cv_path_LD="$ac_dir/$ac_prog"
5336 # Check to see if the program is GNU ld. I'd rather use --version,
5337 # but apparently some variants of GNU ld only accept -v.
5338 # Break only if it was the GNU/non-GNU ld that we prefer.
5339 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5340 *GNU* | *'with BFD'*)
5341 test "$with_gnu_ld" != no && break
5344 test "$with_gnu_ld" != yes && break
5351 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5356 if test -n "$LD"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5358 $as_echo "$LD" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5361 $as_echo "no
" >&6; }
5363 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5365 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5366 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5367 $as_echo_n "(cached
) " >&6
5369 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5370 case `$LD -v 2>&1 </dev/null` in
5371 *GNU* | *'with BFD'*)
5372 lt_cv_prog_gnu_ld=yes
5375 lt_cv_prog_gnu_ld=no
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5380 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5381 with_gnu_ld=$lt_cv_prog_gnu_ld
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5392 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5393 if test "${lt_cv_path_NM+set}" = set; then :
5394 $as_echo_n "(cached
) " >&6
5396 if test -n "$NM"; then
5397 # Let the user override the test.
5400 lt_nm_to_check="${ac_tool_prefix}nm
"
5401 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5402 lt_nm_to_check="$lt_nm_to_check nm
"
5404 for lt_tmp_nm in $lt_nm_to_check; do
5405 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5406 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5408 test -z "$ac_dir" && ac_dir=.
5409 tmp_nm="$ac_dir/$lt_tmp_nm"
5410 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5411 # Check to see if the nm accepts a BSD-compat flag.
5412 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5413 # nm: unknown option "B
" ignored
5414 # Tru64's nm complains that /dev/null is an invalid object file
5415 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5416 */dev/null* | *'Invalid file or object type'*)
5417 lt_cv_path_NM="$tmp_nm -B"
5421 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5423 lt_cv_path_NM="$tmp_nm -p"
5427 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5428 continue # so that we can try to find one that supports BSD flags
5437 : ${lt_cv_path_NM=no}
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5441 $as_echo "$lt_cv_path_NM" >&6; }
5442 if test "$lt_cv_path_NM" != "no
"; then
5445 # Didn't find any BSD compatible name lister, look for dumpbin.
5446 if test -n "$DUMPBIN"; then :
5447 # Let the user override the test.
5449 if test -n "$ac_tool_prefix"; then
5450 for ac_prog in dumpbin "link
-dump"
5452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5455 $as_echo_n "checking
for $ac_word...
" >&6; }
5456 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5457 $as_echo_n "(cached
) " >&6
5459 if test -n "$DUMPBIN"; then
5460 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5479 DUMPBIN=$ac_cv_prog_DUMPBIN
5480 if test -n "$DUMPBIN"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5482 $as_echo "$DUMPBIN" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5485 $as_echo "no
" >&6; }
5489 test -n "$DUMPBIN" && break
5492 if test -z "$DUMPBIN"; then
5493 ac_ct_DUMPBIN=$DUMPBIN
5494 for ac_prog in dumpbin "link
-dump"
5496 # Extract the first word of "$ac_prog", so it can be a program name with args.
5497 set dummy $ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5499 $as_echo_n "checking
for $ac_word...
" >&6; }
5500 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5501 $as_echo_n "(cached
) " >&6
5503 if test -n "$ac_ct_DUMPBIN"; then
5504 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5513 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5523 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5524 if test -n "$ac_ct_DUMPBIN"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5526 $as_echo "$ac_ct_DUMPBIN" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5529 $as_echo "no
" >&6; }
5533 test -n "$ac_ct_DUMPBIN" && break
5536 if test "x
$ac_ct_DUMPBIN" = x; then
5539 case $cross_compiling:$ac_tool_warned in
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5542 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5543 ac_tool_warned=yes ;;
5545 DUMPBIN=$ac_ct_DUMPBIN
5549 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5551 DUMPBIN="$DUMPBIN -symbols"
5559 if test "$DUMPBIN" != ":"; then
5563 test -z "$NM" && NM=nm
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5571 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5572 if test "${lt_cv_nm_interface+set}" = set; then :
5573 $as_echo_n "(cached
) " >&6
5575 lt_cv_nm_interface="BSD nm
"
5576 echo "int some_variable
= 0;" > conftest.$ac_ext
5577 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5578 (eval "$ac_compile" 2>conftest.err)
5579 cat conftest.err >&5
5580 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5581 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5582 cat conftest.err >&5
5583 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5584 cat conftest.out >&5
5585 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5586 lt_cv_nm_interface="MS dumpbin
"
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5591 $as_echo "$lt_cv_nm_interface" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5594 $as_echo_n "checking whether
ln -s works...
" >&6; }
5596 if test "$LN_S" = "ln -s"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5598 $as_echo "yes" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5601 $as_echo "no
, using
$LN_S" >&6; }
5604 # find the maximum length of command line arguments
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5606 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5607 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5608 $as_echo_n "(cached
) " >&6
5615 # On DJGPP, this test can blow up pretty badly due to problems in libc
5616 # (any single argument exceeding 2000 bytes causes a buffer overrun
5617 # during glob expansion). Even if it were fixed, the result of this
5618 # check would be larger than it should be.
5619 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5623 # Under GNU Hurd, this test is not required because there is
5624 # no limit to the length of command line arguments.
5625 # Libtool will interpret -1 as no limit whatsoever
5626 lt_cv_sys_max_cmd_len=-1;
5629 cygwin* | mingw* | cegcc*)
5630 # On Win9x/ME, this test blows up -- it succeeds, but takes
5631 # about 5 minutes as the teststring grows exponentially.
5632 # Worse, since 9x/ME are not pre-emptively multitasking,
5633 # you end up with a "frozen
" computer, even though with patience
5634 # the test eventually succeeds (with a max line length of 256k).
5635 # Instead, let's just punt: use the minimum linelength reported by
5636 # all of the supported platforms: 8192 (on NT/2K/XP).
5637 lt_cv_sys_max_cmd_len=8192;
5641 # On MiNT this can take a long time and run out of memory.
5642 lt_cv_sys_max_cmd_len=8192;
5646 # On AmigaOS with pdksh, this test takes hours, literally.
5647 # So we just punt and use a minimum line length of 8192.
5648 lt_cv_sys_max_cmd_len=8192;
5651 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5652 # This has been around since 386BSD, at least. Likely further.
5653 if test -x /sbin/sysctl; then
5654 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5655 elif test -x /usr/sbin/sysctl; then
5656 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5658 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5660 # And add a safety zone
5661 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5662 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5666 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5667 lt_cv_sys_max_cmd_len=196608
5671 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5672 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5673 # nice to cause kernel panics so lets avoid the loop below.
5674 # First set a reasonable default.
5675 lt_cv_sys_max_cmd_len=16384
5677 if test -x /sbin/sysconfig; then
5678 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5679 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5684 lt_cv_sys_max_cmd_len=102400
5686 sysv5* | sco5v6* | sysv4.2uw2*)
5687 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5688 if test -n "$kargmax"; then
5689 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5691 lt_cv_sys_max_cmd_len=32768
5695 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5696 if test -n "$lt_cv_sys_max_cmd_len"; then
5697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5700 # Make teststring a little bigger before we do anything with it.
5701 # a 1K string should be a reasonable start.
5702 for i in 1 2 3 4 5 6 7 8 ; do
5703 teststring=$teststring$teststring
5705 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5706 # If test is not a shell built-in, we'll probably end up computing a
5707 # maximum length that is only half of the actual maximum length, but
5709 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5710 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5711 test $i != 17 # 1/2 MB should be enough
5714 teststring=$teststring$teststring
5716 # Only check the string length outside the loop.
5717 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5719 # Add a significant safety factor because C++ compilers can tack on
5720 # massive amounts of additional arguments before passing them to the
5721 # linker. It appears as though 1/2 is a usable value.
5722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5729 if test -n $lt_cv_sys_max_cmd_len ; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5731 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5734 $as_echo "none
" >&6; }
5736 max_cmd_len=$lt_cv_sys_max_cmd_len
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5748 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5749 # Try some XSI features
5752 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5754 && eval 'test $(( 1 + 1 )) -eq 2 \
5755 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5758 $as_echo "$xsi_shell" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5762 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5764 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5766 && lt_shell_append
=yes
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5768 $as_echo "$lt_shell_append" >&6; }
5771 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5781 # test EBCDIC or ASCII
5782 case `echo X|tr X '\101'` in
5783 A
) # ASCII based system
5784 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5785 lt_SP2NL
='tr \040 \012'
5786 lt_NL2SP
='tr \015\012 \040\040'
5788 *) # EBCDIC based system
5789 lt_SP2NL
='tr \100 \n'
5790 lt_NL2SP
='tr \r\n \100\100'
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5803 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5804 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5805 $as_echo_n "(cached) " >&6
5807 lt_cv_ld_reload_flag
='-r'
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5810 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5811 reload_flag
=$lt_cv_ld_reload_flag
5812 case $reload_flag in
5814 *) reload_flag
=" $reload_flag" ;;
5816 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5819 if test "$GCC" = yes; then
5820 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5822 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5835 if test -n "$ac_tool_prefix"; then
5836 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5837 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5841 $as_echo_n "(cached) " >&6
5843 if test -n "$OBJDUMP"; then
5844 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir
=.
5851 for ac_exec_ext
in '' $ac_executable_extensions; do
5852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5853 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 OBJDUMP
=$ac_cv_prog_OBJDUMP
5864 if test -n "$OBJDUMP"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5866 $as_echo "$OBJDUMP" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5874 if test -z "$ac_cv_prog_OBJDUMP"; then
5875 ac_ct_OBJDUMP
=$OBJDUMP
5876 # Extract the first word of "objdump", so it can be a program name with args.
5877 set dummy objdump
; ac_word
=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5881 $as_echo_n "(cached) " >&6
5883 if test -n "$ac_ct_OBJDUMP"; then
5884 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir
=.
5891 for ac_exec_ext
in '' $ac_executable_extensions; do
5892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5893 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5904 if test -n "$ac_ct_OBJDUMP"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5906 $as_echo "$ac_ct_OBJDUMP" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5912 if test "x$ac_ct_OBJDUMP" = x
; then
5915 case $cross_compiling:$ac_tool_warned in
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5919 ac_tool_warned
=yes ;;
5921 OBJDUMP
=$ac_ct_OBJDUMP
5924 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5927 test -z "$OBJDUMP" && OBJDUMP
=objdump
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5938 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5939 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5940 $as_echo_n "(cached) " >&6
5942 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5943 lt_cv_file_magic_test_file
=
5944 lt_cv_deplibs_check_method
='unknown'
5945 # Need to set the preceding variable on all platforms that support
5946 # interlibrary dependencies.
5947 # 'none' -- dependencies not supported.
5948 # `unknown' -- same as none, but documents that we really don't know.
5949 # 'pass_all' -- all dependencies passed with no checks.
5950 # 'test_compile' -- check by making test program.
5951 # 'file_magic [[regex]]' -- check by looking for files in library path
5952 # which responds to the $file_magic_cmd with a given extended regex.
5953 # If you have `file' or equivalent on your system and you're not sure
5954 # whether `pass_all' will *always* work, you probably want this one.
5958 lt_cv_deplibs_check_method
=pass_all
5962 lt_cv_deplibs_check_method
=pass_all
5966 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5967 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5968 lt_cv_file_magic_test_file
=/shlib
/libc.so
5972 # func_win32_libid is a shell function defined in ltmain.sh
5973 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5974 lt_cv_file_magic_cmd
='func_win32_libid'
5978 # Base MSYS/MinGW do not provide the 'file' command needed by
5979 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5980 # unless we find 'file', for example because we are cross-compiling.
5981 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5982 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5983 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5984 lt_cv_file_magic_cmd
='func_win32_libid'
5986 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5987 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5992 # use the weaker test based on 'objdump'. See mingw*.
5993 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5994 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5997 darwin
* | rhapsody
*)
5998 lt_cv_deplibs_check_method
=pass_all
6001 freebsd
* | dragonfly
*)
6002 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6005 # Not sure whether the presence of OpenBSD here was a mistake.
6006 # Let's accept both of them until this is cleared up.
6007 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6008 lt_cv_file_magic_cmd
=/usr
/bin
/file
6009 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6013 lt_cv_deplibs_check_method
=pass_all
6018 lt_cv_deplibs_check_method
=pass_all
6022 lt_cv_deplibs_check_method
=pass_all
6025 hpux10.20
* | hpux11
*)
6026 lt_cv_file_magic_cmd
=/usr
/bin
/file
6029 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6030 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6033 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]'
6034 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6037 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6038 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6044 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6045 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6048 irix5
* | irix6
* | nonstopux
*)
6050 *-32|
*"-32 ") libmagic
=32-bit;;
6051 *-n32|
*"-n32 ") libmagic
=N32
;;
6052 *-64|
*"-64 ") libmagic
=64-bit;;
6053 *) libmagic
=never-match
;;
6055 lt_cv_deplibs_check_method
=pass_all
6058 # This must be Linux ELF.
6059 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6060 lt_cv_deplibs_check_method
=pass_all
6064 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6065 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6067 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6072 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6073 lt_cv_file_magic_cmd
=/usr
/bin
/file
6074 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6078 lt_cv_deplibs_check_method
=pass_all
6082 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6083 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6085 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6089 osf3
* | osf4
* | osf5
*)
6090 lt_cv_deplibs_check_method
=pass_all
6094 lt_cv_deplibs_check_method
=pass_all
6098 lt_cv_deplibs_check_method
=pass_all
6101 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6102 lt_cv_deplibs_check_method
=pass_all
6106 case $host_vendor in
6108 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]'
6109 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6112 lt_cv_deplibs_check_method
=pass_all
6115 lt_cv_file_magic_cmd
='/bin/file'
6116 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6119 lt_cv_file_magic_cmd
='/bin/file'
6120 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6121 lt_cv_file_magic_test_file
=/lib
/libc.so
6124 lt_cv_deplibs_check_method
=pass_all
6127 lt_cv_deplibs_check_method
=pass_all
6133 lt_cv_deplibs_check_method
=pass_all
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6139 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6140 file_magic_cmd
=$lt_cv_file_magic_cmd
6141 deplibs_check_method
=$lt_cv_deplibs_check_method
6142 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6155 if test -n "$ac_tool_prefix"; then
6156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6157 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if test "${ac_cv_prog_AR+set}" = set; then :
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$AR"; then
6164 ac_cv_prog_AR
="$AR" # Let the user override the test.
6166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir
=.
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 if test -n "$AR"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6186 $as_echo "$AR" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6194 if test -z "$ac_cv_prog_AR"; then
6196 # Extract the first word of "ar", so it can be a program name with args.
6197 set dummy
ar; ac_word
=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6203 if test -n "$ac_ct_AR"; then
6204 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_ac_ct_AR
="ar"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6224 if test -n "$ac_ct_AR"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6226 $as_echo "$ac_ct_AR" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6232 if test "x$ac_ct_AR" = x
; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned
=yes ;;
6247 test -z "$AR" && AR
=ar
6248 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6262 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if test "${ac_cv_prog_STRIP+set}" = set; then :
6266 $as_echo_n "(cached) " >&6
6268 if test -n "$STRIP"; then
6269 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir
=.
6276 for ac_exec_ext
in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 STRIP
=$ac_cv_prog_STRIP
6289 if test -n "$STRIP"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6291 $as_echo "$STRIP" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6299 if test -z "$ac_cv_prog_STRIP"; then
6301 # Extract the first word of "strip", so it can be a program name with args.
6302 set dummy strip
; ac_word
=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6306 $as_echo_n "(cached) " >&6
6308 if test -n "$ac_ct_STRIP"; then
6309 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir
=.
6316 for ac_exec_ext
in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_STRIP
="strip"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6329 if test -n "$ac_ct_STRIP"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6331 $as_echo "$ac_ct_STRIP" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6337 if test "x$ac_ct_STRIP" = x
; then
6340 case $cross_compiling:$ac_tool_warned in
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344 ac_tool_warned
=yes ;;
6349 STRIP
="$ac_cv_prog_STRIP"
6352 test -z "$STRIP" && STRIP
=:
6359 if test -n "$ac_tool_prefix"; then
6360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6361 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$RANLIB"; then
6368 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir
=.
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 RANLIB
=$ac_cv_prog_RANLIB
6388 if test -n "$RANLIB"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6390 $as_echo "$RANLIB" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6398 if test -z "$ac_cv_prog_RANLIB"; then
6399 ac_ct_RANLIB
=$RANLIB
6400 # Extract the first word of "ranlib", so it can be a program name with args.
6401 set dummy ranlib
; ac_word
=$2
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403 $as_echo_n "checking for $ac_word... " >&6; }
6404 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6405 $as_echo_n "(cached) " >&6
6407 if test -n "$ac_ct_RANLIB"; then
6408 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6414 test -z "$as_dir" && as_dir
=.
6415 for ac_exec_ext
in '' $ac_executable_extensions; do
6416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6417 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6428 if test -n "$ac_ct_RANLIB"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6430 $as_echo "$ac_ct_RANLIB" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6436 if test "x$ac_ct_RANLIB" = x
; then
6439 case $cross_compiling:$ac_tool_warned in
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6443 ac_tool_warned
=yes ;;
6445 RANLIB
=$ac_ct_RANLIB
6448 RANLIB
="$ac_cv_prog_RANLIB"
6451 test -z "$RANLIB" && RANLIB
=:
6458 # Determine commands to create old-style static archives.
6459 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6460 old_postinstall_cmds
='chmod 644 $oldlib'
6461 old_postuninstall_cmds
=
6463 if test -n "$RANLIB"; then
6466 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6469 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6472 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6477 lock_old_archive_extraction
=yes ;;
6479 lock_old_archive_extraction
=no
;;
6520 # If no C compiler was specified, use CC.
6523 # If no C compiler flags were specified, use CFLAGS.
6524 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6526 # Allow CC to be a program name with arguments.
6530 # Check for command to grab the raw symbol name followed by C symbol from nm.
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6532 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6533 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6534 $as_echo_n "(cached) " >&6
6537 # These are sane defaults that work on at least a few old systems.
6538 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6540 # Character class describing NM global symbol codes.
6541 symcode
='[BCDEGRST]'
6543 # Regexp to match symbols that can be accessed directly from C.
6544 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6546 # Define system-specific variables.
6551 cygwin
* | mingw
* | pw32
* | cegcc
*)
6552 symcode
='[ABCDGISTW]'
6555 if test "$host_cpu" = ia64
; then
6556 symcode
='[ABCDEGRST]'
6560 symcode
='[BCDEGRST]'
6563 symcode
='[BCDEGQRST]'
6574 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6582 # If we're using GNU nm, then use its standard symbol codes.
6583 case `$NM -V 2>&1` in
6584 *GNU
* |
*'with BFD'*)
6585 symcode
='[ABCDGIRSTW]' ;;
6588 # Transform an extracted symbol line into a proper C declaration.
6589 # Some systems (esp. on ia64) link data and code symbols differently,
6590 # so use this general approach.
6591 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6593 # Transform an extracted symbol line into symbol name and symbol address
6594 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6595 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'"
6597 # Handle CRLF in mingw tool chain
6601 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6605 # Try without a prefix underscore, then with it.
6606 for ac_symprfx
in "" "_"; do
6608 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6609 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6611 # Write the raw and C identifiers.
6612 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6613 # Fake it for dumpbin and say T for any non-static function
6614 # and D for any global variable.
6615 # Also find C++ and __fastcall symbols from MSVC++,
6616 # which start with @ or ?.
6617 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6618 " {last_section=section; section=\$ 3};"\
6619 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6620 " \$ 0!~/External *\|/{next};"\
6621 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6622 " {if(hide[section]) next};"\
6623 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6624 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6625 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6626 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6627 " ' prfx=^$ac_symprfx"
6629 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6632 # Check to see that the pipe works correctly.
6636 cat > conftest.
$ac_ext <<_LT_EOF
6641 void nm_test_func(void);
6642 void nm_test_func(void){}
6646 int main(){nm_test_var='a';nm_test_func();return(0);}
6649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6650 (eval $ac_compile) 2>&5
6652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6653 test $ac_status = 0; }; then
6654 # Now try to grab the symbols.
6656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6657 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660 test $ac_status = 0; } && test -s "$nlist"; then
6661 # Try sorting and uniquifying the output.
6662 if sort "$nlist" |
uniq > "$nlist"T
; then
6663 mv -f "$nlist"T
"$nlist"
6668 # Make sure that we snagged all the symbols we need.
6669 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6670 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6671 cat <<_LT_EOF > conftest.$ac_ext
6677 # Now generate the symbol file.
6678 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6680 cat <<_LT_EOF >> conftest.$ac_ext
6682 /* The mapping between symbol names and symbols. */
6687 lt__PROGRAM__LTX_preloaded_symbols[] =
6689 { "@PROGRAM@", (void *) 0 },
6691 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6692 cat <<\_LT_EOF
>> conftest.
$ac_ext
6696 /* This works around a problem
in FreeBSD linker
*/
6697 #ifdef FREEBSD_WORKAROUND
6698 static const void
*lt_preloaded_setup
() {
6699 return lt__PROGRAM__LTX_preloaded_symbols
;
6707 # Now try linking the two files.
6708 mv conftest.
$ac_objext conftstm.
$ac_objext
6709 lt_save_LIBS
="$LIBS"
6710 lt_save_CFLAGS
="$CFLAGS"
6711 LIBS
="conftstm.$ac_objext"
6712 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6714 (eval $ac_link) 2>&5
6716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6717 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6720 LIBS
="$lt_save_LIBS"
6721 CFLAGS
="$lt_save_CFLAGS"
6723 echo "cannot find nm_test_func in $nlist" >&5
6726 echo "cannot find nm_test_var in $nlist" >&5
6729 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6732 echo "$progname: failed program was:" >&5
6733 cat conftest.
$ac_ext >&5
6735 rm -rf conftest
* conftst
*
6737 # Do not use the global_symbol_pipe unless it works.
6738 if test "$pipe_works" = yes; then
6741 lt_cv_sys_global_symbol_pipe
=
6747 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6748 lt_cv_sys_global_symbol_to_cdecl
=
6750 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6752 $as_echo "failed" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6755 $as_echo "ok" >&6; }
6779 # Check whether --enable-libtool-lock was given.
6780 if test "${enable_libtool_lock+set}" = set; then :
6781 enableval
=$enable_libtool_lock;
6784 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6786 # Some flags need to be propagated to the compiler or linker for good
6790 # Find out which ABI we are using.
6791 echo 'int i;' > conftest.
$ac_ext
6792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6793 (eval $ac_compile) 2>&5
6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6796 test $ac_status = 0; }; then
6797 case `/usr/bin/file conftest.$ac_objext` in
6809 # Find out which ABI we are using.
6810 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6812 (eval $ac_compile) 2>&5
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6815 test $ac_status = 0; }; then
6816 if test "$lt_cv_prog_gnu_ld" = yes; then
6817 case `/usr/bin/file conftest.$ac_objext` in
6819 LD
="${LD-ld} -melf32bsmip"
6822 LD
="${LD-ld} -melf32bmipn32"
6825 LD
="${LD-ld} -melf64bmip"
6829 case `/usr/bin/file conftest.$ac_objext` in
6845 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6846 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6847 # Find out which ABI we are using.
6848 echo 'int i;' > conftest.
$ac_ext
6849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6850 (eval $ac_compile) 2>&5
6852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6853 test $ac_status = 0; }; then
6854 case `/usr/bin/file conftest.o` in
6857 x86_64-
*kfreebsd
*-gnu)
6858 LD
="${LD-ld} -m elf_i386_fbsd"
6861 case `/usr/bin/file conftest.o` in
6863 LD
="${LD-ld} -m elf32_x86_64"
6866 LD
="${LD-ld} -m elf_i386"
6870 ppc64-
*linux
*|powerpc64-
*linux
*)
6871 LD
="${LD-ld} -m elf32ppclinux"
6874 LD
="${LD-ld} -m elf_s390"
6877 LD
="${LD-ld} -m elf32_sparc"
6883 x86_64-
*kfreebsd
*-gnu)
6884 LD
="${LD-ld} -m elf_x86_64_fbsd"
6887 LD
="${LD-ld} -m elf_x86_64"
6889 ppc
*-*linux
*|powerpc
*-*linux
*)
6890 LD
="${LD-ld} -m elf64ppc"
6892 s390
*-*linux
*|s390
*-*tpf
*)
6893 LD
="${LD-ld} -m elf64_s390"
6896 LD
="${LD-ld} -m elf64_sparc"
6906 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6907 SAVE_CFLAGS
="$CFLAGS"
6908 CFLAGS
="$CFLAGS -belf"
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6910 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6911 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6912 $as_echo_n "(cached) " >&6
6915 ac_cpp
='$CPP $CPPFLAGS'
6916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6931 if ac_fn_c_try_link
"$LINENO"; then :
6932 lt_cv_cc_needs_belf
=yes
6934 lt_cv_cc_needs_belf
=no
6936 rm -f core conftest.err conftest.
$ac_objext \
6937 conftest
$ac_exeext conftest.
$ac_ext
6939 ac_cpp
='$CPP $CPPFLAGS'
6940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6946 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6947 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6948 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6949 CFLAGS
="$SAVE_CFLAGS"
6953 # Find out which ABI we are using.
6954 echo 'int i;' > conftest.
$ac_ext
6955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6956 (eval $ac_compile) 2>&5
6958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6959 test $ac_status = 0; }; then
6960 case `/usr/bin/file conftest.o` in
6962 case $lt_cv_prog_gnu_ld in
6963 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6965 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6977 need_locks
="$enable_libtool_lock"
6981 rhapsody
* | darwin
*)
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6984 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$DSYMUTIL"; then
6991 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7011 if test -n "$DSYMUTIL"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7013 $as_echo "$DSYMUTIL" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_DSYMUTIL"; then
7022 ac_ct_DSYMUTIL
=$DSYMUTIL
7023 # Extract the first word of "dsymutil", so it can be a program name with args.
7024 set dummy dsymutil
; ac_word
=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_DSYMUTIL"; then
7031 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir
=.
7038 for ac_exec_ext
in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7051 if test -n "$ac_ct_DSYMUTIL"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7053 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_DSYMUTIL" = x
; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned
=yes ;;
7068 DSYMUTIL
=$ac_ct_DSYMUTIL
7071 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7076 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$NMEDIT"; then
7083 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir
=.
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 NMEDIT
=$ac_cv_prog_NMEDIT
7103 if test -n "$NMEDIT"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7105 $as_echo "$NMEDIT" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7113 if test -z "$ac_cv_prog_NMEDIT"; then
7114 ac_ct_NMEDIT
=$NMEDIT
7115 # Extract the first word of "nmedit", so it can be a program name with args.
7116 set dummy nmedit
; ac_word
=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$ac_ct_NMEDIT"; then
7123 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir
=.
7130 for ac_exec_ext
in '' $ac_executable_extensions; do
7131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7143 if test -n "$ac_ct_NMEDIT"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7145 $as_echo "$ac_ct_NMEDIT" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7151 if test "x$ac_ct_NMEDIT" = x
; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned
=yes ;;
7160 NMEDIT
=$ac_ct_NMEDIT
7163 NMEDIT
="$ac_cv_prog_NMEDIT"
7166 if test -n "$ac_tool_prefix"; then
7167 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7168 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if test "${ac_cv_prog_LIPO+set}" = set; then :
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$LIPO"; then
7175 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir
=.
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 LIPO
=$ac_cv_prog_LIPO
7195 if test -n "$LIPO"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7197 $as_echo "$LIPO" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7205 if test -z "$ac_cv_prog_LIPO"; then
7207 # Extract the first word of "lipo", so it can be a program name with args.
7208 set dummy lipo
; ac_word
=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_LIPO"; then
7215 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir
=.
7222 for ac_exec_ext
in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_ac_ct_LIPO
="lipo"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7235 if test -n "$ac_ct_LIPO"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7237 $as_echo "$ac_ct_LIPO" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7243 if test "x$ac_ct_LIPO" = x
; then
7246 case $cross_compiling:$ac_tool_warned in
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned
=yes ;;
7255 LIPO
="$ac_cv_prog_LIPO"
7258 if test -n "$ac_tool_prefix"; then
7259 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7260 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$OTOOL"; then
7267 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir
=.
7274 for ac_exec_ext
in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 OTOOL
=$ac_cv_prog_OTOOL
7287 if test -n "$OTOOL"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7289 $as_echo "$OTOOL" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7297 if test -z "$ac_cv_prog_OTOOL"; then
7299 # Extract the first word of "otool", so it can be a program name with args.
7300 set dummy otool
; ac_word
=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7304 $as_echo_n "(cached) " >&6
7306 if test -n "$ac_ct_OTOOL"; then
7307 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir
=.
7314 for ac_exec_ext
in '' $ac_executable_extensions; do
7315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7316 ac_cv_prog_ac_ct_OTOOL
="otool"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7327 if test -n "$ac_ct_OTOOL"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7329 $as_echo "$ac_ct_OTOOL" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7335 if test "x$ac_ct_OTOOL" = x
; then
7338 case $cross_compiling:$ac_tool_warned in
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7342 ac_tool_warned
=yes ;;
7347 OTOOL
="$ac_cv_prog_OTOOL"
7350 if test -n "$ac_tool_prefix"; then
7351 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7352 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7356 $as_echo_n "(cached) " >&6
7358 if test -n "$OTOOL64"; then
7359 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir
=.
7366 for ac_exec_ext
in '' $ac_executable_extensions; do
7367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7368 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 OTOOL64
=$ac_cv_prog_OTOOL64
7379 if test -n "$OTOOL64"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7381 $as_echo "$OTOOL64" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7389 if test -z "$ac_cv_prog_OTOOL64"; then
7390 ac_ct_OTOOL64
=$OTOOL64
7391 # Extract the first word of "otool64", so it can be a program name with args.
7392 set dummy otool64
; ac_word
=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394 $as_echo_n "checking for $ac_word... " >&6; }
7395 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7396 $as_echo_n "(cached) " >&6
7398 if test -n "$ac_ct_OTOOL64"; then
7399 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7405 test -z "$as_dir" && as_dir
=.
7406 for ac_exec_ext
in '' $ac_executable_extensions; do
7407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7408 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7419 if test -n "$ac_ct_OTOOL64"; then
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7421 $as_echo "$ac_ct_OTOOL64" >&6; }
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 $as_echo "no" >&6; }
7427 if test "x$ac_ct_OTOOL64" = x
; then
7430 case $cross_compiling:$ac_tool_warned in
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7434 ac_tool_warned
=yes ;;
7436 OTOOL64
=$ac_ct_OTOOL64
7439 OTOOL64
="$ac_cv_prog_OTOOL64"
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7469 $as_echo_n "checking for -single_module linker flag... " >&6; }
7470 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7471 $as_echo_n "(cached) " >&6
7473 lt_cv_apple_cc_single_mod
=no
7474 if test -z "${LT_MULTI_MODULE}"; then
7475 # By default we will add the -single_module flag. You can override
7476 # by either setting the environment variable LT_MULTI_MODULE
7477 # non-empty at configure time, or by adding -multi_module to the
7479 rm -rf libconftest.dylib
*
7480 echo "int foo(void){return 1;}" > conftest.c
7481 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7482 -dynamiclib -Wl,-single_module conftest.c" >&5
7483 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7484 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7486 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7487 lt_cv_apple_cc_single_mod
=yes
7489 cat conftest.err
>&5
7491 rm -rf libconftest.dylib
*
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7496 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7498 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7499 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7500 $as_echo_n "(cached) " >&6
7502 lt_cv_ld_exported_symbols_list
=no
7503 save_LDFLAGS
=$LDFLAGS
7504 echo "_main" > conftest.sym
7505 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7517 if ac_fn_c_try_link
"$LINENO"; then :
7518 lt_cv_ld_exported_symbols_list
=yes
7520 lt_cv_ld_exported_symbols_list
=no
7522 rm -f core conftest.err conftest.
$ac_objext \
7523 conftest
$ac_exeext conftest.
$ac_ext
7524 LDFLAGS
="$save_LDFLAGS"
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7528 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7530 $as_echo_n "checking for -force_load linker flag... " >&6; }
7531 if test "${lt_cv_ld_force_load+set}" = set; then :
7532 $as_echo_n "(cached) " >&6
7534 lt_cv_ld_force_load
=no
7535 cat > conftest.c
<< _LT_EOF
7536 int forced_loaded() { return 2;}
7538 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7539 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7540 echo "$AR cru libconftest.a conftest.o" >&5
7541 $AR cru libconftest.a conftest.o
2>&5
7542 cat > conftest.c
<< _LT_EOF
7543 int main() { return 0;}
7545 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7546 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7548 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7549 lt_cv_ld_force_load
=yes
7551 cat conftest.err
>&5
7553 rm -f conftest.err libconftest.a conftest conftest.c
7554 rm -rf conftest.dSYM
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7558 $as_echo "$lt_cv_ld_force_load" >&6; }
7560 rhapsody
* | darwin1.
[012])
7561 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7563 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7564 darwin
*) # darwin 5.x on
7565 # if running on 10.5 or later, the deployment target defaults
7566 # to the OS version, if on x86, and 10.4, the deployment
7567 # target defaults to 10.4. Don't you love it?
7568 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7569 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7570 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7572 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7574 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7578 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7579 _lt_dar_single_mod
='$single_module'
7581 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7582 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7584 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7586 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7587 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7594 for ac_header
in dlfcn.h
7596 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7598 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7599 cat >>confdefs.h
<<_ACEOF
7600 #define HAVE_DLFCN_H 1
7612 # Check whether --enable-shared was given.
7613 if test "${enable_shared+set}" = set; then :
7614 enableval
=$enable_shared; p
=${PACKAGE-default}
7616 yes) enable_shared
=yes ;;
7617 no
) enable_shared
=no
;;
7620 # Look at the argument we got. We use all the common list separators.
7621 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7622 for pkg
in $enableval; do
7624 if test "X$pkg" = "X$p"; then
7651 # Check whether --enable-static was given.
7652 if test "${enable_static+set}" = set; then :
7653 enableval
=$enable_static; p
=${PACKAGE-default}
7655 yes) enable_static
=yes ;;
7656 no
) enable_static
=no
;;
7659 # Look at the argument we got. We use all the common list separators.
7660 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7661 for pkg
in $enableval; do
7663 if test "X$pkg" = "X$p"; then
7683 # Check whether --with-pic was given.
7684 if test "${with_pic+set}" = set; then :
7685 withval
=$with_pic; pic_mode
="$withval"
7691 test -z "$pic_mode" && pic_mode
=default
7699 # Check whether --enable-fast-install was given.
7700 if test "${enable_fast_install+set}" = set; then :
7701 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7703 yes) enable_fast_install
=yes ;;
7704 no
) enable_fast_install
=no
;;
7706 enable_fast_install
=no
7707 # Look at the argument we got. We use all the common list separators.
7708 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7709 for pkg
in $enableval; do
7711 if test "X$pkg" = "X$p"; then
7712 enable_fast_install
=yes
7719 enable_fast_install
=yes
7732 # This can be used to rebuild libtool when needed
7733 LIBTOOL_DEPS
="$ltmain"
7735 # Always use our own libtool.
7736 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7763 test -z "$LN_S" && LN_S
="ln -s"
7778 if test -n "${ZSH_VERSION+set}" ; then
7779 setopt NO_GLOB_SUBST
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7783 $as_echo_n "checking for objdir... " >&6; }
7784 if test "${lt_cv_objdir+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7787 rm -f .libs
2>/dev
/null
7788 mkdir .libs
2>/dev
/null
7789 if test -d .libs
; then
7792 # MS-DOS does not allow filenames that begin with a dot.
7795 rmdir .libs
2>/dev
/null
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7798 $as_echo "$lt_cv_objdir" >&6; }
7799 objdir
=$lt_cv_objdir
7805 cat >>confdefs.h
<<_ACEOF
7806 #define LT_OBJDIR "$lt_cv_objdir/"
7814 # AIX sometimes has problems with the GCC collect2 program. For some
7815 # reason, if we set the COLLECT_NAMES environment variable, the problems
7816 # vanish in a puff of smoke.
7817 if test "X${COLLECT_NAMES+set}" != Xset
; then
7819 export COLLECT_NAMES
7826 can_build_shared
=yes
7828 # All known linkers require a `.a' archive for static linking (except MSVC,
7829 # which needs '.lib').
7832 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7835 old_CFLAGS
="$CFLAGS"
7837 # Set sane defaults for various variables
7838 test -z "$CC" && CC
=cc
7839 test -z "$LTCC" && LTCC
=$CC
7840 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7841 test -z "$LD" && LD
=ld
7842 test -z "$ac_objext" && ac_objext
=o
7844 for cc_temp
in $compiler""; do
7846 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7847 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7852 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7855 # Only perform the check for file, if the check method requires it
7856 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7857 case $deplibs_check_method in
7859 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7861 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7862 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7863 $as_echo_n "(cached) " >&6
7867 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7870 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7871 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7872 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7873 for ac_dir
in $ac_dummy; do
7875 test -z "$ac_dir" && ac_dir
=.
7876 if test -f $ac_dir/${ac_tool_prefix}file; then
7877 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7878 if test -n "$file_magic_test_file"; then
7879 case $deplibs_check_method in
7881 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7882 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7883 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7884 $EGREP "$file_magic_regex" > /dev
/null
; then
7889 *** Warning: the command libtool uses to detect shared libraries,
7890 *** $file_magic_cmd, produces output that libtool cannot recognize.
7891 *** The result is that libtool may fail to recognize shared libraries
7892 *** as such. This will affect the creation of libtool libraries that
7893 *** depend on shared libraries, but programs linked with such libtool
7894 *** libraries will work regardless of this problem. Nevertheless, you
7895 *** may want to report the problem to your system manager and/or to
7896 *** bug-libtool@gnu.org
7906 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7911 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7912 if test -n "$MAGIC_CMD"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7914 $as_echo "$MAGIC_CMD" >&6; }
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7924 if test -z "$lt_cv_path_MAGIC_CMD"; then
7925 if test -n "$ac_tool_prefix"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7927 $as_echo_n "checking for file... " >&6; }
7928 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7929 $as_echo_n "(cached) " >&6
7933 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7936 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7937 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7938 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7939 for ac_dir
in $ac_dummy; do
7941 test -z "$ac_dir" && ac_dir
=.
7942 if test -f $ac_dir/file; then
7943 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7944 if test -n "$file_magic_test_file"; then
7945 case $deplibs_check_method in
7947 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7948 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7949 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7950 $EGREP "$file_magic_regex" > /dev
/null
; then
7955 *** Warning: the command libtool uses to detect shared libraries,
7956 *** $file_magic_cmd, produces output that libtool cannot recognize.
7957 *** The result is that libtool may fail to recognize shared libraries
7958 *** as such. This will affect the creation of libtool libraries that
7959 *** depend on shared libraries, but programs linked with such libtool
7960 *** libraries will work regardless of this problem. Nevertheless, you
7961 *** may want to report the problem to your system manager and/or to
7962 *** bug-libtool@gnu.org
7972 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7977 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7978 if test -n "$MAGIC_CMD"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7980 $as_echo "$MAGIC_CMD" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7996 # Use C for the default configuration in the libtool script
8000 ac_cpp
='$CPP $CPPFLAGS'
8001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8006 # Source file extension for C test sources.
8009 # Object file extension for compiled C test sources.
8013 # Code to be used in simple compile tests
8014 lt_simple_compile_test_code
="int some_variable = 0;"
8016 # Code to be used in simple link tests
8017 lt_simple_link_test_code
='int main(){return(0);}'
8025 # If no C compiler was specified, use CC.
8028 # If no C compiler flags were specified, use CFLAGS.
8029 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8031 # Allow CC to be a program name with arguments.
8034 # Save the default compiler, since it gets overwritten when the other
8035 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8036 compiler_DEFAULT
=$CC
8038 # save warnings/boilerplate of simple test code
8039 ac_outfile
=conftest.
$ac_objext
8040 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8041 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8042 _lt_compiler_boilerplate
=`cat conftest.err`
8045 ac_outfile
=conftest.
$ac_objext
8046 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8047 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8048 _lt_linker_boilerplate
=`cat conftest.err`
8053 ## There is no encapsulation within the following macros, do not change
8054 ## the running order or otherwise move them around unless you know exactly
8055 ## what you are doing...
8056 if test -n "$compiler"; then
8058 lt_prog_compiler_no_builtin_flag
=
8060 if test "$GCC" = yes; then
8061 case $cc_basename in
8063 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8065 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8069 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8070 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8071 $as_echo_n "(cached) " >&6
8073 lt_cv_prog_compiler_rtti_exceptions
=no
8074 ac_outfile
=conftest.
$ac_objext
8075 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8076 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8077 # Insert the option either (1) after the last *FLAGS variable, or
8078 # (2) before a word containing "conftest.", or (3) at the end.
8079 # Note that $ac_compile itself does not contain backslashes and begins
8080 # with a dollar sign (not a hyphen), so the echo should work correctly.
8081 # The option is referenced via a variable to avoid confusing sed.
8082 lt_compile
=`echo "$ac_compile" | $SED \
8083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8085 -e 's:$: $lt_compiler_flag:'`
8086 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8087 (eval "$lt_compile" 2>conftest.err
)
8089 cat conftest.err
>&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 if (exit $ac_status) && test -s "$ac_outfile"; then
8092 # The compiler can only warn and ignore the option if not recognized
8093 # So say no if there are warnings other than the usual output.
8094 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8095 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8096 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8097 lt_cv_prog_compiler_rtti_exceptions
=yes
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8104 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8106 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8107 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8119 lt_prog_compiler_wl
=
8120 lt_prog_compiler_pic
=
8121 lt_prog_compiler_static
=
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8124 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8126 if test "$GCC" = yes; then
8127 lt_prog_compiler_wl
='-Wl,'
8128 lt_prog_compiler_static
='-static'
8132 # All AIX code is PIC.
8133 if test "$host_cpu" = ia64
; then
8134 # AIX 5 now supports IA64 processor
8135 lt_prog_compiler_static
='-Bstatic'
8137 lt_prog_compiler_pic
='-fPIC'
8143 # see comment about AmigaOS4 .so support
8144 lt_prog_compiler_pic
='-fPIC'
8147 # FIXME: we need at least 68020 code to build shared libraries, but
8148 # adding the `-m68020' flag to GCC prevents building anything better,
8150 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8155 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8156 # PIC is the default for these OSes.
8159 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8160 # This hack is so that the source file can tell whether it is being
8161 # built for inclusion in a dll (and should export symbols for example).
8162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8163 # (--disable-auto-import) libraries
8164 lt_prog_compiler_pic
='-DDLL_EXPORT'
8167 darwin
* | rhapsody
*)
8168 # PIC is the default on this platform
8169 # Common symbols not allowed in MH_DYLIB files
8170 lt_prog_compiler_pic
='-fno-common'
8174 # PIC is the default for Haiku.
8175 # The "-static" flag exists, but is broken.
8176 lt_prog_compiler_static
=
8180 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8181 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8182 # sets the default TLS model and affects inlining.
8188 lt_prog_compiler_pic
='-fPIC'
8194 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8195 # Instead, we relocate shared libraries at runtime.
8199 # Just because we use GCC doesn't mean we suddenly get shared libraries
8200 # on systems that don't support them.
8201 lt_prog_compiler_can_build_shared
=no
8206 # QNX uses GNU C++, but need to define -shared option too, otherwise
8208 lt_prog_compiler_pic
='-fPIC -shared'
8212 if test -d /usr
/nec
; then
8213 lt_prog_compiler_pic
=-Kconform_pic
8218 lt_prog_compiler_pic
='-fPIC'
8222 case $cc_basename in
8223 nvcc
*) # Cuda Compiler Driver 2.2
8224 lt_prog_compiler_wl
='-Xlinker '
8225 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8229 # PORTME Check for flag to pass linker flags through the system compiler.
8232 lt_prog_compiler_wl
='-Wl,'
8233 if test "$host_cpu" = ia64
; then
8234 # AIX 5 now supports IA64 processor
8235 lt_prog_compiler_static
='-Bstatic'
8237 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8241 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8242 # This hack is so that the source file can tell whether it is being
8243 # built for inclusion in a dll (and should export symbols for example).
8244 lt_prog_compiler_pic
='-DDLL_EXPORT'
8247 hpux9
* | hpux10
* | hpux11
*)
8248 lt_prog_compiler_wl
='-Wl,'
8249 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8256 lt_prog_compiler_pic
='+Z'
8259 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8260 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8263 irix5
* | irix6
* | nonstopux
*)
8264 lt_prog_compiler_wl
='-Wl,'
8265 # PIC (with -KPIC) is the default.
8266 lt_prog_compiler_static
='-non_shared'
8269 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8270 case $cc_basename in
8271 # old Intel for x86_64 which still supported -KPIC.
8273 lt_prog_compiler_wl
='-Wl,'
8274 lt_prog_compiler_pic
='-KPIC'
8275 lt_prog_compiler_static
='-static'
8277 # icc used to be incompatible with GCC.
8278 # ICC 10 doesn't accept -KPIC any more.
8280 lt_prog_compiler_wl
='-Wl,'
8281 lt_prog_compiler_pic
='-fPIC'
8282 lt_prog_compiler_static
='-static'
8284 # Lahey Fortran 8.1.
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='--shared'
8288 lt_prog_compiler_static
='--static'
8290 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8291 # Portland Group compilers (*not* the Pentium gcc compiler,
8292 # which looks to be a dead project)
8293 lt_prog_compiler_wl
='-Wl,'
8294 lt_prog_compiler_pic
='-fpic'
8295 lt_prog_compiler_static
='-Bstatic'
8298 lt_prog_compiler_wl
='-Wl,'
8299 # All Alpha code is PIC.
8300 lt_prog_compiler_static
='-non_shared'
8302 xl
* | bgxl
* | bgf
* | mpixl
*)
8303 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8304 lt_prog_compiler_wl
='-Wl,'
8305 lt_prog_compiler_pic
='-qpic'
8306 lt_prog_compiler_static
='-qstaticlink'
8309 case `$CC -V 2>&1 | sed 5q` in
8310 *Sun\ F
* |
*Sun
*Fortran
*)
8311 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8312 lt_prog_compiler_pic
='-KPIC'
8313 lt_prog_compiler_static
='-Bstatic'
8314 lt_prog_compiler_wl
=''
8318 lt_prog_compiler_pic
='-KPIC'
8319 lt_prog_compiler_static
='-Bstatic'
8320 lt_prog_compiler_wl
='-Wl,'
8328 lt_prog_compiler_pic
='-KPIC'
8329 lt_prog_compiler_static
='-Bstatic'
8333 # QNX uses GNU C++, but need to define -shared option too, otherwise
8335 lt_prog_compiler_pic
='-fPIC -shared'
8338 osf3
* | osf4
* | osf5
*)
8339 lt_prog_compiler_wl
='-Wl,'
8340 # All OSF/1 code is PIC.
8341 lt_prog_compiler_static
='-non_shared'
8345 lt_prog_compiler_static
='-non_shared'
8349 lt_prog_compiler_pic
='-KPIC'
8350 lt_prog_compiler_static
='-Bstatic'
8351 case $cc_basename in
8353 lt_prog_compiler_wl
='-Qoption ld ';;
8355 lt_prog_compiler_wl
='-Wl,';;
8360 lt_prog_compiler_wl
='-Qoption ld '
8361 lt_prog_compiler_pic
='-PIC'
8362 lt_prog_compiler_static
='-Bstatic'
8365 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8366 lt_prog_compiler_wl
='-Wl,'
8367 lt_prog_compiler_pic
='-KPIC'
8368 lt_prog_compiler_static
='-Bstatic'
8372 if test -d /usr
/nec
;then
8373 lt_prog_compiler_pic
='-Kconform_pic'
8374 lt_prog_compiler_static
='-Bstatic'
8378 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8379 lt_prog_compiler_wl
='-Wl,'
8380 lt_prog_compiler_pic
='-KPIC'
8381 lt_prog_compiler_static
='-Bstatic'
8385 lt_prog_compiler_wl
='-Wl,'
8386 lt_prog_compiler_can_build_shared
=no
8390 lt_prog_compiler_pic
='-pic'
8391 lt_prog_compiler_static
='-Bstatic'
8395 lt_prog_compiler_can_build_shared
=no
8401 # For platforms which do not support PIC, -DPIC is meaningless:
8403 lt_prog_compiler_pic
=
8406 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8410 $as_echo "$lt_prog_compiler_pic" >&6; }
8418 # Check to make sure the PIC flag actually works.
8420 if test -n "$lt_prog_compiler_pic"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8422 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8423 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8424 $as_echo_n "(cached) " >&6
8426 lt_cv_prog_compiler_pic_works
=no
8427 ac_outfile
=conftest.
$ac_objext
8428 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8429 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8430 # Insert the option either (1) after the last *FLAGS variable, or
8431 # (2) before a word containing "conftest.", or (3) at the end.
8432 # Note that $ac_compile itself does not contain backslashes and begins
8433 # with a dollar sign (not a hyphen), so the echo should work correctly.
8434 # The option is referenced via a variable to avoid confusing sed.
8435 lt_compile
=`echo "$ac_compile" | $SED \
8436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8438 -e 's:$: $lt_compiler_flag:'`
8439 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8440 (eval "$lt_compile" 2>conftest.err
)
8442 cat conftest.err
>&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 if (exit $ac_status) && test -s "$ac_outfile"; then
8445 # The compiler can only warn and ignore the option if not recognized
8446 # So say no if there are warnings other than the usual output.
8447 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8448 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8449 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8450 lt_cv_prog_compiler_pic_works
=yes
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8457 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8459 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8460 case $lt_prog_compiler_pic in
8462 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8465 lt_prog_compiler_pic
=
8466 lt_prog_compiler_can_build_shared
=no
8477 # Check to make sure the static flag actually works.
8479 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8481 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8482 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8483 $as_echo_n "(cached) " >&6
8485 lt_cv_prog_compiler_static_works
=no
8486 save_LDFLAGS
="$LDFLAGS"
8487 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8488 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8489 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8490 # The linker can only warn and ignore the option if not recognized
8491 # So say no if there are warnings
8492 if test -s conftest.err
; then
8493 # Append any errors to the config.log.
8494 cat conftest.err
1>&5
8495 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8496 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8497 if diff conftest.exp conftest.er2
>/dev
/null
; then
8498 lt_cv_prog_compiler_static_works
=yes
8501 lt_cv_prog_compiler_static_works
=yes
8505 LDFLAGS
="$save_LDFLAGS"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8509 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8511 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8514 lt_prog_compiler_static
=
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8524 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8525 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8526 $as_echo_n "(cached) " >&6
8528 lt_cv_prog_compiler_c_o
=no
8529 $RM -r conftest
2>/dev
/null
8533 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8535 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8536 # Insert the option either (1) after the last *FLAGS variable, or
8537 # (2) before a word containing "conftest.", or (3) at the end.
8538 # Note that $ac_compile itself does not contain backslashes and begins
8539 # with a dollar sign (not a hyphen), so the echo should work correctly.
8540 lt_compile
=`echo "$ac_compile" | $SED \
8541 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8542 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8543 -e 's:$: $lt_compiler_flag:'`
8544 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8545 (eval "$lt_compile" 2>out
/conftest.err
)
8547 cat out
/conftest.err
>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8551 # The compiler can only warn and ignore the option if not recognized
8552 # So say no if there are warnings
8553 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8554 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8555 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8556 lt_cv_prog_compiler_c_o
=yes
8561 # SGI C++ compiler will create directory out/ii_files/ for
8562 # template instantiation
8563 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8564 $RM out
/* && rmdir out
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8571 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8579 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8583 lt_cv_prog_compiler_c_o
=no
8584 $RM -r conftest
2>/dev
/null
8588 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8590 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8591 # Insert the option either (1) after the last *FLAGS variable, or
8592 # (2) before a word containing "conftest.", or (3) at the end.
8593 # Note that $ac_compile itself does not contain backslashes and begins
8594 # with a dollar sign (not a hyphen), so the echo should work correctly.
8595 lt_compile
=`echo "$ac_compile" | $SED \
8596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8598 -e 's:$: $lt_compiler_flag:'`
8599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8600 (eval "$lt_compile" 2>out
/conftest.err
)
8602 cat out
/conftest.err
>&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8606 # The compiler can only warn and ignore the option if not recognized
8607 # So say no if there are warnings
8608 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8609 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8610 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8611 lt_cv_prog_compiler_c_o
=yes
8616 # SGI C++ compiler will create directory out/ii_files/ for
8617 # template instantiation
8618 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8619 $RM out
/* && rmdir out
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8626 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8631 hard_links
="nottested"
8632 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8633 # do not overwrite the value of need_locks provided by the user
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8635 $as_echo_n "checking if we can lock with hard links... " >&6; }
8638 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8640 ln conftest.a conftest.b
2>&5 || hard_links
=no
8641 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8643 $as_echo "$hard_links" >&6; }
8644 if test "$hard_links" = no
; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8646 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8659 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8662 allow_undefined_flag
=
8663 always_export_symbols
=no
8665 archive_expsym_cmds
=
8666 compiler_needs_object
=no
8667 enable_shared_with_static_runtimes
=no
8668 export_dynamic_flag_spec
=
8669 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8670 hardcode_automatic
=no
8672 hardcode_direct_absolute
=no
8673 hardcode_libdir_flag_spec
=
8674 hardcode_libdir_flag_spec_ld
=
8675 hardcode_libdir_separator
=
8677 hardcode_shlibpath_var
=unsupported
8679 link_all_deplibs
=unknown
8682 old_archive_from_new_cmds
=
8683 old_archive_from_expsyms_cmds
=
8684 thread_safe_flag_spec
=
8685 whole_archive_flag_spec
=
8686 # include_expsyms should be a list of space-separated symbols to be *always*
8687 # included in the symbol list
8689 # exclude_expsyms can be an extended regexp of symbols to exclude
8690 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8691 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8692 # as well as any symbol that contains `d'.
8693 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8694 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8695 # platforms (ab)use it in PIC code, but their linkers get confused if
8696 # the symbol is explicitly referenced. Since portable code cannot
8697 # rely on this symbol name, it's probably fine to never include it in
8698 # preloaded symbol tables.
8699 # Exclude shared library initialization/finalization symbols.
8700 extract_expsyms_cmds
=
8703 cygwin
* | mingw
* | pw32
* | cegcc
*)
8704 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8705 # When not using gcc, we currently assume that we are using
8706 # Microsoft Visual C++.
8707 if test "$GCC" != yes; then
8712 # we just hope/assume this is gcc and not c89 (= MSVC++)
8722 # On some targets, GNU ld is compatible enough with the native linker
8723 # that we're better off using the native interface for both.
8724 lt_use_gnu_ld_interface
=no
8725 if test "$with_gnu_ld" = yes; then
8728 # The AIX port of GNU ld has always aspired to compatibility
8729 # with the native linker. However, as the warning in the GNU ld
8730 # block says, versions before 2.19.5* couldn't really create working
8731 # shared libraries, regardless of the interface used.
8732 case `$LD -v 2>&1` in
8733 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8734 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8735 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8737 lt_use_gnu_ld_interface
=yes
8742 lt_use_gnu_ld_interface
=yes
8747 if test "$lt_use_gnu_ld_interface" = yes; then
8748 # If archive_cmds runs LD, not CC, wlarc should be empty
8751 # Set some defaults for GNU ld with shared library support. These
8752 # are reset later if shared libraries are not supported. Putting them
8753 # here allows them to be overridden if necessary.
8754 runpath_var
=LD_RUN_PATH
8755 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8756 export_dynamic_flag_spec
='${wl}--export-dynamic'
8757 # ancient GNU ld didn't support --whole-archive et. al.
8758 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8759 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8761 whole_archive_flag_spec
=
8763 supports_anon_versioning
=no
8764 case `$LD -v 2>&1` in
8765 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8766 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8767 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8768 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8769 *\
2.11.
*) ;; # other 2.11 versions
8770 *) supports_anon_versioning
=yes ;;
8773 # See if GNU ld supports shared libraries.
8776 # On AIX/PPC, the GNU linker is very broken
8777 if test "$host_cpu" != ia64
; then
8781 *** Warning: the GNU linker, at least up to release 2.19, is reported
8782 *** to be unable to reliably create shared libraries on AIX.
8783 *** Therefore, libtool is disabling shared libraries support. If you
8784 *** really care for shared libraries, you may want to install binutils
8785 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8786 *** You will then need to restart the configuration process.
8795 # see comment about AmigaOS4 .so support
8796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8797 archive_expsym_cmds
=''
8800 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)'
8801 hardcode_libdir_flag_spec
='-L$libdir'
8802 hardcode_minus_L
=yes
8808 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8809 allow_undefined_flag
=unsupported
8810 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8811 # support --undefined. This deserves some investigation. FIXME
8812 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8818 cygwin
* | mingw
* | pw32
* | cegcc
*)
8819 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8820 # as there is no search path for DLLs.
8821 hardcode_libdir_flag_spec
='-L$libdir'
8822 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8823 allow_undefined_flag
=unsupported
8824 always_export_symbols
=no
8825 enable_shared_with_static_runtimes
=yes
8826 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8828 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8829 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8830 # If the export-symbols file already is a .def file (1st line
8831 # is EXPORTS), use it as is; otherwise, prepend...
8832 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8833 cp $export_symbols $output_objdir/$soname.def;
8835 echo EXPORTS > $output_objdir/$soname.def;
8836 cat $export_symbols >> $output_objdir/$soname.def;
8838 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8845 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8846 link_all_deplibs
=yes
8851 hardcode_shlibpath_var
=no
8852 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8853 export_dynamic_flag_spec
='${wl}-E'
8854 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8855 # Instead, shared libraries are loaded at an image base (0x10000000 by
8856 # default) and relocated if they conflict, which is a slow very memory
8857 # consuming and fragmenting process. To avoid this, we pick a random,
8858 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8859 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8860 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8861 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'
8864 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8866 if test "$host_os" = linux-dietlibc
; then
8867 case $cc_basename in
8868 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8871 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8872 && test "$tmp_diet" = no
8875 tmp_sharedflag
='-shared'
8876 case $cc_basename,$host_cpu in
8877 pgcc
*) # Portland Group C compiler
8878 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'
8879 tmp_addflag
=' $pic_flag'
8881 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8882 # Portland Group f77 and f90 compilers
8883 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'
8884 tmp_addflag
=' $pic_flag -Mnomain' ;;
8885 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8886 tmp_addflag
=' -i_dynamic' ;;
8887 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8888 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8889 ifc
* | ifort
*) # Intel Fortran compiler
8890 tmp_addflag
=' -nofor_main' ;;
8891 lf95
*) # Lahey Fortran 8.1
8892 whole_archive_flag_spec
=
8893 tmp_sharedflag
='--shared' ;;
8894 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8895 tmp_sharedflag
='-qmkshrobj'
8897 nvcc
*) # Cuda Compiler Driver 2.2
8898 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'
8899 compiler_needs_object
=yes
8902 case `$CC -V 2>&1 | sed 5q` in
8903 *Sun\ C
*) # Sun C 5.9
8904 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'
8905 compiler_needs_object
=yes
8906 tmp_sharedflag
='-G' ;;
8907 *Sun\ F
*) # Sun Fortran 8.3
8908 tmp_sharedflag
='-G' ;;
8910 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8912 if test "x$supports_anon_versioning" = xyes
; then
8913 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8914 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8915 echo "local: *; };" >> $output_objdir/$libname.ver~
8916 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8919 case $cc_basename in
8920 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8921 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8922 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8923 hardcode_libdir_flag_spec
=
8924 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8925 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8926 if test "x$supports_anon_versioning" = xyes
; then
8927 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8928 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8929 echo "local: *; };" >> $output_objdir/$libname.ver~
8930 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8940 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8941 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8950 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8954 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8955 *** create shared libraries on Solaris systems. Therefore, libtool
8956 *** is disabling shared libraries support. We urge you to upgrade GNU
8957 *** binutils to release 2.9.1 or newer. Another option is to modify
8958 *** your PATH or compiler configuration so that the native linker is
8959 *** used, and then restart.
8962 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8964 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8970 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8971 case `$LD -v 2>&1` in
8972 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8976 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8977 *** reliably create shared libraries on SCO systems. Therefore, libtool
8978 *** is disabling shared libraries support. We urge you to upgrade GNU
8979 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8980 *** your PATH or compiler configuration so that the native linker is
8981 *** used, and then restart.
8986 # For security reasons, it is highly recommended that you always
8987 # use absolute paths for naming shared libraries, and exclude the
8988 # DT_RUNPATH tag from executables and libraries. But doing so
8989 # requires that you compile everything twice, which is a pain.
8990 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8991 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8992 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8993 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9002 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9005 hardcode_shlibpath_var
=no
9009 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9018 if test "$ld_shlibs" = no
; then
9020 hardcode_libdir_flag_spec
=
9021 export_dynamic_flag_spec
=
9022 whole_archive_flag_spec
=
9025 # PORTME fill in a description of your system's linker (not GNU ld)
9028 allow_undefined_flag
=unsupported
9029 always_export_symbols
=yes
9030 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'
9031 # Note: this linker hardcodes the directories in LIBPATH if there
9032 # are no directories specified by -L.
9033 hardcode_minus_L
=yes
9034 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9035 # Neither direct hardcoding nor static linking is supported with a
9037 hardcode_direct
=unsupported
9042 if test "$host_cpu" = ia64
; then
9043 # On IA64, the linker does run time linking by default, so we don't
9044 # have to do anything special.
9045 aix_use_runtimelinking
=no
9046 exp_sym_flag
='-Bexport'
9049 # If we're using GNU nm, then we don't want the "-C" option.
9050 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9051 # Also, AIX nm treats weak defined symbols like other global
9052 # defined symbols, whereas GNU nm marks them as "W".
9053 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9054 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'
9056 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'
9058 aix_use_runtimelinking
=no
9060 # Test if we are trying to use run time linking or normal
9061 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9062 # need to do runtime linking.
9063 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9064 for ld_flag
in $LDFLAGS; do
9065 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9066 aix_use_runtimelinking
=yes
9073 exp_sym_flag
='-bexport'
9074 no_entry_flag
='-bnoentry'
9077 # When large executables or shared objects are built, AIX ld can
9078 # have problems creating the table of contents. If linking a library
9079 # or program results in "error TOC overflow" add -mminimal-toc to
9080 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9081 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9085 hardcode_direct_absolute
=yes
9086 hardcode_libdir_separator
=':'
9087 link_all_deplibs
=yes
9088 file_list_spec
='${wl}-f,'
9090 if test "$GCC" = yes; then
9091 case $host_os in aix4.
[012]|aix4.
[012].
*)
9092 # We only want to do this on AIX 4.2 and lower, the check
9093 # below for broken collect2 doesn't work under 4.3+
9094 collect2name
=`${CC} -print-prog-name=collect2`
9095 if test -f "$collect2name" &&
9096 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9098 # We have reworked collect2
9101 # We have old collect2
9102 hardcode_direct
=unsupported
9103 # It fails to find uninstalled libraries when the uninstalled
9104 # path is not listed in the libpath. Setting hardcode_minus_L
9105 # to unsupported forces relinking
9106 hardcode_minus_L
=yes
9107 hardcode_libdir_flag_spec
='-L$libdir'
9108 hardcode_libdir_separator
=
9112 shared_flag
='-shared'
9113 if test "$aix_use_runtimelinking" = yes; then
9114 shared_flag
="$shared_flag "'${wl}-G'
9118 if test "$host_cpu" = ia64
; then
9119 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9120 # chokes on -Wl,-G. The following line is correct:
9123 if test "$aix_use_runtimelinking" = yes; then
9124 shared_flag
='${wl}-G'
9126 shared_flag
='${wl}-bM:SRE'
9131 export_dynamic_flag_spec
='${wl}-bexpall'
9132 # It seems that -bexpall does not export symbols beginning with
9133 # underscore (_), so it is better to generate a list of symbols to export.
9134 always_export_symbols
=yes
9135 if test "$aix_use_runtimelinking" = yes; then
9136 # Warning - without using the other runtime loading flags (-brtl),
9137 # -berok will link without error, but may produce a broken library.
9138 allow_undefined_flag
='-berok'
9139 # Determine the default libpath from the value encoded in an
9141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9152 if ac_fn_c_try_link
"$LINENO"; then :
9154 lt_aix_libpath_sed
='
9155 /Import File Strings/,/^$/ {
9161 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9162 # Check for a 64-bit object if we didn't find anything.
9163 if test -z "$aix_libpath"; then
9164 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9167 rm -f core conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9171 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9172 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"
9174 if test "$host_cpu" = ia64
; then
9175 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9176 allow_undefined_flag
="-z nodefs"
9177 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"
9179 # Determine the default libpath from the value encoded in an
9181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9192 if ac_fn_c_try_link
"$LINENO"; then :
9194 lt_aix_libpath_sed
='
9195 /Import File Strings/,/^$/ {
9201 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9202 # Check for a 64-bit object if we didn't find anything.
9203 if test -z "$aix_libpath"; then
9204 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9207 rm -f core conftest.err conftest.
$ac_objext \
9208 conftest
$ac_exeext conftest.
$ac_ext
9209 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9211 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9212 # Warning - without using the other run time loading flags,
9213 # -berok will link without error, but may produce a broken library.
9214 no_undefined_flag
=' ${wl}-bernotok'
9215 allow_undefined_flag
=' ${wl}-berok'
9216 if test "$with_gnu_ld" = yes; then
9217 # We only use this code for GNU lds that support --whole-archive.
9218 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9220 # Exported symbols can be pulled into shared objects from archives
9221 whole_archive_flag_spec
='$convenience'
9223 archive_cmds_need_lc
=yes
9224 # This is similar to how AIX traditionally builds its shared libraries.
9225 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'
9233 # see comment about AmigaOS4 .so support
9234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 archive_expsym_cmds
=''
9238 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)'
9239 hardcode_libdir_flag_spec
='-L$libdir'
9240 hardcode_minus_L
=yes
9246 export_dynamic_flag_spec
=-rdynamic
9249 cygwin
* | mingw
* | pw32
* | cegcc
*)
9250 # When not using gcc, we currently assume that we are using
9251 # Microsoft Visual C++.
9252 # hardcode_libdir_flag_spec is actually meaningless, as there is
9253 # no search path for DLLs.
9254 hardcode_libdir_flag_spec
=' '
9255 allow_undefined_flag
=unsupported
9256 # Tell ltmain to make .lib files, not .a files.
9258 # Tell ltmain to make .dll files, not .so files.
9260 # FIXME: Setting linknames here is a bad hack.
9261 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9262 # The linker will automatically build a .lib file if we build a DLL.
9263 old_archive_from_new_cmds
='true'
9264 # FIXME: Should let the user specify the lib program.
9265 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9266 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9267 enable_shared_with_static_runtimes
=yes
9270 darwin
* | rhapsody
*)
9273 archive_cmds_need_lc
=no
9275 hardcode_automatic
=yes
9276 hardcode_shlibpath_var
=unsupported
9277 if test "$lt_cv_ld_force_load" = "yes"; then
9278 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\"`'
9280 whole_archive_flag_spec
=''
9282 link_all_deplibs
=yes
9283 allow_undefined_flag
="$_lt_dar_allow_undefined"
9284 case $cc_basename in
9285 ifort
*) _lt_dar_can_shared
=yes ;;
9286 *) _lt_dar_can_shared
=$GCC ;;
9288 if test "$_lt_dar_can_shared" = "yes"; then
9289 output_verbose_link_cmd
=func_echo_all
9290 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9291 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9292 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}"
9293 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}"
9302 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9303 hardcode_libdir_flag_spec
='-L$libdir'
9304 hardcode_shlibpath_var
=no
9307 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9308 # support. Future versions do this automatically, but an explicit c++rt0.o
9309 # does not break anything, and helps significantly (at the cost of a little
9312 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9313 hardcode_libdir_flag_spec
='-R$libdir'
9315 hardcode_shlibpath_var
=no
9318 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9320 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9322 hardcode_minus_L
=yes
9323 hardcode_shlibpath_var
=no
9326 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9327 freebsd
* | dragonfly
*)
9328 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9329 hardcode_libdir_flag_spec
='-R$libdir'
9331 hardcode_shlibpath_var
=no
9335 if test "$GCC" = yes; then
9336 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'
9338 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'
9340 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9341 hardcode_libdir_separator
=:
9344 # hardcode_minus_L: Not really in the search PATH,
9345 # but as the default location of the library.
9346 hardcode_minus_L
=yes
9347 export_dynamic_flag_spec
='${wl}-E'
9351 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9352 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9356 if test "$with_gnu_ld" = no
; then
9357 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9358 hardcode_libdir_flag_spec_ld
='+b $libdir'
9359 hardcode_libdir_separator
=:
9361 hardcode_direct_absolute
=yes
9362 export_dynamic_flag_spec
='${wl}-E'
9363 # hardcode_minus_L: Not really in the search PATH,
9364 # but as the default location of the library.
9365 hardcode_minus_L
=yes
9370 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9373 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9388 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9392 # Older versions of the 11.00 compiler do not understand -b yet
9393 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9395 $as_echo_n "checking if $CC understands -b... " >&6; }
9396 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9397 $as_echo_n "(cached) " >&6
9399 lt_cv_prog_compiler__b
=no
9400 save_LDFLAGS
="$LDFLAGS"
9401 LDFLAGS
="$LDFLAGS -b"
9402 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9403 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9404 # The linker can only warn and ignore the option if not recognized
9405 # So say no if there are warnings
9406 if test -s conftest.err
; then
9407 # Append any errors to the config.log.
9408 cat conftest.err
1>&5
9409 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9410 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9411 if diff conftest.exp conftest.er2
>/dev
/null
; then
9412 lt_cv_prog_compiler__b
=yes
9415 lt_cv_prog_compiler__b
=yes
9419 LDFLAGS
="$save_LDFLAGS"
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9423 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9425 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9426 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9428 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9434 if test "$with_gnu_ld" = no
; then
9435 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9436 hardcode_libdir_separator
=:
9441 hardcode_shlibpath_var
=no
9445 hardcode_direct_absolute
=yes
9446 export_dynamic_flag_spec
='${wl}-E'
9448 # hardcode_minus_L: Not really in the search PATH,
9449 # but as the default location of the library.
9450 hardcode_minus_L
=yes
9456 irix5
* | irix6
* | nonstopux
*)
9457 if test "$GCC" = yes; then
9458 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'
9459 # Try to use the -exported_symbol ld option, if it does not
9460 # work, assume that -exports_file does not work either and
9461 # implicitly export all symbols.
9462 save_LDFLAGS
="$LDFLAGS"
9463 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9468 if ac_fn_c_try_link
"$LINENO"; then :
9469 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'
9472 rm -f core conftest.err conftest.
$ac_objext \
9473 conftest
$ac_exeext conftest.
$ac_ext
9474 LDFLAGS
="$save_LDFLAGS"
9476 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'
9477 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'
9479 archive_cmds_need_lc
='no'
9480 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9481 hardcode_libdir_separator
=:
9483 link_all_deplibs
=yes
9487 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9488 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9490 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9492 hardcode_libdir_flag_spec
='-R$libdir'
9494 hardcode_shlibpath_var
=no
9498 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9501 hardcode_libdir_separator
=:
9502 hardcode_shlibpath_var
=no
9509 if test -f /usr
/libexec
/ld.so
; then
9511 hardcode_shlibpath_var
=no
9512 hardcode_direct_absolute
=yes
9513 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9514 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9515 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9516 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9517 export_dynamic_flag_spec
='${wl}-E'
9520 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9521 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9522 hardcode_libdir_flag_spec
='-R$libdir'
9525 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9526 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9536 hardcode_libdir_flag_spec
='-L$libdir'
9537 hardcode_minus_L
=yes
9538 allow_undefined_flag
=unsupported
9539 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'
9540 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9544 if test "$GCC" = yes; then
9545 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9546 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'
9548 allow_undefined_flag
=' -expect_unresolved \*'
9549 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'
9551 archive_cmds_need_lc
='no'
9552 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9553 hardcode_libdir_separator
=:
9556 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9557 if test "$GCC" = yes; then
9558 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9559 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'
9560 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9562 allow_undefined_flag
=' -expect_unresolved \*'
9563 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'
9564 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~
9565 $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'
9567 # Both c and cxx compiler support -rpath directly
9568 hardcode_libdir_flag_spec
='-rpath $libdir'
9570 archive_cmds_need_lc
='no'
9571 hardcode_libdir_separator
=:
9575 no_undefined_flag
=' -z defs'
9576 if test "$GCC" = yes; then
9578 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9580 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9582 case `$CC -V 2>&1` in
9585 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9586 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9587 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9591 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9593 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9597 hardcode_libdir_flag_spec
='-R$libdir'
9598 hardcode_shlibpath_var
=no
9600 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9602 # The compiler driver will combine and reorder linker options,
9603 # but understands `-z linker_flag'. GCC discards it without `$wl',
9604 # but is careful enough not to reorder.
9605 # Supported since Solaris 2.6 (maybe 2.5.1?)
9606 if test "$GCC" = yes; then
9607 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9609 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9613 link_all_deplibs
=yes
9617 if test "x$host_vendor" = xsequent
; then
9618 # Use $CC to link under sequent, because it throws in some extra .o
9619 # files that make .init and .fini sections work.
9620 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9624 hardcode_libdir_flag_spec
='-L$libdir'
9626 hardcode_minus_L
=yes
9627 hardcode_shlibpath_var
=no
9631 case $host_vendor in
9633 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9634 hardcode_direct
=yes # is this really true???
9637 ## LD is ld it makes a PLAMLIB
9638 ## CC just makes a GrossModule.
9639 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9640 reload_cmds
='$CC -r -o $output$reload_objs'
9644 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9645 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9648 runpath_var
='LD_RUN_PATH'
9649 hardcode_shlibpath_var
=no
9653 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_shlibpath_var
=no
9655 export_dynamic_flag_spec
='-Bexport'
9659 if test -d /usr
/nec
; then
9660 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_shlibpath_var
=no
9662 runpath_var
=LD_RUN_PATH
9663 hardcode_runpath_var
=yes
9668 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9669 no_undefined_flag
='${wl}-z,text'
9670 archive_cmds_need_lc
=no
9671 hardcode_shlibpath_var
=no
9672 runpath_var
='LD_RUN_PATH'
9674 if test "$GCC" = yes; then
9675 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9678 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9679 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 sysv5
* | sco3.2v5
* | sco5v6
*)
9684 # Note: We can NOT use -z defs as we might desire, because we do not
9685 # link with -lc, and that would cause any symbols used from libc to
9686 # always be unresolved, which means just about no library would
9687 # ever link correctly. If we're not using GNU ld we use -z text
9688 # though, which does catch some bad symbols but isn't as heavy-handed
9690 no_undefined_flag
='${wl}-z,text'
9691 allow_undefined_flag
='${wl}-z,nodefs'
9692 archive_cmds_need_lc
=no
9693 hardcode_shlibpath_var
=no
9694 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9695 hardcode_libdir_separator
=':'
9696 link_all_deplibs
=yes
9697 export_dynamic_flag_spec
='${wl}-Bexport'
9698 runpath_var
='LD_RUN_PATH'
9700 if test "$GCC" = yes; then
9701 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9705 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711 hardcode_libdir_flag_spec
='-L$libdir'
9712 hardcode_shlibpath_var
=no
9720 if test x
$host_vendor = xsni
; then
9722 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9723 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9730 $as_echo "$ld_shlibs" >&6; }
9731 test "$ld_shlibs" = no
&& can_build_shared
=no
9733 with_gnu_ld
=$with_gnu_ld
9750 # Do we need to explicitly link libc?
9752 case "x$archive_cmds_need_lc" in
9754 # Assume -lc should be added
9755 archive_cmds_need_lc
=yes
9757 if test "$enable_shared" = yes && test "$GCC" = yes; then
9758 case $archive_cmds in
9760 # FIXME: we may have to deal with multi-command sequences.
9763 # Test whether the compiler implicitly links with -lc since on some
9764 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9765 # to ld, don't add -lc before -lgcc.
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9767 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9768 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9769 $as_echo_n "(cached) " >&6
9772 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9775 (eval $ac_compile) 2>&5
9777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9778 test $ac_status = 0; } 2>conftest.err
; then
9781 libobjs
=conftest.
$ac_objext
9783 wl
=$lt_prog_compiler_wl
9784 pic_flag
=$lt_prog_compiler_pic
9790 lt_save_allow_undefined_flag
=$allow_undefined_flag
9791 allow_undefined_flag
=
9792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9793 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9796 test $ac_status = 0; }
9798 lt_cv_archive_cmds_need_lc
=no
9800 lt_cv_archive_cmds_need_lc
=yes
9802 allow_undefined_flag
=$lt_save_allow_undefined_flag
9804 cat conftest.err
1>&5
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9810 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9811 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9975 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9977 if test "$GCC" = yes; then
9979 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9980 *) lt_awk_arg
="/^libraries:/" ;;
9983 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9984 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9986 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9987 case $lt_search_path_spec in
9989 # if the path contains ";" then we assume it to be the separator
9990 # otherwise default to the standard path separator (i.e. ":") - it is
9991 # assumed that no part of a normal pathname contains ";" but that should
9992 # okay in the real world where ";" in dirpaths is itself problematic.
9993 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9996 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9999 # Ok, now we have the path, separated by spaces, we can step through it
10000 # and add multilib dir if necessary.
10001 lt_tmp_lt_search_path_spec
=
10002 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10003 for lt_sys_path
in $lt_search_path_spec; do
10004 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10005 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10007 test -d "$lt_sys_path" && \
10008 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10011 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10012 BEGIN {RS=" "; FS="/|\n";} {
10015 for (lt_i = NF; lt_i > 0; lt_i--) {
10016 if ($lt_i != "" && $lt_i != ".") {
10017 if ($lt_i == "..") {
10020 if (lt_count == 0) {
10021 lt_foo="/" $lt_i lt_foo;
10028 if (lt_foo != "") { lt_freq[lt_foo]++; }
10029 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10031 # AWK program above erroneously prepends '/' to C:/dos/paths
10034 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10035 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10037 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10039 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10041 library_names_spec
=
10042 libname_spec
='lib$name'
10046 postuninstall_cmds
=
10050 shlibpath_overrides_runpath
=unknown
10052 dynamic_linker
="$host_os ld.so"
10053 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10054 need_lib_prefix
=unknown
10055 hardcode_into_libs
=no
10057 # when you set need_version to no, make sure it does not cause -set_version
10058 # flags to be left without arguments
10059 need_version
=unknown
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10065 shlibpath_var
=LIBPATH
10067 # AIX 3 has no versioning support, so we append a major version to the name.
10068 soname_spec
='${libname}${release}${shared_ext}$major'
10075 hardcode_into_libs
=yes
10076 if test "$host_cpu" = ia64
; then
10077 # AIX 5 supports IA64
10078 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10079 shlibpath_var
=LD_LIBRARY_PATH
10081 # With GCC up to 2.95.x, collect2 would create an import file
10082 # for dependence libraries. The import file would start with
10083 # the line `#! .'. This would cause the generated library to
10084 # depend on `.', always an invalid library. This was fixed in
10085 # development snapshots of GCC prior to 3.0.
10087 aix4 | aix4.
[01] | aix4.
[01].
*)
10088 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10090 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10093 can_build_shared
=no
10097 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10098 # soname into executable. Probably we can add versioning support to
10099 # collect2, so additional links can be useful in future.
10100 if test "$aix_use_runtimelinking" = yes; then
10101 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10102 # instead of lib<name>.a to let people know that these are not
10103 # typical AIX shared libraries.
10104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10106 # We preserve .a as extension for shared libraries through AIX4.2
10107 # and later when we are not doing run time linking.
10108 library_names_spec
='${libname}${release}.a $libname.a'
10109 soname_spec
='${libname}${release}${shared_ext}$major'
10111 shlibpath_var
=LIBPATH
10118 # Since July 2007 AmigaOS4 officially supports .so libraries.
10119 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123 library_names_spec
='$libname.ixlibrary $libname.a'
10124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10125 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'
10131 library_names_spec
='${libname}${shared_ext}'
10132 dynamic_linker
="$host_os ld.so"
10133 shlibpath_var
=LIBRARY_PATH
10139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 soname_spec
='${libname}${release}${shared_ext}$major'
10141 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10142 shlibpath_var
=LD_LIBRARY_PATH
10143 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10144 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10145 # the default ld.so.conf also contains /usr/contrib/lib and
10146 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10147 # libtool to hard-code these into programs
10150 cygwin
* | mingw
* | pw32
* | cegcc
*)
10151 version_type
=windows
10156 case $GCC,$host_os in
10157 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10158 library_names_spec
='$libname.dll.a'
10159 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10160 postinstall_cmds
='base_file=`basename \${file}`~
10161 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10162 dldir=$destdir/`dirname \$dlpath`~
10163 test -d \$dldir || mkdir -p \$dldir~
10164 $install_prog $dir/$dlname \$dldir/$dlname~
10165 chmod a+x \$dldir/$dlname~
10166 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10167 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10169 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10170 dlpath=$dir/\$dldll~
10172 shlibpath_overrides_runpath
=yes
10176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10177 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10179 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10182 # MinGW DLLs use traditional 'lib' prefix
10183 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10186 # pw32 DLLs use 'pw' prefix rather than 'lib'
10187 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10193 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10196 dynamic_linker
='Win32 ld.exe'
10197 # FIXME: first we should search . and the directory the executable is in
10201 darwin
* | rhapsody
*)
10202 dynamic_linker
="$host_os dyld"
10203 version_type
=darwin
10206 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10207 soname_spec
='${libname}${release}${major}$shared_ext'
10208 shlibpath_overrides_runpath
=yes
10209 shlibpath_var
=DYLD_LIBRARY_PATH
10210 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10212 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10213 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10221 soname_spec
='${libname}${release}${shared_ext}$major'
10222 shlibpath_var
=LD_LIBRARY_PATH
10225 freebsd
* | dragonfly
*)
10226 # DragonFly does not have aout. When/if they implement a new
10227 # versioning mechanism, adjust this.
10228 if test -x /usr
/bin
/objformat
; then
10229 objformat
=`/usr/bin/objformat`
10232 freebsd
[23].
*) objformat
=aout
;;
10233 *) objformat
=elf
;;
10236 version_type
=freebsd-
$objformat
10237 case $version_type in
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10244 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10248 shlibpath_var
=LD_LIBRARY_PATH
10251 shlibpath_overrides_runpath
=yes
10253 freebsd3.
[01]* | freebsdelf3.
[01]*)
10254 shlibpath_overrides_runpath
=yes
10255 hardcode_into_libs
=yes
10257 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10258 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10259 shlibpath_overrides_runpath
=no
10260 hardcode_into_libs
=yes
10262 *) # from 4.6 on, and DragonFly
10263 shlibpath_overrides_runpath
=yes
10264 hardcode_into_libs
=yes
10273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10274 soname_spec
='${libname}${release}${shared_ext}$major'
10275 shlibpath_var
=LD_LIBRARY_PATH
10276 hardcode_into_libs
=yes
10283 dynamic_linker
="$host_os runtime_loader"
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 shlibpath_var
=LIBRARY_PATH
10287 shlibpath_overrides_runpath
=yes
10288 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10289 hardcode_into_libs
=yes
10292 hpux9
* | hpux10
* | hpux11
*)
10293 # Give a soname corresponding to the major version so that dld.sl refuses to
10294 # link against other versions.
10301 hardcode_into_libs
=yes
10302 dynamic_linker
="$host_os dld.so"
10303 shlibpath_var
=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306 soname_spec
='${libname}${release}${shared_ext}$major'
10307 if test "X$HPUX_IA64_MODE" = X32
; then
10308 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10310 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10312 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10316 hardcode_into_libs
=yes
10317 dynamic_linker
="$host_os dld.sl"
10318 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10319 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321 soname_spec
='${libname}${release}${shared_ext}$major'
10322 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10323 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10327 dynamic_linker
="$host_os dld.sl"
10328 shlibpath_var
=SHLIB_PATH
10329 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10331 soname_spec
='${libname}${release}${shared_ext}$major'
10334 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10335 postinstall_cmds
='chmod 555 $lib'
10336 # or fails outright, so override atomically:
10337 install_override_mode
=555
10344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10345 soname_spec
='${libname}${release}${shared_ext}$major'
10346 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10347 shlibpath_var
=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath
=no
10349 hardcode_into_libs
=yes
10352 irix5
* | irix6
* | nonstopux
*)
10354 nonstopux
*) version_type
=nonstopux
;;
10356 if test "$lt_cv_prog_gnu_ld" = yes; then
10364 soname_spec
='${libname}${release}${shared_ext}$major'
10365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10367 irix5
* | nonstopux
*)
10368 libsuff
= shlibsuff
=
10371 case $LD in # libtool.m4 will add one of these switches to LD
10372 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10373 libsuff
= shlibsuff
= libmagic
=32-bit;;
10374 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10375 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10376 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10377 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10378 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10382 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10383 shlibpath_overrides_runpath
=no
10384 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10385 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10386 hardcode_into_libs
=yes
10389 # No shared lib support for Linux oldld, aout, or coff.
10390 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10394 # This must be Linux ELF.
10395 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 soname_spec
='${libname}${release}${shared_ext}$major'
10401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 shlibpath_overrides_runpath
=no
10405 # Some binutils ld are patched to set DT_RUNPATH
10406 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10407 $as_echo_n "(cached) " >&6
10409 lt_cv_shlibpath_overrides_runpath
=no
10410 save_LDFLAGS
=$LDFLAGS
10411 save_libdir
=$libdir
10412 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10413 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10425 if ac_fn_c_try_link
"$LINENO"; then :
10426 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10427 lt_cv_shlibpath_overrides_runpath
=yes
10430 rm -f core conftest.err conftest.
$ac_objext \
10431 conftest
$ac_exeext conftest.
$ac_ext
10432 LDFLAGS
=$save_LDFLAGS
10433 libdir
=$save_libdir
10437 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10439 # This implies no fast_install, which is unacceptable.
10440 # Some rework will be needed to allow for fast_install
10441 # before this can be enabled.
10442 hardcode_into_libs
=yes
10444 # Append ld.so.conf contents to the search path
10445 if test -f /etc
/ld.so.conf
; then
10446 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' ' '`
10447 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10450 # We used to test for /lib/ld.so.1 and disable shared libraries on
10451 # powerpc, because MkLinux only supported shared libraries with the
10452 # GNU dynamic linker. Since this was broken with cross compilers,
10453 # most powerpc-linux boxes support dynamic linking these days and
10454 # people can always --disable-shared, the test was removed, and we
10455 # assume the GNU/Linux dynamic linker is in use.
10456 dynamic_linker
='GNU/Linux ld.so'
10463 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466 dynamic_linker
='NetBSD (a.out) ld.so'
10468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10469 soname_spec
='${libname}${release}${shared_ext}$major'
10470 dynamic_linker
='NetBSD ld.elf_so'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes
10474 hardcode_into_libs
=yes
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 shlibpath_var
=LD_LIBRARY_PATH
10481 shlibpath_overrides_runpath
=yes
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10490 shlibpath_var
=LD_LIBRARY_PATH
10491 shlibpath_overrides_runpath
=no
10492 hardcode_into_libs
=yes
10493 dynamic_linker
='ldqnx.so'
10498 sys_lib_dlsearch_path_spec
="/usr/lib"
10500 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10502 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10503 *) need_version
=no
;;
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507 shlibpath_var
=LD_LIBRARY_PATH
10508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10510 openbsd2.
[89] | openbsd2.
[89].
*)
10511 shlibpath_overrides_runpath
=no
10514 shlibpath_overrides_runpath
=yes
10518 shlibpath_overrides_runpath
=yes
10523 libname_spec
='$name'
10526 library_names_spec
='$libname${shared_ext} $libname.a'
10527 dynamic_linker
='OS/2 ld.exe'
10528 shlibpath_var
=LIBPATH
10531 osf3
* | osf4
* | osf5
*)
10535 soname_spec
='${libname}${release}${shared_ext}$major'
10536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 shlibpath_var
=LD_LIBRARY_PATH
10538 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10539 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath
=yes
10554 hardcode_into_libs
=yes
10555 # ldd complains unless libraries are executable
10556 postinstall_cmds
='chmod +x $lib'
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10562 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10563 shlibpath_var
=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath
=yes
10565 if test "$with_gnu_ld" = yes; then
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 case $host_vendor in
10578 shlibpath_overrides_runpath
=no
10580 runpath_var
=LD_RUN_PATH
10588 shlibpath_overrides_runpath
=no
10589 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10595 if test -d /usr
/nec
;then
10597 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10598 soname_spec
='$libname${shared_ext}.$major'
10599 shlibpath_var
=LD_LIBRARY_PATH
10603 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10604 version_type
=freebsd-elf
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 shlibpath_overrides_runpath
=yes
10611 hardcode_into_libs
=yes
10612 if test "$with_gnu_ld" = yes; then
10613 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10615 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10618 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10622 sys_lib_dlsearch_path_spec
='/usr/lib'
10626 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631 shlibpath_var
=LD_LIBRARY_PATH
10632 shlibpath_overrides_runpath
=no
10633 hardcode_into_libs
=yes
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec
='${libname}${release}${shared_ext}$major'
10640 shlibpath_var
=LD_LIBRARY_PATH
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10648 $as_echo "$dynamic_linker" >&6; }
10649 test "$dynamic_linker" = no
&& can_build_shared
=no
10651 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10652 if test "$GCC" = yes; then
10653 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10657 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10660 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10757 if test -n "$hardcode_libdir_flag_spec" ||
10758 test -n "$runpath_var" ||
10759 test "X$hardcode_automatic" = "Xyes" ; then
10761 # We can hardcode non-existent directories.
10762 if test "$hardcode_direct" != no
&&
10763 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10764 # have to relink, otherwise we might link with an installed library
10765 # when we should be linking with a yet-to-be-installed one
10766 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10767 test "$hardcode_minus_L" != no
; then
10768 # Linking always hardcodes the temporary library directory.
10769 hardcode_action
=relink
10771 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10772 hardcode_action
=immediate
10775 # We cannot hardcode anything, or else we can only hardcode existing
10777 hardcode_action
=unsupported
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10780 $as_echo "$hardcode_action" >&6; }
10782 if test "$hardcode_action" = relink ||
10783 test "$inherit_rpath" = yes; then
10784 # Fast installation is not supported
10785 enable_fast_install
=no
10786 elif test "$shlibpath_overrides_runpath" = yes ||
10787 test "$enable_shared" = no
; then
10788 # Fast installation is not necessary
10789 enable_fast_install
=needless
10797 if test "x$enable_dlopen" != xyes
; then
10798 enable_dlopen
=unknown
10799 enable_dlopen_self
=unknown
10800 enable_dlopen_self_static
=unknown
10807 lt_cv_dlopen
="load_add_on"
10809 lt_cv_dlopen_self
=yes
10812 mingw
* | pw32
* | cegcc
*)
10813 lt_cv_dlopen
="LoadLibrary"
10818 lt_cv_dlopen
="dlopen"
10823 # if libdl is installed we need to link against it
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10826 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS
=$LIBS
10831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10849 if ac_fn_c_try_link
"$LINENO"; then :
10850 ac_cv_lib_dl_dlopen
=yes
10852 ac_cv_lib_dl_dlopen
=no
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10860 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10861 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10864 lt_cv_dlopen
="dyld"
10866 lt_cv_dlopen_self
=yes
10873 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10874 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10875 lt_cv_dlopen
="shl_load"
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10879 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10880 $as_echo_n "(cached) " >&6
10882 ac_check_lib_save_LIBS
=$LIBS
10884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10897 return shl_load ();
10902 if ac_fn_c_try_link
"$LINENO"; then :
10903 ac_cv_lib_dld_shl_load
=yes
10905 ac_cv_lib_dld_shl_load
=no
10907 rm -f core conftest.err conftest.
$ac_objext \
10908 conftest
$ac_exeext conftest.
$ac_ext
10909 LIBS
=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10913 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10914 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10916 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10917 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10918 lt_cv_dlopen
="dlopen"
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10922 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS
=$LIBS
10927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10945 if ac_fn_c_try_link
"$LINENO"; then :
10946 ac_cv_lib_dl_dlopen
=yes
10948 ac_cv_lib_dl_dlopen
=no
10950 rm -f core conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10952 LIBS
=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10956 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10957 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10961 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS
=$LIBS
10965 LIBS
="-lsvld $LIBS"
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 ac_cv_lib_svld_dlopen
=yes
10987 ac_cv_lib_svld_dlopen
=no
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LIBS
=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10995 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10996 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11000 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11018 return dld_link ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_dld_dld_link
=yes
11026 ac_cv_lib_dld_dld_link
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11034 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11035 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11056 if test "x$lt_cv_dlopen" != xno
; then
11062 case $lt_cv_dlopen in
11064 save_CPPFLAGS
="$CPPFLAGS"
11065 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11067 save_LDFLAGS
="$LDFLAGS"
11068 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11071 LIBS
="$lt_cv_dlopen_libs $LIBS"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11075 if test "${lt_cv_dlopen_self+set}" = set; then :
11076 $as_echo_n "(cached) " >&6
11078 if test "$cross_compiling" = yes; then :
11079 lt_cv_dlopen_self
=cross
11081 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11082 lt_status
=$lt_dlunknown
11083 cat > conftest.
$ac_ext <<_LT_EOF
11084 #line 11084 "configure"
11085 #include "confdefs.h"
11094 # define LT_DLGLOBAL RTLD_GLOBAL
11097 # define LT_DLGLOBAL DL_GLOBAL
11099 # define LT_DLGLOBAL 0
11103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11104 find out it does not work in some platform. */
11105 #ifndef LT_DLLAZY_OR_NOW
11107 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11110 # define LT_DLLAZY_OR_NOW DL_LAZY
11113 # define LT_DLLAZY_OR_NOW RTLD_NOW
11116 # define LT_DLLAZY_OR_NOW DL_NOW
11118 # define LT_DLLAZY_OR_NOW 0
11125 /* When -fvisbility=hidden is used, assume the code has been annotated
11126 correspondingly for the symbols needed. */
11127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11128 void fnord () __attribute__((visibility("default")));
11131 void fnord () { int i=42; }
11134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11135 int status = $lt_dlunknown;
11139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11142 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11143 else puts (dlerror ());
11145 /* dlclose (self); */
11153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11154 (eval $ac_link) 2>&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11157 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11158 (.
/conftest
; exit; ) >&5 2>/dev
/null
11160 case x
$lt_status in
11161 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11162 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11163 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11166 # compilation failed
11167 lt_cv_dlopen_self
=no
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11175 $as_echo "$lt_cv_dlopen_self" >&6; }
11177 if test "x$lt_cv_dlopen_self" = xyes
; then
11178 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11181 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11184 if test "$cross_compiling" = yes; then :
11185 lt_cv_dlopen_self_static
=cross
11187 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11188 lt_status
=$lt_dlunknown
11189 cat > conftest.
$ac_ext <<_LT_EOF
11190 #line 11190 "configure"
11191 #include "confdefs.h"
11200 # define LT_DLGLOBAL RTLD_GLOBAL
11203 # define LT_DLGLOBAL DL_GLOBAL
11205 # define LT_DLGLOBAL 0
11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11210 find out it does not work in some platform. */
11211 #ifndef LT_DLLAZY_OR_NOW
11213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11216 # define LT_DLLAZY_OR_NOW DL_LAZY
11219 # define LT_DLLAZY_OR_NOW RTLD_NOW
11222 # define LT_DLLAZY_OR_NOW DL_NOW
11224 # define LT_DLLAZY_OR_NOW 0
11231 /* When -fvisbility=hidden is used, assume the code has been annotated
11232 correspondingly for the symbols needed. */
11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11234 void fnord () __attribute__((visibility("default")));
11237 void fnord () { int i=42; }
11240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11241 int status = $lt_dlunknown;
11245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11249 else puts (dlerror ());
11251 /* dlclose (self); */
11259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11260 (eval $ac_link) 2>&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11263 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11264 (.
/conftest
; exit; ) >&5 2>/dev
/null
11266 case x
$lt_status in
11267 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11268 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11269 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11272 # compilation failed
11273 lt_cv_dlopen_self_static
=no
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11284 CPPFLAGS
="$save_CPPFLAGS"
11285 LDFLAGS
="$save_LDFLAGS"
11290 case $lt_cv_dlopen_self in
11291 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11292 *) enable_dlopen_self
=unknown
;;
11295 case $lt_cv_dlopen_self_static in
11296 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11297 *) enable_dlopen_self_static
=unknown
;;
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11321 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11322 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11323 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11325 $as_echo "yes" >&6; }
11327 # FIXME - insert some real tests, host_os isn't really good enough
11330 if test -n "$STRIP" ; then
11331 striplib
="$STRIP -x"
11332 old_striplib
="$STRIP -S"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11342 $as_echo "no" >&6; }
11358 # Report which library types will actually be built
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11362 $as_echo "$can_build_shared" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11365 $as_echo_n "checking whether to build shared libraries... " >&6; }
11366 test "$can_build_shared" = "no" && enable_shared
=no
11368 # On AIX, shared libraries and static libraries use the same namespace, and
11369 # are all built from PIC.
11372 test "$enable_shared" = yes && enable_static
=no
11373 if test -n "$RANLIB"; then
11374 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11375 postinstall_cmds
='$RANLIB $lib'
11380 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11381 test "$enable_shared" = yes && enable_static
=no
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11386 $as_echo "$enable_shared" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11389 $as_echo_n "checking whether to build static libraries... " >&6; }
11390 # Make sure either enable_shared or enable_static is yes.
11391 test "$enable_shared" = yes || enable_static
=yes
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11393 $as_echo "$enable_static" >&6; }
11400 ac_cpp
='$CPP $CPPFLAGS'
11401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11419 ac_config_commands
="$ac_config_commands libtool"
11424 # Only expand once:
11429 backtrace_supported
=yes
11431 if test -n "${with_target_subdir}"; then
11432 # We are compiling a GCC library. We can assume that the unwind
11434 # Default to --enable-multilib
11435 # Check whether --enable-multilib was given.
11436 if test "${enable_multilib+set}" = set; then :
11437 enableval
=$enable_multilib; case "$enableval" in
11438 yes) multilib
=yes ;;
11440 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
11447 # We may get other options which we leave undocumented:
11448 # --with-target-subdir, --with-multisrctop, --with-multisubdir
11449 # See config-ml.in if you want the gory details.
11451 if test "$srcdir" = "."; then
11452 if test "$with_target_subdir" != "."; then
11453 multi_basedir
="$srcdir/$with_multisrctop../.."
11455 multi_basedir
="$srcdir/$with_multisrctop.."
11458 multi_basedir
="$srcdir/.."
11462 # Even if the default multilib is not a cross compilation,
11463 # it may be that some of the other multilibs are.
11464 if test $cross_compiling = no
&& test $multilib = yes \
11465 && test "x${with_multisubdir}" != x
; then
11466 cross_compiling
=maybe
11469 ac_config_commands
="$ac_config_commands default-1"
11471 BACKTRACE_FILE
="backtrace.lo simple.lo"
11473 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
11475 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11476 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
11477 BACKTRACE_FILE
="backtrace.lo simple.lo"
11479 BACKTRACE_FILE
="nounwind.lo"
11480 backtrace_supported
=no
11484 BACKTRACE_FILE
="nounwind.lo"
11485 backtrace_supported
=no
11493 if test -n "${with_target_subdir}"; then
11494 EXTRA_FLAGS
=-funwind-tables
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
11497 $as_echo_n "checking for -funwind-tables option... " >&6; }
11498 if test "${libbacktrace_cv_c_unwind_tables+set}" = set; then :
11499 $as_echo_n "(cached) " >&6
11501 CFLAGS_hold
="$CFLAGS"
11502 CFLAGS
="$CFLAGS -funwind-tables"
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 static int f() { return 0; }
11514 if ac_fn_c_try_compile
"$LINENO"; then :
11515 libbacktrace_cv_c_unwind_tables
=yes
11517 libbacktrace_cv_c_unwind_tables
=no
11519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11520 CFLAGS
="$CFLAGS_hold"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
11523 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
11524 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
11525 EXTRA_FLAGS
=-funwind-tables
11531 save_CFLAGS
="$CFLAGS"
11532 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11533 -Wmissing-prototypes -Wold-style-definition \
11534 -Wmissing-format-attribute -Wcast-qual; do
11535 # Do the check with the no- prefix removed since gcc silently
11536 # accepts any -Wno-* option on purpose
11537 case $real_option in
11538 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11539 *) option
=$real_option ;;
11541 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11544 $as_echo_n "checking whether $CC supports $option... " >&6; }
11545 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11546 $as_echo_n "(cached) " >&6
11549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11560 if ac_fn_c_try_compile
"$LINENO"; then :
11561 eval "$as_acx_Woption=yes"
11563 eval "$as_acx_Woption=no"
11565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11568 eval ac_res
=\$
$as_acx_Woption
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11570 $as_echo "$ac_res" >&6; }
11571 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11572 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11575 CFLAGS
="$save_CFLAGS"
11578 if test "x$GCC" = "xyes"; then
11579 WARN_FLAGS
="$WARN_FLAGS -Werror"
11584 if test -n "${with_target_subdir}"; then
11587 # Check whether --with-system-libunwind was given.
11588 if test "${with_system_libunwind+set}" = set; then :
11589 withval
=$with_system_libunwind;
11592 # If system-libunwind was not specifically set, pick a default setting.
11593 if test x
$with_system_libunwind = x
; then
11595 ia64-
*-hpux*) with_system_libunwind
=yes ;;
11596 *) with_system_libunwind
=no
;;
11599 # Based on system-libunwind and target, do we have ipinfo?
11600 if test x
$with_system_libunwind = xyes
; then
11602 ia64-
*-*) have_unwind_getipinfo
=no
;;
11603 *) have_unwind_getipinfo
=yes ;;
11606 # Darwin before version 9 does not have _Unwind_GetIPInfo.
11609 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
11610 *) have_unwind_getipinfo
=yes ;;
11615 if test x
$have_unwind_getipinfo = xyes
; then
11617 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11622 ac_save_CFFLAGS
="$CFLAGS"
11623 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
11625 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
11626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 #include "unwind.h"
11629 struct _Unwind_Context *context;
11630 int ip_before_insn = 0;
11634 return _Unwind_GetIPInfo (context, &ip_before_insn);
11639 if ac_fn_c_try_compile
"$LINENO"; then :
11640 have_unwind_getipinfo
=yes
11642 have_unwind_getipinfo
=no
11644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11645 CFLAGS
="$ac_save_CFLAGS"
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
11647 $as_echo "$have_unwind_getipinfo" >&6; }
11648 if test "$have_unwind_getipinfo" = "yes"; then
11650 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11655 # When building as a target library, shared libraries may want to link
11656 # this in. We don't want to provide another shared library to
11657 # complicate dependencies. Instead, we just compile with -fPIC.
11659 if test -n "${with_target_subdir}"; then
11664 # Test for __sync support.
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
11666 $as_echo_n "checking __sync extensions... " >&6; }
11667 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
11668 $as_echo_n "(cached) " >&6
11670 if test -n "${with_target_subdir}"; then
11671 libbacktrace_cv_sys_sync
=yes
11673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11679 __sync_bool_compare_and_swap (&i, i, i);
11680 __sync_lock_test_and_set (&i, 1);
11681 __sync_lock_release (&i);
11686 if ac_fn_c_try_link
"$LINENO"; then :
11687 libbacktrace_cv_sys_sync
=yes
11689 libbacktrace_cv_sys_sync
=no
11691 rm -f core conftest.err conftest.
$ac_objext \
11692 conftest
$ac_exeext conftest.
$ac_ext
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
11696 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
11697 BACKTRACE_SUPPORTS_THREADS
=0
11698 if test "$libbacktrace_cv_sys_sync" = "yes"; then
11699 BACKTRACE_SUPPORTS_THREADS
=1
11701 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
11706 # The library needs to be able to read the executable itself. Compile
11707 # a file to determine the executable format. The awk script
11708 # filetype.awk prints out the file type.
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
11710 $as_echo_n "checking output filetype... " >&6; }
11711 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
11712 $as_echo_n "(cached) " >&6
11715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11726 if ac_fn_c_try_compile
"$LINENO"; then :
11727 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
11729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11731 as_fn_error
"compiler failed
11732 See \`config.log' for more details." "$LINENO" 5; }
11734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11735 libbacktrace_cv_sys_filetype
=$filetype
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
11738 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
11740 # Match the file type to decide what files to compile.
11742 case "$libbacktrace_cv_sys_filetype" in
11743 elf
*) FORMAT_FILE
="elf.lo" ;;
11744 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
11745 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
11746 FORMAT_FILE
="unknown.lo"
11747 backtrace_supported
=no
11754 case "$libbacktrace_cv_sys_filetype" in
11755 elf32
) elfsize
=32 ;;
11756 elf64
) elfsize
=64 ;;
11759 cat >>confdefs.h
<<_ACEOF
11760 #define BACKTRACE_ELF_SIZE $elfsize
11764 BACKTRACE_SUPPORTED
=0
11765 if test "$backtrace_supported" = "yes"; then
11766 BACKTRACE_SUPPORTED
=1
11772 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
11774 acx_cv_header_stdint
=stddef.h
11775 acx_cv_header_stdint_kind
="(already complete)"
11776 for i
in stdint.h
$inttype_headers; do
11777 unset ac_cv_type_uintptr_t
11778 unset ac_cv_type_uintmax_t
11779 unset ac_cv_type_int_least32_t
11780 unset ac_cv_type_int_fast32_t
11781 unset ac_cv_type_uint64_t
11782 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
11783 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
11786 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
11787 acx_cv_header_stdint
=$i
11792 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
11795 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
11798 acx_cv_header_stdint_kind
="(mostly complete)"
11801 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
11804 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
11807 acx_cv_header_stdint_kind
="(mostly complete)"
11810 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
11813 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
11816 acx_cv_header_stdint_kind
="(mostly complete)"
11819 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
11822 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
11825 acx_cv_header_stdint_kind
="(lacks uint64_t)"
11830 if test "$acx_cv_header_stdint" = stddef.h
; then
11831 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
11832 for i
in stdint.h
$inttype_headers; do
11833 unset ac_cv_type_uintptr_t
11834 unset ac_cv_type_uint32_t
11835 unset ac_cv_type_uint64_t
11836 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
11837 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
11840 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
11841 acx_cv_header_stdint
=$i
11846 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
11849 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
11853 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
11856 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
11863 if test "$acx_cv_header_stdint" = stddef.h
; then
11864 acx_cv_header_stdint_kind
="(u_intXX_t style)"
11865 for i
in sys
/types.h
$inttype_headers; do
11866 unset ac_cv_type_u_int32_t
11867 unset ac_cv_type_u_int64_t
11868 $as_echo_n "looking for u_intXX_t types in $i, " >&6
11869 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
11872 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
11873 acx_cv_header_stdint
=$i
11878 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
11881 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
11888 if test "$acx_cv_header_stdint" = stddef.h
; then
11889 acx_cv_header_stdint_kind
="(using manual detection)"
11892 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
11893 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
11894 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
11895 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
11896 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
11898 # ----------------- Summarize what we found so far
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
11901 $as_echo_n "checking what to include in gstdint.h... " >&6; }
11903 case `$as_basename -- gstdint.h ||
11904 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
11905 Xgstdint.h : 'X\(//\)$' \| \
11906 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
11907 $as_echo X/gstdint.h |
11908 sed '/^.*\/\([^/][^/]*\)\/*$/{
11921 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
11922 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11923 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
11924 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
11929 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
11931 # ----------------- done included file, check C basic types --------
11933 # Lacking an uintptr_t? Test size of void *
11934 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
11935 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
11936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11938 # This bug is HP SR number 8606223364.
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11940 $as_echo_n "checking size of void *... " >&6; }
11941 if test "${ac_cv_sizeof_void_p+set}" = set; then :
11942 $as_echo_n "(cached) " >&6
11944 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
11947 if test "$ac_cv_type_void_p" = yes; then
11948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11950 { as_fn_set_status
77
11951 as_fn_error
"cannot compute sizeof (void *)
11952 See \`config.log' for more details." "$LINENO" 5; }; }
11954 ac_cv_sizeof_void_p
=0
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11960 $as_echo "$ac_cv_sizeof_void_p" >&6; }
11964 cat >>confdefs.h
<<_ACEOF
11965 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
11971 # Lacking an uint64_t? Test size of long
11972 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
11973 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
11974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11976 # This bug is HP SR number 8606223364.
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11978 $as_echo_n "checking size of long... " >&6; }
11979 if test "${ac_cv_sizeof_long+set}" = set; then :
11980 $as_echo_n "(cached) " >&6
11982 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
11985 if test "$ac_cv_type_long" = yes; then
11986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11988 { as_fn_set_status
77
11989 as_fn_error
"cannot compute sizeof (long)
11990 See \`config.log' for more details." "$LINENO" 5; }; }
11992 ac_cv_sizeof_long
=0
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11998 $as_echo "$ac_cv_sizeof_long" >&6; }
12002 cat >>confdefs.h
<<_ACEOF
12003 #define SIZEOF_LONG $ac_cv_sizeof_long
12009 if test $acx_cv_header_stdint = stddef.h
; then
12010 # Lacking a good header? Test size of everything and deduce all types.
12011 # The cast to long int works around a bug in the HP C Compiler
12012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12014 # This bug is HP SR number 8606223364.
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12016 $as_echo_n "checking size of int... " >&6; }
12017 if test "${ac_cv_sizeof_int+set}" = set; then :
12018 $as_echo_n "(cached) " >&6
12020 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12023 if test "$ac_cv_type_int" = yes; then
12024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12026 { as_fn_set_status
77
12027 as_fn_error
"cannot compute sizeof (int)
12028 See \`config.log' for more details." "$LINENO" 5; }; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12036 $as_echo "$ac_cv_sizeof_int" >&6; }
12040 cat >>confdefs.h
<<_ACEOF
12041 #define SIZEOF_INT $ac_cv_sizeof_int
12045 # The cast to long int works around a bug in the HP C Compiler
12046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12048 # This bug is HP SR number 8606223364.
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12050 $as_echo_n "checking size of short... " >&6; }
12051 if test "${ac_cv_sizeof_short+set}" = set; then :
12052 $as_echo_n "(cached) " >&6
12054 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12057 if test "$ac_cv_type_short" = yes; then
12058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12060 { as_fn_set_status
77
12061 as_fn_error
"cannot compute sizeof (short)
12062 See \`config.log' for more details." "$LINENO" 5; }; }
12064 ac_cv_sizeof_short
=0
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12070 $as_echo "$ac_cv_sizeof_short" >&6; }
12074 cat >>confdefs.h
<<_ACEOF
12075 #define SIZEOF_SHORT $ac_cv_sizeof_short
12079 # The cast to long int works around a bug in the HP C Compiler
12080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12082 # This bug is HP SR number 8606223364.
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12084 $as_echo_n "checking size of char... " >&6; }
12085 if test "${ac_cv_sizeof_char+set}" = set; then :
12086 $as_echo_n "(cached) " >&6
12088 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12091 if test "$ac_cv_type_char" = yes; then
12092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12094 { as_fn_set_status
77
12095 as_fn_error
"cannot compute sizeof (char)
12096 See \`config.log' for more details." "$LINENO" 5; }; }
12098 ac_cv_sizeof_char
=0
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12104 $as_echo "$ac_cv_sizeof_char" >&6; }
12108 cat >>confdefs.h
<<_ACEOF
12109 #define SIZEOF_CHAR $ac_cv_sizeof_char
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
12115 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
12116 case "$ac_cv_sizeof_char" in
12117 1) acx_cv_type_int8_t
=char
;;
12118 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
12121 $as_echo "$acx_cv_type_int8_t" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
12124 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
12125 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
12126 2:*) acx_cv_type_int16_t
=int
;;
12127 *:2) acx_cv_type_int16_t
=short
;;
12128 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
12131 $as_echo "$acx_cv_type_int16_t" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
12134 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
12135 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
12136 4:*) acx_cv_type_int32_t
=int
;;
12137 *:4) acx_cv_type_int32_t
=long
;;
12138 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
12141 $as_echo "$acx_cv_type_int32_t" >&6; }
12144 # These tests are here to make the output prettier
12146 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
12147 case "$ac_cv_sizeof_long" in
12148 8) acx_cv_type_int64_t
=long
;;
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
12151 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
12153 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
12156 # Now we can use the above types
12158 if test "$ac_cv_type_uintptr_t" != yes; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
12160 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
12161 case $ac_cv_sizeof_void_p in
12162 2) acx_cv_type_intptr_t
=int16_t
;;
12163 4) acx_cv_type_intptr_t
=int32_t
;;
12164 8) acx_cv_type_intptr_t
=int64_t
;;
12165 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
12168 $as_echo "$acx_cv_type_intptr_t" >&6; }
12171 # ----------------- done all checks, emit header -------------
12172 ac_config_commands
="$ac_config_commands gstdint.h"
12177 for ac_header
in sys
/mman.h
12179 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
12181 cat >>confdefs.h
<<_ACEOF
12182 #define HAVE_SYS_MMAN_H 1
12189 if test "$ac_cv_header_sys_mman_h" = "no"; then
12192 if test -n "${with_target_subdir}"; then
12193 # When built as a GCC target library, we can't do a link test. We
12194 # simply assume that if we have mman.h, we have mmap.
12197 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
12198 if test "x$ac_cv_func_mmap" = x
""yes; then :
12206 if test "$have_mmap" = "no"; then
12208 ALLOC_FILE
=alloc.lo
12210 VIEW_FILE
=mmapio.lo
12211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12214 #include <sys/mman.h>
12215 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
12216 #error no MAP_ANONYMOUS
12220 if ac_fn_c_try_cpp
"$LINENO"; then :
12223 ALLOC_FILE
=alloc.lo
12225 rm -f conftest.err conftest.
$ac_ext
12230 BACKTRACE_USES_MALLOC
=0
12231 if test "$ALLOC_FILE" = "alloc.lo"; then
12232 BACKTRACE_USES_MALLOC
=1
12236 # Check for dl_iterate_phdr.
12237 for ac_header
in link.h
12239 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
12240 if test "x$ac_cv_header_link_h" = x
""yes; then :
12241 cat >>confdefs.h
<<_ACEOF
12242 #define HAVE_LINK_H 1
12249 if test "$ac_cv_header_link_h" = "no"; then
12250 have_dl_iterate_phdr
=no
12252 if test -n "${with_target_subdir}"; then
12253 # When built as a GCC target library, we can't do a link test.
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12260 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
12261 have_dl_iterate_phdr
=yes
12263 have_dl_iterate_phdr
=no
12269 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
12270 # header file but is only in -ldl.
12271 have_dl_iterate_phdr
=no
;;
12274 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
12275 if test "x$ac_cv_func_dl_iterate_phdr" = x
""yes; then :
12276 have_dl_iterate_phdr
=yes
12278 have_dl_iterate_phdr
=no
12283 if test "$have_dl_iterate_phdr" = "yes"; then
12285 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
12289 # Check for the fcntl function.
12290 if test -n "${with_target_subdir}"; then
12292 *-*-mingw*) have_fcntl
=no
;;
12293 *) have_fcntl
=yes ;;
12296 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
12297 if test "x$ac_cv_func_fcntl" = x
""yes; then :
12304 if test "$have_fcntl" = "yes"; then
12306 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
12310 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
12311 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
12317 cat >>confdefs.h
<<_ACEOF
12318 #define HAVE_DECL_STRNLEN $ac_have_decl
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
12323 $as_echo_n "checking whether tests can run... " >&6; }
12324 if test "${libbacktrace_cv_sys_native+set}" = set; then :
12325 $as_echo_n "(cached) " >&6
12327 if test "$cross_compiling" = yes; then :
12328 libbacktrace_cv_sys_native
=no
12330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12341 if ac_fn_c_try_run
"$LINENO"; then :
12342 libbacktrace_cv_sys_native
=yes
12344 libbacktrace_cv_sys_native
=no
12346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
12352 $as_echo "$libbacktrace_cv_sys_native" >&6; }
12353 if test "$libbacktrace_cv_sys_native" = "yes"; then
12362 if test "${multilib}" = "yes"; then
12363 multilib_arg
="--enable-multilib"
12368 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
12371 # We need multilib support, but only if configuring for the target.
12372 ac_config_commands
="$ac_config_commands default"
12375 cat >confcache
<<\_ACEOF
12376 # This file is a shell script that caches the results of configure
12377 # tests run on this system so they can be shared between configure
12378 # scripts and configure runs, see configure's option --config-cache.
12379 # It is not useful on other systems. If it contains results you don't
12380 # want to keep, you may remove or edit it.
12382 # config.status only pays attention to the cache file if you give it
12383 # the --recheck option to rerun configure.
12385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12387 # following values.
12391 # The following way of writing the cache mishandles newlines in values,
12392 # but we know of no workaround that is simple, portable, and efficient.
12393 # So, we kill variables containing newlines.
12394 # Ultrix sh set writes to stderr and can't be redirected directly,
12395 # and sets the high bit in the cache file unless we assign to the vars.
12397 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12398 eval ac_val
=\$
$ac_var
12402 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12406 _ | IFS | as_nl
) ;; #(
12407 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12408 *) { eval $ac_var=; unset $ac_var;} ;;
12414 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12415 *${as_nl}ac_space
=\
*)
12416 # `set' does not quote correctly, so add quotes: double-quote
12417 # substitution turns \\\\ into \\, and sed turns \\ into \.
12420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12423 # `set' quotes correctly as required by POSIX, so do not add quotes.
12424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12435 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12437 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12438 if test -w "$cache_file"; then
12439 test "x$cache_file" != "x/dev/null" &&
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12441 $as_echo "$as_me: updating cache $cache_file" >&6;}
12442 cat confcache
>$cache_file
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12450 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12451 # Let make expand exec_prefix.
12452 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12454 DEFS
=-DHAVE_CONFIG_H
12458 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12459 # 1. Remove the extension, and $U if already installed.
12460 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12461 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12463 # will be set to the directory where LIBOBJS objects are built.
12464 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12465 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12467 LIBOBJS
=$ac_libobjs
12469 LTLIBOBJS
=$ac_ltlibobjs
12472 if test -n "$EXEEXT"; then
12474 am__EXEEXT_FALSE
='#'
12476 am__EXEEXT_TRUE
='#'
12480 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12481 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12484 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
12485 as_fn_error
"conditional \"NATIVE\" was never defined.
12486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12489 : ${CONFIG_STATUS=./config.status}
12491 ac_clean_files_save
=$ac_clean_files
12492 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12496 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12498 # Generated by $as_me.
12499 # Run this file to recreate the current configuration.
12500 # Compiler output produced by configure, useful for debugging
12501 # configure, is in config.log if it exists.
12504 ac_cs_recheck=false
12507 SHELL=\${CONFIG_SHELL-$SHELL}
12510 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12511 ## -------------------- ##
12512 ## M4sh Initialization. ##
12513 ## -------------------- ##
12515 # Be more Bourne compatible
12516 DUALCASE
=1; export DUALCASE
# for MKS sh
12517 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12520 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12521 # is contrary to our usage. Disable this feature.
12522 alias -g '${1+"$@"}'='"$@"'
12523 setopt NO_GLOB_SUBST
12525 case `(set -o) 2>/dev/null` in #(
12537 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12538 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12541 # Prefer a ksh shell builtin over an external printf program on Solaris,
12542 # but without wasting forks for bash or zsh.
12543 if test -z "$BASH_VERSION$ZSH_VERSION" \
12544 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12545 as_echo='print
-r --'
12546 as_echo_n='print
-rn --'
12547 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12548 as_echo='printf %s
\n'
12549 as_echo_n='printf %s
'
12551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12552 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12553 as_echo_n='/usr
/ucb
/echo -n'
12555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12556 as_echo_n_body='eval
12560 expr "X$arg" : "X\\(.*\\)$as_nl";
12561 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12563 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12565 export as_echo_n_body
12566 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12568 export as_echo_body
12569 as_echo='sh
-c $as_echo_body as_echo
'
12572 # The user is always right.
12573 if test "${PATH_SEPARATOR+set}" != set; then
12575 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12576 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12583 # We need space, tab and new line, in precisely that order. Quoting is
12584 # there to prevent editors from complaining about space-tab.
12585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12586 # splitting by setting IFS to empty value.)
12589 # Find who we are. Look in the path if we contain no directory separator.
12591 *[\\/]* ) as_myself=$0 ;;
12592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12593 for as_dir in $PATH
12596 test -z "$as_dir" && as_dir=.
12597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12603 # We did not find ourselves, most probably we were run as `sh COMMAND'
12604 # in which case we are not to be found in the path.
12605 if test "x$as_myself" = x
; then
12608 if test ! -f "$as_myself"; then
12609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12613 # Unset variables that we do not need and which cause bugs (e.g. in
12614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12615 # suppresses any "Segmentation fault" message there. '((' could
12616 # trigger a bug in pdksh 5.2.14.
12617 for as_var
in BASH_ENV ENV MAIL MAILPATH
12618 do eval test x\
${$as_var+set} = xset \
12619 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12632 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12635 # as_fn_error ERROR [LINENO LOG_FD]
12636 # ---------------------------------
12637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12639 # script with status $?, using 1 if that was 0.
12642 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12644 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12647 $as_echo "$as_me: error: $1" >&2
12648 as_fn_exit
$as_status
12652 # as_fn_set_status STATUS
12653 # -----------------------
12654 # Set $? to STATUS, without forking.
12655 as_fn_set_status
()
12658 } # as_fn_set_status
12660 # as_fn_exit STATUS
12661 # -----------------
12662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12666 as_fn_set_status
$1
12672 # Portably unset VAR.
12675 { eval $1=; unset $1;}
12677 as_unset
=as_fn_unset
12678 # as_fn_append VAR VALUE
12679 # ----------------------
12680 # Append the text in VALUE to the end of the definition contained in VAR. Take
12681 # advantage of any shell optimizations that allow amortized linear growth over
12682 # repeated appends, instead of the typical quadratic growth present in naive
12684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12685 eval 'as_fn_append ()
12696 # as_fn_arith ARG...
12697 # ------------------
12698 # Perform arithmetic evaluation on the ARGs, and store the result in the
12699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12700 # must be portable across $(()) and expr.
12701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12702 eval 'as_fn_arith ()
12709 as_val
=`expr "$@" || test $? -eq 1`
12714 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12715 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12721 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12722 as_basename
=basename
12727 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12733 as_me
=`$as_basename -- "$0" ||
12734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12735 X"$0" : 'X\(//\)$' \| \
12736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12738 sed '/^.*\/\([^/][^/]*\)\/*$/{
12752 # Avoid depending upon Character Ranges.
12753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12756 as_cr_digits
='0123456789'
12757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12759 ECHO_C
= ECHO_N
= ECHO_T
=
12760 case `echo -n x` in #(((((
12762 case `echo 'xy\c'` in
12763 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12765 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12772 rm -f conf$$ conf$$.exe conf$$.
file
12773 if test -d conf$$.dir
; then
12774 rm -f conf$$.dir
/conf$$.
file
12777 mkdir conf$$.dir
2>/dev
/null
12779 if (echo >conf$$.
file) 2>/dev
/null
; then
12780 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12782 # ... but there are two gotchas:
12783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12785 # In both cases, we have to default to `cp -p'.
12786 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12788 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12796 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12797 rmdir conf$$.dir
2>/dev
/null
12802 # Create "$as_dir" as a directory, including parents if necessary.
12807 -*) as_dir
=.
/$as_dir;;
12809 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12813 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12814 *) as_qdir
=$as_dir;;
12816 as_dirs
="'$as_qdir' $as_dirs"
12817 as_dir
=`$as_dirname -- "$as_dir" ||
12818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12819 X"$as_dir" : 'X\(//\)[^/]' \| \
12820 X"$as_dir" : 'X\(//\)$' \| \
12821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12822 $as_echo X"$as_dir" |
12823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12827 /^X\(\/\/\)[^/].*/{
12840 test -d "$as_dir" && break
12842 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12843 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12847 if mkdir
-p .
2>/dev
/null
; then
12848 as_mkdir_p
='mkdir -p "$as_dir"'
12850 test -d .
/-p && rmdir .
/-p
12854 if test -x / >/dev
/null
2>&1; then
12855 as_test_x
='test -x'
12857 if ls -dL / >/dev
/null
2>&1; then
12864 if test -d "$1"; then
12870 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12871 ???[sx]*):;;*)false;;esac;fi
12875 as_executable_p
=$as_test_x
12877 # Sed expression to map a string onto a valid CPP name.
12878 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12880 # Sed expression to map a string onto a valid variable name.
12881 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12885 ## ----------------------------------- ##
12886 ## Main body of $CONFIG_STATUS script. ##
12887 ## ----------------------------------- ##
12889 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12892 # Save the log message, to keep $0 and so on meaningful, and to
12893 # report actual input values of CONFIG_FILES etc. instead of their
12894 # values after options handling.
12896 This file was extended by package-unused $as_me version-unused, which was
12897 generated by GNU Autoconf 2.64. Invocation command line was
12899 CONFIG_FILES = $CONFIG_FILES
12900 CONFIG_HEADERS = $CONFIG_HEADERS
12901 CONFIG_LINKS = $CONFIG_LINKS
12902 CONFIG_COMMANDS = $CONFIG_COMMANDS
12905 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12910 case $ac_config_files in *"
12911 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12914 case $ac_config_headers in *"
12915 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12920 # Files that config.status was made for.
12921 config_files="$ac_config_files"
12922 config_headers="$ac_config_headers"
12923 config_commands="$ac_config_commands"
12927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12929 \`$as_me' instantiates files and other configuration actions
12930 from templates according to the current configuration. Unless the files
12931 and actions are specified as TAGs, all are instantiated by default.
12933 Usage: $0 [OPTION]... [TAG]...
12935 -h, --help print this help, then exit
12936 -V, --version print version number and configuration settings, then exit
12937 -q, --quiet, --silent
12938 do not print progress messages
12939 -d, --debug don't remove temporary files
12940 --recheck update $as_me by reconfiguring in the same conditions
12941 --file=FILE[:TEMPLATE]
12942 instantiate the configuration file FILE
12943 --header=FILE[:TEMPLATE]
12944 instantiate the configuration header FILE
12946 Configuration files:
12949 Configuration headers:
12952 Configuration commands:
12955 Report bugs to the package provider."
12958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12960 package-unused config.status version-unused
12961 configured by $0, generated by GNU Autoconf 2.64,
12962 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12964 Copyright (C) 2009 Free Software Foundation, Inc.
12965 This config.status script is free software; the Free Software Foundation
12966 gives unlimited permission to copy, distribute and modify it."
12973 test -n "\$AWK" || AWK=awk
12976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12977 # The default lists apply if the user does not specify any file.
12983 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12984 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12995 # Handling of the options.
12996 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12998 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12999 $as_echo "$ac_cs_version"; exit ;;
13000 --debug |
--debu |
--deb |
--de |
--d |
-d )
13002 --file |
--fil |
--fi |
--f )
13005 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13007 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13008 ac_need_defaults
=false
;;
13009 --header |
--heade |
--head |
--hea )
13012 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13014 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13015 ac_need_defaults
=false
;;
13017 # Conflict between --help and --header
13018 as_fn_error
"ambiguous option: \`$1'
13019 Try \`$0 --help' for more information.";;
13020 --help |
--hel |
-h )
13021 $as_echo "$ac_cs_usage"; exit ;;
13022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13023 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13026 # This is an error.
13027 -*) as_fn_error
"unrecognized option: \`$1'
13028 Try \`$0 --help' for more information." ;;
13030 *) as_fn_append ac_config_targets
" $1"
13031 ac_need_defaults
=false
;;
13037 ac_configure_extra_args
=
13039 if $ac_cs_silent; then
13041 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13046 if \$ac_cs_recheck; then
13047 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13049 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13050 CONFIG_SHELL='$SHELL'
13051 export CONFIG_SHELL
13056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13060 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13061 ## Running $as_me. ##
13067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13073 # The HP-UX ksh and POSIX shell print the target directory to stdout
13074 # if CDPATH is set.
13075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13077 sed_quote_subst='$sed_quote_subst'
13078 double_quote_subst='$double_quote_subst'
13079 delay_variable_subst='$delay_variable_subst'
13080 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13081 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13082 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13083 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13084 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13085 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13086 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13087 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13088 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13089 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13090 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13091 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13092 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13093 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13094 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13095 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13096 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13097 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13098 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13099 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13100 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13101 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13102 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13103 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13104 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13105 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13106 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13107 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13108 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13109 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13110 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13111 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13112 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13113 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13114 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13115 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13116 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13117 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13118 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13119 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13120 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13121 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13122 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13123 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13124 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13125 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13126 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13127 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13128 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"`'
13129 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13130 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13131 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13132 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13133 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13134 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13135 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13136 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13137 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13138 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13139 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13140 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13141 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13142 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13143 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13144 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13145 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13146 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13147 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13148 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13149 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13150 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13151 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13152 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13153 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13154 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13155 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13156 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13157 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13158 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13159 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13160 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13161 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13162 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13163 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13164 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13165 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13166 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13167 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13168 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13169 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13170 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13171 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13172 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13173 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13174 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13175 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13176 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13177 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13178 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13179 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13180 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13181 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13182 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13183 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13184 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13185 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13186 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13187 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13188 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13189 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13190 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13191 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13192 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13193 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13194 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13195 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13196 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13197 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13198 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13199 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13202 LTCFLAGS='$LTCFLAGS'
13203 compiler='$compiler_DEFAULT'
13205 # A function that is used when there is no print builtin or printf.
13206 func_fallback_echo ()
13208 eval 'cat <<_LTECHO_EOF
13213 # Quote evaled strings.
13227 deplibs_check_method \
13236 lt_cv_sys_global_symbol_pipe \
13237 lt_cv_sys_global_symbol_to_cdecl \
13238 lt_cv_sys_global_symbol_to_c_name_address \
13239 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13240 lt_prog_compiler_no_builtin_flag \
13241 lt_prog_compiler_wl \
13242 lt_prog_compiler_pic \
13243 lt_prog_compiler_static \
13244 lt_cv_prog_compiler_c_o \
13252 export_dynamic_flag_spec \
13253 whole_archive_flag_spec \
13254 compiler_needs_object \
13256 allow_undefined_flag \
13257 no_undefined_flag \
13258 hardcode_libdir_flag_spec \
13259 hardcode_libdir_flag_spec_ld \
13260 hardcode_libdir_separator \
13265 variables_saved_for_relink \
13267 library_names_spec \
13269 install_override_mode \
13273 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13274 *[\\\\\\\`\\"\\\$]*)
13275 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13278 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13283 # Double-quote double-evaled strings.
13284 for var in reload_cmds \
13285 old_postinstall_cmds \
13286 old_postuninstall_cmds \
13288 extract_expsyms_cmds \
13289 old_archive_from_new_cmds \
13290 old_archive_from_expsyms_cmds \
13292 archive_expsym_cmds \
13294 module_expsym_cmds \
13295 export_symbols_cmds \
13298 postuninstall_cmds \
13300 sys_lib_search_path_spec \
13301 sys_lib_dlsearch_path_spec; do
13302 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13303 *[\\\\\\\`\\"\\\$]*)
13304 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13307 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13312 ac_aux_dir='$ac_aux_dir'
13313 xsi_shell='$xsi_shell'
13314 lt_shell_append='$lt_shell_append'
13316 # See if we are running on zsh, and set the options which allow our
13317 # commands through without removal of \ escapes INIT.
13318 if test -n "\${ZSH_VERSION+set}" ; then
13319 setopt NO_GLOB_SUBST
13325 TIMESTAMP='$TIMESTAMP'
13335 with_multisubdir="$with_multisubdir"
13336 with_multisrctop="$with_multisrctop"
13337 with_target_subdir="$with_target_subdir"
13338 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13339 multi_basedir="$multi_basedir"
13340 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13343 GFORTRAN="$GFORTRAN"
13348 acx_cv_header_stdint="$acx_cv_header_stdint"
13349 acx_cv_type_int8_t="$acx_cv_type_int8_t"
13350 acx_cv_type_int16_t="$acx_cv_type_int16_t"
13351 acx_cv_type_int32_t="$acx_cv_type_int32_t"
13352 acx_cv_type_int64_t="$acx_cv_type_int64_t"
13353 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
13354 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
13355 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
13356 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
13357 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
13358 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
13359 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
13360 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
13361 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
13364 # Variables needed in config.status (file generation) which aren't already
13365 # passed by autoconf.
13371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13373 # Handling of arguments.
13374 for ac_config_target
in $ac_config_targets
13376 case $ac_config_target in
13377 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13378 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13379 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13380 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
13381 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13382 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
13383 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
13385 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13390 # If the user did not use the arguments to specify the items to instantiate,
13391 # then the envvar interface is used. Set only those that are not.
13392 # We use the long form for the default assignment because of an extremely
13393 # bizarre bug on SunOS 4.1.3.
13394 if $ac_need_defaults; then
13395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13400 # Have a temporary directory for convenience. Make it in the build tree
13401 # simply because there is no reason against having it here, and in addition,
13402 # creating and moving files from /tmp can sometimes cause problems.
13403 # Hook for its removal unless debugging.
13404 # Note that there is a small window in which the directory will not be cleaned:
13405 # after its creation but before its name has been assigned to `$tmp'.
13409 trap 'exit_status=$?
13410 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13412 trap 'as_fn_exit 1' 1 2 13 15
13414 # Create a (secure) tmp directory for tmp files.
13417 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13418 test -n "$tmp" && test -d "$tmp"
13421 tmp
=.
/conf$$
-$RANDOM
13422 (umask 077 && mkdir
"$tmp")
13423 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13425 # Set up the scripts for CONFIG_FILES section.
13426 # No need to generate them if there are no CONFIG_FILES.
13427 # This happens for instance with `./config.status config.h'.
13428 if test -n "$CONFIG_FILES"; then
13431 ac_cr
=`echo X | tr X '\015'`
13432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13433 # But we know of no other shell where ac_cr would be empty at this
13434 # point, so we can use a bashism as a fallback.
13435 if test "x$ac_cr" = x
; then
13436 eval ac_cr
=\$
\'\\r
\'
13438 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13442 ac_cs_awk_cr
=$ac_cr
13445 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13450 echo "cat >conf$$subs.awk <<_ACEOF" &&
13451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13453 } >conf$$subs.sh ||
13454 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13457 for ac_last_try in false false false false false :; do
13458 . ./conf$$subs.sh ||
13459 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13461 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13462 if test $ac_delim_n = $ac_delim_num; then
13464 elif $ac_last_try; then
13465 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13467 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13470 rm -f conf$$subs.sh
13472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13473 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13477 s/^/S["/; s
/!.
*/"]=/
13487 s/\(.\{148\}\).*/\1/
13489 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13494 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13501 s/\(.\{148\}\).*/\1/
13503 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13507 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13512 ' <conf$$subs.awk | sed '
13517 ' >>$CONFIG_STATUS || ac_write_fail=1
13518 rm -f conf$$subs.awk
13519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13521 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13522 for (key in S) S_is_set[key] = 1
13528 nfields = split(line, field, "@
")
13530 len = length(field[1])
13531 for (i = 2; i < nfields; i++) {
13533 keylen = length(key)
13534 if (S_is_set[key]) {
13536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13537 len += length(value) + length(field[++i])
13548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13549 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13550 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13553 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13554 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13557 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13558 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13559 # trailing colons and then remove the whole line if VPATH becomes empty
13560 # (actually we leave an empty line to preserve line numbers).
13561 if test "x
$srcdir" = x.; then
13562 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13563 s/:*\$(srcdir):*/:/
13564 s/:*\${srcdir}:*/:/
13566 s/^\([^=]*=[ ]*\):*/\1/
13572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13573 fi # test -n "$CONFIG_FILES"
13575 # Set up the scripts for CONFIG_HEADERS section.
13576 # No need to generate them if there are no CONFIG_HEADERS.
13577 # This happens for instance with `./config.status Makefile'.
13578 if test -n "$CONFIG_HEADERS"; then
13579 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13583 # Transform confdefs.h into an awk script `defines.awk', embedded as
13584 # here-document in config.status, that substitutes the proper values into
13585 # config.h.in to produce config.h.
13587 # Create a delimiter string that does not exist in confdefs.h, to ease
13588 # handling of long lines.
13590 for ac_last_try in false false :; do
13591 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13592 if test -z "$ac_t"; then
13594 elif $ac_last_try; then
13595 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13597 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13601 # For the awk script, D is an array of macro values keyed by name,
13602 # likewise P contains macro parameters if any. Preserve backslash
13603 # newline sequences.
13605 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13607 s/.\{148\}/&'"$ac_delim"'/g
13610 s/^[ ]*#[ ]*define[ ][ ]*/ /
13617 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13619 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13623 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13624 D["\
1"]=" \
3\\\\\\n
"\\/p
13626 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13631 s/.\{148\}/&'"$ac_delim"'/g
13636 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13639 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13641 ' <confdefs.h | sed '
13642 s/'"$ac_delim"'/"\\\
13643 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13646 for (key in D) D_is_set[key] = 1
13649 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13651 split(line, arg, " ")
13652 if (arg[1] == "#") {
13656 defundef
= substr
(arg
[1], 2)
13659 split(mac1
, mac2
, "(") #)
13661 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13662 if (D_is_set
[macro
]) {
13663 # Preserve the white space surrounding the "#".
13664 print prefix
"define", macro P
[macro
] D
[macro
]
13667 # Replace #undef with comments. This is necessary, for example,
13668 # in the case of _POSIX_SOURCE, which is predefined and required
13669 # on some systems where configure will not decide to define it.
13670 if (defundef
== "undef") {
13671 print
"/*", prefix defundef
, macro
, "*/"
13679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13680 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13681 fi # test -n "$CONFIG_HEADERS"
13684 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13689 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13691 case $ac_mode$ac_tag in
13693 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13694 :[FH
]-) ac_tag
=-:-;;
13695 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13712 -) ac_f
="$tmp/stdin";;
13713 *) # Look for the file first in the build tree, then in the source tree
13714 # (if the path is not absolute). The absolute path cannot be DOS-style,
13715 # because $ac_f cannot contain `:'.
13719 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13721 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13723 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13724 as_fn_append ac_file_inputs
" '$ac_f'"
13727 # Let's still pretend it is `configure' which instantiates (i.e., don't
13728 # use $as_me), people would be surprised to read:
13729 # /* config.h. Generated by config.status. */
13730 configure_input
='Generated from '`
13731 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13733 if test x
"$ac_file" != x-
; then
13734 configure_input
="$ac_file. $configure_input"
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13736 $as_echo "$as_me: creating $ac_file" >&6;}
13738 # Neutralize special characters interpreted by sed in replacement strings.
13739 case $configure_input in #(
13740 *\
&* |
*\|
* |
*\\* )
13741 ac_sed_conf_input
=`$as_echo "$configure_input" |
13742 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13743 *) ac_sed_conf_input
=$configure_input;;
13747 *:-:* |
*:-) cat >"$tmp/stdin" \
13748 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13753 ac_dir
=`$as_dirname -- "$ac_file" ||
13754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13755 X"$ac_file" : 'X\(//\)[^/]' \| \
13756 X"$ac_file" : 'X\(//\)$' \| \
13757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13758 $as_echo X"$ac_file" |
13759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13763 /^X\(\/\/\)[^/].*/{
13776 as_dir
="$ac_dir"; as_fn_mkdir_p
13780 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13782 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13783 # A ".." for each directory in $ac_dir_suffix.
13784 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13785 case $ac_top_builddir_sub in
13786 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13787 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13790 ac_abs_top_builddir
=$ac_pwd
13791 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13792 # for backward compatibility:
13793 ac_top_builddir
=$ac_top_build_prefix
13796 .
) # We are building in place.
13798 ac_top_srcdir
=$ac_top_builddir_sub
13799 ac_abs_top_srcdir
=$ac_pwd ;;
13800 [\\/]* | ?
:[\\/]* ) # Absolute name.
13801 ac_srcdir
=$srcdir$ac_dir_suffix;
13802 ac_top_srcdir
=$srcdir
13803 ac_abs_top_srcdir
=$srcdir ;;
13804 *) # Relative name.
13805 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13806 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13807 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13809 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13819 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13820 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13822 ac_MKDIR_P
=$MKDIR_P
13824 [\\/$
]* | ?
:[\\/]* ) ;;
13825 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13830 # If the template does not know about datarootdir, expand it.
13831 # FIXME: This hack should be removed a few years after 2.60.
13832 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13843 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13844 *datarootdir
*) ac_datarootdir_seen
=yes;;
13845 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13847 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13850 ac_datarootdir_hack='
13851 s&@datadir@&$datadir&g
13852 s&@docdir@&$docdir&g
13853 s&@infodir@&$infodir&g
13854 s&@localedir@&$localedir&g
13855 s&@mandir@&$mandir&g
13856 s&\\\${datarootdir}&$datarootdir&g' ;;
13860 # Neutralize VPATH when `$srcdir' = `.'.
13861 # Shell code in configure.ac might set extrasub.
13862 # FIXME: do we really want to maintain this feature?
13863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13864 ac_sed_extra="$ac_vpsub
13867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13869 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13870 s|@configure_input@|
$ac_sed_conf_input|
;t t
13871 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13872 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13873 s
&@srcdir@
&$ac_srcdir&;t t
13874 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13875 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13876 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13877 s
&@builddir@
&$ac_builddir&;t t
13878 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13879 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13880 s
&@INSTALL@
&$ac_INSTALL&;t t
13881 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13882 $ac_datarootdir_hack
13884 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13885 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13891 which seems to be undefined. Please make sure it is defined." >&5
13892 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13893 which seems to be undefined. Please make sure it is defined." >&2;}
13897 -) cat "$tmp/out" && rm -f "$tmp/out";;
13898 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13900 || as_fn_error "could not create $ac_file" "$LINENO" 5
13906 if test x"$ac_file" != x-; then
13908 $as_echo "/* $configure_input */" \
13909 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13910 } >"$tmp/config.h" \
13911 || as_fn_error "could not create $ac_file" "$LINENO" 5
13912 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13914 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13917 mv "$tmp/config.h" "$ac_file" \
13918 || as_fn_error "could not create $ac_file" "$LINENO" 5
13921 $as_echo "/* $configure_input */" \
13922 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13923 || as_fn_error "could not create -" "$LINENO" 5
13925 # Compute "$ac_file"'s index
in $config_headers.
13928 for _am_header
in $config_headers :; do
13929 case $_am_header in
13930 $_am_arg |
$_am_arg:* )
13933 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13936 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13937 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13938 X"$_am_arg" : 'X\(//\)[^/]' \| \
13939 X"$_am_arg" : 'X\(//\)$' \| \
13940 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13941 $as_echo X"$_am_arg" |
13942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13946 /^X\(\/\/\)[^/].*/{
13958 s/.*/./; q'`/stamp-h
$_am_stamp_count
13961 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13962 $as_echo "$as_me: executing $ac_file commands" >&6;}
13967 case $ac_file$ac_mode in
13970 # See if we are running on zsh, and set the options which allow our
13971 # commands through without removal of \ escapes.
13972 if test -n "${ZSH_VERSION+set}" ; then
13973 setopt NO_GLOB_SUBST
13976 cfgfile
="${ofile}T"
13977 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13980 cat <<_LT_EOF >> "$cfgfile"
13983 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13984 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13985 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13986 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13988 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13989 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13990 # Written by Gordon Matzigkeit, 1996
13992 # This file is part of GNU Libtool.
13994 # GNU Libtool is free software; you can redistribute it and/or
13995 # modify it under the terms of the GNU General Public License as
13996 # published by the Free Software Foundation; either version 2 of
13997 # the License, or (at your option) any later version.
13999 # As a special exception to the GNU General Public License,
14000 # if you distribute this file as part of a program or library that
14001 # is built using GNU Libtool, you may include this file under the
14002 # same distribution terms that you use for the rest of that program.
14004 # GNU Libtool is distributed in the hope that it will be useful,
14005 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14006 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14007 # GNU General Public License for more details.
14009 # You should have received a copy of the GNU General Public License
14010 # along with GNU Libtool; see the file COPYING. If not, a copy
14011 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14012 # obtained by writing to the Free Software Foundation, Inc.,
14013 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14016 # The names of the tagged configurations supported by this script.
14019 # ### BEGIN LIBTOOL CONFIG
14021 # Which release of libtool.m4 was used?
14022 macro_version=$macro_version
14023 macro_revision=$macro_revision
14025 # Whether or not to build shared libraries.
14026 build_libtool_libs=$enable_shared
14028 # Whether or not to build static libraries.
14029 build_old_libs=$enable_static
14031 # What type of objects to build.
14034 # Whether or not to optimize for fast installation.
14035 fast_install=$enable_fast_install
14037 # Shell to use when invoking shell scripts.
14040 # An echo program that protects backslashes.
14044 host_alias=$host_alias
14048 # The build system.
14049 build_alias=$build_alias
14053 # A sed program that does not truncate output.
14056 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14057 Xsed="\$SED -e 1s/^X//"
14059 # A grep program that handles long lines.
14065 # A literal string matcher.
14068 # A BSD- or MS-compatible name lister.
14071 # Whether we need soft or hard links.
14074 # What is the maximum length of a command?
14075 max_cmd_len=$max_cmd_len
14077 # Object file suffix (normally "o").
14080 # Executable file suffix (normally "").
14083 # whether the shell understands "unset".
14086 # turn spaces into newlines.
14089 # turn newlines into spaces.
14092 # An object symbol dumper.
14093 OBJDUMP=$lt_OBJDUMP
14095 # Method to check whether dependent libraries are shared objects.
14096 deplibs_check_method=$lt_deplibs_check_method
14098 # Command to use when deplibs_check_method == "file_magic".
14099 file_magic_cmd=$lt_file_magic_cmd
14103 AR_FLAGS=$lt_AR_FLAGS
14105 # A symbol stripping program.
14108 # Commands used to install an old-style archive.
14110 old_postinstall_cmds=$lt_old_postinstall_cmds
14111 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14113 # Whether to use a lock for old archive extraction.
14114 lock_old_archive_extraction=$lock_old_archive_extraction
14119 # LTCC compiler flags.
14120 LTCFLAGS=$lt_CFLAGS
14122 # Take the output of nm and produce a listing of raw symbols and C names.
14123 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14125 # Transform the output of nm in a proper C declaration.
14126 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14128 # Transform the output of nm in a C name address pair.
14129 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14131 # Transform the output of nm in a C name address pair when lib prefix is needed.
14132 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14134 # The name of the directory that contains temporary libtool files.
14137 # Used to examine libraries when file_magic_cmd begins with "file".
14138 MAGIC_CMD=$MAGIC_CMD
14140 # Must we lock files when doing compilation?
14141 need_locks=$lt_need_locks
14143 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14144 DSYMUTIL=$lt_DSYMUTIL
14146 # Tool to change global to local symbols on Mac OS X.
14149 # Tool to manipulate fat objects and archives on Mac OS X.
14152 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14155 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14156 OTOOL64=$lt_OTOOL64
14158 # Old archive suffix (normally "a").
14161 # Shared library suffix (normally ".so").
14162 shrext_cmds=$lt_shrext_cmds
14164 # The commands to extract the exported symbol list from a shared archive.
14165 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14167 # Variables whose values should be saved in libtool wrapper scripts and
14168 # restored at link time.
14169 variables_saved_for_relink=$lt_variables_saved_for_relink
14171 # Do we need the "lib" prefix for modules?
14172 need_lib_prefix=$need_lib_prefix
14174 # Do we need a version for libraries?
14175 need_version=$need_version
14177 # Library versioning type.
14178 version_type=$version_type
14180 # Shared library runtime path variable.
14181 runpath_var=$runpath_var
14183 # Shared library path variable.
14184 shlibpath_var=$shlibpath_var
14186 # Is shlibpath searched before the hard-coded library search path?
14187 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14189 # Format of library name prefix.
14190 libname_spec=$lt_libname_spec
14192 # List of archive names. First name is the real one, the rest are links.
14193 # The last name is the one that the linker finds with -lNAME
14194 library_names_spec=$lt_library_names_spec
14196 # The coded name of the library, if different from the real name.
14197 soname_spec=$lt_soname_spec
14199 # Permission mode override for installation of shared libraries.
14200 install_override_mode=$lt_install_override_mode
14202 # Command to use after installation of a shared archive.
14203 postinstall_cmds=$lt_postinstall_cmds
14205 # Command to use after uninstallation of a shared archive.
14206 postuninstall_cmds=$lt_postuninstall_cmds
14208 # Commands used to finish a libtool library installation in a directory.
14209 finish_cmds=$lt_finish_cmds
14211 # As "finish_cmds", except a single script fragment to be evaled but
14213 finish_eval=$lt_finish_eval
14215 # Whether we should hardcode library paths into libraries.
14216 hardcode_into_libs=$hardcode_into_libs
14218 # Compile-time system search path for libraries.
14219 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14221 # Run-time system search path for libraries.
14222 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14224 # Whether dlopen is supported.
14225 dlopen_support=$enable_dlopen
14227 # Whether dlopen of programs is supported.
14228 dlopen_self=$enable_dlopen_self
14230 # Whether dlopen of statically linked programs is supported.
14231 dlopen_self_static=$enable_dlopen_self_static
14233 # Commands to strip libraries.
14234 old_striplib=$lt_old_striplib
14235 striplib=$lt_striplib
14238 # The linker used to build libraries.
14241 # How to create reloadable object files.
14242 reload_flag=$lt_reload_flag
14243 reload_cmds=$lt_reload_cmds
14245 # Commands used to build an old-style archive.
14246 old_archive_cmds=$lt_old_archive_cmds
14248 # A language specific compiler.
14251 # Is the compiler the GNU compiler?
14254 # Compiler flag to turn off builtin functions.
14255 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14257 # How to pass a linker flag through the compiler.
14258 wl=$lt_lt_prog_compiler_wl
14260 # Additional compiler flags for building library objects.
14261 pic_flag=$lt_lt_prog_compiler_pic
14263 # Compiler flag to prevent dynamic linking.
14264 link_static_flag=$lt_lt_prog_compiler_static
14266 # Does compiler simultaneously support -c and -o options?
14267 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14269 # Whether or not to add -lc for building shared libraries.
14270 build_libtool_need_lc=$archive_cmds_need_lc
14272 # Whether or not to disallow shared libs when runtime libs are static.
14273 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14275 # Compiler flag to allow reflexive dlopens.
14276 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14278 # Compiler flag to generate shared objects directly from archives.
14279 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14281 # Whether the compiler copes with passing no objects directly.
14282 compiler_needs_object=$lt_compiler_needs_object
14284 # Create an old-style archive from a shared archive.
14285 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14287 # Create a temporary old-style archive to link instead of a shared archive.
14288 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14290 # Commands used to build a shared archive.
14291 archive_cmds=$lt_archive_cmds
14292 archive_expsym_cmds=$lt_archive_expsym_cmds
14294 # Commands used to build a loadable module if different from building
14295 # a shared archive.
14296 module_cmds=$lt_module_cmds
14297 module_expsym_cmds=$lt_module_expsym_cmds
14299 # Whether we are building with GNU ld or not.
14300 with_gnu_ld=$lt_with_gnu_ld
14302 # Flag that allows shared libraries with undefined symbols to be built.
14303 allow_undefined_flag=$lt_allow_undefined_flag
14305 # Flag that enforces no undefined symbols.
14306 no_undefined_flag=$lt_no_undefined_flag
14308 # Flag to hardcode \$libdir into a binary during linking.
14309 # This must work even if \$libdir does not exist
14310 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14312 # If ld is used when linking, flag to hardcode \$libdir into a binary
14313 # during linking. This must work even if \$libdir does not exist.
14314 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14316 # Whether we need a single "-rpath" flag with a separated argument.
14317 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14320 # DIR into the resulting binary.
14321 hardcode_direct=$hardcode_direct
14323 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14324 # DIR into the resulting binary and the resulting library dependency is
14325 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14326 # library is relocated.
14327 hardcode_direct_absolute=$hardcode_direct_absolute
14329 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14330 # into the resulting binary.
14331 hardcode_minus_L=$hardcode_minus_L
14333 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14334 # into the resulting binary.
14335 hardcode_shlibpath_var=$hardcode_shlibpath_var
14337 # Set to "yes" if building a shared library automatically hardcodes DIR
14338 # into the library and all subsequent libraries and executables linked
14340 hardcode_automatic=$hardcode_automatic
14342 # Set to yes if linker adds runtime paths of dependent libraries
14343 # to runtime path list.
14344 inherit_rpath=$inherit_rpath
14346 # Whether libtool must link a program against all its dependency libraries.
14347 link_all_deplibs=$link_all_deplibs
14349 # Fix the shell variable \$srcfile for the compiler.
14350 fix_srcfile_path=$lt_fix_srcfile_path
14352 # Set to "yes" if exported symbols are required.
14353 always_export_symbols=$always_export_symbols
14355 # The commands to list exported symbols.
14356 export_symbols_cmds=$lt_export_symbols_cmds
14358 # Symbols that should not be listed in the preloaded symbols.
14359 exclude_expsyms=$lt_exclude_expsyms
14361 # Symbols that must always be exported.
14362 include_expsyms=$lt_include_expsyms
14364 # Commands necessary for linking programs (against libraries) with templates.
14365 prelink_cmds=$lt_prelink_cmds
14367 # Specify filename containing input files.
14368 file_list_spec=$lt_file_list_spec
14370 # How to hardcode a shared library path into an executable.
14371 hardcode_action=$hardcode_action
14373 # ### END LIBTOOL CONFIG
14379 cat <<\_LT_EOF
>> "$cfgfile"
14380 # AIX sometimes has problems with the GCC collect2 program. For some
14381 # reason, if we set the COLLECT_NAMES environment variable, the problems
14382 # vanish in a puff of smoke.
14383 if test "X${COLLECT_NAMES+set}" != Xset
; then
14385 export COLLECT_NAMES
14392 ltmain
="$ac_aux_dir/ltmain.sh"
14395 # We use sed instead of cat because bash on DJGPP gets confused if
14396 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14397 # text mode, it properly converts lines to CR/LF. This bash problem
14398 # is reportedly fixed, but why not run on old versions too?
14399 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14400 ||
(rm -f "$cfgfile"; exit 1)
14404 cat << \_LT_EOF
>> "$cfgfile"
14406 # func_dirname file append nondir_replacement
14407 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14408 # otherwise set result to NONDIR_REPLACEMENT.
14412 */*) func_dirname_result
="${1%/*}${2}" ;;
14413 * ) func_dirname_result
="${3}" ;;
14417 # func_basename file
14420 func_basename_result
="${1##*/}"
14423 # func_dirname_and_basename file append nondir_replacement
14424 # perform func_basename and func_dirname in a single function
14426 # dirname: Compute the dirname of FILE. If nonempty,
14427 # add APPEND to the result, otherwise set result
14428 # to NONDIR_REPLACEMENT.
14429 # value returned in "$func_dirname_result"
14430 # basename: Compute filename of FILE.
14431 # value retuned in "$func_basename_result"
14432 # Implementation must be kept synchronized with func_dirname
14433 # and func_basename. For efficiency, we do not delegate to
14434 # those functions but instead duplicate the functionality here.
14435 func_dirname_and_basename
()
14438 */*) func_dirname_result
="${1%/*}${2}" ;;
14439 * ) func_dirname_result
="${3}" ;;
14441 func_basename_result
="${1##*/}"
14444 # func_stripname prefix suffix name
14445 # strip PREFIX and SUFFIX off of NAME.
14446 # PREFIX and SUFFIX must not contain globbing or regex special
14447 # characters, hashes, percent signs, but SUFFIX may contain a leading
14448 # dot (in which case that matches only a dot).
14451 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14452 # positional parameters, so assign one to ordinary parameter first.
14453 func_stripname_result
=${3}
14454 func_stripname_result
=${func_stripname_result#"${1}"}
14455 func_stripname_result
=${func_stripname_result%"${2}"}
14461 func_opt_split_opt
=${1%%=*}
14462 func_opt_split_arg
=${1#*=}
14469 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14470 *) func_lo2o_result
=${1} ;;
14474 # func_xform libobj-or-source
14477 func_xform_result
=${1%.*}.lo
14480 # func_arith arithmetic-term...
14483 func_arith_result
=$
(( $
* ))
14487 # STRING may not start with a hyphen.
14490 func_len_result
=${#1}
14495 *) # Bourne compatible functions.
14496 cat << \_LT_EOF
>> "$cfgfile"
14498 # func_dirname file append nondir_replacement
14499 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14500 # otherwise set result to NONDIR_REPLACEMENT.
14503 # Extract subdirectory from the argument.
14504 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14505 if test "X$func_dirname_result" = "X${1}"; then
14506 func_dirname_result
="${3}"
14508 func_dirname_result
="$func_dirname_result${2}"
14512 # func_basename file
14515 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14519 # func_stripname prefix suffix name
14520 # strip PREFIX and SUFFIX off of NAME.
14521 # PREFIX and SUFFIX must not contain globbing or regex special
14522 # characters, hashes, percent signs, but SUFFIX may contain a leading
14523 # dot (in which case that matches only a dot).
14524 # func_strip_suffix prefix name
14528 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14529 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14534 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14535 my_sed_long_arg
='1s/^-[^=]*=//'
14540 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14541 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14547 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14550 # func_xform libobj-or-source
14553 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14556 # func_arith arithmetic-term...
14559 func_arith_result
=`expr "$@"`
14563 # STRING may not start with a hyphen.
14566 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14572 case $lt_shell_append in
14574 cat << \_LT_EOF
>> "$cfgfile"
14576 # func_append var value
14577 # Append VALUE to the end of shell variable VAR.
14585 cat << \_LT_EOF
>> "$cfgfile"
14587 # func_append var value
14588 # Append VALUE to the end of shell variable VAR.
14599 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14600 ||
(rm -f "$cfgfile"; exit 1)
14602 mv -f "$cfgfile" "$ofile" ||
14603 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14608 # Only add multilib support code if we just rebuilt the top-level
14610 case " $CONFIG_FILES " in
14612 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14616 if test "$GCC" = yes; then
14617 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
14619 echo "/* generated for $CC */" > tmp-stdint.h
14622 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14624 #ifndef GCC_GENERATED_STDINT_H
14625 #define GCC_GENERATED_STDINT_H 1
14627 #include <sys/types.h>
14630 if test "$acx_cv_header_stdint" != stdint.h
; then
14631 echo "#include <stddef.h>" >> tmp-stdint.h
14633 if test "$acx_cv_header_stdint" != stddef.h
; then
14634 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
14637 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14638 /* glibc uses these symbols as guards to prevent redefinitions. */
14639 #ifdef __int8_t_defined
14644 #ifdef __uint32_t_defined
14650 # ----------------- done header, emit basic int types -------------
14651 if test "$acx_cv_header_stdint" = stddef.h
; then
14652 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14656 #ifndef __uint8_t_defined
14657 #define __uint8_t_defined
14659 typedef unsigned $acx_cv_type_int8_t uint8_t;
14666 #ifndef __uint16_t_defined
14667 #define __uint16_t_defined
14669 typedef unsigned $acx_cv_type_int16_t uint16_t;
14676 #ifndef __uint32_t_defined
14677 #define __uint32_t_defined
14679 typedef unsigned $acx_cv_type_int32_t uint32_t;
14686 #ifndef __int8_t_defined
14687 #define __int8_t_defined
14689 typedef $acx_cv_type_int8_t int8_t;
14696 #ifndef __int16_t_defined
14697 #define __int16_t_defined
14699 typedef $acx_cv_type_int16_t int16_t;
14706 #ifndef __int32_t_defined
14707 #define __int32_t_defined
14709 typedef $acx_cv_type_int32_t int32_t;
14714 elif test "$ac_cv_type_u_int32_t" = yes; then
14715 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14717 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
14730 #ifndef __uint8_t_defined
14731 #define __uint8_t_defined
14733 typedef u_int8_t uint8_t;
14740 #ifndef __uint16_t_defined
14741 #define __uint16_t_defined
14743 typedef u_int16_t uint16_t;
14750 #ifndef __uint32_t_defined
14751 #define __uint32_t_defined
14753 typedef u_int32_t uint32_t;
14759 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14761 /* Some systems have guard macros to prevent redefinitions, define them. */
14783 # ------------- done basic int types, emit int64_t types ------------
14784 if test "$ac_cv_type_uint64_t" = yes; then
14785 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14787 /* system headers have good uint64_t and int64_t */
14795 elif test "$ac_cv_type_u_int64_t" = yes; then
14796 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14798 /* system headers have an u_int64_t (and int64_t) */
14804 #ifndef __uint64_t_defined
14805 #define __uint64_t_defined
14807 typedef u_int64_t uint64_t;
14812 elif test -n "$acx_cv_type_int64_t"; then
14813 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14815 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
14819 typedef $acx_cv_type_int64_t int64_t;
14824 #ifndef __uint64_t_defined
14825 #define __uint64_t_defined
14827 typedef unsigned $acx_cv_type_int64_t uint64_t;
14833 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14835 /* some common heuristics for int64_t, using compiler-specific tests */
14836 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
14839 #ifndef __int64_t_defined
14841 typedef long long int64_t;
14848 typedef unsigned long long uint64_t;
14852 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
14853 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
14854 does not implement __extension__. But that compiler doesn't define
14856 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
14857 # define __extension__
14863 __extension__ typedef long long int64_t;
14869 __extension__ typedef unsigned long long uint64_t;
14873 #elif !defined __STRICT_ANSI__
14874 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
14879 typedef __int64 int64_t;
14885 typedef unsigned __int64 uint64_t;
14888 # endif /* compiler */
14890 #endif /* ANSI version */
14894 # ------------- done int64_t types, emit intptr types ------------
14895 if test "$ac_cv_type_uintptr_t" != yes; then
14896 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14898 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
14899 #ifndef __uintptr_t_defined
14901 typedef u$acx_cv_type_intptr_t uintptr_t;
14904 #ifndef __intptr_t_defined
14906 typedef $acx_cv_type_intptr_t intptr_t;
14912 # ------------- done intptr types, emit int_least types ------------
14913 if test "$ac_cv_type_int_least32_t" != yes; then
14914 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14916 /* Define int_least types */
14917 typedef int8_t int_least8_t;
14918 typedef int16_t int_least16_t;
14919 typedef int32_t int_least32_t;
14921 typedef int64_t int_least64_t;
14924 typedef uint8_t uint_least8_t;
14925 typedef uint16_t uint_least16_t;
14926 typedef uint32_t uint_least32_t;
14928 typedef uint64_t uint_least64_t;
14933 # ------------- done intptr types, emit int_fast types ------------
14934 if test "$ac_cv_type_int_fast32_t" != yes; then
14935 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14937 /* Define int_fast types. short is often slow */
14938 typedef int8_t int_fast8_t;
14939 typedef int int_fast16_t;
14940 typedef int32_t int_fast32_t;
14942 typedef int64_t int_fast64_t;
14945 typedef uint8_t uint_fast8_t;
14946 typedef unsigned int uint_fast16_t;
14947 typedef uint32_t uint_fast32_t;
14949 typedef uint64_t uint_fast64_t;
14954 if test "$ac_cv_type_uintmax_t" != yes; then
14955 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14957 /* Define intmax based on what we found */
14960 typedef int64_t intmax_t;
14962 typedef long intmax_t;
14967 typedef uint64_t uintmax_t;
14969 typedef unsigned long uintmax_t;
14975 sed 's/^ *//' >> tmp-stdint.h
<<EOF
14977 #endif /* GCC_GENERATED_STDINT_H */
14980 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
14983 mv -f tmp-stdint.h gstdint.h
14987 "default":C
) if test -n "$CONFIG_FILES"; then
14988 if test -n "${with_target_subdir}"; then
14989 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
14990 # that multilib installs will end up installed in the correct place.
14991 # The testsuite needs it for multilib-aware ABI baseline files.
14992 # To work around this not being passed down from config-ml.in ->
14993 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
14994 # append it here. Only modify Makefiles that have just been created.
14996 # Also, get rid of this simulated-VPATH thing that automake does.
14997 cat > vpsed
<< \_EOF
14998 s
!`test -f '$<' || echo '$(srcdir)/'`!!
15000 for i
in $SUBDIRS; do
15001 case $CONFIG_FILES in
15003 #echo "Adding MULTISUBDIR to $i/Makefile"
15004 sed -f vpsed
$i/Makefile
> tmp
15005 grep '^MULTISUBDIR =' Makefile
>> tmp
15021 ac_clean_files
=$ac_clean_files_save
15023 test $ac_write_fail = 0 ||
15024 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15027 # configure is writing to config.log, and then calls config.status.
15028 # config.status does its own redirection, appending to config.log.
15029 # Unfortunately, on DOS this fails, as config.log is still kept open
15030 # by configure, so config.status won't be able to write to it; its
15031 # output is simply discarded. So we exec the FD to /dev/null,
15032 # effectively closing config.log, so it can be properly (re)opened and
15033 # appended to by config.status. When coming back to configure, we
15034 # need to make the FD available again.
15035 if test "$no_create" != yes; then
15037 ac_config_status_args
=
15038 test "$silent" = yes &&
15039 ac_config_status_args
="$ac_config_status_args --quiet"
15041 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15043 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15044 # would make configure fail if this is the last instruction.
15045 $ac_cs_success || as_fn_exit $?
15047 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15049 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}