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 HAVE_OBJCOPY_DEBUGLINK_FALSE
608 HAVE_OBJCOPY_DEBUGLINK_TRUE
610 HAVE_COMPRESSED_DEBUG_FALSE
611 HAVE_COMPRESSED_DEBUG_TRUE
617 BACKTRACE_USES_MALLOC
620 BACKTRACE_SUPPORTS_DATA
623 BACKTRACE_SUPPORTS_THREADS
645 MAINTAINER_MODE_FALSE
655 INSTALL_STRIP_PROGRAM
721 program_transform_name
734 enable_option_checking
736 enable_maintainer_mode
745 with_system_libunwind
748 ac_precious_vars
='build_alias
760 # Initialize some variables set by options.
762 ac_init_version
=false
763 ac_unrecognized_opts
=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name
=s
,x
,x
,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir
='${exec_prefix}/bin'
789 sbindir
='${exec_prefix}/sbin'
790 libexecdir
='${exec_prefix}/libexec'
791 datarootdir
='${prefix}/share'
792 datadir
='${datarootdir}'
793 sysconfdir
='${prefix}/etc'
794 sharedstatedir
='${prefix}/com'
795 localstatedir
='${prefix}/var'
796 includedir
='${prefix}/include'
797 oldincludedir
='/usr/include'
798 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir
='${datarootdir}/info'
804 libdir
='${exec_prefix}/lib'
805 localedir
='${datarootdir}/locale'
806 mandir
='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\
$ac_option
820 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 # Accept the important Cygnus configure options, so we can diagnose typos.
826 case $ac_dashdash$ac_option in
830 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
832 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
835 -build |
--build |
--buil |
--bui |
--bu)
836 ac_prev
=build_alias
;;
837 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
838 build_alias
=$ac_optarg ;;
840 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
841 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
842 ac_prev
=cache_file
;;
843 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
844 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
845 cache_file
=$ac_optarg ;;
848 cache_file
=config.cache
;;
850 -datadir |
--datadir |
--datadi |
--datad)
852 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
853 datadir
=$ac_optarg ;;
855 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
856 |
--dataroo |
--dataro |
--datar)
857 ac_prev
=datarootdir
;;
858 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
859 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
860 datarootdir
=$ac_optarg ;;
862 -disable-* |
--disable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=no
;;
878 -docdir |
--docdir |
--docdi |
--doc |
--do)
880 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
883 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
885 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
888 -enable-* |
--enable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=\
$ac_optarg ;;
904 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
905 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
906 |
--exec |
--exe |
--ex)
907 ac_prev
=exec_prefix
;;
908 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
909 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
910 |
--exec=* |
--exe=* |
--ex=*)
911 exec_prefix
=$ac_optarg ;;
913 -gas |
--gas |
--ga |
--g)
914 # Obsolete; use --with-gas.
917 -help |
--help |
--hel |
--he |
-h)
919 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
920 ac_init_help
=recursive
;;
921 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
922 ac_init_help
=short
;;
924 -host |
--host |
--hos |
--ho)
925 ac_prev
=host_alias
;;
926 -host=* |
--host=* |
--hos=* |
--ho=*)
927 host_alias
=$ac_optarg ;;
929 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
931 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
933 htmldir
=$ac_optarg ;;
935 -includedir |
--includedir |
--includedi |
--included |
--include \
936 |
--includ |
--inclu |
--incl |
--inc)
937 ac_prev
=includedir
;;
938 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
939 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
940 includedir
=$ac_optarg ;;
942 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
944 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
945 infodir
=$ac_optarg ;;
947 -libdir |
--libdir |
--libdi |
--libd)
949 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
952 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
953 |
--libexe |
--libex |
--libe)
954 ac_prev
=libexecdir
;;
955 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
956 |
--libexe=* |
--libex=* |
--libe=*)
957 libexecdir
=$ac_optarg ;;
959 -localedir |
--localedir |
--localedi |
--localed |
--locale)
961 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
962 localedir
=$ac_optarg ;;
964 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
965 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
966 ac_prev
=localstatedir
;;
967 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
968 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
969 localstatedir
=$ac_optarg ;;
971 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
973 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
977 # Obsolete; use --without-fp.
980 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
981 |
--no-cr |
--no-c |
-n)
984 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
985 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
988 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
989 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
990 |
--oldin |
--oldi |
--old |
--ol |
--o)
991 ac_prev
=oldincludedir
;;
992 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
993 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
994 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
995 oldincludedir
=$ac_optarg ;;
997 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
999 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1000 prefix
=$ac_optarg ;;
1002 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1003 |
--program-pre |
--program-pr |
--program-p)
1004 ac_prev
=program_prefix
;;
1005 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1006 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1007 program_prefix
=$ac_optarg ;;
1009 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1010 |
--program-suf |
--program-su |
--program-s)
1011 ac_prev
=program_suffix
;;
1012 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1013 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1014 program_suffix
=$ac_optarg ;;
1016 -program-transform-name |
--program-transform-name \
1017 |
--program-transform-nam |
--program-transform-na \
1018 |
--program-transform-n |
--program-transform- \
1019 |
--program-transform |
--program-transfor \
1020 |
--program-transfo |
--program-transf \
1021 |
--program-trans |
--program-tran \
1022 |
--progr-tra |
--program-tr |
--program-t)
1023 ac_prev
=program_transform_name
;;
1024 -program-transform-name=* |
--program-transform-name=* \
1025 |
--program-transform-nam=* |
--program-transform-na=* \
1026 |
--program-transform-n=* |
--program-transform-=* \
1027 |
--program-transform=* |
--program-transfor=* \
1028 |
--program-transfo=* |
--program-transf=* \
1029 |
--program-trans=* |
--program-tran=* \
1030 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1031 program_transform_name
=$ac_optarg ;;
1033 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1035 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1036 pdfdir
=$ac_optarg ;;
1038 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1040 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1044 |
-silent |
--silent |
--silen |
--sile |
--sil)
1047 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1049 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1051 sbindir
=$ac_optarg ;;
1053 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1054 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1055 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1057 ac_prev
=sharedstatedir
;;
1058 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1059 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1060 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1062 sharedstatedir
=$ac_optarg ;;
1064 -site |
--site |
--sit)
1066 -site=* |
--site=* |
--sit=*)
1069 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1071 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1072 srcdir
=$ac_optarg ;;
1074 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1075 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1076 ac_prev
=sysconfdir
;;
1077 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1078 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1079 sysconfdir
=$ac_optarg ;;
1081 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1082 ac_prev
=target_alias
;;
1083 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1084 target_alias
=$ac_optarg ;;
1086 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1089 -version |
--version |
--versio |
--versi |
--vers |
-V)
1090 ac_init_version
=: ;;
1093 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error
"invalid package name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval with_
$ac_useropt=\
$ac_optarg ;;
1108 -without-* |
--without-*)
1109 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 as_fn_error
"invalid package name: $ac_useropt"
1113 ac_useropt_orig
=$ac_useropt
1114 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1120 ac_unrecognized_sep
=', ';;
1122 eval with_
$ac_useropt=no
;;
1125 # Obsolete; use --with-x.
1128 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1129 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1130 ac_prev
=x_includes
;;
1131 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1132 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1133 x_includes
=$ac_optarg ;;
1135 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1136 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1137 ac_prev
=x_libraries
;;
1138 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1139 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1140 x_libraries
=$ac_optarg ;;
1142 -*) as_fn_error
"unrecognized option: \`$ac_option'
1143 Try \`$0 --help' for more information."
1147 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1148 # Reject names that are not valid shell variable names.
1149 case $ac_envvar in #(
1150 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1151 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1153 eval $ac_envvar=\
$ac_optarg
1154 export $ac_envvar ;;
1157 # FIXME: should be removed in autoconf 3.0.
1158 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1160 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1161 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 if test -n "$ac_prev"; then
1168 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1169 as_fn_error
"missing argument to $ac_option"
1172 if test -n "$ac_unrecognized_opts"; then
1173 case $enable_option_checking in
1175 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 # Check all directory arguments for consistency.
1181 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val
=\$
$ac_var
1187 # Remove trailing slashes.
1190 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191 eval $ac_var=\
$ac_val;;
1193 # Be sure to have absolute directory names.
1195 [\\/$
]* | ?
:[\\/]* ) continue;;
1196 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1198 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target
=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x
; then
1210 if test "x$build_alias" = x
; then
1211 cross_compiling
=maybe
1212 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1222 test "$silent" = yes && exec 6>/dev
/null
1225 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di
=`ls -di .` &&
1227 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1228 as_fn_error
"working directory cannot be determined"
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 as_fn_error
"pwd does not report name of working directory"
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$as_myself" ||
1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$as_myself" : 'X\(//\)[^/]' \| \
1240 X"$as_myself" : 'X\(//\)$' \| \
1241 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1242 $as_echo X"$as_myself" |
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1271 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1275 # When building in place, set srcdir=.
1276 if test "$ac_abs_confdir" = "$ac_pwd"; then
1279 # Remove unnecessary trailing slashes from srcdir.
1280 # Double slashes in file names in object file debugging info
1281 # mess up M-x gdb in Emacs.
1283 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 for ac_var
in $ac_precious_vars; do
1286 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1288 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1293 # Report the --help message.
1295 if test "$ac_init_help" = "long"; then
1296 # Omit some internal or obsolete options to make the list less imposing.
1297 # This message is too long to be a string in the A/UX 3.1 sh.
1299 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1301 Usage: $0 [OPTION]... [VAR=VALUE]...
1303 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1304 VAR=VALUE. See below for descriptions of some of the useful variables.
1306 Defaults for the options are specified in brackets.
1309 -h, --help display this help and exit
1310 --help=short display options specific to this package
1311 --help=recursive display the short help of all the included packages
1312 -V, --version display version information and exit
1313 -q, --quiet, --silent do not print \`checking...' messages
1314 --cache-file=FILE cache test results in FILE [disabled]
1315 -C, --config-cache alias for \`--cache-file=config.cache'
1316 -n, --no-create do not create output files
1317 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1319 Installation directories:
1320 --prefix=PREFIX install architecture-independent files in PREFIX
1321 [$ac_default_prefix]
1322 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1325 By default, \`make install' will install all the files in
1326 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1327 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1328 for instance \`--prefix=\$HOME'.
1330 For better control, use the options below.
1332 Fine tuning of the installation directories:
1333 --bindir=DIR user executables [EPREFIX/bin]
1334 --sbindir=DIR system admin executables [EPREFIX/sbin]
1335 --libexecdir=DIR program executables [EPREFIX/libexec]
1336 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1337 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1338 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1339 --libdir=DIR object code libraries [EPREFIX/lib]
1340 --includedir=DIR C header files [PREFIX/include]
1341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1344 --infodir=DIR info documentation [DATAROOTDIR/info]
1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1346 --mandir=DIR man documentation [DATAROOTDIR/man]
1347 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive
) echo "Configuration of package-unused version-unused:";;
1375 --disable-option-checking ignore unrecognized
--enable/--with options
1376 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1377 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1378 --enable-multilib build many library versions
(default
)
1379 --enable-maintainer-mode enable make rules and dependencies not useful
1380 (and sometimes confusing
) to the casual installer
1381 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1382 --enable-static[=PKGS
] build static libraries
[default
=yes]
1383 --enable-fast-install[=PKGS
]
1384 optimize
for fast installation
[default
=yes]
1385 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1386 --disable-largefile omit support
for large files
1387 --enable-host-shared build
host code as shared libraries
1390 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1391 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1392 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1393 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1395 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1396 --with-system-libunwind use installed libunwind
1398 Some influential environment variables
:
1399 CC C compiler
command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1402 nonstandard directory
<lib dir
>
1403 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1404 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1405 you have headers
in a nonstandard directory
<include dir
>
1407 OBJCOPY location of objcopy
1409 Use these variables to override the choices made by
`configure' or to help
1410 it to find libraries and programs with nonstandard names/locations.
1412 Report bugs to the package provider.
1417 if test "$ac_init_help" = "recursive"; then
1418 # If there are subdirs, report their specific --help.
1419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1429 # A ".." for each directory in $ac_dir_suffix.
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1431 case $ac_top_builddir_sub in
1432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436 ac_abs_top_builddir=$ac_pwd
1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 # for backward compatibility:
1439 ac_top_builddir=$ac_top_build_prefix
1442 .) # We are building in place.
1444 ac_top_srcdir=$ac_top_builddir_sub
1445 ac_abs_top_srcdir=$ac_pwd ;;
1446 [\\/]* | ?:[\\/]* ) # Absolute name.
1447 ac_srcdir=$srcdir$ac_dir_suffix;
1448 ac_top_srcdir=$srcdir
1449 ac_abs_top_srcdir=$srcdir ;;
1451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452 ac_top_srcdir=$ac_top_build_prefix$srcdir
1453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457 cd "$ac_dir" || { ac_status=$?; continue; }
1458 # Check for guested configure.
1459 if test -f "$ac_srcdir/configure.gnu"; then
1461 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462 elif test -f "$ac_srcdir/configure"; then
1464 $SHELL "$ac_srcdir/configure" --help=recursive
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 cd "$ac_pwd" || { ac_status=$?; break; }
1472 test -n "$ac_init_help" && exit $ac_status
1473 if $ac_init_version; then
1475 package-unused configure version-unused
1476 generated by GNU Autoconf 2.64
1478 Copyright (C) 2009 Free Software Foundation, Inc.
1479 This configure script is free software; the Free Software Foundation
1480 gives unlimited permission to copy, distribute and modify it.
1485 ## ------------------------ ##
1486 ## Autoconf initialization. ##
1487 ## ------------------------ ##
1489 # ac_fn_c_try_compile LINENO
1490 # --------------------------
1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1492 ac_fn_c_try_compile ()
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 rm -f conftest.$ac_objext
1496 if { { ac_try="$ac_compile"
1498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1499 *) ac_try_echo
=$ac_try;;
1501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502 $as_echo "$ac_try_echo"; } >&5
1503 (eval "$ac_compile") 2>conftest.err
1505 if test -s conftest.err
; then
1506 grep -v '^ *+' conftest.err
>conftest.er1
1507 cat conftest.er1
>&5
1508 mv -f conftest.er1 conftest.err
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; } && {
1512 test -z "$ac_c_werror_flag" ||
1513 test ! -s conftest.err
1514 } && test -s conftest.
$ac_objext; then :
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.
$ac_ext >&5
1522 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1525 } # ac_fn_c_try_compile
1527 # ac_fn_c_try_cpp LINENO
1528 # ----------------------
1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1532 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1533 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } >/dev/null && {
1549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1567 # the include files in INCLUDES and setting the cache variable VAR
1569 ac_fn_c_check_header_mongrel ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1574 $as_echo_n "checking for $2... " >&6; }
1575 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1576 $as_echo_n "(cached) " >&6
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1580 $as_echo "$ac_res" >&6; }
1582 # Is the header compilable?
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1584 $as_echo_n "checking $2 usability... " >&6; }
1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586 /* end confdefs.h. */
1590 if ac_fn_c_try_compile "$LINENO"; then :
1591 ac_header_compiler=yes
1593 ac_header_compiler=no
1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1597 $as_echo "$ac_header_compiler" >&6; }
1599 # Is the header present?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1601 $as_echo_n "checking $2 presence... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1606 if ac_fn_c_try_cpp "$LINENO"; then :
1607 ac_header_preproc=yes
1609 ac_header_preproc=no
1611 rm -f conftest.err conftest.$ac_ext
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1613 $as_echo "$ac_header_preproc" >&6; }
1615 # So? What about this header?
1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639 $as_echo_n "(cached) " >&6
1641 eval "$3=\$ac_header_compiler"
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 } # ac_fn_c_check_header_mongrel
1651 # ac_fn_c_try_run LINENO
1652 # ----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654 # that executables *can* be run.
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>&5
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1669 { { case "(($ac_try" in
1670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_try") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; }; }; then :
1681 $as_echo "$as_me: program exited with status $ac_status" >&5
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1685 ac_retval=$ac_status
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists and can be compiled using the include files in
1696 # INCLUDES, setting the cache variable VAR accordingly.
1697 ac_fn_c_check_header_compile ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1703 $as_echo_n "(cached) " >&6
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_check_header_compile
1724 # ac_fn_c_try_link LINENO
1725 # -----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext conftest$ac_exeext
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>conftest.err
1740 if test -s conftest.err
; then
1741 grep -v '^ *+' conftest.err
>conftest.er1
1742 cat conftest.er1
>&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest
$ac_exeext && {
1750 test "$cross_compiling" = yes ||
1751 $as_test_x conftest
$ac_exeext
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.
$ac_ext >&5
1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762 # interfere with the next link command; also delete a directory that is
1763 # left behind by Apple's compiler. We do this before executing the actions.
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1768 } # ac_fn_c_try_link
1770 # ac_fn_c_check_func LINENO FUNC VAR
1771 # ----------------------------------
1772 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1773 ac_fn_c_check_func
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779 $as_echo_n "(cached) " >&6
1781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1783 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1785 #define $2 innocuous_$2
1787 /* System header to define __stub macros and hopefully few prototypes,
1788 which can conflict with char $2 (); below.
1789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1790 <limits.h> exists even on freestanding compilers. */
1793 # include <limits.h>
1795 # include <assert.h>
1800 /* Override any GCC internal prototype to avoid an error.
1801 Use char because int might match the return type of a GCC
1802 builtin and then its argument prototype would still apply. */
1807 /* The GNU C library defines this for functions which it implements
1808 to always fail with ENOSYS. Some functions are actually named
1809 something starting with __ and the normal name is an alias. */
1810 #if defined __stub_$2 || defined __stub___$2
1822 if ac_fn_c_try_link
"$LINENO"; then :
1827 rm -f core conftest.err conftest.
$ac_objext \
1828 conftest
$ac_exeext conftest.
$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1835 } # ac_fn_c_check_func
1837 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1838 # -------------------------------------------
1839 # Tests whether TYPE exists after having included INCLUDES, setting cache
1840 # variable VAR accordingly.
1841 ac_fn_c_check_type
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 $as_echo_n "(cached) " >&6
1850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1862 if ac_fn_c_try_compile
"$LINENO"; then :
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1875 if ac_fn_c_try_compile
"$LINENO"; then :
1880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1889 } # ac_fn_c_check_type
1891 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1892 # --------------------------------------------
1893 # Tries to find the compile-time value of EXPR in a program that includes
1894 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1896 ac_fn_c_compute_int
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 if test "$cross_compiling" = yes; then
1900 # Depending upon the size, compute the lo and hi bounds.
1901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1907 static int test_array [1 - 2 * !(($2) >= 0)];
1914 if ac_fn_c_try_compile
"$LINENO"; then :
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1923 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1930 if ac_fn_c_try_compile
"$LINENO"; then :
1931 ac_hi
=$ac_mid; break
1933 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1934 if test $ac_lo -le $ac_mid; then
1938 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1949 static int test_array [1 - 2 * !(($2) < 0)];
1956 if ac_fn_c_try_compile
"$LINENO"; then :
1959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1965 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1972 if ac_fn_c_try_compile
"$LINENO"; then :
1973 ac_lo
=$ac_mid; break
1975 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1976 if test $ac_mid -le $ac_hi; then
1980 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1990 # Binary search between lo and hi bounds.
1991 while test "x$ac_lo" != "x$ac_hi"; do
1992 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1999 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2006 if ac_fn_c_try_compile
"$LINENO"; then :
2009 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2014 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2021 static long int longval () { return $2; }
2022 static unsigned long int ulongval () { return $2; }
2029 FILE *f = fopen ("conftest.val", "w");
2034 long int i = longval ();
2037 fprintf (f, "%ld", i);
2041 unsigned long int i = ulongval ();
2044 fprintf (f, "%lu", i);
2046 /* Do not output a trailing newline, as this causes \r\n confusion
2047 on some platforms. */
2048 return ferror (f) || fclose (f) != 0;
2054 if ac_fn_c_try_run
"$LINENO"; then :
2055 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2059 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2060 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2067 } # ac_fn_c_compute_int
2069 # ac_fn_c_check_decl LINENO SYMBOL VAR
2070 # ------------------------------------
2071 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2072 ac_fn_c_check_decl
()
2074 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2075 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2076 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2078 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2079 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 $as_echo_n "(cached) " >&6
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 #ifndef $as_decl_name
2090 (void) $as_decl_use;
2092 (void) $as_decl_name;
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2112 } # ac_fn_c_check_decl
2113 cat >config.log
<<_ACEOF
2114 This file contains any messages produced by compilers while
2115 running configure, to aid debugging if configure makes a mistake.
2117 It was created by package-unused $as_me version-unused, which was
2118 generated by GNU Autoconf 2.64. Invocation command line was
2130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2137 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2139 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2140 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2142 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2143 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2144 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2145 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir
=.
2154 $as_echo "PATH: $as_dir"
2170 # Keep a trace of the command line.
2171 # Strip out --no-create and --no-recursion so they do not pile up.
2172 # Strip out --silent because we don't want to record it for future runs.
2173 # Also quote any args containing shell meta-characters.
2174 # Make two passes to allow for proper duplicate-argument suppression.
2178 ac_must_keep_next
=false
2184 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2185 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2186 |
-silent |
--silent |
--silen |
--sile |
--sil)
2189 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2192 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2194 as_fn_append ac_configure_args1
" '$ac_arg'"
2195 if test $ac_must_keep_next = true
; then
2196 ac_must_keep_next
=false
# Got value, back to normal.
2199 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2200 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2201 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2202 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2203 case "$ac_configure_args0 " in
2204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2207 -* ) ac_must_keep_next
=true
;;
2210 as_fn_append ac_configure_args
" '$ac_arg'"
2215 { ac_configure_args0
=; unset ac_configure_args0
;}
2216 { ac_configure_args1
=; unset ac_configure_args1
;}
2218 # When interrupted or exit'd, cleanup temporary files, and complete
2219 # config.log. We remove comments because anyway the quotes in there
2220 # would cause problems or look ugly.
2221 # WARNING: Use '\'' to represent an apostrophe within the trap.
2222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2223 trap 'exit_status=$?
2224 # Save into config.log some information that might help in debugging.
2229 ## ---------------- ##
2230 ## Cache variables. ##
2231 ## ---------------- ##
2234 # The following way of writing the cache mishandles newlines in values,
2236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2237 eval ac_val=\$$ac_var
2241 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2245 _ | IFS | as_nl) ;; #(
2246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2247 *) { eval $ac_var=; unset $ac_var;} ;;
2252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253 *${as_nl}ac_space=\ *)
2255 "s/'\''/'\''\\\\'\'''\''/g;
2256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267 ## ----------------- ##
2268 ## Output variables. ##
2269 ## ----------------- ##
2272 for ac_var in $ac_subst_vars
2274 eval ac_val=\$$ac_var
2276 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278 $as_echo "$ac_var='\''$ac_val'\''"
2282 if test -n "$ac_subst_files"; then
2284 ## ------------------- ##
2285 ## File substitutions. ##
2286 ## ------------------- ##
2289 for ac_var
in $ac_subst_files
2291 eval ac_val
=\$
$ac_var
2293 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295 $as_echo "$ac_var='\''$ac_val'\''"
2300 if test -s confdefs.h; then
2310 test "$ac_signal" != 0 &&
2311 $as_echo "$as_me: caught signal $ac_signal"
2312 $as_echo "$as_me: exit $exit_status"
2314 rm -f core *.core core.conftest.* &&
2315 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2318 for ac_signal
in 1 2 13 15; do
2319 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2323 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2324 rm -f -r conftest
* confdefs.h
2326 $as_echo "/* confdefs.h */" > confdefs.h
2328 # Predefined preprocessor variables.
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_NAME "$PACKAGE_NAME"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_STRING "$PACKAGE_STRING"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_URL "$PACKAGE_URL"
2355 # Let the site file select an alternate cache file if it wants to.
2356 # Prefer an explicitly selected file to automatically selected ones.
2359 if test -n "$CONFIG_SITE"; then
2360 ac_site_file1
=$CONFIG_SITE
2361 elif test "x$prefix" != xNONE
; then
2362 ac_site_file1
=$prefix/share
/config.site
2363 ac_site_file2
=$prefix/etc
/config.site
2365 ac_site_file1
=$ac_default_prefix/share
/config.site
2366 ac_site_file2
=$ac_default_prefix/etc
/config.site
2368 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2370 test "x$ac_site_file" = xNONE
&& continue
2371 if test -r "$ac_site_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2373 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2374 sed 's/^/| /' "$ac_site_file" >&5
2379 if test -r "$cache_file"; then
2380 # Some versions of bash will fail to source /dev/null (special
2381 # files actually), so we avoid doing that.
2382 if test -f "$cache_file"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2384 $as_echo "$as_me: loading cache $cache_file" >&6;}
2386 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2387 *) .
"./$cache_file";;
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2392 $as_echo "$as_me: creating cache $cache_file" >&6;}
2396 # Check that the precious variables saved in the cache have kept the same
2398 ac_cache_corrupted
=false
2399 for ac_var
in $ac_precious_vars; do
2400 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2401 eval ac_new_set
=\
$ac_env_${ac_var}_set
2402 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2403 eval ac_new_val
=\
$ac_env_${ac_var}_value
2404 case $ac_old_set,$ac_new_set in
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2408 ac_cache_corrupted
=: ;;
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2412 ac_cache_corrupted
=: ;;
2415 if test "x$ac_old_val" != "x$ac_new_val"; then
2416 # differences in whitespace do not lead to failure.
2417 ac_old_val_w
=`echo x $ac_old_val`
2418 ac_new_val_w
=`echo x $ac_new_val`
2419 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2421 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2422 ac_cache_corrupted
=:
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2425 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2426 eval $ac_var=\
$ac_old_val
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2429 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2431 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2434 # Pass precious variables to config.status.
2435 if test "$ac_new_set" = set; then
2437 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2438 *) ac_arg
=$ac_var=$ac_new_val ;;
2440 case " $ac_configure_args " in
2441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2442 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2446 if $ac_cache_corrupted; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2450 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2451 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2453 ## -------------------- ##
2454 ## Main body of script. ##
2455 ## -------------------- ##
2458 ac_cpp
='$CPP $CPPFLAGS'
2459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2468 ac_config_headers
="$ac_config_headers config.h"
2471 if test -n "${with_target_subdir}"; then
2472 # Default to --enable-multilib
2473 # Check whether --enable-multilib was given.
2474 if test "${enable_multilib+set}" = set; then :
2475 enableval
=$enable_multilib; case "$enableval" in
2476 yes) multilib
=yes ;;
2478 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2485 # We may get other options which we leave undocumented:
2486 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2487 # See config-ml.in if you want the gory details.
2489 if test "$srcdir" = "."; then
2490 if test "$with_target_subdir" != "."; then
2491 multi_basedir
="$srcdir/$with_multisrctop../.."
2493 multi_basedir
="$srcdir/$with_multisrctop.."
2496 multi_basedir
="$srcdir/.."
2500 # Even if the default multilib is not a cross compilation,
2501 # it may be that some of the other multilibs are.
2502 if test $cross_compiling = no
&& test $multilib = yes \
2503 && test "x${with_multisubdir}" != x
; then
2504 cross_compiling
=maybe
2507 ac_config_commands
="$ac_config_commands default-1"
2512 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2513 for ac_t
in install-sh
install.sh shtool
; do
2514 if test -f "$ac_dir/$ac_t"; then
2516 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2521 if test -z "$ac_aux_dir"; then
2522 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2525 # These three variables are undocumented and unsupported,
2526 # and are intended to be withdrawn in a future Autoconf release.
2527 # They can cause serious problems if a builder's source tree is in a directory
2528 # whose full name contains unusual characters.
2529 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2530 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2531 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2534 # Make sure we can run config.sub.
2535 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2536 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2539 $as_echo_n "checking build system type... " >&6; }
2540 if test "${ac_cv_build+set}" = set; then :
2541 $as_echo_n "(cached) " >&6
2543 ac_build_alias
=$build_alias
2544 test "x$ac_build_alias" = x
&&
2545 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2546 test "x$ac_build_alias" = x
&&
2547 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2548 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2549 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2553 $as_echo "$ac_cv_build" >&6; }
2554 case $ac_cv_build in
2556 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2559 ac_save_IFS
=$IFS; IFS
='-'
2565 # Remember, the first character of IFS is used to create $*,
2566 # except with old shells:
2569 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2573 $as_echo_n "checking host system type... " >&6; }
2574 if test "${ac_cv_host+set}" = set; then :
2575 $as_echo_n "(cached) " >&6
2577 if test "x$host_alias" = x
; then
2578 ac_cv_host
=$ac_cv_build
2580 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2581 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2586 $as_echo "$ac_cv_host" >&6; }
2589 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2592 ac_save_IFS
=$IFS; IFS
='-'
2598 # Remember, the first character of IFS is used to create $*,
2599 # except with old shells:
2602 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2606 $as_echo_n "checking target system type... " >&6; }
2607 if test "${ac_cv_target+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 if test "x$target_alias" = x
; then
2611 ac_cv_target
=$ac_cv_host
2613 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2614 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2619 $as_echo "$ac_cv_target" >&6; }
2620 case $ac_cv_target in
2622 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2624 target
=$ac_cv_target
2625 ac_save_IFS
=$IFS; IFS
='-'
2631 # Remember, the first character of IFS is used to create $*,
2632 # except with old shells:
2635 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2638 # The aliases save the names the user supplied, while $host etc.
2639 # will get canonicalized.
2640 test -n "$target_alias" &&
2641 test "$program_prefix$program_suffix$program_transform_name" = \
2643 program_prefix
=${target_alias}-
2645 target_alias
=${target_alias-$host_alias}
2648 ac_cpp
='$CPP $CPPFLAGS'
2649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2654 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC
="$CC" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2683 $as_echo "$CC" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2691 if test -z "$ac_cv_prog_CC"; then
2693 # Extract the first word of "gcc", so it can be a program name with args.
2694 set dummy gcc
; ac_word
=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$ac_ct_CC"; then
2701 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir
=.
2708 for ac_exec_ext
in '' $ac_executable_extensions; do
2709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710 ac_cv_prog_ac_ct_CC
="gcc"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2721 if test -n "$ac_ct_CC"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2723 $as_echo "$ac_ct_CC" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2729 if test "x$ac_ct_CC" = x
; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned
=yes ;;
2744 if test -z "$CC"; then
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2747 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_CC+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC
="$CC" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
2785 if test -z "$CC"; then
2786 # Extract the first word of "cc", so it can be a program name with args.
2787 set dummy cc
; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if test "${ac_cv_prog_CC+set}" = set; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$CC"; then
2794 ac_cv_prog_CC
="$CC" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2805 ac_prog_rejected
=yes
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test $ac_prog_rejected = yes; then
2817 # We found a bogon in the path, so make sure we never use it.
2818 set dummy
$ac_cv_prog_CC
2820 if test $# != 0; then
2821 # We chose a different compiler from the bogus one.
2822 # However, it has the same basename, so the bogon will be chosen
2823 # first if we set CC to just the basename; use the full file name.
2825 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2831 if test -n "$CC"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2833 $as_echo "$CC" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2841 if test -z "$CC"; then
2842 if test -n "$ac_tool_prefix"; then
2843 for ac_prog
in cl.exe
2845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_CC+set}" = set; then :
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC
="$CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 if test -n "$CC"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2875 $as_echo "$CC" >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2882 test -n "$CC" && break
2885 if test -z "$CC"; then
2887 for ac_prog
in cl.exe
2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_prog; ac_word
=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$ac_ct_CC"; then
2897 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906 ac_cv_prog_ac_ct_CC
="$ac_prog"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2917 if test -n "$ac_ct_CC"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2919 $as_echo "$ac_ct_CC" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2926 test -n "$ac_ct_CC" && break
2929 if test "x$ac_ct_CC" = x
; then
2932 case $cross_compiling:$ac_tool_warned in
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2936 ac_tool_warned
=yes ;;
2945 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947 as_fn_error
"no acceptable C compiler found in \$PATH
2948 See \`config.log' for more details." "$LINENO" 5; }
2950 # Provide some information about the compiler.
2951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2954 for ac_option
in --version -v -V -qversion; do
2955 { { ac_try
="$ac_compiler $ac_option >&5"
2957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2961 $as_echo "$ac_try_echo"; } >&5
2962 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2964 if test -s conftest.err; then
2966 ... rest of stderr output deleted ...
2967 10q' conftest.err >conftest.er1
2968 cat conftest.er1 >&5
2969 rm -f conftest.er1 conftest.err
2971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; }
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2986 ac_clean_files_save=$ac_clean_files
2987 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2988 # Try to create an executable without -o first, disregard a.out.
2989 # It will help us diagnose broken compilers, and finding out an intuition
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2992 $as_echo_n "checking for C compiler default output file name... " >&6; }
2993 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2995 # The possible output files:
2996 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2999 for ac_file in $ac_files
3002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3003 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3008 if { { ac_try="$ac_link_default"
3010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3011 *) ac_try_echo
=$ac_try;;
3013 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3014 $as_echo "$ac_try_echo"; } >&5
3015 (eval "$ac_link_default") 2>&5
3017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3018 test $ac_status = 0; }; then :
3019 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3020 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3021 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3022 # so that the user can short-circuit this test for compilers unknown to
3024 for ac_file
in $ac_files ''
3026 test -f "$ac_file" ||
continue
3028 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3031 # We found the default executable, but exeext='' is most
3035 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3037 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3039 # We set ac_cv_exeext here because the later test for it is not
3040 # safe: cross compilers may not add the suffix if given an `-o'
3041 # argument, so we may need to know it at that point already.
3042 # Even if this section looks crufty: it has the advantage of
3049 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3055 $as_echo "$ac_file" >&6; }
3056 if test -z "$ac_file"; then :
3057 $as_echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.
$ac_ext >&5
3060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 { as_fn_set_status
77
3063 as_fn_error
"C compiler cannot create executables
3064 See \`config.log' for more details." "$LINENO" 5; }; }
3066 ac_exeext
=$ac_cv_exeext
3068 # Check that the compiler produces executables we can run. If not, either
3069 # the compiler is broken, or we cross compile.
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3071 $as_echo_n "checking whether the C compiler works... " >&6; }
3072 # If not cross compiling, check that we can run a simple program.
3073 if test "$cross_compiling" != yes; then
3074 if { ac_try
='./$ac_file'
3075 { { case "(($ac_try" in
3076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_try") 2>&5
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; }; then
3087 if test "$cross_compiling" = maybe; then
3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error "cannot run C compiled programs.
3093 If you meant to cross compile
, use \
`--host'.
3094 See \`config.log
' for more details." "$LINENO" 5; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3101 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3102 ac_clean_files=$ac_clean_files_save
3103 # Check that the compiler produces executables we can run. If not, either
3104 # the compiler is broken, or we cross compile.
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3106 $as_echo_n "checking whether we are cross compiling... " >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3108 $as_echo "$cross_compiling" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111 $as_echo_n "checking for suffix of executables... " >&6; }
3112 if { { ac_try="$ac_link"
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3123 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3124 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3125 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3127 for ac_file
in conftest.exe conftest conftest.
*; do
3128 test -f "$ac_file" ||
continue
3130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3131 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3140 See \`config.log' for more details." "$LINENO" 5; }
3142 rm -f conftest
$ac_cv_exeext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3144 $as_echo "$ac_cv_exeext" >&6; }
3146 rm -f conftest.
$ac_ext
3147 EXEEXT
=$ac_cv_exeext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3150 $as_echo_n "checking for suffix of object files... " >&6; }
3151 if test "${ac_cv_objext+set}" = set; then :
3152 $as_echo_n "(cached) " >&6
3154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3165 rm -f conftest.o conftest.obj
3166 if { { ac_try
="$ac_compile"
3168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_compile") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; then :
3177 for ac_file in conftest.o conftest.obj conftest.*; do
3178 test -f "$ac_file" || continue;
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3181 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error "cannot compute suffix of object files
: cannot compile
3192 See \
`config.log' for more details." "$LINENO" 5; }
3194 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3197 $as_echo "$ac_cv_objext" >&6; }
3198 OBJEXT=$ac_cv_objext
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3201 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3202 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3219 if ac_fn_c_try_compile "$LINENO"; then :
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3229 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3230 if test $ac_compiler_gnu = yes; then
3235 ac_test_CFLAGS=${CFLAGS+set}
3236 ac_save_CFLAGS=$CFLAGS
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3238 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3239 if test "${ac_cv_prog_cc_g+set}" = set; then :
3240 $as_echo_n "(cached) " >&6
3242 ac_save_c_werror_flag=$ac_c_werror_flag
3243 ac_c_werror_flag=yes
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 if ac_fn_c_try_compile "$LINENO"; then :
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3272 if ac_fn_c_try_compile "$LINENO"; then :
3275 ac_c_werror_flag=$ac_save_c_werror_flag
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_c_try_compile "$LINENO"; then :
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_c_werror_flag=$ac_save_c_werror_flag
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3299 $as_echo "$ac_cv_prog_cc_g" >&6; }
3300 if test "$ac_test_CFLAGS" = set; then
3301 CFLAGS=$ac_save_CFLAGS
3302 elif test $ac_cv_prog_cc_g = yes; then
3303 if test "$GCC" = yes; then
3309 if test "$GCC" = yes; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3316 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3317 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3320 ac_cv_prog_cc_c89=no
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3326 #include <sys/types.h>
3327 #include <sys/stat.h>
3328 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3329 struct buf { int x; };
3330 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3331 static char *e (p, i)
3337 static char *f (char * (*g) (char **, int), char **p, ...)
3342 s = g (p, va_arg (v,int));
3347 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3348 function prototypes and stuff, but not '\xHH' hex character constants.
3349 These don't provoke an error unfortunately, instead are silently treated
3350 as 'x'. The following induces an error, until -std is added to get
3351 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3352 array size at least. It's necessary to write '\x00'==0 to get something
3353 that's true only with -std. */
3354 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3356 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3357 inside strings and character constants. */
3359 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3361 int test (int i, double x);
3362 struct s1 {int (*f) (int a);};
3363 struct s2 {int (*f) (double a);};
3364 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3370 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3375 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3376 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3378 CC="$ac_save_CC $ac_arg"
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 ac_cv_prog_cc_c89=$ac_arg
3382 rm -f core conftest.err conftest.$ac_objext
3383 test "x$ac_cv_prog_cc_c89" != "xno" && break
3385 rm -f conftest.$ac_ext
3390 case "x$ac_cv_prog_cc_c89" in
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3393 $as_echo "none needed" >&6; } ;;
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3396 $as_echo "unsupported" >&6; } ;;
3398 CC="$CC $ac_cv_prog_cc_c89"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3400 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3402 if test "x$ac_cv_prog_cc_c89" != xno; then :
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3414 ac_cpp='$CPP $CPPFLAGS'
3415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3419 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3420 # On Suns, sometimes $CPP names a directory.
3421 if test -n "$CPP" && test -d "$CPP"; then
3424 if test -z "$CPP"; then
3425 if test "${ac_cv_prog_CPP+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 # Double quotes because CPP needs to be expanded
3429 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3432 for ac_c_preproc_warn_flag in '' yes
3434 # Use a header file that comes with gcc, so configuring glibc
3435 # with a fresh cross-compiler works.
3436 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3437 # <limits.h> exists even on freestanding compilers.
3438 # On the NeXT, cc -E runs the code through the compiler's parser,
3439 # not just through cpp. "Syntax error" is here to catch this case.
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3443 # include <limits.h>
3445 # include <assert.h>
3449 if ac_fn_c_try_cpp "$LINENO"; then :
3452 # Broken: fails on valid input.
3455 rm -f conftest.err conftest.$ac_ext
3457 # OK, works on sane cases. Now check whether nonexistent headers
3458 # can be detected and how.
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3461 #include <ac_nonexistent.h>
3463 if ac_fn_c_try_cpp "$LINENO"; then :
3464 # Broken: success on invalid input.
3467 # Passes both tests.
3471 rm -f conftest.err conftest.$ac_ext
3474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3475 rm -f conftest.err conftest.
$ac_ext
3476 if $ac_preproc_ok; then :
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3489 $as_echo "$CPP" >&6; }
3491 for ac_c_preproc_warn_flag
in '' yes
3493 # Use a header file that comes with gcc, so configuring glibc
3494 # with a fresh cross-compiler works.
3495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3496 # <limits.h> exists even on freestanding compilers.
3497 # On the NeXT, cc -E runs the code through the compiler's parser,
3498 # not just through cpp. "Syntax error" is here to catch this case.
3499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3502 # include <limits.h>
3504 # include <assert.h>
3508 if ac_fn_c_try_cpp
"$LINENO"; then :
3511 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.
$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3520 #include <ac_nonexistent.h>
3522 if ac_fn_c_try_cpp
"$LINENO"; then :
3523 # Broken: success on invalid input.
3526 # Passes both tests.
3530 rm -f conftest.err conftest.
$ac_ext
3533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3534 rm -f conftest.err conftest.
$ac_ext
3535 if $ac_preproc_ok; then :
3538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3541 See \`config.log' for more details." "$LINENO" 5; }
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3552 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3553 if test "${ac_cv_path_GREP+set}" = set; then :
3554 $as_echo_n "(cached) " >&6
3556 if test -z "$GREP"; then
3557 ac_path_GREP_found
=false
3558 # Loop through the user's path and test for each of PROGNAME-LIST
3559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3560 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3563 test -z "$as_dir" && as_dir
=.
3564 for ac_prog
in grep ggrep
; do
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3567 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3568 # Check for GNU ac_path_GREP and select it if it is found.
3569 # Check for GNU $ac_path_GREP
3570 case `"$ac_path_GREP" --version 2>&1` in
3572 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3575 $as_echo_n 0123456789 >"conftest.in"
3578 cat "conftest.in" "conftest.in" >"conftest.tmp"
3579 mv "conftest.tmp" "conftest.in"
3580 cp "conftest.in" "conftest.nl"
3581 $as_echo 'GREP' >> "conftest.nl"
3582 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3583 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3584 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3585 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3586 # Best one so far, save it but keep looking for a better one
3587 ac_cv_path_GREP
="$ac_path_GREP"
3588 ac_path_GREP_max
=$ac_count
3590 # 10*(2^10) chars as input seems more than enough
3591 test $ac_count -gt 10 && break
3593 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3596 $ac_path_GREP_found && break 3
3601 if test -z "$ac_cv_path_GREP"; then
3602 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3605 ac_cv_path_GREP
=$GREP
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3610 $as_echo "$ac_cv_path_GREP" >&6; }
3611 GREP
="$ac_cv_path_GREP"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3615 $as_echo_n "checking for egrep... " >&6; }
3616 if test "${ac_cv_path_EGREP+set}" = set; then :
3617 $as_echo_n "(cached) " >&6
3619 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3620 then ac_cv_path_EGREP
="$GREP -E"
3622 if test -z "$EGREP"; then
3623 ac_path_EGREP_found
=false
3624 # Loop through the user's path and test for each of PROGNAME-LIST
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3626 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_prog
in egrep; do
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3633 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3634 # Check for GNU ac_path_EGREP and select it if it is found.
3635 # Check for GNU $ac_path_EGREP
3636 case `"$ac_path_EGREP" --version 2>&1` in
3638 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3641 $as_echo_n 0123456789 >"conftest.in"
3644 cat "conftest.in" "conftest.in" >"conftest.tmp"
3645 mv "conftest.tmp" "conftest.in"
3646 cp "conftest.in" "conftest.nl"
3647 $as_echo 'EGREP' >> "conftest.nl"
3648 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3649 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3650 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3651 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3652 # Best one so far, save it but keep looking for a better one
3653 ac_cv_path_EGREP
="$ac_path_EGREP"
3654 ac_path_EGREP_max
=$ac_count
3656 # 10*(2^10) chars as input seems more than enough
3657 test $ac_count -gt 10 && break
3659 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3662 $ac_path_EGREP_found && break 3
3667 if test -z "$ac_cv_path_EGREP"; then
3668 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3671 ac_cv_path_EGREP
=$EGREP
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3677 $as_echo "$ac_cv_path_EGREP" >&6; }
3678 EGREP
="$ac_cv_path_EGREP"
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3682 $as_echo_n "checking for ANSI C header files... " >&6; }
3683 if test "${ac_cv_header_stdc+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3701 if ac_fn_c_try_compile
"$LINENO"; then :
3702 ac_cv_header_stdc
=yes
3704 ac_cv_header_stdc
=no
3706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3708 if test $ac_cv_header_stdc = yes; then
3709 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */
3715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716 $EGREP "memchr" >/dev
/null
2>&1; then :
3719 ac_cv_header_stdc
=no
3725 if test $ac_cv_header_stdc = yes; then
3726 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733 $EGREP "free" >/dev
/null
2>&1; then :
3736 ac_cv_header_stdc
=no
3742 if test $ac_cv_header_stdc = yes; then
3743 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3744 if test "$cross_compiling" = yes; then :
3747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3751 #if ((' ' & 0x0FF) == 0x020)
3752 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3753 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3755 # define ISLOWER(c) \
3756 (('a' <= (c) && (c) <= 'i') \
3757 || ('j' <= (c) && (c) <= 'r') \
3758 || ('s' <= (c) && (c) <= 'z'))
3759 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3762 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3767 for (i = 0; i < 256; i++)
3768 if (XOR (islower (i), ISLOWER (i))
3769 || toupper (i) != TOUPPER (i))
3774 if ac_fn_c_try_run
"$LINENO"; then :
3777 ac_cv_header_stdc
=no
3779 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3780 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3786 $as_echo "$ac_cv_header_stdc" >&6; }
3787 if test $ac_cv_header_stdc = yes; then
3789 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3793 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3794 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3795 inttypes.h stdint.h unistd.h
3797 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3798 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3800 eval as_val
=\$
$as_ac_Header
3801 if test "x$as_val" = x
""yes; then :
3802 cat >>confdefs.h
<<_ACEOF
3803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3812 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3813 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3820 if test "$MINIX" = yes; then
3822 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3825 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3828 $as_echo "#define _MINIX 1" >>confdefs.h
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3834 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3835 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3841 # define __EXTENSIONS__ 1
3842 $ac_includes_default
3851 if ac_fn_c_try_compile
"$LINENO"; then :
3852 ac_cv_safe_to_define___extensions__
=yes
3854 ac_cv_safe_to_define___extensions__
=no
3856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3859 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3860 test $ac_cv_safe_to_define___extensions__ = yes &&
3861 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3863 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3865 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3867 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3869 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3873 libtool_VERSION
=1:0:0
3876 # 1.11.1: Require that version of automake.
3877 # foreign: Don't require README, INSTALL, NEWS, etc.
3878 # no-define: Don't define PACKAGE and VERSION.
3879 # no-dependencies: Don't generate automatic dependencies.
3880 # (because it breaks when using bootstrap-lean, since some of the
3881 # headers are gone at "make install" time).
3882 # -Wall: Issue all automake warnings.
3883 # -Wno-portability: Don't warn about constructs supported by GNU make.
3884 # (because GCC requires GNU make anyhow).
3885 am__api_version
='1.11'
3887 # Find a good install program. We prefer a C program (faster),
3888 # so one script is as good as another. But avoid the broken or
3889 # incompatible versions:
3890 # SysV /etc/install, /usr/sbin/install
3891 # SunOS /usr/etc/install
3892 # IRIX /sbin/install
3894 # AmigaOS /C/install, which installs bootblocks on floppy discs
3895 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3896 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3898 # OS/2's system install, which has a completely different semantic
3899 # ./install, which can be erroneously created by make from ./install.sh.
3900 # Reject install programs that cannot install multiple files.
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3902 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3903 if test -z "$INSTALL"; then
3904 if test "${ac_cv_path_install+set}" = set; then :
3905 $as_echo_n "(cached) " >&6
3907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir
=.
3912 # Account for people who put trailing slashes in PATH elements.
3913 case $as_dir/ in #((
3914 .
/ | .
// |
/[cC
]/* | \
3915 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3916 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3919 # OSF1 and SCO ODT 3.0 have their own names for install.
3920 # Don't use installbsd from OSF since it installs stuff as root
3922 for ac_prog
in ginstall scoinst
install; do
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3925 if test $ac_prog = install &&
3926 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3927 # AIX install. It has an incompatible calling convention.
3929 elif test $ac_prog = install &&
3930 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3931 # program-specific install script used by HP pwplus--don't use.
3934 rm -rf conftest.one conftest.two conftest.dir
3935 echo one
> conftest.one
3936 echo two
> conftest.two
3938 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3939 test -s conftest.one
&& test -s conftest.two
&&
3940 test -s conftest.dir
/conftest.one
&&
3941 test -s conftest.dir
/conftest.two
3943 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3956 rm -rf conftest.one conftest.two conftest.dir
3959 if test "${ac_cv_path_install+set}" = set; then
3960 INSTALL
=$ac_cv_path_install
3962 # As a last resort, use the slow shell script. Don't cache a
3963 # value for INSTALL within a source directory, because that will
3964 # break other packages using the cache if that directory is
3965 # removed, or if the value is a relative name.
3966 INSTALL
=$ac_install_sh
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3970 $as_echo "$INSTALL" >&6; }
3972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3973 # It thinks the first close brace ends the variable substitution.
3974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3978 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3981 $as_echo_n "checking whether build environment is sane... " >&6; }
3984 echo timestamp
> conftest.
file
3985 # Reject unsafe characters in $srcdir or the absolute working directory
3986 # name. Accept space and tab only in the latter.
3990 *[\\\"\
#\$\&\'\`$am_lf]*)
3991 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3994 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3995 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3998 # Do `set' in a subshell so we don't clobber the current shell's
3999 # arguments. Must try -L first in case configure is actually a
4000 # symlink; some systems play weird games with the mod time of symlinks
4001 # (eg FreeBSD returns the mod time of the symlink's containing
4004 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4005 if test "$*" = "X"; then
4007 set X
`ls -t "$srcdir/configure" conftest.file`
4010 if test "$*" != "X $srcdir/configure conftest.file" \
4011 && test "$*" != "X conftest.file $srcdir/configure"; then
4013 # If neither matched, then we have a broken ls. This can happen
4014 # if, for instance, CONFIG_SHELL is bash and it inherits a
4015 # broken ls alias from the environment. This has actually
4016 # happened. Such a system could not be considered "sane".
4017 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4018 alias in your environment" "$LINENO" 5
4021 test "$2" = conftest.
file
4027 as_fn_error
"newly created file is older than distributed files!
4028 Check your system clock" "$LINENO" 5
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032 test "$program_prefix" != NONE
&&
4033 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4034 # Use a double $ so make ignores it.
4035 test "$program_suffix" != NONE
&&
4036 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4037 # Double any \ or $.
4038 # By default was `s,x,x', remove it if useless.
4039 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4040 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4042 # expand $ac_aux_dir to an absolute path
4043 am_aux_dir
=`cd $ac_aux_dir && pwd`
4045 if test x
"${MISSING+set}" != xset
; then
4048 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4050 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4053 # Use eval to expand $SHELL
4054 if eval "$MISSING --run true"; then
4055 am_missing_run
="$MISSING --run "
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4059 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4062 if test x
"${install_sh}" != xset
; then
4065 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4067 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4071 # Installed binaries are usually stripped using `strip' when the user
4072 # run `make install-strip'. However `strip' might not be the right
4073 # tool to use in cross-compilation environments, therefore Automake
4074 # will honor the `STRIP' environment variable to overrule this program.
4075 if test "$cross_compiling" != no
; then
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4078 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if test "${ac_cv_prog_STRIP+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 if test -n "$STRIP"; then
4085 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4094 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 STRIP
=$ac_cv_prog_STRIP
4105 if test -n "$STRIP"; then
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4107 $as_echo "$STRIP" >&6; }
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110 $as_echo "no" >&6; }
4115 if test -z "$ac_cv_prog_STRIP"; then
4117 # Extract the first word of "strip", so it can be a program name with args.
4118 set dummy strip
; ac_word
=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4124 if test -n "$ac_ct_STRIP"; then
4125 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_exec_ext
in '' $ac_executable_extensions; do
4133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134 ac_cv_prog_ac_ct_STRIP
="strip"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4145 if test -n "$ac_ct_STRIP"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4147 $as_echo "$ac_ct_STRIP" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4153 if test "x$ac_ct_STRIP" = x
; then
4156 case $cross_compiling:$ac_tool_warned in
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4160 ac_tool_warned
=yes ;;
4165 STRIP
="$ac_cv_prog_STRIP"
4169 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4172 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4173 if test -z "$MKDIR_P"; then
4174 if test "${ac_cv_path_mkdir+set}" = set; then :
4175 $as_echo_n "(cached) " >&6
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_prog
in mkdir gmkdir
; do
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4185 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4186 'mkdir (GNU coreutils) '* | \
4187 'mkdir (coreutils) '* | \
4188 'mkdir (fileutils) '4.1*)
4189 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4199 if test "${ac_cv_path_mkdir+set}" = set; then
4200 MKDIR_P
="$ac_cv_path_mkdir -p"
4202 # As a last resort, use the slow shell script. Don't cache a
4203 # value for MKDIR_P within a source directory, because that will
4204 # break other packages using the cache if that directory is
4205 # removed, or if the value is a relative name.
4206 test -d .
/--version && rmdir .
/--version
4207 MKDIR_P
="$ac_install_sh -d"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4211 $as_echo "$MKDIR_P" >&6; }
4215 [\\/$
]* | ?
:[\\/]*) ;;
4216 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4219 for ac_prog
in gawk mawk nawk
awk
4221 # Extract the first word of "$ac_prog", so it can be a program name with args.
4222 set dummy
$ac_prog; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if test "${ac_cv_prog_AWK+set}" = set; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$AWK"; then
4229 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4238 ac_cv_prog_AWK
="$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$AWK"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4251 $as_echo "$AWK" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$AWK" && break
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4262 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4264 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4265 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4266 $as_echo_n "(cached) " >&6
4268 cat >conftest.
make <<\_ACEOF
4271 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4273 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4274 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4276 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4278 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4282 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4284 $as_echo "yes" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4289 SET_MAKE
="MAKE=${MAKE-make}"
4292 rm -rf .tst
2>/dev
/null
4293 mkdir .tst
2>/dev
/null
4294 if test -d .tst
; then
4299 rmdir .tst
2>/dev
/null
4301 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4302 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4303 # is not polluted with repeated "-I."
4304 am__isrc
=' -I$(srcdir)'
4305 # test to see if srcdir already configured
4306 if test -f $srcdir/config.status
; then
4307 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4311 # test whether we have cygpath
4312 if test -z "$CYGPATH_W"; then
4313 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4314 CYGPATH_W
='cygpath -w'
4321 # Define the identity of the package.
4322 PACKAGE
='libbacktrace'
4323 VERSION
='version-unused'
4326 # Some tools Automake needs.
4328 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4331 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4334 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4337 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4340 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4342 # We need awk for the "check" target. The system "awk" is bad on
4344 # Always define AMTAR for backward compatibility. Yes, it's still used
4345 # in the wild :-( We should find a proper way to deprecate it ...
4348 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4357 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4358 # Check whether --enable-maintainer-mode was given.
4359 if test "${enable_maintainer_mode+set}" = set; then :
4360 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4362 USE_MAINTAINER_MODE
=no
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4366 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4367 if test $USE_MAINTAINER_MODE = yes; then
4368 MAINTAINER_MODE_TRUE
=
4369 MAINTAINER_MODE_FALSE
='#'
4371 MAINTAINER_MODE_TRUE
='#'
4372 MAINTAINER_MODE_FALSE
=
4375 MAINT
=$MAINTAINER_MODE_TRUE
4380 # Check whether --with-target-subdir was given.
4381 if test "${with_target_subdir+set}" = set; then :
4382 withval
=$with_target_subdir;
4386 # We must force CC to /not/ be precious variables; otherwise
4387 # the wrong, non-multilib-adjusted value will be used in multilibs.
4388 # As a side effect, we have to subst CFLAGS ourselves.
4392 ac_cpp
='$CPP $CPPFLAGS'
4393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4396 if test -n "$ac_tool_prefix"; then
4397 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4398 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if test "${ac_cv_prog_CC+set}" = set; then :
4402 $as_echo_n "(cached) " >&6
4404 if test -n "$CC"; then
4405 ac_cv_prog_CC
="$CC" # Let the user override the test.
4407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir
=.
4412 for ac_exec_ext
in '' $ac_executable_extensions; do
4413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4414 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 if test -n "$CC"; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4427 $as_echo "$CC" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4435 if test -z "$ac_cv_prog_CC"; then
4437 # Extract the first word of "gcc", so it can be a program name with args.
4438 set dummy gcc
; ac_word
=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -n "$ac_ct_CC"; then
4445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 for ac_exec_ext
in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 ac_cv_prog_ac_ct_CC
="gcc"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4465 if test -n "$ac_ct_CC"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4467 $as_echo "$ac_ct_CC" >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4473 if test "x$ac_ct_CC" = x
; then
4476 case $cross_compiling:$ac_tool_warned in
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4480 ac_tool_warned
=yes ;;
4488 if test -z "$CC"; then
4489 if test -n "$ac_tool_prefix"; then
4490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4491 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if test "${ac_cv_prog_CC+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4497 if test -n "$CC"; then
4498 ac_cv_prog_CC
="$CC" # Let the user override the test.
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir
=.
4505 for ac_exec_ext
in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
4529 if test -z "$CC"; then
4530 # Extract the first word of "cc", so it can be a program name with args.
4531 set dummy cc
; ac_word
=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if test "${ac_cv_prog_CC+set}" = set; then :
4535 $as_echo_n "(cached) " >&6
4537 if test -n "$CC"; then
4538 ac_cv_prog_CC
="$CC" # Let the user override the test.
4541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir
=.
4546 for ac_exec_ext
in '' $ac_executable_extensions; do
4547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4549 ac_prog_rejected
=yes
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 if test $ac_prog_rejected = yes; then
4561 # We found a bogon in the path, so make sure we never use it.
4562 set dummy
$ac_cv_prog_CC
4564 if test $# != 0; then
4565 # We chose a different compiler from the bogus one.
4566 # However, it has the same basename, so the bogon will be chosen
4567 # first if we set CC to just the basename; use the full file name.
4569 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4575 if test -n "$CC"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4577 $as_echo "$CC" >&6; }
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4585 if test -z "$CC"; then
4586 if test -n "$ac_tool_prefix"; then
4587 for ac_prog
in cl.exe
4589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4590 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_CC+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$CC"; then
4597 ac_cv_prog_CC
="$CC" # Let the user override the test.
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 if test -n "$CC"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4619 $as_echo "$CC" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$CC" && break
4629 if test -z "$CC"; then
4631 for ac_prog
in cl.exe
4633 # Extract the first word of "$ac_prog", so it can be a program name with args.
4634 set dummy
$ac_prog; ac_word
=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_CC"; then
4641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4650 ac_cv_prog_ac_ct_CC
="$ac_prog"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4661 if test -n "$ac_ct_CC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4663 $as_echo "$ac_ct_CC" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4670 test -n "$ac_ct_CC" && break
4673 if test "x$ac_ct_CC" = x
; then
4676 case $cross_compiling:$ac_tool_warned in
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4680 ac_tool_warned
=yes ;;
4689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error
"no acceptable C compiler found in \$PATH
4692 See \`config.log' for more details." "$LINENO" 5; }
4694 # Provide some information about the compiler.
4695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4698 for ac_option
in --version -v -V -qversion; do
4699 { { ac_try
="$ac_compiler $ac_option >&5"
4701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4702 *) ac_try_echo=$ac_try;;
4704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4705 $as_echo "$ac_try_echo"; } >&5
4706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4708 if test -s conftest.err; then
4710 ... rest of stderr output deleted ...
4711 10q' conftest.err >conftest.er1
4712 cat conftest.er1 >&5
4713 rm -f conftest.er1 conftest.err
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4720 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4721 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4722 $as_echo_n "(cached) " >&6
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4738 if ac_fn_c_try_compile "$LINENO"; then :
4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4748 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4749 if test $ac_compiler_gnu = yes; then
4754 ac_test_CFLAGS=${CFLAGS+set}
4755 ac_save_CFLAGS=$CFLAGS
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4757 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4758 if test "${ac_cv_prog_cc_g+set}" = set; then :
4759 $as_echo_n "(cached) " >&6
4761 ac_save_c_werror_flag=$ac_c_werror_flag
4762 ac_c_werror_flag=yes
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4776 if ac_fn_c_try_compile "$LINENO"; then :
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4791 if ac_fn_c_try_compile "$LINENO"; then :
4794 ac_c_werror_flag=$ac_save_c_werror_flag
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4807 if ac_fn_c_try_compile "$LINENO"; then :
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 ac_c_werror_flag=$ac_save_c_werror_flag
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4818 $as_echo "$ac_cv_prog_cc_g" >&6; }
4819 if test "$ac_test_CFLAGS" = set; then
4820 CFLAGS=$ac_save_CFLAGS
4821 elif test $ac_cv_prog_cc_g = yes; then
4822 if test "$GCC" = yes; then
4828 if test "$GCC" = yes; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4835 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4836 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4837 $as_echo_n "(cached) " >&6
4839 ac_cv_prog_cc_c89=no
4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4845 #include <sys/types.h>
4846 #include <sys/stat.h>
4847 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4848 struct buf { int x; };
4849 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4850 static char *e (p, i)
4856 static char *f (char * (*g) (char **, int), char **p, ...)
4861 s = g (p, va_arg (v,int));
4866 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4867 function prototypes and stuff, but not '\xHH' hex character constants.
4868 These don't provoke an error unfortunately, instead are silently treated
4869 as 'x'. The following induces an error, until -std is added to get
4870 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4871 array size at least. It's necessary to write '\x00'==0 to get something
4872 that's true only with -std. */
4873 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4875 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4876 inside strings and character constants. */
4878 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4880 int test (int i, double x);
4881 struct s1 {int (*f) (int a);};
4882 struct s2 {int (*f) (double a);};
4883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4889 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4895 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4897 CC="$ac_save_CC $ac_arg"
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_prog_cc_c89=$ac_arg
4901 rm -f core conftest.err conftest.$ac_objext
4902 test "x$ac_cv_prog_cc_c89" != "xno" && break
4904 rm -f conftest.$ac_ext
4909 case "x$ac_cv_prog_cc_c89" in
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4912 $as_echo "none needed" >&6; } ;;
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4915 $as_echo "unsupported" >&6; } ;;
4917 CC="$CC $ac_cv_prog_cc_c89"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4919 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4921 if test "x$ac_cv_prog_cc_c89" != xno; then :
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$RANLIB"; then
4944 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 RANLIB=$ac_cv_prog_RANLIB
4964 if test -n "$RANLIB"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4966 $as_echo "$RANLIB" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_RANLIB"; then
4975 ac_ct_RANLIB=$RANLIB
4976 # Extract the first word of "ranlib", so it can be a program name with args.
4977 set dummy ranlib; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$ac_ct_RANLIB"; then
4984 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_RANLIB="ranlib"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5004 if test -n "$ac_ct_RANLIB"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5006 $as_echo "$ac_ct_RANLIB" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_RANLIB" = x; then
5015 case $cross_compiling:$ac_tool_warned in
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5021 RANLIB=$ac_ct_RANLIB
5024 RANLIB="$ac_cv_prog_RANLIB"
5028 for ac_prog in gawk mawk nawk awk
5030 # Extract the first word of "$ac_prog", so it can be a program name with args.
5031 set dummy $ac_prog; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if test "${ac_cv_prog_AWK+set}" = set; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$AWK"; then
5038 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_prog_AWK="$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 if test -n "$AWK"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5060 $as_echo "$AWK" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$AWK" && break
5071 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5077 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5082 macro_version='2.2.7a'
5083 macro_revision='1.3134'
5097 ltmain="$ac_aux_dir/ltmain.sh"
5099 # Backslashify metacharacters that are still active within
5100 # double-quoted strings.
5101 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5103 # Same as above, but do not quote variable references.
5104 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5106 # Sed substitution to delay expansion of an escaped shell variable in a
5107 # double_quote_subst'ed string.
5108 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5110 # Sed substitution to delay expansion of an escaped single quote.
5111 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5113 # Sed substitution to avoid accidental globbing in evaled expressions
5114 no_glob_subst='s/\*/\\\*/g'
5116 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5117 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5118 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5121 $as_echo_n "checking how to print
strings...
" >&6; }
5122 # Test print first, because it will be a builtin if present.
5123 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5124 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5126 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5129 # Use this function as a fallback that always works.
5130 func_fallback_echo ()
5132 eval 'cat <<_LTECHO_EOF
5136 ECHO='func_fallback_echo'
5139 # func_echo_all arg...
5140 # Invoke $ECHO with all args, space-separated.
5147 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5148 $as_echo "printf" >&6; } ;;
5149 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5150 $as_echo "print
-r" >&6; } ;;
5151 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5152 $as_echo "cat" >&6; } ;;
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5169 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5170 if test "${ac_cv_path_SED+set}" = set; then :
5171 $as_echo_n "(cached
) " >&6
5173 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5174 for ac_i in 1 2 3 4 5 6 7; do
5175 ac_script="$ac_script$as_nl$ac_script"
5177 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5178 { ac_script=; unset ac_script;}
5179 if test -z "$SED"; then
5180 ac_path_SED_found=false
5181 # Loop through the user's path and test for each of PROGNAME-LIST
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir=.
5187 for ac_prog in sed gsed; do
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5190 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5191 # Check for GNU ac_path_SED and select it if it is found.
5192 # Check for GNU $ac_path_SED
5193 case `"$ac_path_SED" --version 2>&1` in
5195 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5198 $as_echo_n 0123456789 >"conftest.
in"
5201 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5202 mv "conftest.tmp
" "conftest.
in"
5203 cp "conftest.
in" "conftest.
nl"
5204 $as_echo '' >> "conftest.
nl"
5205 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5206 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5207 as_fn_arith $ac_count + 1 && ac_count=$as_val
5208 if test $ac_count -gt ${ac_path_SED_max-0}; then
5209 # Best one so far, save it but keep looking for a better one
5210 ac_cv_path_SED="$ac_path_SED"
5211 ac_path_SED_max=$ac_count
5213 # 10*(2^10) chars as input seems more than enough
5214 test $ac_count -gt 10 && break
5216 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5219 $ac_path_SED_found && break 3
5224 if test -z "$ac_cv_path_SED"; then
5225 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5233 $as_echo "$ac_cv_path_SED" >&6; }
5234 SED="$ac_cv_path_SED"
5237 test -z "$SED" && SED=sed
5238 Xsed="$SED -e 1s
/^X
//"
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5251 $as_echo_n "checking
for fgrep...
" >&6; }
5252 if test "${ac_cv_path_FGREP+set}" = set; then :
5253 $as_echo_n "(cached
) " >&6
5255 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5256 then ac_cv_path_FGREP="$GREP -F"
5258 if test -z "$FGREP"; then
5259 ac_path_FGREP_found=false
5260 # Loop through the user's path and test for each of PROGNAME-LIST
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5265 test -z "$as_dir" && as_dir=.
5266 for ac_prog in fgrep; do
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5269 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5270 # Check for GNU ac_path_FGREP and select it if it is found.
5271 # Check for GNU $ac_path_FGREP
5272 case `"$ac_path_FGREP" --version 2>&1` in
5274 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5277 $as_echo_n 0123456789 >"conftest.
in"
5280 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5281 mv "conftest.tmp
" "conftest.
in"
5282 cp "conftest.
in" "conftest.
nl"
5283 $as_echo 'FGREP' >> "conftest.
nl"
5284 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5285 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5286 as_fn_arith $ac_count + 1 && ac_count=$as_val
5287 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5288 # Best one so far, save it but keep looking for a better one
5289 ac_cv_path_FGREP="$ac_path_FGREP"
5290 ac_path_FGREP_max=$ac_count
5292 # 10*(2^10) chars as input seems more than enough
5293 test $ac_count -gt 10 && break
5295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5298 $ac_path_FGREP_found && break 3
5303 if test -z "$ac_cv_path_FGREP"; then
5304 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5307 ac_cv_path_FGREP=$FGREP
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5313 $as_echo "$ac_cv_path_FGREP" >&6; }
5314 FGREP="$ac_cv_path_FGREP"
5317 test -z "$GREP" && GREP=grep
5337 # Check whether --with-gnu-ld was given.
5338 if test "${with_gnu_ld+set}" = set; then :
5339 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5345 if test "$GCC" = yes; then
5346 # Check if gcc -print-prog-name=ld gives a path.
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5348 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5351 # gcc leaves a trailing carriage return which upsets mingw
5352 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5354 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5357 # Accept absolute paths.
5359 re_direlt='/[^/][^/]*/\.\./'
5360 # Canonicalize the pathname of ld
5361 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5362 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5363 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5365 test -z "$LD" && LD="$ac_prog"
5368 # If it fails, then pretend we aren't using GCC.
5372 # If it is relative, then search for the first ld in PATH.
5376 elif test "$with_gnu_ld" = yes; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5378 $as_echo_n "checking
for GNU ld...
" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5381 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5383 if test "${lt_cv_path_LD+set}" = set; then :
5384 $as_echo_n "(cached
) " >&6
5386 if test -z "$LD"; then
5387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5388 for ac_dir in $PATH; do
5390 test -z "$ac_dir" && ac_dir=.
5391 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5392 lt_cv_path_LD="$ac_dir/$ac_prog"
5393 # Check to see if the program is GNU ld. I'd rather use --version,
5394 # but apparently some variants of GNU ld only accept -v.
5395 # Break only if it was the GNU/non-GNU ld that we prefer.
5396 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5397 *GNU* | *'with BFD'*)
5398 test "$with_gnu_ld" != no && break
5401 test "$with_gnu_ld" != yes && break
5408 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5413 if test -n "$LD"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5415 $as_echo "$LD" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5418 $as_echo "no
" >&6; }
5420 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5422 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5423 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5424 $as_echo_n "(cached
) " >&6
5426 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5427 case `$LD -v 2>&1 </dev/null` in
5428 *GNU* | *'with BFD'*)
5429 lt_cv_prog_gnu_ld=yes
5432 lt_cv_prog_gnu_ld=no
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5437 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5438 with_gnu_ld=$lt_cv_prog_gnu_ld
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5449 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5450 if test "${lt_cv_path_NM+set}" = set; then :
5451 $as_echo_n "(cached
) " >&6
5453 if test -n "$NM"; then
5454 # Let the user override the test.
5457 lt_nm_to_check="${ac_tool_prefix}nm
"
5458 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5459 lt_nm_to_check="$lt_nm_to_check nm
"
5461 for lt_tmp_nm in $lt_nm_to_check; do
5462 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5463 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5465 test -z "$ac_dir" && ac_dir=.
5466 tmp_nm="$ac_dir/$lt_tmp_nm"
5467 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5468 # Check to see if the nm accepts a BSD-compat flag.
5469 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5470 # nm: unknown option "B
" ignored
5471 # Tru64's nm complains that /dev/null is an invalid object file
5472 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5473 */dev/null* | *'Invalid file or object type'*)
5474 lt_cv_path_NM="$tmp_nm -B"
5478 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5480 lt_cv_path_NM="$tmp_nm -p"
5484 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5485 continue # so that we can try to find one that supports BSD flags
5494 : ${lt_cv_path_NM=no}
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5498 $as_echo "$lt_cv_path_NM" >&6; }
5499 if test "$lt_cv_path_NM" != "no
"; then
5502 # Didn't find any BSD compatible name lister, look for dumpbin.
5503 if test -n "$DUMPBIN"; then :
5504 # Let the user override the test.
5506 if test -n "$ac_tool_prefix"; then
5507 for ac_prog in dumpbin "link
-dump"
5509 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5510 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5512 $as_echo_n "checking
for $ac_word...
" >&6; }
5513 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5514 $as_echo_n "(cached
) " >&6
5516 if test -n "$DUMPBIN"; then
5517 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5536 DUMPBIN=$ac_cv_prog_DUMPBIN
5537 if test -n "$DUMPBIN"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5539 $as_echo "$DUMPBIN" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5542 $as_echo "no
" >&6; }
5546 test -n "$DUMPBIN" && break
5549 if test -z "$DUMPBIN"; then
5550 ac_ct_DUMPBIN=$DUMPBIN
5551 for ac_prog in dumpbin "link
-dump"
5553 # Extract the first word of "$ac_prog", so it can be a program name with args.
5554 set dummy $ac_prog; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5556 $as_echo_n "checking
for $ac_word...
" >&6; }
5557 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5558 $as_echo_n "(cached
) " >&6
5560 if test -n "$ac_ct_DUMPBIN"; then
5561 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5581 if test -n "$ac_ct_DUMPBIN"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5583 $as_echo "$ac_ct_DUMPBIN" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5586 $as_echo "no
" >&6; }
5590 test -n "$ac_ct_DUMPBIN" && break
5593 if test "x
$ac_ct_DUMPBIN" = x; then
5596 case $cross_compiling:$ac_tool_warned in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5599 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5600 ac_tool_warned=yes ;;
5602 DUMPBIN=$ac_ct_DUMPBIN
5606 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5608 DUMPBIN="$DUMPBIN -symbols"
5616 if test "$DUMPBIN" != ":"; then
5620 test -z "$NM" && NM=nm
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5628 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5629 if test "${lt_cv_nm_interface+set}" = set; then :
5630 $as_echo_n "(cached
) " >&6
5632 lt_cv_nm_interface="BSD nm
"
5633 echo "int some_variable
= 0;" > conftest.$ac_ext
5634 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5635 (eval "$ac_compile" 2>conftest.err)
5636 cat conftest.err >&5
5637 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5638 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5639 cat conftest.err >&5
5640 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5641 cat conftest.out >&5
5642 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5643 lt_cv_nm_interface="MS dumpbin
"
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5648 $as_echo "$lt_cv_nm_interface" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5651 $as_echo_n "checking whether
ln -s works...
" >&6; }
5653 if test "$LN_S" = "ln -s"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5655 $as_echo "yes" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5658 $as_echo "no
, using
$LN_S" >&6; }
5661 # find the maximum length of command line arguments
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5663 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5664 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5665 $as_echo_n "(cached
) " >&6
5672 # On DJGPP, this test can blow up pretty badly due to problems in libc
5673 # (any single argument exceeding 2000 bytes causes a buffer overrun
5674 # during glob expansion). Even if it were fixed, the result of this
5675 # check would be larger than it should be.
5676 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5680 # Under GNU Hurd, this test is not required because there is
5681 # no limit to the length of command line arguments.
5682 # Libtool will interpret -1 as no limit whatsoever
5683 lt_cv_sys_max_cmd_len=-1;
5686 cygwin* | mingw* | cegcc*)
5687 # On Win9x/ME, this test blows up -- it succeeds, but takes
5688 # about 5 minutes as the teststring grows exponentially.
5689 # Worse, since 9x/ME are not pre-emptively multitasking,
5690 # you end up with a "frozen
" computer, even though with patience
5691 # the test eventually succeeds (with a max line length of 256k).
5692 # Instead, let's just punt: use the minimum linelength reported by
5693 # all of the supported platforms: 8192 (on NT/2K/XP).
5694 lt_cv_sys_max_cmd_len=8192;
5698 # On MiNT this can take a long time and run out of memory.
5699 lt_cv_sys_max_cmd_len=8192;
5703 # On AmigaOS with pdksh, this test takes hours, literally.
5704 # So we just punt and use a minimum line length of 8192.
5705 lt_cv_sys_max_cmd_len=8192;
5708 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5709 # This has been around since 386BSD, at least. Likely further.
5710 if test -x /sbin/sysctl; then
5711 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5712 elif test -x /usr/sbin/sysctl; then
5713 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5715 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5717 # And add a safety zone
5718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5723 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5724 lt_cv_sys_max_cmd_len=196608
5728 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5729 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5730 # nice to cause kernel panics so lets avoid the loop below.
5731 # First set a reasonable default.
5732 lt_cv_sys_max_cmd_len=16384
5734 if test -x /sbin/sysconfig; then
5735 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5736 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5741 lt_cv_sys_max_cmd_len=102400
5743 sysv5* | sco5v6* | sysv4.2uw2*)
5744 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5745 if test -n "$kargmax"; then
5746 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5748 lt_cv_sys_max_cmd_len=32768
5752 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5753 if test -n "$lt_cv_sys_max_cmd_len"; then
5754 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5755 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5757 # Make teststring a little bigger before we do anything with it.
5758 # a 1K string should be a reasonable start.
5759 for i in 1 2 3 4 5 6 7 8 ; do
5760 teststring=$teststring$teststring
5762 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5763 # If test is not a shell built-in, we'll probably end up computing a
5764 # maximum length that is only half of the actual maximum length, but
5766 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5767 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5768 test $i != 17 # 1/2 MB should be enough
5771 teststring=$teststring$teststring
5773 # Only check the string length outside the loop.
5774 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5776 # Add a significant safety factor because C++ compilers can tack on
5777 # massive amounts of additional arguments before passing them to the
5778 # linker. It appears as though 1/2 is a usable value.
5779 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5786 if test -n $lt_cv_sys_max_cmd_len ; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5788 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5791 $as_echo "none
" >&6; }
5793 max_cmd_len=$lt_cv_sys_max_cmd_len
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5805 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5806 # Try some XSI features
5809 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5811 && eval 'test $(( 1 + 1 )) -eq 2 \
5812 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5815 $as_echo "$xsi_shell" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5819 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5821 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5823 && lt_shell_append
=yes
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5825 $as_echo "$lt_shell_append" >&6; }
5828 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5838 # test EBCDIC or ASCII
5839 case `echo X|tr X '\101'` in
5840 A
) # ASCII based system
5841 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5842 lt_SP2NL
='tr \040 \012'
5843 lt_NL2SP
='tr \015\012 \040\040'
5845 *) # EBCDIC based system
5846 lt_SP2NL
='tr \100 \n'
5847 lt_NL2SP
='tr \r\n \100\100'
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5860 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5861 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5862 $as_echo_n "(cached) " >&6
5864 lt_cv_ld_reload_flag
='-r'
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5867 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5868 reload_flag
=$lt_cv_ld_reload_flag
5869 case $reload_flag in
5871 *) reload_flag
=" $reload_flag" ;;
5873 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5876 if test "$GCC" = yes; then
5877 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5879 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5892 if test -n "$ac_tool_prefix"; then
5893 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5894 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$OBJDUMP"; then
5901 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 OBJDUMP
=$ac_cv_prog_OBJDUMP
5921 if test -n "$OBJDUMP"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5923 $as_echo "$OBJDUMP" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5931 if test -z "$ac_cv_prog_OBJDUMP"; then
5932 ac_ct_OBJDUMP
=$OBJDUMP
5933 # Extract the first word of "objdump", so it can be a program name with args.
5934 set dummy objdump
; ac_word
=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$ac_ct_OBJDUMP"; then
5941 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir
=.
5948 for ac_exec_ext
in '' $ac_executable_extensions; do
5949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5961 if test -n "$ac_ct_OBJDUMP"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5963 $as_echo "$ac_ct_OBJDUMP" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5969 if test "x$ac_ct_OBJDUMP" = x
; then
5972 case $cross_compiling:$ac_tool_warned in
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5976 ac_tool_warned
=yes ;;
5978 OBJDUMP
=$ac_ct_OBJDUMP
5981 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5984 test -z "$OBJDUMP" && OBJDUMP
=objdump
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5995 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5996 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5997 $as_echo_n "(cached) " >&6
5999 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6000 lt_cv_file_magic_test_file
=
6001 lt_cv_deplibs_check_method
='unknown'
6002 # Need to set the preceding variable on all platforms that support
6003 # interlibrary dependencies.
6004 # 'none' -- dependencies not supported.
6005 # `unknown' -- same as none, but documents that we really don't know.
6006 # 'pass_all' -- all dependencies passed with no checks.
6007 # 'test_compile' -- check by making test program.
6008 # 'file_magic [[regex]]' -- check by looking for files in library path
6009 # which responds to the $file_magic_cmd with a given extended regex.
6010 # If you have `file' or equivalent on your system and you're not sure
6011 # whether `pass_all' will *always* work, you probably want this one.
6015 lt_cv_deplibs_check_method
=pass_all
6019 lt_cv_deplibs_check_method
=pass_all
6023 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6024 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6025 lt_cv_file_magic_test_file
=/shlib
/libc.so
6029 # func_win32_libid is a shell function defined in ltmain.sh
6030 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6031 lt_cv_file_magic_cmd
='func_win32_libid'
6035 # Base MSYS/MinGW do not provide the 'file' command needed by
6036 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6037 # unless we find 'file', for example because we are cross-compiling.
6038 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6039 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6040 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6041 lt_cv_file_magic_cmd
='func_win32_libid'
6043 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6044 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6049 # use the weaker test based on 'objdump'. See mingw*.
6050 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6051 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6054 darwin
* | rhapsody
*)
6055 lt_cv_deplibs_check_method
=pass_all
6058 freebsd
* | dragonfly
*)
6059 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6062 # Not sure whether the presence of OpenBSD here was a mistake.
6063 # Let's accept both of them until this is cleared up.
6064 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6065 lt_cv_file_magic_cmd
=/usr
/bin
/file
6066 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6070 lt_cv_deplibs_check_method
=pass_all
6075 lt_cv_deplibs_check_method
=pass_all
6079 lt_cv_deplibs_check_method
=pass_all
6082 hpux10.20
* | hpux11
*)
6083 lt_cv_file_magic_cmd
=/usr
/bin
/file
6086 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6087 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6090 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]'
6091 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6094 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6095 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6101 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6102 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6105 irix5
* | irix6
* | nonstopux
*)
6107 *-32|
*"-32 ") libmagic
=32-bit;;
6108 *-n32|
*"-n32 ") libmagic
=N32
;;
6109 *-64|
*"-64 ") libmagic
=64-bit;;
6110 *) libmagic
=never-match
;;
6112 lt_cv_deplibs_check_method
=pass_all
6115 # This must be Linux ELF.
6116 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6117 lt_cv_deplibs_check_method
=pass_all
6121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6122 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6124 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6129 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6130 lt_cv_file_magic_cmd
=/usr
/bin
/file
6131 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6135 lt_cv_deplibs_check_method
=pass_all
6139 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6140 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6142 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6146 osf3
* | osf4
* | osf5
*)
6147 lt_cv_deplibs_check_method
=pass_all
6151 lt_cv_deplibs_check_method
=pass_all
6155 lt_cv_deplibs_check_method
=pass_all
6158 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6159 lt_cv_deplibs_check_method
=pass_all
6163 case $host_vendor in
6165 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]'
6166 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6169 lt_cv_deplibs_check_method
=pass_all
6172 lt_cv_file_magic_cmd
='/bin/file'
6173 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6176 lt_cv_file_magic_cmd
='/bin/file'
6177 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6178 lt_cv_file_magic_test_file
=/lib
/libc.so
6181 lt_cv_deplibs_check_method
=pass_all
6184 lt_cv_deplibs_check_method
=pass_all
6190 lt_cv_deplibs_check_method
=pass_all
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6196 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6197 file_magic_cmd
=$lt_cv_file_magic_cmd
6198 deplibs_check_method
=$lt_cv_deplibs_check_method
6199 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6212 if test -n "$ac_tool_prefix"; then
6213 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6214 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216 $as_echo_n "checking for $ac_word... " >&6; }
6217 if test "${ac_cv_prog_AR+set}" = set; then :
6218 $as_echo_n "(cached) " >&6
6220 if test -n "$AR"; then
6221 ac_cv_prog_AR
="$AR" # Let the user override the test.
6223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir
=.
6228 for ac_exec_ext
in '' $ac_executable_extensions; do
6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 if test -n "$AR"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6243 $as_echo "$AR" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6251 if test -z "$ac_cv_prog_AR"; then
6253 # Extract the first word of "ar", so it can be a program name with args.
6254 set dummy
ar; ac_word
=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$ac_ct_AR"; then
6261 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir
=.
6268 for ac_exec_ext
in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_ac_ct_AR
="ar"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6281 if test -n "$ac_ct_AR"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6283 $as_echo "$ac_ct_AR" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6289 if test "x$ac_ct_AR" = x
; then
6292 case $cross_compiling:$ac_tool_warned in
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6296 ac_tool_warned
=yes ;;
6304 test -z "$AR" && AR
=ar
6305 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6317 if test -n "$ac_tool_prefix"; then
6318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6319 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if test "${ac_cv_prog_STRIP+set}" = set; then :
6323 $as_echo_n "(cached) " >&6
6325 if test -n "$STRIP"; then
6326 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir
=.
6333 for ac_exec_ext
in '' $ac_executable_extensions; do
6334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6335 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 STRIP
=$ac_cv_prog_STRIP
6346 if test -n "$STRIP"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6348 $as_echo "$STRIP" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6356 if test -z "$ac_cv_prog_STRIP"; then
6358 # Extract the first word of "strip", so it can be a program name with args.
6359 set dummy strip
; ac_word
=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$ac_ct_STRIP"; then
6366 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir
=.
6373 for ac_exec_ext
in '' $ac_executable_extensions; do
6374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6375 ac_cv_prog_ac_ct_STRIP
="strip"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6386 if test -n "$ac_ct_STRIP"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6388 $as_echo "$ac_ct_STRIP" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6394 if test "x$ac_ct_STRIP" = x
; then
6397 case $cross_compiling:$ac_tool_warned in
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401 ac_tool_warned
=yes ;;
6406 STRIP
="$ac_cv_prog_STRIP"
6409 test -z "$STRIP" && STRIP
=:
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6418 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6424 if test -n "$RANLIB"; then
6425 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir
=.
6432 for ac_exec_ext
in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 RANLIB
=$ac_cv_prog_RANLIB
6445 if test -n "$RANLIB"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6447 $as_echo "$RANLIB" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_RANLIB"; then
6456 ac_ct_RANLIB
=$RANLIB
6457 # Extract the first word of "ranlib", so it can be a program name with args.
6458 set dummy ranlib
; ac_word
=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 if test -n "$ac_ct_RANLIB"; then
6465 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir
=.
6472 for ac_exec_ext
in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6485 if test -n "$ac_ct_RANLIB"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6487 $as_echo "$ac_ct_RANLIB" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_RANLIB" = x
; then
6496 case $cross_compiling:$ac_tool_warned in
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned
=yes ;;
6502 RANLIB
=$ac_ct_RANLIB
6505 RANLIB
="$ac_cv_prog_RANLIB"
6508 test -z "$RANLIB" && RANLIB
=:
6515 # Determine commands to create old-style static archives.
6516 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6517 old_postinstall_cmds
='chmod 644 $oldlib'
6518 old_postuninstall_cmds
=
6520 if test -n "$RANLIB"; then
6523 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6526 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6529 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6534 lock_old_archive_extraction
=yes ;;
6536 lock_old_archive_extraction
=no
;;
6577 # If no C compiler was specified, use CC.
6580 # If no C compiler flags were specified, use CFLAGS.
6581 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6583 # Allow CC to be a program name with arguments.
6587 # Check for command to grab the raw symbol name followed by C symbol from nm.
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6589 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6590 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6594 # These are sane defaults that work on at least a few old systems.
6595 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6597 # Character class describing NM global symbol codes.
6598 symcode
='[BCDEGRST]'
6600 # Regexp to match symbols that can be accessed directly from C.
6601 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6603 # Define system-specific variables.
6608 cygwin
* | mingw
* | pw32
* | cegcc
*)
6609 symcode
='[ABCDGISTW]'
6612 if test "$host_cpu" = ia64
; then
6613 symcode
='[ABCDEGRST]'
6617 symcode
='[BCDEGRST]'
6620 symcode
='[BCDEGQRST]'
6631 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6639 # If we're using GNU nm, then use its standard symbol codes.
6640 case `$NM -V 2>&1` in
6641 *GNU
* |
*'with BFD'*)
6642 symcode
='[ABCDGIRSTW]' ;;
6645 # Transform an extracted symbol line into a proper C declaration.
6646 # Some systems (esp. on ia64) link data and code symbols differently,
6647 # so use this general approach.
6648 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6650 # Transform an extracted symbol line into symbol name and symbol address
6651 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6652 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'"
6654 # Handle CRLF in mingw tool chain
6658 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6662 # Try without a prefix underscore, then with it.
6663 for ac_symprfx
in "" "_"; do
6665 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6666 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6668 # Write the raw and C identifiers.
6669 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6670 # Fake it for dumpbin and say T for any non-static function
6671 # and D for any global variable.
6672 # Also find C++ and __fastcall symbols from MSVC++,
6673 # which start with @ or ?.
6674 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6675 " {last_section=section; section=\$ 3};"\
6676 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6677 " \$ 0!~/External *\|/{next};"\
6678 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6679 " {if(hide[section]) next};"\
6680 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6681 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6682 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6683 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6684 " ' prfx=^$ac_symprfx"
6686 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6689 # Check to see that the pipe works correctly.
6693 cat > conftest.
$ac_ext <<_LT_EOF
6698 void nm_test_func(void);
6699 void nm_test_func(void){}
6703 int main(){nm_test_var='a';nm_test_func();return(0);}
6706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6707 (eval $ac_compile) 2>&5
6709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6710 test $ac_status = 0; }; then
6711 # Now try to grab the symbols.
6713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6714 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6717 test $ac_status = 0; } && test -s "$nlist"; then
6718 # Try sorting and uniquifying the output.
6719 if sort "$nlist" |
uniq > "$nlist"T
; then
6720 mv -f "$nlist"T
"$nlist"
6725 # Make sure that we snagged all the symbols we need.
6726 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6727 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6728 cat <<_LT_EOF > conftest.$ac_ext
6734 # Now generate the symbol file.
6735 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6737 cat <<_LT_EOF >> conftest.$ac_ext
6739 /* The mapping between symbol names and symbols. */
6744 lt__PROGRAM__LTX_preloaded_symbols[] =
6746 { "@PROGRAM@", (void *) 0 },
6748 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6749 cat <<\_LT_EOF
>> conftest.
$ac_ext
6753 /* This works around a problem
in FreeBSD linker
*/
6754 #ifdef FREEBSD_WORKAROUND
6755 static const void
*lt_preloaded_setup
() {
6756 return lt__PROGRAM__LTX_preloaded_symbols
;
6764 # Now try linking the two files.
6765 mv conftest.
$ac_objext conftstm.
$ac_objext
6766 lt_save_LIBS
="$LIBS"
6767 lt_save_CFLAGS
="$CFLAGS"
6768 LIBS
="conftstm.$ac_objext"
6769 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6771 (eval $ac_link) 2>&5
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6777 LIBS
="$lt_save_LIBS"
6778 CFLAGS
="$lt_save_CFLAGS"
6780 echo "cannot find nm_test_func in $nlist" >&5
6783 echo "cannot find nm_test_var in $nlist" >&5
6786 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6789 echo "$progname: failed program was:" >&5
6790 cat conftest.
$ac_ext >&5
6792 rm -rf conftest
* conftst
*
6794 # Do not use the global_symbol_pipe unless it works.
6795 if test "$pipe_works" = yes; then
6798 lt_cv_sys_global_symbol_pipe
=
6804 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6805 lt_cv_sys_global_symbol_to_cdecl
=
6807 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6809 $as_echo "failed" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6812 $as_echo "ok" >&6; }
6836 # Check whether --enable-libtool-lock was given.
6837 if test "${enable_libtool_lock+set}" = set; then :
6838 enableval
=$enable_libtool_lock;
6841 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6843 # Some flags need to be propagated to the compiler or linker for good
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.$ac_objext` in
6866 # Find out which ABI we are using.
6867 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6869 (eval $ac_compile) 2>&5
6871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6872 test $ac_status = 0; }; then
6873 if test "$lt_cv_prog_gnu_ld" = yes; then
6874 case `/usr/bin/file conftest.$ac_objext` in
6876 LD
="${LD-ld} -melf32bsmip"
6879 LD
="${LD-ld} -melf32bmipn32"
6882 LD
="${LD-ld} -melf64bmip"
6886 case `/usr/bin/file conftest.$ac_objext` in
6902 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6903 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6904 # Find out which ABI we are using.
6905 echo 'int i;' > conftest.
$ac_ext
6906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6907 (eval $ac_compile) 2>&5
6909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6910 test $ac_status = 0; }; then
6911 case `/usr/bin/file conftest.o` in
6914 x86_64-
*kfreebsd
*-gnu)
6915 LD
="${LD-ld} -m elf_i386_fbsd"
6918 case `/usr/bin/file conftest.o` in
6920 LD
="${LD-ld} -m elf32_x86_64"
6923 LD
="${LD-ld} -m elf_i386"
6927 powerpc64le-
*linux
*)
6928 LD
="${LD-ld} -m elf32lppclinux"
6931 LD
="${LD-ld} -m elf32ppclinux"
6934 LD
="${LD-ld} -m elf_s390"
6937 LD
="${LD-ld} -m elf32_sparc"
6943 x86_64-
*kfreebsd
*-gnu)
6944 LD
="${LD-ld} -m elf_x86_64_fbsd"
6947 LD
="${LD-ld} -m elf_x86_64"
6950 LD
="${LD-ld} -m elf64lppc"
6953 LD
="${LD-ld} -m elf64ppc"
6955 s390
*-*linux
*|s390
*-*tpf
*)
6956 LD
="${LD-ld} -m elf64_s390"
6959 LD
="${LD-ld} -m elf64_sparc"
6969 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6970 SAVE_CFLAGS
="$CFLAGS"
6971 CFLAGS
="$CFLAGS -belf"
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6973 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6974 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6975 $as_echo_n "(cached) " >&6
6978 ac_cpp
='$CPP $CPPFLAGS'
6979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6994 if ac_fn_c_try_link
"$LINENO"; then :
6995 lt_cv_cc_needs_belf
=yes
6997 lt_cv_cc_needs_belf
=no
6999 rm -f core conftest.err conftest.
$ac_objext \
7000 conftest
$ac_exeext conftest.
$ac_ext
7002 ac_cpp
='$CPP $CPPFLAGS'
7003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7009 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7010 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7011 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7012 CFLAGS
="$SAVE_CFLAGS"
7016 # Find out which ABI we are using.
7017 echo 'int i;' > conftest.
$ac_ext
7018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7019 (eval $ac_compile) 2>&5
7021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022 test $ac_status = 0; }; then
7023 case `/usr/bin/file conftest.o` in
7025 case $lt_cv_prog_gnu_ld in
7026 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7028 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7040 need_locks
="$enable_libtool_lock"
7044 rhapsody
* | darwin
*)
7045 if test -n "$ac_tool_prefix"; then
7046 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7047 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049 $as_echo_n "checking for $ac_word... " >&6; }
7050 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7051 $as_echo_n "(cached) " >&6
7053 if test -n "$DSYMUTIL"; then
7054 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir
=.
7061 for ac_exec_ext
in '' $ac_executable_extensions; do
7062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7074 if test -n "$DSYMUTIL"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7076 $as_echo "$DSYMUTIL" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 $as_echo "no" >&6; }
7084 if test -z "$ac_cv_prog_DSYMUTIL"; then
7085 ac_ct_DSYMUTIL
=$DSYMUTIL
7086 # Extract the first word of "dsymutil", so it can be a program name with args.
7087 set dummy dsymutil
; ac_word
=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7091 $as_echo_n "(cached) " >&6
7093 if test -n "$ac_ct_DSYMUTIL"; then
7094 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir
=.
7101 for ac_exec_ext
in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7114 if test -n "$ac_ct_DSYMUTIL"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7116 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7122 if test "x$ac_ct_DSYMUTIL" = x
; then
7125 case $cross_compiling:$ac_tool_warned in
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7129 ac_tool_warned
=yes ;;
7131 DSYMUTIL
=$ac_ct_DSYMUTIL
7134 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7137 if test -n "$ac_tool_prefix"; then
7138 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7139 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7143 $as_echo_n "(cached) " >&6
7145 if test -n "$NMEDIT"; then
7146 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 NMEDIT
=$ac_cv_prog_NMEDIT
7166 if test -n "$NMEDIT"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7168 $as_echo "$NMEDIT" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7176 if test -z "$ac_cv_prog_NMEDIT"; then
7177 ac_ct_NMEDIT
=$NMEDIT
7178 # Extract the first word of "nmedit", so it can be a program name with args.
7179 set dummy nmedit
; ac_word
=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 $as_echo_n "checking for $ac_word... " >&6; }
7182 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -n "$ac_ct_NMEDIT"; then
7186 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir
=.
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7206 if test -n "$ac_ct_NMEDIT"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7208 $as_echo "$ac_ct_NMEDIT" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7214 if test "x$ac_ct_NMEDIT" = x
; then
7217 case $cross_compiling:$ac_tool_warned in
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned
=yes ;;
7223 NMEDIT
=$ac_ct_NMEDIT
7226 NMEDIT
="$ac_cv_prog_NMEDIT"
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7231 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if test "${ac_cv_prog_LIPO+set}" = set; then :
7235 $as_echo_n "(cached) " >&6
7237 if test -n "$LIPO"; then
7238 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir
=.
7245 for ac_exec_ext
in '' $ac_executable_extensions; do
7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 LIPO
=$ac_cv_prog_LIPO
7258 if test -n "$LIPO"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7260 $as_echo "$LIPO" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_LIPO"; then
7270 # Extract the first word of "lipo", so it can be a program name with args.
7271 set dummy lipo
; ac_word
=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7277 if test -n "$ac_ct_LIPO"; then
7278 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir
=.
7285 for ac_exec_ext
in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_prog_ac_ct_LIPO
="lipo"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7298 if test -n "$ac_ct_LIPO"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7300 $as_echo "$ac_ct_LIPO" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_LIPO" = x
; then
7309 case $cross_compiling:$ac_tool_warned in
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned
=yes ;;
7318 LIPO
="$ac_cv_prog_LIPO"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7323 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7327 $as_echo_n "(cached) " >&6
7329 if test -n "$OTOOL"; then
7330 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir
=.
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 OTOOL
=$ac_cv_prog_OTOOL
7350 if test -n "$OTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7352 $as_echo "$OTOOL" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_OTOOL"; then
7362 # Extract the first word of "otool", so it can be a program name with args.
7363 set dummy otool
; ac_word
=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7367 $as_echo_n "(cached) " >&6
7369 if test -n "$ac_ct_OTOOL"; then
7370 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7376 test -z "$as_dir" && as_dir
=.
7377 for ac_exec_ext
in '' $ac_executable_extensions; do
7378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7379 ac_cv_prog_ac_ct_OTOOL
="otool"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7390 if test -n "$ac_ct_OTOOL"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7392 $as_echo "$ac_ct_OTOOL" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_OTOOL" = x
; then
7401 case $cross_compiling:$ac_tool_warned in
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned
=yes ;;
7410 OTOOL
="$ac_cv_prog_OTOOL"
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7415 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7419 $as_echo_n "(cached) " >&6
7421 if test -n "$OTOOL64"; then
7422 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7428 test -z "$as_dir" && as_dir
=.
7429 for ac_exec_ext
in '' $ac_executable_extensions; do
7430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7431 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 OTOOL64
=$ac_cv_prog_OTOOL64
7442 if test -n "$OTOOL64"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7444 $as_echo "$OTOOL64" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_OTOOL64"; then
7453 ac_ct_OTOOL64
=$OTOOL64
7454 # Extract the first word of "otool64", so it can be a program name with args.
7455 set dummy otool64
; ac_word
=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7461 if test -n "$ac_ct_OTOOL64"; then
7462 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7468 test -z "$as_dir" && as_dir
=.
7469 for ac_exec_ext
in '' $ac_executable_extensions; do
7470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7471 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7482 if test -n "$ac_ct_OTOOL64"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7484 $as_echo "$ac_ct_OTOOL64" >&6; }
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_OTOOL64" = x
; then
7493 case $cross_compiling:$ac_tool_warned in
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned
=yes ;;
7499 OTOOL64
=$ac_ct_OTOOL64
7502 OTOOL64
="$ac_cv_prog_OTOOL64"
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7532 $as_echo_n "checking for -single_module linker flag... " >&6; }
7533 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7536 lt_cv_apple_cc_single_mod
=no
7537 if test -z "${LT_MULTI_MODULE}"; then
7538 # By default we will add the -single_module flag. You can override
7539 # by either setting the environment variable LT_MULTI_MODULE
7540 # non-empty at configure time, or by adding -multi_module to the
7542 rm -rf libconftest.dylib
*
7543 echo "int foo(void){return 1;}" > conftest.c
7544 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7545 -dynamiclib -Wl,-single_module conftest.c" >&5
7546 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7547 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7549 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7550 lt_cv_apple_cc_single_mod
=yes
7552 cat conftest.err
>&5
7554 rm -rf libconftest.dylib
*
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7559 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7561 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7562 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7563 $as_echo_n "(cached) " >&6
7565 lt_cv_ld_exported_symbols_list
=no
7566 save_LDFLAGS
=$LDFLAGS
7567 echo "_main" > conftest.sym
7568 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7580 if ac_fn_c_try_link
"$LINENO"; then :
7581 lt_cv_ld_exported_symbols_list
=yes
7583 lt_cv_ld_exported_symbols_list
=no
7585 rm -f core conftest.err conftest.
$ac_objext \
7586 conftest
$ac_exeext conftest.
$ac_ext
7587 LDFLAGS
="$save_LDFLAGS"
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7591 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7593 $as_echo_n "checking for -force_load linker flag... " >&6; }
7594 if test "${lt_cv_ld_force_load+set}" = set; then :
7595 $as_echo_n "(cached) " >&6
7597 lt_cv_ld_force_load
=no
7598 cat > conftest.c
<< _LT_EOF
7599 int forced_loaded() { return 2;}
7601 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7602 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7603 echo "$AR cru libconftest.a conftest.o" >&5
7604 $AR cru libconftest.a conftest.o
2>&5
7605 cat > conftest.c
<< _LT_EOF
7606 int main() { return 0;}
7608 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7609 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7611 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7612 lt_cv_ld_force_load
=yes
7614 cat conftest.err
>&5
7616 rm -f conftest.err libconftest.a conftest conftest.c
7617 rm -rf conftest.dSYM
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7621 $as_echo "$lt_cv_ld_force_load" >&6; }
7623 rhapsody
* | darwin1.
[012])
7624 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7626 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7627 darwin
*) # darwin 5.x on
7628 # if running on 10.5 or later, the deployment target defaults
7629 # to the OS version, if on x86, and 10.4, the deployment
7630 # target defaults to 10.4. Don't you love it?
7631 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7632 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7633 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7635 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7637 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7641 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7642 _lt_dar_single_mod
='$single_module'
7644 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7645 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7647 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7649 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7650 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7657 for ac_header
in dlfcn.h
7659 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7661 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7662 cat >>confdefs.h
<<_ACEOF
7663 #define HAVE_DLFCN_H 1
7684 # Check whether --enable-shared was given.
7685 if test "${enable_shared+set}" = set; then :
7686 enableval
=$enable_shared; p
=${PACKAGE-default}
7688 yes) enable_shared
=yes ;;
7689 no
) enable_shared
=no
;;
7692 # Look at the argument we got. We use all the common list separators.
7693 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7694 for pkg
in $enableval; do
7696 if test "X$pkg" = "X$p"; then
7715 # Check whether --enable-static was given.
7716 if test "${enable_static+set}" = set; then :
7717 enableval
=$enable_static; p
=${PACKAGE-default}
7719 yes) enable_static
=yes ;;
7720 no
) enable_static
=no
;;
7723 # Look at the argument we got. We use all the common list separators.
7724 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7725 for pkg
in $enableval; do
7727 if test "X$pkg" = "X$p"; then
7747 # Check whether --with-pic was given.
7748 if test "${with_pic+set}" = set; then :
7749 withval
=$with_pic; pic_mode
="$withval"
7755 test -z "$pic_mode" && pic_mode
=default
7763 # Check whether --enable-fast-install was given.
7764 if test "${enable_fast_install+set}" = set; then :
7765 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7767 yes) enable_fast_install
=yes ;;
7768 no
) enable_fast_install
=no
;;
7770 enable_fast_install
=no
7771 # Look at the argument we got. We use all the common list separators.
7772 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7773 for pkg
in $enableval; do
7775 if test "X$pkg" = "X$p"; then
7776 enable_fast_install
=yes
7783 enable_fast_install
=yes
7796 # This can be used to rebuild libtool when needed
7797 LIBTOOL_DEPS
="$ltmain"
7799 # Always use our own libtool.
7800 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7827 test -z "$LN_S" && LN_S
="ln -s"
7842 if test -n "${ZSH_VERSION+set}" ; then
7843 setopt NO_GLOB_SUBST
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7847 $as_echo_n "checking for objdir... " >&6; }
7848 if test "${lt_cv_objdir+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7851 rm -f .libs
2>/dev
/null
7852 mkdir .libs
2>/dev
/null
7853 if test -d .libs
; then
7856 # MS-DOS does not allow filenames that begin with a dot.
7859 rmdir .libs
2>/dev
/null
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7862 $as_echo "$lt_cv_objdir" >&6; }
7863 objdir
=$lt_cv_objdir
7869 cat >>confdefs.h
<<_ACEOF
7870 #define LT_OBJDIR "$lt_cv_objdir/"
7878 # AIX sometimes has problems with the GCC collect2 program. For some
7879 # reason, if we set the COLLECT_NAMES environment variable, the problems
7880 # vanish in a puff of smoke.
7881 if test "X${COLLECT_NAMES+set}" != Xset
; then
7883 export COLLECT_NAMES
7890 can_build_shared
=yes
7892 # All known linkers require a `.a' archive for static linking (except MSVC,
7893 # which needs '.lib').
7896 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7899 old_CFLAGS
="$CFLAGS"
7901 # Set sane defaults for various variables
7902 test -z "$CC" && CC
=cc
7903 test -z "$LTCC" && LTCC
=$CC
7904 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7905 test -z "$LD" && LD
=ld
7906 test -z "$ac_objext" && ac_objext
=o
7908 for cc_temp
in $compiler""; do
7910 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7911 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7916 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7919 # Only perform the check for file, if the check method requires it
7920 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7921 case $deplibs_check_method in
7923 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7925 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7926 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7931 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7934 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7935 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7936 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7937 for ac_dir
in $ac_dummy; do
7939 test -z "$ac_dir" && ac_dir
=.
7940 if test -f $ac_dir/${ac_tool_prefix}file; then
7941 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7942 if test -n "$file_magic_test_file"; then
7943 case $deplibs_check_method in
7945 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7946 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7947 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7948 $EGREP "$file_magic_regex" > /dev
/null
; then
7953 *** Warning: the command libtool uses to detect shared libraries,
7954 *** $file_magic_cmd, produces output that libtool cannot recognize.
7955 *** The result is that libtool may fail to recognize shared libraries
7956 *** as such. This will affect the creation of libtool libraries that
7957 *** depend on shared libraries, but programs linked with such libtool
7958 *** libraries will work regardless of this problem. Nevertheless, you
7959 *** may want to report the problem to your system manager and/or to
7960 *** bug-libtool@gnu.org
7970 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7975 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7976 if test -n "$MAGIC_CMD"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7978 $as_echo "$MAGIC_CMD" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7981 $as_echo "no" >&6; }
7988 if test -z "$lt_cv_path_MAGIC_CMD"; then
7989 if test -n "$ac_tool_prefix"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7991 $as_echo_n "checking for file... " >&6; }
7992 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7993 $as_echo_n "(cached) " >&6
7997 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8000 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8001 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8002 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8003 for ac_dir
in $ac_dummy; do
8005 test -z "$ac_dir" && ac_dir
=.
8006 if test -f $ac_dir/file; then
8007 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8008 if test -n "$file_magic_test_file"; then
8009 case $deplibs_check_method in
8011 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8012 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8013 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8014 $EGREP "$file_magic_regex" > /dev
/null
; then
8019 *** Warning: the command libtool uses to detect shared libraries,
8020 *** $file_magic_cmd, produces output that libtool cannot recognize.
8021 *** The result is that libtool may fail to recognize shared libraries
8022 *** as such. This will affect the creation of libtool libraries that
8023 *** depend on shared libraries, but programs linked with such libtool
8024 *** libraries will work regardless of this problem. Nevertheless, you
8025 *** may want to report the problem to your system manager and/or to
8026 *** bug-libtool@gnu.org
8036 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8041 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8042 if test -n "$MAGIC_CMD"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8044 $as_echo "$MAGIC_CMD" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8060 # Use C for the default configuration in the libtool script
8064 ac_cpp
='$CPP $CPPFLAGS'
8065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8070 # Source file extension for C test sources.
8073 # Object file extension for compiled C test sources.
8077 # Code to be used in simple compile tests
8078 lt_simple_compile_test_code
="int some_variable = 0;"
8080 # Code to be used in simple link tests
8081 lt_simple_link_test_code
='int main(){return(0);}'
8089 # If no C compiler was specified, use CC.
8092 # If no C compiler flags were specified, use CFLAGS.
8093 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8095 # Allow CC to be a program name with arguments.
8098 # Save the default compiler, since it gets overwritten when the other
8099 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8100 compiler_DEFAULT
=$CC
8102 # save warnings/boilerplate of simple test code
8103 ac_outfile
=conftest.
$ac_objext
8104 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8105 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8106 _lt_compiler_boilerplate
=`cat conftest.err`
8109 ac_outfile
=conftest.
$ac_objext
8110 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8111 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8112 _lt_linker_boilerplate
=`cat conftest.err`
8117 ## There is no encapsulation within the following macros, do not change
8118 ## the running order or otherwise move them around unless you know exactly
8119 ## what you are doing...
8120 if test -n "$compiler"; then
8122 lt_prog_compiler_no_builtin_flag
=
8124 if test "$GCC" = yes; then
8125 case $cc_basename in
8127 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8129 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8133 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8134 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8135 $as_echo_n "(cached) " >&6
8137 lt_cv_prog_compiler_rtti_exceptions
=no
8138 ac_outfile
=conftest.
$ac_objext
8139 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8140 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8141 # Insert the option either (1) after the last *FLAGS variable, or
8142 # (2) before a word containing "conftest.", or (3) at the end.
8143 # Note that $ac_compile itself does not contain backslashes and begins
8144 # with a dollar sign (not a hyphen), so the echo should work correctly.
8145 # The option is referenced via a variable to avoid confusing sed.
8146 lt_compile
=`echo "$ac_compile" | $SED \
8147 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8148 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8149 -e 's:$: $lt_compiler_flag:'`
8150 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8151 (eval "$lt_compile" 2>conftest.err
)
8153 cat conftest.err
>&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 if (exit $ac_status) && test -s "$ac_outfile"; then
8156 # The compiler can only warn and ignore the option if not recognized
8157 # So say no if there are warnings other than the usual output.
8158 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8159 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8160 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8161 lt_cv_prog_compiler_rtti_exceptions
=yes
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8168 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8170 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8171 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8183 lt_prog_compiler_wl
=
8184 lt_prog_compiler_pic
=
8185 lt_prog_compiler_static
=
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8188 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8190 if test "$GCC" = yes; then
8191 lt_prog_compiler_wl
='-Wl,'
8192 lt_prog_compiler_static
='-static'
8196 # All AIX code is PIC.
8197 if test "$host_cpu" = ia64
; then
8198 # AIX 5 now supports IA64 processor
8199 lt_prog_compiler_static
='-Bstatic'
8201 lt_prog_compiler_pic
='-fPIC'
8207 # see comment about AmigaOS4 .so support
8208 lt_prog_compiler_pic
='-fPIC'
8211 # FIXME: we need at least 68020 code to build shared libraries, but
8212 # adding the `-m68020' flag to GCC prevents building anything better,
8214 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8219 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8220 # PIC is the default for these OSes.
8223 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8224 # This hack is so that the source file can tell whether it is being
8225 # built for inclusion in a dll (and should export symbols for example).
8226 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8227 # (--disable-auto-import) libraries
8228 lt_prog_compiler_pic
='-DDLL_EXPORT'
8231 darwin
* | rhapsody
*)
8232 # PIC is the default on this platform
8233 # Common symbols not allowed in MH_DYLIB files
8234 lt_prog_compiler_pic
='-fno-common'
8238 # PIC is the default for Haiku.
8239 # The "-static" flag exists, but is broken.
8240 lt_prog_compiler_static
=
8244 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8245 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8246 # sets the default TLS model and affects inlining.
8252 lt_prog_compiler_pic
='-fPIC'
8258 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8259 # Instead, we relocate shared libraries at runtime.
8263 # Just because we use GCC doesn't mean we suddenly get shared libraries
8264 # on systems that don't support them.
8265 lt_prog_compiler_can_build_shared
=no
8270 # QNX uses GNU C++, but need to define -shared option too, otherwise
8272 lt_prog_compiler_pic
='-fPIC -shared'
8276 if test -d /usr
/nec
; then
8277 lt_prog_compiler_pic
=-Kconform_pic
8282 lt_prog_compiler_pic
='-fPIC'
8286 case $cc_basename in
8287 nvcc
*) # Cuda Compiler Driver 2.2
8288 lt_prog_compiler_wl
='-Xlinker '
8289 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8293 # PORTME Check for flag to pass linker flags through the system compiler.
8296 lt_prog_compiler_wl
='-Wl,'
8297 if test "$host_cpu" = ia64
; then
8298 # AIX 5 now supports IA64 processor
8299 lt_prog_compiler_static
='-Bstatic'
8301 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8305 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8306 # This hack is so that the source file can tell whether it is being
8307 # built for inclusion in a dll (and should export symbols for example).
8308 lt_prog_compiler_pic
='-DDLL_EXPORT'
8311 hpux9
* | hpux10
* | hpux11
*)
8312 lt_prog_compiler_wl
='-Wl,'
8313 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8320 lt_prog_compiler_pic
='+Z'
8323 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8324 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8327 irix5
* | irix6
* | nonstopux
*)
8328 lt_prog_compiler_wl
='-Wl,'
8329 # PIC (with -KPIC) is the default.
8330 lt_prog_compiler_static
='-non_shared'
8333 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8334 case $cc_basename in
8335 # old Intel for x86_64 which still supported -KPIC.
8337 lt_prog_compiler_wl
='-Wl,'
8338 lt_prog_compiler_pic
='-KPIC'
8339 lt_prog_compiler_static
='-static'
8341 # icc used to be incompatible with GCC.
8342 # ICC 10 doesn't accept -KPIC any more.
8344 lt_prog_compiler_wl
='-Wl,'
8345 lt_prog_compiler_pic
='-fPIC'
8346 lt_prog_compiler_static
='-static'
8348 # Lahey Fortran 8.1.
8350 lt_prog_compiler_wl
='-Wl,'
8351 lt_prog_compiler_pic
='--shared'
8352 lt_prog_compiler_static
='--static'
8354 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8355 # Portland Group compilers (*not* the Pentium gcc compiler,
8356 # which looks to be a dead project)
8357 lt_prog_compiler_wl
='-Wl,'
8358 lt_prog_compiler_pic
='-fpic'
8359 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_wl
='-Wl,'
8363 # All Alpha code is PIC.
8364 lt_prog_compiler_static
='-non_shared'
8366 xl
* | bgxl
* | bgf
* | mpixl
*)
8367 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8368 lt_prog_compiler_wl
='-Wl,'
8369 lt_prog_compiler_pic
='-qpic'
8370 lt_prog_compiler_static
='-qstaticlink'
8373 case `$CC -V 2>&1 | sed 5q` in
8374 *Sun\ F
* |
*Sun
*Fortran
*)
8375 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8376 lt_prog_compiler_pic
='-KPIC'
8377 lt_prog_compiler_static
='-Bstatic'
8378 lt_prog_compiler_wl
=''
8382 lt_prog_compiler_pic
='-KPIC'
8383 lt_prog_compiler_static
='-Bstatic'
8384 lt_prog_compiler_wl
='-Wl,'
8392 lt_prog_compiler_pic
='-KPIC'
8393 lt_prog_compiler_static
='-Bstatic'
8397 # QNX uses GNU C++, but need to define -shared option too, otherwise
8399 lt_prog_compiler_pic
='-fPIC -shared'
8402 osf3
* | osf4
* | osf5
*)
8403 lt_prog_compiler_wl
='-Wl,'
8404 # All OSF/1 code is PIC.
8405 lt_prog_compiler_static
='-non_shared'
8409 lt_prog_compiler_static
='-non_shared'
8413 lt_prog_compiler_pic
='-KPIC'
8414 lt_prog_compiler_static
='-Bstatic'
8415 case $cc_basename in
8417 lt_prog_compiler_wl
='-Qoption ld ';;
8419 lt_prog_compiler_wl
='-Wl,';;
8424 lt_prog_compiler_wl
='-Qoption ld '
8425 lt_prog_compiler_pic
='-PIC'
8426 lt_prog_compiler_static
='-Bstatic'
8429 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8430 lt_prog_compiler_wl
='-Wl,'
8431 lt_prog_compiler_pic
='-KPIC'
8432 lt_prog_compiler_static
='-Bstatic'
8436 if test -d /usr
/nec
;then
8437 lt_prog_compiler_pic
='-Kconform_pic'
8438 lt_prog_compiler_static
='-Bstatic'
8442 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8443 lt_prog_compiler_wl
='-Wl,'
8444 lt_prog_compiler_pic
='-KPIC'
8445 lt_prog_compiler_static
='-Bstatic'
8449 lt_prog_compiler_wl
='-Wl,'
8450 lt_prog_compiler_can_build_shared
=no
8454 lt_prog_compiler_pic
='-pic'
8455 lt_prog_compiler_static
='-Bstatic'
8459 lt_prog_compiler_can_build_shared
=no
8465 # For platforms which do not support PIC, -DPIC is meaningless:
8467 lt_prog_compiler_pic
=
8470 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8474 $as_echo "$lt_prog_compiler_pic" >&6; }
8482 # Check to make sure the PIC flag actually works.
8484 if test -n "$lt_prog_compiler_pic"; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8486 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8487 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8490 lt_cv_prog_compiler_pic_works
=no
8491 ac_outfile
=conftest.
$ac_objext
8492 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8493 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8494 # Insert the option either (1) after the last *FLAGS variable, or
8495 # (2) before a word containing "conftest.", or (3) at the end.
8496 # Note that $ac_compile itself does not contain backslashes and begins
8497 # with a dollar sign (not a hyphen), so the echo should work correctly.
8498 # The option is referenced via a variable to avoid confusing sed.
8499 lt_compile
=`echo "$ac_compile" | $SED \
8500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8502 -e 's:$: $lt_compiler_flag:'`
8503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8504 (eval "$lt_compile" 2>conftest.err
)
8506 cat conftest.err
>&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 if (exit $ac_status) && test -s "$ac_outfile"; then
8509 # The compiler can only warn and ignore the option if not recognized
8510 # So say no if there are warnings other than the usual output.
8511 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8512 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8513 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8514 lt_cv_prog_compiler_pic_works
=yes
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8521 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8523 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8524 case $lt_prog_compiler_pic in
8526 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8529 lt_prog_compiler_pic
=
8530 lt_prog_compiler_can_build_shared
=no
8541 # Check to make sure the static flag actually works.
8543 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8545 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8546 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8547 $as_echo_n "(cached) " >&6
8549 lt_cv_prog_compiler_static_works
=no
8550 save_LDFLAGS
="$LDFLAGS"
8551 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8552 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8553 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8554 # The linker can only warn and ignore the option if not recognized
8555 # So say no if there are warnings
8556 if test -s conftest.err
; then
8557 # Append any errors to the config.log.
8558 cat conftest.err
1>&5
8559 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8560 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8561 if diff conftest.exp conftest.er2
>/dev
/null
; then
8562 lt_cv_prog_compiler_static_works
=yes
8565 lt_cv_prog_compiler_static_works
=yes
8569 LDFLAGS
="$save_LDFLAGS"
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8573 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8575 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8578 lt_prog_compiler_static
=
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8588 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8589 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8590 $as_echo_n "(cached) " >&6
8592 lt_cv_prog_compiler_c_o
=no
8593 $RM -r conftest
2>/dev
/null
8597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8599 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8600 # Insert the option either (1) after the last *FLAGS variable, or
8601 # (2) before a word containing "conftest.", or (3) at the end.
8602 # Note that $ac_compile itself does not contain backslashes and begins
8603 # with a dollar sign (not a hyphen), so the echo should work correctly.
8604 lt_compile
=`echo "$ac_compile" | $SED \
8605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8607 -e 's:$: $lt_compiler_flag:'`
8608 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8609 (eval "$lt_compile" 2>out
/conftest.err
)
8611 cat out
/conftest.err
>&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8615 # The compiler can only warn and ignore the option if not recognized
8616 # So say no if there are warnings
8617 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8618 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8619 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8620 lt_cv_prog_compiler_c_o
=yes
8625 # SGI C++ compiler will create directory out/ii_files/ for
8626 # template instantiation
8627 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8628 $RM out
/* && rmdir out
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8635 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8644 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8645 $as_echo_n "(cached) " >&6
8647 lt_cv_prog_compiler_c_o
=no
8648 $RM -r conftest
2>/dev
/null
8652 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8654 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8655 # Insert the option either (1) after the last *FLAGS variable, or
8656 # (2) before a word containing "conftest.", or (3) at the end.
8657 # Note that $ac_compile itself does not contain backslashes and begins
8658 # with a dollar sign (not a hyphen), so the echo should work correctly.
8659 lt_compile
=`echo "$ac_compile" | $SED \
8660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8662 -e 's:$: $lt_compiler_flag:'`
8663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8664 (eval "$lt_compile" 2>out
/conftest.err
)
8666 cat out
/conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8670 # The compiler can only warn and ignore the option if not recognized
8671 # So say no if there are warnings
8672 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8673 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8674 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8675 lt_cv_prog_compiler_c_o
=yes
8680 # SGI C++ compiler will create directory out/ii_files/ for
8681 # template instantiation
8682 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8683 $RM out
/* && rmdir out
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8690 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8695 hard_links
="nottested"
8696 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8697 # do not overwrite the value of need_locks provided by the user
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8699 $as_echo_n "checking if we can lock with hard links... " >&6; }
8702 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8704 ln conftest.a conftest.b
2>&5 || hard_links
=no
8705 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8707 $as_echo "$hard_links" >&6; }
8708 if test "$hard_links" = no
; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8710 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8723 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8726 allow_undefined_flag
=
8727 always_export_symbols
=no
8729 archive_expsym_cmds
=
8730 compiler_needs_object
=no
8731 enable_shared_with_static_runtimes
=no
8732 export_dynamic_flag_spec
=
8733 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8734 hardcode_automatic
=no
8736 hardcode_direct_absolute
=no
8737 hardcode_libdir_flag_spec
=
8738 hardcode_libdir_flag_spec_ld
=
8739 hardcode_libdir_separator
=
8741 hardcode_shlibpath_var
=unsupported
8743 link_all_deplibs
=unknown
8746 old_archive_from_new_cmds
=
8747 old_archive_from_expsyms_cmds
=
8748 thread_safe_flag_spec
=
8749 whole_archive_flag_spec
=
8750 # include_expsyms should be a list of space-separated symbols to be *always*
8751 # included in the symbol list
8753 # exclude_expsyms can be an extended regexp of symbols to exclude
8754 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8755 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8756 # as well as any symbol that contains `d'.
8757 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8758 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8759 # platforms (ab)use it in PIC code, but their linkers get confused if
8760 # the symbol is explicitly referenced. Since portable code cannot
8761 # rely on this symbol name, it's probably fine to never include it in
8762 # preloaded symbol tables.
8763 # Exclude shared library initialization/finalization symbols.
8764 extract_expsyms_cmds
=
8767 cygwin
* | mingw
* | pw32
* | cegcc
*)
8768 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8769 # When not using gcc, we currently assume that we are using
8770 # Microsoft Visual C++.
8771 if test "$GCC" != yes; then
8776 # we just hope/assume this is gcc and not c89 (= MSVC++)
8786 # On some targets, GNU ld is compatible enough with the native linker
8787 # that we're better off using the native interface for both.
8788 lt_use_gnu_ld_interface
=no
8789 if test "$with_gnu_ld" = yes; then
8792 # The AIX port of GNU ld has always aspired to compatibility
8793 # with the native linker. However, as the warning in the GNU ld
8794 # block says, versions before 2.19.5* couldn't really create working
8795 # shared libraries, regardless of the interface used.
8796 case `$LD -v 2>&1` in
8797 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8798 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8799 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8801 lt_use_gnu_ld_interface
=yes
8806 lt_use_gnu_ld_interface
=yes
8811 if test "$lt_use_gnu_ld_interface" = yes; then
8812 # If archive_cmds runs LD, not CC, wlarc should be empty
8815 # Set some defaults for GNU ld with shared library support. These
8816 # are reset later if shared libraries are not supported. Putting them
8817 # here allows them to be overridden if necessary.
8818 runpath_var
=LD_RUN_PATH
8819 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8820 export_dynamic_flag_spec
='${wl}--export-dynamic'
8821 # ancient GNU ld didn't support --whole-archive et. al.
8822 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8823 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8825 whole_archive_flag_spec
=
8827 supports_anon_versioning
=no
8828 case `$LD -v 2>&1` in
8829 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8830 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8831 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8832 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8833 *\
2.11.
*) ;; # other 2.11 versions
8834 *) supports_anon_versioning
=yes ;;
8837 # See if GNU ld supports shared libraries.
8840 # On AIX/PPC, the GNU linker is very broken
8841 if test "$host_cpu" != ia64
; then
8845 *** Warning: the GNU linker, at least up to release 2.19, is reported
8846 *** to be unable to reliably create shared libraries on AIX.
8847 *** Therefore, libtool is disabling shared libraries support. If you
8848 *** really care for shared libraries, you may want to install binutils
8849 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8850 *** You will then need to restart the configuration process.
8859 # see comment about AmigaOS4 .so support
8860 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8861 archive_expsym_cmds
=''
8864 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)'
8865 hardcode_libdir_flag_spec
='-L$libdir'
8866 hardcode_minus_L
=yes
8872 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8873 allow_undefined_flag
=unsupported
8874 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8875 # support --undefined. This deserves some investigation. FIXME
8876 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882 cygwin
* | mingw
* | pw32
* | cegcc
*)
8883 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8884 # as there is no search path for DLLs.
8885 hardcode_libdir_flag_spec
='-L$libdir'
8886 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8887 allow_undefined_flag
=unsupported
8888 always_export_symbols
=no
8889 enable_shared_with_static_runtimes
=yes
8890 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8892 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8893 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8894 # If the export-symbols file already is a .def file (1st line
8895 # is EXPORTS), use it as is; otherwise, prepend...
8896 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8897 cp $export_symbols $output_objdir/$soname.def;
8899 echo EXPORTS > $output_objdir/$soname.def;
8900 cat $export_symbols >> $output_objdir/$soname.def;
8902 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8909 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8910 link_all_deplibs
=yes
8915 hardcode_shlibpath_var
=no
8916 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8917 export_dynamic_flag_spec
='${wl}-E'
8918 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8919 # Instead, shared libraries are loaded at an image base (0x10000000 by
8920 # default) and relocated if they conflict, which is a slow very memory
8921 # consuming and fragmenting process. To avoid this, we pick a random,
8922 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8923 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8924 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8925 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'
8928 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8930 if test "$host_os" = linux-dietlibc
; then
8931 case $cc_basename in
8932 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8935 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8936 && test "$tmp_diet" = no
8938 tmp_addflag
=' $pic_flag'
8939 tmp_sharedflag
='-shared'
8940 case $cc_basename,$host_cpu in
8941 pgcc
*) # Portland Group C compiler
8942 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'
8943 tmp_addflag
=' $pic_flag'
8945 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8946 # Portland Group f77 and f90 compilers
8947 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'
8948 tmp_addflag
=' $pic_flag -Mnomain' ;;
8949 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8950 tmp_addflag
=' -i_dynamic' ;;
8951 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8952 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8953 ifc
* | ifort
*) # Intel Fortran compiler
8954 tmp_addflag
=' -nofor_main' ;;
8955 lf95
*) # Lahey Fortran 8.1
8956 whole_archive_flag_spec
=
8957 tmp_sharedflag
='--shared' ;;
8958 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8959 tmp_sharedflag
='-qmkshrobj'
8961 nvcc
*) # Cuda Compiler Driver 2.2
8962 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'
8963 compiler_needs_object
=yes
8966 case `$CC -V 2>&1 | sed 5q` in
8967 *Sun\ C
*) # Sun C 5.9
8968 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'
8969 compiler_needs_object
=yes
8970 tmp_sharedflag
='-G' ;;
8971 *Sun\ F
*) # Sun Fortran 8.3
8972 tmp_sharedflag
='-G' ;;
8974 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8976 if test "x$supports_anon_versioning" = xyes
; then
8977 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8979 echo "local: *; };" >> $output_objdir/$libname.ver~
8980 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8983 case $cc_basename in
8984 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8985 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8986 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8987 hardcode_libdir_flag_spec
=
8988 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8989 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8990 if test "x$supports_anon_versioning" = xyes
; then
8991 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8993 echo "local: *; };" >> $output_objdir/$libname.ver~
8994 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9004 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9005 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9014 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9018 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9019 *** create shared libraries on Solaris systems. Therefore, libtool
9020 *** is disabling shared libraries support. We urge you to upgrade GNU
9021 *** binutils to release 2.9.1 or newer. Another option is to modify
9022 *** your PATH or compiler configuration so that the native linker is
9023 *** used, and then restart.
9026 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9027 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9028 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9034 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9035 case `$LD -v 2>&1` in
9036 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9040 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9041 *** reliably create shared libraries on SCO systems. Therefore, libtool
9042 *** is disabling shared libraries support. We urge you to upgrade GNU
9043 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9044 *** your PATH or compiler configuration so that the native linker is
9045 *** used, and then restart.
9050 # For security reasons, it is highly recommended that you always
9051 # use absolute paths for naming shared libraries, and exclude the
9052 # DT_RUNPATH tag from executables and libraries. But doing so
9053 # requires that you compile everything twice, which is a pain.
9054 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9055 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9066 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9069 hardcode_shlibpath_var
=no
9073 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9074 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9082 if test "$ld_shlibs" = no
; then
9084 hardcode_libdir_flag_spec
=
9085 export_dynamic_flag_spec
=
9086 whole_archive_flag_spec
=
9089 # PORTME fill in a description of your system's linker (not GNU ld)
9092 allow_undefined_flag
=unsupported
9093 always_export_symbols
=yes
9094 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'
9095 # Note: this linker hardcodes the directories in LIBPATH if there
9096 # are no directories specified by -L.
9097 hardcode_minus_L
=yes
9098 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9099 # Neither direct hardcoding nor static linking is supported with a
9101 hardcode_direct
=unsupported
9106 if test "$host_cpu" = ia64
; then
9107 # On IA64, the linker does run time linking by default, so we don't
9108 # have to do anything special.
9109 aix_use_runtimelinking
=no
9110 exp_sym_flag
='-Bexport'
9113 # If we're using GNU nm, then we don't want the "-C" option.
9114 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9115 # Also, AIX nm treats weak defined symbols like other global
9116 # defined symbols, whereas GNU nm marks them as "W".
9117 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9118 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'
9120 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9122 aix_use_runtimelinking
=no
9124 # Test if we are trying to use run time linking or normal
9125 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9126 # need to do runtime linking.
9127 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9128 for ld_flag
in $LDFLAGS; do
9129 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9130 aix_use_runtimelinking
=yes
9137 exp_sym_flag
='-bexport'
9138 no_entry_flag
='-bnoentry'
9141 # When large executables or shared objects are built, AIX ld can
9142 # have problems creating the table of contents. If linking a library
9143 # or program results in "error TOC overflow" add -mminimal-toc to
9144 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9145 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9149 hardcode_direct_absolute
=yes
9150 hardcode_libdir_separator
=':'
9151 link_all_deplibs
=yes
9152 file_list_spec
='${wl}-f,'
9154 if test "$GCC" = yes; then
9155 case $host_os in aix4.
[012]|aix4.
[012].
*)
9156 # We only want to do this on AIX 4.2 and lower, the check
9157 # below for broken collect2 doesn't work under 4.3+
9158 collect2name
=`${CC} -print-prog-name=collect2`
9159 if test -f "$collect2name" &&
9160 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9162 # We have reworked collect2
9165 # We have old collect2
9166 hardcode_direct
=unsupported
9167 # It fails to find uninstalled libraries when the uninstalled
9168 # path is not listed in the libpath. Setting hardcode_minus_L
9169 # to unsupported forces relinking
9170 hardcode_minus_L
=yes
9171 hardcode_libdir_flag_spec
='-L$libdir'
9172 hardcode_libdir_separator
=
9176 shared_flag
='-shared'
9177 if test "$aix_use_runtimelinking" = yes; then
9178 shared_flag
="$shared_flag "'${wl}-G'
9182 if test "$host_cpu" = ia64
; then
9183 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9184 # chokes on -Wl,-G. The following line is correct:
9187 if test "$aix_use_runtimelinking" = yes; then
9188 shared_flag
='${wl}-G'
9190 shared_flag
='${wl}-bM:SRE'
9195 export_dynamic_flag_spec
='${wl}-bexpall'
9196 # It seems that -bexpall does not export symbols beginning with
9197 # underscore (_), so it is better to generate a list of symbols to export.
9198 always_export_symbols
=yes
9199 if test "$aix_use_runtimelinking" = yes; then
9200 # Warning - without using the other runtime loading flags (-brtl),
9201 # -berok will link without error, but may produce a broken library.
9202 allow_undefined_flag
='-berok'
9203 # Determine the default libpath from the value encoded in an
9205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9216 if ac_fn_c_try_link
"$LINENO"; then :
9218 lt_aix_libpath_sed
='
9219 /Import File Strings/,/^$/ {
9225 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226 # Check for a 64-bit object if we didn't find anything.
9227 if test -z "$aix_libpath"; then
9228 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9231 rm -f core conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9235 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9236 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"
9238 if test "$host_cpu" = ia64
; then
9239 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9240 allow_undefined_flag
="-z nodefs"
9241 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"
9243 # Determine the default libpath from the value encoded in an
9245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9256 if ac_fn_c_try_link
"$LINENO"; then :
9258 lt_aix_libpath_sed
='
9259 /Import File Strings/,/^$/ {
9265 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9266 # Check for a 64-bit object if we didn't find anything.
9267 if test -z "$aix_libpath"; then
9268 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9271 rm -f core conftest.err conftest.
$ac_objext \
9272 conftest
$ac_exeext conftest.
$ac_ext
9273 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9275 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9276 # Warning - without using the other run time loading flags,
9277 # -berok will link without error, but may produce a broken library.
9278 no_undefined_flag
=' ${wl}-bernotok'
9279 allow_undefined_flag
=' ${wl}-berok'
9280 if test "$with_gnu_ld" = yes; then
9281 # We only use this code for GNU lds that support --whole-archive.
9282 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9284 # Exported symbols can be pulled into shared objects from archives
9285 whole_archive_flag_spec
='$convenience'
9287 archive_cmds_need_lc
=yes
9288 # This is similar to how AIX traditionally builds its shared libraries.
9289 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'
9297 # see comment about AmigaOS4 .so support
9298 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 archive_expsym_cmds
=''
9302 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)'
9303 hardcode_libdir_flag_spec
='-L$libdir'
9304 hardcode_minus_L
=yes
9310 export_dynamic_flag_spec
=-rdynamic
9313 cygwin
* | mingw
* | pw32
* | cegcc
*)
9314 # When not using gcc, we currently assume that we are using
9315 # Microsoft Visual C++.
9316 # hardcode_libdir_flag_spec is actually meaningless, as there is
9317 # no search path for DLLs.
9318 hardcode_libdir_flag_spec
=' '
9319 allow_undefined_flag
=unsupported
9320 # Tell ltmain to make .lib files, not .a files.
9322 # Tell ltmain to make .dll files, not .so files.
9324 # FIXME: Setting linknames here is a bad hack.
9325 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9326 # The linker will automatically build a .lib file if we build a DLL.
9327 old_archive_from_new_cmds
='true'
9328 # FIXME: Should let the user specify the lib program.
9329 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9330 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9331 enable_shared_with_static_runtimes
=yes
9334 darwin
* | rhapsody
*)
9337 archive_cmds_need_lc
=no
9339 hardcode_automatic
=yes
9340 hardcode_shlibpath_var
=unsupported
9341 if test "$lt_cv_ld_force_load" = "yes"; then
9342 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\"`'
9344 whole_archive_flag_spec
=''
9346 link_all_deplibs
=yes
9347 allow_undefined_flag
="$_lt_dar_allow_undefined"
9348 case $cc_basename in
9349 ifort
*) _lt_dar_can_shared
=yes ;;
9350 *) _lt_dar_can_shared
=$GCC ;;
9352 if test "$_lt_dar_can_shared" = "yes"; then
9353 output_verbose_link_cmd
=func_echo_all
9354 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9355 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9356 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}"
9357 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}"
9366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9367 hardcode_libdir_flag_spec
='-L$libdir'
9368 hardcode_shlibpath_var
=no
9371 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9372 # support. Future versions do this automatically, but an explicit c++rt0.o
9373 # does not break anything, and helps significantly (at the cost of a little
9376 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9377 hardcode_libdir_flag_spec
='-R$libdir'
9379 hardcode_shlibpath_var
=no
9382 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9384 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9386 hardcode_minus_L
=yes
9387 hardcode_shlibpath_var
=no
9390 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9391 freebsd
* | dragonfly
*)
9392 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9393 hardcode_libdir_flag_spec
='-R$libdir'
9395 hardcode_shlibpath_var
=no
9399 if test "$GCC" = yes; then
9400 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'
9402 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'
9404 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9405 hardcode_libdir_separator
=:
9408 # hardcode_minus_L: Not really in the search PATH,
9409 # but as the default location of the library.
9410 hardcode_minus_L
=yes
9411 export_dynamic_flag_spec
='${wl}-E'
9415 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9416 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9420 if test "$with_gnu_ld" = no
; then
9421 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9422 hardcode_libdir_flag_spec_ld
='+b $libdir'
9423 hardcode_libdir_separator
=:
9425 hardcode_direct_absolute
=yes
9426 export_dynamic_flag_spec
='${wl}-E'
9427 # hardcode_minus_L: Not really in the search PATH,
9428 # but as the default location of the library.
9429 hardcode_minus_L
=yes
9434 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9437 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9449 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9456 # Older versions of the 11.00 compiler do not understand -b yet
9457 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9459 $as_echo_n "checking if $CC understands -b... " >&6; }
9460 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9461 $as_echo_n "(cached) " >&6
9463 lt_cv_prog_compiler__b
=no
9464 save_LDFLAGS
="$LDFLAGS"
9465 LDFLAGS
="$LDFLAGS -b"
9466 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9467 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9468 # The linker can only warn and ignore the option if not recognized
9469 # So say no if there are warnings
9470 if test -s conftest.err
; then
9471 # Append any errors to the config.log.
9472 cat conftest.err
1>&5
9473 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9475 if diff conftest.exp conftest.er2
>/dev
/null
; then
9476 lt_cv_prog_compiler__b
=yes
9479 lt_cv_prog_compiler__b
=yes
9483 LDFLAGS
="$save_LDFLAGS"
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9487 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9489 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9490 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9492 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9498 if test "$with_gnu_ld" = no
; then
9499 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9500 hardcode_libdir_separator
=:
9505 hardcode_shlibpath_var
=no
9509 hardcode_direct_absolute
=yes
9510 export_dynamic_flag_spec
='${wl}-E'
9512 # hardcode_minus_L: Not really in the search PATH,
9513 # but as the default location of the library.
9514 hardcode_minus_L
=yes
9520 irix5
* | irix6
* | nonstopux
*)
9521 if test "$GCC" = yes; then
9522 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'
9523 # Try to use the -exported_symbol ld option, if it does not
9524 # work, assume that -exports_file does not work either and
9525 # implicitly export all symbols.
9526 save_LDFLAGS
="$LDFLAGS"
9527 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9532 if ac_fn_c_try_link
"$LINENO"; then :
9533 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'
9536 rm -f core conftest.err conftest.
$ac_objext \
9537 conftest
$ac_exeext conftest.
$ac_ext
9538 LDFLAGS
="$save_LDFLAGS"
9540 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'
9541 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'
9543 archive_cmds_need_lc
='no'
9544 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9545 hardcode_libdir_separator
=:
9547 link_all_deplibs
=yes
9551 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9552 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9554 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9556 hardcode_libdir_flag_spec
='-R$libdir'
9558 hardcode_shlibpath_var
=no
9562 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9564 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9565 hardcode_libdir_separator
=:
9566 hardcode_shlibpath_var
=no
9573 if test -f /usr
/libexec
/ld.so
; then
9575 hardcode_shlibpath_var
=no
9576 hardcode_direct_absolute
=yes
9577 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9578 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9580 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9581 export_dynamic_flag_spec
='${wl}-E'
9584 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9585 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_libdir_flag_spec
='-R$libdir'
9589 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9590 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9600 hardcode_libdir_flag_spec
='-L$libdir'
9601 hardcode_minus_L
=yes
9602 allow_undefined_flag
=unsupported
9603 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'
9604 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9608 if test "$GCC" = yes; then
9609 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9610 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'
9612 allow_undefined_flag
=' -expect_unresolved \*'
9613 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'
9615 archive_cmds_need_lc
='no'
9616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9617 hardcode_libdir_separator
=:
9620 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9621 if test "$GCC" = yes; then
9622 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9623 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'
9624 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9626 allow_undefined_flag
=' -expect_unresolved \*'
9627 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'
9628 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~
9629 $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'
9631 # Both c and cxx compiler support -rpath directly
9632 hardcode_libdir_flag_spec
='-rpath $libdir'
9634 archive_cmds_need_lc
='no'
9635 hardcode_libdir_separator
=:
9639 no_undefined_flag
=' -z defs'
9640 if test "$GCC" = yes; then
9642 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9644 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9646 case `$CC -V 2>&1` in
9649 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9650 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9651 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9655 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9657 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9661 hardcode_libdir_flag_spec
='-R$libdir'
9662 hardcode_shlibpath_var
=no
9664 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9666 # The compiler driver will combine and reorder linker options,
9667 # but understands `-z linker_flag'. GCC discards it without `$wl',
9668 # but is careful enough not to reorder.
9669 # Supported since Solaris 2.6 (maybe 2.5.1?)
9670 if test "$GCC" = yes; then
9671 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9673 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9677 link_all_deplibs
=yes
9681 if test "x$host_vendor" = xsequent
; then
9682 # Use $CC to link under sequent, because it throws in some extra .o
9683 # files that make .init and .fini sections work.
9684 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_libdir_flag_spec
='-L$libdir'
9690 hardcode_minus_L
=yes
9691 hardcode_shlibpath_var
=no
9695 case $host_vendor in
9697 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698 hardcode_direct
=yes # is this really true???
9701 ## LD is ld it makes a PLAMLIB
9702 ## CC just makes a GrossModule.
9703 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9704 reload_cmds
='$CC -r -o $output$reload_objs'
9708 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9709 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9712 runpath_var
='LD_RUN_PATH'
9713 hardcode_shlibpath_var
=no
9717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718 hardcode_shlibpath_var
=no
9719 export_dynamic_flag_spec
='-Bexport'
9723 if test -d /usr
/nec
; then
9724 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9725 hardcode_shlibpath_var
=no
9726 runpath_var
=LD_RUN_PATH
9727 hardcode_runpath_var
=yes
9732 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9733 no_undefined_flag
='${wl}-z,text'
9734 archive_cmds_need_lc
=no
9735 hardcode_shlibpath_var
=no
9736 runpath_var
='LD_RUN_PATH'
9738 if test "$GCC" = yes; then
9739 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 sysv5
* | sco3.2v5
* | sco5v6
*)
9748 # Note: We can NOT use -z defs as we might desire, because we do not
9749 # link with -lc, and that would cause any symbols used from libc to
9750 # always be unresolved, which means just about no library would
9751 # ever link correctly. If we're not using GNU ld we use -z text
9752 # though, which does catch some bad symbols but isn't as heavy-handed
9754 no_undefined_flag
='${wl}-z,text'
9755 allow_undefined_flag
='${wl}-z,nodefs'
9756 archive_cmds_need_lc
=no
9757 hardcode_shlibpath_var
=no
9758 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9759 hardcode_libdir_separator
=':'
9760 link_all_deplibs
=yes
9761 export_dynamic_flag_spec
='${wl}-Bexport'
9762 runpath_var
='LD_RUN_PATH'
9764 if test "$GCC" = yes; then
9765 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9766 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_libdir_flag_spec
='-L$libdir'
9776 hardcode_shlibpath_var
=no
9784 if test x
$host_vendor = xsni
; then
9786 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9787 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9794 $as_echo "$ld_shlibs" >&6; }
9795 test "$ld_shlibs" = no
&& can_build_shared
=no
9797 with_gnu_ld
=$with_gnu_ld
9814 # Do we need to explicitly link libc?
9816 case "x$archive_cmds_need_lc" in
9818 # Assume -lc should be added
9819 archive_cmds_need_lc
=yes
9821 if test "$enable_shared" = yes && test "$GCC" = yes; then
9822 case $archive_cmds in
9824 # FIXME: we may have to deal with multi-command sequences.
9827 # Test whether the compiler implicitly links with -lc since on some
9828 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9829 # to ld, don't add -lc before -lgcc.
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9831 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9832 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9833 $as_echo_n "(cached) " >&6
9836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9839 (eval $ac_compile) 2>&5
9841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9842 test $ac_status = 0; } 2>conftest.err
; then
9845 libobjs
=conftest.
$ac_objext
9847 wl
=$lt_prog_compiler_wl
9848 pic_flag
=$lt_prog_compiler_pic
9854 lt_save_allow_undefined_flag
=$allow_undefined_flag
9855 allow_undefined_flag
=
9856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9857 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9860 test $ac_status = 0; }
9862 lt_cv_archive_cmds_need_lc
=no
9864 lt_cv_archive_cmds_need_lc
=yes
9866 allow_undefined_flag
=$lt_save_allow_undefined_flag
9868 cat conftest.err
1>&5
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9874 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9875 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10039 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10041 if test "$GCC" = yes; then
10043 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10044 *) lt_awk_arg
="/^libraries:/" ;;
10047 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10048 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10050 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10051 case $lt_search_path_spec in
10053 # if the path contains ";" then we assume it to be the separator
10054 # otherwise default to the standard path separator (i.e. ":") - it is
10055 # assumed that no part of a normal pathname contains ";" but that should
10056 # okay in the real world where ";" in dirpaths is itself problematic.
10057 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10060 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10063 # Ok, now we have the path, separated by spaces, we can step through it
10064 # and add multilib dir if necessary.
10065 lt_tmp_lt_search_path_spec
=
10066 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10067 for lt_sys_path
in $lt_search_path_spec; do
10068 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10069 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10071 test -d "$lt_sys_path" && \
10072 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10075 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10076 BEGIN {RS=" "; FS="/|\n";} {
10079 for (lt_i = NF; lt_i > 0; lt_i--) {
10080 if ($lt_i != "" && $lt_i != ".") {
10081 if ($lt_i == "..") {
10084 if (lt_count == 0) {
10085 lt_foo="/" $lt_i lt_foo;
10092 if (lt_foo != "") { lt_freq[lt_foo]++; }
10093 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10095 # AWK program above erroneously prepends '/' to C:/dos/paths
10098 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10099 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10101 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10103 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10105 library_names_spec
=
10106 libname_spec
='lib$name'
10110 postuninstall_cmds
=
10114 shlibpath_overrides_runpath
=unknown
10116 dynamic_linker
="$host_os ld.so"
10117 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10118 need_lib_prefix
=unknown
10119 hardcode_into_libs
=no
10121 # when you set need_version to no, make sure it does not cause -set_version
10122 # flags to be left without arguments
10123 need_version
=unknown
10128 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10129 shlibpath_var
=LIBPATH
10131 # AIX 3 has no versioning support, so we append a major version to the name.
10132 soname_spec
='${libname}${release}${shared_ext}$major'
10139 hardcode_into_libs
=yes
10140 if test "$host_cpu" = ia64
; then
10141 # AIX 5 supports IA64
10142 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10143 shlibpath_var
=LD_LIBRARY_PATH
10145 # With GCC up to 2.95.x, collect2 would create an import file
10146 # for dependence libraries. The import file would start with
10147 # the line `#! .'. This would cause the generated library to
10148 # depend on `.', always an invalid library. This was fixed in
10149 # development snapshots of GCC prior to 3.0.
10151 aix4 | aix4.
[01] | aix4.
[01].
*)
10152 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10154 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10157 can_build_shared
=no
10161 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10162 # soname into executable. Probably we can add versioning support to
10163 # collect2, so additional links can be useful in future.
10164 if test "$aix_use_runtimelinking" = yes; then
10165 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10166 # instead of lib<name>.a to let people know that these are not
10167 # typical AIX shared libraries.
10168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10170 # We preserve .a as extension for shared libraries through AIX4.2
10171 # and later when we are not doing run time linking.
10172 library_names_spec
='${libname}${release}.a $libname.a'
10173 soname_spec
='${libname}${release}${shared_ext}$major'
10175 shlibpath_var
=LIBPATH
10182 # Since July 2007 AmigaOS4 officially supports .so libraries.
10183 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10187 library_names_spec
='$libname.ixlibrary $libname.a'
10188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10189 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'
10195 library_names_spec
='${libname}${shared_ext}'
10196 dynamic_linker
="$host_os ld.so"
10197 shlibpath_var
=LIBRARY_PATH
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10204 soname_spec
='${libname}${release}${shared_ext}$major'
10205 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10206 shlibpath_var
=LD_LIBRARY_PATH
10207 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10208 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10209 # the default ld.so.conf also contains /usr/contrib/lib and
10210 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10211 # libtool to hard-code these into programs
10214 cygwin
* | mingw
* | pw32
* | cegcc
*)
10215 version_type
=windows
10220 case $GCC,$host_os in
10221 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10222 library_names_spec
='$libname.dll.a'
10223 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10224 postinstall_cmds
='base_file=`basename \${file}`~
10225 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10226 dldir=$destdir/`dirname \$dlpath`~
10227 test -d \$dldir || mkdir -p \$dldir~
10228 $install_prog $dir/$dlname \$dldir/$dlname~
10229 chmod a+x \$dldir/$dlname~
10230 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10231 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10233 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10234 dlpath=$dir/\$dldll~
10236 shlibpath_overrides_runpath
=yes
10240 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10241 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10243 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10246 # MinGW DLLs use traditional 'lib' prefix
10247 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10250 # pw32 DLLs use 'pw' prefix rather than 'lib'
10251 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10257 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10260 dynamic_linker
='Win32 ld.exe'
10261 # FIXME: first we should search . and the directory the executable is in
10265 darwin
* | rhapsody
*)
10266 dynamic_linker
="$host_os dyld"
10267 version_type
=darwin
10270 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10271 soname_spec
='${libname}${release}${major}$shared_ext'
10272 shlibpath_overrides_runpath
=yes
10273 shlibpath_var
=DYLD_LIBRARY_PATH
10274 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10276 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10277 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
=LD_LIBRARY_PATH
10289 freebsd
* | dragonfly
*)
10290 # DragonFly does not have aout. When/if they implement a new
10291 # versioning mechanism, adjust this.
10292 if test -x /usr
/bin
/objformat
; then
10293 objformat
=`/usr/bin/objformat`
10296 freebsd
[23].
*) objformat
=aout
;;
10297 *) objformat
=elf
;;
10300 version_type
=freebsd-
$objformat
10301 case $version_type in
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10312 shlibpath_var
=LD_LIBRARY_PATH
10315 shlibpath_overrides_runpath
=yes
10317 freebsd3.
[01]* | freebsdelf3.
[01]*)
10318 shlibpath_overrides_runpath
=yes
10319 hardcode_into_libs
=yes
10321 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10322 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10323 shlibpath_overrides_runpath
=no
10324 hardcode_into_libs
=yes
10326 *) # from 4.6 on, and DragonFly
10327 shlibpath_overrides_runpath
=yes
10328 hardcode_into_libs
=yes
10337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10338 soname_spec
='${libname}${release}${shared_ext}$major'
10339 shlibpath_var
=LD_LIBRARY_PATH
10340 hardcode_into_libs
=yes
10347 dynamic_linker
="$host_os runtime_loader"
10348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10349 soname_spec
='${libname}${release}${shared_ext}$major'
10350 shlibpath_var
=LIBRARY_PATH
10351 shlibpath_overrides_runpath
=yes
10352 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10353 hardcode_into_libs
=yes
10356 hpux9
* | hpux10
* | hpux11
*)
10357 # Give a soname corresponding to the major version so that dld.sl refuses to
10358 # link against other versions.
10365 hardcode_into_libs
=yes
10366 dynamic_linker
="$host_os dld.so"
10367 shlibpath_var
=LD_LIBRARY_PATH
10368 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec
='${libname}${release}${shared_ext}$major'
10371 if test "X$HPUX_IA64_MODE" = X32
; then
10372 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10374 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10376 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10380 hardcode_into_libs
=yes
10381 dynamic_linker
="$host_os dld.sl"
10382 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10383 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385 soname_spec
='${libname}${release}${shared_ext}$major'
10386 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10387 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10391 dynamic_linker
="$host_os dld.sl"
10392 shlibpath_var
=SHLIB_PATH
10393 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10399 postinstall_cmds
='chmod 555 $lib'
10400 # or fails outright, so override atomically:
10401 install_override_mode
=555
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10410 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10411 shlibpath_var
=LD_LIBRARY_PATH
10412 shlibpath_overrides_runpath
=no
10413 hardcode_into_libs
=yes
10416 irix5
* | irix6
* | nonstopux
*)
10418 nonstopux
*) version_type
=nonstopux
;;
10420 if test "$lt_cv_prog_gnu_ld" = yes; then
10428 soname_spec
='${libname}${release}${shared_ext}$major'
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10431 irix5
* | nonstopux
*)
10432 libsuff
= shlibsuff
=
10435 case $LD in # libtool.m4 will add one of these switches to LD
10436 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10437 libsuff
= shlibsuff
= libmagic
=32-bit;;
10438 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10439 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10440 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10441 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10442 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10446 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10447 shlibpath_overrides_runpath
=no
10448 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10449 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10450 hardcode_into_libs
=yes
10453 # No shared lib support for Linux oldld, aout, or coff.
10454 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10458 # This must be Linux ELF.
10459 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464 soname_spec
='${libname}${release}${shared_ext}$major'
10465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10466 shlibpath_var
=LD_LIBRARY_PATH
10467 shlibpath_overrides_runpath
=no
10469 # Some binutils ld are patched to set DT_RUNPATH
10470 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10471 $as_echo_n "(cached) " >&6
10473 lt_cv_shlibpath_overrides_runpath
=no
10474 save_LDFLAGS
=$LDFLAGS
10475 save_libdir
=$libdir
10476 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10477 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10489 if ac_fn_c_try_link
"$LINENO"; then :
10490 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10491 lt_cv_shlibpath_overrides_runpath
=yes
10494 rm -f core conftest.err conftest.
$ac_objext \
10495 conftest
$ac_exeext conftest.
$ac_ext
10496 LDFLAGS
=$save_LDFLAGS
10497 libdir
=$save_libdir
10501 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10503 # This implies no fast_install, which is unacceptable.
10504 # Some rework will be needed to allow for fast_install
10505 # before this can be enabled.
10506 hardcode_into_libs
=yes
10508 # Append ld.so.conf contents to the search path
10509 if test -f /etc
/ld.so.conf
; then
10510 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' ' '`
10511 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10514 # We used to test for /lib/ld.so.1 and disable shared libraries on
10515 # powerpc, because MkLinux only supported shared libraries with the
10516 # GNU dynamic linker. Since this was broken with cross compilers,
10517 # most powerpc-linux boxes support dynamic linking these days and
10518 # people can always --disable-shared, the test was removed, and we
10519 # assume the GNU/Linux dynamic linker is in use.
10520 dynamic_linker
='GNU/Linux ld.so'
10527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10530 dynamic_linker
='NetBSD (a.out) ld.so'
10532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10533 soname_spec
='${libname}${release}${shared_ext}$major'
10534 dynamic_linker
='NetBSD ld.elf_so'
10536 shlibpath_var
=LD_LIBRARY_PATH
10537 shlibpath_overrides_runpath
=yes
10538 hardcode_into_libs
=yes
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 shlibpath_var
=LD_LIBRARY_PATH
10545 shlibpath_overrides_runpath
=yes
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec
='${libname}${release}${shared_ext}$major'
10554 shlibpath_var
=LD_LIBRARY_PATH
10555 shlibpath_overrides_runpath
=no
10556 hardcode_into_libs
=yes
10557 dynamic_linker
='ldqnx.so'
10562 sys_lib_dlsearch_path_spec
="/usr/lib"
10564 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10566 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10567 *) need_version
=no
;;
10569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10570 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10571 shlibpath_var
=LD_LIBRARY_PATH
10572 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10574 openbsd2.
[89] | openbsd2.
[89].
*)
10575 shlibpath_overrides_runpath
=no
10578 shlibpath_overrides_runpath
=yes
10582 shlibpath_overrides_runpath
=yes
10587 libname_spec
='$name'
10590 library_names_spec
='$libname${shared_ext} $libname.a'
10591 dynamic_linker
='OS/2 ld.exe'
10592 shlibpath_var
=LIBPATH
10595 osf3
* | osf4
* | osf5
*)
10599 soname_spec
='${libname}${release}${shared_ext}$major'
10600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10603 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 soname_spec
='${libname}${release}${shared_ext}$major'
10616 shlibpath_var
=LD_LIBRARY_PATH
10617 shlibpath_overrides_runpath
=yes
10618 hardcode_into_libs
=yes
10619 # ldd complains unless libraries are executable
10620 postinstall_cmds
='chmod +x $lib'
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10626 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10627 shlibpath_var
=LD_LIBRARY_PATH
10628 shlibpath_overrides_runpath
=yes
10629 if test "$with_gnu_ld" = yes; then
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 shlibpath_var
=LD_LIBRARY_PATH
10640 case $host_vendor in
10642 shlibpath_overrides_runpath
=no
10644 runpath_var
=LD_RUN_PATH
10652 shlibpath_overrides_runpath
=no
10653 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10659 if test -d /usr
/nec
;then
10661 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10662 soname_spec
='$libname${shared_ext}.$major'
10663 shlibpath_var
=LD_LIBRARY_PATH
10667 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10668 version_type
=freebsd-elf
10671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 soname_spec
='${libname}${release}${shared_ext}$major'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 shlibpath_overrides_runpath
=yes
10675 hardcode_into_libs
=yes
10676 if test "$with_gnu_ld" = yes; then
10677 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10679 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10682 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10686 sys_lib_dlsearch_path_spec
='/usr/lib'
10690 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 shlibpath_var
=LD_LIBRARY_PATH
10696 shlibpath_overrides_runpath
=no
10697 hardcode_into_libs
=yes
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec
='${libname}${release}${shared_ext}$major'
10704 shlibpath_var
=LD_LIBRARY_PATH
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10712 $as_echo "$dynamic_linker" >&6; }
10713 test "$dynamic_linker" = no
&& can_build_shared
=no
10715 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10716 if test "$GCC" = yes; then
10717 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10720 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10721 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10723 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10724 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10821 if test -n "$hardcode_libdir_flag_spec" ||
10822 test -n "$runpath_var" ||
10823 test "X$hardcode_automatic" = "Xyes" ; then
10825 # We can hardcode non-existent directories.
10826 if test "$hardcode_direct" != no
&&
10827 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10828 # have to relink, otherwise we might link with an installed library
10829 # when we should be linking with a yet-to-be-installed one
10830 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10831 test "$hardcode_minus_L" != no
; then
10832 # Linking always hardcodes the temporary library directory.
10833 hardcode_action
=relink
10835 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10836 hardcode_action
=immediate
10839 # We cannot hardcode anything, or else we can only hardcode existing
10841 hardcode_action
=unsupported
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10844 $as_echo "$hardcode_action" >&6; }
10846 if test "$hardcode_action" = relink ||
10847 test "$inherit_rpath" = yes; then
10848 # Fast installation is not supported
10849 enable_fast_install
=no
10850 elif test "$shlibpath_overrides_runpath" = yes ||
10851 test "$enable_shared" = no
; then
10852 # Fast installation is not necessary
10853 enable_fast_install
=needless
10861 if test "x$enable_dlopen" != xyes
; then
10862 enable_dlopen
=unknown
10863 enable_dlopen_self
=unknown
10864 enable_dlopen_self_static
=unknown
10871 lt_cv_dlopen
="load_add_on"
10873 lt_cv_dlopen_self
=yes
10876 mingw
* | pw32
* | cegcc
*)
10877 lt_cv_dlopen
="LoadLibrary"
10882 lt_cv_dlopen
="dlopen"
10887 # if libdl is installed we need to link against it
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10890 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10891 $as_echo_n "(cached) " >&6
10893 ac_check_lib_save_LIBS
=$LIBS
10895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10913 if ac_fn_c_try_link
"$LINENO"; then :
10914 ac_cv_lib_dl_dlopen
=yes
10916 ac_cv_lib_dl_dlopen
=no
10918 rm -f core conftest.err conftest.
$ac_objext \
10919 conftest
$ac_exeext conftest.
$ac_ext
10920 LIBS
=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10924 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10925 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10928 lt_cv_dlopen
="dyld"
10930 lt_cv_dlopen_self
=yes
10937 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10938 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10939 lt_cv_dlopen
="shl_load"
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10942 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10943 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_lib_save_LIBS
=$LIBS
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10961 return shl_load ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10967 ac_cv_lib_dld_shl_load
=yes
10969 ac_cv_lib_dld_shl_load
=no
10971 rm -f core conftest.err conftest.
$ac_objext \
10972 conftest
$ac_exeext conftest.
$ac_ext
10973 LIBS
=$ac_check_lib_save_LIBS
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10976 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10977 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10978 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10980 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10981 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10982 lt_cv_dlopen
="dlopen"
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10985 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10986 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10987 $as_echo_n "(cached) " >&6
10989 ac_check_lib_save_LIBS
=$LIBS
10991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11009 if ac_fn_c_try_link
"$LINENO"; then :
11010 ac_cv_lib_dl_dlopen
=yes
11012 ac_cv_lib_dl_dlopen
=no
11014 rm -f core conftest.err conftest.
$ac_objext \
11015 conftest
$ac_exeext conftest.
$ac_ext
11016 LIBS
=$ac_check_lib_save_LIBS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11019 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11020 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11021 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11024 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11025 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11026 $as_echo_n "(cached) " >&6
11028 ac_check_lib_save_LIBS
=$LIBS
11029 LIBS
="-lsvld $LIBS"
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11048 if ac_fn_c_try_link
"$LINENO"; then :
11049 ac_cv_lib_svld_dlopen
=yes
11051 ac_cv_lib_svld_dlopen
=no
11053 rm -f core conftest.err conftest.
$ac_objext \
11054 conftest
$ac_exeext conftest.
$ac_ext
11055 LIBS
=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11058 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11059 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11060 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11063 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11064 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_lib_save_LIBS
=$LIBS
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11082 return dld_link ();
11087 if ac_fn_c_try_link
"$LINENO"; then :
11088 ac_cv_lib_dld_dld_link
=yes
11090 ac_cv_lib_dld_dld_link
=no
11092 rm -f core conftest.err conftest.
$ac_objext \
11093 conftest
$ac_exeext conftest.
$ac_ext
11094 LIBS
=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11097 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11098 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11099 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11120 if test "x$lt_cv_dlopen" != xno
; then
11126 case $lt_cv_dlopen in
11128 save_CPPFLAGS
="$CPPFLAGS"
11129 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11131 save_LDFLAGS
="$LDFLAGS"
11132 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11135 LIBS
="$lt_cv_dlopen_libs $LIBS"
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11138 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11139 if test "${lt_cv_dlopen_self+set}" = set; then :
11140 $as_echo_n "(cached) " >&6
11142 if test "$cross_compiling" = yes; then :
11143 lt_cv_dlopen_self
=cross
11145 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11146 lt_status
=$lt_dlunknown
11147 cat > conftest.
$ac_ext <<_LT_EOF
11148 #line 11148 "configure"
11149 #include "confdefs.h"
11158 # define LT_DLGLOBAL RTLD_GLOBAL
11161 # define LT_DLGLOBAL DL_GLOBAL
11163 # define LT_DLGLOBAL 0
11167 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11168 find out it does not work in some platform. */
11169 #ifndef LT_DLLAZY_OR_NOW
11171 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11174 # define LT_DLLAZY_OR_NOW DL_LAZY
11177 # define LT_DLLAZY_OR_NOW RTLD_NOW
11180 # define LT_DLLAZY_OR_NOW DL_NOW
11182 # define LT_DLLAZY_OR_NOW 0
11189 /* When -fvisbility=hidden is used, assume the code has been annotated
11190 correspondingly for the symbols needed. */
11191 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11192 void fnord () __attribute__((visibility("default")));
11195 void fnord () { int i=42; }
11198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11199 int status = $lt_dlunknown;
11203 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11206 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11207 else puts (dlerror ());
11209 /* dlclose (self); */
11217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11218 (eval $ac_link) 2>&5
11220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11221 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11222 (.
/conftest
; exit; ) >&5 2>/dev
/null
11224 case x
$lt_status in
11225 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11226 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11227 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11230 # compilation failed
11231 lt_cv_dlopen_self
=no
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11239 $as_echo "$lt_cv_dlopen_self" >&6; }
11241 if test "x$lt_cv_dlopen_self" = xyes
; then
11242 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11244 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11245 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11246 $as_echo_n "(cached) " >&6
11248 if test "$cross_compiling" = yes; then :
11249 lt_cv_dlopen_self_static
=cross
11251 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11252 lt_status
=$lt_dlunknown
11253 cat > conftest.
$ac_ext <<_LT_EOF
11254 #line 11254 "configure"
11255 #include "confdefs.h"
11264 # define LT_DLGLOBAL RTLD_GLOBAL
11267 # define LT_DLGLOBAL DL_GLOBAL
11269 # define LT_DLGLOBAL 0
11273 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11274 find out it does not work in some platform. */
11275 #ifndef LT_DLLAZY_OR_NOW
11277 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11280 # define LT_DLLAZY_OR_NOW DL_LAZY
11283 # define LT_DLLAZY_OR_NOW RTLD_NOW
11286 # define LT_DLLAZY_OR_NOW DL_NOW
11288 # define LT_DLLAZY_OR_NOW 0
11295 /* When -fvisbility=hidden is used, assume the code has been annotated
11296 correspondingly for the symbols needed. */
11297 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11298 void fnord () __attribute__((visibility("default")));
11301 void fnord () { int i=42; }
11304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11305 int status = $lt_dlunknown;
11309 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11312 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11313 else puts (dlerror ());
11315 /* dlclose (self); */
11323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11324 (eval $ac_link) 2>&5
11326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11327 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11328 (.
/conftest
; exit; ) >&5 2>/dev
/null
11330 case x
$lt_status in
11331 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11332 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11333 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11336 # compilation failed
11337 lt_cv_dlopen_self_static
=no
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11345 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11348 CPPFLAGS
="$save_CPPFLAGS"
11349 LDFLAGS
="$save_LDFLAGS"
11354 case $lt_cv_dlopen_self in
11355 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11356 *) enable_dlopen_self
=unknown
;;
11359 case $lt_cv_dlopen_self_static in
11360 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11361 *) enable_dlopen_self_static
=unknown
;;
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11384 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11385 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11386 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11387 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11389 $as_echo "yes" >&6; }
11391 # FIXME - insert some real tests, host_os isn't really good enough
11394 if test -n "$STRIP" ; then
11395 striplib
="$STRIP -x"
11396 old_striplib
="$STRIP -S"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11398 $as_echo "yes" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11401 $as_echo "no" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11406 $as_echo "no" >&6; }
11422 # Report which library types will actually be built
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11424 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11426 $as_echo "$can_build_shared" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11429 $as_echo_n "checking whether to build shared libraries... " >&6; }
11430 test "$can_build_shared" = "no" && enable_shared
=no
11432 # On AIX, shared libraries and static libraries use the same namespace, and
11433 # are all built from PIC.
11436 test "$enable_shared" = yes && enable_static
=no
11437 if test -n "$RANLIB"; then
11438 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11439 postinstall_cmds
='$RANLIB $lib'
11444 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11445 test "$enable_shared" = yes && enable_static
=no
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11450 $as_echo "$enable_shared" >&6; }
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11453 $as_echo_n "checking whether to build static libraries... " >&6; }
11454 # Make sure either enable_shared or enable_static is yes.
11455 test "$enable_shared" = yes || enable_static
=yes
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11457 $as_echo "$enable_static" >&6; }
11464 ac_cpp
='$CPP $CPPFLAGS'
11465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11483 ac_config_commands
="$ac_config_commands libtool"
11488 # Only expand once:
11493 # Check whether --enable-largefile was given.
11494 if test "${enable_largefile+set}" = set; then :
11495 enableval
=$enable_largefile;
11498 if test "$enable_largefile" != no
; then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11501 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11502 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_cv_sys_largefile_CC
=no
11506 if test "$GCC" != yes; then
11509 # IRIX 6.2 and later do not support large files by default,
11510 # so use the C compiler's -n32 option if that helps.
11511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11513 #include <sys/types.h>
11514 /* Check that off_t can represent 2**63 - 1 correctly.
11515 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11516 since some C++ compilers masquerading as C compilers
11517 incorrectly reject 9223372036854775807. */
11518 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11519 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11520 && LARGE_OFF_T % 2147483647 == 1)
11530 if ac_fn_c_try_compile
"$LINENO"; then :
11533 rm -f core conftest.err conftest.
$ac_objext
11535 if ac_fn_c_try_compile
"$LINENO"; then :
11536 ac_cv_sys_largefile_CC
=' -n32'; break
11538 rm -f core conftest.err conftest.
$ac_objext
11542 rm -f conftest.
$ac_ext
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11546 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11547 if test "$ac_cv_sys_largefile_CC" != no
; then
11548 CC
=$CC$ac_cv_sys_largefile_CC
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11552 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11553 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11554 $as_echo_n "(cached) " >&6
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 #include <sys/types.h>
11560 /* Check that off_t can represent 2**63 - 1 correctly.
11561 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11562 since some C++ compilers masquerading as C compilers
11563 incorrectly reject 9223372036854775807. */
11564 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11565 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11566 && LARGE_OFF_T % 2147483647 == 1)
11576 if ac_fn_c_try_compile
"$LINENO"; then :
11577 ac_cv_sys_file_offset_bits
=no
; break
11579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11582 #define _FILE_OFFSET_BITS 64
11583 #include <sys/types.h>
11584 /* Check that off_t can represent 2**63 - 1 correctly.
11585 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11586 since some C++ compilers masquerading as C compilers
11587 incorrectly reject 9223372036854775807. */
11588 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11589 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11590 && LARGE_OFF_T % 2147483647 == 1)
11600 if ac_fn_c_try_compile
"$LINENO"; then :
11601 ac_cv_sys_file_offset_bits
=64; break
11603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 ac_cv_sys_file_offset_bits
=unknown
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11609 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11610 case $ac_cv_sys_file_offset_bits in #(
11613 cat >>confdefs.h
<<_ACEOF
11614 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11619 if test $ac_cv_sys_file_offset_bits = unknown
; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11621 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11622 if test "${ac_cv_sys_large_files+set}" = set; then :
11623 $as_echo_n "(cached) " >&6
11626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 #include <sys/types.h>
11629 /* Check that off_t can represent 2**63 - 1 correctly.
11630 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11631 since some C++ compilers masquerading as C compilers
11632 incorrectly reject 9223372036854775807. */
11633 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11634 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11635 && LARGE_OFF_T % 2147483647 == 1)
11645 if ac_fn_c_try_compile
"$LINENO"; then :
11646 ac_cv_sys_large_files
=no
; break
11648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11651 #define _LARGE_FILES 1
11652 #include <sys/types.h>
11653 /* Check that off_t can represent 2**63 - 1 correctly.
11654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11655 since some C++ compilers masquerading as C compilers
11656 incorrectly reject 9223372036854775807. */
11657 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11659 && LARGE_OFF_T % 2147483647 == 1)
11669 if ac_fn_c_try_compile
"$LINENO"; then :
11670 ac_cv_sys_large_files
=1; break
11672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11673 ac_cv_sys_large_files
=unknown
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11678 $as_echo "$ac_cv_sys_large_files" >&6; }
11679 case $ac_cv_sys_large_files in #(
11682 cat >>confdefs.h
<<_ACEOF
11683 #define _LARGE_FILES $ac_cv_sys_large_files
11692 backtrace_supported
=yes
11694 if test -n "${with_target_subdir}"; then
11695 # We are compiling a GCC library. We can assume that the unwind
11697 BACKTRACE_FILE
="backtrace.lo simple.lo"
11699 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11700 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
11701 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11702 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
11703 BACKTRACE_FILE
="backtrace.lo simple.lo"
11705 BACKTRACE_FILE
="nounwind.lo"
11706 backtrace_supported
=no
11710 BACKTRACE_FILE
="nounwind.lo"
11711 backtrace_supported
=no
11719 if test -n "${with_target_subdir}"; then
11720 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
11723 $as_echo_n "checking for -funwind-tables option... " >&6; }
11724 if test "${libbacktrace_cv_c_unwind_tables+set}" = set; then :
11725 $as_echo_n "(cached) " >&6
11727 CFLAGS_hold
="$CFLAGS"
11728 CFLAGS
="$CFLAGS -funwind-tables"
11729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11731 static int f() { return 0; }
11740 if ac_fn_c_try_compile
"$LINENO"; then :
11741 libbacktrace_cv_c_unwind_tables
=yes
11743 libbacktrace_cv_c_unwind_tables
=no
11745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11746 CFLAGS
="$CFLAGS_hold"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
11749 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
11750 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
11751 EXTRA_FLAGS
=-funwind-tables
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
11754 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
11755 if test "${libbacktrace_cv_c_random_seed_string+set}" = set; then :
11756 $as_echo_n "(cached) " >&6
11758 CFLAGS_hold
="$CFLAGS"
11759 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
11760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11771 if ac_fn_c_try_compile
"$LINENO"; then :
11772 libbacktrace_cv_c_random_seed_string
=yes
11774 libbacktrace_cv_c_random_seed_string
=no
11776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11777 CFLAGS
="$CFLAGS_hold"
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
11780 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
11781 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
11782 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
11788 ac_cpp
='$CPP $CPPFLAGS'
11789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11794 save_CFLAGS
="$CFLAGS"
11795 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11796 -Wmissing-prototypes -Wold-style-definition \
11797 -Wmissing-format-attribute -Wcast-qual; do
11798 # Do the check with the no- prefix removed since gcc silently
11799 # accepts any -Wno-* option on purpose
11800 case $real_option in
11801 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11802 *) option
=$real_option ;;
11804 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11807 $as_echo_n "checking whether $CC supports $option... " >&6; }
11808 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11809 $as_echo_n "(cached) " >&6
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11823 if ac_fn_c_try_compile
"$LINENO"; then :
11824 eval "$as_acx_Woption=yes"
11826 eval "$as_acx_Woption=no"
11828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11831 eval ac_res
=\$
$as_acx_Woption
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11833 $as_echo "$ac_res" >&6; }
11834 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11835 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11838 CFLAGS
="$save_CFLAGS"
11840 ac_cpp
='$CPP $CPPFLAGS'
11841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11847 if test -n "${with_target_subdir}"; then
11848 WARN_FLAGS
="$WARN_FLAGS -Werror"
11853 if test -n "${with_target_subdir}"; then
11856 # Check whether --with-system-libunwind was given.
11857 if test "${with_system_libunwind+set}" = set; then :
11858 withval
=$with_system_libunwind;
11861 # If system-libunwind was not specifically set, pick a default setting.
11862 if test x
$with_system_libunwind = x
; then
11864 ia64-
*-hpux*) with_system_libunwind
=yes ;;
11865 *) with_system_libunwind
=no
;;
11868 # Based on system-libunwind and target, do we have ipinfo?
11869 if test x
$with_system_libunwind = xyes
; then
11871 ia64-
*-*) have_unwind_getipinfo
=no
;;
11872 *) have_unwind_getipinfo
=yes ;;
11875 # Darwin before version 9 does not have _Unwind_GetIPInfo.
11878 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
11879 *) have_unwind_getipinfo
=yes ;;
11884 if test x
$have_unwind_getipinfo = xyes
; then
11886 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11891 ac_save_CFFLAGS
="$CFLAGS"
11892 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
11894 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
11895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 #include "unwind.h"
11898 struct _Unwind_Context *context;
11899 int ip_before_insn = 0;
11903 return _Unwind_GetIPInfo (context, &ip_before_insn);
11908 if ac_fn_c_try_link
"$LINENO"; then :
11909 have_unwind_getipinfo
=yes
11911 have_unwind_getipinfo
=no
11913 rm -f core conftest.err conftest.
$ac_objext \
11914 conftest
$ac_exeext conftest.
$ac_ext
11915 CFLAGS
="$ac_save_CFLAGS"
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
11917 $as_echo "$have_unwind_getipinfo" >&6; }
11918 if test "$have_unwind_getipinfo" = "yes"; then
11920 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11925 # Enable --enable-host-shared.
11926 # Check whether --enable-host-shared was given.
11927 if test "${enable_host_shared+set}" = set; then :
11928 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
11935 # Test for __sync support.
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
11937 $as_echo_n "checking __sync extensions... " >&6; }
11938 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
11939 $as_echo_n "(cached) " >&6
11941 if test -n "${with_target_subdir}"; then
11943 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
11944 *) libbacktrace_cv_sys_sync
=yes ;;
11947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11953 __sync_bool_compare_and_swap (&i, i, i);
11954 __sync_lock_test_and_set (&i, 1);
11955 __sync_lock_release (&i);
11960 if ac_fn_c_try_link
"$LINENO"; then :
11961 libbacktrace_cv_sys_sync
=yes
11963 libbacktrace_cv_sys_sync
=no
11965 rm -f core conftest.err conftest.
$ac_objext \
11966 conftest
$ac_exeext conftest.
$ac_ext
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
11970 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
11971 BACKTRACE_SUPPORTS_THREADS
=0
11972 if test "$libbacktrace_cv_sys_sync" = "yes"; then
11973 BACKTRACE_SUPPORTS_THREADS
=1
11975 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
11980 # Test for __atomic support.
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
11982 $as_echo_n "checking __atomic extensions... " >&6; }
11983 if test "${libbacktrace_cv_sys_atomic+set}" = set; then :
11984 $as_echo_n "(cached) " >&6
11986 if test -n "${with_target_subdir}"; then
11987 libbacktrace_cv_sys_atomic
=yes
11989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11995 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
11996 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12001 if ac_fn_c_try_link
"$LINENO"; then :
12002 libbacktrace_cv_sys_atomic
=yes
12004 libbacktrace_cv_sys_atomic
=no
12006 rm -f core conftest.err conftest.
$ac_objext \
12007 conftest
$ac_exeext conftest.
$ac_ext
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12011 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12012 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12014 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12018 # The library needs to be able to read the executable itself. Compile
12019 # a file to determine the executable format. The awk script
12020 # filetype.awk prints out the file type.
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12022 $as_echo_n "checking output filetype... " >&6; }
12023 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
12024 $as_echo_n "(cached) " >&6
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12038 if ac_fn_c_try_compile
"$LINENO"; then :
12039 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12043 as_fn_error
"compiler failed
12044 See \`config.log' for more details." "$LINENO" 5; }
12046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12047 libbacktrace_cv_sys_filetype
=$filetype
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12050 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12052 # Match the file type to decide what files to compile.
12054 backtrace_supports_data
=yes
12055 case "$libbacktrace_cv_sys_filetype" in
12056 elf
*) FORMAT_FILE
="elf.lo" ;;
12057 pecoff
) FORMAT_FILE
="pecoff.lo"
12058 backtrace_supports_data
=no
12060 xcoff
*) FORMAT_FILE
="xcoff.lo"
12061 backtrace_supports_data
=no
12063 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12064 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12065 FORMAT_FILE
="unknown.lo"
12066 backtrace_supported
=no
12073 case "$libbacktrace_cv_sys_filetype" in
12074 elf32
) elfsize
=32 ;;
12075 elf64
) elfsize
=64 ;;
12079 cat >>confdefs.h
<<_ACEOF
12080 #define BACKTRACE_ELF_SIZE $elfsize
12086 case "$libbacktrace_cv_sys_filetype" in
12087 xcoff32
) xcoffsize
=32 ;;
12088 xcoff64
) xcoffsize
=64 ;;
12089 *) xcoffsize
=unused
12092 cat >>confdefs.h
<<_ACEOF
12093 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12097 BACKTRACE_SUPPORTED
=0
12098 if test "$backtrace_supported" = "yes"; then
12099 BACKTRACE_SUPPORTED
=1
12103 BACKTRACE_SUPPORTS_DATA
=0
12104 if test "$backtrace_supports_data" = "yes"; then
12105 BACKTRACE_SUPPORTS_DATA
=1
12111 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12113 acx_cv_header_stdint
=stddef.h
12114 acx_cv_header_stdint_kind
="(already complete)"
12115 for i
in stdint.h
$inttype_headers; do
12116 unset ac_cv_type_uintptr_t
12117 unset ac_cv_type_uintmax_t
12118 unset ac_cv_type_int_least32_t
12119 unset ac_cv_type_int_fast32_t
12120 unset ac_cv_type_uint64_t
12121 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12122 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12125 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
12126 acx_cv_header_stdint
=$i
12131 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12134 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12137 acx_cv_header_stdint_kind
="(mostly complete)"
12140 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12143 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
12146 acx_cv_header_stdint_kind
="(mostly complete)"
12149 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12152 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
12155 acx_cv_header_stdint_kind
="(mostly complete)"
12158 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12161 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12164 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12169 if test "$acx_cv_header_stdint" = stddef.h
; then
12170 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12171 for i
in stdint.h
$inttype_headers; do
12172 unset ac_cv_type_uintptr_t
12173 unset ac_cv_type_uint32_t
12174 unset ac_cv_type_uint64_t
12175 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12176 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12179 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
12180 acx_cv_header_stdint
=$i
12185 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12188 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12192 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12195 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12202 if test "$acx_cv_header_stdint" = stddef.h
; then
12203 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12204 for i
in sys
/types.h
$inttype_headers; do
12205 unset ac_cv_type_u_int32_t
12206 unset ac_cv_type_u_int64_t
12207 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12208 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12211 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
12212 acx_cv_header_stdint
=$i
12217 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12220 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
12227 if test "$acx_cv_header_stdint" = stddef.h
; then
12228 acx_cv_header_stdint_kind
="(using manual detection)"
12231 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12232 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12233 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12234 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12235 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12237 # ----------------- Summarize what we found so far
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12240 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12242 case `$as_basename -- gstdint.h ||
12243 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12244 Xgstdint.h : 'X\(//\)$' \| \
12245 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12246 $as_echo X/gstdint.h |
12247 sed '/^.*\/\([^/][^/]*\)\/*$/{
12260 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12261 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12262 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12263 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12268 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
12270 # ----------------- done included file, check C basic types --------
12272 # Lacking an uintptr_t? Test size of void *
12273 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12274 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
12275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12277 # This bug is HP SR number 8606223364.
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12279 $as_echo_n "checking size of void *... " >&6; }
12280 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12281 $as_echo_n "(cached) " >&6
12283 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12286 if test "$ac_cv_type_void_p" = yes; then
12287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12289 { as_fn_set_status
77
12290 as_fn_error
"cannot compute sizeof (void *)
12291 See \`config.log' for more details." "$LINENO" 5; }; }
12293 ac_cv_sizeof_void_p
=0
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12299 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12303 cat >>confdefs.h
<<_ACEOF
12304 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12310 # Lacking an uint64_t? Test size of long
12311 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12312 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
12313 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12314 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12315 # This bug is HP SR number 8606223364.
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12317 $as_echo_n "checking size of long... " >&6; }
12318 if test "${ac_cv_sizeof_long+set}" = set; then :
12319 $as_echo_n "(cached) " >&6
12321 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12324 if test "$ac_cv_type_long" = yes; then
12325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12327 { as_fn_set_status
77
12328 as_fn_error
"cannot compute sizeof (long)
12329 See \`config.log' for more details." "$LINENO" 5; }; }
12331 ac_cv_sizeof_long
=0
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12337 $as_echo "$ac_cv_sizeof_long" >&6; }
12341 cat >>confdefs.h
<<_ACEOF
12342 #define SIZEOF_LONG $ac_cv_sizeof_long
12348 if test $acx_cv_header_stdint = stddef.h
; then
12349 # Lacking a good header? Test size of everything and deduce all types.
12350 # The cast to long int works around a bug in the HP C Compiler
12351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12353 # This bug is HP SR number 8606223364.
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12355 $as_echo_n "checking size of int... " >&6; }
12356 if test "${ac_cv_sizeof_int+set}" = set; then :
12357 $as_echo_n "(cached) " >&6
12359 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12362 if test "$ac_cv_type_int" = yes; then
12363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12365 { as_fn_set_status
77
12366 as_fn_error
"cannot compute sizeof (int)
12367 See \`config.log' for more details." "$LINENO" 5; }; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12375 $as_echo "$ac_cv_sizeof_int" >&6; }
12379 cat >>confdefs.h
<<_ACEOF
12380 #define SIZEOF_INT $ac_cv_sizeof_int
12384 # The cast to long int works around a bug in the HP C Compiler
12385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12387 # This bug is HP SR number 8606223364.
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12389 $as_echo_n "checking size of short... " >&6; }
12390 if test "${ac_cv_sizeof_short+set}" = set; then :
12391 $as_echo_n "(cached) " >&6
12393 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12396 if test "$ac_cv_type_short" = yes; then
12397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12399 { as_fn_set_status
77
12400 as_fn_error
"cannot compute sizeof (short)
12401 See \`config.log' for more details." "$LINENO" 5; }; }
12403 ac_cv_sizeof_short
=0
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12409 $as_echo "$ac_cv_sizeof_short" >&6; }
12413 cat >>confdefs.h
<<_ACEOF
12414 #define SIZEOF_SHORT $ac_cv_sizeof_short
12418 # The cast to long int works around a bug in the HP C Compiler
12419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12421 # This bug is HP SR number 8606223364.
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12423 $as_echo_n "checking size of char... " >&6; }
12424 if test "${ac_cv_sizeof_char+set}" = set; then :
12425 $as_echo_n "(cached) " >&6
12427 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12430 if test "$ac_cv_type_char" = yes; then
12431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12433 { as_fn_set_status
77
12434 as_fn_error
"cannot compute sizeof (char)
12435 See \`config.log' for more details." "$LINENO" 5; }; }
12437 ac_cv_sizeof_char
=0
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12443 $as_echo "$ac_cv_sizeof_char" >&6; }
12447 cat >>confdefs.h
<<_ACEOF
12448 #define SIZEOF_CHAR $ac_cv_sizeof_char
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
12454 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
12455 case "$ac_cv_sizeof_char" in
12456 1) acx_cv_type_int8_t
=char
;;
12457 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
12460 $as_echo "$acx_cv_type_int8_t" >&6; }
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
12463 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
12464 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
12465 2:*) acx_cv_type_int16_t
=int
;;
12466 *:2) acx_cv_type_int16_t
=short
;;
12467 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
12470 $as_echo "$acx_cv_type_int16_t" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
12473 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
12474 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
12475 4:*) acx_cv_type_int32_t
=int
;;
12476 *:4) acx_cv_type_int32_t
=long
;;
12477 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
12480 $as_echo "$acx_cv_type_int32_t" >&6; }
12483 # These tests are here to make the output prettier
12485 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
12486 case "$ac_cv_sizeof_long" in
12487 8) acx_cv_type_int64_t
=long
;;
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
12490 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
12492 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
12495 # Now we can use the above types
12497 if test "$ac_cv_type_uintptr_t" != yes; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
12499 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
12500 case $ac_cv_sizeof_void_p in
12501 2) acx_cv_type_intptr_t
=int16_t
;;
12502 4) acx_cv_type_intptr_t
=int32_t
;;
12503 8) acx_cv_type_intptr_t
=int64_t
;;
12504 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
12507 $as_echo "$acx_cv_type_intptr_t" >&6; }
12510 # ----------------- done all checks, emit header -------------
12511 ac_config_commands
="$ac_config_commands gstdint.h"
12516 for ac_header
in sys
/mman.h
12518 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12519 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
12520 cat >>confdefs.h
<<_ACEOF
12521 #define HAVE_SYS_MMAN_H 1
12528 if test "$ac_cv_header_sys_mman_h" = "no"; then
12531 if test -n "${with_target_subdir}"; then
12532 # When built as a GCC target library, we can't do a link test. We
12533 # simply assume that if we have mman.h, we have mmap.
12536 spu-
*-*|
*-*-msdosdjgpp)
12537 # The SPU does not have mmap, but it has a sys/mman.h header file
12538 # containing "mmap_eaddr" and the mmap flags, confusing the test.
12539 # DJGPP also has sys/man.h, but no mmap
12543 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
12544 if test "x$ac_cv_func_mmap" = x
""yes; then :
12552 if test "$have_mmap" = "no"; then
12554 ALLOC_FILE
=alloc.lo
12556 VIEW_FILE
=mmapio.lo
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 #include <sys/mman.h>
12561 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
12562 #error no MAP_ANONYMOUS
12566 if ac_fn_c_try_cpp
"$LINENO"; then :
12569 ALLOC_FILE
=alloc.lo
12571 rm -f conftest.err conftest.
$ac_ext
12576 BACKTRACE_USES_MALLOC
=0
12577 if test "$ALLOC_FILE" = "alloc.lo"; then
12578 BACKTRACE_USES_MALLOC
=1
12582 # Check for dl_iterate_phdr.
12583 for ac_header
in link.h
12585 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
12586 if test "x$ac_cv_header_link_h" = x
""yes; then :
12587 cat >>confdefs.h
<<_ACEOF
12588 #define HAVE_LINK_H 1
12595 if test "$ac_cv_header_link_h" = "no"; then
12596 have_dl_iterate_phdr
=no
12598 if test -n "${with_target_subdir}"; then
12599 # When built as a GCC target library, we can't do a link test.
12600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12606 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
12607 have_dl_iterate_phdr
=yes
12609 have_dl_iterate_phdr
=no
12615 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
12616 # header file but is only in -ldl.
12617 have_dl_iterate_phdr
=no
;;
12620 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
12621 if test "x$ac_cv_func_dl_iterate_phdr" = x
""yes; then :
12622 have_dl_iterate_phdr
=yes
12624 have_dl_iterate_phdr
=no
12629 if test "$have_dl_iterate_phdr" = "yes"; then
12631 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
12635 # Check for loadquery.
12636 for ac_header
in sys
/ldr.h
12638 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
12639 if test "x$ac_cv_header_sys_ldr_h" = x
""yes; then :
12640 cat >>confdefs.h
<<_ACEOF
12641 #define HAVE_SYS_LDR_H 1
12648 if test "$ac_cv_header_sys_ldr_h" = "no"; then
12651 if test -n "${with_target_subdir}"; then
12652 # When built as a GCC target library, we can't do a link test.
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12655 #include <sys/ldr.h>
12658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12659 $EGREP "loadquery" >/dev
/null
2>&1; then :
12667 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
12668 if test "x$ac_cv_func_loadquery" = x
""yes; then :
12676 if test "$have_loadquery" = "yes"; then
12678 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
12682 # Check for the fcntl function.
12683 if test -n "${with_target_subdir}"; then
12685 *-*-mingw*) have_fcntl
=no
;;
12686 spu-
*-*) have_fcntl
=no
;;
12687 *) have_fcntl
=yes ;;
12690 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
12691 if test "x$ac_cv_func_fcntl" = x
""yes; then :
12698 if test "$have_fcntl" = "yes"; then
12700 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
12704 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
12705 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
12711 cat >>confdefs.h
<<_ACEOF
12712 #define HAVE_DECL_STRNLEN $ac_have_decl
12715 for ac_func
in lstat readlink
12717 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12718 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12719 eval as_val
=\$
$as_ac_var
12720 if test "x$as_val" = x
""yes; then :
12721 cat >>confdefs.h
<<_ACEOF
12722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12729 # Check for getexecname function.
12730 if test -n "${with_target_subdir}"; then
12732 *-*-solaris2*) have_getexecname
=yes ;;
12733 *) have_getexecname
=no
;;
12736 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
12737 if test "x$ac_cv_func_getexecname" = x
""yes; then :
12738 have_getexecname
=yes
12740 have_getexecname
=no
12744 if test "$have_getexecname" = "yes"; then
12746 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
12751 $as_echo_n "checking whether -pthread is supported... " >&6; }
12752 if test "${libgo_cv_lib_pthread+set}" = set; then :
12753 $as_echo_n "(cached) " >&6
12755 CFLAGS_hold
=$CFLAGS
12756 CFLAGS
="$CFLAGS -pthread"
12757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12761 if ac_fn_c_try_compile
"$LINENO"; then :
12762 libgo_cv_lib_pthread
=yes
12764 libgo_cv_lib_pthread
=no
12766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12767 CFLAGS
=$CFLAGS_hold
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
12770 $as_echo "$libgo_cv_lib_pthread" >&6; }
12772 if test "$libgo_cv_lib_pthread" = yes; then
12773 PTHREAD_CFLAGS
=-pthread
12777 if test "$libgo_cv_lib_pthread" = yes; then
12779 HAVE_PTHREAD_FALSE
='#'
12781 HAVE_PTHREAD_TRUE
='#'
12782 HAVE_PTHREAD_FALSE
=
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
12787 $as_echo_n "checking for compress in -lz... " >&6; }
12788 if test "${ac_cv_lib_z_compress+set}" = set; then :
12789 $as_echo_n "(cached) " >&6
12791 ac_check_lib_save_LIBS
=$LIBS
12793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12806 return compress ();
12811 if ac_fn_c_try_link
"$LINENO"; then :
12812 ac_cv_lib_z_compress
=yes
12814 ac_cv_lib_z_compress
=no
12816 rm -f core conftest.err conftest.
$ac_objext \
12817 conftest
$ac_exeext conftest.
$ac_ext
12818 LIBS
=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
12821 $as_echo "$ac_cv_lib_z_compress" >&6; }
12822 if test "x$ac_cv_lib_z_compress" = x
""yes; then :
12823 cat >>confdefs.h
<<_ACEOF
12824 #define HAVE_LIBZ 1
12831 if test $ac_cv_lib_z_compress = "yes"; then
12833 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12836 if test "$ac_cv_lib_z_compress" = yes; then
12838 HAVE_ZLIB_FALSE
='#'
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
12846 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
12847 if test "${libgo_cv_ld_compress+set}" = set; then :
12848 $as_echo_n "(cached) " >&6
12850 LDFLAGS_hold
=$LDFLAGS
12851 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
12852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12863 if ac_fn_c_try_link
"$LINENO"; then :
12864 libgo_cv_ld_compress
=yes
12866 libgo_cv_ld_compress
=no
12868 rm -f core conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LDFLAGS
=$LDFLAGS_hold
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
12873 $as_echo "$libgo_cv_ld_compress" >&6; }
12874 if test "$libgo_cv_ld_compress" = yes; then
12875 HAVE_COMPRESSED_DEBUG_TRUE
=
12876 HAVE_COMPRESSED_DEBUG_FALSE
='#'
12878 HAVE_COMPRESSED_DEBUG_TRUE
='#'
12879 HAVE_COMPRESSED_DEBUG_FALSE
=
12884 # Extract the first word of "objcopy", so it can be a program name with args.
12885 set dummy objcopy
; ac_word
=$2
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12887 $as_echo_n "checking for $ac_word... " >&6; }
12888 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
12889 $as_echo_n "(cached) " >&6
12891 if test -n "$OBJCOPY"; then
12892 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
12894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12895 for as_dir
in $PATH
12898 test -z "$as_dir" && as_dir
=.
12899 for ac_exec_ext
in '' $ac_executable_extensions; do
12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12901 ac_cv_prog_OBJCOPY
="objcopy"
12902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12911 OBJCOPY
=$ac_cv_prog_OBJCOPY
12912 if test -n "$OBJCOPY"; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
12914 $as_echo "$OBJCOPY" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12917 $as_echo "no" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
12922 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
12923 if test "${libbacktrace_cv_objcopy_debuglink+set}" = set; then :
12924 $as_echo_n "(cached) " >&6
12926 if test -n "${with_target_subdir}"; then
12927 libbacktrace_cv_objcopy_debuglink
=no
12928 elif ${OBJCOPY} --add-gnu-debuglink=x
/bin
/ls /tmp
/ls$$
; then
12930 libbacktrace_cv_objcopy_debuglink
=yes
12932 libbacktrace_cv_objcopy_debuglink
=no
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
12936 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
12937 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
12938 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
12939 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
12941 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
12942 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
12947 $as_echo_n "checking whether tests can run... " >&6; }
12948 if test "${libbacktrace_cv_sys_native+set}" = set; then :
12949 $as_echo_n "(cached) " >&6
12951 if test "$cross_compiling" = yes; then :
12952 libbacktrace_cv_sys_native
=no
12954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12965 if ac_fn_c_try_run
"$LINENO"; then :
12966 libbacktrace_cv_sys_native
=yes
12968 libbacktrace_cv_sys_native
=no
12970 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12971 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
12976 $as_echo "$libbacktrace_cv_sys_native" >&6; }
12977 if test "$libbacktrace_cv_sys_native" = "yes"; then
12986 if test "${multilib}" = "yes"; then
12987 multilib_arg
="--enable-multilib"
12992 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
12995 # We need multilib support, but only if configuring for the target.
12996 ac_config_commands
="$ac_config_commands default"
12999 cat >confcache
<<\_ACEOF
13000 # This file is a shell script that caches the results of configure
13001 # tests run on this system so they can be shared between configure
13002 # scripts and configure runs, see configure's option --config-cache.
13003 # It is not useful on other systems. If it contains results you don't
13004 # want to keep, you may remove or edit it.
13006 # config.status only pays attention to the cache file if you give it
13007 # the --recheck option to rerun configure.
13009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13011 # following values.
13015 # The following way of writing the cache mishandles newlines in values,
13016 # but we know of no workaround that is simple, portable, and efficient.
13017 # So, we kill variables containing newlines.
13018 # Ultrix sh set writes to stderr and can't be redirected directly,
13019 # and sets the high bit in the cache file unless we assign to the vars.
13021 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13022 eval ac_val
=\$
$ac_var
13026 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13030 _ | IFS | as_nl
) ;; #(
13031 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13032 *) { eval $ac_var=; unset $ac_var;} ;;
13038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13039 *${as_nl}ac_space
=\
*)
13040 # `set' does not quote correctly, so add quotes: double-quote
13041 # substitution turns \\\\ into \\, and sed turns \\ into \.
13044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13047 # `set' quotes correctly as required by POSIX, so do not add quotes.
13048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13061 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13062 if test -w "$cache_file"; then
13063 test "x$cache_file" != "x/dev/null" &&
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13065 $as_echo "$as_me: updating cache $cache_file" >&6;}
13066 cat confcache
>$cache_file
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13069 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13074 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13075 # Let make expand exec_prefix.
13076 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13078 DEFS
=-DHAVE_CONFIG_H
13082 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13083 # 1. Remove the extension, and $U if already installed.
13084 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13085 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13086 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13087 # will be set to the directory where LIBOBJS objects are built.
13088 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13089 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13091 LIBOBJS
=$ac_libobjs
13093 LTLIBOBJS
=$ac_ltlibobjs
13096 if test -n "$EXEEXT"; then
13098 am__EXEEXT_FALSE
='#'
13100 am__EXEEXT_TRUE
='#'
13104 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13105 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13108 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
13109 as_fn_error
"conditional \"HAVE_PTHREAD\" was never defined.
13110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13112 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
13113 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
13114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13116 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
13117 as_fn_error
"conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
13118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13120 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
13121 as_fn_error
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
13122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13124 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
13125 as_fn_error
"conditional \"NATIVE\" was never defined.
13126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13129 : ${CONFIG_STATUS=./config.status}
13131 ac_clean_files_save
=$ac_clean_files
13132 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13138 # Generated by $as_me.
13139 # Run this file to recreate the current configuration.
13140 # Compiler output produced by configure, useful for debugging
13141 # configure, is in config.log if it exists.
13144 ac_cs_recheck=false
13147 SHELL=\${CONFIG_SHELL-$SHELL}
13150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13151 ## -------------------- ##
13152 ## M4sh Initialization. ##
13153 ## -------------------- ##
13155 # Be more Bourne compatible
13156 DUALCASE
=1; export DUALCASE
# for MKS sh
13157 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13161 # is contrary to our usage. Disable this feature.
13162 alias -g '${1+"$@"}'='"$@"'
13163 setopt NO_GLOB_SUBST
13165 case `(set -o) 2>/dev/null` in #(
13177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13178 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13181 # Prefer a ksh shell builtin over an external printf program on Solaris,
13182 # but without wasting forks for bash or zsh.
13183 if test -z "$BASH_VERSION$ZSH_VERSION" \
13184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13185 as_echo='print
-r --'
13186 as_echo_n='print
-rn --'
13187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13188 as_echo='printf %s
\n'
13189 as_echo_n='printf %s
'
13191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13192 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13193 as_echo_n='/usr
/ucb
/echo -n'
13195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13196 as_echo_n_body='eval
13200 expr "X$arg" : "X\\(.*\\)$as_nl";
13201 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13203 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13205 export as_echo_n_body
13206 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13208 export as_echo_body
13209 as_echo='sh
-c $as_echo_body as_echo
'
13212 # The user is always right.
13213 if test "${PATH_SEPARATOR+set}" != set; then
13215 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13216 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13223 # We need space, tab and new line, in precisely that order. Quoting is
13224 # there to prevent editors from complaining about space-tab.
13225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13226 # splitting by setting IFS to empty value.)
13229 # Find who we are. Look in the path if we contain no directory separator.
13231 *[\\/]* ) as_myself=$0 ;;
13232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13233 for as_dir in $PATH
13236 test -z "$as_dir" && as_dir=.
13237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13243 # We did not find ourselves, most probably we were run as `sh COMMAND'
13244 # in which case we are not to be found in the path.
13245 if test "x$as_myself" = x
; then
13248 if test ! -f "$as_myself"; then
13249 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13253 # Unset variables that we do not need and which cause bugs (e.g. in
13254 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13255 # suppresses any "Segmentation fault" message there. '((' could
13256 # trigger a bug in pdksh 5.2.14.
13257 for as_var
in BASH_ENV ENV MAIL MAILPATH
13258 do eval test x\
${$as_var+set} = xset \
13259 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13272 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13275 # as_fn_error ERROR [LINENO LOG_FD]
13276 # ---------------------------------
13277 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13278 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13279 # script with status $?, using 1 if that was 0.
13282 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13284 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13285 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13287 $as_echo "$as_me: error: $1" >&2
13288 as_fn_exit
$as_status
13292 # as_fn_set_status STATUS
13293 # -----------------------
13294 # Set $? to STATUS, without forking.
13295 as_fn_set_status
()
13298 } # as_fn_set_status
13300 # as_fn_exit STATUS
13301 # -----------------
13302 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13306 as_fn_set_status
$1
13312 # Portably unset VAR.
13315 { eval $1=; unset $1;}
13317 as_unset
=as_fn_unset
13318 # as_fn_append VAR VALUE
13319 # ----------------------
13320 # Append the text in VALUE to the end of the definition contained in VAR. Take
13321 # advantage of any shell optimizations that allow amortized linear growth over
13322 # repeated appends, instead of the typical quadratic growth present in naive
13324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13325 eval 'as_fn_append ()
13336 # as_fn_arith ARG...
13337 # ------------------
13338 # Perform arithmetic evaluation on the ARGs, and store the result in the
13339 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13340 # must be portable across $(()) and expr.
13341 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13342 eval 'as_fn_arith ()
13349 as_val
=`expr "$@" || test $? -eq 1`
13354 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13355 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13361 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13362 as_basename
=basename
13367 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13373 as_me
=`$as_basename -- "$0" ||
13374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13375 X"$0" : 'X\(//\)$' \| \
13376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13378 sed '/^.*\/\([^/][^/]*\)\/*$/{
13392 # Avoid depending upon Character Ranges.
13393 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13394 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13395 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13396 as_cr_digits
='0123456789'
13397 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13399 ECHO_C
= ECHO_N
= ECHO_T
=
13400 case `echo -n x` in #(((((
13402 case `echo 'xy\c'` in
13403 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13405 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13412 rm -f conf$$ conf$$.exe conf$$.
file
13413 if test -d conf$$.dir
; then
13414 rm -f conf$$.dir
/conf$$.
file
13417 mkdir conf$$.dir
2>/dev
/null
13419 if (echo >conf$$.
file) 2>/dev
/null
; then
13420 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13422 # ... but there are two gotchas:
13423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13425 # In both cases, we have to default to `cp -p'.
13426 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13428 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13436 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13437 rmdir conf$$.dir
2>/dev
/null
13442 # Create "$as_dir" as a directory, including parents if necessary.
13447 -*) as_dir
=.
/$as_dir;;
13449 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13453 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13454 *) as_qdir
=$as_dir;;
13456 as_dirs
="'$as_qdir' $as_dirs"
13457 as_dir
=`$as_dirname -- "$as_dir" ||
13458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13459 X"$as_dir" : 'X\(//\)[^/]' \| \
13460 X"$as_dir" : 'X\(//\)$' \| \
13461 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13462 $as_echo X"$as_dir" |
13463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13467 /^X\(\/\/\)[^/].*/{
13480 test -d "$as_dir" && break
13482 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13483 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13487 if mkdir
-p .
2>/dev
/null
; then
13488 as_mkdir_p
='mkdir -p "$as_dir"'
13490 test -d .
/-p && rmdir .
/-p
13494 if test -x / >/dev
/null
2>&1; then
13495 as_test_x
='test -x'
13497 if ls -dL / >/dev
/null
2>&1; then
13504 if test -d "$1"; then
13510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13511 ???[sx]*):;;*)false;;esac;fi
13515 as_executable_p
=$as_test_x
13517 # Sed expression to map a string onto a valid CPP name.
13518 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13520 # Sed expression to map a string onto a valid variable name.
13521 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13525 ## ----------------------------------- ##
13526 ## Main body of $CONFIG_STATUS script. ##
13527 ## ----------------------------------- ##
13529 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13532 # Save the log message, to keep $0 and so on meaningful, and to
13533 # report actual input values of CONFIG_FILES etc. instead of their
13534 # values after options handling.
13536 This file was extended by package-unused $as_me version-unused, which was
13537 generated by GNU Autoconf 2.64. Invocation command line was
13539 CONFIG_FILES = $CONFIG_FILES
13540 CONFIG_HEADERS = $CONFIG_HEADERS
13541 CONFIG_LINKS = $CONFIG_LINKS
13542 CONFIG_COMMANDS = $CONFIG_COMMANDS
13545 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13550 case $ac_config_files in *"
13551 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13554 case $ac_config_headers in *"
13555 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13560 # Files that config.status was made for.
13561 config_files="$ac_config_files"
13562 config_headers="$ac_config_headers"
13563 config_commands="$ac_config_commands"
13567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13569 \`$as_me' instantiates files and other configuration actions
13570 from templates according to the current configuration. Unless the files
13571 and actions are specified as TAGs, all are instantiated by default.
13573 Usage: $0 [OPTION]... [TAG]...
13575 -h, --help print this help, then exit
13576 -V, --version print version number and configuration settings, then exit
13577 -q, --quiet, --silent
13578 do not print progress messages
13579 -d, --debug don't remove temporary files
13580 --recheck update $as_me by reconfiguring in the same conditions
13581 --file=FILE[:TEMPLATE]
13582 instantiate the configuration file FILE
13583 --header=FILE[:TEMPLATE]
13584 instantiate the configuration header FILE
13586 Configuration files:
13589 Configuration headers:
13592 Configuration commands:
13595 Report bugs to the package provider."
13598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13600 package-unused config.status version-unused
13601 configured by $0, generated by GNU Autoconf 2.64,
13602 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13604 Copyright (C) 2009 Free Software Foundation, Inc.
13605 This config.status script is free software; the Free Software Foundation
13606 gives unlimited permission to copy, distribute and modify it."
13613 test -n "\$AWK" || AWK=awk
13616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13617 # The default lists apply if the user does not specify any file.
13623 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13624 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13635 # Handling of the options.
13636 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13638 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13639 $as_echo "$ac_cs_version"; exit ;;
13640 --debug |
--debu |
--deb |
--de |
--d |
-d )
13642 --file |
--fil |
--fi |
--f )
13645 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13647 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13648 ac_need_defaults
=false
;;
13649 --header |
--heade |
--head |
--hea )
13652 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13654 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13655 ac_need_defaults
=false
;;
13657 # Conflict between --help and --header
13658 as_fn_error
"ambiguous option: \`$1'
13659 Try \`$0 --help' for more information.";;
13660 --help |
--hel |
-h )
13661 $as_echo "$ac_cs_usage"; exit ;;
13662 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13663 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13666 # This is an error.
13667 -*) as_fn_error
"unrecognized option: \`$1'
13668 Try \`$0 --help' for more information." ;;
13670 *) as_fn_append ac_config_targets
" $1"
13671 ac_need_defaults
=false
;;
13677 ac_configure_extra_args
=
13679 if $ac_cs_silent; then
13681 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13686 if \$ac_cs_recheck; then
13687 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13689 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13690 CONFIG_SHELL='$SHELL'
13691 export CONFIG_SHELL
13696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13701 ## Running $as_me. ##
13707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13715 with_multisubdir="$with_multisubdir"
13716 with_multisrctop="$with_multisrctop"
13717 with_target_subdir="$with_target_subdir"
13718 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13719 multi_basedir="$multi_basedir"
13720 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13723 GFORTRAN="$GFORTRAN"
13726 # The HP-UX ksh and POSIX shell print the target directory to stdout
13727 # if CDPATH is set.
13728 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13730 sed_quote_subst='$sed_quote_subst'
13731 double_quote_subst='$double_quote_subst'
13732 delay_variable_subst='$delay_variable_subst'
13733 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13734 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13735 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13736 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13737 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13738 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13739 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13740 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13741 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13742 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13743 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13744 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13745 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13746 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13747 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13748 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13749 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13750 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13751 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13752 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13753 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13754 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13755 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13756 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13757 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13758 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13759 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13760 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13761 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13762 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13763 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13764 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13765 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13766 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13767 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13768 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13769 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13770 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13771 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13772 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13773 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13774 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13775 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13776 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13777 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13778 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13779 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13780 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13781 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"`'
13782 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13783 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13784 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13785 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13786 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13787 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13788 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13789 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13790 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13791 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13792 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13793 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13794 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13795 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13796 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13797 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13798 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13799 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13800 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13801 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13802 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13803 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13804 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13805 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13806 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13807 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13808 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13809 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13810 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13811 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13812 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13813 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13814 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13815 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13816 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13817 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13818 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13819 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13820 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13821 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13822 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13823 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13824 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13825 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13826 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13827 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13828 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13829 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13830 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13831 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13832 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13833 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13834 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13835 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13836 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13837 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13838 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13839 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13840 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13841 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13842 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13843 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13844 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13845 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13846 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13847 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13848 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13849 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13850 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13851 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13852 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13855 LTCFLAGS='$LTCFLAGS'
13856 compiler='$compiler_DEFAULT'
13858 # A function that is used when there is no print builtin or printf.
13859 func_fallback_echo ()
13861 eval 'cat <<_LTECHO_EOF
13866 # Quote evaled strings.
13880 deplibs_check_method \
13889 lt_cv_sys_global_symbol_pipe \
13890 lt_cv_sys_global_symbol_to_cdecl \
13891 lt_cv_sys_global_symbol_to_c_name_address \
13892 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13893 lt_prog_compiler_no_builtin_flag \
13894 lt_prog_compiler_wl \
13895 lt_prog_compiler_pic \
13896 lt_prog_compiler_static \
13897 lt_cv_prog_compiler_c_o \
13905 export_dynamic_flag_spec \
13906 whole_archive_flag_spec \
13907 compiler_needs_object \
13909 allow_undefined_flag \
13910 no_undefined_flag \
13911 hardcode_libdir_flag_spec \
13912 hardcode_libdir_flag_spec_ld \
13913 hardcode_libdir_separator \
13918 variables_saved_for_relink \
13920 library_names_spec \
13922 install_override_mode \
13926 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13927 *[\\\\\\\`\\"\\\$]*)
13928 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13931 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13936 # Double-quote double-evaled strings.
13937 for var in reload_cmds \
13938 old_postinstall_cmds \
13939 old_postuninstall_cmds \
13941 extract_expsyms_cmds \
13942 old_archive_from_new_cmds \
13943 old_archive_from_expsyms_cmds \
13945 archive_expsym_cmds \
13947 module_expsym_cmds \
13948 export_symbols_cmds \
13951 postuninstall_cmds \
13953 sys_lib_search_path_spec \
13954 sys_lib_dlsearch_path_spec; do
13955 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13956 *[\\\\\\\`\\"\\\$]*)
13957 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13960 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13965 ac_aux_dir='$ac_aux_dir'
13966 xsi_shell='$xsi_shell'
13967 lt_shell_append='$lt_shell_append'
13969 # See if we are running on zsh, and set the options which allow our
13970 # commands through without removal of \ escapes INIT.
13971 if test -n "\${ZSH_VERSION+set}" ; then
13972 setopt NO_GLOB_SUBST
13978 TIMESTAMP='$TIMESTAMP'
13987 acx_cv_header_stdint="$acx_cv_header_stdint"
13988 acx_cv_type_int8_t="$acx_cv_type_int8_t"
13989 acx_cv_type_int16_t="$acx_cv_type_int16_t"
13990 acx_cv_type_int32_t="$acx_cv_type_int32_t"
13991 acx_cv_type_int64_t="$acx_cv_type_int64_t"
13992 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
13993 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
13994 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
13995 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
13996 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
13997 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
13998 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
13999 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
14000 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
14003 # Variables needed in config.status (file generation) which aren't already
14004 # passed by autoconf.
14010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14012 # Handling of arguments.
14013 for ac_config_target
in $ac_config_targets
14015 case $ac_config_target in
14016 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14017 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14018 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14019 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
14020 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14021 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
14022 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14024 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14029 # If the user did not use the arguments to specify the items to instantiate,
14030 # then the envvar interface is used. Set only those that are not.
14031 # We use the long form for the default assignment because of an extremely
14032 # bizarre bug on SunOS 4.1.3.
14033 if $ac_need_defaults; then
14034 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14035 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14036 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14039 # Have a temporary directory for convenience. Make it in the build tree
14040 # simply because there is no reason against having it here, and in addition,
14041 # creating and moving files from /tmp can sometimes cause problems.
14042 # Hook for its removal unless debugging.
14043 # Note that there is a small window in which the directory will not be cleaned:
14044 # after its creation but before its name has been assigned to `$tmp'.
14048 trap 'exit_status=$?
14049 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14051 trap 'as_fn_exit 1' 1 2 13 15
14053 # Create a (secure) tmp directory for tmp files.
14056 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14057 test -n "$tmp" && test -d "$tmp"
14060 tmp
=.
/conf$$
-$RANDOM
14061 (umask 077 && mkdir
"$tmp")
14062 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14064 # Set up the scripts for CONFIG_FILES section.
14065 # No need to generate them if there are no CONFIG_FILES.
14066 # This happens for instance with `./config.status config.h'.
14067 if test -n "$CONFIG_FILES"; then
14070 ac_cr
=`echo X | tr X '\015'`
14071 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14072 # But we know of no other shell where ac_cr would be empty at this
14073 # point, so we can use a bashism as a fallback.
14074 if test "x$ac_cr" = x
; then
14075 eval ac_cr
=\$
\'\\r
\'
14077 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14078 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14081 ac_cs_awk_cr
=$ac_cr
14084 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14089 echo "cat >conf$$subs.awk <<_ACEOF" &&
14090 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14092 } >conf$$subs.sh ||
14093 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14094 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14096 for ac_last_try in false false false false false :; do
14097 . ./conf$$subs.sh ||
14098 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14100 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14101 if test $ac_delim_n = $ac_delim_num; then
14103 elif $ac_last_try; then
14104 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14106 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14109 rm -f conf$$subs.sh
14111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14112 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14116 s/^/S["/; s
/!.
*/"]=/
14126 s/\(.\{148\}\).*/\1/
14128 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14133 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14140 s/\(.\{148\}\).*/\1/
14142 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14146 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14151 ' <conf$$subs.awk | sed '
14156 ' >>$CONFIG_STATUS || ac_write_fail=1
14157 rm -f conf$$subs.awk
14158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14160 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14161 for (key in S) S_is_set[key] = 1
14167 nfields = split(line, field, "@
")
14169 len = length(field[1])
14170 for (i = 2; i < nfields; i++) {
14172 keylen = length(key)
14173 if (S_is_set[key]) {
14175 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14176 len += length(value) + length(field[++i])
14187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14188 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14189 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14192 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14193 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14196 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14197 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14198 # trailing colons and then remove the whole line if VPATH becomes empty
14199 # (actually we leave an empty line to preserve line numbers).
14200 if test "x
$srcdir" = x.; then
14201 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14202 s/:*\$(srcdir):*/:/
14203 s/:*\${srcdir}:*/:/
14205 s/^\([^=]*=[ ]*\):*/\1/
14211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14212 fi # test -n "$CONFIG_FILES"
14214 # Set up the scripts for CONFIG_HEADERS section.
14215 # No need to generate them if there are no CONFIG_HEADERS.
14216 # This happens for instance with `./config.status Makefile'.
14217 if test -n "$CONFIG_HEADERS"; then
14218 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14222 # Transform confdefs.h into an awk script `defines.awk', embedded as
14223 # here-document in config.status, that substitutes the proper values into
14224 # config.h.in to produce config.h.
14226 # Create a delimiter string that does not exist in confdefs.h, to ease
14227 # handling of long lines.
14229 for ac_last_try in false false :; do
14230 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14231 if test -z "$ac_t"; then
14233 elif $ac_last_try; then
14234 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14236 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14240 # For the awk script, D is an array of macro values keyed by name,
14241 # likewise P contains macro parameters if any. Preserve backslash
14242 # newline sequences.
14244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14246 s/.\{148\}/&'"$ac_delim"'/g
14249 s/^[ ]*#[ ]*define[ ][ ]*/ /
14256 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14258 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14263 D["\
1"]=" \
3\\\\\\n
"\\/p
14265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14270 s/.\{148\}/&'"$ac_delim"'/g
14275 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14278 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14280 ' <confdefs.h | sed '
14281 s/'"$ac_delim"'/"\\\
14282 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14285 for (key in D) D_is_set[key] = 1
14288 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14290 split(line, arg, " ")
14291 if (arg[1] == "#") {
14295 defundef
= substr
(arg
[1], 2)
14298 split(mac1
, mac2
, "(") #)
14300 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14301 if (D_is_set
[macro
]) {
14302 # Preserve the white space surrounding the "#".
14303 print prefix
"define", macro P
[macro
] D
[macro
]
14306 # Replace #undef with comments. This is necessary, for example,
14307 # in the case of _POSIX_SOURCE, which is predefined and required
14308 # on some systems where configure will not decide to define it.
14309 if (defundef
== "undef") {
14310 print
"/*", prefix defundef
, macro
, "*/"
14318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14319 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14320 fi # test -n "$CONFIG_HEADERS"
14323 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14328 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14330 case $ac_mode$ac_tag in
14332 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14333 :[FH
]-) ac_tag
=-:-;;
14334 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14351 -) ac_f
="$tmp/stdin";;
14352 *) # Look for the file first in the build tree, then in the source tree
14353 # (if the path is not absolute). The absolute path cannot be DOS-style,
14354 # because $ac_f cannot contain `:'.
14358 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14360 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14362 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14363 as_fn_append ac_file_inputs
" '$ac_f'"
14366 # Let's still pretend it is `configure' which instantiates (i.e., don't
14367 # use $as_me), people would be surprised to read:
14368 # /* config.h. Generated by config.status. */
14369 configure_input
='Generated from '`
14370 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14372 if test x
"$ac_file" != x-
; then
14373 configure_input
="$ac_file. $configure_input"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14375 $as_echo "$as_me: creating $ac_file" >&6;}
14377 # Neutralize special characters interpreted by sed in replacement strings.
14378 case $configure_input in #(
14379 *\
&* |
*\|
* |
*\\* )
14380 ac_sed_conf_input
=`$as_echo "$configure_input" |
14381 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14382 *) ac_sed_conf_input
=$configure_input;;
14386 *:-:* |
*:-) cat >"$tmp/stdin" \
14387 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14392 ac_dir
=`$as_dirname -- "$ac_file" ||
14393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14394 X"$ac_file" : 'X\(//\)[^/]' \| \
14395 X"$ac_file" : 'X\(//\)$' \| \
14396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14397 $as_echo X"$ac_file" |
14398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14402 /^X\(\/\/\)[^/].*/{
14415 as_dir
="$ac_dir"; as_fn_mkdir_p
14419 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14421 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14422 # A ".." for each directory in $ac_dir_suffix.
14423 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14424 case $ac_top_builddir_sub in
14425 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14426 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14429 ac_abs_top_builddir
=$ac_pwd
14430 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14431 # for backward compatibility:
14432 ac_top_builddir
=$ac_top_build_prefix
14435 .
) # We are building in place.
14437 ac_top_srcdir
=$ac_top_builddir_sub
14438 ac_abs_top_srcdir
=$ac_pwd ;;
14439 [\\/]* | ?
:[\\/]* ) # Absolute name.
14440 ac_srcdir
=$srcdir$ac_dir_suffix;
14441 ac_top_srcdir
=$srcdir
14442 ac_abs_top_srcdir
=$srcdir ;;
14443 *) # Relative name.
14444 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14445 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14446 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14448 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14458 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14459 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14461 ac_MKDIR_P
=$MKDIR_P
14463 [\\/$
]* | ?
:[\\/]* ) ;;
14464 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14469 # If the template does not know about datarootdir, expand it.
14470 # FIXME: This hack should be removed a few years after 2.60.
14471 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14482 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14483 *datarootdir
*) ac_datarootdir_seen
=yes;;
14484 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14486 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14489 ac_datarootdir_hack='
14490 s&@datadir@&$datadir&g
14491 s&@docdir@&$docdir&g
14492 s&@infodir@&$infodir&g
14493 s&@localedir@&$localedir&g
14494 s&@mandir@&$mandir&g
14495 s&\\\${datarootdir}&$datarootdir&g' ;;
14499 # Neutralize VPATH when `$srcdir' = `.'.
14500 # Shell code in configure.ac might set extrasub.
14501 # FIXME: do we really want to maintain this feature?
14502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14503 ac_sed_extra="$ac_vpsub
14506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14508 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14509 s|@configure_input@|
$ac_sed_conf_input|
;t t
14510 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14511 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14512 s
&@srcdir@
&$ac_srcdir&;t t
14513 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14514 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14515 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14516 s
&@builddir@
&$ac_builddir&;t t
14517 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14518 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14519 s
&@INSTALL@
&$ac_INSTALL&;t t
14520 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14521 $ac_datarootdir_hack
14523 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14524 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14526 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14527 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14528 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14530 which seems to be undefined. Please make sure it is defined." >&5
14531 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14532 which seems to be undefined. Please make sure it is defined." >&2;}
14536 -) cat "$tmp/out" && rm -f "$tmp/out";;
14537 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14539 || as_fn_error "could not create $ac_file" "$LINENO" 5
14545 if test x"$ac_file" != x-; then
14547 $as_echo "/* $configure_input */" \
14548 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14549 } >"$tmp/config.h" \
14550 || as_fn_error "could not create $ac_file" "$LINENO" 5
14551 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14553 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14556 mv "$tmp/config.h" "$ac_file" \
14557 || as_fn_error "could not create $ac_file" "$LINENO" 5
14560 $as_echo "/* $configure_input */" \
14561 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14562 || as_fn_error "could not create -" "$LINENO" 5
14564 # Compute "$ac_file"'s index
in $config_headers.
14567 for _am_header
in $config_headers :; do
14568 case $_am_header in
14569 $_am_arg |
$_am_arg:* )
14572 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14575 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14576 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14577 X"$_am_arg" : 'X\(//\)[^/]' \| \
14578 X"$_am_arg" : 'X\(//\)$' \| \
14579 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14580 $as_echo X"$_am_arg" |
14581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14585 /^X\(\/\/\)[^/].*/{
14597 s/.*/./; q'`/stamp-h
$_am_stamp_count
14600 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14601 $as_echo "$as_me: executing $ac_file commands" >&6;}
14606 case $ac_file$ac_mode in
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
14617 # See if we are running on zsh, and set the options which allow our
14618 # commands through without removal of \ escapes.
14619 if test -n "${ZSH_VERSION+set}" ; then
14620 setopt NO_GLOB_SUBST
14623 cfgfile
="${ofile}T"
14624 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14627 cat <<_LT_EOF >> "$cfgfile"
14630 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14631 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14633 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14635 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14636 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14637 # Written by Gordon Matzigkeit, 1996
14639 # This file is part of GNU Libtool.
14641 # GNU Libtool is free software; you can redistribute it and/or
14642 # modify it under the terms of the GNU General Public License as
14643 # published by the Free Software Foundation; either version 2 of
14644 # the License, or (at your option) any later version.
14646 # As a special exception to the GNU General Public License,
14647 # if you distribute this file as part of a program or library that
14648 # is built using GNU Libtool, you may include this file under the
14649 # same distribution terms that you use for the rest of that program.
14651 # GNU Libtool is distributed in the hope that it will be useful,
14652 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14654 # GNU General Public License for more details.
14656 # You should have received a copy of the GNU General Public License
14657 # along with GNU Libtool; see the file COPYING. If not, a copy
14658 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14659 # obtained by writing to the Free Software Foundation, Inc.,
14660 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14663 # The names of the tagged configurations supported by this script.
14666 # ### BEGIN LIBTOOL CONFIG
14668 # Which release of libtool.m4 was used?
14669 macro_version=$macro_version
14670 macro_revision=$macro_revision
14672 # Whether or not to build shared libraries.
14673 build_libtool_libs=$enable_shared
14675 # Whether or not to build static libraries.
14676 build_old_libs=$enable_static
14678 # What type of objects to build.
14681 # Whether or not to optimize for fast installation.
14682 fast_install=$enable_fast_install
14684 # Shell to use when invoking shell scripts.
14687 # An echo program that protects backslashes.
14691 host_alias=$host_alias
14695 # The build system.
14696 build_alias=$build_alias
14700 # A sed program that does not truncate output.
14703 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14704 Xsed="\$SED -e 1s/^X//"
14706 # A grep program that handles long lines.
14712 # A literal string matcher.
14715 # A BSD- or MS-compatible name lister.
14718 # Whether we need soft or hard links.
14721 # What is the maximum length of a command?
14722 max_cmd_len=$max_cmd_len
14724 # Object file suffix (normally "o").
14727 # Executable file suffix (normally "").
14730 # whether the shell understands "unset".
14733 # turn spaces into newlines.
14736 # turn newlines into spaces.
14739 # An object symbol dumper.
14740 OBJDUMP=$lt_OBJDUMP
14742 # Method to check whether dependent libraries are shared objects.
14743 deplibs_check_method=$lt_deplibs_check_method
14745 # Command to use when deplibs_check_method == "file_magic".
14746 file_magic_cmd=$lt_file_magic_cmd
14750 AR_FLAGS=$lt_AR_FLAGS
14752 # A symbol stripping program.
14755 # Commands used to install an old-style archive.
14757 old_postinstall_cmds=$lt_old_postinstall_cmds
14758 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14760 # Whether to use a lock for old archive extraction.
14761 lock_old_archive_extraction=$lock_old_archive_extraction
14766 # LTCC compiler flags.
14767 LTCFLAGS=$lt_CFLAGS
14769 # Take the output of nm and produce a listing of raw symbols and C names.
14770 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14772 # Transform the output of nm in a proper C declaration.
14773 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14775 # Transform the output of nm in a C name address pair.
14776 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14778 # Transform the output of nm in a C name address pair when lib prefix is needed.
14779 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14781 # The name of the directory that contains temporary libtool files.
14784 # Used to examine libraries when file_magic_cmd begins with "file".
14785 MAGIC_CMD=$MAGIC_CMD
14787 # Must we lock files when doing compilation?
14788 need_locks=$lt_need_locks
14790 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14791 DSYMUTIL=$lt_DSYMUTIL
14793 # Tool to change global to local symbols on Mac OS X.
14796 # Tool to manipulate fat objects and archives on Mac OS X.
14799 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14802 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14803 OTOOL64=$lt_OTOOL64
14805 # Old archive suffix (normally "a").
14808 # Shared library suffix (normally ".so").
14809 shrext_cmds=$lt_shrext_cmds
14811 # The commands to extract the exported symbol list from a shared archive.
14812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14814 # Variables whose values should be saved in libtool wrapper scripts and
14815 # restored at link time.
14816 variables_saved_for_relink=$lt_variables_saved_for_relink
14818 # Do we need the "lib" prefix for modules?
14819 need_lib_prefix=$need_lib_prefix
14821 # Do we need a version for libraries?
14822 need_version=$need_version
14824 # Library versioning type.
14825 version_type=$version_type
14827 # Shared library runtime path variable.
14828 runpath_var=$runpath_var
14830 # Shared library path variable.
14831 shlibpath_var=$shlibpath_var
14833 # Is shlibpath searched before the hard-coded library search path?
14834 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14836 # Format of library name prefix.
14837 libname_spec=$lt_libname_spec
14839 # List of archive names. First name is the real one, the rest are links.
14840 # The last name is the one that the linker finds with -lNAME
14841 library_names_spec=$lt_library_names_spec
14843 # The coded name of the library, if different from the real name.
14844 soname_spec=$lt_soname_spec
14846 # Permission mode override for installation of shared libraries.
14847 install_override_mode=$lt_install_override_mode
14849 # Command to use after installation of a shared archive.
14850 postinstall_cmds=$lt_postinstall_cmds
14852 # Command to use after uninstallation of a shared archive.
14853 postuninstall_cmds=$lt_postuninstall_cmds
14855 # Commands used to finish a libtool library installation in a directory.
14856 finish_cmds=$lt_finish_cmds
14858 # As "finish_cmds", except a single script fragment to be evaled but
14860 finish_eval=$lt_finish_eval
14862 # Whether we should hardcode library paths into libraries.
14863 hardcode_into_libs=$hardcode_into_libs
14865 # Compile-time system search path for libraries.
14866 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14868 # Run-time system search path for libraries.
14869 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14871 # Whether dlopen is supported.
14872 dlopen_support=$enable_dlopen
14874 # Whether dlopen of programs is supported.
14875 dlopen_self=$enable_dlopen_self
14877 # Whether dlopen of statically linked programs is supported.
14878 dlopen_self_static=$enable_dlopen_self_static
14880 # Commands to strip libraries.
14881 old_striplib=$lt_old_striplib
14882 striplib=$lt_striplib
14885 # The linker used to build libraries.
14888 # How to create reloadable object files.
14889 reload_flag=$lt_reload_flag
14890 reload_cmds=$lt_reload_cmds
14892 # Commands used to build an old-style archive.
14893 old_archive_cmds=$lt_old_archive_cmds
14895 # A language specific compiler.
14898 # Is the compiler the GNU compiler?
14901 # Compiler flag to turn off builtin functions.
14902 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14904 # How to pass a linker flag through the compiler.
14905 wl=$lt_lt_prog_compiler_wl
14907 # Additional compiler flags for building library objects.
14908 pic_flag=$lt_lt_prog_compiler_pic
14910 # Compiler flag to prevent dynamic linking.
14911 link_static_flag=$lt_lt_prog_compiler_static
14913 # Does compiler simultaneously support -c and -o options?
14914 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14916 # Whether or not to add -lc for building shared libraries.
14917 build_libtool_need_lc=$archive_cmds_need_lc
14919 # Whether or not to disallow shared libs when runtime libs are static.
14920 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14922 # Compiler flag to allow reflexive dlopens.
14923 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14925 # Compiler flag to generate shared objects directly from archives.
14926 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14928 # Whether the compiler copes with passing no objects directly.
14929 compiler_needs_object=$lt_compiler_needs_object
14931 # Create an old-style archive from a shared archive.
14932 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14934 # Create a temporary old-style archive to link instead of a shared archive.
14935 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14937 # Commands used to build a shared archive.
14938 archive_cmds=$lt_archive_cmds
14939 archive_expsym_cmds=$lt_archive_expsym_cmds
14941 # Commands used to build a loadable module if different from building
14942 # a shared archive.
14943 module_cmds=$lt_module_cmds
14944 module_expsym_cmds=$lt_module_expsym_cmds
14946 # Whether we are building with GNU ld or not.
14947 with_gnu_ld=$lt_with_gnu_ld
14949 # Flag that allows shared libraries with undefined symbols to be built.
14950 allow_undefined_flag=$lt_allow_undefined_flag
14952 # Flag that enforces no undefined symbols.
14953 no_undefined_flag=$lt_no_undefined_flag
14955 # Flag to hardcode \$libdir into a binary during linking.
14956 # This must work even if \$libdir does not exist
14957 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14959 # If ld is used when linking, flag to hardcode \$libdir into a binary
14960 # during linking. This must work even if \$libdir does not exist.
14961 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14963 # Whether we need a single "-rpath" flag with a separated argument.
14964 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14967 # DIR into the resulting binary.
14968 hardcode_direct=$hardcode_direct
14970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14971 # DIR into the resulting binary and the resulting library dependency is
14972 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14973 # library is relocated.
14974 hardcode_direct_absolute=$hardcode_direct_absolute
14976 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14977 # into the resulting binary.
14978 hardcode_minus_L=$hardcode_minus_L
14980 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14981 # into the resulting binary.
14982 hardcode_shlibpath_var=$hardcode_shlibpath_var
14984 # Set to "yes" if building a shared library automatically hardcodes DIR
14985 # into the library and all subsequent libraries and executables linked
14987 hardcode_automatic=$hardcode_automatic
14989 # Set to yes if linker adds runtime paths of dependent libraries
14990 # to runtime path list.
14991 inherit_rpath=$inherit_rpath
14993 # Whether libtool must link a program against all its dependency libraries.
14994 link_all_deplibs=$link_all_deplibs
14996 # Fix the shell variable \$srcfile for the compiler.
14997 fix_srcfile_path=$lt_fix_srcfile_path
14999 # Set to "yes" if exported symbols are required.
15000 always_export_symbols=$always_export_symbols
15002 # The commands to list exported symbols.
15003 export_symbols_cmds=$lt_export_symbols_cmds
15005 # Symbols that should not be listed in the preloaded symbols.
15006 exclude_expsyms=$lt_exclude_expsyms
15008 # Symbols that must always be exported.
15009 include_expsyms=$lt_include_expsyms
15011 # Commands necessary for linking programs (against libraries) with templates.
15012 prelink_cmds=$lt_prelink_cmds
15014 # Specify filename containing input files.
15015 file_list_spec=$lt_file_list_spec
15017 # How to hardcode a shared library path into an executable.
15018 hardcode_action=$hardcode_action
15020 # ### END LIBTOOL CONFIG
15026 cat <<\_LT_EOF
>> "$cfgfile"
15027 # AIX sometimes has problems with the GCC collect2 program. For some
15028 # reason, if we set the COLLECT_NAMES environment variable, the problems
15029 # vanish in a puff of smoke.
15030 if test "X${COLLECT_NAMES+set}" != Xset
; then
15032 export COLLECT_NAMES
15039 ltmain
="$ac_aux_dir/ltmain.sh"
15042 # We use sed instead of cat because bash on DJGPP gets confused if
15043 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15044 # text mode, it properly converts lines to CR/LF. This bash problem
15045 # is reportedly fixed, but why not run on old versions too?
15046 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15047 ||
(rm -f "$cfgfile"; exit 1)
15051 cat << \_LT_EOF
>> "$cfgfile"
15053 # func_dirname file append nondir_replacement
15054 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15055 # otherwise set result to NONDIR_REPLACEMENT.
15059 */*) func_dirname_result
="${1%/*}${2}" ;;
15060 * ) func_dirname_result
="${3}" ;;
15064 # func_basename file
15067 func_basename_result
="${1##*/}"
15070 # func_dirname_and_basename file append nondir_replacement
15071 # perform func_basename and func_dirname in a single function
15073 # dirname: Compute the dirname of FILE. If nonempty,
15074 # add APPEND to the result, otherwise set result
15075 # to NONDIR_REPLACEMENT.
15076 # value returned in "$func_dirname_result"
15077 # basename: Compute filename of FILE.
15078 # value retuned in "$func_basename_result"
15079 # Implementation must be kept synchronized with func_dirname
15080 # and func_basename. For efficiency, we do not delegate to
15081 # those functions but instead duplicate the functionality here.
15082 func_dirname_and_basename
()
15085 */*) func_dirname_result
="${1%/*}${2}" ;;
15086 * ) func_dirname_result
="${3}" ;;
15088 func_basename_result
="${1##*/}"
15091 # func_stripname prefix suffix name
15092 # strip PREFIX and SUFFIX off of NAME.
15093 # PREFIX and SUFFIX must not contain globbing or regex special
15094 # characters, hashes, percent signs, but SUFFIX may contain a leading
15095 # dot (in which case that matches only a dot).
15098 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15099 # positional parameters, so assign one to ordinary parameter first.
15100 func_stripname_result
=${3}
15101 func_stripname_result
=${func_stripname_result#"${1}"}
15102 func_stripname_result
=${func_stripname_result%"${2}"}
15108 func_opt_split_opt
=${1%%=*}
15109 func_opt_split_arg
=${1#*=}
15116 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15117 *) func_lo2o_result
=${1} ;;
15121 # func_xform libobj-or-source
15124 func_xform_result
=${1%.*}.lo
15127 # func_arith arithmetic-term...
15130 func_arith_result
=$
(( $
* ))
15134 # STRING may not start with a hyphen.
15137 func_len_result
=${#1}
15142 *) # Bourne compatible functions.
15143 cat << \_LT_EOF
>> "$cfgfile"
15145 # func_dirname file append nondir_replacement
15146 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15147 # otherwise set result to NONDIR_REPLACEMENT.
15150 # Extract subdirectory from the argument.
15151 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15152 if test "X$func_dirname_result" = "X${1}"; then
15153 func_dirname_result
="${3}"
15155 func_dirname_result
="$func_dirname_result${2}"
15159 # func_basename file
15162 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15166 # func_stripname prefix suffix name
15167 # strip PREFIX and SUFFIX off of NAME.
15168 # PREFIX and SUFFIX must not contain globbing or regex special
15169 # characters, hashes, percent signs, but SUFFIX may contain a leading
15170 # dot (in which case that matches only a dot).
15171 # func_strip_suffix prefix name
15175 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15176 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15181 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15182 my_sed_long_arg
='1s/^-[^=]*=//'
15187 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15188 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15194 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15197 # func_xform libobj-or-source
15200 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15203 # func_arith arithmetic-term...
15206 func_arith_result
=`expr "$@"`
15210 # STRING may not start with a hyphen.
15213 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15219 case $lt_shell_append in
15221 cat << \_LT_EOF
>> "$cfgfile"
15223 # func_append var value
15224 # Append VALUE to the end of shell variable VAR.
15232 cat << \_LT_EOF
>> "$cfgfile"
15234 # func_append var value
15235 # Append VALUE to the end of shell variable VAR.
15246 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15247 ||
(rm -f "$cfgfile"; exit 1)
15249 mv -f "$cfgfile" "$ofile" ||
15250 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15255 if test "$GCC" = yes; then
15256 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
15258 echo "/* generated for $CC */" > tmp-stdint.h
15261 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15263 #ifndef GCC_GENERATED_STDINT_H
15264 #define GCC_GENERATED_STDINT_H 1
15266 #include <sys/types.h>
15269 if test "$acx_cv_header_stdint" != stdint.h
; then
15270 echo "#include <stddef.h>" >> tmp-stdint.h
15272 if test "$acx_cv_header_stdint" != stddef.h
; then
15273 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
15276 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15277 /* glibc uses these symbols as guards to prevent redefinitions. */
15278 #ifdef __int8_t_defined
15283 #ifdef __uint32_t_defined
15289 # ----------------- done header, emit basic int types -------------
15290 if test "$acx_cv_header_stdint" = stddef.h
; then
15291 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15295 #ifndef __uint8_t_defined
15296 #define __uint8_t_defined
15298 typedef unsigned $acx_cv_type_int8_t uint8_t;
15305 #ifndef __uint16_t_defined
15306 #define __uint16_t_defined
15308 typedef unsigned $acx_cv_type_int16_t uint16_t;
15315 #ifndef __uint32_t_defined
15316 #define __uint32_t_defined
15318 typedef unsigned $acx_cv_type_int32_t uint32_t;
15325 #ifndef __int8_t_defined
15326 #define __int8_t_defined
15328 typedef $acx_cv_type_int8_t int8_t;
15335 #ifndef __int16_t_defined
15336 #define __int16_t_defined
15338 typedef $acx_cv_type_int16_t int16_t;
15345 #ifndef __int32_t_defined
15346 #define __int32_t_defined
15348 typedef $acx_cv_type_int32_t int32_t;
15353 elif test "$ac_cv_type_u_int32_t" = yes; then
15354 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15356 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
15369 #ifndef __uint8_t_defined
15370 #define __uint8_t_defined
15372 typedef u_int8_t uint8_t;
15379 #ifndef __uint16_t_defined
15380 #define __uint16_t_defined
15382 typedef u_int16_t uint16_t;
15389 #ifndef __uint32_t_defined
15390 #define __uint32_t_defined
15392 typedef u_int32_t uint32_t;
15398 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15400 /* Some systems have guard macros to prevent redefinitions, define them. */
15422 # ------------- done basic int types, emit int64_t types ------------
15423 if test "$ac_cv_type_uint64_t" = yes; then
15424 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15426 /* system headers have good uint64_t and int64_t */
15434 elif test "$ac_cv_type_u_int64_t" = yes; then
15435 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15437 /* system headers have an u_int64_t (and int64_t) */
15443 #ifndef __uint64_t_defined
15444 #define __uint64_t_defined
15446 typedef u_int64_t uint64_t;
15451 elif test -n "$acx_cv_type_int64_t"; then
15452 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15454 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
15458 typedef $acx_cv_type_int64_t int64_t;
15463 #ifndef __uint64_t_defined
15464 #define __uint64_t_defined
15466 typedef unsigned $acx_cv_type_int64_t uint64_t;
15472 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15474 /* some common heuristics for int64_t, using compiler-specific tests */
15475 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
15478 #ifndef __int64_t_defined
15480 typedef long long int64_t;
15487 typedef unsigned long long uint64_t;
15491 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
15492 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
15493 does not implement __extension__. But that compiler doesn't define
15495 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
15496 # define __extension__
15502 __extension__ typedef long long int64_t;
15508 __extension__ typedef unsigned long long uint64_t;
15512 #elif !defined __STRICT_ANSI__
15513 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
15518 typedef __int64 int64_t;
15524 typedef unsigned __int64 uint64_t;
15527 # endif /* compiler */
15529 #endif /* ANSI version */
15533 # ------------- done int64_t types, emit intptr types ------------
15534 if test "$ac_cv_type_uintptr_t" != yes; then
15535 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15537 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
15538 #ifndef __uintptr_t_defined
15540 typedef u$acx_cv_type_intptr_t uintptr_t;
15543 #ifndef __intptr_t_defined
15545 typedef $acx_cv_type_intptr_t intptr_t;
15551 # ------------- done intptr types, emit int_least types ------------
15552 if test "$ac_cv_type_int_least32_t" != yes; then
15553 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15555 /* Define int_least types */
15556 typedef int8_t int_least8_t;
15557 typedef int16_t int_least16_t;
15558 typedef int32_t int_least32_t;
15560 typedef int64_t int_least64_t;
15563 typedef uint8_t uint_least8_t;
15564 typedef uint16_t uint_least16_t;
15565 typedef uint32_t uint_least32_t;
15567 typedef uint64_t uint_least64_t;
15572 # ------------- done intptr types, emit int_fast types ------------
15573 if test "$ac_cv_type_int_fast32_t" != yes; then
15574 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15576 /* Define int_fast types. short is often slow */
15577 typedef int8_t int_fast8_t;
15578 typedef int int_fast16_t;
15579 typedef int32_t int_fast32_t;
15581 typedef int64_t int_fast64_t;
15584 typedef uint8_t uint_fast8_t;
15585 typedef unsigned int uint_fast16_t;
15586 typedef uint32_t uint_fast32_t;
15588 typedef uint64_t uint_fast64_t;
15593 if test "$ac_cv_type_uintmax_t" != yes; then
15594 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15596 /* Define intmax based on what we found */
15599 typedef int64_t intmax_t;
15601 typedef long intmax_t;
15606 typedef uint64_t uintmax_t;
15608 typedef unsigned long uintmax_t;
15614 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15616 #endif /* GCC_GENERATED_STDINT_H */
15619 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
15622 mv -f tmp-stdint.h gstdint.h
15626 "default":C
) if test -n "$CONFIG_FILES"; then
15627 if test -n "${with_target_subdir}"; then
15628 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15629 # that multilib installs will end up installed in the correct place.
15630 # The testsuite needs it for multilib-aware ABI baseline files.
15631 # To work around this not being passed down from config-ml.in ->
15632 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
15633 # append it here. Only modify Makefiles that have just been created.
15635 # Also, get rid of this simulated-VPATH thing that automake does.
15636 cat > vpsed
<< \_EOF
15637 s
!`test -f '$<' || echo '$(srcdir)/'`!!
15639 for i
in $SUBDIRS; do
15640 case $CONFIG_FILES in
15642 #echo "Adding MULTISUBDIR to $i/Makefile"
15643 sed -f vpsed
$i/Makefile
> tmp
15644 grep '^MULTISUBDIR =' Makefile
>> tmp
15660 ac_clean_files
=$ac_clean_files_save
15662 test $ac_write_fail = 0 ||
15663 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15666 # configure is writing to config.log, and then calls config.status.
15667 # config.status does its own redirection, appending to config.log.
15668 # Unfortunately, on DOS this fails, as config.log is still kept open
15669 # by configure, so config.status won't be able to write to it; its
15670 # output is simply discarded. So we exec the FD to /dev/null,
15671 # effectively closing config.log, so it can be properly (re)opened and
15672 # appended to by config.status. When coming back to configure, we
15673 # need to make the FD available again.
15674 if test "$no_create" != yes; then
15676 ac_config_status_args
=
15677 test "$silent" = yes &&
15678 ac_config_status_args
="$ac_config_status_args --quiet"
15680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15683 # would make configure fail if this is the last instruction.
15684 $ac_cs_success || as_fn_exit $?
15686 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15688 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}