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
610 BACKTRACE_USES_MALLOC
613 BACKTRACE_SUPPORTS_DATA
616 BACKTRACE_SUPPORTS_THREADS
638 MAINTAINER_MODE_FALSE
648 INSTALL_STRIP_PROGRAM
714 program_transform_name
727 enable_option_checking
729 enable_maintainer_mode
738 with_system_libunwind
741 ac_precious_vars
='build_alias
752 # Initialize some variables set by options.
754 ac_init_version
=false
755 ac_unrecognized_opts
=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name
=s
,x
,x
,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir
='${exec_prefix}/bin'
781 sbindir
='${exec_prefix}/sbin'
782 libexecdir
='${exec_prefix}/libexec'
783 datarootdir
='${prefix}/share'
784 datadir
='${datarootdir}'
785 sysconfdir
='${prefix}/etc'
786 sharedstatedir
='${prefix}/com'
787 localstatedir
='${prefix}/var'
788 includedir
='${prefix}/include'
789 oldincludedir
='/usr/include'
790 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir
='${datarootdir}/info'
796 libdir
='${exec_prefix}/lib'
797 localedir
='${datarootdir}/locale'
798 mandir
='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\
$ac_option
812 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
824 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
827 -build |
--build |
--buil |
--bui |
--bu)
828 ac_prev
=build_alias
;;
829 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
830 build_alias
=$ac_optarg ;;
832 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
833 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
834 ac_prev
=cache_file
;;
835 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
836 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
837 cache_file
=$ac_optarg ;;
840 cache_file
=config.cache
;;
842 -datadir |
--datadir |
--datadi |
--datad)
844 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
845 datadir
=$ac_optarg ;;
847 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
848 |
--dataroo |
--dataro |
--datar)
849 ac_prev
=datarootdir
;;
850 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
851 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
852 datarootdir
=$ac_optarg ;;
854 -disable-* |
--disable-*)
855 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
858 as_fn_error
"invalid feature name: $ac_useropt"
859 ac_useropt_orig
=$ac_useropt
860 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep
=', ';;
868 eval enable_
$ac_useropt=no
;;
870 -docdir |
--docdir |
--docdi |
--doc |
--do)
872 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
875 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
877 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
880 -enable-* |
--enable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=\
$ac_optarg ;;
896 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
897 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
898 |
--exec |
--exe |
--ex)
899 ac_prev
=exec_prefix
;;
900 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
901 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
902 |
--exec=* |
--exe=* |
--ex=*)
903 exec_prefix
=$ac_optarg ;;
905 -gas |
--gas |
--ga |
--g)
906 # Obsolete; use --with-gas.
909 -help |
--help |
--hel |
--he |
-h)
911 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
912 ac_init_help
=recursive
;;
913 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
914 ac_init_help
=short
;;
916 -host |
--host |
--hos |
--ho)
917 ac_prev
=host_alias
;;
918 -host=* |
--host=* |
--hos=* |
--ho=*)
919 host_alias
=$ac_optarg ;;
921 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
923 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
925 htmldir
=$ac_optarg ;;
927 -includedir |
--includedir |
--includedi |
--included |
--include \
928 |
--includ |
--inclu |
--incl |
--inc)
929 ac_prev
=includedir
;;
930 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
931 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
932 includedir
=$ac_optarg ;;
934 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
936 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
937 infodir
=$ac_optarg ;;
939 -libdir |
--libdir |
--libdi |
--libd)
941 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
944 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
945 |
--libexe |
--libex |
--libe)
946 ac_prev
=libexecdir
;;
947 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
948 |
--libexe=* |
--libex=* |
--libe=*)
949 libexecdir
=$ac_optarg ;;
951 -localedir |
--localedir |
--localedi |
--localed |
--locale)
953 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
954 localedir
=$ac_optarg ;;
956 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
957 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
958 ac_prev
=localstatedir
;;
959 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
960 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
961 localstatedir
=$ac_optarg ;;
963 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
965 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
969 # Obsolete; use --without-fp.
972 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
973 |
--no-cr |
--no-c |
-n)
976 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
977 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
980 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
981 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
982 |
--oldin |
--oldi |
--old |
--ol |
--o)
983 ac_prev
=oldincludedir
;;
984 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
985 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
986 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
987 oldincludedir
=$ac_optarg ;;
989 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
991 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
994 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
995 |
--program-pre |
--program-pr |
--program-p)
996 ac_prev
=program_prefix
;;
997 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
998 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
999 program_prefix
=$ac_optarg ;;
1001 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1002 |
--program-suf |
--program-su |
--program-s)
1003 ac_prev
=program_suffix
;;
1004 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1005 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1006 program_suffix
=$ac_optarg ;;
1008 -program-transform-name |
--program-transform-name \
1009 |
--program-transform-nam |
--program-transform-na \
1010 |
--program-transform-n |
--program-transform- \
1011 |
--program-transform |
--program-transfor \
1012 |
--program-transfo |
--program-transf \
1013 |
--program-trans |
--program-tran \
1014 |
--progr-tra |
--program-tr |
--program-t)
1015 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1025 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1027 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1028 pdfdir
=$ac_optarg ;;
1030 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1032 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1036 |
-silent |
--silent |
--silen |
--sile |
--sil)
1039 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1041 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1043 sbindir
=$ac_optarg ;;
1045 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1046 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1047 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1049 ac_prev
=sharedstatedir
;;
1050 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1051 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1052 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1054 sharedstatedir
=$ac_optarg ;;
1056 -site |
--site |
--sit)
1058 -site=* |
--site=* |
--sit=*)
1061 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1063 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1064 srcdir
=$ac_optarg ;;
1066 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1067 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1068 ac_prev
=sysconfdir
;;
1069 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1070 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1071 sysconfdir
=$ac_optarg ;;
1073 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1074 ac_prev
=target_alias
;;
1075 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1076 target_alias
=$ac_optarg ;;
1078 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1081 -version |
--version |
--versio |
--versi |
--vers |
-V)
1082 ac_init_version
=: ;;
1085 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error
"invalid package name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval with_
$ac_useropt=\
$ac_optarg ;;
1100 -without-* |
--without-*)
1101 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=no
;;
1117 # Obsolete; use --with-x.
1120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1122 ac_prev
=x_includes
;;
1123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1125 x_includes
=$ac_optarg ;;
1127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1129 ac_prev
=x_libraries
;;
1130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1132 x_libraries
=$ac_optarg ;;
1134 -*) as_fn_error
"unrecognized option: \`$ac_option'
1135 Try \`$0 --help' for more information."
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 case $ac_envvar in #(
1142 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1143 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1145 eval $ac_envvar=\
$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 if test -n "$ac_prev"; then
1160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1161 as_fn_error
"missing argument to $ac_option"
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val
=\$
$ac_var
1179 # Remove trailing slashes.
1182 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\
$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$
]* | ?
:[\\/]* ) continue;;
1188 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1190 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target
=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x
; then
1202 if test "x$build_alias" = x
; then
1203 cross_compiling
=maybe
1204 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1214 test "$silent" = yes && exec 6>/dev
/null
1217 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di
=`ls -di .` &&
1219 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1220 as_fn_error
"working directory cannot be determined"
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 as_fn_error
"pwd does not report name of working directory"
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$as_myself" ||
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$as_myself" : 'X\(//\)[^/]' \| \
1232 X"$as_myself" : 'X\(//\)$' \| \
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1234 $as_echo X"$as_myself" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1275 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 for ac_var
in $ac_precious_vars; do
1278 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1280 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1291 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --program-prefix=PREFIX prepend PREFIX to installed program names
1350 --program-suffix=SUFFIX append SUFFIX to installed program names
1351 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1356 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of package-unused version-unused:";;
1367 --disable-option-checking ignore unrecognized
--enable/--with options
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --enable-multilib build many library versions
(default
)
1371 --enable-maintainer-mode enable make rules and dependencies not useful
1372 (and sometimes confusing
) to the casual installer
1373 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1374 --enable-static[=PKGS
] build static libraries
[default
=yes]
1375 --enable-fast-install[=PKGS
]
1376 optimize
for fast installation
[default
=yes]
1377 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1378 --disable-largefile omit support
for large files
1379 --enable-host-shared build
host code as shared libraries
1382 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1383 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1384 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1385 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1387 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1388 --with-system-libunwind use installed libunwind
1390 Some influential environment variables
:
1391 CC C compiler
command
1392 CFLAGS C compiler flags
1393 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1394 nonstandard directory
<lib dir
>
1395 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1396 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1397 you have headers
in a nonstandard directory
<include dir
>
1400 Use these variables to override the choices made by
`configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1403 Report bugs to the package provider.
1408 if test "$ac_init_help" = "recursive"; then
1409 # If there are subdirs, report their specific --help.
1410 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411 test -d "$ac_dir" ||
1412 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1420 # A ".." for each directory in $ac_dir_suffix.
1421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1422 case $ac_top_builddir_sub in
1423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1433 .) # We are building in place.
1435 ac_top_srcdir=$ac_top_builddir_sub
1436 ac_abs_top_srcdir=$ac_pwd ;;
1437 [\\/]* | ?:[\\/]* ) # Absolute name.
1438 ac_srcdir=$srcdir$ac_dir_suffix;
1439 ac_top_srcdir=$srcdir
1440 ac_abs_top_srcdir=$srcdir ;;
1442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443 ac_top_srcdir=$ac_top_build_prefix$srcdir
1444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1448 cd "$ac_dir" || { ac_status=$?; continue; }
1449 # Check for guested configure.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1457 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1466 package-unused configure version-unused
1467 generated by GNU Autoconf 2.64
1469 Copyright (C) 2009 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext
1487 if { { ac_try="$ac_compile"
1489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1490 *) ac_try_echo
=$ac_try;;
1492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1496 if test -s conftest.err
; then
1497 grep -v '^ *+' conftest.err
>conftest.er1
1498 cat conftest.er1
>&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.
$ac_objext; then :
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.
$ac_ext >&5
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1516 } # ac_fn_c_try_compile
1518 # ac_fn_c_try_cpp LINENO
1519 # ----------------------
1520 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1524 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } >/dev/null && {
1540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1555 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1556 # -------------------------------------------------------
1557 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1558 # the include files in INCLUDES and setting the cache variable VAR
1560 ac_fn_c_check_header_mongrel ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 $as_echo_n "(cached) " >&6
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1573 # Is the header compilable?
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1575 $as_echo_n "checking $2 usability... " >&6; }
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582 ac_header_compiler=yes
1584 ac_header_compiler=no
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1588 $as_echo "$ac_header_compiler" >&6; }
1590 # Is the header present?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1592 $as_echo_n "checking $2 presence... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1597 if ac_fn_c_try_cpp "$LINENO"; then :
1598 ac_header_preproc=yes
1600 ac_header_preproc=no
1602 rm -f conftest.err conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1604 $as_echo "$ac_header_preproc" >&6; }
1606 # So? What about this header?
1607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1610 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1616 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1618 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1620 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1622 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1630 $as_echo_n "(cached) " >&6
1632 eval "$3=\$ac_header_compiler"
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1640 } # ac_fn_c_check_header_mongrel
1642 # ac_fn_c_try_run LINENO
1643 # ----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1645 # that executables *can* be run.
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if { { ac_try="$ac_link"
1651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1652 *) ac_try_echo
=$ac_try;;
1654 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>&5
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1660 { { case "(($ac_try" in
1661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_try") 2>&5
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; }; }; then :
1672 $as_echo "$as_me: program exited with status $ac_status" >&5
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1676 ac_retval=$ac_status
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists and can be compiled using the include files in
1687 # INCLUDES, setting the cache variable VAR accordingly.
1688 ac_fn_c_check_header_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1694 $as_echo_n "(cached) " >&6
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713 } # ac_fn_c_check_header_compile
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext conftest$ac_exeext
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest
$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 $as_test_x conftest
$ac_exeext
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1759 } # ac_fn_c_try_link
1761 # ac_fn_c_check_func LINENO FUNC VAR
1762 # ----------------------------------
1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1764 ac_fn_c_check_func
()
1766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1776 #define $2 innocuous_$2
1778 /* System header to define __stub macros and hopefully few prototypes,
1779 which can conflict with char $2 (); below.
1780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781 <limits.h> exists even on freestanding compilers. */
1784 # include <limits.h>
1786 # include <assert.h>
1791 /* Override any GCC internal prototype to avoid an error.
1792 Use char because int might match the return type of a GCC
1793 builtin and then its argument prototype would still apply. */
1798 /* The GNU C library defines this for functions which it implements
1799 to always fail with ENOSYS. Some functions are actually named
1800 something starting with __ and the normal name is an alias. */
1801 #if defined __stub_$2 || defined __stub___$2
1813 if ac_fn_c_try_link
"$LINENO"; then :
1818 rm -f core conftest.err conftest.
$ac_objext \
1819 conftest
$ac_exeext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1826 } # ac_fn_c_check_func
1828 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1829 # -------------------------------------------
1830 # Tests whether TYPE exists after having included INCLUDES, setting cache
1831 # variable VAR accordingly.
1832 ac_fn_c_check_type
()
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838 $as_echo_n "(cached) " >&6
1841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1853 if ac_fn_c_try_compile
"$LINENO"; then :
1854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1866 if ac_fn_c_try_compile
"$LINENO"; then :
1871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1880 } # ac_fn_c_check_type
1882 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1883 # --------------------------------------------
1884 # Tries to find the compile-time value of EXPR in a program that includes
1885 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1887 ac_fn_c_compute_int
()
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 if test "$cross_compiling" = yes; then
1891 # Depending upon the size, compute the lo and hi bounds.
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1898 static int test_array [1 - 2 * !(($2) >= 0)];
1905 if ac_fn_c_try_compile
"$LINENO"; then :
1908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1914 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1921 if ac_fn_c_try_compile
"$LINENO"; then :
1922 ac_hi
=$ac_mid; break
1924 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1925 if test $ac_lo -le $ac_mid; then
1929 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1940 static int test_array [1 - 2 * !(($2) < 0)];
1947 if ac_fn_c_try_compile
"$LINENO"; then :
1950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1956 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1963 if ac_fn_c_try_compile
"$LINENO"; then :
1964 ac_lo
=$ac_mid; break
1966 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1967 if test $ac_mid -le $ac_hi; then
1971 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1981 # Binary search between lo and hi bounds.
1982 while test "x$ac_lo" != "x$ac_hi"; do
1983 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1990 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1997 if ac_fn_c_try_compile
"$LINENO"; then :
2000 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2005 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2012 static long int longval () { return $2; }
2013 static unsigned long int ulongval () { return $2; }
2020 FILE *f = fopen ("conftest.val", "w");
2025 long int i = longval ();
2028 fprintf (f, "%ld", i);
2032 unsigned long int i = ulongval ();
2035 fprintf (f, "%lu", i);
2037 /* Do not output a trailing newline, as this causes \r\n confusion
2038 on some platforms. */
2039 return ferror (f) || fclose (f) != 0;
2045 if ac_fn_c_try_run
"$LINENO"; then :
2046 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2050 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2051 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2058 } # ac_fn_c_compute_int
2060 # ac_fn_c_check_decl LINENO SYMBOL VAR
2061 # ------------------------------------
2062 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2063 ac_fn_c_check_decl
()
2065 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2066 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2067 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2069 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2070 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2079 #ifndef $as_decl_name
2081 (void) $as_decl_use;
2083 (void) $as_decl_name;
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2103 } # ac_fn_c_check_decl
2104 cat >config.log
<<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2108 It was created by package-unused $as_me version-unused, which was
2109 generated by GNU Autoconf 2.64. Invocation command line was
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 $as_echo "PATH: $as_dir"
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_must_keep_next
=false
2175 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2177 |
-silent |
--silent |
--silen |
--sile |
--sil)
2180 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2185 as_fn_append ac_configure_args1
" '$ac_arg'"
2186 if test $ac_must_keep_next = true
; then
2187 ac_must_keep_next
=false
# Got value, back to normal.
2190 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2191 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2192 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2193 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2194 case "$ac_configure_args0 " in
2195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2198 -* ) ac_must_keep_next
=true
;;
2201 as_fn_append ac_configure_args
" '$ac_arg'"
2206 { ac_configure_args0
=; unset ac_configure_args0
;}
2207 { ac_configure_args1
=; unset ac_configure_args1
;}
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log. We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215 # Save into config.log some information that might help in debugging.
2220 ## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##
2225 # The following way of writing the cache mishandles newlines in values,
2227 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2228 eval ac_val=\$$ac_var
2232 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2236 _ | IFS | as_nl) ;; #(
2237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2238 *) { eval $ac_var=; unset $ac_var;} ;;
2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2244 *${as_nl}ac_space=\ *)
2246 "s/'\''/'\''\\\\'\'''\''/g;
2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2258 ## ----------------- ##
2259 ## Output variables. ##
2260 ## ----------------- ##
2263 for ac_var in $ac_subst_vars
2265 eval ac_val=\$$ac_var
2267 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269 $as_echo "$ac_var='\''$ac_val'\''"
2273 if test -n "$ac_subst_files"; then
2275 ## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##
2280 for ac_var
in $ac_subst_files
2282 eval ac_val
=\$
$ac_var
2284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 $as_echo "$ac_var='\''$ac_val'\''"
2291 if test -s confdefs.h; then
2301 test "$ac_signal" != 0 &&
2302 $as_echo "$as_me: caught signal $ac_signal"
2303 $as_echo "$as_me: exit $exit_status"
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 for ac_signal
in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest
* confdefs.h
2317 $as_echo "/* confdefs.h */" > confdefs.h
2319 # Predefined preprocessor variables.
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_STRING "$PACKAGE_STRING"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2341 cat >>confdefs.h
<<_ACEOF
2342 #define PACKAGE_URL "$PACKAGE_URL"
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer an explicitly selected file to automatically selected ones.
2350 if test -n "$CONFIG_SITE"; then
2351 ac_site_file1
=$CONFIG_SITE
2352 elif test "x$prefix" != xNONE
; then
2353 ac_site_file1
=$prefix/share
/config.site
2354 ac_site_file2
=$prefix/etc
/config.site
2356 ac_site_file1
=$ac_default_prefix/share
/config.site
2357 ac_site_file2
=$ac_default_prefix/etc
/config.site
2359 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2361 test "x$ac_site_file" = xNONE
&& continue
2362 if test -r "$ac_site_file"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2364 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special
2372 # files actually), so we avoid doing that.
2373 if test -f "$cache_file"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2375 $as_echo "$as_me: loading cache $cache_file" >&6;}
2377 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2378 *) .
"./$cache_file";;
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2383 $as_echo "$as_me: creating cache $cache_file" >&6;}
2387 # Check that the precious variables saved in the cache have kept the same
2389 ac_cache_corrupted
=false
2390 for ac_var
in $ac_precious_vars; do
2391 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2392 eval ac_new_set
=\
$ac_env_${ac_var}_set
2393 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2394 eval ac_new_val
=\
$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted
=: ;;
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2402 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted
=: ;;
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 # differences in whitespace do not lead to failure.
2408 ac_old_val_w
=`echo x $ac_old_val`
2409 ac_new_val_w
=`echo x $ac_new_val`
2410 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2412 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2413 ac_cache_corrupted
=:
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2416 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2417 eval $ac_var=\
$ac_old_val
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2420 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2422 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2425 # Pass precious variables to config.status.
2426 if test "$ac_new_set" = set; then
2428 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2429 *) ac_arg
=$ac_var=$ac_new_val ;;
2431 case " $ac_configure_args " in
2432 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2433 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2437 if $ac_cache_corrupted; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2444 ## -------------------- ##
2445 ## Main body of script. ##
2446 ## -------------------- ##
2449 ac_cpp
='$CPP $CPPFLAGS'
2450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2459 ac_config_headers
="$ac_config_headers config.h"
2462 if test -n "${with_target_subdir}"; then
2463 # Default to --enable-multilib
2464 # Check whether --enable-multilib was given.
2465 if test "${enable_multilib+set}" = set; then :
2466 enableval
=$enable_multilib; case "$enableval" in
2467 yes) multilib
=yes ;;
2469 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2476 # We may get other options which we leave undocumented:
2477 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2478 # See config-ml.in if you want the gory details.
2480 if test "$srcdir" = "."; then
2481 if test "$with_target_subdir" != "."; then
2482 multi_basedir
="$srcdir/$with_multisrctop../.."
2484 multi_basedir
="$srcdir/$with_multisrctop.."
2487 multi_basedir
="$srcdir/.."
2491 # Even if the default multilib is not a cross compilation,
2492 # it may be that some of the other multilibs are.
2493 if test $cross_compiling = no
&& test $multilib = yes \
2494 && test "x${with_multisubdir}" != x
; then
2495 cross_compiling
=maybe
2498 ac_config_commands
="$ac_config_commands default-1"
2503 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2504 for ac_t
in install-sh
install.sh shtool
; do
2505 if test -f "$ac_dir/$ac_t"; then
2507 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2512 if test -z "$ac_aux_dir"; then
2513 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2516 # These three variables are undocumented and unsupported,
2517 # and are intended to be withdrawn in a future Autoconf release.
2518 # They can cause serious problems if a builder's source tree is in a directory
2519 # whose full name contains unusual characters.
2520 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2521 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2522 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2525 # Make sure we can run config.sub.
2526 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2527 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2530 $as_echo_n "checking build system type... " >&6; }
2531 if test "${ac_cv_build+set}" = set; then :
2532 $as_echo_n "(cached) " >&6
2534 ac_build_alias
=$build_alias
2535 test "x$ac_build_alias" = x
&&
2536 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2537 test "x$ac_build_alias" = x
&&
2538 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2539 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2540 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2544 $as_echo "$ac_cv_build" >&6; }
2545 case $ac_cv_build in
2547 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2550 ac_save_IFS
=$IFS; IFS
='-'
2556 # Remember, the first character of IFS is used to create $*,
2557 # except with old shells:
2560 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2564 $as_echo_n "checking host system type... " >&6; }
2565 if test "${ac_cv_host+set}" = set; then :
2566 $as_echo_n "(cached) " >&6
2568 if test "x$host_alias" = x
; then
2569 ac_cv_host
=$ac_cv_build
2571 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2572 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2577 $as_echo "$ac_cv_host" >&6; }
2580 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2583 ac_save_IFS
=$IFS; IFS
='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2597 $as_echo_n "checking target system type... " >&6; }
2598 if test "${ac_cv_target+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 if test "x$target_alias" = x
; then
2602 ac_cv_target
=$ac_cv_host
2604 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2605 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2610 $as_echo "$ac_cv_target" >&6; }
2611 case $ac_cv_target in
2613 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2615 target
=$ac_cv_target
2616 ac_save_IFS
=$IFS; IFS
='-'
2622 # Remember, the first character of IFS is used to create $*,
2623 # except with old shells:
2626 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2629 # The aliases save the names the user supplied, while $host etc.
2630 # will get canonicalized.
2631 test -n "$target_alias" &&
2632 test "$program_prefix$program_suffix$program_transform_name" = \
2634 program_prefix
=${target_alias}-
2636 target_alias
=${target_alias-$host_alias}
2639 ac_cpp
='$CPP $CPPFLAGS'
2640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if test "${ac_cv_prog_CC+set}" = set; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC
="$CC" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2674 $as_echo "$CC" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2682 if test -z "$ac_cv_prog_CC"; then
2684 # Extract the first word of "gcc", so it can be a program name with args.
2685 set dummy gcc
; ac_word
=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 for ac_exec_ext
in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_ac_ct_CC
="gcc"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2720 if test "x$ac_ct_CC" = x
; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727 ac_tool_warned
=yes ;;
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2738 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if test "${ac_cv_prog_CC+set}" = set; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC
="$CC" # Let the user override the test.
2747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir
=.
2752 for ac_exec_ext
in '' $ac_executable_extensions; do
2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 # Extract the first word of "cc", so it can be a program name with args.
2778 set dummy cc
; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if test "${ac_cv_prog_CC+set}" = set; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC
="$CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2796 ac_prog_rejected
=yes
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test $ac_prog_rejected = yes; then
2808 # We found a bogon in the path, so make sure we never use it.
2809 set dummy
$ac_cv_prog_CC
2811 if test $# != 0; then
2812 # We chose a different compiler from the bogus one.
2813 # However, it has the same basename, so the bogon will be chosen
2814 # first if we set CC to just the basename; use the full file name.
2816 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2832 if test -z "$CC"; then
2833 if test -n "$ac_tool_prefix"; then
2834 for ac_prog
in cl.exe
2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if test "${ac_cv_prog_CC+set}" = set; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC
="$CC" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2853 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$CC" && break
2876 if test -z "$CC"; then
2878 for ac_prog
in cl.exe
2880 # Extract the first word of "$ac_prog", so it can be a program name with args.
2881 set dummy
$ac_prog; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$ac_ct_CC"; then
2888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_ac_ct_CC
="$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2908 if test -n "$ac_ct_CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2910 $as_echo "$ac_ct_CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$ac_ct_CC" && break
2920 if test "x$ac_ct_CC" = x
; then
2923 case $cross_compiling:$ac_tool_warned in
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927 ac_tool_warned
=yes ;;
2936 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error
"no acceptable C compiler found in \$PATH
2939 See \`config.log' for more details." "$LINENO" 5; }
2941 # Provide some information about the compiler.
2942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2945 for ac_option
in --version -v -V -qversion; do
2946 { { ac_try
="$ac_compiler $ac_option >&5"
2948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2955 if test -s conftest.err; then
2957 ... rest of stderr output deleted ...
2958 10q' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2960 rm -f conftest.er1 conftest.err
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 ac_clean_files_save=$ac_clean_files
2978 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2979 # Try to create an executable without -o first, disregard a.out.
2980 # It will help us diagnose broken compilers, and finding out an intuition
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2983 $as_echo_n "checking for C compiler default output file name... " >&6; }
2984 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2986 # The possible output files:
2987 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2990 for ac_file in $ac_files
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2999 if { { ac_try="$ac_link_default"
3001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3002 *) ac_try_echo
=$ac_try;;
3004 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_link_default") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }; then :
3010 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3013 # so that the user can short-circuit this test for compilers unknown to
3015 for ac_file
in $ac_files ''
3017 test -f "$ac_file" ||
continue
3019 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3022 # We found the default executable, but exeext='' is most
3026 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3028 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 # We set ac_cv_exeext here because the later test for it is not
3031 # safe: cross compilers may not add the suffix if given an `-o'
3032 # argument, so we may need to know it at that point already.
3033 # Even if this section looks crufty: it has the advantage of
3040 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3046 $as_echo "$ac_file" >&6; }
3047 if test -z "$ac_file"; then :
3048 $as_echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.
$ac_ext >&5
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 { as_fn_set_status
77
3054 as_fn_error
"C compiler cannot create executables
3055 See \`config.log' for more details." "$LINENO" 5; }; }
3057 ac_exeext
=$ac_cv_exeext
3059 # Check that the compiler produces executables we can run. If not, either
3060 # the compiler is broken, or we cross compile.
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3062 $as_echo_n "checking whether the C compiler works... " >&6; }
3063 # If not cross compiling, check that we can run a simple program.
3064 if test "$cross_compiling" != yes; then
3065 if { ac_try
='./$ac_file'
3066 { { case "(($ac_try" in
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_try") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; }; then
3078 if test "$cross_compiling" = maybe; then
3081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 as_fn_error "cannot run C compiled programs.
3084 If you meant to cross compile
, use \
`--host'.
3085 See \`config.log
' for more details." "$LINENO" 5; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3092 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3093 ac_clean_files=$ac_clean_files_save
3094 # Check that the compiler produces executables we can run. If not, either
3095 # the compiler is broken, or we cross compile.
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3097 $as_echo_n "checking whether we are cross compiling... " >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3099 $as_echo "$cross_compiling" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3102 $as_echo_n "checking for suffix of executables... " >&6; }
3103 if { { ac_try="$ac_link"
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$ac_try_echo"; } >&5
3110 (eval "$ac_link") 2>&5
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; }; then :
3114 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3115 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3116 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3118 for ac_file
in conftest.exe conftest conftest.
*; do
3119 test -f "$ac_file" ||
continue
3121 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3122 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3131 See \`config.log' for more details." "$LINENO" 5; }
3133 rm -f conftest
$ac_cv_exeext
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3135 $as_echo "$ac_cv_exeext" >&6; }
3137 rm -f conftest.
$ac_ext
3138 EXEEXT
=$ac_cv_exeext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3141 $as_echo_n "checking for suffix of object files... " >&6; }
3142 if test "${ac_cv_objext+set}" = set; then :
3143 $as_echo_n "(cached) " >&6
3145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 rm -f conftest.o conftest.obj
3157 if { { ac_try
="$ac_compile"
3159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_compile") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; then :
3168 for ac_file in conftest.o conftest.obj conftest.*; do
3169 test -f "$ac_file" || continue;
3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 as_fn_error "cannot compute suffix of object files
: cannot compile
3183 See \
`config.log' for more details." "$LINENO" 5; }
3185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3188 $as_echo "$ac_cv_objext" >&6; }
3189 OBJEXT=$ac_cv_objext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3192 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3193 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3210 if ac_fn_c_try_compile "$LINENO"; then :
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3220 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3221 if test $ac_compiler_gnu = yes; then
3226 ac_test_CFLAGS=${CFLAGS+set}
3227 ac_save_CFLAGS=$CFLAGS
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3230 if test "${ac_cv_prog_cc_g+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 ac_save_c_werror_flag=$ac_c_werror_flag
3234 ac_c_werror_flag=yes
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 if ac_fn_c_try_compile "$LINENO"; then :
3266 ac_c_werror_flag=$ac_save_c_werror_flag
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3290 $as_echo "$ac_cv_prog_cc_g" >&6; }
3291 if test "$ac_test_CFLAGS" = set; then
3292 CFLAGS=$ac_save_CFLAGS
3293 elif test $ac_cv_prog_cc_g = yes; then
3294 if test "$GCC" = yes; then
3300 if test "$GCC" = yes; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3307 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3308 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 ac_cv_prog_cc_c89=no
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3317 #include <sys/types.h>
3318 #include <sys/stat.h>
3319 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3320 struct buf { int x; };
3321 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3322 static char *e (p, i)
3328 static char *f (char * (*g) (char **, int), char **p, ...)
3333 s = g (p, va_arg (v,int));
3338 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3339 function prototypes and stuff, but not '\xHH' hex character constants.
3340 These don't provoke an error unfortunately, instead are silently treated
3341 as 'x'. The following induces an error, until -std is added to get
3342 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3343 array size at least. It's necessary to write '\x00'==0 to get something
3344 that's true only with -std. */
3345 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3347 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3348 inside strings and character constants. */
3350 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3352 int test (int i, double x);
3353 struct s1 {int (*f) (int a);};
3354 struct s2 {int (*f) (double a);};
3355 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3361 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3366 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3367 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3369 CC="$ac_save_CC $ac_arg"
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 ac_cv_prog_cc_c89=$ac_arg
3373 rm -f core conftest.err conftest.$ac_objext
3374 test "x$ac_cv_prog_cc_c89" != "xno" && break
3376 rm -f conftest.$ac_ext
3381 case "x$ac_cv_prog_cc_c89" in
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3384 $as_echo "none needed" >&6; } ;;
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3387 $as_echo "unsupported" >&6; } ;;
3389 CC="$CC $ac_cv_prog_cc_c89"
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3391 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3393 if test "x$ac_cv_prog_cc_c89" != xno; then :
3398 ac_cpp='$CPP $CPPFLAGS'
3399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3410 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3411 # On Suns, sometimes $CPP names a directory.
3412 if test -n "$CPP" && test -d "$CPP"; then
3415 if test -z "$CPP"; then
3416 if test "${ac_cv_prog_CPP+set}" = set; then :
3417 $as_echo_n "(cached) " >&6
3419 # Double quotes because CPP needs to be expanded
3420 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423 for ac_c_preproc_warn_flag in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3434 # include <limits.h>
3436 # include <assert.h>
3440 if ac_fn_c_try_cpp "$LINENO"; then :
3443 # Broken: fails on valid input.
3446 rm -f conftest.err conftest.$ac_ext
3448 # OK, works on sane cases. Now check whether nonexistent headers
3449 # can be detected and how.
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if ac_fn_c_try_cpp "$LINENO"; then :
3455 # Broken: success on invalid input.
3458 # Passes both tests.
3462 rm -f conftest.err conftest.$ac_ext
3465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3466 rm -f conftest.err conftest.
$ac_ext
3467 if $ac_preproc_ok; then :
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3480 $as_echo "$CPP" >&6; }
3482 for ac_c_preproc_warn_flag
in '' yes
3484 # Use a header file that comes with gcc, so configuring glibc
3485 # with a fresh cross-compiler works.
3486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3487 # <limits.h> exists even on freestanding compilers.
3488 # On the NeXT, cc -E runs the code through the compiler's parser,
3489 # not just through cpp. "Syntax error" is here to catch this case.
3490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3493 # include <limits.h>
3495 # include <assert.h>
3499 if ac_fn_c_try_cpp
"$LINENO"; then :
3502 # Broken: fails on valid input.
3505 rm -f conftest.err conftest.
$ac_ext
3507 # OK, works on sane cases. Now check whether nonexistent headers
3508 # can be detected and how.
3509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if ac_fn_c_try_cpp
"$LINENO"; then :
3514 # Broken: success on invalid input.
3517 # Passes both tests.
3521 rm -f conftest.err conftest.
$ac_ext
3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3525 rm -f conftest.err conftest.
$ac_ext
3526 if $ac_preproc_ok; then :
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3532 See \`config.log' for more details." "$LINENO" 5; }
3536 ac_cpp
='$CPP $CPPFLAGS'
3537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3543 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3544 if test "${ac_cv_path_GREP+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -z "$GREP"; then
3548 ac_path_GREP_found
=false
3549 # Loop through the user's path and test for each of PROGNAME-LIST
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_prog
in grep ggrep
; do
3556 for ac_exec_ext
in '' $ac_executable_extensions; do
3557 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3558 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3559 # Check for GNU ac_path_GREP and select it if it is found.
3560 # Check for GNU $ac_path_GREP
3561 case `"$ac_path_GREP" --version 2>&1` in
3563 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3566 $as_echo_n 0123456789 >"conftest.in"
3569 cat "conftest.in" "conftest.in" >"conftest.tmp"
3570 mv "conftest.tmp" "conftest.in"
3571 cp "conftest.in" "conftest.nl"
3572 $as_echo 'GREP' >> "conftest.nl"
3573 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3575 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3576 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3577 # Best one so far, save it but keep looking for a better one
3578 ac_cv_path_GREP
="$ac_path_GREP"
3579 ac_path_GREP_max
=$ac_count
3581 # 10*(2^10) chars as input seems more than enough
3582 test $ac_count -gt 10 && break
3584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3587 $ac_path_GREP_found && break 3
3592 if test -z "$ac_cv_path_GREP"; then
3593 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3596 ac_cv_path_GREP
=$GREP
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3601 $as_echo "$ac_cv_path_GREP" >&6; }
3602 GREP
="$ac_cv_path_GREP"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3606 $as_echo_n "checking for egrep... " >&6; }
3607 if test "${ac_cv_path_EGREP+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3611 then ac_cv_path_EGREP
="$GREP -E"
3613 if test -z "$EGREP"; then
3614 ac_path_EGREP_found
=false
3615 # Loop through the user's path and test for each of PROGNAME-LIST
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_prog
in egrep; do
3622 for ac_exec_ext
in '' $ac_executable_extensions; do
3623 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3624 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3625 # Check for GNU ac_path_EGREP and select it if it is found.
3626 # Check for GNU $ac_path_EGREP
3627 case `"$ac_path_EGREP" --version 2>&1` in
3629 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3632 $as_echo_n 0123456789 >"conftest.in"
3635 cat "conftest.in" "conftest.in" >"conftest.tmp"
3636 mv "conftest.tmp" "conftest.in"
3637 cp "conftest.in" "conftest.nl"
3638 $as_echo 'EGREP' >> "conftest.nl"
3639 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3640 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3641 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3642 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3643 # Best one so far, save it but keep looking for a better one
3644 ac_cv_path_EGREP
="$ac_path_EGREP"
3645 ac_path_EGREP_max
=$ac_count
3647 # 10*(2^10) chars as input seems more than enough
3648 test $ac_count -gt 10 && break
3650 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3653 $ac_path_EGREP_found && break 3
3658 if test -z "$ac_cv_path_EGREP"; then
3659 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3662 ac_cv_path_EGREP
=$EGREP
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3668 $as_echo "$ac_cv_path_EGREP" >&6; }
3669 EGREP
="$ac_cv_path_EGREP"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3673 $as_echo_n "checking for ANSI C header files... " >&6; }
3674 if test "${ac_cv_header_stdc+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3692 if ac_fn_c_try_compile
"$LINENO"; then :
3693 ac_cv_header_stdc
=yes
3695 ac_cv_header_stdc
=no
3697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3699 if test $ac_cv_header_stdc = yes; then
3700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3707 $EGREP "memchr" >/dev
/null
2>&1; then :
3710 ac_cv_header_stdc
=no
3716 if test $ac_cv_header_stdc = yes; then
3717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3724 $EGREP "free" >/dev
/null
2>&1; then :
3727 ac_cv_header_stdc
=no
3733 if test $ac_cv_header_stdc = yes; then
3734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3735 if test "$cross_compiling" = yes; then :
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 #if ((' ' & 0x0FF) == 0x020)
3743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3746 # define ISLOWER(c) \
3747 (('a' <= (c) && (c) <= 'i') \
3748 || ('j' <= (c) && (c) <= 'r') \
3749 || ('s' <= (c) && (c) <= 'z'))
3750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3758 for (i = 0; i < 256; i++)
3759 if (XOR (islower (i), ISLOWER (i))
3760 || toupper (i) != TOUPPER (i))
3765 if ac_fn_c_try_run
"$LINENO"; then :
3768 ac_cv_header_stdc
=no
3770 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3771 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3777 $as_echo "$ac_cv_header_stdc" >&6; }
3778 if test $ac_cv_header_stdc = yes; then
3780 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3785 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3786 inttypes.h stdint.h unistd.h
3788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3789 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3791 eval as_val
=\$
$as_ac_Header
3792 if test "x$as_val" = x
""yes; then :
3793 cat >>confdefs.h
<<_ACEOF
3794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3803 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3804 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3811 if test "$MINIX" = yes; then
3813 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3816 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3819 $as_echo "#define _MINIX 1" >>confdefs.h
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3825 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3826 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3827 $as_echo_n "(cached) " >&6
3829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3832 # define __EXTENSIONS__ 1
3833 $ac_includes_default
3842 if ac_fn_c_try_compile
"$LINENO"; then :
3843 ac_cv_safe_to_define___extensions__
=yes
3845 ac_cv_safe_to_define___extensions__
=no
3847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3850 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3851 test $ac_cv_safe_to_define___extensions__ = yes &&
3852 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3854 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3856 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3858 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3860 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3864 libtool_VERSION
=1:0:0
3867 # 1.11.1: Require that version of automake.
3868 # foreign: Don't require README, INSTALL, NEWS, etc.
3869 # no-define: Don't define PACKAGE and VERSION.
3870 # no-dependencies: Don't generate automatic dependencies.
3871 # (because it breaks when using bootstrap-lean, since some of the
3872 # headers are gone at "make install" time).
3873 # -Wall: Issue all automake warnings.
3874 # -Wno-portability: Don't warn about constructs supported by GNU make.
3875 # (because GCC requires GNU make anyhow).
3876 am__api_version
='1.11'
3878 # Find a good install program. We prefer a C program (faster),
3879 # so one script is as good as another. But avoid the broken or
3880 # incompatible versions:
3881 # SysV /etc/install, /usr/sbin/install
3882 # SunOS /usr/etc/install
3883 # IRIX /sbin/install
3885 # AmigaOS /C/install, which installs bootblocks on floppy discs
3886 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3887 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3889 # OS/2's system install, which has a completely different semantic
3890 # ./install, which can be erroneously created by make from ./install.sh.
3891 # Reject install programs that cannot install multiple files.
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3893 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3894 if test -z "$INSTALL"; then
3895 if test "${ac_cv_path_install+set}" = set; then :
3896 $as_echo_n "(cached) " >&6
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 # Account for people who put trailing slashes in PATH elements.
3904 case $as_dir/ in #((
3905 .
/ | .
// |
/[cC
]/* | \
3906 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3907 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3910 # OSF1 and SCO ODT 3.0 have their own names for install.
3911 # Don't use installbsd from OSF since it installs stuff as root
3913 for ac_prog
in ginstall scoinst
install; do
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3916 if test $ac_prog = install &&
3917 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3918 # AIX install. It has an incompatible calling convention.
3920 elif test $ac_prog = install &&
3921 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3922 # program-specific install script used by HP pwplus--don't use.
3925 rm -rf conftest.one conftest.two conftest.dir
3926 echo one
> conftest.one
3927 echo two
> conftest.two
3929 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3930 test -s conftest.one
&& test -s conftest.two
&&
3931 test -s conftest.dir
/conftest.one
&&
3932 test -s conftest.dir
/conftest.two
3934 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3947 rm -rf conftest.one conftest.two conftest.dir
3950 if test "${ac_cv_path_install+set}" = set; then
3951 INSTALL
=$ac_cv_path_install
3953 # As a last resort, use the slow shell script. Don't cache a
3954 # value for INSTALL within a source directory, because that will
3955 # break other packages using the cache if that directory is
3956 # removed, or if the value is a relative name.
3957 INSTALL
=$ac_install_sh
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3961 $as_echo "$INSTALL" >&6; }
3963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3964 # It thinks the first close brace ends the variable substitution.
3965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3969 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3972 $as_echo_n "checking whether build environment is sane... " >&6; }
3975 echo timestamp
> conftest.
file
3976 # Reject unsafe characters in $srcdir or the absolute working directory
3977 # name. Accept space and tab only in the latter.
3981 *[\\\"\
#\$\&\'\`$am_lf]*)
3982 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3985 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3986 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3989 # Do `set' in a subshell so we don't clobber the current shell's
3990 # arguments. Must try -L first in case configure is actually a
3991 # symlink; some systems play weird games with the mod time of symlinks
3992 # (eg FreeBSD returns the mod time of the symlink's containing
3995 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3996 if test "$*" = "X"; then
3998 set X
`ls -t "$srcdir/configure" conftest.file`
4001 if test "$*" != "X $srcdir/configure conftest.file" \
4002 && test "$*" != "X conftest.file $srcdir/configure"; then
4004 # If neither matched, then we have a broken ls. This can happen
4005 # if, for instance, CONFIG_SHELL is bash and it inherits a
4006 # broken ls alias from the environment. This has actually
4007 # happened. Such a system could not be considered "sane".
4008 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4009 alias in your environment" "$LINENO" 5
4012 test "$2" = conftest.
file
4018 as_fn_error
"newly created file is older than distributed files!
4019 Check your system clock" "$LINENO" 5
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4023 test "$program_prefix" != NONE
&&
4024 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4025 # Use a double $ so make ignores it.
4026 test "$program_suffix" != NONE
&&
4027 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4028 # Double any \ or $.
4029 # By default was `s,x,x', remove it if useless.
4030 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4031 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4033 # expand $ac_aux_dir to an absolute path
4034 am_aux_dir
=`cd $ac_aux_dir && pwd`
4036 if test x
"${MISSING+set}" != xset
; then
4039 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4041 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4044 # Use eval to expand $SHELL
4045 if eval "$MISSING --run true"; then
4046 am_missing_run
="$MISSING --run "
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4050 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4053 if test x
"${install_sh}" != xset
; then
4056 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4058 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4062 # Installed binaries are usually stripped using `strip' when the user
4063 # run `make install-strip'. However `strip' might not be the right
4064 # tool to use in cross-compilation environments, therefore Automake
4065 # will honor the `STRIP' environment variable to overrule this program.
4066 if test "$cross_compiling" != no
; then
4067 if test -n "$ac_tool_prefix"; then
4068 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4069 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if test "${ac_cv_prog_STRIP+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 if test -n "$STRIP"; then
4076 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir
=.
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 STRIP
=$ac_cv_prog_STRIP
4096 if test -n "$STRIP"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4098 $as_echo "$STRIP" >&6; }
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4106 if test -z "$ac_cv_prog_STRIP"; then
4108 # Extract the first word of "strip", so it can be a program name with args.
4109 set dummy strip
; ac_word
=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4113 $as_echo_n "(cached) " >&6
4115 if test -n "$ac_ct_STRIP"; then
4116 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir
=.
4123 for ac_exec_ext
in '' $ac_executable_extensions; do
4124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125 ac_cv_prog_ac_ct_STRIP
="strip"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4136 if test -n "$ac_ct_STRIP"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4138 $as_echo "$ac_ct_STRIP" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4144 if test "x$ac_ct_STRIP" = x
; then
4147 case $cross_compiling:$ac_tool_warned in
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4151 ac_tool_warned
=yes ;;
4156 STRIP
="$ac_cv_prog_STRIP"
4160 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4163 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4164 if test -z "$MKDIR_P"; then
4165 if test "${ac_cv_path_mkdir+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_prog
in mkdir gmkdir
; do
4174 for ac_exec_ext
in '' $ac_executable_extensions; do
4175 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4176 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4177 'mkdir (GNU coreutils) '* | \
4178 'mkdir (coreutils) '* | \
4179 'mkdir (fileutils) '4.1*)
4180 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4190 if test "${ac_cv_path_mkdir+set}" = set; then
4191 MKDIR_P
="$ac_cv_path_mkdir -p"
4193 # As a last resort, use the slow shell script. Don't cache a
4194 # value for MKDIR_P within a source directory, because that will
4195 # break other packages using the cache if that directory is
4196 # removed, or if the value is a relative name.
4197 test -d .
/--version && rmdir .
/--version
4198 MKDIR_P
="$ac_install_sh -d"
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4202 $as_echo "$MKDIR_P" >&6; }
4206 [\\/$
]* | ?
:[\\/]*) ;;
4207 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4210 for ac_prog
in gawk mawk nawk
awk
4212 # Extract the first word of "$ac_prog", so it can be a program name with args.
4213 set dummy
$ac_prog; ac_word
=$2
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 $as_echo_n "checking for $ac_word... " >&6; }
4216 if test "${ac_cv_prog_AWK+set}" = set; then :
4217 $as_echo_n "(cached) " >&6
4219 if test -n "$AWK"; then
4220 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4229 ac_cv_prog_AWK
="$ac_prog"
4230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 if test -n "$AWK"; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4242 $as_echo "$AWK" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4249 test -n "$AWK" && break
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4253 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4255 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4256 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4257 $as_echo_n "(cached) " >&6
4259 cat >conftest.
make <<\_ACEOF
4262 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4267 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4269 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4273 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4275 $as_echo "yes" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4280 SET_MAKE
="MAKE=${MAKE-make}"
4283 rm -rf .tst
2>/dev
/null
4284 mkdir .tst
2>/dev
/null
4285 if test -d .tst
; then
4290 rmdir .tst
2>/dev
/null
4292 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4293 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4294 # is not polluted with repeated "-I."
4295 am__isrc
=' -I$(srcdir)'
4296 # test to see if srcdir already configured
4297 if test -f $srcdir/config.status
; then
4298 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4302 # test whether we have cygpath
4303 if test -z "$CYGPATH_W"; then
4304 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4305 CYGPATH_W
='cygpath -w'
4312 # Define the identity of the package.
4313 PACKAGE
='libbacktrace'
4314 VERSION
='version-unused'
4317 # Some tools Automake needs.
4319 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4322 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4325 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4328 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4331 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4333 # We need awk for the "check" target. The system "awk" is bad on
4335 # Always define AMTAR for backward compatibility. Yes, it's still used
4336 # in the wild :-( We should find a proper way to deprecate it ...
4339 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4348 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4349 # Check whether --enable-maintainer-mode was given.
4350 if test "${enable_maintainer_mode+set}" = set; then :
4351 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4353 USE_MAINTAINER_MODE
=no
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4357 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4358 if test $USE_MAINTAINER_MODE = yes; then
4359 MAINTAINER_MODE_TRUE
=
4360 MAINTAINER_MODE_FALSE
='#'
4362 MAINTAINER_MODE_TRUE
='#'
4363 MAINTAINER_MODE_FALSE
=
4366 MAINT
=$MAINTAINER_MODE_TRUE
4371 # Check whether --with-target-subdir was given.
4372 if test "${with_target_subdir+set}" = set; then :
4373 withval
=$with_target_subdir;
4377 # We must force CC to /not/ be precious variables; otherwise
4378 # the wrong, non-multilib-adjusted value will be used in multilibs.
4379 # As a side effect, we have to subst CFLAGS ourselves.
4383 ac_cpp
='$CPP $CPPFLAGS'
4384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4387 if test -n "$ac_tool_prefix"; then
4388 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4389 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_CC+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4395 if test -n "$CC"; then
4396 ac_cv_prog_CC
="$CC" # Let the user override the test.
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416 if test -n "$CC"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4418 $as_echo "$CC" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4426 if test -z "$ac_cv_prog_CC"; then
4428 # Extract the first word of "gcc", so it can be a program name with args.
4429 set dummy gcc
; ac_word
=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4433 $as_echo_n "(cached) " >&6
4435 if test -n "$ac_ct_CC"; then
4436 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir
=.
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_ac_ct_CC
="gcc"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4456 if test -n "$ac_ct_CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4458 $as_echo "$ac_ct_CC" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4464 if test "x$ac_ct_CC" = x
; then
4467 case $cross_compiling:$ac_tool_warned in
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471 ac_tool_warned
=yes ;;
4479 if test -z "$CC"; then
4480 if test -n "$ac_tool_prefix"; then
4481 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4482 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if test "${ac_cv_prog_CC+set}" = set; then :
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$CC"; then
4489 ac_cv_prog_CC
="$CC" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 if test -n "$CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511 $as_echo "$CC" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4520 if test -z "$CC"; then
4521 # Extract the first word of "cc", so it can be a program name with args.
4522 set dummy cc
; ac_word
=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if test "${ac_cv_prog_CC+set}" = set; then :
4526 $as_echo_n "(cached) " >&6
4528 if test -n "$CC"; then
4529 ac_cv_prog_CC
="$CC" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4540 ac_prog_rejected
=yes
4544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 if test $ac_prog_rejected = yes; then
4552 # We found a bogon in the path, so make sure we never use it.
4553 set dummy
$ac_cv_prog_CC
4555 if test $# != 0; then
4556 # We chose a different compiler from the bogus one.
4557 # However, it has the same basename, so the bogon will be chosen
4558 # first if we set CC to just the basename; use the full file name.
4560 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4566 if test -n "$CC"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4568 $as_echo "$CC" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4576 if test -z "$CC"; then
4577 if test -n "$ac_tool_prefix"; then
4578 for ac_prog
in cl.exe
4580 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4581 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_CC+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$CC"; then
4588 ac_cv_prog_CC
="$CC" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 if test -n "$CC"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4610 $as_echo "$CC" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4617 test -n "$CC" && break
4620 if test -z "$CC"; then
4622 for ac_prog
in cl.exe
4624 # Extract the first word of "$ac_prog", so it can be a program name with args.
4625 set dummy
$ac_prog; ac_word
=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$ac_ct_CC"; then
4632 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_ac_ct_CC
="$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4652 if test -n "$ac_ct_CC"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4654 $as_echo "$ac_ct_CC" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$ac_ct_CC" && break
4664 if test "x$ac_ct_CC" = x
; then
4667 case $cross_compiling:$ac_tool_warned in
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4671 ac_tool_warned
=yes ;;
4680 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4682 as_fn_error
"no acceptable C compiler found in \$PATH
4683 See \`config.log' for more details." "$LINENO" 5; }
4685 # Provide some information about the compiler.
4686 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4689 for ac_option
in --version -v -V -qversion; do
4690 { { ac_try
="$ac_compiler $ac_option >&5"
4692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4693 *) ac_try_echo=$ac_try;;
4695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4696 $as_echo "$ac_try_echo"; } >&5
4697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4699 if test -s conftest.err; then
4701 ... rest of stderr output deleted ...
4702 10q' conftest.err >conftest.er1
4703 cat conftest.er1 >&5
4704 rm -f conftest.er1 conftest.err
4706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4707 test $ac_status = 0; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4711 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4712 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4713 $as_echo_n "(cached) " >&6
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4729 if ac_fn_c_try_compile "$LINENO"; then :
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4739 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4740 if test $ac_compiler_gnu = yes; then
4745 ac_test_CFLAGS=${CFLAGS+set}
4746 ac_save_CFLAGS=$CFLAGS
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4748 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4749 if test "${ac_cv_prog_cc_g+set}" = set; then :
4750 $as_echo_n "(cached) " >&6
4752 ac_save_c_werror_flag=$ac_c_werror_flag
4753 ac_c_werror_flag=yes
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4767 if ac_fn_c_try_compile "$LINENO"; then :
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_c_try_compile "$LINENO"; then :
4785 ac_c_werror_flag=$ac_save_c_werror_flag
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_c_try_compile "$LINENO"; then :
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 ac_c_werror_flag=$ac_save_c_werror_flag
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4809 $as_echo "$ac_cv_prog_cc_g" >&6; }
4810 if test "$ac_test_CFLAGS" = set; then
4811 CFLAGS=$ac_save_CFLAGS
4812 elif test $ac_cv_prog_cc_g = yes; then
4813 if test "$GCC" = yes; then
4819 if test "$GCC" = yes; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4826 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4827 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4828 $as_echo_n "(cached) " >&6
4830 ac_cv_prog_cc_c89=no
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4836 #include <sys/types.h>
4837 #include <sys/stat.h>
4838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4839 struct buf { int x; };
4840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4841 static char *e (p, i)
4847 static char *f (char * (*g) (char **, int), char **p, ...)
4852 s = g (p, va_arg (v,int));
4857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4858 function prototypes and stuff, but not '\xHH' hex character constants.
4859 These don't provoke an error unfortunately, instead are silently treated
4860 as 'x'. The following induces an error, until -std is added to get
4861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4862 array size at least. It's necessary to write '\x00'==0 to get something
4863 that's true only with -std. */
4864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4867 inside strings and character constants. */
4869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4871 int test (int i, double x);
4872 struct s1 {int (*f) (int a);};
4873 struct s2 {int (*f) (double a);};
4874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4888 CC="$ac_save_CC $ac_arg"
4889 if ac_fn_c_try_compile "$LINENO"; then :
4890 ac_cv_prog_cc_c89=$ac_arg
4892 rm -f core conftest.err conftest.$ac_objext
4893 test "x$ac_cv_prog_cc_c89" != "xno" && break
4895 rm -f conftest.$ac_ext
4900 case "x$ac_cv_prog_cc_c89" in
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4903 $as_echo "none needed" >&6; } ;;
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4906 $as_echo "unsupported" >&6; } ;;
4908 CC="$CC $ac_cv_prog_cc_c89"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4910 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4912 if test "x$ac_cv_prog_cc_c89" != xno; then :
4917 ac_cpp='$CPP $CPPFLAGS'
4918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926 if test -n "$ac_tool_prefix"; then
4927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 if test -n "$RANLIB"; then
4935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir=.
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 RANLIB=$ac_cv_prog_RANLIB
4955 if test -n "$RANLIB"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4957 $as_echo "$RANLIB" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4965 if test -z "$ac_cv_prog_RANLIB"; then
4966 ac_ct_RANLIB=$RANLIB
4967 # Extract the first word of "ranlib", so it can be a program name with args.
4968 set dummy ranlib; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$ac_ct_RANLIB"; then
4975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984 ac_cv_prog_ac_ct_RANLIB="ranlib"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4995 if test -n "$ac_ct_RANLIB"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4997 $as_echo "$ac_ct_RANLIB" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5003 if test "x$ac_ct_RANLIB" = x; then
5006 case $cross_compiling:$ac_tool_warned in
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5010 ac_tool_warned=yes ;;
5012 RANLIB=$ac_ct_RANLIB
5015 RANLIB="$ac_cv_prog_RANLIB"
5019 for ac_prog in gawk mawk nawk awk
5021 # Extract the first word of "$ac_prog", so it can be a program name with args.
5022 set dummy $ac_prog; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AWK+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$AWK"; then
5029 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AWK="$ac_prog"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 if test -n "$AWK"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5051 $as_echo "$AWK" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5058 test -n "$AWK" && break
5062 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5068 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5073 macro_version='2.2.7a'
5074 macro_revision='1.3134'
5088 ltmain="$ac_aux_dir/ltmain.sh"
5090 # Backslashify metacharacters that are still active within
5091 # double-quoted strings.
5092 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5094 # Same as above, but do not quote variable references.
5095 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5097 # Sed substitution to delay expansion of an escaped shell variable in a
5098 # double_quote_subst'ed string.
5099 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5101 # Sed substitution to delay expansion of an escaped single quote.
5102 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5104 # Sed substitution to avoid accidental globbing in evaled expressions
5105 no_glob_subst='s/\*/\\\*/g'
5107 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5109 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5112 $as_echo_n "checking how to print
strings...
" >&6; }
5113 # Test print first, because it will be a builtin if present.
5114 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5115 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5117 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5120 # Use this function as a fallback that always works.
5121 func_fallback_echo ()
5123 eval 'cat <<_LTECHO_EOF
5127 ECHO='func_fallback_echo'
5130 # func_echo_all arg...
5131 # Invoke $ECHO with all args, space-separated.
5138 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5139 $as_echo "printf" >&6; } ;;
5140 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5141 $as_echo "print
-r" >&6; } ;;
5142 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5143 $as_echo "cat" >&6; } ;;
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5160 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5161 if test "${ac_cv_path_SED+set}" = set; then :
5162 $as_echo_n "(cached
) " >&6
5164 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5165 for ac_i in 1 2 3 4 5 6 7; do
5166 ac_script="$ac_script$as_nl$ac_script"
5168 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5169 { ac_script=; unset ac_script;}
5170 if test -z "$SED"; then
5171 ac_path_SED_found=false
5172 # Loop through the user's path and test for each of PROGNAME-LIST
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_prog in sed gsed; do
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5181 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5182 # Check for GNU ac_path_SED and select it if it is found.
5183 # Check for GNU $ac_path_SED
5184 case `"$ac_path_SED" --version 2>&1` in
5186 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5189 $as_echo_n 0123456789 >"conftest.
in"
5192 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5193 mv "conftest.tmp
" "conftest.
in"
5194 cp "conftest.
in" "conftest.
nl"
5195 $as_echo '' >> "conftest.
nl"
5196 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5197 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5198 as_fn_arith $ac_count + 1 && ac_count=$as_val
5199 if test $ac_count -gt ${ac_path_SED_max-0}; then
5200 # Best one so far, save it but keep looking for a better one
5201 ac_cv_path_SED="$ac_path_SED"
5202 ac_path_SED_max=$ac_count
5204 # 10*(2^10) chars as input seems more than enough
5205 test $ac_count -gt 10 && break
5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5210 $ac_path_SED_found && break 3
5215 if test -z "$ac_cv_path_SED"; then
5216 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5224 $as_echo "$ac_cv_path_SED" >&6; }
5225 SED="$ac_cv_path_SED"
5228 test -z "$SED" && SED=sed
5229 Xsed="$SED -e 1s
/^X
//"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5242 $as_echo_n "checking
for fgrep...
" >&6; }
5243 if test "${ac_cv_path_FGREP+set}" = set; then :
5244 $as_echo_n "(cached
) " >&6
5246 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5247 then ac_cv_path_FGREP="$GREP -F"
5249 if test -z "$FGREP"; then
5250 ac_path_FGREP_found=false
5251 # Loop through the user's path and test for each of PROGNAME-LIST
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5256 test -z "$as_dir" && as_dir=.
5257 for ac_prog in fgrep; do
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5260 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5261 # Check for GNU ac_path_FGREP and select it if it is found.
5262 # Check for GNU $ac_path_FGREP
5263 case `"$ac_path_FGREP" --version 2>&1` in
5265 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5268 $as_echo_n 0123456789 >"conftest.
in"
5271 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5272 mv "conftest.tmp
" "conftest.
in"
5273 cp "conftest.
in" "conftest.
nl"
5274 $as_echo 'FGREP' >> "conftest.
nl"
5275 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5276 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5277 as_fn_arith $ac_count + 1 && ac_count=$as_val
5278 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5279 # Best one so far, save it but keep looking for a better one
5280 ac_cv_path_FGREP="$ac_path_FGREP"
5281 ac_path_FGREP_max=$ac_count
5283 # 10*(2^10) chars as input seems more than enough
5284 test $ac_count -gt 10 && break
5286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5289 $ac_path_FGREP_found && break 3
5294 if test -z "$ac_cv_path_FGREP"; then
5295 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5298 ac_cv_path_FGREP=$FGREP
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5304 $as_echo "$ac_cv_path_FGREP" >&6; }
5305 FGREP="$ac_cv_path_FGREP"
5308 test -z "$GREP" && GREP=grep
5328 # Check whether --with-gnu-ld was given.
5329 if test "${with_gnu_ld+set}" = set; then :
5330 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5336 if test "$GCC" = yes; then
5337 # Check if gcc -print-prog-name=ld gives a path.
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5339 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5342 # gcc leaves a trailing carriage return which upsets mingw
5343 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5345 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5348 # Accept absolute paths.
5350 re_direlt='/[^/][^/]*/\.\./'
5351 # Canonicalize the pathname of ld
5352 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5353 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5354 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5356 test -z "$LD" && LD="$ac_prog"
5359 # If it fails, then pretend we aren't using GCC.
5363 # If it is relative, then search for the first ld in PATH.
5367 elif test "$with_gnu_ld" = yes; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5369 $as_echo_n "checking
for GNU ld...
" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5372 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5374 if test "${lt_cv_path_LD+set}" = set; then :
5375 $as_echo_n "(cached
) " >&6
5377 if test -z "$LD"; then
5378 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5379 for ac_dir in $PATH; do
5381 test -z "$ac_dir" && ac_dir=.
5382 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5383 lt_cv_path_LD="$ac_dir/$ac_prog"
5384 # Check to see if the program is GNU ld. I'd rather use --version,
5385 # but apparently some variants of GNU ld only accept -v.
5386 # Break only if it was the GNU/non-GNU ld that we prefer.
5387 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5388 *GNU* | *'with BFD'*)
5389 test "$with_gnu_ld" != no && break
5392 test "$with_gnu_ld" != yes && break
5399 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5404 if test -n "$LD"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5406 $as_echo "$LD" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5409 $as_echo "no
" >&6; }
5411 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5413 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5414 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5415 $as_echo_n "(cached
) " >&6
5417 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5418 case `$LD -v 2>&1 </dev/null` in
5419 *GNU* | *'with BFD'*)
5420 lt_cv_prog_gnu_ld=yes
5423 lt_cv_prog_gnu_ld=no
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5428 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5429 with_gnu_ld=$lt_cv_prog_gnu_ld
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5440 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5441 if test "${lt_cv_path_NM+set}" = set; then :
5442 $as_echo_n "(cached
) " >&6
5444 if test -n "$NM"; then
5445 # Let the user override the test.
5448 lt_nm_to_check="${ac_tool_prefix}nm
"
5449 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5450 lt_nm_to_check="$lt_nm_to_check nm
"
5452 for lt_tmp_nm in $lt_nm_to_check; do
5453 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5454 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5456 test -z "$ac_dir" && ac_dir=.
5457 tmp_nm="$ac_dir/$lt_tmp_nm"
5458 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5459 # Check to see if the nm accepts a BSD-compat flag.
5460 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5461 # nm: unknown option "B
" ignored
5462 # Tru64's nm complains that /dev/null is an invalid object file
5463 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5464 */dev/null* | *'Invalid file or object type'*)
5465 lt_cv_path_NM="$tmp_nm -B"
5469 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5471 lt_cv_path_NM="$tmp_nm -p"
5475 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5476 continue # so that we can try to find one that supports BSD flags
5485 : ${lt_cv_path_NM=no}
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5489 $as_echo "$lt_cv_path_NM" >&6; }
5490 if test "$lt_cv_path_NM" != "no
"; then
5493 # Didn't find any BSD compatible name lister, look for dumpbin.
5494 if test -n "$DUMPBIN"; then :
5495 # Let the user override the test.
5497 if test -n "$ac_tool_prefix"; then
5498 for ac_prog in dumpbin "link
-dump"
5500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5503 $as_echo_n "checking
for $ac_word...
" >&6; }
5504 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5505 $as_echo_n "(cached
) " >&6
5507 if test -n "$DUMPBIN"; then
5508 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5527 DUMPBIN=$ac_cv_prog_DUMPBIN
5528 if test -n "$DUMPBIN"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5530 $as_echo "$DUMPBIN" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5533 $as_echo "no
" >&6; }
5537 test -n "$DUMPBIN" && break
5540 if test -z "$DUMPBIN"; then
5541 ac_ct_DUMPBIN=$DUMPBIN
5542 for ac_prog in dumpbin "link
-dump"
5544 # Extract the first word of "$ac_prog", so it can be a program name with args.
5545 set dummy $ac_prog; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5547 $as_echo_n "checking
for $ac_word...
" >&6; }
5548 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5549 $as_echo_n "(cached
) " >&6
5551 if test -n "$ac_ct_DUMPBIN"; then
5552 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5561 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5571 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5572 if test -n "$ac_ct_DUMPBIN"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5574 $as_echo "$ac_ct_DUMPBIN" >&6; }
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5577 $as_echo "no
" >&6; }
5581 test -n "$ac_ct_DUMPBIN" && break
5584 if test "x
$ac_ct_DUMPBIN" = x; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5590 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5591 ac_tool_warned=yes ;;
5593 DUMPBIN=$ac_ct_DUMPBIN
5597 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5599 DUMPBIN="$DUMPBIN -symbols"
5607 if test "$DUMPBIN" != ":"; then
5611 test -z "$NM" && NM=nm
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5619 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5620 if test "${lt_cv_nm_interface+set}" = set; then :
5621 $as_echo_n "(cached
) " >&6
5623 lt_cv_nm_interface="BSD nm
"
5624 echo "int some_variable
= 0;" > conftest.$ac_ext
5625 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5626 (eval "$ac_compile" 2>conftest.err)
5627 cat conftest.err >&5
5628 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5629 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5630 cat conftest.err >&5
5631 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5632 cat conftest.out >&5
5633 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5634 lt_cv_nm_interface="MS dumpbin
"
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5639 $as_echo "$lt_cv_nm_interface" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5642 $as_echo_n "checking whether
ln -s works...
" >&6; }
5644 if test "$LN_S" = "ln -s"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5646 $as_echo "yes" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5649 $as_echo "no
, using
$LN_S" >&6; }
5652 # find the maximum length of command line arguments
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5654 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5655 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5656 $as_echo_n "(cached
) " >&6
5663 # On DJGPP, this test can blow up pretty badly due to problems in libc
5664 # (any single argument exceeding 2000 bytes causes a buffer overrun
5665 # during glob expansion). Even if it were fixed, the result of this
5666 # check would be larger than it should be.
5667 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5671 # Under GNU Hurd, this test is not required because there is
5672 # no limit to the length of command line arguments.
5673 # Libtool will interpret -1 as no limit whatsoever
5674 lt_cv_sys_max_cmd_len=-1;
5677 cygwin* | mingw* | cegcc*)
5678 # On Win9x/ME, this test blows up -- it succeeds, but takes
5679 # about 5 minutes as the teststring grows exponentially.
5680 # Worse, since 9x/ME are not pre-emptively multitasking,
5681 # you end up with a "frozen
" computer, even though with patience
5682 # the test eventually succeeds (with a max line length of 256k).
5683 # Instead, let's just punt: use the minimum linelength reported by
5684 # all of the supported platforms: 8192 (on NT/2K/XP).
5685 lt_cv_sys_max_cmd_len=8192;
5689 # On MiNT this can take a long time and run out of memory.
5690 lt_cv_sys_max_cmd_len=8192;
5694 # On AmigaOS with pdksh, this test takes hours, literally.
5695 # So we just punt and use a minimum line length of 8192.
5696 lt_cv_sys_max_cmd_len=8192;
5699 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5700 # This has been around since 386BSD, at least. Likely further.
5701 if test -x /sbin/sysctl; then
5702 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5703 elif test -x /usr/sbin/sysctl; then
5704 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5706 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5708 # And add a safety zone
5709 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5714 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5715 lt_cv_sys_max_cmd_len=196608
5719 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5720 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5721 # nice to cause kernel panics so lets avoid the loop below.
5722 # First set a reasonable default.
5723 lt_cv_sys_max_cmd_len=16384
5725 if test -x /sbin/sysconfig; then
5726 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5727 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5732 lt_cv_sys_max_cmd_len=102400
5734 sysv5* | sco5v6* | sysv4.2uw2*)
5735 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5736 if test -n "$kargmax"; then
5737 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5739 lt_cv_sys_max_cmd_len=32768
5743 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5744 if test -n "$lt_cv_sys_max_cmd_len"; then
5745 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5746 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5748 # Make teststring a little bigger before we do anything with it.
5749 # a 1K string should be a reasonable start.
5750 for i in 1 2 3 4 5 6 7 8 ; do
5751 teststring=$teststring$teststring
5753 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5754 # If test is not a shell built-in, we'll probably end up computing a
5755 # maximum length that is only half of the actual maximum length, but
5757 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5758 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5759 test $i != 17 # 1/2 MB should be enough
5762 teststring=$teststring$teststring
5764 # Only check the string length outside the loop.
5765 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5767 # Add a significant safety factor because C++ compilers can tack on
5768 # massive amounts of additional arguments before passing them to the
5769 # linker. It appears as though 1/2 is a usable value.
5770 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5777 if test -n $lt_cv_sys_max_cmd_len ; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5779 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5782 $as_echo "none
" >&6; }
5784 max_cmd_len=$lt_cv_sys_max_cmd_len
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5796 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5797 # Try some XSI features
5800 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5802 && eval 'test $(( 1 + 1 )) -eq 2 \
5803 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5806 $as_echo "$xsi_shell" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5810 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5812 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5814 && lt_shell_append
=yes
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5816 $as_echo "$lt_shell_append" >&6; }
5819 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5829 # test EBCDIC or ASCII
5830 case `echo X|tr X '\101'` in
5831 A
) # ASCII based system
5832 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5833 lt_SP2NL
='tr \040 \012'
5834 lt_NL2SP
='tr \015\012 \040\040'
5836 *) # EBCDIC based system
5837 lt_SP2NL
='tr \100 \n'
5838 lt_NL2SP
='tr \r\n \100\100'
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5851 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5852 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 lt_cv_ld_reload_flag
='-r'
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5858 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5859 reload_flag
=$lt_cv_ld_reload_flag
5860 case $reload_flag in
5862 *) reload_flag
=" $reload_flag" ;;
5864 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5867 if test "$GCC" = yes; then
5868 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5870 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5883 if test -n "$ac_tool_prefix"; then
5884 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5885 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$OBJDUMP"; then
5892 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir
=.
5899 for ac_exec_ext
in '' $ac_executable_extensions; do
5900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5901 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 OBJDUMP
=$ac_cv_prog_OBJDUMP
5912 if test -n "$OBJDUMP"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5914 $as_echo "$OBJDUMP" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5922 if test -z "$ac_cv_prog_OBJDUMP"; then
5923 ac_ct_OBJDUMP
=$OBJDUMP
5924 # Extract the first word of "objdump", so it can be a program name with args.
5925 set dummy objdump
; ac_word
=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5929 $as_echo_n "(cached) " >&6
5931 if test -n "$ac_ct_OBJDUMP"; then
5932 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5938 test -z "$as_dir" && as_dir
=.
5939 for ac_exec_ext
in '' $ac_executable_extensions; do
5940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5952 if test -n "$ac_ct_OBJDUMP"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5954 $as_echo "$ac_ct_OBJDUMP" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5960 if test "x$ac_ct_OBJDUMP" = x
; then
5963 case $cross_compiling:$ac_tool_warned in
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5967 ac_tool_warned
=yes ;;
5969 OBJDUMP
=$ac_ct_OBJDUMP
5972 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5975 test -z "$OBJDUMP" && OBJDUMP
=objdump
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5986 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5987 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5988 $as_echo_n "(cached) " >&6
5990 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5991 lt_cv_file_magic_test_file
=
5992 lt_cv_deplibs_check_method
='unknown'
5993 # Need to set the preceding variable on all platforms that support
5994 # interlibrary dependencies.
5995 # 'none' -- dependencies not supported.
5996 # `unknown' -- same as none, but documents that we really don't know.
5997 # 'pass_all' -- all dependencies passed with no checks.
5998 # 'test_compile' -- check by making test program.
5999 # 'file_magic [[regex]]' -- check by looking for files in library path
6000 # which responds to the $file_magic_cmd with a given extended regex.
6001 # If you have `file' or equivalent on your system and you're not sure
6002 # whether `pass_all' will *always* work, you probably want this one.
6006 lt_cv_deplibs_check_method
=pass_all
6010 lt_cv_deplibs_check_method
=pass_all
6014 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6015 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6016 lt_cv_file_magic_test_file
=/shlib
/libc.so
6020 # func_win32_libid is a shell function defined in ltmain.sh
6021 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6022 lt_cv_file_magic_cmd
='func_win32_libid'
6026 # Base MSYS/MinGW do not provide the 'file' command needed by
6027 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6028 # unless we find 'file', for example because we are cross-compiling.
6029 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6030 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6031 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6032 lt_cv_file_magic_cmd
='func_win32_libid'
6034 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6035 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6040 # use the weaker test based on 'objdump'. See mingw*.
6041 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6042 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6045 darwin
* | rhapsody
*)
6046 lt_cv_deplibs_check_method
=pass_all
6049 freebsd
* | dragonfly
*)
6050 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6053 # Not sure whether the presence of OpenBSD here was a mistake.
6054 # Let's accept both of them until this is cleared up.
6055 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6056 lt_cv_file_magic_cmd
=/usr
/bin
/file
6057 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6061 lt_cv_deplibs_check_method
=pass_all
6066 lt_cv_deplibs_check_method
=pass_all
6070 lt_cv_deplibs_check_method
=pass_all
6073 hpux10.20
* | hpux11
*)
6074 lt_cv_file_magic_cmd
=/usr
/bin
/file
6077 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6078 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6081 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]'
6082 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6085 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6086 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6092 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6093 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6096 irix5
* | irix6
* | nonstopux
*)
6098 *-32|
*"-32 ") libmagic
=32-bit;;
6099 *-n32|
*"-n32 ") libmagic
=N32
;;
6100 *-64|
*"-64 ") libmagic
=64-bit;;
6101 *) libmagic
=never-match
;;
6103 lt_cv_deplibs_check_method
=pass_all
6106 # This must be Linux ELF.
6107 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6108 lt_cv_deplibs_check_method
=pass_all
6112 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6113 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6115 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6120 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6121 lt_cv_file_magic_cmd
=/usr
/bin
/file
6122 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6126 lt_cv_deplibs_check_method
=pass_all
6130 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6131 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6133 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6137 osf3
* | osf4
* | osf5
*)
6138 lt_cv_deplibs_check_method
=pass_all
6142 lt_cv_deplibs_check_method
=pass_all
6146 lt_cv_deplibs_check_method
=pass_all
6149 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6150 lt_cv_deplibs_check_method
=pass_all
6154 case $host_vendor in
6156 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]'
6157 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6160 lt_cv_deplibs_check_method
=pass_all
6163 lt_cv_file_magic_cmd
='/bin/file'
6164 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6167 lt_cv_file_magic_cmd
='/bin/file'
6168 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6169 lt_cv_file_magic_test_file
=/lib
/libc.so
6172 lt_cv_deplibs_check_method
=pass_all
6175 lt_cv_deplibs_check_method
=pass_all
6181 lt_cv_deplibs_check_method
=pass_all
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6187 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6188 file_magic_cmd
=$lt_cv_file_magic_cmd
6189 deplibs_check_method
=$lt_cv_deplibs_check_method
6190 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6203 if test -n "$ac_tool_prefix"; then
6204 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6205 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if test "${ac_cv_prog_AR+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6211 if test -n "$AR"; then
6212 ac_cv_prog_AR
="$AR" # Let the user override the test.
6214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6218 test -z "$as_dir" && as_dir
=.
6219 for ac_exec_ext
in '' $ac_executable_extensions; do
6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 if test -n "$AR"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6234 $as_echo "$AR" >&6; }
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6242 if test -z "$ac_cv_prog_AR"; then
6244 # Extract the first word of "ar", so it can be a program name with args.
6245 set dummy
ar; ac_word
=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6249 $as_echo_n "(cached) " >&6
6251 if test -n "$ac_ct_AR"; then
6252 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6258 test -z "$as_dir" && as_dir
=.
6259 for ac_exec_ext
in '' $ac_executable_extensions; do
6260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261 ac_cv_prog_ac_ct_AR
="ar"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6272 if test -n "$ac_ct_AR"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6274 $as_echo "$ac_ct_AR" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6280 if test "x$ac_ct_AR" = x
; then
6283 case $cross_compiling:$ac_tool_warned in
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287 ac_tool_warned
=yes ;;
6295 test -z "$AR" && AR
=ar
6296 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6308 if test -n "$ac_tool_prefix"; then
6309 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6310 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 $as_echo_n "checking for $ac_word... " >&6; }
6313 if test "${ac_cv_prog_STRIP+set}" = set; then :
6314 $as_echo_n "(cached) " >&6
6316 if test -n "$STRIP"; then
6317 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6323 test -z "$as_dir" && as_dir
=.
6324 for ac_exec_ext
in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6326 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 STRIP
=$ac_cv_prog_STRIP
6337 if test -n "$STRIP"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6339 $as_echo "$STRIP" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6347 if test -z "$ac_cv_prog_STRIP"; then
6349 # Extract the first word of "strip", so it can be a program name with args.
6350 set dummy strip
; ac_word
=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6354 $as_echo_n "(cached) " >&6
6356 if test -n "$ac_ct_STRIP"; then
6357 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir
=.
6364 for ac_exec_ext
in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_prog_ac_ct_STRIP
="strip"
6367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6377 if test -n "$ac_ct_STRIP"; then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6379 $as_echo "$ac_ct_STRIP" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }
6385 if test "x$ac_ct_STRIP" = x
; then
6388 case $cross_compiling:$ac_tool_warned in
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6392 ac_tool_warned
=yes ;;
6397 STRIP
="$ac_cv_prog_STRIP"
6400 test -z "$STRIP" && STRIP
=:
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6409 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$RANLIB"; then
6416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir
=.
6423 for ac_exec_ext
in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 RANLIB
=$ac_cv_prog_RANLIB
6436 if test -n "$RANLIB"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6438 $as_echo "$RANLIB" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_RANLIB"; then
6447 ac_ct_RANLIB
=$RANLIB
6448 # Extract the first word of "ranlib", so it can be a program name with args.
6449 set dummy ranlib
; ac_word
=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$ac_ct_RANLIB"; then
6456 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir
=.
6463 for ac_exec_ext
in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6476 if test -n "$ac_ct_RANLIB"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6478 $as_echo "$ac_ct_RANLIB" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_RANLIB" = x
; then
6487 case $cross_compiling:$ac_tool_warned in
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned
=yes ;;
6493 RANLIB
=$ac_ct_RANLIB
6496 RANLIB
="$ac_cv_prog_RANLIB"
6499 test -z "$RANLIB" && RANLIB
=:
6506 # Determine commands to create old-style static archives.
6507 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6508 old_postinstall_cmds
='chmod 644 $oldlib'
6509 old_postuninstall_cmds
=
6511 if test -n "$RANLIB"; then
6514 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6517 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6520 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6525 lock_old_archive_extraction
=yes ;;
6527 lock_old_archive_extraction
=no
;;
6568 # If no C compiler was specified, use CC.
6571 # If no C compiler flags were specified, use CFLAGS.
6572 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6574 # Allow CC to be a program name with arguments.
6578 # Check for command to grab the raw symbol name followed by C symbol from nm.
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6580 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6581 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6585 # These are sane defaults that work on at least a few old systems.
6586 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6588 # Character class describing NM global symbol codes.
6589 symcode
='[BCDEGRST]'
6591 # Regexp to match symbols that can be accessed directly from C.
6592 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6594 # Define system-specific variables.
6599 cygwin
* | mingw
* | pw32
* | cegcc
*)
6600 symcode
='[ABCDGISTW]'
6603 if test "$host_cpu" = ia64
; then
6604 symcode
='[ABCDEGRST]'
6608 symcode
='[BCDEGRST]'
6611 symcode
='[BCDEGQRST]'
6622 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6630 # If we're using GNU nm, then use its standard symbol codes.
6631 case `$NM -V 2>&1` in
6632 *GNU
* |
*'with BFD'*)
6633 symcode
='[ABCDGIRSTW]' ;;
6636 # Transform an extracted symbol line into a proper C declaration.
6637 # Some systems (esp. on ia64) link data and code symbols differently,
6638 # so use this general approach.
6639 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6641 # Transform an extracted symbol line into symbol name and symbol address
6642 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6643 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'"
6645 # Handle CRLF in mingw tool chain
6649 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6653 # Try without a prefix underscore, then with it.
6654 for ac_symprfx
in "" "_"; do
6656 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6657 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6659 # Write the raw and C identifiers.
6660 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6661 # Fake it for dumpbin and say T for any non-static function
6662 # and D for any global variable.
6663 # Also find C++ and __fastcall symbols from MSVC++,
6664 # which start with @ or ?.
6665 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6666 " {last_section=section; section=\$ 3};"\
6667 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6668 " \$ 0!~/External *\|/{next};"\
6669 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6670 " {if(hide[section]) next};"\
6671 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6672 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6673 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6674 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6675 " ' prfx=^$ac_symprfx"
6677 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6680 # Check to see that the pipe works correctly.
6684 cat > conftest.
$ac_ext <<_LT_EOF
6689 void nm_test_func(void);
6690 void nm_test_func(void){}
6694 int main(){nm_test_var='a';nm_test_func();return(0);}
6697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6698 (eval $ac_compile) 2>&5
6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6701 test $ac_status = 0; }; then
6702 # Now try to grab the symbols.
6704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6705 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 test $ac_status = 0; } && test -s "$nlist"; then
6709 # Try sorting and uniquifying the output.
6710 if sort "$nlist" |
uniq > "$nlist"T
; then
6711 mv -f "$nlist"T
"$nlist"
6716 # Make sure that we snagged all the symbols we need.
6717 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6718 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6719 cat <<_LT_EOF > conftest.$ac_ext
6725 # Now generate the symbol file.
6726 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6728 cat <<_LT_EOF >> conftest.$ac_ext
6730 /* The mapping between symbol names and symbols. */
6735 lt__PROGRAM__LTX_preloaded_symbols[] =
6737 { "@PROGRAM@", (void *) 0 },
6739 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6740 cat <<\_LT_EOF
>> conftest.
$ac_ext
6744 /* This works around a problem
in FreeBSD linker
*/
6745 #ifdef FREEBSD_WORKAROUND
6746 static const void
*lt_preloaded_setup
() {
6747 return lt__PROGRAM__LTX_preloaded_symbols
;
6755 # Now try linking the two files.
6756 mv conftest.
$ac_objext conftstm.
$ac_objext
6757 lt_save_LIBS
="$LIBS"
6758 lt_save_CFLAGS
="$CFLAGS"
6759 LIBS
="conftstm.$ac_objext"
6760 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6762 (eval $ac_link) 2>&5
6764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6765 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6768 LIBS
="$lt_save_LIBS"
6769 CFLAGS
="$lt_save_CFLAGS"
6771 echo "cannot find nm_test_func in $nlist" >&5
6774 echo "cannot find nm_test_var in $nlist" >&5
6777 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6780 echo "$progname: failed program was:" >&5
6781 cat conftest.
$ac_ext >&5
6783 rm -rf conftest
* conftst
*
6785 # Do not use the global_symbol_pipe unless it works.
6786 if test "$pipe_works" = yes; then
6789 lt_cv_sys_global_symbol_pipe
=
6795 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6796 lt_cv_sys_global_symbol_to_cdecl
=
6798 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6800 $as_echo "failed" >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6803 $as_echo "ok" >&6; }
6827 # Check whether --enable-libtool-lock was given.
6828 if test "${enable_libtool_lock+set}" = set; then :
6829 enableval
=$enable_libtool_lock;
6832 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6834 # Some flags need to be propagated to the compiler or linker for good
6838 # Find out which ABI we are using.
6839 echo 'int i;' > conftest.
$ac_ext
6840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6841 (eval $ac_compile) 2>&5
6843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6844 test $ac_status = 0; }; then
6845 case `/usr/bin/file conftest.$ac_objext` in
6857 # Find out which ABI we are using.
6858 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 if test "$lt_cv_prog_gnu_ld" = yes; then
6865 case `/usr/bin/file conftest.$ac_objext` in
6867 LD
="${LD-ld} -melf32bsmip"
6870 LD
="${LD-ld} -melf32bmipn32"
6873 LD
="${LD-ld} -melf64bmip"
6877 case `/usr/bin/file conftest.$ac_objext` in
6893 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6894 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6895 # Find out which ABI we are using.
6896 echo 'int i;' > conftest.
$ac_ext
6897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6898 (eval $ac_compile) 2>&5
6900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6901 test $ac_status = 0; }; then
6902 case `/usr/bin/file conftest.o` in
6905 x86_64-
*kfreebsd
*-gnu)
6906 LD
="${LD-ld} -m elf_i386_fbsd"
6909 case `/usr/bin/file conftest.o` in
6911 LD
="${LD-ld} -m elf32_x86_64"
6914 LD
="${LD-ld} -m elf_i386"
6918 powerpc64le-
*linux
*)
6919 LD
="${LD-ld} -m elf32lppclinux"
6922 LD
="${LD-ld} -m elf32ppclinux"
6925 LD
="${LD-ld} -m elf_s390"
6928 LD
="${LD-ld} -m elf32_sparc"
6934 x86_64-
*kfreebsd
*-gnu)
6935 LD
="${LD-ld} -m elf_x86_64_fbsd"
6938 LD
="${LD-ld} -m elf_x86_64"
6941 LD
="${LD-ld} -m elf64lppc"
6944 LD
="${LD-ld} -m elf64ppc"
6946 s390
*-*linux
*|s390
*-*tpf
*)
6947 LD
="${LD-ld} -m elf64_s390"
6950 LD
="${LD-ld} -m elf64_sparc"
6960 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6961 SAVE_CFLAGS
="$CFLAGS"
6962 CFLAGS
="$CFLAGS -belf"
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6964 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6965 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6966 $as_echo_n "(cached) " >&6
6969 ac_cpp
='$CPP $CPPFLAGS'
6970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6985 if ac_fn_c_try_link
"$LINENO"; then :
6986 lt_cv_cc_needs_belf
=yes
6988 lt_cv_cc_needs_belf
=no
6990 rm -f core conftest.err conftest.
$ac_objext \
6991 conftest
$ac_exeext conftest.
$ac_ext
6993 ac_cpp
='$CPP $CPPFLAGS'
6994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7000 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7001 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7002 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7003 CFLAGS
="$SAVE_CFLAGS"
7007 # Find out which ABI we are using.
7008 echo 'int i;' > conftest.
$ac_ext
7009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7010 (eval $ac_compile) 2>&5
7012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7013 test $ac_status = 0; }; then
7014 case `/usr/bin/file conftest.o` in
7016 case $lt_cv_prog_gnu_ld in
7017 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7019 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7031 need_locks
="$enable_libtool_lock"
7035 rhapsody
* | darwin
*)
7036 if test -n "$ac_tool_prefix"; then
7037 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7038 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 $as_echo_n "checking for $ac_word... " >&6; }
7041 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7042 $as_echo_n "(cached) " >&6
7044 if test -n "$DSYMUTIL"; then
7045 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7051 test -z "$as_dir" && as_dir
=.
7052 for ac_exec_ext
in '' $ac_executable_extensions; do
7053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7054 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7065 if test -n "$DSYMUTIL"; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7067 $as_echo "$DSYMUTIL" >&6; }
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7070 $as_echo "no" >&6; }
7075 if test -z "$ac_cv_prog_DSYMUTIL"; then
7076 ac_ct_DSYMUTIL
=$DSYMUTIL
7077 # Extract the first word of "dsymutil", so it can be a program name with args.
7078 set dummy dsymutil
; ac_word
=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 $as_echo_n "checking for $ac_word... " >&6; }
7081 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7082 $as_echo_n "(cached) " >&6
7084 if test -n "$ac_ct_DSYMUTIL"; then
7085 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir
=.
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7094 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7105 if test -n "$ac_ct_DSYMUTIL"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7107 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 $as_echo "no" >&6; }
7113 if test "x$ac_ct_DSYMUTIL" = x
; then
7116 case $cross_compiling:$ac_tool_warned in
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7120 ac_tool_warned
=yes ;;
7122 DSYMUTIL
=$ac_ct_DSYMUTIL
7125 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7128 if test -n "$ac_tool_prefix"; then
7129 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7130 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7134 $as_echo_n "(cached) " >&6
7136 if test -n "$NMEDIT"; then
7137 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir
=.
7144 for ac_exec_ext
in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 NMEDIT
=$ac_cv_prog_NMEDIT
7157 if test -n "$NMEDIT"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7159 $as_echo "$NMEDIT" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7167 if test -z "$ac_cv_prog_NMEDIT"; then
7168 ac_ct_NMEDIT
=$NMEDIT
7169 # Extract the first word of "nmedit", so it can be a program name with args.
7170 set dummy nmedit
; ac_word
=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$ac_ct_NMEDIT"; then
7177 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7197 if test -n "$ac_ct_NMEDIT"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7199 $as_echo "$ac_ct_NMEDIT" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7205 if test "x$ac_ct_NMEDIT" = x
; then
7208 case $cross_compiling:$ac_tool_warned in
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned
=yes ;;
7214 NMEDIT
=$ac_ct_NMEDIT
7217 NMEDIT
="$ac_cv_prog_NMEDIT"
7220 if test -n "$ac_tool_prefix"; then
7221 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7222 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if test "${ac_cv_prog_LIPO+set}" = set; then :
7226 $as_echo_n "(cached) " >&6
7228 if test -n "$LIPO"; then
7229 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir
=.
7236 for ac_exec_ext
in '' $ac_executable_extensions; do
7237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7238 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 LIPO
=$ac_cv_prog_LIPO
7249 if test -n "$LIPO"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7251 $as_echo "$LIPO" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7259 if test -z "$ac_cv_prog_LIPO"; then
7261 # Extract the first word of "lipo", so it can be a program name with args.
7262 set dummy lipo
; ac_word
=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7266 $as_echo_n "(cached) " >&6
7268 if test -n "$ac_ct_LIPO"; then
7269 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7275 test -z "$as_dir" && as_dir
=.
7276 for ac_exec_ext
in '' $ac_executable_extensions; do
7277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7278 ac_cv_prog_ac_ct_LIPO
="lipo"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7289 if test -n "$ac_ct_LIPO"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7291 $as_echo "$ac_ct_LIPO" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7297 if test "x$ac_ct_LIPO" = x
; then
7300 case $cross_compiling:$ac_tool_warned in
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304 ac_tool_warned
=yes ;;
7309 LIPO
="$ac_cv_prog_LIPO"
7312 if test -n "$ac_tool_prefix"; then
7313 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7314 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7320 if test -n "$OTOOL"; then
7321 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir
=.
7328 for ac_exec_ext
in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 OTOOL
=$ac_cv_prog_OTOOL
7341 if test -n "$OTOOL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7343 $as_echo "$OTOOL" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7351 if test -z "$ac_cv_prog_OTOOL"; then
7353 # Extract the first word of "otool", so it can be a program name with args.
7354 set dummy otool
; ac_word
=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$ac_ct_OTOOL"; then
7361 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_ac_ct_OTOOL
="otool"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7381 if test -n "$ac_ct_OTOOL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7383 $as_echo "$ac_ct_OTOOL" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7389 if test "x$ac_ct_OTOOL" = x
; then
7392 case $cross_compiling:$ac_tool_warned in
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned
=yes ;;
7401 OTOOL
="$ac_cv_prog_OTOOL"
7404 if test -n "$ac_tool_prefix"; then
7405 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7406 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7412 if test -n "$OTOOL64"; then
7413 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7419 test -z "$as_dir" && as_dir
=.
7420 for ac_exec_ext
in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 OTOOL64
=$ac_cv_prog_OTOOL64
7433 if test -n "$OTOOL64"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7435 $as_echo "$OTOOL64" >&6; }
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7443 if test -z "$ac_cv_prog_OTOOL64"; then
7444 ac_ct_OTOOL64
=$OTOOL64
7445 # Extract the first word of "otool64", so it can be a program name with args.
7446 set dummy otool64
; ac_word
=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7450 $as_echo_n "(cached) " >&6
7452 if test -n "$ac_ct_OTOOL64"; then
7453 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7459 test -z "$as_dir" && as_dir
=.
7460 for ac_exec_ext
in '' $ac_executable_extensions; do
7461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7462 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7473 if test -n "$ac_ct_OTOOL64"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7475 $as_echo "$ac_ct_OTOOL64" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7481 if test "x$ac_ct_OTOOL64" = x
; then
7484 case $cross_compiling:$ac_tool_warned in
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7488 ac_tool_warned
=yes ;;
7490 OTOOL64
=$ac_ct_OTOOL64
7493 OTOOL64
="$ac_cv_prog_OTOOL64"
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7523 $as_echo_n "checking for -single_module linker flag... " >&6; }
7524 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7527 lt_cv_apple_cc_single_mod
=no
7528 if test -z "${LT_MULTI_MODULE}"; then
7529 # By default we will add the -single_module flag. You can override
7530 # by either setting the environment variable LT_MULTI_MODULE
7531 # non-empty at configure time, or by adding -multi_module to the
7533 rm -rf libconftest.dylib
*
7534 echo "int foo(void){return 1;}" > conftest.c
7535 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7536 -dynamiclib -Wl,-single_module conftest.c" >&5
7537 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7538 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7540 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7541 lt_cv_apple_cc_single_mod
=yes
7543 cat conftest.err
>&5
7545 rm -rf libconftest.dylib
*
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7550 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7552 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7553 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7554 $as_echo_n "(cached) " >&6
7556 lt_cv_ld_exported_symbols_list
=no
7557 save_LDFLAGS
=$LDFLAGS
7558 echo "_main" > conftest.sym
7559 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7571 if ac_fn_c_try_link
"$LINENO"; then :
7572 lt_cv_ld_exported_symbols_list
=yes
7574 lt_cv_ld_exported_symbols_list
=no
7576 rm -f core conftest.err conftest.
$ac_objext \
7577 conftest
$ac_exeext conftest.
$ac_ext
7578 LDFLAGS
="$save_LDFLAGS"
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7582 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7584 $as_echo_n "checking for -force_load linker flag... " >&6; }
7585 if test "${lt_cv_ld_force_load+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7588 lt_cv_ld_force_load
=no
7589 cat > conftest.c
<< _LT_EOF
7590 int forced_loaded() { return 2;}
7592 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7593 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7594 echo "$AR cru libconftest.a conftest.o" >&5
7595 $AR cru libconftest.a conftest.o
2>&5
7596 cat > conftest.c
<< _LT_EOF
7597 int main() { return 0;}
7599 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7600 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7602 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7603 lt_cv_ld_force_load
=yes
7605 cat conftest.err
>&5
7607 rm -f conftest.err libconftest.a conftest conftest.c
7608 rm -rf conftest.dSYM
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7612 $as_echo "$lt_cv_ld_force_load" >&6; }
7614 rhapsody
* | darwin1.
[012])
7615 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7617 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7618 darwin
*) # darwin 5.x on
7619 # if running on 10.5 or later, the deployment target defaults
7620 # to the OS version, if on x86, and 10.4, the deployment
7621 # target defaults to 10.4. Don't you love it?
7622 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7623 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7624 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7626 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7628 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7632 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7633 _lt_dar_single_mod
='$single_module'
7635 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7636 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7638 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7640 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7641 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7648 for ac_header
in dlfcn.h
7650 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7652 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7653 cat >>confdefs.h
<<_ACEOF
7654 #define HAVE_DLFCN_H 1
7675 # Check whether --enable-shared was given.
7676 if test "${enable_shared+set}" = set; then :
7677 enableval
=$enable_shared; p
=${PACKAGE-default}
7679 yes) enable_shared
=yes ;;
7680 no
) enable_shared
=no
;;
7683 # Look at the argument we got. We use all the common list separators.
7684 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7685 for pkg
in $enableval; do
7687 if test "X$pkg" = "X$p"; then
7706 # Check whether --enable-static was given.
7707 if test "${enable_static+set}" = set; then :
7708 enableval
=$enable_static; p
=${PACKAGE-default}
7710 yes) enable_static
=yes ;;
7711 no
) enable_static
=no
;;
7714 # Look at the argument we got. We use all the common list separators.
7715 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7716 for pkg
in $enableval; do
7718 if test "X$pkg" = "X$p"; then
7738 # Check whether --with-pic was given.
7739 if test "${with_pic+set}" = set; then :
7740 withval
=$with_pic; pic_mode
="$withval"
7746 test -z "$pic_mode" && pic_mode
=default
7754 # Check whether --enable-fast-install was given.
7755 if test "${enable_fast_install+set}" = set; then :
7756 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7758 yes) enable_fast_install
=yes ;;
7759 no
) enable_fast_install
=no
;;
7761 enable_fast_install
=no
7762 # Look at the argument we got. We use all the common list separators.
7763 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7764 for pkg
in $enableval; do
7766 if test "X$pkg" = "X$p"; then
7767 enable_fast_install
=yes
7774 enable_fast_install
=yes
7787 # This can be used to rebuild libtool when needed
7788 LIBTOOL_DEPS
="$ltmain"
7790 # Always use our own libtool.
7791 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7818 test -z "$LN_S" && LN_S
="ln -s"
7833 if test -n "${ZSH_VERSION+set}" ; then
7834 setopt NO_GLOB_SUBST
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7838 $as_echo_n "checking for objdir... " >&6; }
7839 if test "${lt_cv_objdir+set}" = set; then :
7840 $as_echo_n "(cached) " >&6
7842 rm -f .libs
2>/dev
/null
7843 mkdir .libs
2>/dev
/null
7844 if test -d .libs
; then
7847 # MS-DOS does not allow filenames that begin with a dot.
7850 rmdir .libs
2>/dev
/null
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7853 $as_echo "$lt_cv_objdir" >&6; }
7854 objdir
=$lt_cv_objdir
7860 cat >>confdefs.h
<<_ACEOF
7861 #define LT_OBJDIR "$lt_cv_objdir/"
7869 # AIX sometimes has problems with the GCC collect2 program. For some
7870 # reason, if we set the COLLECT_NAMES environment variable, the problems
7871 # vanish in a puff of smoke.
7872 if test "X${COLLECT_NAMES+set}" != Xset
; then
7874 export COLLECT_NAMES
7881 can_build_shared
=yes
7883 # All known linkers require a `.a' archive for static linking (except MSVC,
7884 # which needs '.lib').
7887 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7890 old_CFLAGS
="$CFLAGS"
7892 # Set sane defaults for various variables
7893 test -z "$CC" && CC
=cc
7894 test -z "$LTCC" && LTCC
=$CC
7895 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7896 test -z "$LD" && LD
=ld
7897 test -z "$ac_objext" && ac_objext
=o
7899 for cc_temp
in $compiler""; do
7901 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7902 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7907 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7910 # Only perform the check for file, if the check method requires it
7911 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7912 case $deplibs_check_method in
7914 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7916 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7917 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7918 $as_echo_n "(cached) " >&6
7922 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7925 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7926 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7927 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7928 for ac_dir
in $ac_dummy; do
7930 test -z "$ac_dir" && ac_dir
=.
7931 if test -f $ac_dir/${ac_tool_prefix}file; then
7932 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7933 if test -n "$file_magic_test_file"; then
7934 case $deplibs_check_method in
7936 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7937 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7938 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7939 $EGREP "$file_magic_regex" > /dev
/null
; then
7944 *** Warning: the command libtool uses to detect shared libraries,
7945 *** $file_magic_cmd, produces output that libtool cannot recognize.
7946 *** The result is that libtool may fail to recognize shared libraries
7947 *** as such. This will affect the creation of libtool libraries that
7948 *** depend on shared libraries, but programs linked with such libtool
7949 *** libraries will work regardless of this problem. Nevertheless, you
7950 *** may want to report the problem to your system manager and/or to
7951 *** bug-libtool@gnu.org
7961 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7966 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7967 if test -n "$MAGIC_CMD"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7969 $as_echo "$MAGIC_CMD" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7979 if test -z "$lt_cv_path_MAGIC_CMD"; then
7980 if test -n "$ac_tool_prefix"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7982 $as_echo_n "checking for file... " >&6; }
7983 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7984 $as_echo_n "(cached) " >&6
7988 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7991 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7992 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7993 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7994 for ac_dir
in $ac_dummy; do
7996 test -z "$ac_dir" && ac_dir
=.
7997 if test -f $ac_dir/file; then
7998 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7999 if test -n "$file_magic_test_file"; then
8000 case $deplibs_check_method in
8002 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8003 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8004 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8005 $EGREP "$file_magic_regex" > /dev
/null
; then
8010 *** Warning: the command libtool uses to detect shared libraries,
8011 *** $file_magic_cmd, produces output that libtool cannot recognize.
8012 *** The result is that libtool may fail to recognize shared libraries
8013 *** as such. This will affect the creation of libtool libraries that
8014 *** depend on shared libraries, but programs linked with such libtool
8015 *** libraries will work regardless of this problem. Nevertheless, you
8016 *** may want to report the problem to your system manager and/or to
8017 *** bug-libtool@gnu.org
8027 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8032 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8033 if test -n "$MAGIC_CMD"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8035 $as_echo "$MAGIC_CMD" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8051 # Use C for the default configuration in the libtool script
8055 ac_cpp
='$CPP $CPPFLAGS'
8056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8061 # Source file extension for C test sources.
8064 # Object file extension for compiled C test sources.
8068 # Code to be used in simple compile tests
8069 lt_simple_compile_test_code
="int some_variable = 0;"
8071 # Code to be used in simple link tests
8072 lt_simple_link_test_code
='int main(){return(0);}'
8080 # If no C compiler was specified, use CC.
8083 # If no C compiler flags were specified, use CFLAGS.
8084 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8086 # Allow CC to be a program name with arguments.
8089 # Save the default compiler, since it gets overwritten when the other
8090 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8091 compiler_DEFAULT
=$CC
8093 # save warnings/boilerplate of simple test code
8094 ac_outfile
=conftest.
$ac_objext
8095 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8096 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8097 _lt_compiler_boilerplate
=`cat conftest.err`
8100 ac_outfile
=conftest.
$ac_objext
8101 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8102 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8103 _lt_linker_boilerplate
=`cat conftest.err`
8108 ## There is no encapsulation within the following macros, do not change
8109 ## the running order or otherwise move them around unless you know exactly
8110 ## what you are doing...
8111 if test -n "$compiler"; then
8113 lt_prog_compiler_no_builtin_flag
=
8115 if test "$GCC" = yes; then
8116 case $cc_basename in
8118 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8120 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8124 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8125 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8126 $as_echo_n "(cached) " >&6
8128 lt_cv_prog_compiler_rtti_exceptions
=no
8129 ac_outfile
=conftest.
$ac_objext
8130 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8131 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8132 # Insert the option either (1) after the last *FLAGS variable, or
8133 # (2) before a word containing "conftest.", or (3) at the end.
8134 # Note that $ac_compile itself does not contain backslashes and begins
8135 # with a dollar sign (not a hyphen), so the echo should work correctly.
8136 # The option is referenced via a variable to avoid confusing sed.
8137 lt_compile
=`echo "$ac_compile" | $SED \
8138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8140 -e 's:$: $lt_compiler_flag:'`
8141 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8142 (eval "$lt_compile" 2>conftest.err
)
8144 cat conftest.err
>&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 if (exit $ac_status) && test -s "$ac_outfile"; then
8147 # The compiler can only warn and ignore the option if not recognized
8148 # So say no if there are warnings other than the usual output.
8149 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8150 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8151 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8152 lt_cv_prog_compiler_rtti_exceptions
=yes
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8159 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8161 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8162 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8174 lt_prog_compiler_wl
=
8175 lt_prog_compiler_pic
=
8176 lt_prog_compiler_static
=
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8179 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8181 if test "$GCC" = yes; then
8182 lt_prog_compiler_wl
='-Wl,'
8183 lt_prog_compiler_static
='-static'
8187 # All AIX code is PIC.
8188 if test "$host_cpu" = ia64
; then
8189 # AIX 5 now supports IA64 processor
8190 lt_prog_compiler_static
='-Bstatic'
8192 lt_prog_compiler_pic
='-fPIC'
8198 # see comment about AmigaOS4 .so support
8199 lt_prog_compiler_pic
='-fPIC'
8202 # FIXME: we need at least 68020 code to build shared libraries, but
8203 # adding the `-m68020' flag to GCC prevents building anything better,
8205 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8210 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8211 # PIC is the default for these OSes.
8214 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8215 # This hack is so that the source file can tell whether it is being
8216 # built for inclusion in a dll (and should export symbols for example).
8217 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8218 # (--disable-auto-import) libraries
8219 lt_prog_compiler_pic
='-DDLL_EXPORT'
8222 darwin
* | rhapsody
*)
8223 # PIC is the default on this platform
8224 # Common symbols not allowed in MH_DYLIB files
8225 lt_prog_compiler_pic
='-fno-common'
8229 # PIC is the default for Haiku.
8230 # The "-static" flag exists, but is broken.
8231 lt_prog_compiler_static
=
8235 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8236 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8237 # sets the default TLS model and affects inlining.
8243 lt_prog_compiler_pic
='-fPIC'
8249 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8250 # Instead, we relocate shared libraries at runtime.
8254 # Just because we use GCC doesn't mean we suddenly get shared libraries
8255 # on systems that don't support them.
8256 lt_prog_compiler_can_build_shared
=no
8261 # QNX uses GNU C++, but need to define -shared option too, otherwise
8263 lt_prog_compiler_pic
='-fPIC -shared'
8267 if test -d /usr
/nec
; then
8268 lt_prog_compiler_pic
=-Kconform_pic
8273 lt_prog_compiler_pic
='-fPIC'
8277 case $cc_basename in
8278 nvcc
*) # Cuda Compiler Driver 2.2
8279 lt_prog_compiler_wl
='-Xlinker '
8280 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8284 # PORTME Check for flag to pass linker flags through the system compiler.
8287 lt_prog_compiler_wl
='-Wl,'
8288 if test "$host_cpu" = ia64
; then
8289 # AIX 5 now supports IA64 processor
8290 lt_prog_compiler_static
='-Bstatic'
8292 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8296 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8297 # This hack is so that the source file can tell whether it is being
8298 # built for inclusion in a dll (and should export symbols for example).
8299 lt_prog_compiler_pic
='-DDLL_EXPORT'
8302 hpux9
* | hpux10
* | hpux11
*)
8303 lt_prog_compiler_wl
='-Wl,'
8304 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8311 lt_prog_compiler_pic
='+Z'
8314 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8315 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8318 irix5
* | irix6
* | nonstopux
*)
8319 lt_prog_compiler_wl
='-Wl,'
8320 # PIC (with -KPIC) is the default.
8321 lt_prog_compiler_static
='-non_shared'
8324 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8325 case $cc_basename in
8326 # old Intel for x86_64 which still supported -KPIC.
8328 lt_prog_compiler_wl
='-Wl,'
8329 lt_prog_compiler_pic
='-KPIC'
8330 lt_prog_compiler_static
='-static'
8332 # icc used to be incompatible with GCC.
8333 # ICC 10 doesn't accept -KPIC any more.
8335 lt_prog_compiler_wl
='-Wl,'
8336 lt_prog_compiler_pic
='-fPIC'
8337 lt_prog_compiler_static
='-static'
8339 # Lahey Fortran 8.1.
8341 lt_prog_compiler_wl
='-Wl,'
8342 lt_prog_compiler_pic
='--shared'
8343 lt_prog_compiler_static
='--static'
8345 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8346 # Portland Group compilers (*not* the Pentium gcc compiler,
8347 # which looks to be a dead project)
8348 lt_prog_compiler_wl
='-Wl,'
8349 lt_prog_compiler_pic
='-fpic'
8350 lt_prog_compiler_static
='-Bstatic'
8353 lt_prog_compiler_wl
='-Wl,'
8354 # All Alpha code is PIC.
8355 lt_prog_compiler_static
='-non_shared'
8357 xl
* | bgxl
* | bgf
* | mpixl
*)
8358 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8359 lt_prog_compiler_wl
='-Wl,'
8360 lt_prog_compiler_pic
='-qpic'
8361 lt_prog_compiler_static
='-qstaticlink'
8364 case `$CC -V 2>&1 | sed 5q` in
8365 *Sun\ F
* |
*Sun
*Fortran
*)
8366 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8367 lt_prog_compiler_pic
='-KPIC'
8368 lt_prog_compiler_static
='-Bstatic'
8369 lt_prog_compiler_wl
=''
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8375 lt_prog_compiler_wl
='-Wl,'
8383 lt_prog_compiler_pic
='-KPIC'
8384 lt_prog_compiler_static
='-Bstatic'
8388 # QNX uses GNU C++, but need to define -shared option too, otherwise
8390 lt_prog_compiler_pic
='-fPIC -shared'
8393 osf3
* | osf4
* | osf5
*)
8394 lt_prog_compiler_wl
='-Wl,'
8395 # All OSF/1 code is PIC.
8396 lt_prog_compiler_static
='-non_shared'
8400 lt_prog_compiler_static
='-non_shared'
8404 lt_prog_compiler_pic
='-KPIC'
8405 lt_prog_compiler_static
='-Bstatic'
8406 case $cc_basename in
8408 lt_prog_compiler_wl
='-Qoption ld ';;
8410 lt_prog_compiler_wl
='-Wl,';;
8415 lt_prog_compiler_wl
='-Qoption ld '
8416 lt_prog_compiler_pic
='-PIC'
8417 lt_prog_compiler_static
='-Bstatic'
8420 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8421 lt_prog_compiler_wl
='-Wl,'
8422 lt_prog_compiler_pic
='-KPIC'
8423 lt_prog_compiler_static
='-Bstatic'
8427 if test -d /usr
/nec
;then
8428 lt_prog_compiler_pic
='-Kconform_pic'
8429 lt_prog_compiler_static
='-Bstatic'
8433 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8434 lt_prog_compiler_wl
='-Wl,'
8435 lt_prog_compiler_pic
='-KPIC'
8436 lt_prog_compiler_static
='-Bstatic'
8440 lt_prog_compiler_wl
='-Wl,'
8441 lt_prog_compiler_can_build_shared
=no
8445 lt_prog_compiler_pic
='-pic'
8446 lt_prog_compiler_static
='-Bstatic'
8450 lt_prog_compiler_can_build_shared
=no
8456 # For platforms which do not support PIC, -DPIC is meaningless:
8458 lt_prog_compiler_pic
=
8461 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8465 $as_echo "$lt_prog_compiler_pic" >&6; }
8473 # Check to make sure the PIC flag actually works.
8475 if test -n "$lt_prog_compiler_pic"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8477 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8478 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8479 $as_echo_n "(cached) " >&6
8481 lt_cv_prog_compiler_pic_works
=no
8482 ac_outfile
=conftest.
$ac_objext
8483 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8484 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8485 # Insert the option either (1) after the last *FLAGS variable, or
8486 # (2) before a word containing "conftest.", or (3) at the end.
8487 # Note that $ac_compile itself does not contain backslashes and begins
8488 # with a dollar sign (not a hyphen), so the echo should work correctly.
8489 # The option is referenced via a variable to avoid confusing sed.
8490 lt_compile
=`echo "$ac_compile" | $SED \
8491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8493 -e 's:$: $lt_compiler_flag:'`
8494 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8495 (eval "$lt_compile" 2>conftest.err
)
8497 cat conftest.err
>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 if (exit $ac_status) && test -s "$ac_outfile"; then
8500 # The compiler can only warn and ignore the option if not recognized
8501 # So say no if there are warnings other than the usual output.
8502 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8503 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8504 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8505 lt_cv_prog_compiler_pic_works
=yes
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8512 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8514 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8515 case $lt_prog_compiler_pic in
8517 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8520 lt_prog_compiler_pic
=
8521 lt_prog_compiler_can_build_shared
=no
8532 # Check to make sure the static flag actually works.
8534 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8536 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8537 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8538 $as_echo_n "(cached) " >&6
8540 lt_cv_prog_compiler_static_works
=no
8541 save_LDFLAGS
="$LDFLAGS"
8542 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8543 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8544 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8545 # The linker can only warn and ignore the option if not recognized
8546 # So say no if there are warnings
8547 if test -s conftest.err
; then
8548 # Append any errors to the config.log.
8549 cat conftest.err
1>&5
8550 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8551 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8552 if diff conftest.exp conftest.er2
>/dev
/null
; then
8553 lt_cv_prog_compiler_static_works
=yes
8556 lt_cv_prog_compiler_static_works
=yes
8560 LDFLAGS
="$save_LDFLAGS"
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8564 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8566 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8569 lt_prog_compiler_static
=
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8579 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8583 lt_cv_prog_compiler_c_o
=no
8584 $RM -r conftest
2>/dev
/null
8588 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8590 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8591 # Insert the option either (1) after the last *FLAGS variable, or
8592 # (2) before a word containing "conftest.", or (3) at the end.
8593 # Note that $ac_compile itself does not contain backslashes and begins
8594 # with a dollar sign (not a hyphen), so the echo should work correctly.
8595 lt_compile
=`echo "$ac_compile" | $SED \
8596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8598 -e 's:$: $lt_compiler_flag:'`
8599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8600 (eval "$lt_compile" 2>out
/conftest.err
)
8602 cat out
/conftest.err
>&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8606 # The compiler can only warn and ignore the option if not recognized
8607 # So say no if there are warnings
8608 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8609 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8610 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8611 lt_cv_prog_compiler_c_o
=yes
8616 # SGI C++ compiler will create directory out/ii_files/ for
8617 # template instantiation
8618 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8619 $RM out
/* && rmdir out
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8626 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8634 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8635 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8636 $as_echo_n "(cached) " >&6
8638 lt_cv_prog_compiler_c_o
=no
8639 $RM -r conftest
2>/dev
/null
8643 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8645 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8646 # Insert the option either (1) after the last *FLAGS variable, or
8647 # (2) before a word containing "conftest.", or (3) at the end.
8648 # Note that $ac_compile itself does not contain backslashes and begins
8649 # with a dollar sign (not a hyphen), so the echo should work correctly.
8650 lt_compile
=`echo "$ac_compile" | $SED \
8651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8653 -e 's:$: $lt_compiler_flag:'`
8654 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8655 (eval "$lt_compile" 2>out
/conftest.err
)
8657 cat out
/conftest.err
>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8661 # The compiler can only warn and ignore the option if not recognized
8662 # So say no if there are warnings
8663 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8664 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8665 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8666 lt_cv_prog_compiler_c_o
=yes
8671 # SGI C++ compiler will create directory out/ii_files/ for
8672 # template instantiation
8673 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8674 $RM out
/* && rmdir out
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8681 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8686 hard_links
="nottested"
8687 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8688 # do not overwrite the value of need_locks provided by the user
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8690 $as_echo_n "checking if we can lock with hard links... " >&6; }
8693 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8695 ln conftest.a conftest.b
2>&5 || hard_links
=no
8696 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8698 $as_echo "$hard_links" >&6; }
8699 if test "$hard_links" = no
; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8701 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8714 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8717 allow_undefined_flag
=
8718 always_export_symbols
=no
8720 archive_expsym_cmds
=
8721 compiler_needs_object
=no
8722 enable_shared_with_static_runtimes
=no
8723 export_dynamic_flag_spec
=
8724 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8725 hardcode_automatic
=no
8727 hardcode_direct_absolute
=no
8728 hardcode_libdir_flag_spec
=
8729 hardcode_libdir_flag_spec_ld
=
8730 hardcode_libdir_separator
=
8732 hardcode_shlibpath_var
=unsupported
8734 link_all_deplibs
=unknown
8737 old_archive_from_new_cmds
=
8738 old_archive_from_expsyms_cmds
=
8739 thread_safe_flag_spec
=
8740 whole_archive_flag_spec
=
8741 # include_expsyms should be a list of space-separated symbols to be *always*
8742 # included in the symbol list
8744 # exclude_expsyms can be an extended regexp of symbols to exclude
8745 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8746 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8747 # as well as any symbol that contains `d'.
8748 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8749 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8750 # platforms (ab)use it in PIC code, but their linkers get confused if
8751 # the symbol is explicitly referenced. Since portable code cannot
8752 # rely on this symbol name, it's probably fine to never include it in
8753 # preloaded symbol tables.
8754 # Exclude shared library initialization/finalization symbols.
8755 extract_expsyms_cmds
=
8758 cygwin
* | mingw
* | pw32
* | cegcc
*)
8759 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8760 # When not using gcc, we currently assume that we are using
8761 # Microsoft Visual C++.
8762 if test "$GCC" != yes; then
8767 # we just hope/assume this is gcc and not c89 (= MSVC++)
8777 # On some targets, GNU ld is compatible enough with the native linker
8778 # that we're better off using the native interface for both.
8779 lt_use_gnu_ld_interface
=no
8780 if test "$with_gnu_ld" = yes; then
8783 # The AIX port of GNU ld has always aspired to compatibility
8784 # with the native linker. However, as the warning in the GNU ld
8785 # block says, versions before 2.19.5* couldn't really create working
8786 # shared libraries, regardless of the interface used.
8787 case `$LD -v 2>&1` in
8788 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8789 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8790 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8792 lt_use_gnu_ld_interface
=yes
8797 lt_use_gnu_ld_interface
=yes
8802 if test "$lt_use_gnu_ld_interface" = yes; then
8803 # If archive_cmds runs LD, not CC, wlarc should be empty
8806 # Set some defaults for GNU ld with shared library support. These
8807 # are reset later if shared libraries are not supported. Putting them
8808 # here allows them to be overridden if necessary.
8809 runpath_var
=LD_RUN_PATH
8810 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8811 export_dynamic_flag_spec
='${wl}--export-dynamic'
8812 # ancient GNU ld didn't support --whole-archive et. al.
8813 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8814 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8816 whole_archive_flag_spec
=
8818 supports_anon_versioning
=no
8819 case `$LD -v 2>&1` in
8820 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8821 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8822 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8823 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8824 *\
2.11.
*) ;; # other 2.11 versions
8825 *) supports_anon_versioning
=yes ;;
8828 # See if GNU ld supports shared libraries.
8831 # On AIX/PPC, the GNU linker is very broken
8832 if test "$host_cpu" != ia64
; then
8836 *** Warning: the GNU linker, at least up to release 2.19, is reported
8837 *** to be unable to reliably create shared libraries on AIX.
8838 *** Therefore, libtool is disabling shared libraries support. If you
8839 *** really care for shared libraries, you may want to install binutils
8840 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8841 *** You will then need to restart the configuration process.
8850 # see comment about AmigaOS4 .so support
8851 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8852 archive_expsym_cmds
=''
8855 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)'
8856 hardcode_libdir_flag_spec
='-L$libdir'
8857 hardcode_minus_L
=yes
8863 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8864 allow_undefined_flag
=unsupported
8865 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8866 # support --undefined. This deserves some investigation. FIXME
8867 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8873 cygwin
* | mingw
* | pw32
* | cegcc
*)
8874 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8875 # as there is no search path for DLLs.
8876 hardcode_libdir_flag_spec
='-L$libdir'
8877 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8878 allow_undefined_flag
=unsupported
8879 always_export_symbols
=no
8880 enable_shared_with_static_runtimes
=yes
8881 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8883 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8884 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8885 # If the export-symbols file already is a .def file (1st line
8886 # is EXPORTS), use it as is; otherwise, prepend...
8887 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8888 cp $export_symbols $output_objdir/$soname.def;
8890 echo EXPORTS > $output_objdir/$soname.def;
8891 cat $export_symbols >> $output_objdir/$soname.def;
8893 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8900 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8901 link_all_deplibs
=yes
8906 hardcode_shlibpath_var
=no
8907 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8908 export_dynamic_flag_spec
='${wl}-E'
8909 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8910 # Instead, shared libraries are loaded at an image base (0x10000000 by
8911 # default) and relocated if they conflict, which is a slow very memory
8912 # consuming and fragmenting process. To avoid this, we pick a random,
8913 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8914 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8915 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8916 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'
8919 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8921 if test "$host_os" = linux-dietlibc
; then
8922 case $cc_basename in
8923 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8926 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8927 && test "$tmp_diet" = no
8929 tmp_addflag
=' $pic_flag'
8930 tmp_sharedflag
='-shared'
8931 case $cc_basename,$host_cpu in
8932 pgcc
*) # Portland Group C compiler
8933 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'
8934 tmp_addflag
=' $pic_flag'
8936 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8937 # Portland Group f77 and f90 compilers
8938 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'
8939 tmp_addflag
=' $pic_flag -Mnomain' ;;
8940 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8941 tmp_addflag
=' -i_dynamic' ;;
8942 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8943 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8944 ifc
* | ifort
*) # Intel Fortran compiler
8945 tmp_addflag
=' -nofor_main' ;;
8946 lf95
*) # Lahey Fortran 8.1
8947 whole_archive_flag_spec
=
8948 tmp_sharedflag
='--shared' ;;
8949 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8950 tmp_sharedflag
='-qmkshrobj'
8952 nvcc
*) # Cuda Compiler Driver 2.2
8953 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'
8954 compiler_needs_object
=yes
8957 case `$CC -V 2>&1 | sed 5q` in
8958 *Sun\ C
*) # Sun C 5.9
8959 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'
8960 compiler_needs_object
=yes
8961 tmp_sharedflag
='-G' ;;
8962 *Sun\ F
*) # Sun Fortran 8.3
8963 tmp_sharedflag
='-G' ;;
8965 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 if test "x$supports_anon_versioning" = xyes
; then
8968 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8970 echo "local: *; };" >> $output_objdir/$libname.ver~
8971 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8974 case $cc_basename in
8975 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8976 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8977 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8978 hardcode_libdir_flag_spec
=
8979 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8980 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8981 if test "x$supports_anon_versioning" = xyes
; then
8982 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8983 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8984 echo "local: *; };" >> $output_objdir/$libname.ver~
8985 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8995 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8996 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9005 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9009 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9010 *** create shared libraries on Solaris systems. Therefore, libtool
9011 *** is disabling shared libraries support. We urge you to upgrade GNU
9012 *** binutils to release 2.9.1 or newer. Another option is to modify
9013 *** your PATH or compiler configuration so that the native linker is
9014 *** used, and then restart.
9017 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9018 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9019 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9025 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9026 case `$LD -v 2>&1` in
9027 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9031 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9032 *** reliably create shared libraries on SCO systems. Therefore, libtool
9033 *** is disabling shared libraries support. We urge you to upgrade GNU
9034 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9035 *** your PATH or compiler configuration so that the native linker is
9036 *** used, and then restart.
9041 # For security reasons, it is highly recommended that you always
9042 # use absolute paths for naming shared libraries, and exclude the
9043 # DT_RUNPATH tag from executables and libraries. But doing so
9044 # requires that you compile everything twice, which is a pain.
9045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9046 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9057 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_shlibpath_var
=no
9064 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9073 if test "$ld_shlibs" = no
; then
9075 hardcode_libdir_flag_spec
=
9076 export_dynamic_flag_spec
=
9077 whole_archive_flag_spec
=
9080 # PORTME fill in a description of your system's linker (not GNU ld)
9083 allow_undefined_flag
=unsupported
9084 always_export_symbols
=yes
9085 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'
9086 # Note: this linker hardcodes the directories in LIBPATH if there
9087 # are no directories specified by -L.
9088 hardcode_minus_L
=yes
9089 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9090 # Neither direct hardcoding nor static linking is supported with a
9092 hardcode_direct
=unsupported
9097 if test "$host_cpu" = ia64
; then
9098 # On IA64, the linker does run time linking by default, so we don't
9099 # have to do anything special.
9100 aix_use_runtimelinking
=no
9101 exp_sym_flag
='-Bexport'
9104 # If we're using GNU nm, then we don't want the "-C" option.
9105 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9106 # Also, AIX nm treats weak defined symbols like other global
9107 # defined symbols, whereas GNU nm marks them as "W".
9108 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9109 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'
9111 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'
9113 aix_use_runtimelinking
=no
9115 # Test if we are trying to use run time linking or normal
9116 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9117 # need to do runtime linking.
9118 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9119 for ld_flag
in $LDFLAGS; do
9120 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9121 aix_use_runtimelinking
=yes
9128 exp_sym_flag
='-bexport'
9129 no_entry_flag
='-bnoentry'
9132 # When large executables or shared objects are built, AIX ld can
9133 # have problems creating the table of contents. If linking a library
9134 # or program results in "error TOC overflow" add -mminimal-toc to
9135 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9136 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9140 hardcode_direct_absolute
=yes
9141 hardcode_libdir_separator
=':'
9142 link_all_deplibs
=yes
9143 file_list_spec
='${wl}-f,'
9145 if test "$GCC" = yes; then
9146 case $host_os in aix4.
[012]|aix4.
[012].
*)
9147 # We only want to do this on AIX 4.2 and lower, the check
9148 # below for broken collect2 doesn't work under 4.3+
9149 collect2name
=`${CC} -print-prog-name=collect2`
9150 if test -f "$collect2name" &&
9151 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9153 # We have reworked collect2
9156 # We have old collect2
9157 hardcode_direct
=unsupported
9158 # It fails to find uninstalled libraries when the uninstalled
9159 # path is not listed in the libpath. Setting hardcode_minus_L
9160 # to unsupported forces relinking
9161 hardcode_minus_L
=yes
9162 hardcode_libdir_flag_spec
='-L$libdir'
9163 hardcode_libdir_separator
=
9167 shared_flag
='-shared'
9168 if test "$aix_use_runtimelinking" = yes; then
9169 shared_flag
="$shared_flag "'${wl}-G'
9173 if test "$host_cpu" = ia64
; then
9174 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9175 # chokes on -Wl,-G. The following line is correct:
9178 if test "$aix_use_runtimelinking" = yes; then
9179 shared_flag
='${wl}-G'
9181 shared_flag
='${wl}-bM:SRE'
9186 export_dynamic_flag_spec
='${wl}-bexpall'
9187 # It seems that -bexpall does not export symbols beginning with
9188 # underscore (_), so it is better to generate a list of symbols to export.
9189 always_export_symbols
=yes
9190 if test "$aix_use_runtimelinking" = yes; then
9191 # Warning - without using the other runtime loading flags (-brtl),
9192 # -berok will link without error, but may produce a broken library.
9193 allow_undefined_flag
='-berok'
9194 # Determine the default libpath from the value encoded in an
9196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9207 if ac_fn_c_try_link
"$LINENO"; then :
9209 lt_aix_libpath_sed
='
9210 /Import File Strings/,/^$/ {
9216 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9217 # Check for a 64-bit object if we didn't find anything.
9218 if test -z "$aix_libpath"; then
9219 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9222 rm -f core conftest.err conftest.
$ac_objext \
9223 conftest
$ac_exeext conftest.
$ac_ext
9224 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9226 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9227 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"
9229 if test "$host_cpu" = ia64
; then
9230 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9231 allow_undefined_flag
="-z nodefs"
9232 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"
9234 # Determine the default libpath from the value encoded in an
9236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9247 if ac_fn_c_try_link
"$LINENO"; then :
9249 lt_aix_libpath_sed
='
9250 /Import File Strings/,/^$/ {
9256 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9257 # Check for a 64-bit object if we didn't find anything.
9258 if test -z "$aix_libpath"; then
9259 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9262 rm -f core conftest.err conftest.
$ac_objext \
9263 conftest
$ac_exeext conftest.
$ac_ext
9264 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9266 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9267 # Warning - without using the other run time loading flags,
9268 # -berok will link without error, but may produce a broken library.
9269 no_undefined_flag
=' ${wl}-bernotok'
9270 allow_undefined_flag
=' ${wl}-berok'
9271 if test "$with_gnu_ld" = yes; then
9272 # We only use this code for GNU lds that support --whole-archive.
9273 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9275 # Exported symbols can be pulled into shared objects from archives
9276 whole_archive_flag_spec
='$convenience'
9278 archive_cmds_need_lc
=yes
9279 # This is similar to how AIX traditionally builds its shared libraries.
9280 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'
9288 # see comment about AmigaOS4 .so support
9289 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 archive_expsym_cmds
=''
9293 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)'
9294 hardcode_libdir_flag_spec
='-L$libdir'
9295 hardcode_minus_L
=yes
9301 export_dynamic_flag_spec
=-rdynamic
9304 cygwin
* | mingw
* | pw32
* | cegcc
*)
9305 # When not using gcc, we currently assume that we are using
9306 # Microsoft Visual C++.
9307 # hardcode_libdir_flag_spec is actually meaningless, as there is
9308 # no search path for DLLs.
9309 hardcode_libdir_flag_spec
=' '
9310 allow_undefined_flag
=unsupported
9311 # Tell ltmain to make .lib files, not .a files.
9313 # Tell ltmain to make .dll files, not .so files.
9315 # FIXME: Setting linknames here is a bad hack.
9316 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9317 # The linker will automatically build a .lib file if we build a DLL.
9318 old_archive_from_new_cmds
='true'
9319 # FIXME: Should let the user specify the lib program.
9320 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9321 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9322 enable_shared_with_static_runtimes
=yes
9325 darwin
* | rhapsody
*)
9328 archive_cmds_need_lc
=no
9330 hardcode_automatic
=yes
9331 hardcode_shlibpath_var
=unsupported
9332 if test "$lt_cv_ld_force_load" = "yes"; then
9333 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\"`'
9335 whole_archive_flag_spec
=''
9337 link_all_deplibs
=yes
9338 allow_undefined_flag
="$_lt_dar_allow_undefined"
9339 case $cc_basename in
9340 ifort
*) _lt_dar_can_shared
=yes ;;
9341 *) _lt_dar_can_shared
=$GCC ;;
9343 if test "$_lt_dar_can_shared" = "yes"; then
9344 output_verbose_link_cmd
=func_echo_all
9345 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9346 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9347 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}"
9348 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}"
9357 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9358 hardcode_libdir_flag_spec
='-L$libdir'
9359 hardcode_shlibpath_var
=no
9362 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9363 # support. Future versions do this automatically, but an explicit c++rt0.o
9364 # does not break anything, and helps significantly (at the cost of a little
9367 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9368 hardcode_libdir_flag_spec
='-R$libdir'
9370 hardcode_shlibpath_var
=no
9373 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9375 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9377 hardcode_minus_L
=yes
9378 hardcode_shlibpath_var
=no
9381 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9382 freebsd
* | dragonfly
*)
9383 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9384 hardcode_libdir_flag_spec
='-R$libdir'
9386 hardcode_shlibpath_var
=no
9390 if test "$GCC" = yes; then
9391 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'
9393 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'
9395 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9396 hardcode_libdir_separator
=:
9399 # hardcode_minus_L: Not really in the search PATH,
9400 # but as the default location of the library.
9401 hardcode_minus_L
=yes
9402 export_dynamic_flag_spec
='${wl}-E'
9406 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9407 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9411 if test "$with_gnu_ld" = no
; then
9412 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9413 hardcode_libdir_flag_spec_ld
='+b $libdir'
9414 hardcode_libdir_separator
=:
9416 hardcode_direct_absolute
=yes
9417 export_dynamic_flag_spec
='${wl}-E'
9418 # hardcode_minus_L: Not really in the search PATH,
9419 # but as the default location of the library.
9420 hardcode_minus_L
=yes
9425 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9428 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9431 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9447 # Older versions of the 11.00 compiler do not understand -b yet
9448 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9450 $as_echo_n "checking if $CC understands -b... " >&6; }
9451 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9452 $as_echo_n "(cached) " >&6
9454 lt_cv_prog_compiler__b
=no
9455 save_LDFLAGS
="$LDFLAGS"
9456 LDFLAGS
="$LDFLAGS -b"
9457 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9458 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9459 # The linker can only warn and ignore the option if not recognized
9460 # So say no if there are warnings
9461 if test -s conftest.err
; then
9462 # Append any errors to the config.log.
9463 cat conftest.err
1>&5
9464 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9466 if diff conftest.exp conftest.er2
>/dev
/null
; then
9467 lt_cv_prog_compiler__b
=yes
9470 lt_cv_prog_compiler__b
=yes
9474 LDFLAGS
="$save_LDFLAGS"
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9478 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9480 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9481 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9483 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9489 if test "$with_gnu_ld" = no
; then
9490 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9491 hardcode_libdir_separator
=:
9496 hardcode_shlibpath_var
=no
9500 hardcode_direct_absolute
=yes
9501 export_dynamic_flag_spec
='${wl}-E'
9503 # hardcode_minus_L: Not really in the search PATH,
9504 # but as the default location of the library.
9505 hardcode_minus_L
=yes
9511 irix5
* | irix6
* | nonstopux
*)
9512 if test "$GCC" = yes; then
9513 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'
9514 # Try to use the -exported_symbol ld option, if it does not
9515 # work, assume that -exports_file does not work either and
9516 # implicitly export all symbols.
9517 save_LDFLAGS
="$LDFLAGS"
9518 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9523 if ac_fn_c_try_link
"$LINENO"; then :
9524 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'
9527 rm -f core conftest.err conftest.
$ac_objext \
9528 conftest
$ac_exeext conftest.
$ac_ext
9529 LDFLAGS
="$save_LDFLAGS"
9531 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'
9532 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'
9534 archive_cmds_need_lc
='no'
9535 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9536 hardcode_libdir_separator
=:
9538 link_all_deplibs
=yes
9542 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9543 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9545 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9547 hardcode_libdir_flag_spec
='-R$libdir'
9549 hardcode_shlibpath_var
=no
9553 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9556 hardcode_libdir_separator
=:
9557 hardcode_shlibpath_var
=no
9564 if test -f /usr
/libexec
/ld.so
; then
9566 hardcode_shlibpath_var
=no
9567 hardcode_direct_absolute
=yes
9568 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9569 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9570 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9571 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9572 export_dynamic_flag_spec
='${wl}-E'
9575 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9576 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_libdir_flag_spec
='-R$libdir'
9580 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9581 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9591 hardcode_libdir_flag_spec
='-L$libdir'
9592 hardcode_minus_L
=yes
9593 allow_undefined_flag
=unsupported
9594 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'
9595 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9599 if test "$GCC" = yes; then
9600 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9601 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'
9603 allow_undefined_flag
=' -expect_unresolved \*'
9604 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'
9606 archive_cmds_need_lc
='no'
9607 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9608 hardcode_libdir_separator
=:
9611 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9612 if test "$GCC" = yes; then
9613 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9614 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'
9615 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9617 allow_undefined_flag
=' -expect_unresolved \*'
9618 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'
9619 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~
9620 $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'
9622 # Both c and cxx compiler support -rpath directly
9623 hardcode_libdir_flag_spec
='-rpath $libdir'
9625 archive_cmds_need_lc
='no'
9626 hardcode_libdir_separator
=:
9630 no_undefined_flag
=' -z defs'
9631 if test "$GCC" = yes; then
9633 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9635 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9637 case `$CC -V 2>&1` in
9640 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9641 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9642 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9646 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9648 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9652 hardcode_libdir_flag_spec
='-R$libdir'
9653 hardcode_shlibpath_var
=no
9655 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9657 # The compiler driver will combine and reorder linker options,
9658 # but understands `-z linker_flag'. GCC discards it without `$wl',
9659 # but is careful enough not to reorder.
9660 # Supported since Solaris 2.6 (maybe 2.5.1?)
9661 if test "$GCC" = yes; then
9662 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9664 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9668 link_all_deplibs
=yes
9672 if test "x$host_vendor" = xsequent
; then
9673 # Use $CC to link under sequent, because it throws in some extra .o
9674 # files that make .init and .fini sections work.
9675 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9679 hardcode_libdir_flag_spec
='-L$libdir'
9681 hardcode_minus_L
=yes
9682 hardcode_shlibpath_var
=no
9686 case $host_vendor in
9688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_direct
=yes # is this really true???
9692 ## LD is ld it makes a PLAMLIB
9693 ## CC just makes a GrossModule.
9694 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9695 reload_cmds
='$CC -r -o $output$reload_objs'
9699 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9703 runpath_var
='LD_RUN_PATH'
9704 hardcode_shlibpath_var
=no
9708 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9709 hardcode_shlibpath_var
=no
9710 export_dynamic_flag_spec
='-Bexport'
9714 if test -d /usr
/nec
; then
9715 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_shlibpath_var
=no
9717 runpath_var
=LD_RUN_PATH
9718 hardcode_runpath_var
=yes
9723 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9724 no_undefined_flag
='${wl}-z,text'
9725 archive_cmds_need_lc
=no
9726 hardcode_shlibpath_var
=no
9727 runpath_var
='LD_RUN_PATH'
9729 if test "$GCC" = yes; then
9730 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9731 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 sysv5
* | sco3.2v5
* | sco5v6
*)
9739 # Note: We can NOT use -z defs as we might desire, because we do not
9740 # link with -lc, and that would cause any symbols used from libc to
9741 # always be unresolved, which means just about no library would
9742 # ever link correctly. If we're not using GNU ld we use -z text
9743 # though, which does catch some bad symbols but isn't as heavy-handed
9745 no_undefined_flag
='${wl}-z,text'
9746 allow_undefined_flag
='${wl}-z,nodefs'
9747 archive_cmds_need_lc
=no
9748 hardcode_shlibpath_var
=no
9749 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9750 hardcode_libdir_separator
=':'
9751 link_all_deplibs
=yes
9752 export_dynamic_flag_spec
='${wl}-Bexport'
9753 runpath_var
='LD_RUN_PATH'
9755 if test "$GCC" = yes; then
9756 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766 hardcode_libdir_flag_spec
='-L$libdir'
9767 hardcode_shlibpath_var
=no
9775 if test x
$host_vendor = xsni
; then
9777 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9778 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9785 $as_echo "$ld_shlibs" >&6; }
9786 test "$ld_shlibs" = no
&& can_build_shared
=no
9788 with_gnu_ld
=$with_gnu_ld
9805 # Do we need to explicitly link libc?
9807 case "x$archive_cmds_need_lc" in
9809 # Assume -lc should be added
9810 archive_cmds_need_lc
=yes
9812 if test "$enable_shared" = yes && test "$GCC" = yes; then
9813 case $archive_cmds in
9815 # FIXME: we may have to deal with multi-command sequences.
9818 # Test whether the compiler implicitly links with -lc since on some
9819 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9820 # to ld, don't add -lc before -lgcc.
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9822 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9823 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9824 $as_echo_n "(cached) " >&6
9827 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9830 (eval $ac_compile) 2>&5
9832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9833 test $ac_status = 0; } 2>conftest.err
; then
9836 libobjs
=conftest.
$ac_objext
9838 wl
=$lt_prog_compiler_wl
9839 pic_flag
=$lt_prog_compiler_pic
9845 lt_save_allow_undefined_flag
=$allow_undefined_flag
9846 allow_undefined_flag
=
9847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9848 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9851 test $ac_status = 0; }
9853 lt_cv_archive_cmds_need_lc
=no
9855 lt_cv_archive_cmds_need_lc
=yes
9857 allow_undefined_flag
=$lt_save_allow_undefined_flag
9859 cat conftest.err
1>&5
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9865 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9866 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10030 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10032 if test "$GCC" = yes; then
10034 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10035 *) lt_awk_arg
="/^libraries:/" ;;
10038 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10039 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10041 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10042 case $lt_search_path_spec in
10044 # if the path contains ";" then we assume it to be the separator
10045 # otherwise default to the standard path separator (i.e. ":") - it is
10046 # assumed that no part of a normal pathname contains ";" but that should
10047 # okay in the real world where ";" in dirpaths is itself problematic.
10048 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10051 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10054 # Ok, now we have the path, separated by spaces, we can step through it
10055 # and add multilib dir if necessary.
10056 lt_tmp_lt_search_path_spec
=
10057 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10058 for lt_sys_path
in $lt_search_path_spec; do
10059 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10060 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10062 test -d "$lt_sys_path" && \
10063 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10066 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10067 BEGIN {RS=" "; FS="/|\n";} {
10070 for (lt_i = NF; lt_i > 0; lt_i--) {
10071 if ($lt_i != "" && $lt_i != ".") {
10072 if ($lt_i == "..") {
10075 if (lt_count == 0) {
10076 lt_foo="/" $lt_i lt_foo;
10083 if (lt_foo != "") { lt_freq[lt_foo]++; }
10084 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10086 # AWK program above erroneously prepends '/' to C:/dos/paths
10089 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10090 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10092 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10094 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10096 library_names_spec
=
10097 libname_spec
='lib$name'
10101 postuninstall_cmds
=
10105 shlibpath_overrides_runpath
=unknown
10107 dynamic_linker
="$host_os ld.so"
10108 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10109 need_lib_prefix
=unknown
10110 hardcode_into_libs
=no
10112 # when you set need_version to no, make sure it does not cause -set_version
10113 # flags to be left without arguments
10114 need_version
=unknown
10119 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10120 shlibpath_var
=LIBPATH
10122 # AIX 3 has no versioning support, so we append a major version to the name.
10123 soname_spec
='${libname}${release}${shared_ext}$major'
10130 hardcode_into_libs
=yes
10131 if test "$host_cpu" = ia64
; then
10132 # AIX 5 supports IA64
10133 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10134 shlibpath_var
=LD_LIBRARY_PATH
10136 # With GCC up to 2.95.x, collect2 would create an import file
10137 # for dependence libraries. The import file would start with
10138 # the line `#! .'. This would cause the generated library to
10139 # depend on `.', always an invalid library. This was fixed in
10140 # development snapshots of GCC prior to 3.0.
10142 aix4 | aix4.
[01] | aix4.
[01].
*)
10143 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10145 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10148 can_build_shared
=no
10152 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10153 # soname into executable. Probably we can add versioning support to
10154 # collect2, so additional links can be useful in future.
10155 if test "$aix_use_runtimelinking" = yes; then
10156 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10157 # instead of lib<name>.a to let people know that these are not
10158 # typical AIX shared libraries.
10159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10161 # We preserve .a as extension for shared libraries through AIX4.2
10162 # and later when we are not doing run time linking.
10163 library_names_spec
='${libname}${release}.a $libname.a'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10166 shlibpath_var
=LIBPATH
10173 # Since July 2007 AmigaOS4 officially supports .so libraries.
10174 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 library_names_spec
='$libname.ixlibrary $libname.a'
10179 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10180 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'
10186 library_names_spec
='${libname}${shared_ext}'
10187 dynamic_linker
="$host_os ld.so"
10188 shlibpath_var
=LIBRARY_PATH
10194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10195 soname_spec
='${libname}${release}${shared_ext}$major'
10196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10197 shlibpath_var
=LD_LIBRARY_PATH
10198 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10199 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10200 # the default ld.so.conf also contains /usr/contrib/lib and
10201 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10202 # libtool to hard-code these into programs
10205 cygwin
* | mingw
* | pw32
* | cegcc
*)
10206 version_type
=windows
10211 case $GCC,$host_os in
10212 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10213 library_names_spec
='$libname.dll.a'
10214 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10215 postinstall_cmds
='base_file=`basename \${file}`~
10216 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10217 dldir=$destdir/`dirname \$dlpath`~
10218 test -d \$dldir || mkdir -p \$dldir~
10219 $install_prog $dir/$dlname \$dldir/$dlname~
10220 chmod a+x \$dldir/$dlname~
10221 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10222 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10224 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10225 dlpath=$dir/\$dldll~
10227 shlibpath_overrides_runpath
=yes
10231 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10232 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10234 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10237 # MinGW DLLs use traditional 'lib' prefix
10238 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10241 # pw32 DLLs use 'pw' prefix rather than 'lib'
10242 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10248 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10251 dynamic_linker
='Win32 ld.exe'
10252 # FIXME: first we should search . and the directory the executable is in
10256 darwin
* | rhapsody
*)
10257 dynamic_linker
="$host_os dyld"
10258 version_type
=darwin
10261 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10262 soname_spec
='${libname}${release}${major}$shared_ext'
10263 shlibpath_overrides_runpath
=yes
10264 shlibpath_var
=DYLD_LIBRARY_PATH
10265 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10267 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10268 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10276 soname_spec
='${libname}${release}${shared_ext}$major'
10277 shlibpath_var
=LD_LIBRARY_PATH
10280 freebsd
* | dragonfly
*)
10281 # DragonFly does not have aout. When/if they implement a new
10282 # versioning mechanism, adjust this.
10283 if test -x /usr
/bin
/objformat
; then
10284 objformat
=`/usr/bin/objformat`
10287 freebsd
[23].
*) objformat
=aout
;;
10288 *) objformat
=elf
;;
10291 version_type
=freebsd-
$objformat
10292 case $version_type in
10294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10303 shlibpath_var
=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10308 freebsd3.
[01]* | freebsdelf3.
[01]*)
10309 shlibpath_overrides_runpath
=yes
10310 hardcode_into_libs
=yes
10312 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10313 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10314 shlibpath_overrides_runpath
=no
10315 hardcode_into_libs
=yes
10317 *) # from 4.6 on, and DragonFly
10318 shlibpath_overrides_runpath
=yes
10319 hardcode_into_libs
=yes
10328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10329 soname_spec
='${libname}${release}${shared_ext}$major'
10330 shlibpath_var
=LD_LIBRARY_PATH
10331 hardcode_into_libs
=yes
10338 dynamic_linker
="$host_os runtime_loader"
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 shlibpath_var
=LIBRARY_PATH
10342 shlibpath_overrides_runpath
=yes
10343 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10344 hardcode_into_libs
=yes
10347 hpux9
* | hpux10
* | hpux11
*)
10348 # Give a soname corresponding to the major version so that dld.sl refuses to
10349 # link against other versions.
10356 hardcode_into_libs
=yes
10357 dynamic_linker
="$host_os dld.so"
10358 shlibpath_var
=LD_LIBRARY_PATH
10359 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 if test "X$HPUX_IA64_MODE" = X32
; then
10363 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10365 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10367 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10371 hardcode_into_libs
=yes
10372 dynamic_linker
="$host_os dld.sl"
10373 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10374 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec
='${libname}${release}${shared_ext}$major'
10377 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10378 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10382 dynamic_linker
="$host_os dld.sl"
10383 shlibpath_var
=SHLIB_PATH
10384 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10386 soname_spec
='${libname}${release}${shared_ext}$major'
10389 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10390 postinstall_cmds
='chmod 555 $lib'
10391 # or fails outright, so override atomically:
10392 install_override_mode
=555
10399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10400 soname_spec
='${libname}${release}${shared_ext}$major'
10401 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 shlibpath_overrides_runpath
=no
10404 hardcode_into_libs
=yes
10407 irix5
* | irix6
* | nonstopux
*)
10409 nonstopux
*) version_type
=nonstopux
;;
10411 if test "$lt_cv_prog_gnu_ld" = yes; then
10419 soname_spec
='${libname}${release}${shared_ext}$major'
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10422 irix5
* | nonstopux
*)
10423 libsuff
= shlibsuff
=
10426 case $LD in # libtool.m4 will add one of these switches to LD
10427 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10428 libsuff
= shlibsuff
= libmagic
=32-bit;;
10429 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10430 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10431 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10432 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10433 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10437 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10438 shlibpath_overrides_runpath
=no
10439 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10440 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10441 hardcode_into_libs
=yes
10444 # No shared lib support for Linux oldld, aout, or coff.
10445 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10449 # This must be Linux ELF.
10450 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec
='${libname}${release}${shared_ext}$major'
10456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10457 shlibpath_var
=LD_LIBRARY_PATH
10458 shlibpath_overrides_runpath
=no
10460 # Some binutils ld are patched to set DT_RUNPATH
10461 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10462 $as_echo_n "(cached) " >&6
10464 lt_cv_shlibpath_overrides_runpath
=no
10465 save_LDFLAGS
=$LDFLAGS
10466 save_libdir
=$libdir
10467 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10468 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10480 if ac_fn_c_try_link
"$LINENO"; then :
10481 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10482 lt_cv_shlibpath_overrides_runpath
=yes
10485 rm -f core conftest.err conftest.
$ac_objext \
10486 conftest
$ac_exeext conftest.
$ac_ext
10487 LDFLAGS
=$save_LDFLAGS
10488 libdir
=$save_libdir
10492 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10494 # This implies no fast_install, which is unacceptable.
10495 # Some rework will be needed to allow for fast_install
10496 # before this can be enabled.
10497 hardcode_into_libs
=yes
10499 # Append ld.so.conf contents to the search path
10500 if test -f /etc
/ld.so.conf
; then
10501 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' ' '`
10502 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10505 # We used to test for /lib/ld.so.1 and disable shared libraries on
10506 # powerpc, because MkLinux only supported shared libraries with the
10507 # GNU dynamic linker. Since this was broken with cross compilers,
10508 # most powerpc-linux boxes support dynamic linking these days and
10509 # people can always --disable-shared, the test was removed, and we
10510 # assume the GNU/Linux dynamic linker is in use.
10511 dynamic_linker
='GNU/Linux ld.so'
10518 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10520 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10521 dynamic_linker
='NetBSD (a.out) ld.so'
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10524 soname_spec
='${libname}${release}${shared_ext}$major'
10525 dynamic_linker
='NetBSD ld.elf_so'
10527 shlibpath_var
=LD_LIBRARY_PATH
10528 shlibpath_overrides_runpath
=yes
10529 hardcode_into_libs
=yes
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 shlibpath_var
=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath
=yes
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec
='${libname}${release}${shared_ext}$major'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=no
10547 hardcode_into_libs
=yes
10548 dynamic_linker
='ldqnx.so'
10553 sys_lib_dlsearch_path_spec
="/usr/lib"
10555 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10557 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10558 *) need_version
=no
;;
10560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10562 shlibpath_var
=LD_LIBRARY_PATH
10563 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10565 openbsd2.
[89] | openbsd2.
[89].
*)
10566 shlibpath_overrides_runpath
=no
10569 shlibpath_overrides_runpath
=yes
10573 shlibpath_overrides_runpath
=yes
10578 libname_spec
='$name'
10581 library_names_spec
='$libname${shared_ext} $libname.a'
10582 dynamic_linker
='OS/2 ld.exe'
10583 shlibpath_var
=LIBPATH
10586 osf3
* | osf4
* | osf5
*)
10590 soname_spec
='${libname}${release}${shared_ext}$major'
10591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10594 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10606 soname_spec
='${libname}${release}${shared_ext}$major'
10607 shlibpath_var
=LD_LIBRARY_PATH
10608 shlibpath_overrides_runpath
=yes
10609 hardcode_into_libs
=yes
10610 # ldd complains unless libraries are executable
10611 postinstall_cmds
='chmod +x $lib'
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10617 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10618 shlibpath_var
=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath
=yes
10620 if test "$with_gnu_ld" = yes; then
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 shlibpath_var
=LD_LIBRARY_PATH
10631 case $host_vendor in
10633 shlibpath_overrides_runpath
=no
10635 runpath_var
=LD_RUN_PATH
10643 shlibpath_overrides_runpath
=no
10644 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10650 if test -d /usr
/nec
;then
10652 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10653 soname_spec
='$libname${shared_ext}.$major'
10654 shlibpath_var
=LD_LIBRARY_PATH
10658 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10659 version_type
=freebsd-elf
10662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10663 soname_spec
='${libname}${release}${shared_ext}$major'
10664 shlibpath_var
=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath
=yes
10666 hardcode_into_libs
=yes
10667 if test "$with_gnu_ld" = yes; then
10668 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10670 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10673 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10677 sys_lib_dlsearch_path_spec
='/usr/lib'
10681 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath
=no
10688 hardcode_into_libs
=yes
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec
='${libname}${release}${shared_ext}$major'
10695 shlibpath_var
=LD_LIBRARY_PATH
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10703 $as_echo "$dynamic_linker" >&6; }
10704 test "$dynamic_linker" = no
&& can_build_shared
=no
10706 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10707 if test "$GCC" = yes; then
10708 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10711 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10712 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10714 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10715 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10810 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10812 if test -n "$hardcode_libdir_flag_spec" ||
10813 test -n "$runpath_var" ||
10814 test "X$hardcode_automatic" = "Xyes" ; then
10816 # We can hardcode non-existent directories.
10817 if test "$hardcode_direct" != no
&&
10818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10819 # have to relink, otherwise we might link with an installed library
10820 # when we should be linking with a yet-to-be-installed one
10821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10822 test "$hardcode_minus_L" != no
; then
10823 # Linking always hardcodes the temporary library directory.
10824 hardcode_action
=relink
10826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10827 hardcode_action
=immediate
10830 # We cannot hardcode anything, or else we can only hardcode existing
10832 hardcode_action
=unsupported
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10835 $as_echo "$hardcode_action" >&6; }
10837 if test "$hardcode_action" = relink ||
10838 test "$inherit_rpath" = yes; then
10839 # Fast installation is not supported
10840 enable_fast_install
=no
10841 elif test "$shlibpath_overrides_runpath" = yes ||
10842 test "$enable_shared" = no
; then
10843 # Fast installation is not necessary
10844 enable_fast_install
=needless
10852 if test "x$enable_dlopen" != xyes
; then
10853 enable_dlopen
=unknown
10854 enable_dlopen_self
=unknown
10855 enable_dlopen_self_static
=unknown
10862 lt_cv_dlopen
="load_add_on"
10864 lt_cv_dlopen_self
=yes
10867 mingw
* | pw32
* | cegcc
*)
10868 lt_cv_dlopen
="LoadLibrary"
10873 lt_cv_dlopen
="dlopen"
10878 # if libdl is installed we need to link against it
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10880 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10882 $as_echo_n "(cached) " >&6
10884 ac_check_lib_save_LIBS
=$LIBS
10886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10904 if ac_fn_c_try_link
"$LINENO"; then :
10905 ac_cv_lib_dl_dlopen
=yes
10907 ac_cv_lib_dl_dlopen
=no
10909 rm -f core conftest.err conftest.
$ac_objext \
10910 conftest
$ac_exeext conftest.
$ac_ext
10911 LIBS
=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10915 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10916 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10919 lt_cv_dlopen
="dyld"
10921 lt_cv_dlopen_self
=yes
10928 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10929 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10930 lt_cv_dlopen
="shl_load"
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10933 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10934 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10935 $as_echo_n "(cached) " >&6
10937 ac_check_lib_save_LIBS
=$LIBS
10939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10952 return shl_load ();
10957 if ac_fn_c_try_link
"$LINENO"; then :
10958 ac_cv_lib_dld_shl_load
=yes
10960 ac_cv_lib_dld_shl_load
=no
10962 rm -f core conftest.err conftest.
$ac_objext \
10963 conftest
$ac_exeext conftest.
$ac_ext
10964 LIBS
=$ac_check_lib_save_LIBS
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10967 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10968 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10969 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10971 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10972 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10973 lt_cv_dlopen
="dlopen"
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10976 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10977 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10978 $as_echo_n "(cached) " >&6
10980 ac_check_lib_save_LIBS
=$LIBS
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
11000 if ac_fn_c_try_link
"$LINENO"; then :
11001 ac_cv_lib_dl_dlopen
=yes
11003 ac_cv_lib_dl_dlopen
=no
11005 rm -f core conftest.err conftest.
$ac_objext \
11006 conftest
$ac_exeext conftest.
$ac_ext
11007 LIBS
=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11010 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11011 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11012 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11015 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11016 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11017 $as_echo_n "(cached) " >&6
11019 ac_check_lib_save_LIBS
=$LIBS
11020 LIBS
="-lsvld $LIBS"
11021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11039 if ac_fn_c_try_link
"$LINENO"; then :
11040 ac_cv_lib_svld_dlopen
=yes
11042 ac_cv_lib_svld_dlopen
=no
11044 rm -f core conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LIBS
=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11049 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11050 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11051 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11054 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11055 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11056 $as_echo_n "(cached) " >&6
11058 ac_check_lib_save_LIBS
=$LIBS
11060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11073 return dld_link ();
11078 if ac_fn_c_try_link
"$LINENO"; then :
11079 ac_cv_lib_dld_dld_link
=yes
11081 ac_cv_lib_dld_dld_link
=no
11083 rm -f core conftest.err conftest.
$ac_objext \
11084 conftest
$ac_exeext conftest.
$ac_ext
11085 LIBS
=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11088 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11089 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11090 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11111 if test "x$lt_cv_dlopen" != xno
; then
11117 case $lt_cv_dlopen in
11119 save_CPPFLAGS
="$CPPFLAGS"
11120 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11122 save_LDFLAGS
="$LDFLAGS"
11123 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11126 LIBS
="$lt_cv_dlopen_libs $LIBS"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11129 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11130 if test "${lt_cv_dlopen_self+set}" = set; then :
11131 $as_echo_n "(cached) " >&6
11133 if test "$cross_compiling" = yes; then :
11134 lt_cv_dlopen_self
=cross
11136 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11137 lt_status
=$lt_dlunknown
11138 cat > conftest.
$ac_ext <<_LT_EOF
11139 #line 11139 "configure"
11140 #include "confdefs.h"
11149 # define LT_DLGLOBAL RTLD_GLOBAL
11152 # define LT_DLGLOBAL DL_GLOBAL
11154 # define LT_DLGLOBAL 0
11158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11159 find out it does not work in some platform. */
11160 #ifndef LT_DLLAZY_OR_NOW
11162 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11165 # define LT_DLLAZY_OR_NOW DL_LAZY
11168 # define LT_DLLAZY_OR_NOW RTLD_NOW
11171 # define LT_DLLAZY_OR_NOW DL_NOW
11173 # define LT_DLLAZY_OR_NOW 0
11180 /* When -fvisbility=hidden is used, assume the code has been annotated
11181 correspondingly for the symbols needed. */
11182 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11183 void fnord () __attribute__((visibility("default")));
11186 void fnord () { int i=42; }
11189 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11190 int status = $lt_dlunknown;
11194 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11197 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11198 else puts (dlerror ());
11200 /* dlclose (self); */
11208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11209 (eval $ac_link) 2>&5
11211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11212 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11213 (.
/conftest
; exit; ) >&5 2>/dev
/null
11215 case x
$lt_status in
11216 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11217 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11218 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11221 # compilation failed
11222 lt_cv_dlopen_self
=no
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11230 $as_echo "$lt_cv_dlopen_self" >&6; }
11232 if test "x$lt_cv_dlopen_self" = xyes
; then
11233 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11235 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11236 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11237 $as_echo_n "(cached) " >&6
11239 if test "$cross_compiling" = yes; then :
11240 lt_cv_dlopen_self_static
=cross
11242 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11243 lt_status
=$lt_dlunknown
11244 cat > conftest.
$ac_ext <<_LT_EOF
11245 #line 11245 "configure"
11246 #include "confdefs.h"
11255 # define LT_DLGLOBAL RTLD_GLOBAL
11258 # define LT_DLGLOBAL DL_GLOBAL
11260 # define LT_DLGLOBAL 0
11264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11265 find out it does not work in some platform. */
11266 #ifndef LT_DLLAZY_OR_NOW
11268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11271 # define LT_DLLAZY_OR_NOW DL_LAZY
11274 # define LT_DLLAZY_OR_NOW RTLD_NOW
11277 # define LT_DLLAZY_OR_NOW DL_NOW
11279 # define LT_DLLAZY_OR_NOW 0
11286 /* When -fvisbility=hidden is used, assume the code has been annotated
11287 correspondingly for the symbols needed. */
11288 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11289 void fnord () __attribute__((visibility("default")));
11292 void fnord () { int i=42; }
11295 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11296 int status = $lt_dlunknown;
11300 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11303 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11304 else puts (dlerror ());
11306 /* dlclose (self); */
11314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11315 (eval $ac_link) 2>&5
11317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11318 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11319 (.
/conftest
; exit; ) >&5 2>/dev
/null
11321 case x
$lt_status in
11322 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11323 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11324 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11327 # compilation failed
11328 lt_cv_dlopen_self_static
=no
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11336 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11339 CPPFLAGS
="$save_CPPFLAGS"
11340 LDFLAGS
="$save_LDFLAGS"
11345 case $lt_cv_dlopen_self in
11346 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11347 *) enable_dlopen_self
=unknown
;;
11350 case $lt_cv_dlopen_self_static in
11351 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11352 *) enable_dlopen_self_static
=unknown
;;
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11375 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11376 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11377 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11378 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11380 $as_echo "yes" >&6; }
11382 # FIXME - insert some real tests, host_os isn't really good enough
11385 if test -n "$STRIP" ; then
11386 striplib
="$STRIP -x"
11387 old_striplib
="$STRIP -S"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11389 $as_echo "yes" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11392 $as_echo "no" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11397 $as_echo "no" >&6; }
11413 # Report which library types will actually be built
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11415 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11417 $as_echo "$can_build_shared" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11420 $as_echo_n "checking whether to build shared libraries... " >&6; }
11421 test "$can_build_shared" = "no" && enable_shared
=no
11423 # On AIX, shared libraries and static libraries use the same namespace, and
11424 # are all built from PIC.
11427 test "$enable_shared" = yes && enable_static
=no
11428 if test -n "$RANLIB"; then
11429 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11430 postinstall_cmds
='$RANLIB $lib'
11435 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11436 test "$enable_shared" = yes && enable_static
=no
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11441 $as_echo "$enable_shared" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11444 $as_echo_n "checking whether to build static libraries... " >&6; }
11445 # Make sure either enable_shared or enable_static is yes.
11446 test "$enable_shared" = yes || enable_static
=yes
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11448 $as_echo "$enable_static" >&6; }
11455 ac_cpp
='$CPP $CPPFLAGS'
11456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11474 ac_config_commands
="$ac_config_commands libtool"
11479 # Only expand once:
11484 # Check whether --enable-largefile was given.
11485 if test "${enable_largefile+set}" = set; then :
11486 enableval
=$enable_largefile;
11489 if test "$enable_largefile" != no
; then
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11492 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11493 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_cv_sys_largefile_CC
=no
11497 if test "$GCC" != yes; then
11500 # IRIX 6.2 and later do not support large files by default,
11501 # so use the C compiler's -n32 option if that helps.
11502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504 #include <sys/types.h>
11505 /* Check that off_t can represent 2**63 - 1 correctly.
11506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11507 since some C++ compilers masquerading as C compilers
11508 incorrectly reject 9223372036854775807. */
11509 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11511 && LARGE_OFF_T % 2147483647 == 1)
11521 if ac_fn_c_try_compile
"$LINENO"; then :
11524 rm -f core conftest.err conftest.
$ac_objext
11526 if ac_fn_c_try_compile
"$LINENO"; then :
11527 ac_cv_sys_largefile_CC
=' -n32'; break
11529 rm -f core conftest.err conftest.
$ac_objext
11533 rm -f conftest.
$ac_ext
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11537 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11538 if test "$ac_cv_sys_largefile_CC" != no
; then
11539 CC
=$CC$ac_cv_sys_largefile_CC
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11543 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11544 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11545 $as_echo_n "(cached) " >&6
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11550 #include <sys/types.h>
11551 /* Check that off_t can represent 2**63 - 1 correctly.
11552 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11553 since some C++ compilers masquerading as C compilers
11554 incorrectly reject 9223372036854775807. */
11555 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11556 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11557 && LARGE_OFF_T % 2147483647 == 1)
11567 if ac_fn_c_try_compile
"$LINENO"; then :
11568 ac_cv_sys_file_offset_bits
=no
; break
11570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 #define _FILE_OFFSET_BITS 64
11574 #include <sys/types.h>
11575 /* Check that off_t can represent 2**63 - 1 correctly.
11576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11577 since some C++ compilers masquerading as C compilers
11578 incorrectly reject 9223372036854775807. */
11579 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11581 && LARGE_OFF_T % 2147483647 == 1)
11591 if ac_fn_c_try_compile
"$LINENO"; then :
11592 ac_cv_sys_file_offset_bits
=64; break
11594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11595 ac_cv_sys_file_offset_bits
=unknown
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11600 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11601 case $ac_cv_sys_file_offset_bits in #(
11604 cat >>confdefs.h
<<_ACEOF
11605 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11610 if test $ac_cv_sys_file_offset_bits = unknown
; then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11612 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11613 if test "${ac_cv_sys_large_files+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 #include <sys/types.h>
11620 /* Check that off_t can represent 2**63 - 1 correctly.
11621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11622 since some C++ compilers masquerading as C compilers
11623 incorrectly reject 9223372036854775807. */
11624 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11626 && LARGE_OFF_T % 2147483647 == 1)
11636 if ac_fn_c_try_compile
"$LINENO"; then :
11637 ac_cv_sys_large_files
=no
; break
11639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 #define _LARGE_FILES 1
11643 #include <sys/types.h>
11644 /* Check that off_t can represent 2**63 - 1 correctly.
11645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11646 since some C++ compilers masquerading as C compilers
11647 incorrectly reject 9223372036854775807. */
11648 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11650 && LARGE_OFF_T % 2147483647 == 1)
11660 if ac_fn_c_try_compile
"$LINENO"; then :
11661 ac_cv_sys_large_files
=1; break
11663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11664 ac_cv_sys_large_files
=unknown
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11669 $as_echo "$ac_cv_sys_large_files" >&6; }
11670 case $ac_cv_sys_large_files in #(
11673 cat >>confdefs.h
<<_ACEOF
11674 #define _LARGE_FILES $ac_cv_sys_large_files
11683 backtrace_supported
=yes
11685 if test -n "${with_target_subdir}"; then
11686 # We are compiling a GCC library. We can assume that the unwind
11688 BACKTRACE_FILE
="backtrace.lo simple.lo"
11690 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11691 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
11692 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11693 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
11694 BACKTRACE_FILE
="backtrace.lo simple.lo"
11696 BACKTRACE_FILE
="nounwind.lo"
11697 backtrace_supported
=no
11701 BACKTRACE_FILE
="nounwind.lo"
11702 backtrace_supported
=no
11710 if test -n "${with_target_subdir}"; then
11711 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
11714 $as_echo_n "checking for -funwind-tables option... " >&6; }
11715 if test "${libbacktrace_cv_c_unwind_tables+set}" = set; then :
11716 $as_echo_n "(cached) " >&6
11718 CFLAGS_hold
="$CFLAGS"
11719 CFLAGS
="$CFLAGS -funwind-tables"
11720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11722 static int f() { return 0; }
11731 if ac_fn_c_try_compile
"$LINENO"; then :
11732 libbacktrace_cv_c_unwind_tables
=yes
11734 libbacktrace_cv_c_unwind_tables
=no
11736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11737 CFLAGS
="$CFLAGS_hold"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
11740 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
11741 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
11742 EXTRA_FLAGS
=-funwind-tables
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
11745 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
11746 if test "${libbacktrace_cv_c_random_seed_string+set}" = set; then :
11747 $as_echo_n "(cached) " >&6
11749 CFLAGS_hold
="$CFLAGS"
11750 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
11751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11762 if ac_fn_c_try_compile
"$LINENO"; then :
11763 libbacktrace_cv_c_random_seed_string
=yes
11765 libbacktrace_cv_c_random_seed_string
=no
11767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11768 CFLAGS
="$CFLAGS_hold"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
11771 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
11772 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
11773 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11785 save_CFLAGS
="$CFLAGS"
11786 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11787 -Wmissing-prototypes -Wold-style-definition \
11788 -Wmissing-format-attribute -Wcast-qual; do
11789 # Do the check with the no- prefix removed since gcc silently
11790 # accepts any -Wno-* option on purpose
11791 case $real_option in
11792 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11793 *) option
=$real_option ;;
11795 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11798 $as_echo_n "checking whether $CC supports $option... " >&6; }
11799 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11800 $as_echo_n "(cached) " >&6
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11814 if ac_fn_c_try_compile
"$LINENO"; then :
11815 eval "$as_acx_Woption=yes"
11817 eval "$as_acx_Woption=no"
11819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11822 eval ac_res
=\$
$as_acx_Woption
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11824 $as_echo "$ac_res" >&6; }
11825 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11826 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11829 CFLAGS
="$save_CFLAGS"
11831 ac_cpp
='$CPP $CPPFLAGS'
11832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11838 if test -n "${with_target_subdir}"; then
11839 WARN_FLAGS
="$WARN_FLAGS -Werror"
11844 if test -n "${with_target_subdir}"; then
11847 # Check whether --with-system-libunwind was given.
11848 if test "${with_system_libunwind+set}" = set; then :
11849 withval
=$with_system_libunwind;
11852 # If system-libunwind was not specifically set, pick a default setting.
11853 if test x
$with_system_libunwind = x
; then
11855 ia64-
*-hpux*) with_system_libunwind
=yes ;;
11856 *) with_system_libunwind
=no
;;
11859 # Based on system-libunwind and target, do we have ipinfo?
11860 if test x
$with_system_libunwind = xyes
; then
11862 ia64-
*-*) have_unwind_getipinfo
=no
;;
11863 *) have_unwind_getipinfo
=yes ;;
11866 # Darwin before version 9 does not have _Unwind_GetIPInfo.
11869 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
11870 *) have_unwind_getipinfo
=yes ;;
11875 if test x
$have_unwind_getipinfo = xyes
; then
11877 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11882 ac_save_CFFLAGS
="$CFLAGS"
11883 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
11885 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
11886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11888 #include "unwind.h"
11889 struct _Unwind_Context *context;
11890 int ip_before_insn = 0;
11894 return _Unwind_GetIPInfo (context, &ip_before_insn);
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 have_unwind_getipinfo
=yes
11902 have_unwind_getipinfo
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 CFLAGS
="$ac_save_CFLAGS"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
11908 $as_echo "$have_unwind_getipinfo" >&6; }
11909 if test "$have_unwind_getipinfo" = "yes"; then
11911 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11916 # Enable --enable-host-shared.
11917 # Check whether --enable-host-shared was given.
11918 if test "${enable_host_shared+set}" = set; then :
11919 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
11926 # Test for __sync support.
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
11928 $as_echo_n "checking __sync extensions... " >&6; }
11929 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
11930 $as_echo_n "(cached) " >&6
11932 if test -n "${with_target_subdir}"; then
11934 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
11935 *) libbacktrace_cv_sys_sync
=yes ;;
11938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11944 __sync_bool_compare_and_swap (&i, i, i);
11945 __sync_lock_test_and_set (&i, 1);
11946 __sync_lock_release (&i);
11951 if ac_fn_c_try_link
"$LINENO"; then :
11952 libbacktrace_cv_sys_sync
=yes
11954 libbacktrace_cv_sys_sync
=no
11956 rm -f core conftest.err conftest.
$ac_objext \
11957 conftest
$ac_exeext conftest.
$ac_ext
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
11961 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
11962 BACKTRACE_SUPPORTS_THREADS
=0
11963 if test "$libbacktrace_cv_sys_sync" = "yes"; then
11964 BACKTRACE_SUPPORTS_THREADS
=1
11966 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
11971 # Test for __atomic support.
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
11973 $as_echo_n "checking __atomic extensions... " >&6; }
11974 if test "${libbacktrace_cv_sys_atomic+set}" = set; then :
11975 $as_echo_n "(cached) " >&6
11977 if test -n "${with_target_subdir}"; then
11978 libbacktrace_cv_sys_atomic
=yes
11980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11986 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
11987 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
11992 if ac_fn_c_try_link
"$LINENO"; then :
11993 libbacktrace_cv_sys_atomic
=yes
11995 libbacktrace_cv_sys_atomic
=no
11997 rm -f core conftest.err conftest.
$ac_objext \
11998 conftest
$ac_exeext conftest.
$ac_ext
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12002 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12003 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12005 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12009 # The library needs to be able to read the executable itself. Compile
12010 # a file to determine the executable format. The awk script
12011 # filetype.awk prints out the file type.
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12013 $as_echo_n "checking output filetype... " >&6; }
12014 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12029 if ac_fn_c_try_compile
"$LINENO"; then :
12030 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12034 as_fn_error
"compiler failed
12035 See \`config.log' for more details." "$LINENO" 5; }
12037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12038 libbacktrace_cv_sys_filetype
=$filetype
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12041 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12043 # Match the file type to decide what files to compile.
12045 backtrace_supports_data
=yes
12046 case "$libbacktrace_cv_sys_filetype" in
12047 elf
*) FORMAT_FILE
="elf.lo" ;;
12048 pecoff
) FORMAT_FILE
="pecoff.lo"
12049 backtrace_supports_data
=no
12051 xcoff
*) FORMAT_FILE
="xcoff.lo"
12052 backtrace_supports_data
=no
12054 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12055 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12056 FORMAT_FILE
="unknown.lo"
12057 backtrace_supported
=no
12064 case "$libbacktrace_cv_sys_filetype" in
12065 elf32
) elfsize
=32 ;;
12066 elf64
) elfsize
=64 ;;
12070 cat >>confdefs.h
<<_ACEOF
12071 #define BACKTRACE_ELF_SIZE $elfsize
12077 case "$libbacktrace_cv_sys_filetype" in
12078 xcoff32
) xcoffsize
=32 ;;
12079 xcoff64
) xcoffsize
=64 ;;
12080 *) xcoffsize
=unused
12083 cat >>confdefs.h
<<_ACEOF
12084 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12088 BACKTRACE_SUPPORTED
=0
12089 if test "$backtrace_supported" = "yes"; then
12090 BACKTRACE_SUPPORTED
=1
12094 BACKTRACE_SUPPORTS_DATA
=0
12095 if test "$backtrace_supports_data" = "yes"; then
12096 BACKTRACE_SUPPORTS_DATA
=1
12102 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12104 acx_cv_header_stdint
=stddef.h
12105 acx_cv_header_stdint_kind
="(already complete)"
12106 for i
in stdint.h
$inttype_headers; do
12107 unset ac_cv_type_uintptr_t
12108 unset ac_cv_type_uintmax_t
12109 unset ac_cv_type_int_least32_t
12110 unset ac_cv_type_int_fast32_t
12111 unset ac_cv_type_uint64_t
12112 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12113 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12116 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
12117 acx_cv_header_stdint
=$i
12122 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12125 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12128 acx_cv_header_stdint_kind
="(mostly complete)"
12131 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12134 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
12137 acx_cv_header_stdint_kind
="(mostly complete)"
12140 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12143 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
12146 acx_cv_header_stdint_kind
="(mostly complete)"
12149 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12152 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12155 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12160 if test "$acx_cv_header_stdint" = stddef.h
; then
12161 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12162 for i
in stdint.h
$inttype_headers; do
12163 unset ac_cv_type_uintptr_t
12164 unset ac_cv_type_uint32_t
12165 unset ac_cv_type_uint64_t
12166 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12167 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12170 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
12171 acx_cv_header_stdint
=$i
12176 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12179 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12183 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12186 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12193 if test "$acx_cv_header_stdint" = stddef.h
; then
12194 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12195 for i
in sys
/types.h
$inttype_headers; do
12196 unset ac_cv_type_u_int32_t
12197 unset ac_cv_type_u_int64_t
12198 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12199 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12202 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
12203 acx_cv_header_stdint
=$i
12208 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12211 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
12218 if test "$acx_cv_header_stdint" = stddef.h
; then
12219 acx_cv_header_stdint_kind
="(using manual detection)"
12222 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12223 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12224 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12225 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12226 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12228 # ----------------- Summarize what we found so far
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12231 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12233 case `$as_basename -- gstdint.h ||
12234 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12235 Xgstdint.h : 'X\(//\)$' \| \
12236 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12237 $as_echo X/gstdint.h |
12238 sed '/^.*\/\([^/][^/]*\)\/*$/{
12251 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12252 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12253 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12254 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12259 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
12261 # ----------------- done included file, check C basic types --------
12263 # Lacking an uintptr_t? Test size of void *
12264 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12265 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
12266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12268 # This bug is HP SR number 8606223364.
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12270 $as_echo_n "checking size of void *... " >&6; }
12271 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12272 $as_echo_n "(cached) " >&6
12274 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12277 if test "$ac_cv_type_void_p" = yes; then
12278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12280 { as_fn_set_status
77
12281 as_fn_error
"cannot compute sizeof (void *)
12282 See \`config.log' for more details." "$LINENO" 5; }; }
12284 ac_cv_sizeof_void_p
=0
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12290 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12294 cat >>confdefs.h
<<_ACEOF
12295 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12301 # Lacking an uint64_t? Test size of long
12302 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12303 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
12304 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12305 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12306 # This bug is HP SR number 8606223364.
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12308 $as_echo_n "checking size of long... " >&6; }
12309 if test "${ac_cv_sizeof_long+set}" = set; then :
12310 $as_echo_n "(cached) " >&6
12312 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12315 if test "$ac_cv_type_long" = yes; then
12316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12318 { as_fn_set_status
77
12319 as_fn_error
"cannot compute sizeof (long)
12320 See \`config.log' for more details." "$LINENO" 5; }; }
12322 ac_cv_sizeof_long
=0
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12328 $as_echo "$ac_cv_sizeof_long" >&6; }
12332 cat >>confdefs.h
<<_ACEOF
12333 #define SIZEOF_LONG $ac_cv_sizeof_long
12339 if test $acx_cv_header_stdint = stddef.h
; then
12340 # Lacking a good header? Test size of everything and deduce all types.
12341 # The cast to long int works around a bug in the HP C Compiler
12342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12344 # This bug is HP SR number 8606223364.
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12346 $as_echo_n "checking size of int... " >&6; }
12347 if test "${ac_cv_sizeof_int+set}" = set; then :
12348 $as_echo_n "(cached) " >&6
12350 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12353 if test "$ac_cv_type_int" = yes; then
12354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12356 { as_fn_set_status
77
12357 as_fn_error
"cannot compute sizeof (int)
12358 See \`config.log' for more details." "$LINENO" 5; }; }
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12366 $as_echo "$ac_cv_sizeof_int" >&6; }
12370 cat >>confdefs.h
<<_ACEOF
12371 #define SIZEOF_INT $ac_cv_sizeof_int
12375 # The cast to long int works around a bug in the HP C Compiler
12376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12378 # This bug is HP SR number 8606223364.
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12380 $as_echo_n "checking size of short... " >&6; }
12381 if test "${ac_cv_sizeof_short+set}" = set; then :
12382 $as_echo_n "(cached) " >&6
12384 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12387 if test "$ac_cv_type_short" = yes; then
12388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12390 { as_fn_set_status
77
12391 as_fn_error
"cannot compute sizeof (short)
12392 See \`config.log' for more details." "$LINENO" 5; }; }
12394 ac_cv_sizeof_short
=0
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12400 $as_echo "$ac_cv_sizeof_short" >&6; }
12404 cat >>confdefs.h
<<_ACEOF
12405 #define SIZEOF_SHORT $ac_cv_sizeof_short
12409 # The cast to long int works around a bug in the HP C Compiler
12410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12412 # This bug is HP SR number 8606223364.
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12414 $as_echo_n "checking size of char... " >&6; }
12415 if test "${ac_cv_sizeof_char+set}" = set; then :
12416 $as_echo_n "(cached) " >&6
12418 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12421 if test "$ac_cv_type_char" = yes; then
12422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12424 { as_fn_set_status
77
12425 as_fn_error
"cannot compute sizeof (char)
12426 See \`config.log' for more details." "$LINENO" 5; }; }
12428 ac_cv_sizeof_char
=0
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12434 $as_echo "$ac_cv_sizeof_char" >&6; }
12438 cat >>confdefs.h
<<_ACEOF
12439 #define SIZEOF_CHAR $ac_cv_sizeof_char
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
12445 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
12446 case "$ac_cv_sizeof_char" in
12447 1) acx_cv_type_int8_t
=char
;;
12448 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
12451 $as_echo "$acx_cv_type_int8_t" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
12454 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
12455 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
12456 2:*) acx_cv_type_int16_t
=int
;;
12457 *:2) acx_cv_type_int16_t
=short
;;
12458 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
12461 $as_echo "$acx_cv_type_int16_t" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
12464 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
12465 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
12466 4:*) acx_cv_type_int32_t
=int
;;
12467 *:4) acx_cv_type_int32_t
=long
;;
12468 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
12471 $as_echo "$acx_cv_type_int32_t" >&6; }
12474 # These tests are here to make the output prettier
12476 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
12477 case "$ac_cv_sizeof_long" in
12478 8) acx_cv_type_int64_t
=long
;;
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
12481 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
12483 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
12486 # Now we can use the above types
12488 if test "$ac_cv_type_uintptr_t" != yes; then
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
12490 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
12491 case $ac_cv_sizeof_void_p in
12492 2) acx_cv_type_intptr_t
=int16_t
;;
12493 4) acx_cv_type_intptr_t
=int32_t
;;
12494 8) acx_cv_type_intptr_t
=int64_t
;;
12495 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
12498 $as_echo "$acx_cv_type_intptr_t" >&6; }
12501 # ----------------- done all checks, emit header -------------
12502 ac_config_commands
="$ac_config_commands gstdint.h"
12507 for ac_header
in sys
/mman.h
12509 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12510 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
12511 cat >>confdefs.h
<<_ACEOF
12512 #define HAVE_SYS_MMAN_H 1
12519 if test "$ac_cv_header_sys_mman_h" = "no"; then
12522 if test -n "${with_target_subdir}"; then
12523 # When built as a GCC target library, we can't do a link test. We
12524 # simply assume that if we have mman.h, we have mmap.
12527 spu-
*-*|
*-*-msdosdjgpp)
12528 # The SPU does not have mmap, but it has a sys/mman.h header file
12529 # containing "mmap_eaddr" and the mmap flags, confusing the test.
12530 # DJGPP also has sys/man.h, but no mmap
12534 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
12535 if test "x$ac_cv_func_mmap" = x
""yes; then :
12543 if test "$have_mmap" = "no"; then
12545 ALLOC_FILE
=alloc.lo
12547 VIEW_FILE
=mmapio.lo
12548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12551 #include <sys/mman.h>
12552 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
12553 #error no MAP_ANONYMOUS
12557 if ac_fn_c_try_cpp
"$LINENO"; then :
12560 ALLOC_FILE
=alloc.lo
12562 rm -f conftest.err conftest.
$ac_ext
12567 BACKTRACE_USES_MALLOC
=0
12568 if test "$ALLOC_FILE" = "alloc.lo"; then
12569 BACKTRACE_USES_MALLOC
=1
12573 # Check for dl_iterate_phdr.
12574 for ac_header
in link.h
12576 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
12577 if test "x$ac_cv_header_link_h" = x
""yes; then :
12578 cat >>confdefs.h
<<_ACEOF
12579 #define HAVE_LINK_H 1
12586 if test "$ac_cv_header_link_h" = "no"; then
12587 have_dl_iterate_phdr
=no
12589 if test -n "${with_target_subdir}"; then
12590 # When built as a GCC target library, we can't do a link test.
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12597 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
12598 have_dl_iterate_phdr
=yes
12600 have_dl_iterate_phdr
=no
12606 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
12607 # header file but is only in -ldl.
12608 have_dl_iterate_phdr
=no
;;
12611 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
12612 if test "x$ac_cv_func_dl_iterate_phdr" = x
""yes; then :
12613 have_dl_iterate_phdr
=yes
12615 have_dl_iterate_phdr
=no
12620 if test "$have_dl_iterate_phdr" = "yes"; then
12622 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
12626 # Check for loadquery.
12627 for ac_header
in sys
/ldr.h
12629 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
12630 if test "x$ac_cv_header_sys_ldr_h" = x
""yes; then :
12631 cat >>confdefs.h
<<_ACEOF
12632 #define HAVE_SYS_LDR_H 1
12639 if test "$ac_cv_header_sys_ldr_h" = "no"; then
12642 if test -n "${with_target_subdir}"; then
12643 # When built as a GCC target library, we can't do a link test.
12644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12646 #include <sys/ldr.h>
12649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12650 $EGREP "loadquery" >/dev
/null
2>&1; then :
12658 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
12659 if test "x$ac_cv_func_loadquery" = x
""yes; then :
12667 if test "$have_loadquery" = "yes"; then
12669 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
12673 # Check for the fcntl function.
12674 if test -n "${with_target_subdir}"; then
12676 *-*-mingw*) have_fcntl
=no
;;
12677 spu-
*-*) have_fcntl
=no
;;
12678 *) have_fcntl
=yes ;;
12681 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
12682 if test "x$ac_cv_func_fcntl" = x
""yes; then :
12689 if test "$have_fcntl" = "yes"; then
12691 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
12695 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
12696 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
12702 cat >>confdefs.h
<<_ACEOF
12703 #define HAVE_DECL_STRNLEN $ac_have_decl
12707 # Check for getexecname function.
12708 if test -n "${with_target_subdir}"; then
12710 *-*-solaris2*) have_getexecname
=yes ;;
12711 *) have_getexecname
=no
;;
12714 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
12715 if test "x$ac_cv_func_getexecname" = x
""yes; then :
12716 have_getexecname
=yes
12718 have_getexecname
=no
12722 if test "$have_getexecname" = "yes"; then
12724 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
12729 $as_echo_n "checking whether -pthread is supported... " >&6; }
12730 if test "${libgo_cv_lib_pthread+set}" = set; then :
12731 $as_echo_n "(cached) " >&6
12733 CFLAGS_hold
=$CFLAGS
12734 CFLAGS
="$CFLAGS -pthread"
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12739 if ac_fn_c_try_compile
"$LINENO"; then :
12740 libgo_cv_lib_pthread
=yes
12742 libgo_cv_lib_pthread
=no
12744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12745 CFLAGS
=$CFLAGS_hold
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
12748 $as_echo "$libgo_cv_lib_pthread" >&6; }
12750 if test "$libgo_cv_lib_pthread" = yes; then
12751 PTHREAD_CFLAGS
=-pthread
12755 if test "$libgo_cv_lib_pthread" = yes; then
12757 HAVE_PTHREAD_FALSE
='#'
12759 HAVE_PTHREAD_TRUE
='#'
12760 HAVE_PTHREAD_FALSE
=
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
12765 $as_echo_n "checking whether tests can run... " >&6; }
12766 if test "${libbacktrace_cv_sys_native+set}" = set; then :
12767 $as_echo_n "(cached) " >&6
12769 if test "$cross_compiling" = yes; then :
12770 libbacktrace_cv_sys_native
=no
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12783 if ac_fn_c_try_run
"$LINENO"; then :
12784 libbacktrace_cv_sys_native
=yes
12786 libbacktrace_cv_sys_native
=no
12788 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12789 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
12794 $as_echo "$libbacktrace_cv_sys_native" >&6; }
12795 if test "$libbacktrace_cv_sys_native" = "yes"; then
12804 if test "${multilib}" = "yes"; then
12805 multilib_arg
="--enable-multilib"
12810 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
12813 # We need multilib support, but only if configuring for the target.
12814 ac_config_commands
="$ac_config_commands default"
12817 cat >confcache
<<\_ACEOF
12818 # This file is a shell script that caches the results of configure
12819 # tests run on this system so they can be shared between configure
12820 # scripts and configure runs, see configure's option --config-cache.
12821 # It is not useful on other systems. If it contains results you don't
12822 # want to keep, you may remove or edit it.
12824 # config.status only pays attention to the cache file if you give it
12825 # the --recheck option to rerun configure.
12827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12829 # following values.
12833 # The following way of writing the cache mishandles newlines in values,
12834 # but we know of no workaround that is simple, portable, and efficient.
12835 # So, we kill variables containing newlines.
12836 # Ultrix sh set writes to stderr and can't be redirected directly,
12837 # and sets the high bit in the cache file unless we assign to the vars.
12839 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12840 eval ac_val
=\$
$ac_var
12844 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12848 _ | IFS | as_nl
) ;; #(
12849 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12850 *) { eval $ac_var=; unset $ac_var;} ;;
12856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12857 *${as_nl}ac_space
=\
*)
12858 # `set' does not quote correctly, so add quotes: double-quote
12859 # substitution turns \\\\ into \\, and sed turns \\ into \.
12862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12865 # `set' quotes correctly as required by POSIX, so do not add quotes.
12866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12879 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12880 if test -w "$cache_file"; then
12881 test "x$cache_file" != "x/dev/null" &&
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12883 $as_echo "$as_me: updating cache $cache_file" >&6;}
12884 cat confcache
>$cache_file
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12887 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12892 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12893 # Let make expand exec_prefix.
12894 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12896 DEFS
=-DHAVE_CONFIG_H
12900 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12901 # 1. Remove the extension, and $U if already installed.
12902 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12903 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12904 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12905 # will be set to the directory where LIBOBJS objects are built.
12906 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12907 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12909 LIBOBJS
=$ac_libobjs
12911 LTLIBOBJS
=$ac_ltlibobjs
12914 if test -n "$EXEEXT"; then
12916 am__EXEEXT_FALSE
='#'
12918 am__EXEEXT_TRUE
='#'
12922 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12923 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12926 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
12927 as_fn_error
"conditional \"HAVE_PTHREAD\" was never defined.
12928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
12931 as_fn_error
"conditional \"NATIVE\" was never defined.
12932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12935 : ${CONFIG_STATUS=./config.status}
12937 ac_clean_files_save
=$ac_clean_files
12938 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12940 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12942 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12944 # Generated by $as_me.
12945 # Run this file to recreate the current configuration.
12946 # Compiler output produced by configure, useful for debugging
12947 # configure, is in config.log if it exists.
12950 ac_cs_recheck=false
12953 SHELL=\${CONFIG_SHELL-$SHELL}
12956 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12957 ## -------------------- ##
12958 ## M4sh Initialization. ##
12959 ## -------------------- ##
12961 # Be more Bourne compatible
12962 DUALCASE
=1; export DUALCASE
# for MKS sh
12963 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12966 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12967 # is contrary to our usage. Disable this feature.
12968 alias -g '${1+"$@"}'='"$@"'
12969 setopt NO_GLOB_SUBST
12971 case `(set -o) 2>/dev/null` in #(
12983 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12984 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12987 # Prefer a ksh shell builtin over an external printf program on Solaris,
12988 # but without wasting forks for bash or zsh.
12989 if test -z "$BASH_VERSION$ZSH_VERSION" \
12990 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12991 as_echo='print
-r --'
12992 as_echo_n='print
-rn --'
12993 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12994 as_echo='printf %s
\n'
12995 as_echo_n='printf %s
'
12997 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12998 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12999 as_echo_n='/usr
/ucb
/echo -n'
13001 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13002 as_echo_n_body='eval
13006 expr "X$arg" : "X\\(.*\\)$as_nl";
13007 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13009 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13011 export as_echo_n_body
13012 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13014 export as_echo_body
13015 as_echo='sh
-c $as_echo_body as_echo
'
13018 # The user is always right.
13019 if test "${PATH_SEPARATOR+set}" != set; then
13021 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13022 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13029 # We need space, tab and new line, in precisely that order. Quoting is
13030 # there to prevent editors from complaining about space-tab.
13031 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13032 # splitting by setting IFS to empty value.)
13035 # Find who we are. Look in the path if we contain no directory separator.
13037 *[\\/]* ) as_myself=$0 ;;
13038 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13042 test -z "$as_dir" && as_dir=.
13043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13049 # We did not find ourselves, most probably we were run as `sh COMMAND'
13050 # in which case we are not to be found in the path.
13051 if test "x$as_myself" = x
; then
13054 if test ! -f "$as_myself"; then
13055 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13059 # Unset variables that we do not need and which cause bugs (e.g. in
13060 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13061 # suppresses any "Segmentation fault" message there. '((' could
13062 # trigger a bug in pdksh 5.2.14.
13063 for as_var
in BASH_ENV ENV MAIL MAILPATH
13064 do eval test x\
${$as_var+set} = xset \
13065 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13078 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13081 # as_fn_error ERROR [LINENO LOG_FD]
13082 # ---------------------------------
13083 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13084 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13085 # script with status $?, using 1 if that was 0.
13088 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13090 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13091 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13093 $as_echo "$as_me: error: $1" >&2
13094 as_fn_exit
$as_status
13098 # as_fn_set_status STATUS
13099 # -----------------------
13100 # Set $? to STATUS, without forking.
13101 as_fn_set_status
()
13104 } # as_fn_set_status
13106 # as_fn_exit STATUS
13107 # -----------------
13108 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13112 as_fn_set_status
$1
13118 # Portably unset VAR.
13121 { eval $1=; unset $1;}
13123 as_unset
=as_fn_unset
13124 # as_fn_append VAR VALUE
13125 # ----------------------
13126 # Append the text in VALUE to the end of the definition contained in VAR. Take
13127 # advantage of any shell optimizations that allow amortized linear growth over
13128 # repeated appends, instead of the typical quadratic growth present in naive
13130 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13131 eval 'as_fn_append ()
13142 # as_fn_arith ARG...
13143 # ------------------
13144 # Perform arithmetic evaluation on the ARGs, and store the result in the
13145 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13146 # must be portable across $(()) and expr.
13147 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13148 eval 'as_fn_arith ()
13155 as_val
=`expr "$@" || test $? -eq 1`
13160 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13161 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13167 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13168 as_basename
=basename
13173 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13179 as_me
=`$as_basename -- "$0" ||
13180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13181 X"$0" : 'X\(//\)$' \| \
13182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13184 sed '/^.*\/\([^/][^/]*\)\/*$/{
13198 # Avoid depending upon Character Ranges.
13199 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13200 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13201 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13202 as_cr_digits
='0123456789'
13203 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13205 ECHO_C
= ECHO_N
= ECHO_T
=
13206 case `echo -n x` in #(((((
13208 case `echo 'xy\c'` in
13209 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13211 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13218 rm -f conf$$ conf$$.exe conf$$.
file
13219 if test -d conf$$.dir
; then
13220 rm -f conf$$.dir
/conf$$.
file
13223 mkdir conf$$.dir
2>/dev
/null
13225 if (echo >conf$$.
file) 2>/dev
/null
; then
13226 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13228 # ... but there are two gotchas:
13229 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13230 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13231 # In both cases, we have to default to `cp -p'.
13232 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13234 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13242 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13243 rmdir conf$$.dir
2>/dev
/null
13248 # Create "$as_dir" as a directory, including parents if necessary.
13253 -*) as_dir
=.
/$as_dir;;
13255 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13259 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13260 *) as_qdir
=$as_dir;;
13262 as_dirs
="'$as_qdir' $as_dirs"
13263 as_dir
=`$as_dirname -- "$as_dir" ||
13264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13265 X"$as_dir" : 'X\(//\)[^/]' \| \
13266 X"$as_dir" : 'X\(//\)$' \| \
13267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13268 $as_echo X"$as_dir" |
13269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13273 /^X\(\/\/\)[^/].*/{
13286 test -d "$as_dir" && break
13288 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13289 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13293 if mkdir
-p .
2>/dev
/null
; then
13294 as_mkdir_p
='mkdir -p "$as_dir"'
13296 test -d .
/-p && rmdir .
/-p
13300 if test -x / >/dev
/null
2>&1; then
13301 as_test_x
='test -x'
13303 if ls -dL / >/dev
/null
2>&1; then
13310 if test -d "$1"; then
13316 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13317 ???[sx]*):;;*)false;;esac;fi
13321 as_executable_p
=$as_test_x
13323 # Sed expression to map a string onto a valid CPP name.
13324 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13326 # Sed expression to map a string onto a valid variable name.
13327 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13331 ## ----------------------------------- ##
13332 ## Main body of $CONFIG_STATUS script. ##
13333 ## ----------------------------------- ##
13335 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13338 # Save the log message, to keep $0 and so on meaningful, and to
13339 # report actual input values of CONFIG_FILES etc. instead of their
13340 # values after options handling.
13342 This file was extended by package-unused $as_me version-unused, which was
13343 generated by GNU Autoconf 2.64. Invocation command line was
13345 CONFIG_FILES = $CONFIG_FILES
13346 CONFIG_HEADERS = $CONFIG_HEADERS
13347 CONFIG_LINKS = $CONFIG_LINKS
13348 CONFIG_COMMANDS = $CONFIG_COMMANDS
13351 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13356 case $ac_config_files in *"
13357 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13360 case $ac_config_headers in *"
13361 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13366 # Files that config.status was made for.
13367 config_files="$ac_config_files"
13368 config_headers="$ac_config_headers"
13369 config_commands="$ac_config_commands"
13373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13375 \`$as_me' instantiates files and other configuration actions
13376 from templates according to the current configuration. Unless the files
13377 and actions are specified as TAGs, all are instantiated by default.
13379 Usage: $0 [OPTION]... [TAG]...
13381 -h, --help print this help, then exit
13382 -V, --version print version number and configuration settings, then exit
13383 -q, --quiet, --silent
13384 do not print progress messages
13385 -d, --debug don't remove temporary files
13386 --recheck update $as_me by reconfiguring in the same conditions
13387 --file=FILE[:TEMPLATE]
13388 instantiate the configuration file FILE
13389 --header=FILE[:TEMPLATE]
13390 instantiate the configuration header FILE
13392 Configuration files:
13395 Configuration headers:
13398 Configuration commands:
13401 Report bugs to the package provider."
13404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13406 package-unused config.status version-unused
13407 configured by $0, generated by GNU Autoconf 2.64,
13408 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13410 Copyright (C) 2009 Free Software Foundation, Inc.
13411 This config.status script is free software; the Free Software Foundation
13412 gives unlimited permission to copy, distribute and modify it."
13419 test -n "\$AWK" || AWK=awk
13422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13423 # The default lists apply if the user does not specify any file.
13429 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13430 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13441 # Handling of the options.
13442 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13444 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13445 $as_echo "$ac_cs_version"; exit ;;
13446 --debug |
--debu |
--deb |
--de |
--d |
-d )
13448 --file |
--fil |
--fi |
--f )
13451 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13453 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13454 ac_need_defaults
=false
;;
13455 --header |
--heade |
--head |
--hea )
13458 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13460 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13461 ac_need_defaults
=false
;;
13463 # Conflict between --help and --header
13464 as_fn_error
"ambiguous option: \`$1'
13465 Try \`$0 --help' for more information.";;
13466 --help |
--hel |
-h )
13467 $as_echo "$ac_cs_usage"; exit ;;
13468 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13469 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13472 # This is an error.
13473 -*) as_fn_error
"unrecognized option: \`$1'
13474 Try \`$0 --help' for more information." ;;
13476 *) as_fn_append ac_config_targets
" $1"
13477 ac_need_defaults
=false
;;
13483 ac_configure_extra_args
=
13485 if $ac_cs_silent; then
13487 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13492 if \$ac_cs_recheck; then
13493 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13495 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13496 CONFIG_SHELL='$SHELL'
13497 export CONFIG_SHELL
13502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13507 ## Running $as_me. ##
13513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13521 with_multisubdir="$with_multisubdir"
13522 with_multisrctop="$with_multisrctop"
13523 with_target_subdir="$with_target_subdir"
13524 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13525 multi_basedir="$multi_basedir"
13526 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13529 GFORTRAN="$GFORTRAN"
13532 # The HP-UX ksh and POSIX shell print the target directory to stdout
13533 # if CDPATH is set.
13534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13536 sed_quote_subst='$sed_quote_subst'
13537 double_quote_subst='$double_quote_subst'
13538 delay_variable_subst='$delay_variable_subst'
13539 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13540 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13541 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13542 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13543 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13544 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13545 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13546 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13547 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13548 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13549 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13550 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13551 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13552 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13553 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13554 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13555 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13556 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13557 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13558 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13559 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13560 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13561 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13562 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13563 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13564 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13565 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13566 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13567 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13568 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13569 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13570 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13571 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13572 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13573 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13574 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13575 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13576 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13577 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13578 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13579 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13580 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13581 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13582 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13583 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13584 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13585 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13586 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13587 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"`'
13588 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13589 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13590 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13591 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13592 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13593 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13594 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13595 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13596 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13597 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13598 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13599 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13600 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13601 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13602 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13603 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13604 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13605 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13606 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13607 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13608 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13609 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13610 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13611 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13612 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13613 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13614 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13615 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13616 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13617 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13618 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13619 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13620 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13621 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13622 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13623 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13624 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13625 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13626 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13627 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13628 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13629 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13630 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13631 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13632 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13633 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13634 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13635 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13636 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13637 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13638 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13639 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13640 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13641 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13642 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13643 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13644 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13645 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13646 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13647 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13648 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13649 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13650 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13651 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13652 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13653 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13654 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13655 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13656 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13657 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13658 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13661 LTCFLAGS='$LTCFLAGS'
13662 compiler='$compiler_DEFAULT'
13664 # A function that is used when there is no print builtin or printf.
13665 func_fallback_echo ()
13667 eval 'cat <<_LTECHO_EOF
13672 # Quote evaled strings.
13686 deplibs_check_method \
13695 lt_cv_sys_global_symbol_pipe \
13696 lt_cv_sys_global_symbol_to_cdecl \
13697 lt_cv_sys_global_symbol_to_c_name_address \
13698 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13699 lt_prog_compiler_no_builtin_flag \
13700 lt_prog_compiler_wl \
13701 lt_prog_compiler_pic \
13702 lt_prog_compiler_static \
13703 lt_cv_prog_compiler_c_o \
13711 export_dynamic_flag_spec \
13712 whole_archive_flag_spec \
13713 compiler_needs_object \
13715 allow_undefined_flag \
13716 no_undefined_flag \
13717 hardcode_libdir_flag_spec \
13718 hardcode_libdir_flag_spec_ld \
13719 hardcode_libdir_separator \
13724 variables_saved_for_relink \
13726 library_names_spec \
13728 install_override_mode \
13732 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13733 *[\\\\\\\`\\"\\\$]*)
13734 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13737 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13742 # Double-quote double-evaled strings.
13743 for var in reload_cmds \
13744 old_postinstall_cmds \
13745 old_postuninstall_cmds \
13747 extract_expsyms_cmds \
13748 old_archive_from_new_cmds \
13749 old_archive_from_expsyms_cmds \
13751 archive_expsym_cmds \
13753 module_expsym_cmds \
13754 export_symbols_cmds \
13757 postuninstall_cmds \
13759 sys_lib_search_path_spec \
13760 sys_lib_dlsearch_path_spec; do
13761 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13762 *[\\\\\\\`\\"\\\$]*)
13763 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13766 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13771 ac_aux_dir='$ac_aux_dir'
13772 xsi_shell='$xsi_shell'
13773 lt_shell_append='$lt_shell_append'
13775 # See if we are running on zsh, and set the options which allow our
13776 # commands through without removal of \ escapes INIT.
13777 if test -n "\${ZSH_VERSION+set}" ; then
13778 setopt NO_GLOB_SUBST
13784 TIMESTAMP='$TIMESTAMP'
13793 acx_cv_header_stdint="$acx_cv_header_stdint"
13794 acx_cv_type_int8_t="$acx_cv_type_int8_t"
13795 acx_cv_type_int16_t="$acx_cv_type_int16_t"
13796 acx_cv_type_int32_t="$acx_cv_type_int32_t"
13797 acx_cv_type_int64_t="$acx_cv_type_int64_t"
13798 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
13799 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
13800 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
13801 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
13802 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
13803 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
13804 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
13805 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
13806 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
13809 # Variables needed in config.status (file generation) which aren't already
13810 # passed by autoconf.
13816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13818 # Handling of arguments.
13819 for ac_config_target
in $ac_config_targets
13821 case $ac_config_target in
13822 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13823 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13824 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13825 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
13826 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13827 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
13828 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
13830 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13835 # If the user did not use the arguments to specify the items to instantiate,
13836 # then the envvar interface is used. Set only those that are not.
13837 # We use the long form for the default assignment because of an extremely
13838 # bizarre bug on SunOS 4.1.3.
13839 if $ac_need_defaults; then
13840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13845 # Have a temporary directory for convenience. Make it in the build tree
13846 # simply because there is no reason against having it here, and in addition,
13847 # creating and moving files from /tmp can sometimes cause problems.
13848 # Hook for its removal unless debugging.
13849 # Note that there is a small window in which the directory will not be cleaned:
13850 # after its creation but before its name has been assigned to `$tmp'.
13854 trap 'exit_status=$?
13855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13857 trap 'as_fn_exit 1' 1 2 13 15
13859 # Create a (secure) tmp directory for tmp files.
13862 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13863 test -n "$tmp" && test -d "$tmp"
13866 tmp
=.
/conf$$
-$RANDOM
13867 (umask 077 && mkdir
"$tmp")
13868 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13870 # Set up the scripts for CONFIG_FILES section.
13871 # No need to generate them if there are no CONFIG_FILES.
13872 # This happens for instance with `./config.status config.h'.
13873 if test -n "$CONFIG_FILES"; then
13876 ac_cr
=`echo X | tr X '\015'`
13877 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13878 # But we know of no other shell where ac_cr would be empty at this
13879 # point, so we can use a bashism as a fallback.
13880 if test "x$ac_cr" = x
; then
13881 eval ac_cr
=\$
\'\\r
\'
13883 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13884 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13887 ac_cs_awk_cr
=$ac_cr
13890 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13895 echo "cat >conf$$subs.awk <<_ACEOF" &&
13896 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13898 } >conf$$subs.sh ||
13899 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13900 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13902 for ac_last_try in false false false false false :; do
13903 . ./conf$$subs.sh ||
13904 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13906 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13907 if test $ac_delim_n = $ac_delim_num; then
13909 elif $ac_last_try; then
13910 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13912 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13915 rm -f conf$$subs.sh
13917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13918 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13922 s/^/S["/; s
/!.
*/"]=/
13932 s/\(.\{148\}\).*/\1/
13934 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13939 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13946 s/\(.\{148\}\).*/\1/
13948 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13952 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13957 ' <conf$$subs.awk | sed '
13962 ' >>$CONFIG_STATUS || ac_write_fail=1
13963 rm -f conf$$subs.awk
13964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13966 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13967 for (key in S) S_is_set[key] = 1
13973 nfields = split(line, field, "@
")
13975 len = length(field[1])
13976 for (i = 2; i < nfields; i++) {
13978 keylen = length(key)
13979 if (S_is_set[key]) {
13981 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13982 len += length(value) + length(field[++i])
13993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13994 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13995 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13998 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13999 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14002 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14003 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14004 # trailing colons and then remove the whole line if VPATH becomes empty
14005 # (actually we leave an empty line to preserve line numbers).
14006 if test "x
$srcdir" = x.; then
14007 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14008 s/:*\$(srcdir):*/:/
14009 s/:*\${srcdir}:*/:/
14011 s/^\([^=]*=[ ]*\):*/\1/
14017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14018 fi # test -n "$CONFIG_FILES"
14020 # Set up the scripts for CONFIG_HEADERS section.
14021 # No need to generate them if there are no CONFIG_HEADERS.
14022 # This happens for instance with `./config.status Makefile'.
14023 if test -n "$CONFIG_HEADERS"; then
14024 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14028 # Transform confdefs.h into an awk script `defines.awk', embedded as
14029 # here-document in config.status, that substitutes the proper values into
14030 # config.h.in to produce config.h.
14032 # Create a delimiter string that does not exist in confdefs.h, to ease
14033 # handling of long lines.
14035 for ac_last_try in false false :; do
14036 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14037 if test -z "$ac_t"; then
14039 elif $ac_last_try; then
14040 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14042 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14046 # For the awk script, D is an array of macro values keyed by name,
14047 # likewise P contains macro parameters if any. Preserve backslash
14048 # newline sequences.
14050 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14052 s/.\{148\}/&'"$ac_delim"'/g
14055 s/^[ ]*#[ ]*define[ ][ ]*/ /
14062 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14064 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14068 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14069 D["\
1"]=" \
3\\\\\\n
"\\/p
14071 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14076 s/.\{148\}/&'"$ac_delim"'/g
14081 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14084 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14086 ' <confdefs.h | sed '
14087 s/'"$ac_delim"'/"\\\
14088 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14091 for (key in D) D_is_set[key] = 1
14094 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14096 split(line, arg, " ")
14097 if (arg[1] == "#") {
14101 defundef
= substr
(arg
[1], 2)
14104 split(mac1
, mac2
, "(") #)
14106 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14107 if (D_is_set
[macro
]) {
14108 # Preserve the white space surrounding the "#".
14109 print prefix
"define", macro P
[macro
] D
[macro
]
14112 # Replace #undef with comments. This is necessary, for example,
14113 # in the case of _POSIX_SOURCE, which is predefined and required
14114 # on some systems where configure will not decide to define it.
14115 if (defundef
== "undef") {
14116 print
"/*", prefix defundef
, macro
, "*/"
14124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14125 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14126 fi # test -n "$CONFIG_HEADERS"
14129 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14134 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14136 case $ac_mode$ac_tag in
14138 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14139 :[FH
]-) ac_tag
=-:-;;
14140 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14157 -) ac_f
="$tmp/stdin";;
14158 *) # Look for the file first in the build tree, then in the source tree
14159 # (if the path is not absolute). The absolute path cannot be DOS-style,
14160 # because $ac_f cannot contain `:'.
14164 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14166 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14168 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14169 as_fn_append ac_file_inputs
" '$ac_f'"
14172 # Let's still pretend it is `configure' which instantiates (i.e., don't
14173 # use $as_me), people would be surprised to read:
14174 # /* config.h. Generated by config.status. */
14175 configure_input
='Generated from '`
14176 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14178 if test x
"$ac_file" != x-
; then
14179 configure_input
="$ac_file. $configure_input"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14181 $as_echo "$as_me: creating $ac_file" >&6;}
14183 # Neutralize special characters interpreted by sed in replacement strings.
14184 case $configure_input in #(
14185 *\
&* |
*\|
* |
*\\* )
14186 ac_sed_conf_input
=`$as_echo "$configure_input" |
14187 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14188 *) ac_sed_conf_input
=$configure_input;;
14192 *:-:* |
*:-) cat >"$tmp/stdin" \
14193 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14198 ac_dir
=`$as_dirname -- "$ac_file" ||
14199 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14200 X"$ac_file" : 'X\(//\)[^/]' \| \
14201 X"$ac_file" : 'X\(//\)$' \| \
14202 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14203 $as_echo X"$ac_file" |
14204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14208 /^X\(\/\/\)[^/].*/{
14221 as_dir
="$ac_dir"; as_fn_mkdir_p
14225 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14227 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14228 # A ".." for each directory in $ac_dir_suffix.
14229 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14230 case $ac_top_builddir_sub in
14231 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14232 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14235 ac_abs_top_builddir
=$ac_pwd
14236 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14237 # for backward compatibility:
14238 ac_top_builddir
=$ac_top_build_prefix
14241 .
) # We are building in place.
14243 ac_top_srcdir
=$ac_top_builddir_sub
14244 ac_abs_top_srcdir
=$ac_pwd ;;
14245 [\\/]* | ?
:[\\/]* ) # Absolute name.
14246 ac_srcdir
=$srcdir$ac_dir_suffix;
14247 ac_top_srcdir
=$srcdir
14248 ac_abs_top_srcdir
=$srcdir ;;
14249 *) # Relative name.
14250 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14251 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14252 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14254 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14264 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14265 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14267 ac_MKDIR_P
=$MKDIR_P
14269 [\\/$
]* | ?
:[\\/]* ) ;;
14270 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14275 # If the template does not know about datarootdir, expand it.
14276 # FIXME: This hack should be removed a few years after 2.60.
14277 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14288 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14289 *datarootdir
*) ac_datarootdir_seen
=yes;;
14290 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14292 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14295 ac_datarootdir_hack='
14296 s&@datadir@&$datadir&g
14297 s&@docdir@&$docdir&g
14298 s&@infodir@&$infodir&g
14299 s&@localedir@&$localedir&g
14300 s&@mandir@&$mandir&g
14301 s&\\\${datarootdir}&$datarootdir&g' ;;
14305 # Neutralize VPATH when `$srcdir' = `.'.
14306 # Shell code in configure.ac might set extrasub.
14307 # FIXME: do we really want to maintain this feature?
14308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14309 ac_sed_extra="$ac_vpsub
14312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14314 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14315 s|@configure_input@|
$ac_sed_conf_input|
;t t
14316 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14317 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14318 s
&@srcdir@
&$ac_srcdir&;t t
14319 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14320 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14321 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14322 s
&@builddir@
&$ac_builddir&;t t
14323 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14324 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14325 s
&@INSTALL@
&$ac_INSTALL&;t t
14326 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14327 $ac_datarootdir_hack
14329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14330 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14333 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14336 which seems to be undefined. Please make sure it is defined." >&5
14337 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14338 which seems to be undefined. Please make sure it is defined." >&2;}
14342 -) cat "$tmp/out" && rm -f "$tmp/out";;
14343 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14345 || as_fn_error "could not create $ac_file" "$LINENO" 5
14351 if test x"$ac_file" != x-; then
14353 $as_echo "/* $configure_input */" \
14354 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14355 } >"$tmp/config.h" \
14356 || as_fn_error "could not create $ac_file" "$LINENO" 5
14357 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14359 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14362 mv "$tmp/config.h" "$ac_file" \
14363 || as_fn_error "could not create $ac_file" "$LINENO" 5
14366 $as_echo "/* $configure_input */" \
14367 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14368 || as_fn_error "could not create -" "$LINENO" 5
14370 # Compute "$ac_file"'s index
in $config_headers.
14373 for _am_header
in $config_headers :; do
14374 case $_am_header in
14375 $_am_arg |
$_am_arg:* )
14378 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14381 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14382 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14383 X"$_am_arg" : 'X\(//\)[^/]' \| \
14384 X"$_am_arg" : 'X\(//\)$' \| \
14385 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14386 $as_echo X"$_am_arg" |
14387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14391 /^X\(\/\/\)[^/].*/{
14403 s/.*/./; q'`/stamp-h
$_am_stamp_count
14406 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14407 $as_echo "$as_me: executing $ac_file commands" >&6;}
14412 case $ac_file$ac_mode in
14414 # Only add multilib support code if we just rebuilt the top-level
14416 case " $CONFIG_FILES " in
14418 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14423 # See if we are running on zsh, and set the options which allow our
14424 # commands through without removal of \ escapes.
14425 if test -n "${ZSH_VERSION+set}" ; then
14426 setopt NO_GLOB_SUBST
14429 cfgfile
="${ofile}T"
14430 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14433 cat <<_LT_EOF >> "$cfgfile"
14436 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14437 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14438 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14439 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14441 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14442 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14443 # Written by Gordon Matzigkeit, 1996
14445 # This file is part of GNU Libtool.
14447 # GNU Libtool is free software; you can redistribute it and/or
14448 # modify it under the terms of the GNU General Public License as
14449 # published by the Free Software Foundation; either version 2 of
14450 # the License, or (at your option) any later version.
14452 # As a special exception to the GNU General Public License,
14453 # if you distribute this file as part of a program or library that
14454 # is built using GNU Libtool, you may include this file under the
14455 # same distribution terms that you use for the rest of that program.
14457 # GNU Libtool is distributed in the hope that it will be useful,
14458 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14459 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14460 # GNU General Public License for more details.
14462 # You should have received a copy of the GNU General Public License
14463 # along with GNU Libtool; see the file COPYING. If not, a copy
14464 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14465 # obtained by writing to the Free Software Foundation, Inc.,
14466 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14469 # The names of the tagged configurations supported by this script.
14472 # ### BEGIN LIBTOOL CONFIG
14474 # Which release of libtool.m4 was used?
14475 macro_version=$macro_version
14476 macro_revision=$macro_revision
14478 # Whether or not to build shared libraries.
14479 build_libtool_libs=$enable_shared
14481 # Whether or not to build static libraries.
14482 build_old_libs=$enable_static
14484 # What type of objects to build.
14487 # Whether or not to optimize for fast installation.
14488 fast_install=$enable_fast_install
14490 # Shell to use when invoking shell scripts.
14493 # An echo program that protects backslashes.
14497 host_alias=$host_alias
14501 # The build system.
14502 build_alias=$build_alias
14506 # A sed program that does not truncate output.
14509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14510 Xsed="\$SED -e 1s/^X//"
14512 # A grep program that handles long lines.
14518 # A literal string matcher.
14521 # A BSD- or MS-compatible name lister.
14524 # Whether we need soft or hard links.
14527 # What is the maximum length of a command?
14528 max_cmd_len=$max_cmd_len
14530 # Object file suffix (normally "o").
14533 # Executable file suffix (normally "").
14536 # whether the shell understands "unset".
14539 # turn spaces into newlines.
14542 # turn newlines into spaces.
14545 # An object symbol dumper.
14546 OBJDUMP=$lt_OBJDUMP
14548 # Method to check whether dependent libraries are shared objects.
14549 deplibs_check_method=$lt_deplibs_check_method
14551 # Command to use when deplibs_check_method == "file_magic".
14552 file_magic_cmd=$lt_file_magic_cmd
14556 AR_FLAGS=$lt_AR_FLAGS
14558 # A symbol stripping program.
14561 # Commands used to install an old-style archive.
14563 old_postinstall_cmds=$lt_old_postinstall_cmds
14564 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14566 # Whether to use a lock for old archive extraction.
14567 lock_old_archive_extraction=$lock_old_archive_extraction
14572 # LTCC compiler flags.
14573 LTCFLAGS=$lt_CFLAGS
14575 # Take the output of nm and produce a listing of raw symbols and C names.
14576 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14578 # Transform the output of nm in a proper C declaration.
14579 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14581 # Transform the output of nm in a C name address pair.
14582 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14584 # Transform the output of nm in a C name address pair when lib prefix is needed.
14585 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14587 # The name of the directory that contains temporary libtool files.
14590 # Used to examine libraries when file_magic_cmd begins with "file".
14591 MAGIC_CMD=$MAGIC_CMD
14593 # Must we lock files when doing compilation?
14594 need_locks=$lt_need_locks
14596 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14597 DSYMUTIL=$lt_DSYMUTIL
14599 # Tool to change global to local symbols on Mac OS X.
14602 # Tool to manipulate fat objects and archives on Mac OS X.
14605 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14608 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14609 OTOOL64=$lt_OTOOL64
14611 # Old archive suffix (normally "a").
14614 # Shared library suffix (normally ".so").
14615 shrext_cmds=$lt_shrext_cmds
14617 # The commands to extract the exported symbol list from a shared archive.
14618 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14620 # Variables whose values should be saved in libtool wrapper scripts and
14621 # restored at link time.
14622 variables_saved_for_relink=$lt_variables_saved_for_relink
14624 # Do we need the "lib" prefix for modules?
14625 need_lib_prefix=$need_lib_prefix
14627 # Do we need a version for libraries?
14628 need_version=$need_version
14630 # Library versioning type.
14631 version_type=$version_type
14633 # Shared library runtime path variable.
14634 runpath_var=$runpath_var
14636 # Shared library path variable.
14637 shlibpath_var=$shlibpath_var
14639 # Is shlibpath searched before the hard-coded library search path?
14640 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14642 # Format of library name prefix.
14643 libname_spec=$lt_libname_spec
14645 # List of archive names. First name is the real one, the rest are links.
14646 # The last name is the one that the linker finds with -lNAME
14647 library_names_spec=$lt_library_names_spec
14649 # The coded name of the library, if different from the real name.
14650 soname_spec=$lt_soname_spec
14652 # Permission mode override for installation of shared libraries.
14653 install_override_mode=$lt_install_override_mode
14655 # Command to use after installation of a shared archive.
14656 postinstall_cmds=$lt_postinstall_cmds
14658 # Command to use after uninstallation of a shared archive.
14659 postuninstall_cmds=$lt_postuninstall_cmds
14661 # Commands used to finish a libtool library installation in a directory.
14662 finish_cmds=$lt_finish_cmds
14664 # As "finish_cmds", except a single script fragment to be evaled but
14666 finish_eval=$lt_finish_eval
14668 # Whether we should hardcode library paths into libraries.
14669 hardcode_into_libs=$hardcode_into_libs
14671 # Compile-time system search path for libraries.
14672 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14674 # Run-time system search path for libraries.
14675 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14677 # Whether dlopen is supported.
14678 dlopen_support=$enable_dlopen
14680 # Whether dlopen of programs is supported.
14681 dlopen_self=$enable_dlopen_self
14683 # Whether dlopen of statically linked programs is supported.
14684 dlopen_self_static=$enable_dlopen_self_static
14686 # Commands to strip libraries.
14687 old_striplib=$lt_old_striplib
14688 striplib=$lt_striplib
14691 # The linker used to build libraries.
14694 # How to create reloadable object files.
14695 reload_flag=$lt_reload_flag
14696 reload_cmds=$lt_reload_cmds
14698 # Commands used to build an old-style archive.
14699 old_archive_cmds=$lt_old_archive_cmds
14701 # A language specific compiler.
14704 # Is the compiler the GNU compiler?
14707 # Compiler flag to turn off builtin functions.
14708 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14710 # How to pass a linker flag through the compiler.
14711 wl=$lt_lt_prog_compiler_wl
14713 # Additional compiler flags for building library objects.
14714 pic_flag=$lt_lt_prog_compiler_pic
14716 # Compiler flag to prevent dynamic linking.
14717 link_static_flag=$lt_lt_prog_compiler_static
14719 # Does compiler simultaneously support -c and -o options?
14720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14722 # Whether or not to add -lc for building shared libraries.
14723 build_libtool_need_lc=$archive_cmds_need_lc
14725 # Whether or not to disallow shared libs when runtime libs are static.
14726 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14728 # Compiler flag to allow reflexive dlopens.
14729 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14731 # Compiler flag to generate shared objects directly from archives.
14732 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14734 # Whether the compiler copes with passing no objects directly.
14735 compiler_needs_object=$lt_compiler_needs_object
14737 # Create an old-style archive from a shared archive.
14738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14740 # Create a temporary old-style archive to link instead of a shared archive.
14741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14743 # Commands used to build a shared archive.
14744 archive_cmds=$lt_archive_cmds
14745 archive_expsym_cmds=$lt_archive_expsym_cmds
14747 # Commands used to build a loadable module if different from building
14748 # a shared archive.
14749 module_cmds=$lt_module_cmds
14750 module_expsym_cmds=$lt_module_expsym_cmds
14752 # Whether we are building with GNU ld or not.
14753 with_gnu_ld=$lt_with_gnu_ld
14755 # Flag that allows shared libraries with undefined symbols to be built.
14756 allow_undefined_flag=$lt_allow_undefined_flag
14758 # Flag that enforces no undefined symbols.
14759 no_undefined_flag=$lt_no_undefined_flag
14761 # Flag to hardcode \$libdir into a binary during linking.
14762 # This must work even if \$libdir does not exist
14763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14765 # If ld is used when linking, flag to hardcode \$libdir into a binary
14766 # during linking. This must work even if \$libdir does not exist.
14767 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14769 # Whether we need a single "-rpath" flag with a separated argument.
14770 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14773 # DIR into the resulting binary.
14774 hardcode_direct=$hardcode_direct
14776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14777 # DIR into the resulting binary and the resulting library dependency is
14778 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14779 # library is relocated.
14780 hardcode_direct_absolute=$hardcode_direct_absolute
14782 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14783 # into the resulting binary.
14784 hardcode_minus_L=$hardcode_minus_L
14786 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14787 # into the resulting binary.
14788 hardcode_shlibpath_var=$hardcode_shlibpath_var
14790 # Set to "yes" if building a shared library automatically hardcodes DIR
14791 # into the library and all subsequent libraries and executables linked
14793 hardcode_automatic=$hardcode_automatic
14795 # Set to yes if linker adds runtime paths of dependent libraries
14796 # to runtime path list.
14797 inherit_rpath=$inherit_rpath
14799 # Whether libtool must link a program against all its dependency libraries.
14800 link_all_deplibs=$link_all_deplibs
14802 # Fix the shell variable \$srcfile for the compiler.
14803 fix_srcfile_path=$lt_fix_srcfile_path
14805 # Set to "yes" if exported symbols are required.
14806 always_export_symbols=$always_export_symbols
14808 # The commands to list exported symbols.
14809 export_symbols_cmds=$lt_export_symbols_cmds
14811 # Symbols that should not be listed in the preloaded symbols.
14812 exclude_expsyms=$lt_exclude_expsyms
14814 # Symbols that must always be exported.
14815 include_expsyms=$lt_include_expsyms
14817 # Commands necessary for linking programs (against libraries) with templates.
14818 prelink_cmds=$lt_prelink_cmds
14820 # Specify filename containing input files.
14821 file_list_spec=$lt_file_list_spec
14823 # How to hardcode a shared library path into an executable.
14824 hardcode_action=$hardcode_action
14826 # ### END LIBTOOL CONFIG
14832 cat <<\_LT_EOF
>> "$cfgfile"
14833 # AIX sometimes has problems with the GCC collect2 program. For some
14834 # reason, if we set the COLLECT_NAMES environment variable, the problems
14835 # vanish in a puff of smoke.
14836 if test "X${COLLECT_NAMES+set}" != Xset
; then
14838 export COLLECT_NAMES
14845 ltmain
="$ac_aux_dir/ltmain.sh"
14848 # We use sed instead of cat because bash on DJGPP gets confused if
14849 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14850 # text mode, it properly converts lines to CR/LF. This bash problem
14851 # is reportedly fixed, but why not run on old versions too?
14852 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14853 ||
(rm -f "$cfgfile"; exit 1)
14857 cat << \_LT_EOF
>> "$cfgfile"
14859 # func_dirname file append nondir_replacement
14860 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14861 # otherwise set result to NONDIR_REPLACEMENT.
14865 */*) func_dirname_result
="${1%/*}${2}" ;;
14866 * ) func_dirname_result
="${3}" ;;
14870 # func_basename file
14873 func_basename_result
="${1##*/}"
14876 # func_dirname_and_basename file append nondir_replacement
14877 # perform func_basename and func_dirname in a single function
14879 # dirname: Compute the dirname of FILE. If nonempty,
14880 # add APPEND to the result, otherwise set result
14881 # to NONDIR_REPLACEMENT.
14882 # value returned in "$func_dirname_result"
14883 # basename: Compute filename of FILE.
14884 # value retuned in "$func_basename_result"
14885 # Implementation must be kept synchronized with func_dirname
14886 # and func_basename. For efficiency, we do not delegate to
14887 # those functions but instead duplicate the functionality here.
14888 func_dirname_and_basename
()
14891 */*) func_dirname_result
="${1%/*}${2}" ;;
14892 * ) func_dirname_result
="${3}" ;;
14894 func_basename_result
="${1##*/}"
14897 # func_stripname prefix suffix name
14898 # strip PREFIX and SUFFIX off of NAME.
14899 # PREFIX and SUFFIX must not contain globbing or regex special
14900 # characters, hashes, percent signs, but SUFFIX may contain a leading
14901 # dot (in which case that matches only a dot).
14904 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14905 # positional parameters, so assign one to ordinary parameter first.
14906 func_stripname_result
=${3}
14907 func_stripname_result
=${func_stripname_result#"${1}"}
14908 func_stripname_result
=${func_stripname_result%"${2}"}
14914 func_opt_split_opt
=${1%%=*}
14915 func_opt_split_arg
=${1#*=}
14922 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14923 *) func_lo2o_result
=${1} ;;
14927 # func_xform libobj-or-source
14930 func_xform_result
=${1%.*}.lo
14933 # func_arith arithmetic-term...
14936 func_arith_result
=$
(( $
* ))
14940 # STRING may not start with a hyphen.
14943 func_len_result
=${#1}
14948 *) # Bourne compatible functions.
14949 cat << \_LT_EOF
>> "$cfgfile"
14951 # func_dirname file append nondir_replacement
14952 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14953 # otherwise set result to NONDIR_REPLACEMENT.
14956 # Extract subdirectory from the argument.
14957 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14958 if test "X$func_dirname_result" = "X${1}"; then
14959 func_dirname_result
="${3}"
14961 func_dirname_result
="$func_dirname_result${2}"
14965 # func_basename file
14968 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14972 # func_stripname prefix suffix name
14973 # strip PREFIX and SUFFIX off of NAME.
14974 # PREFIX and SUFFIX must not contain globbing or regex special
14975 # characters, hashes, percent signs, but SUFFIX may contain a leading
14976 # dot (in which case that matches only a dot).
14977 # func_strip_suffix prefix name
14981 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14982 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14987 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14988 my_sed_long_arg
='1s/^-[^=]*=//'
14993 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14994 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15000 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15003 # func_xform libobj-or-source
15006 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15009 # func_arith arithmetic-term...
15012 func_arith_result
=`expr "$@"`
15016 # STRING may not start with a hyphen.
15019 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15025 case $lt_shell_append in
15027 cat << \_LT_EOF
>> "$cfgfile"
15029 # func_append var value
15030 # Append VALUE to the end of shell variable VAR.
15038 cat << \_LT_EOF
>> "$cfgfile"
15040 # func_append var value
15041 # Append VALUE to the end of shell variable VAR.
15052 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15053 ||
(rm -f "$cfgfile"; exit 1)
15055 mv -f "$cfgfile" "$ofile" ||
15056 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15061 if test "$GCC" = yes; then
15062 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
15064 echo "/* generated for $CC */" > tmp-stdint.h
15067 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15069 #ifndef GCC_GENERATED_STDINT_H
15070 #define GCC_GENERATED_STDINT_H 1
15072 #include <sys/types.h>
15075 if test "$acx_cv_header_stdint" != stdint.h
; then
15076 echo "#include <stddef.h>" >> tmp-stdint.h
15078 if test "$acx_cv_header_stdint" != stddef.h
; then
15079 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
15082 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15083 /* glibc uses these symbols as guards to prevent redefinitions. */
15084 #ifdef __int8_t_defined
15089 #ifdef __uint32_t_defined
15095 # ----------------- done header, emit basic int types -------------
15096 if test "$acx_cv_header_stdint" = stddef.h
; then
15097 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15101 #ifndef __uint8_t_defined
15102 #define __uint8_t_defined
15104 typedef unsigned $acx_cv_type_int8_t uint8_t;
15111 #ifndef __uint16_t_defined
15112 #define __uint16_t_defined
15114 typedef unsigned $acx_cv_type_int16_t uint16_t;
15121 #ifndef __uint32_t_defined
15122 #define __uint32_t_defined
15124 typedef unsigned $acx_cv_type_int32_t uint32_t;
15131 #ifndef __int8_t_defined
15132 #define __int8_t_defined
15134 typedef $acx_cv_type_int8_t int8_t;
15141 #ifndef __int16_t_defined
15142 #define __int16_t_defined
15144 typedef $acx_cv_type_int16_t int16_t;
15151 #ifndef __int32_t_defined
15152 #define __int32_t_defined
15154 typedef $acx_cv_type_int32_t int32_t;
15159 elif test "$ac_cv_type_u_int32_t" = yes; then
15160 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15162 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
15175 #ifndef __uint8_t_defined
15176 #define __uint8_t_defined
15178 typedef u_int8_t uint8_t;
15185 #ifndef __uint16_t_defined
15186 #define __uint16_t_defined
15188 typedef u_int16_t uint16_t;
15195 #ifndef __uint32_t_defined
15196 #define __uint32_t_defined
15198 typedef u_int32_t uint32_t;
15204 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15206 /* Some systems have guard macros to prevent redefinitions, define them. */
15228 # ------------- done basic int types, emit int64_t types ------------
15229 if test "$ac_cv_type_uint64_t" = yes; then
15230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15232 /* system headers have good uint64_t and int64_t */
15240 elif test "$ac_cv_type_u_int64_t" = yes; then
15241 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15243 /* system headers have an u_int64_t (and int64_t) */
15249 #ifndef __uint64_t_defined
15250 #define __uint64_t_defined
15252 typedef u_int64_t uint64_t;
15257 elif test -n "$acx_cv_type_int64_t"; then
15258 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15260 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
15264 typedef $acx_cv_type_int64_t int64_t;
15269 #ifndef __uint64_t_defined
15270 #define __uint64_t_defined
15272 typedef unsigned $acx_cv_type_int64_t uint64_t;
15278 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15280 /* some common heuristics for int64_t, using compiler-specific tests */
15281 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
15284 #ifndef __int64_t_defined
15286 typedef long long int64_t;
15293 typedef unsigned long long uint64_t;
15297 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
15298 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
15299 does not implement __extension__. But that compiler doesn't define
15301 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
15302 # define __extension__
15308 __extension__ typedef long long int64_t;
15314 __extension__ typedef unsigned long long uint64_t;
15318 #elif !defined __STRICT_ANSI__
15319 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
15324 typedef __int64 int64_t;
15330 typedef unsigned __int64 uint64_t;
15333 # endif /* compiler */
15335 #endif /* ANSI version */
15339 # ------------- done int64_t types, emit intptr types ------------
15340 if test "$ac_cv_type_uintptr_t" != yes; then
15341 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15343 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
15344 #ifndef __uintptr_t_defined
15346 typedef u$acx_cv_type_intptr_t uintptr_t;
15349 #ifndef __intptr_t_defined
15351 typedef $acx_cv_type_intptr_t intptr_t;
15357 # ------------- done intptr types, emit int_least types ------------
15358 if test "$ac_cv_type_int_least32_t" != yes; then
15359 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15361 /* Define int_least types */
15362 typedef int8_t int_least8_t;
15363 typedef int16_t int_least16_t;
15364 typedef int32_t int_least32_t;
15366 typedef int64_t int_least64_t;
15369 typedef uint8_t uint_least8_t;
15370 typedef uint16_t uint_least16_t;
15371 typedef uint32_t uint_least32_t;
15373 typedef uint64_t uint_least64_t;
15378 # ------------- done intptr types, emit int_fast types ------------
15379 if test "$ac_cv_type_int_fast32_t" != yes; then
15380 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15382 /* Define int_fast types. short is often slow */
15383 typedef int8_t int_fast8_t;
15384 typedef int int_fast16_t;
15385 typedef int32_t int_fast32_t;
15387 typedef int64_t int_fast64_t;
15390 typedef uint8_t uint_fast8_t;
15391 typedef unsigned int uint_fast16_t;
15392 typedef uint32_t uint_fast32_t;
15394 typedef uint64_t uint_fast64_t;
15399 if test "$ac_cv_type_uintmax_t" != yes; then
15400 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15402 /* Define intmax based on what we found */
15405 typedef int64_t intmax_t;
15407 typedef long intmax_t;
15412 typedef uint64_t uintmax_t;
15414 typedef unsigned long uintmax_t;
15420 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15422 #endif /* GCC_GENERATED_STDINT_H */
15425 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
15428 mv -f tmp-stdint.h gstdint.h
15432 "default":C
) if test -n "$CONFIG_FILES"; then
15433 if test -n "${with_target_subdir}"; then
15434 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15435 # that multilib installs will end up installed in the correct place.
15436 # The testsuite needs it for multilib-aware ABI baseline files.
15437 # To work around this not being passed down from config-ml.in ->
15438 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
15439 # append it here. Only modify Makefiles that have just been created.
15441 # Also, get rid of this simulated-VPATH thing that automake does.
15442 cat > vpsed
<< \_EOF
15443 s
!`test -f '$<' || echo '$(srcdir)/'`!!
15445 for i
in $SUBDIRS; do
15446 case $CONFIG_FILES in
15448 #echo "Adding MULTISUBDIR to $i/Makefile"
15449 sed -f vpsed
$i/Makefile
> tmp
15450 grep '^MULTISUBDIR =' Makefile
>> tmp
15466 ac_clean_files
=$ac_clean_files_save
15468 test $ac_write_fail = 0 ||
15469 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15472 # configure is writing to config.log, and then calls config.status.
15473 # config.status does its own redirection, appending to config.log.
15474 # Unfortunately, on DOS this fails, as config.log is still kept open
15475 # by configure, so config.status won't be able to write to it; its
15476 # output is simply discarded. So we exec the FD to /dev/null,
15477 # effectively closing config.log, so it can be properly (re)opened and
15478 # appended to by config.status. When coming back to configure, we
15479 # need to make the FD available again.
15480 if test "$no_create" != yes; then
15482 ac_config_status_args
=
15483 test "$silent" = yes &&
15484 ac_config_status_args
="$ac_config_status_args --quiet"
15486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15489 # would make configure fail if this is the last instruction.
15490 $ac_cs_success || as_fn_exit $?
15492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}