2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libbacktrace'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="backtrace.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
607 HAVE_OBJCOPY_DEBUGLINK_FALSE
608 HAVE_OBJCOPY_DEBUGLINK_TRUE
610 HAVE_COMPRESSED_DEBUG_FALSE
611 HAVE_COMPRESSED_DEBUG_TRUE
618 BACKTRACE_USES_MALLOC
621 BACKTRACE_SUPPORTS_DATA
624 BACKTRACE_SUPPORTS_THREADS
646 MAINTAINER_MODE_FALSE
656 INSTALL_STRIP_PROGRAM
722 program_transform_name
735 enable_option_checking
737 enable_maintainer_mode
747 with_system_libunwind
750 ac_precious_vars
='build_alias
762 # Initialize some variables set by options.
764 ac_init_version
=false
765 ac_unrecognized_opts
=
767 # The variables have the same names as the options, with
768 # dashes changed to underlines.
776 program_transform_name
=s
,x
,x
,
784 # Installation directory options.
785 # These are left unexpanded so users can "make install exec_prefix=/foo"
786 # and all the variables that are supposed to be based on exec_prefix
787 # by default will actually change.
788 # Use braces instead of parens because sh, perl, etc. also accept them.
789 # (The list follows the same order as the GNU Coding Standards.)
790 bindir
='${exec_prefix}/bin'
791 sbindir
='${exec_prefix}/sbin'
792 libexecdir
='${exec_prefix}/libexec'
793 datarootdir
='${prefix}/share'
794 datadir
='${datarootdir}'
795 sysconfdir
='${prefix}/etc'
796 sharedstatedir
='${prefix}/com'
797 localstatedir
='${prefix}/var'
798 includedir
='${prefix}/include'
799 oldincludedir
='/usr/include'
800 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
801 infodir
='${datarootdir}/info'
806 libdir
='${exec_prefix}/lib'
807 localedir
='${datarootdir}/locale'
808 mandir
='${datarootdir}/man'
814 # If the previous option needs an argument, assign it.
815 if test -n "$ac_prev"; then
816 eval $ac_prev=\
$ac_option
822 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 # Accept the important Cygnus configure options, so we can diagnose typos.
828 case $ac_dashdash$ac_option in
832 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
834 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
837 -build |
--build |
--buil |
--bui |
--bu)
838 ac_prev
=build_alias
;;
839 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
840 build_alias
=$ac_optarg ;;
842 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
843 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
844 ac_prev
=cache_file
;;
845 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
846 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
847 cache_file
=$ac_optarg ;;
850 cache_file
=config.cache
;;
852 -datadir |
--datadir |
--datadi |
--datad)
854 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
855 datadir
=$ac_optarg ;;
857 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
858 |
--dataroo |
--dataro |
--datar)
859 ac_prev
=datarootdir
;;
860 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
861 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
862 datarootdir
=$ac_optarg ;;
864 -disable-* |
--disable-*)
865 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
868 as_fn_error
"invalid feature name: $ac_useropt"
869 ac_useropt_orig
=$ac_useropt
870 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
875 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep
=', ';;
878 eval enable_
$ac_useropt=no
;;
880 -docdir |
--docdir |
--docdi |
--doc |
--do)
882 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
885 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
887 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
890 -enable-* |
--enable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=\
$ac_optarg ;;
906 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
907 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
908 |
--exec |
--exe |
--ex)
909 ac_prev
=exec_prefix
;;
910 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
911 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
912 |
--exec=* |
--exe=* |
--ex=*)
913 exec_prefix
=$ac_optarg ;;
915 -gas |
--gas |
--ga |
--g)
916 # Obsolete; use --with-gas.
919 -help |
--help |
--hel |
--he |
-h)
921 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
922 ac_init_help
=recursive
;;
923 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
924 ac_init_help
=short
;;
926 -host |
--host |
--hos |
--ho)
927 ac_prev
=host_alias
;;
928 -host=* |
--host=* |
--hos=* |
--ho=*)
929 host_alias
=$ac_optarg ;;
931 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
933 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
935 htmldir
=$ac_optarg ;;
937 -includedir |
--includedir |
--includedi |
--included |
--include \
938 |
--includ |
--inclu |
--incl |
--inc)
939 ac_prev
=includedir
;;
940 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
941 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
942 includedir
=$ac_optarg ;;
944 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
946 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
947 infodir
=$ac_optarg ;;
949 -libdir |
--libdir |
--libdi |
--libd)
951 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
954 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
955 |
--libexe |
--libex |
--libe)
956 ac_prev
=libexecdir
;;
957 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
958 |
--libexe=* |
--libex=* |
--libe=*)
959 libexecdir
=$ac_optarg ;;
961 -localedir |
--localedir |
--localedi |
--localed |
--locale)
963 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
964 localedir
=$ac_optarg ;;
966 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
967 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
968 ac_prev
=localstatedir
;;
969 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
970 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
971 localstatedir
=$ac_optarg ;;
973 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
975 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
979 # Obsolete; use --without-fp.
982 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
983 |
--no-cr |
--no-c |
-n)
986 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
987 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
990 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
991 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
992 |
--oldin |
--oldi |
--old |
--ol |
--o)
993 ac_prev
=oldincludedir
;;
994 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
995 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
996 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
997 oldincludedir
=$ac_optarg ;;
999 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1001 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1002 prefix
=$ac_optarg ;;
1004 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1005 |
--program-pre |
--program-pr |
--program-p)
1006 ac_prev
=program_prefix
;;
1007 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1008 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1009 program_prefix
=$ac_optarg ;;
1011 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1012 |
--program-suf |
--program-su |
--program-s)
1013 ac_prev
=program_suffix
;;
1014 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1015 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1016 program_suffix
=$ac_optarg ;;
1018 -program-transform-name |
--program-transform-name \
1019 |
--program-transform-nam |
--program-transform-na \
1020 |
--program-transform-n |
--program-transform- \
1021 |
--program-transform |
--program-transfor \
1022 |
--program-transfo |
--program-transf \
1023 |
--program-trans |
--program-tran \
1024 |
--progr-tra |
--program-tr |
--program-t)
1025 ac_prev
=program_transform_name
;;
1026 -program-transform-name=* |
--program-transform-name=* \
1027 |
--program-transform-nam=* |
--program-transform-na=* \
1028 |
--program-transform-n=* |
--program-transform-=* \
1029 |
--program-transform=* |
--program-transfor=* \
1030 |
--program-transfo=* |
--program-transf=* \
1031 |
--program-trans=* |
--program-tran=* \
1032 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1033 program_transform_name
=$ac_optarg ;;
1035 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1037 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1038 pdfdir
=$ac_optarg ;;
1040 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1042 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1045 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1046 |
-silent |
--silent |
--silen |
--sile |
--sil)
1049 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1051 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1053 sbindir
=$ac_optarg ;;
1055 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1056 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1057 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1059 ac_prev
=sharedstatedir
;;
1060 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1061 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1062 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1064 sharedstatedir
=$ac_optarg ;;
1066 -site |
--site |
--sit)
1068 -site=* |
--site=* |
--sit=*)
1071 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1073 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1074 srcdir
=$ac_optarg ;;
1076 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1077 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1078 ac_prev
=sysconfdir
;;
1079 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1080 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1081 sysconfdir
=$ac_optarg ;;
1083 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1084 ac_prev
=target_alias
;;
1085 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1086 target_alias
=$ac_optarg ;;
1088 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1091 -version |
--version |
--versio |
--versi |
--vers |
-V)
1092 ac_init_version
=: ;;
1095 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=\
$ac_optarg ;;
1110 -without-* |
--without-*)
1111 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) as_fn_error
"unrecognized option: \`$ac_option'
1145 Try \`$0 --help' for more information."
1149 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 case $ac_envvar in #(
1152 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1153 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 as_fn_error
"missing argument to $ac_option"
1174 if test -n "$ac_unrecognized_opts"; then
1175 case $enable_option_checking in
1177 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1178 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 # Check all directory arguments for consistency.
1183 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1184 datadir sysconfdir sharedstatedir localstatedir includedir \
1185 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1186 libdir localedir mandir
1188 eval ac_val
=\$
$ac_var
1189 # Remove trailing slashes.
1192 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1193 eval $ac_var=\
$ac_val;;
1195 # Be sure to have absolute directory names.
1197 [\\/$
]* | ?
:[\\/]* ) continue;;
1198 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1200 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1203 # There might be people who depend on the old broken behavior: `$host'
1204 # used to hold the argument of --host etc.
1205 # FIXME: To remove some day.
1208 target
=$target_alias
1210 # FIXME: To remove some day.
1211 if test "x$host_alias" != x
; then
1212 if test "x$build_alias" = x
; then
1213 cross_compiling
=maybe
1214 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1215 If a cross compiler is detected then cross compile mode will be used." >&2
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1224 test "$silent" = yes && exec 6>/dev
/null
1227 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di
=`ls -di .` &&
1229 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1230 as_fn_error
"working directory cannot be determined"
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 as_fn_error
"pwd does not report name of working directory"
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted
=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir
=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted
=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1271 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1273 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var
in $ac_precious_vars; do
1288 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1290 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/libbacktrace]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1364 --build=BUILD configure
for building on BUILD
[guessed
]
1365 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1366 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive
) echo "Configuration of package-unused version-unused:";;
1377 --disable-option-checking ignore unrecognized
--enable/--with options
1378 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1379 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1380 --enable-multilib build many library versions
(default
)
1381 --enable-maintainer-mode enable make rules and dependencies not useful
1382 (and sometimes confusing
) to the casual installer
1383 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1384 --enable-static[=PKGS
] build static libraries
[default
=yes]
1385 --enable-fast-install[=PKGS
]
1386 optimize
for fast installation
[default
=yes]
1387 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1388 --disable-largefile omit support
for large files
1389 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1390 --enable-host-shared build
host code as shared libraries
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1396 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1398 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1399 --with-system-libunwind use installed libunwind
1401 Some influential environment variables
:
1402 CC C compiler
command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1405 nonstandard directory
<lib dir
>
1406 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1407 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1408 you have headers
in a nonstandard directory
<include dir
>
1410 OBJCOPY location of objcopy
1412 Use these variables to override the choices made by
`configure' or to help
1413 it to find libraries and programs with nonstandard names/locations.
1415 Report bugs to the package provider.
1420 if test "$ac_init_help" = "recursive"; then
1421 # If there are subdirs, report their specific --help.
1422 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1423 test -d "$ac_dir" ||
1424 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1432 # A ".." for each directory in $ac_dir_suffix.
1433 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1434 case $ac_top_builddir_sub in
1435 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1436 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1439 ac_abs_top_builddir=$ac_pwd
1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1441 # for backward compatibility:
1442 ac_top_builddir=$ac_top_build_prefix
1445 .) # We are building in place.
1447 ac_top_srcdir=$ac_top_builddir_sub
1448 ac_abs_top_srcdir=$ac_pwd ;;
1449 [\\/]* | ?:[\\/]* ) # Absolute name.
1450 ac_srcdir=$srcdir$ac_dir_suffix;
1451 ac_top_srcdir=$srcdir
1452 ac_abs_top_srcdir=$srcdir ;;
1454 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1455 ac_top_srcdir=$ac_top_build_prefix$srcdir
1456 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460 cd "$ac_dir" || { ac_status=$?; continue; }
1461 # Check for guested configure.
1462 if test -f "$ac_srcdir/configure.gnu"; then
1464 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1465 elif test -f "$ac_srcdir/configure"; then
1467 $SHELL "$ac_srcdir/configure" --help=recursive
1469 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471 cd "$ac_pwd" || { ac_status=$?; break; }
1475 test -n "$ac_init_help" && exit $ac_status
1476 if $ac_init_version; then
1478 package-unused configure version-unused
1479 generated by GNU Autoconf 2.64
1481 Copyright (C) 2009 Free Software Foundation, Inc.
1482 This configure script is free software; the Free Software Foundation
1483 gives unlimited permission to copy, distribute and modify it.
1488 ## ------------------------ ##
1489 ## Autoconf initialization. ##
1490 ## ------------------------ ##
1492 # ac_fn_c_try_compile LINENO
1493 # --------------------------
1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1495 ac_fn_c_try_compile ()
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 rm -f conftest.$ac_objext
1499 if { { ac_try="$ac_compile"
1501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1502 *) ac_try_echo
=$ac_try;;
1504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_compile") 2>conftest.err
1508 if test -s conftest.err
; then
1509 grep -v '^ *+' conftest.err
>conftest.er1
1510 cat conftest.er1
>&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } && {
1515 test -z "$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1517 } && test -s conftest.
$ac_objext; then :
1520 $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.
$ac_ext >&5
1525 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1528 } # ac_fn_c_try_compile
1530 # ac_fn_c_try_cpp LINENO
1531 # ----------------------
1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1535 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1536 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } >/dev/null && {
1552 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1567 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1568 # -------------------------------------------------------
1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1570 # the include files in INCLUDES and setting the cache variable VAR
1572 ac_fn_c_check_header_mongrel ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1579 $as_echo_n "(cached) " >&6
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1585 # Is the header compilable?
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1587 $as_echo_n "checking $2 usability... " >&6; }
1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1589 /* end confdefs.h. */
1593 if ac_fn_c_try_compile "$LINENO"; then :
1594 ac_header_compiler=yes
1596 ac_header_compiler=no
1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1600 $as_echo "$ac_header_compiler" >&6; }
1602 # Is the header present?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1604 $as_echo_n "checking $2 presence... " >&6; }
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1609 if ac_fn_c_try_cpp "$LINENO"; then :
1610 ac_header_preproc=yes
1612 ac_header_preproc=no
1614 rm -f conftest.err conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1616 $as_echo "$ac_header_preproc" >&6; }
1618 # So? What about this header?
1619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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}: WARNING: $2: present but cannot be compiled" >&5
1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1630 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1634 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1642 $as_echo_n "(cached) " >&6
1644 eval "$3=\$ac_header_compiler"
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 } # ac_fn_c_check_header_mongrel
1654 # ac_fn_c_try_run LINENO
1655 # ----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1657 # that executables *can* be run.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_link"
1663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1664 *) ac_try_echo
=$ac_try;;
1666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>&5
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1672 { { case "(($ac_try" in
1673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_try") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; }; }; then :
1684 $as_echo "$as_me: program exited with status $ac_status" >&5
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1688 ac_retval=$ac_status
1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1697 # -------------------------------------------------------
1698 # Tests whether HEADER exists and can be compiled using the include files in
1699 # INCLUDES, setting the cache variable VAR accordingly.
1700 ac_fn_c_check_header_compile ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1713 if ac_fn_c_try_compile "$LINENO"; then :
1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 } # ac_fn_c_check_header_compile
1727 # ac_fn_c_try_link LINENO
1728 # -----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 rm -f conftest.$ac_objext conftest$ac_exeext
1734 if { { ac_try="$ac_link"
1736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1737 *) ac_try_echo
=$ac_try;;
1739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>conftest.err
1743 if test -s conftest.err
; then
1744 grep -v '^ *+' conftest.err
>conftest.er1
1745 cat conftest.er1
>&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && {
1750 test -z "$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1752 } && test -s conftest
$ac_exeext && {
1753 test "$cross_compiling" = yes ||
1754 $as_test_x conftest
$ac_exeext
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1765 # interfere with the next link command; also delete a directory that is
1766 # left behind by Apple's compiler. We do this before executing the actions.
1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1771 } # ac_fn_c_try_link
1773 # ac_fn_c_check_func LINENO FUNC VAR
1774 # ----------------------------------
1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1776 ac_fn_c_check_func
()
1778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1788 #define $2 innocuous_$2
1790 /* System header to define __stub macros and hopefully few prototypes,
1791 which can conflict with char $2 (); below.
1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1793 <limits.h> exists even on freestanding compilers. */
1796 # include <limits.h>
1798 # include <assert.h>
1803 /* Override any GCC internal prototype to avoid an error.
1804 Use char because int might match the return type of a GCC
1805 builtin and then its argument prototype would still apply. */
1810 /* The GNU C library defines this for functions which it implements
1811 to always fail with ENOSYS. Some functions are actually named
1812 something starting with __ and the normal name is an alias. */
1813 #if defined __stub_$2 || defined __stub___$2
1825 if ac_fn_c_try_link
"$LINENO"; then :
1830 rm -f core conftest.err conftest.
$ac_objext \
1831 conftest
$ac_exeext conftest.
$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1838 } # ac_fn_c_check_func
1840 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1841 # -------------------------------------------
1842 # Tests whether TYPE exists after having included INCLUDES, setting cache
1843 # variable VAR accordingly.
1844 ac_fn_c_check_type
()
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1865 if ac_fn_c_try_compile
"$LINENO"; then :
1866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1878 if ac_fn_c_try_compile
"$LINENO"; then :
1883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 } # ac_fn_c_check_type
1894 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1895 # --------------------------------------------
1896 # Tries to find the compile-time value of EXPR in a program that includes
1897 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1899 ac_fn_c_compute_int
()
1901 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1902 if test "$cross_compiling" = yes; then
1903 # Depending upon the size, compute the lo and hi bounds.
1904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1910 static int test_array [1 - 2 * !(($2) >= 0)];
1917 if ac_fn_c_try_compile
"$LINENO"; then :
1920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1933 if ac_fn_c_try_compile
"$LINENO"; then :
1934 ac_hi
=$ac_mid; break
1936 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1937 if test $ac_lo -le $ac_mid; then
1941 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1952 static int test_array [1 - 2 * !(($2) < 0)];
1959 if ac_fn_c_try_compile
"$LINENO"; then :
1962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1968 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1975 if ac_fn_c_try_compile
"$LINENO"; then :
1976 ac_lo
=$ac_mid; break
1978 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1979 if test $ac_mid -le $ac_hi; then
1983 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1993 # Binary search between lo and hi bounds.
1994 while test "x$ac_lo" != "x$ac_hi"; do
1995 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2002 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2009 if ac_fn_c_try_compile
"$LINENO"; then :
2012 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2024 static long int longval () { return $2; }
2025 static unsigned long int ulongval () { return $2; }
2032 FILE *f = fopen ("conftest.val", "w");
2037 long int i = longval ();
2040 fprintf (f, "%ld", i);
2044 unsigned long int i = ulongval ();
2047 fprintf (f, "%lu", i);
2049 /* Do not output a trailing newline, as this causes \r\n confusion
2050 on some platforms. */
2051 return ferror (f) || fclose (f) != 0;
2057 if ac_fn_c_try_run
"$LINENO"; then :
2058 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2062 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2063 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2070 } # ac_fn_c_compute_int
2072 # ac_fn_c_check_decl LINENO SYMBOL VAR
2073 # ------------------------------------
2074 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2075 ac_fn_c_check_decl
()
2077 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2078 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2079 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2081 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2082 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083 $as_echo_n "(cached) " >&6
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2091 #ifndef $as_decl_name
2093 (void) $as_decl_use;
2095 (void) $as_decl_name;
2103 if ac_fn_c_try_compile
"$LINENO"; then :
2108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2115 } # ac_fn_c_check_decl
2116 cat >config.log
<<_ACEOF
2117 This file contains any messages produced by compilers while
2118 running configure, to aid debugging if configure makes a mistake.
2120 It was created by package-unused $as_me version-unused, which was
2121 generated by GNU Autoconf 2.64. Invocation command line was
2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 $as_echo "PATH: $as_dir"
2173 # Keep a trace of the command line.
2174 # Strip out --no-create and --no-recursion so they do not pile up.
2175 # Strip out --silent because we don't want to record it for future runs.
2176 # Also quote any args containing shell meta-characters.
2177 # Make two passes to allow for proper duplicate-argument suppression.
2181 ac_must_keep_next
=false
2187 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2188 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2189 |
-silent |
--silent |
--silen |
--sile |
--sil)
2192 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2197 as_fn_append ac_configure_args1
" '$ac_arg'"
2198 if test $ac_must_keep_next = true
; then
2199 ac_must_keep_next
=false
# Got value, back to normal.
2202 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2203 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2204 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2205 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2206 case "$ac_configure_args0 " in
2207 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2210 -* ) ac_must_keep_next
=true
;;
2213 as_fn_append ac_configure_args
" '$ac_arg'"
2218 { ac_configure_args0
=; unset ac_configure_args0
;}
2219 { ac_configure_args1
=; unset ac_configure_args1
;}
2221 # When interrupted or exit'd, cleanup temporary files, and complete
2222 # config.log. We remove comments because anyway the quotes in there
2223 # would cause problems or look ugly.
2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226 trap 'exit_status=$?
2227 # Save into config.log some information that might help in debugging.
2232 ## ---------------- ##
2233 ## Cache variables. ##
2234 ## ---------------- ##
2237 # The following way of writing the cache mishandles newlines in values,
2239 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2240 eval ac_val=\$$ac_var
2244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2248 _ | IFS | as_nl) ;; #(
2249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2250 *) { eval $ac_var=; unset $ac_var;} ;;
2255 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2256 *${as_nl}ac_space=\ *)
2258 "s/'\''/'\''\\\\'\'''\''/g;
2259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2270 ## ----------------- ##
2271 ## Output variables. ##
2272 ## ----------------- ##
2275 for ac_var in $ac_subst_vars
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2285 if test -n "$ac_subst_files"; then
2287 ## ------------------- ##
2288 ## File substitutions. ##
2289 ## ------------------- ##
2292 for ac_var
in $ac_subst_files
2294 eval ac_val
=\$
$ac_var
2296 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2298 $as_echo "$ac_var='\''$ac_val'\''"
2303 if test -s confdefs.h; then
2313 test "$ac_signal" != 0 &&
2314 $as_echo "$as_me: caught signal $ac_signal"
2315 $as_echo "$as_me: exit $exit_status"
2317 rm -f core *.core core.conftest.* &&
2318 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2321 for ac_signal
in 1 2 13 15; do
2322 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2326 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2327 rm -f -r conftest
* confdefs.h
2329 $as_echo "/* confdefs.h */" > confdefs.h
2331 # Predefined preprocessor variables.
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_NAME "$PACKAGE_NAME"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2341 cat >>confdefs.h
<<_ACEOF
2342 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_STRING "$PACKAGE_STRING"
2349 cat >>confdefs.h
<<_ACEOF
2350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2353 cat >>confdefs.h
<<_ACEOF
2354 #define PACKAGE_URL "$PACKAGE_URL"
2358 # Let the site file select an alternate cache file if it wants to.
2359 # Prefer an explicitly selected file to automatically selected ones.
2362 if test -n "$CONFIG_SITE"; then
2363 ac_site_file1
=$CONFIG_SITE
2364 elif test "x$prefix" != xNONE
; then
2365 ac_site_file1
=$prefix/share
/config.site
2366 ac_site_file2
=$prefix/etc
/config.site
2368 ac_site_file1
=$ac_default_prefix/share
/config.site
2369 ac_site_file2
=$ac_default_prefix/etc
/config.site
2371 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2373 test "x$ac_site_file" = xNONE
&& continue
2374 if test -r "$ac_site_file"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2376 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2377 sed 's/^/| /' "$ac_site_file" >&5
2382 if test -r "$cache_file"; then
2383 # Some versions of bash will fail to source /dev/null (special
2384 # files actually), so we avoid doing that.
2385 if test -f "$cache_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
2389 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2390 *) .
"./$cache_file";;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
2399 # Check that the precious variables saved in the cache have kept the same
2401 ac_cache_corrupted
=false
2402 for ac_var
in $ac_precious_vars; do
2403 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2404 eval ac_new_set
=\
$ac_env_${ac_var}_set
2405 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2406 eval ac_new_val
=\
$ac_env_${ac_var}_value
2407 case $ac_old_set,$ac_new_set in
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2411 ac_cache_corrupted
=: ;;
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2415 ac_cache_corrupted
=: ;;
2418 if test "x$ac_old_val" != "x$ac_new_val"; then
2419 # differences in whitespace do not lead to failure.
2420 ac_old_val_w
=`echo x $ac_old_val`
2421 ac_new_val_w
=`echo x $ac_new_val`
2422 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2425 ac_cache_corrupted
=:
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2429 eval $ac_var=\
$ac_old_val
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2432 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2434 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2437 # Pass precious variables to config.status.
2438 if test "$ac_new_set" = set; then
2440 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2441 *) ac_arg
=$ac_var=$ac_new_val ;;
2443 case " $ac_configure_args " in
2444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2445 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2449 if $ac_cache_corrupted; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2454 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2456 ## -------------------- ##
2457 ## Main body of script. ##
2458 ## -------------------- ##
2461 ac_cpp
='$CPP $CPPFLAGS'
2462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2471 ac_config_headers
="$ac_config_headers config.h"
2474 if test -n "${with_target_subdir}"; then
2475 # Default to --enable-multilib
2476 # Check whether --enable-multilib was given.
2477 if test "${enable_multilib+set}" = set; then :
2478 enableval
=$enable_multilib; case "$enableval" in
2479 yes) multilib
=yes ;;
2481 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2488 # We may get other options which we leave undocumented:
2489 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2490 # See config-ml.in if you want the gory details.
2492 if test "$srcdir" = "."; then
2493 if test "$with_target_subdir" != "."; then
2494 multi_basedir
="$srcdir/$with_multisrctop../.."
2496 multi_basedir
="$srcdir/$with_multisrctop.."
2499 multi_basedir
="$srcdir/.."
2503 # Even if the default multilib is not a cross compilation,
2504 # it may be that some of the other multilibs are.
2505 if test $cross_compiling = no
&& test $multilib = yes \
2506 && test "x${with_multisubdir}" != x
; then
2507 cross_compiling
=maybe
2510 ac_config_commands
="$ac_config_commands default-1"
2515 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2516 for ac_t
in install-sh
install.sh shtool
; do
2517 if test -f "$ac_dir/$ac_t"; then
2519 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2524 if test -z "$ac_aux_dir"; then
2525 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2528 # These three variables are undocumented and unsupported,
2529 # and are intended to be withdrawn in a future Autoconf release.
2530 # They can cause serious problems if a builder's source tree is in a directory
2531 # whose full name contains unusual characters.
2532 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2533 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2534 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2537 # Make sure we can run config.sub.
2538 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2539 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2542 $as_echo_n "checking build system type... " >&6; }
2543 if test "${ac_cv_build+set}" = set; then :
2544 $as_echo_n "(cached) " >&6
2546 ac_build_alias
=$build_alias
2547 test "x$ac_build_alias" = x
&&
2548 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2549 test "x$ac_build_alias" = x
&&
2550 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2551 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2552 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2556 $as_echo "$ac_cv_build" >&6; }
2557 case $ac_cv_build in
2559 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2562 ac_save_IFS
=$IFS; IFS
='-'
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2572 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2576 $as_echo_n "checking host system type... " >&6; }
2577 if test "${ac_cv_host+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2580 if test "x$host_alias" = x
; then
2581 ac_cv_host
=$ac_cv_build
2583 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2584 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2589 $as_echo "$ac_cv_host" >&6; }
2592 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2595 ac_save_IFS
=$IFS; IFS
='-'
2601 # Remember, the first character of IFS is used to create $*,
2602 # except with old shells:
2605 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2609 $as_echo_n "checking target system type... " >&6; }
2610 if test "${ac_cv_target+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 if test "x$target_alias" = x
; then
2614 ac_cv_target
=$ac_cv_host
2616 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2617 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2622 $as_echo "$ac_cv_target" >&6; }
2623 case $ac_cv_target in
2625 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2627 target
=$ac_cv_target
2628 ac_save_IFS
=$IFS; IFS
='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2641 # The aliases save the names the user supplied, while $host etc.
2642 # will get canonicalized.
2643 test -n "$target_alias" &&
2644 test "$program_prefix$program_suffix$program_transform_name" = \
2646 program_prefix
=${target_alias}-
2648 target_alias
=${target_alias-$host_alias}
2651 ac_cpp
='$CPP $CPPFLAGS'
2652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2655 if test -n "$ac_tool_prefix"; then
2656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2657 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if test "${ac_cv_prog_CC+set}" = set; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC
="$CC" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 if test -n "$CC"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2686 $as_echo "$CC" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2694 if test -z "$ac_cv_prog_CC"; then
2696 # Extract the first word of "gcc", so it can be a program name with args.
2697 set dummy gcc
; ac_word
=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$ac_ct_CC"; then
2704 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir
=.
2711 for ac_exec_ext
in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 ac_cv_prog_ac_ct_CC
="gcc"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2724 if test -n "$ac_ct_CC"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2726 $as_echo "$ac_ct_CC" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2732 if test "x$ac_ct_CC" = x
; then
2735 case $cross_compiling:$ac_tool_warned in
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2739 ac_tool_warned
=yes ;;
2747 if test -z "$CC"; then
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if test "${ac_cv_prog_CC+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$CC"; then
2757 ac_cv_prog_CC
="$CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test -n "$CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2779 $as_echo "$CC" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2788 if test -z "$CC"; then
2789 # Extract the first word of "cc", so it can be a program name with args.
2790 set dummy cc
; ac_word
=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if test "${ac_cv_prog_CC+set}" = set; then :
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$CC"; then
2797 ac_cv_prog_CC
="$CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2808 ac_prog_rejected
=yes
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test $ac_prog_rejected = yes; then
2820 # We found a bogon in the path, so make sure we never use it.
2821 set dummy
$ac_cv_prog_CC
2823 if test $# != 0; then
2824 # We chose a different compiler from the bogus one.
2825 # However, it has the same basename, so the bogon will be chosen
2826 # first if we set CC to just the basename; use the full file name.
2828 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2844 if test -z "$CC"; then
2845 if test -n "$ac_tool_prefix"; then
2846 for ac_prog
in cl.exe
2848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if test "${ac_cv_prog_CC+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2855 if test -n "$CC"; then
2856 ac_cv_prog_CC
="$CC" # Let the user override the test.
2858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir
=.
2863 for ac_exec_ext
in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$CC"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2878 $as_echo "$CC" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2885 test -n "$CC" && break
2888 if test -z "$CC"; then
2890 for ac_prog
in cl.exe
2892 # Extract the first word of "$ac_prog", so it can be a program name with args.
2893 set dummy
$ac_prog; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$ac_ct_CC"; then
2900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_ac_ct_CC
="$ac_prog"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2920 if test -n "$ac_ct_CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2922 $as_echo "$ac_ct_CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2929 test -n "$ac_ct_CC" && break
2932 if test "x$ac_ct_CC" = x
; then
2935 case $cross_compiling:$ac_tool_warned in
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2939 ac_tool_warned
=yes ;;
2948 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2950 as_fn_error
"no acceptable C compiler found in \$PATH
2951 See \`config.log' for more details." "$LINENO" 5; }
2953 # Provide some information about the compiler.
2954 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2957 for ac_option
in --version -v -V -qversion; do
2958 { { ac_try
="$ac_compiler $ac_option >&5"
2960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2967 if test -s conftest.err; then
2969 ... rest of stderr output deleted ...
2970 10q' conftest.err >conftest.er1
2971 cat conftest.er1 >&5
2972 rm -f conftest.er1 conftest.err
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; }
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2989 ac_clean_files_save=$ac_clean_files
2990 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2991 # Try to create an executable without -o first, disregard a.out.
2992 # It will help us diagnose broken compilers, and finding out an intuition
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2995 $as_echo_n "checking for C compiler default output file name... " >&6; }
2996 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2998 # The possible output files:
2999 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3002 for ac_file in $ac_files
3005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3006 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3011 if { { ac_try="$ac_link_default"
3013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3014 *) ac_try_echo
=$ac_try;;
3016 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 $as_echo "$ac_try_echo"; } >&5
3018 (eval "$ac_link_default") 2>&5
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3021 test $ac_status = 0; }; then :
3022 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3023 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3024 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3025 # so that the user can short-circuit this test for compilers unknown to
3027 for ac_file
in $ac_files ''
3029 test -f "$ac_file" ||
continue
3031 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3034 # We found the default executable, but exeext='' is most
3038 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3040 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3042 # We set ac_cv_exeext here because the later test for it is not
3043 # safe: cross compilers may not add the suffix if given an `-o'
3044 # argument, so we may need to know it at that point already.
3045 # Even if this section looks crufty: it has the advantage of
3052 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3058 $as_echo "$ac_file" >&6; }
3059 if test -z "$ac_file"; then :
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.
$ac_ext >&5
3063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 { as_fn_set_status
77
3066 as_fn_error
"C compiler cannot create executables
3067 See \`config.log' for more details." "$LINENO" 5; }; }
3069 ac_exeext
=$ac_cv_exeext
3071 # Check that the compiler produces executables we can run. If not, either
3072 # the compiler is broken, or we cross compile.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3074 $as_echo_n "checking whether the C compiler works... " >&6; }
3075 # If not cross compiling, check that we can run a simple program.
3076 if test "$cross_compiling" != yes; then
3077 if { ac_try
='./$ac_file'
3078 { { case "(($ac_try" in
3079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_try") 2>&5
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }; }; then
3090 if test "$cross_compiling" = maybe; then
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 as_fn_error "cannot run C compiled programs.
3096 If you meant to cross compile
, use \
`--host'.
3097 See \`config.log
' for more details." "$LINENO" 5; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102 $as_echo "yes" >&6; }
3104 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3105 ac_clean_files=$ac_clean_files_save
3106 # Check that the compiler produces executables we can run. If not, either
3107 # the compiler is broken, or we cross compile.
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3109 $as_echo_n "checking whether we are cross compiling... " >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3111 $as_echo "$cross_compiling" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3114 $as_echo_n "checking for suffix of executables... " >&6; }
3115 if { { ac_try="$ac_link"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_link") 2>&5
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; }; then :
3126 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3127 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3128 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3130 for ac_file
in conftest.exe conftest conftest.
*; do
3131 test -f "$ac_file" ||
continue
3133 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3134 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3143 See \`config.log' for more details." "$LINENO" 5; }
3145 rm -f conftest
$ac_cv_exeext
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3147 $as_echo "$ac_cv_exeext" >&6; }
3149 rm -f conftest.
$ac_ext
3150 EXEEXT
=$ac_cv_exeext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3153 $as_echo_n "checking for suffix of object files... " >&6; }
3154 if test "${ac_cv_objext+set}" = set; then :
3155 $as_echo_n "(cached) " >&6
3157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 rm -f conftest.o conftest.obj
3169 if { { ac_try
="$ac_compile"
3171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_compile") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; then :
3180 for ac_file in conftest.o conftest.obj conftest.*; do
3181 test -f "$ac_file" || continue;
3183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3184 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3189 $as_echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error "cannot compute suffix of object files
: cannot compile
3195 See \
`config.log' for more details." "$LINENO" 5; }
3197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3200 $as_echo "$ac_cv_objext" >&6; }
3201 OBJEXT=$ac_cv_objext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3204 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3205 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3222 if ac_fn_c_try_compile "$LINENO"; then :
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3232 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3233 if test $ac_compiler_gnu = yes; then
3238 ac_test_CFLAGS=${CFLAGS+set}
3239 ac_save_CFLAGS=$CFLAGS
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3241 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3242 if test "${ac_cv_prog_cc_g+set}" = set; then :
3243 $as_echo_n "(cached) " >&6
3245 ac_save_c_werror_flag=$ac_c_werror_flag
3246 ac_c_werror_flag=yes
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3260 if ac_fn_c_try_compile "$LINENO"; then :
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 if ac_fn_c_try_compile "$LINENO"; then :
3278 ac_c_werror_flag=$ac_save_c_werror_flag
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_c_werror_flag=$ac_save_c_werror_flag
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3302 $as_echo "$ac_cv_prog_cc_g" >&6; }
3303 if test "$ac_test_CFLAGS" = set; then
3304 CFLAGS=$ac_save_CFLAGS
3305 elif test $ac_cv_prog_cc_g = yes; then
3306 if test "$GCC" = yes; then
3312 if test "$GCC" = yes; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3319 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3320 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3321 $as_echo_n "(cached) " >&6
3323 ac_cv_prog_cc_c89=no
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3329 #include <sys/types.h>
3330 #include <sys/stat.h>
3331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3332 struct buf { int x; };
3333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3334 static char *e (p, i)
3340 static char *f (char * (*g) (char **, int), char **p, ...)
3345 s = g (p, va_arg (v,int));
3350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3351 function prototypes and stuff, but not '\xHH' hex character constants.
3352 These don't provoke an error unfortunately, instead are silently treated
3353 as 'x'. The following induces an error, until -std is added to get
3354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3355 array size at least. It's necessary to write '\x00'==0 to get something
3356 that's true only with -std. */
3357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3360 inside strings and character constants. */
3362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3364 int test (int i, double x);
3365 struct s1 {int (*f) (int a);};
3366 struct s2 {int (*f) (double a);};
3367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3379 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3381 CC="$ac_save_CC $ac_arg"
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 ac_cv_prog_cc_c89=$ac_arg
3385 rm -f core conftest.err conftest.$ac_objext
3386 test "x$ac_cv_prog_cc_c89" != "xno" && break
3388 rm -f conftest.$ac_ext
3393 case "x$ac_cv_prog_cc_c89" in
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3396 $as_echo "none needed" >&6; } ;;
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3399 $as_echo "unsupported" >&6; } ;;
3401 CC="$CC $ac_cv_prog_cc_c89"
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3403 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3405 if test "x$ac_cv_prog_cc_c89" != xno; then :
3410 ac_cpp='$CPP $CPPFLAGS'
3411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3422 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3423 # On Suns, sometimes $CPP names a directory.
3424 if test -n "$CPP" && test -d "$CPP"; then
3427 if test -z "$CPP"; then
3428 if test "${ac_cv_prog_CPP+set}" = set; then :
3429 $as_echo_n "(cached) " >&6
3431 # Double quotes because CPP needs to be expanded
3432 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3435 for ac_c_preproc_warn_flag in '' yes
3437 # Use a header file that comes with gcc, so configuring glibc
3438 # with a fresh cross-compiler works.
3439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3440 # <limits.h> exists even on freestanding compilers.
3441 # On the NeXT, cc -E runs the code through the compiler's parser,
3442 # not just through cpp. "Syntax error" is here to catch this case.
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3446 # include <limits.h>
3448 # include <assert.h>
3452 if ac_fn_c_try_cpp "$LINENO"; then :
3455 # Broken: fails on valid input.
3458 rm -f conftest.err conftest.$ac_ext
3460 # OK, works on sane cases. Now check whether nonexistent headers
3461 # can be detected and how.
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3464 #include <ac_nonexistent.h>
3466 if ac_fn_c_try_cpp "$LINENO"; then :
3467 # Broken: success on invalid input.
3470 # Passes both tests.
3474 rm -f conftest.err conftest.$ac_ext
3477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3478 rm -f conftest.err conftest.
$ac_ext
3479 if $ac_preproc_ok; then :
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3492 $as_echo "$CPP" >&6; }
3494 for ac_c_preproc_warn_flag
in '' yes
3496 # Use a header file that comes with gcc, so configuring glibc
3497 # with a fresh cross-compiler works.
3498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3499 # <limits.h> exists even on freestanding compilers.
3500 # On the NeXT, cc -E runs the code through the compiler's parser,
3501 # not just through cpp. "Syntax error" is here to catch this case.
3502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3505 # include <limits.h>
3507 # include <assert.h>
3511 if ac_fn_c_try_cpp
"$LINENO"; then :
3514 # Broken: fails on valid input.
3517 rm -f conftest.err conftest.
$ac_ext
3519 # OK, works on sane cases. Now check whether nonexistent headers
3520 # can be detected and how.
3521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3525 if ac_fn_c_try_cpp
"$LINENO"; then :
3526 # Broken: success on invalid input.
3529 # Passes both tests.
3533 rm -f conftest.err conftest.
$ac_ext
3536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3537 rm -f conftest.err conftest.
$ac_ext
3538 if $ac_preproc_ok; then :
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3544 See \`config.log' for more details." "$LINENO" 5; }
3548 ac_cpp
='$CPP $CPPFLAGS'
3549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3556 if test "${ac_cv_path_GREP+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -z "$GREP"; then
3560 ac_path_GREP_found
=false
3561 # Loop through the user's path and test for each of PROGNAME-LIST
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3563 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_prog
in grep ggrep
; do
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3570 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3571 # Check for GNU ac_path_GREP and select it if it is found.
3572 # Check for GNU $ac_path_GREP
3573 case `"$ac_path_GREP" --version 2>&1` in
3575 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3578 $as_echo_n 0123456789 >"conftest.in"
3581 cat "conftest.in" "conftest.in" >"conftest.tmp"
3582 mv "conftest.tmp" "conftest.in"
3583 cp "conftest.in" "conftest.nl"
3584 $as_echo 'GREP' >> "conftest.nl"
3585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3586 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3587 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3589 # Best one so far, save it but keep looking for a better one
3590 ac_cv_path_GREP
="$ac_path_GREP"
3591 ac_path_GREP_max
=$ac_count
3593 # 10*(2^10) chars as input seems more than enough
3594 test $ac_count -gt 10 && break
3596 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3599 $ac_path_GREP_found && break 3
3604 if test -z "$ac_cv_path_GREP"; then
3605 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3608 ac_cv_path_GREP
=$GREP
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3613 $as_echo "$ac_cv_path_GREP" >&6; }
3614 GREP
="$ac_cv_path_GREP"
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3618 $as_echo_n "checking for egrep... " >&6; }
3619 if test "${ac_cv_path_EGREP+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3622 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3623 then ac_cv_path_EGREP
="$GREP -E"
3625 if test -z "$EGREP"; then
3626 ac_path_EGREP_found
=false
3627 # Loop through the user's path and test for each of PROGNAME-LIST
3628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3632 test -z "$as_dir" && as_dir
=.
3633 for ac_prog
in egrep; do
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3636 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3637 # Check for GNU ac_path_EGREP and select it if it is found.
3638 # Check for GNU $ac_path_EGREP
3639 case `"$ac_path_EGREP" --version 2>&1` in
3641 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3644 $as_echo_n 0123456789 >"conftest.in"
3647 cat "conftest.in" "conftest.in" >"conftest.tmp"
3648 mv "conftest.tmp" "conftest.in"
3649 cp "conftest.in" "conftest.nl"
3650 $as_echo 'EGREP' >> "conftest.nl"
3651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3652 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3653 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3655 # Best one so far, save it but keep looking for a better one
3656 ac_cv_path_EGREP
="$ac_path_EGREP"
3657 ac_path_EGREP_max
=$ac_count
3659 # 10*(2^10) chars as input seems more than enough
3660 test $ac_count -gt 10 && break
3662 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3665 $ac_path_EGREP_found && break 3
3670 if test -z "$ac_cv_path_EGREP"; then
3671 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3674 ac_cv_path_EGREP
=$EGREP
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3680 $as_echo "$ac_cv_path_EGREP" >&6; }
3681 EGREP
="$ac_cv_path_EGREP"
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3685 $as_echo_n "checking for ANSI C header files... " >&6; }
3686 if test "${ac_cv_header_stdc+set}" = set; then :
3687 $as_echo_n "(cached) " >&6
3689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3704 if ac_fn_c_try_compile
"$LINENO"; then :
3705 ac_cv_header_stdc
=yes
3707 ac_cv_header_stdc
=no
3709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3711 if test $ac_cv_header_stdc = yes; then
3712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3719 $EGREP "memchr" >/dev
/null
2>&1; then :
3722 ac_cv_header_stdc
=no
3728 if test $ac_cv_header_stdc = yes; then
3729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3736 $EGREP "free" >/dev
/null
2>&1; then :
3739 ac_cv_header_stdc
=no
3745 if test $ac_cv_header_stdc = yes; then
3746 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3747 if test "$cross_compiling" = yes; then :
3750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3754 #if ((' ' & 0x0FF) == 0x020)
3755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3758 # define ISLOWER(c) \
3759 (('a' <= (c) && (c) <= 'i') \
3760 || ('j' <= (c) && (c) <= 'r') \
3761 || ('s' <= (c) && (c) <= 'z'))
3762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3770 for (i = 0; i < 256; i++)
3771 if (XOR (islower (i), ISLOWER (i))
3772 || toupper (i) != TOUPPER (i))
3777 if ac_fn_c_try_run
"$LINENO"; then :
3780 ac_cv_header_stdc
=no
3782 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3783 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3789 $as_echo "$ac_cv_header_stdc" >&6; }
3790 if test $ac_cv_header_stdc = yes; then
3792 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3796 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3797 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3798 inttypes.h stdint.h unistd.h
3800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3801 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3803 eval as_val
=\$
$as_ac_Header
3804 if test "x$as_val" = x
""yes; then :
3805 cat >>confdefs.h
<<_ACEOF
3806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3815 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3816 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3823 if test "$MINIX" = yes; then
3825 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3828 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3831 $as_echo "#define _MINIX 1" >>confdefs.h
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3837 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3838 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3844 # define __EXTENSIONS__ 1
3845 $ac_includes_default
3854 if ac_fn_c_try_compile
"$LINENO"; then :
3855 ac_cv_safe_to_define___extensions__
=yes
3857 ac_cv_safe_to_define___extensions__
=no
3859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3862 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3863 test $ac_cv_safe_to_define___extensions__ = yes &&
3864 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3866 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3868 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3870 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3872 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3876 libtool_VERSION
=1:0:0
3879 # 1.11.1: Require that version of automake.
3880 # foreign: Don't require README, INSTALL, NEWS, etc.
3881 # no-define: Don't define PACKAGE and VERSION.
3882 # no-dependencies: Don't generate automatic dependencies.
3883 # (because it breaks when using bootstrap-lean, since some of the
3884 # headers are gone at "make install" time).
3885 # -Wall: Issue all automake warnings.
3886 # -Wno-portability: Don't warn about constructs supported by GNU make.
3887 # (because GCC requires GNU make anyhow).
3888 am__api_version
='1.11'
3890 # Find a good install program. We prefer a C program (faster),
3891 # so one script is as good as another. But avoid the broken or
3892 # incompatible versions:
3893 # SysV /etc/install, /usr/sbin/install
3894 # SunOS /usr/etc/install
3895 # IRIX /sbin/install
3897 # AmigaOS /C/install, which installs bootblocks on floppy discs
3898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3901 # OS/2's system install, which has a completely different semantic
3902 # ./install, which can be erroneously created by make from ./install.sh.
3903 # Reject install programs that cannot install multiple files.
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3905 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3906 if test -z "$INSTALL"; then
3907 if test "${ac_cv_path_install+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 # Account for people who put trailing slashes in PATH elements.
3916 case $as_dir/ in #((
3917 .
/ | .
// |
/[cC
]/* | \
3918 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3919 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3922 # OSF1 and SCO ODT 3.0 have their own names for install.
3923 # Don't use installbsd from OSF since it installs stuff as root
3925 for ac_prog
in ginstall scoinst
install; do
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3928 if test $ac_prog = install &&
3929 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3930 # AIX install. It has an incompatible calling convention.
3932 elif test $ac_prog = install &&
3933 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3934 # program-specific install script used by HP pwplus--don't use.
3937 rm -rf conftest.one conftest.two conftest.dir
3938 echo one
> conftest.one
3939 echo two
> conftest.two
3941 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3942 test -s conftest.one
&& test -s conftest.two
&&
3943 test -s conftest.dir
/conftest.one
&&
3944 test -s conftest.dir
/conftest.two
3946 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3959 rm -rf conftest.one conftest.two conftest.dir
3962 if test "${ac_cv_path_install+set}" = set; then
3963 INSTALL
=$ac_cv_path_install
3965 # As a last resort, use the slow shell script. Don't cache a
3966 # value for INSTALL within a source directory, because that will
3967 # break other packages using the cache if that directory is
3968 # removed, or if the value is a relative name.
3969 INSTALL
=$ac_install_sh
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3973 $as_echo "$INSTALL" >&6; }
3975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3976 # It thinks the first close brace ends the variable substitution.
3977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3981 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3984 $as_echo_n "checking whether build environment is sane... " >&6; }
3987 echo timestamp
> conftest.
file
3988 # Reject unsafe characters in $srcdir or the absolute working directory
3989 # name. Accept space and tab only in the latter.
3993 *[\\\"\
#\$\&\'\`$am_lf]*)
3994 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3997 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3998 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4001 # Do `set' in a subshell so we don't clobber the current shell's
4002 # arguments. Must try -L first in case configure is actually a
4003 # symlink; some systems play weird games with the mod time of symlinks
4004 # (eg FreeBSD returns the mod time of the symlink's containing
4007 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4008 if test "$*" = "X"; then
4010 set X
`ls -t "$srcdir/configure" conftest.file`
4013 if test "$*" != "X $srcdir/configure conftest.file" \
4014 && test "$*" != "X conftest.file $srcdir/configure"; then
4016 # If neither matched, then we have a broken ls. This can happen
4017 # if, for instance, CONFIG_SHELL is bash and it inherits a
4018 # broken ls alias from the environment. This has actually
4019 # happened. Such a system could not be considered "sane".
4020 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4021 alias in your environment" "$LINENO" 5
4024 test "$2" = conftest.
file
4030 as_fn_error
"newly created file is older than distributed files!
4031 Check your system clock" "$LINENO" 5
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4034 $as_echo "yes" >&6; }
4035 test "$program_prefix" != NONE
&&
4036 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4037 # Use a double $ so make ignores it.
4038 test "$program_suffix" != NONE
&&
4039 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4040 # Double any \ or $.
4041 # By default was `s,x,x', remove it if useless.
4042 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4043 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4045 # expand $ac_aux_dir to an absolute path
4046 am_aux_dir
=`cd $ac_aux_dir && pwd`
4048 if test x
"${MISSING+set}" != xset
; then
4051 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4053 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4056 # Use eval to expand $SHELL
4057 if eval "$MISSING --run true"; then
4058 am_missing_run
="$MISSING --run "
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4062 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4065 if test x
"${install_sh}" != xset
; then
4068 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4070 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4074 # Installed binaries are usually stripped using `strip' when the user
4075 # run `make install-strip'. However `strip' might not be the right
4076 # tool to use in cross-compilation environments, therefore Automake
4077 # will honor the `STRIP' environment variable to overrule this program.
4078 if test "$cross_compiling" != no
; then
4079 if test -n "$ac_tool_prefix"; then
4080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4081 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if test "${ac_cv_prog_STRIP+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -n "$STRIP"; then
4088 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4097 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 STRIP
=$ac_cv_prog_STRIP
4108 if test -n "$STRIP"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4110 $as_echo "$STRIP" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4118 if test -z "$ac_cv_prog_STRIP"; then
4120 # Extract the first word of "strip", so it can be a program name with args.
4121 set dummy strip
; ac_word
=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -n "$ac_ct_STRIP"; then
4128 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir
=.
4135 for ac_exec_ext
in '' $ac_executable_extensions; do
4136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4137 ac_cv_prog_ac_ct_STRIP
="strip"
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4148 if test -n "$ac_ct_STRIP"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4150 $as_echo "$ac_ct_STRIP" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4156 if test "x$ac_ct_STRIP" = x
; then
4159 case $cross_compiling:$ac_tool_warned in
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4163 ac_tool_warned
=yes ;;
4168 STRIP
="$ac_cv_prog_STRIP"
4172 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4175 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4176 if test -z "$MKDIR_P"; then
4177 if test "${ac_cv_path_mkdir+set}" = set; then :
4178 $as_echo_n "(cached) " >&6
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_prog
in mkdir gmkdir
; do
4186 for ac_exec_ext
in '' $ac_executable_extensions; do
4187 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4188 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4189 'mkdir (GNU coreutils) '* | \
4190 'mkdir (coreutils) '* | \
4191 'mkdir (fileutils) '4.1*)
4192 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4202 if test "${ac_cv_path_mkdir+set}" = set; then
4203 MKDIR_P
="$ac_cv_path_mkdir -p"
4205 # As a last resort, use the slow shell script. Don't cache a
4206 # value for MKDIR_P within a source directory, because that will
4207 # break other packages using the cache if that directory is
4208 # removed, or if the value is a relative name.
4209 test -d .
/--version && rmdir .
/--version
4210 MKDIR_P
="$ac_install_sh -d"
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4214 $as_echo "$MKDIR_P" >&6; }
4218 [\\/$
]* | ?
:[\\/]*) ;;
4219 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4222 for ac_prog
in gawk mawk nawk
awk
4224 # Extract the first word of "$ac_prog", so it can be a program name with args.
4225 set dummy
$ac_prog; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if test "${ac_cv_prog_AWK+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$AWK"; then
4232 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241 ac_cv_prog_AWK
="$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 if test -n "$AWK"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4254 $as_echo "$AWK" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$AWK" && break
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4265 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4267 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4268 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4269 $as_echo_n "(cached) " >&6
4271 cat >conftest.
make <<\_ACEOF
4274 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4277 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4279 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4281 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4285 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4287 $as_echo "yes" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4292 SET_MAKE
="MAKE=${MAKE-make}"
4295 rm -rf .tst
2>/dev
/null
4296 mkdir .tst
2>/dev
/null
4297 if test -d .tst
; then
4302 rmdir .tst
2>/dev
/null
4304 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4305 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4306 # is not polluted with repeated "-I."
4307 am__isrc
=' -I$(srcdir)'
4308 # test to see if srcdir already configured
4309 if test -f $srcdir/config.status
; then
4310 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4314 # test whether we have cygpath
4315 if test -z "$CYGPATH_W"; then
4316 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4317 CYGPATH_W
='cygpath -w'
4324 # Define the identity of the package.
4325 PACKAGE
='libbacktrace'
4326 VERSION
='version-unused'
4329 # Some tools Automake needs.
4331 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4334 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4337 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4340 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4343 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4345 # We need awk for the "check" target. The system "awk" is bad on
4347 # Always define AMTAR for backward compatibility. Yes, it's still used
4348 # in the wild :-( We should find a proper way to deprecate it ...
4351 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4360 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4361 # Check whether --enable-maintainer-mode was given.
4362 if test "${enable_maintainer_mode+set}" = set; then :
4363 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4365 USE_MAINTAINER_MODE
=no
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4369 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4370 if test $USE_MAINTAINER_MODE = yes; then
4371 MAINTAINER_MODE_TRUE
=
4372 MAINTAINER_MODE_FALSE
='#'
4374 MAINTAINER_MODE_TRUE
='#'
4375 MAINTAINER_MODE_FALSE
=
4378 MAINT
=$MAINTAINER_MODE_TRUE
4383 # Check whether --with-target-subdir was given.
4384 if test "${with_target_subdir+set}" = set; then :
4385 withval
=$with_target_subdir;
4389 # We must force CC to /not/ be precious variables; otherwise
4390 # the wrong, non-multilib-adjusted value will be used in multilibs.
4391 # As a side effect, we have to subst CFLAGS ourselves.
4395 ac_cpp
='$CPP $CPPFLAGS'
4396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4399 if test -n "$ac_tool_prefix"; then
4400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4401 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if test "${ac_cv_prog_CC+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4407 if test -n "$CC"; then
4408 ac_cv_prog_CC
="$CC" # Let the user override the test.
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir
=.
4415 for ac_exec_ext
in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 if test -n "$CC"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4430 $as_echo "$CC" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4438 if test -z "$ac_cv_prog_CC"; then
4440 # Extract the first word of "gcc", so it can be a program name with args.
4441 set dummy gcc
; ac_word
=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 if test -n "$ac_ct_CC"; then
4448 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4457 ac_cv_prog_ac_ct_CC
="gcc"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4468 if test -n "$ac_ct_CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4470 $as_echo "$ac_ct_CC" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4476 if test "x$ac_ct_CC" = x
; then
4479 case $cross_compiling:$ac_tool_warned in
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned
=yes ;;
4491 if test -z "$CC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4494 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if test "${ac_cv_prog_CC+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$CC"; then
4501 ac_cv_prog_CC
="$CC" # Let the user override the test.
4503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir
=.
4508 for ac_exec_ext
in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 if test -n "$CC"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4523 $as_echo "$CC" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4532 if test -z "$CC"; then
4533 # Extract the first word of "cc", so it can be a program name with args.
4534 set dummy cc
; ac_word
=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if test "${ac_cv_prog_CC+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC
="$CC" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4552 ac_prog_rejected
=yes
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test $ac_prog_rejected = yes; then
4564 # We found a bogon in the path, so make sure we never use it.
4565 set dummy
$ac_cv_prog_CC
4567 if test $# != 0; then
4568 # We chose a different compiler from the bogus one.
4569 # However, it has the same basename, so the bogon will be chosen
4570 # first if we set CC to just the basename; use the full file name.
4572 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4578 if test -n "$CC"; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4580 $as_echo "$CC" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4588 if test -z "$CC"; then
4589 if test -n "$ac_tool_prefix"; then
4590 for ac_prog
in cl.exe
4592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if test "${ac_cv_prog_CC+set}" = set; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -n "$CC"; then
4600 ac_cv_prog_CC
="$CC" # Let the user override the test.
4602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir
=.
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4609 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 if test -n "$CC"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4622 $as_echo "$CC" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4629 test -n "$CC" && break
4632 if test -z "$CC"; then
4634 for ac_prog
in cl.exe
4636 # Extract the first word of "$ac_prog", so it can be a program name with args.
4637 set dummy
$ac_prog; ac_word
=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 if test -n "$ac_ct_CC"; then
4644 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4653 ac_cv_prog_ac_ct_CC
="$ac_prog"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4664 if test -n "$ac_ct_CC"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4666 $as_echo "$ac_ct_CC" >&6; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4673 test -n "$ac_ct_CC" && break
4676 if test "x$ac_ct_CC" = x
; then
4679 case $cross_compiling:$ac_tool_warned in
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned
=yes ;;
4692 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error
"no acceptable C compiler found in \$PATH
4695 See \`config.log' for more details." "$LINENO" 5; }
4697 # Provide some information about the compiler.
4698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4701 for ac_option
in --version -v -V -qversion; do
4702 { { ac_try
="$ac_compiler $ac_option >&5"
4704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 $as_echo "$ac_try_echo"; } >&5
4709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4711 if test -s conftest.err; then
4713 ... rest of stderr output deleted ...
4714 10q' conftest.err >conftest.er1
4715 cat conftest.er1 >&5
4716 rm -f conftest.er1 conftest.err
4718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4719 test $ac_status = 0; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4724 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4725 $as_echo_n "(cached) " >&6
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4741 if ac_fn_c_try_compile "$LINENO"; then :
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4752 if test $ac_compiler_gnu = yes; then
4757 ac_test_CFLAGS=${CFLAGS+set}
4758 ac_save_CFLAGS=$CFLAGS
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4761 if test "${ac_cv_prog_cc_g+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 ac_save_c_werror_flag=$ac_c_werror_flag
4765 ac_c_werror_flag=yes
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4779 if ac_fn_c_try_compile "$LINENO"; then :
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 if ac_fn_c_try_compile "$LINENO"; then :
4797 ac_c_werror_flag=$ac_save_c_werror_flag
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4810 if ac_fn_c_try_compile "$LINENO"; then :
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 ac_c_werror_flag=$ac_save_c_werror_flag
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4821 $as_echo "$ac_cv_prog_cc_g" >&6; }
4822 if test "$ac_test_CFLAGS" = set; then
4823 CFLAGS=$ac_save_CFLAGS
4824 elif test $ac_cv_prog_cc_g = yes; then
4825 if test "$GCC" = yes; then
4831 if test "$GCC" = yes; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4839 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4840 $as_echo_n "(cached) " >&6
4842 ac_cv_prog_cc_c89=no
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4848 #include <sys/types.h>
4849 #include <sys/stat.h>
4850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4851 struct buf { int x; };
4852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4853 static char *e (p, i)
4859 static char *f (char * (*g) (char **, int), char **p, ...)
4864 s = g (p, va_arg (v,int));
4869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4870 function prototypes and stuff, but not '\xHH' hex character constants.
4871 These don't provoke an error unfortunately, instead are silently treated
4872 as 'x'. The following induces an error, until -std is added to get
4873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4874 array size at least. It's necessary to write '\x00'==0 to get something
4875 that's true only with -std. */
4876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4879 inside strings and character constants. */
4881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4883 int test (int i, double x);
4884 struct s1 {int (*f) (int a);};
4885 struct s2 {int (*f) (double a);};
4886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4900 CC="$ac_save_CC $ac_arg"
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_prog_cc_c89=$ac_arg
4904 rm -f core conftest.err conftest.$ac_objext
4905 test "x$ac_cv_prog_cc_c89" != "xno" && break
4907 rm -f conftest.$ac_ext
4912 case "x$ac_cv_prog_cc_c89" in
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4915 $as_echo "none needed" >&6; } ;;
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4918 $as_echo "unsupported" >&6; } ;;
4920 CC="$CC $ac_cv_prog_cc_c89"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4924 if test "x$ac_cv_prog_cc_c89" != xno; then :
4929 ac_cpp='$CPP $CPPFLAGS'
4930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 if test -n "$ac_tool_prefix"; then
4939 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$RANLIB"; then
4947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir=.
4954 for ac_exec_ext in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 RANLIB=$ac_cv_prog_RANLIB
4967 if test -n "$RANLIB"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4969 $as_echo "$RANLIB" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4977 if test -z "$ac_cv_prog_RANLIB"; then
4978 ac_ct_RANLIB=$RANLIB
4979 # Extract the first word of "ranlib", so it can be a program name with args.
4980 set dummy ranlib; ac_word=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$ac_ct_RANLIB"; then
4987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4996 ac_cv_prog_ac_ct_RANLIB="ranlib"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5007 if test -n "$ac_ct_RANLIB"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5009 $as_echo "$ac_ct_RANLIB" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5015 if test "x$ac_ct_RANLIB" = x; then
5018 case $cross_compiling:$ac_tool_warned in
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5022 ac_tool_warned=yes ;;
5024 RANLIB=$ac_ct_RANLIB
5027 RANLIB="$ac_cv_prog_RANLIB"
5031 for ac_prog in gawk mawk nawk awk
5033 # Extract the first word of "$ac_prog", so it can be a program name with args.
5034 set dummy $ac_prog; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if test "${ac_cv_prog_AWK+set}" = set; then :
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$AWK"; then
5041 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5050 ac_cv_prog_AWK="$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 if test -n "$AWK"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5063 $as_echo "$AWK" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$AWK" && break
5074 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5080 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5085 macro_version='2.2.7a'
5086 macro_revision='1.3134'
5100 ltmain="$ac_aux_dir/ltmain.sh"
5102 # Backslashify metacharacters that are still active within
5103 # double-quoted strings.
5104 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5106 # Same as above, but do not quote variable references.
5107 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5109 # Sed substitution to delay expansion of an escaped shell variable in a
5110 # double_quote_subst'ed string.
5111 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5113 # Sed substitution to delay expansion of an escaped single quote.
5114 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5116 # Sed substitution to avoid accidental globbing in evaled expressions
5117 no_glob_subst='s/\*/\\\*/g'
5119 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5120 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5121 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5124 $as_echo_n "checking how to print
strings...
" >&6; }
5125 # Test print first, because it will be a builtin if present.
5126 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5127 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5129 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5132 # Use this function as a fallback that always works.
5133 func_fallback_echo ()
5135 eval 'cat <<_LTECHO_EOF
5139 ECHO='func_fallback_echo'
5142 # func_echo_all arg...
5143 # Invoke $ECHO with all args, space-separated.
5150 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5151 $as_echo "printf" >&6; } ;;
5152 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5153 $as_echo "print
-r" >&6; } ;;
5154 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5155 $as_echo "cat" >&6; } ;;
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5172 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5173 if test "${ac_cv_path_SED+set}" = set; then :
5174 $as_echo_n "(cached
) " >&6
5176 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5177 for ac_i in 1 2 3 4 5 6 7; do
5178 ac_script="$ac_script$as_nl$ac_script"
5180 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5181 { ac_script=; unset ac_script;}
5182 if test -z "$SED"; then
5183 ac_path_SED_found=false
5184 # Loop through the user's path and test for each of PROGNAME-LIST
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir=.
5190 for ac_prog in sed gsed; do
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5193 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5194 # Check for GNU ac_path_SED and select it if it is found.
5195 # Check for GNU $ac_path_SED
5196 case `"$ac_path_SED" --version 2>&1` in
5198 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5201 $as_echo_n 0123456789 >"conftest.
in"
5204 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5205 mv "conftest.tmp
" "conftest.
in"
5206 cp "conftest.
in" "conftest.
nl"
5207 $as_echo '' >> "conftest.
nl"
5208 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5209 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5210 as_fn_arith $ac_count + 1 && ac_count=$as_val
5211 if test $ac_count -gt ${ac_path_SED_max-0}; then
5212 # Best one so far, save it but keep looking for a better one
5213 ac_cv_path_SED="$ac_path_SED"
5214 ac_path_SED_max=$ac_count
5216 # 10*(2^10) chars as input seems more than enough
5217 test $ac_count -gt 10 && break
5219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5222 $ac_path_SED_found && break 3
5227 if test -z "$ac_cv_path_SED"; then
5228 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5236 $as_echo "$ac_cv_path_SED" >&6; }
5237 SED="$ac_cv_path_SED"
5240 test -z "$SED" && SED=sed
5241 Xsed="$SED -e 1s
/^X
//"
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5254 $as_echo_n "checking
for fgrep...
" >&6; }
5255 if test "${ac_cv_path_FGREP+set}" = set; then :
5256 $as_echo_n "(cached
) " >&6
5258 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5259 then ac_cv_path_FGREP="$GREP -F"
5261 if test -z "$FGREP"; then
5262 ac_path_FGREP_found=false
5263 # Loop through the user's path and test for each of PROGNAME-LIST
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5268 test -z "$as_dir" && as_dir=.
5269 for ac_prog in fgrep; do
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5272 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5273 # Check for GNU ac_path_FGREP and select it if it is found.
5274 # Check for GNU $ac_path_FGREP
5275 case `"$ac_path_FGREP" --version 2>&1` in
5277 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5280 $as_echo_n 0123456789 >"conftest.
in"
5283 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5284 mv "conftest.tmp
" "conftest.
in"
5285 cp "conftest.
in" "conftest.
nl"
5286 $as_echo 'FGREP' >> "conftest.
nl"
5287 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5288 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5289 as_fn_arith $ac_count + 1 && ac_count=$as_val
5290 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5291 # Best one so far, save it but keep looking for a better one
5292 ac_cv_path_FGREP="$ac_path_FGREP"
5293 ac_path_FGREP_max=$ac_count
5295 # 10*(2^10) chars as input seems more than enough
5296 test $ac_count -gt 10 && break
5298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5301 $ac_path_FGREP_found && break 3
5306 if test -z "$ac_cv_path_FGREP"; then
5307 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5310 ac_cv_path_FGREP=$FGREP
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5316 $as_echo "$ac_cv_path_FGREP" >&6; }
5317 FGREP="$ac_cv_path_FGREP"
5320 test -z "$GREP" && GREP=grep
5340 # Check whether --with-gnu-ld was given.
5341 if test "${with_gnu_ld+set}" = set; then :
5342 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5348 if test "$GCC" = yes; then
5349 # Check if gcc -print-prog-name=ld gives a path.
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5351 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5354 # gcc leaves a trailing carriage return which upsets mingw
5355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5360 # Accept absolute paths.
5362 re_direlt='/[^/][^/]*/\.\./'
5363 # Canonicalize the pathname of ld
5364 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5365 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5366 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5368 test -z "$LD" && LD="$ac_prog"
5371 # If it fails, then pretend we aren't using GCC.
5375 # If it is relative, then search for the first ld in PATH.
5379 elif test "$with_gnu_ld" = yes; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5381 $as_echo_n "checking
for GNU ld...
" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5384 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5386 if test "${lt_cv_path_LD+set}" = set; then :
5387 $as_echo_n "(cached
) " >&6
5389 if test -z "$LD"; then
5390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5391 for ac_dir in $PATH; do
5393 test -z "$ac_dir" && ac_dir=.
5394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5395 lt_cv_path_LD="$ac_dir/$ac_prog"
5396 # Check to see if the program is GNU ld. I'd rather use --version,
5397 # but apparently some variants of GNU ld only accept -v.
5398 # Break only if it was the GNU/non-GNU ld that we prefer.
5399 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5400 *GNU* | *'with BFD'*)
5401 test "$with_gnu_ld" != no && break
5404 test "$with_gnu_ld" != yes && break
5411 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5416 if test -n "$LD"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5418 $as_echo "$LD" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5421 $as_echo "no
" >&6; }
5423 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5425 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5426 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5427 $as_echo_n "(cached
) " >&6
5429 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5430 case `$LD -v 2>&1 </dev/null` in
5431 *GNU* | *'with BFD'*)
5432 lt_cv_prog_gnu_ld=yes
5435 lt_cv_prog_gnu_ld=no
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5441 with_gnu_ld=$lt_cv_prog_gnu_ld
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5452 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5453 if test "${lt_cv_path_NM+set}" = set; then :
5454 $as_echo_n "(cached
) " >&6
5456 if test -n "$NM"; then
5457 # Let the user override the test.
5460 lt_nm_to_check="${ac_tool_prefix}nm
"
5461 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5462 lt_nm_to_check="$lt_nm_to_check nm
"
5464 for lt_tmp_nm in $lt_nm_to_check; do
5465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5466 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5468 test -z "$ac_dir" && ac_dir=.
5469 tmp_nm="$ac_dir/$lt_tmp_nm"
5470 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5471 # Check to see if the nm accepts a BSD-compat flag.
5472 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5473 # nm: unknown option "B
" ignored
5474 # Tru64's nm complains that /dev/null is an invalid object file
5475 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5476 */dev/null* | *'Invalid file or object type'*)
5477 lt_cv_path_NM="$tmp_nm -B"
5481 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5483 lt_cv_path_NM="$tmp_nm -p"
5487 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5488 continue # so that we can try to find one that supports BSD flags
5497 : ${lt_cv_path_NM=no}
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5501 $as_echo "$lt_cv_path_NM" >&6; }
5502 if test "$lt_cv_path_NM" != "no
"; then
5505 # Didn't find any BSD compatible name lister, look for dumpbin.
5506 if test -n "$DUMPBIN"; then :
5507 # Let the user override the test.
5509 if test -n "$ac_tool_prefix"; then
5510 for ac_prog in dumpbin "link
-dump"
5512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5515 $as_echo_n "checking
for $ac_word...
" >&6; }
5516 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5517 $as_echo_n "(cached
) " >&6
5519 if test -n "$DUMPBIN"; then
5520 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5539 DUMPBIN=$ac_cv_prog_DUMPBIN
5540 if test -n "$DUMPBIN"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5542 $as_echo "$DUMPBIN" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5545 $as_echo "no
" >&6; }
5549 test -n "$DUMPBIN" && break
5552 if test -z "$DUMPBIN"; then
5553 ac_ct_DUMPBIN=$DUMPBIN
5554 for ac_prog in dumpbin "link
-dump"
5556 # Extract the first word of "$ac_prog", so it can be a program name with args.
5557 set dummy $ac_prog; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5559 $as_echo_n "checking
for $ac_word...
" >&6; }
5560 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5561 $as_echo_n "(cached
) " >&6
5563 if test -n "$ac_ct_DUMPBIN"; then
5564 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5573 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5584 if test -n "$ac_ct_DUMPBIN"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5586 $as_echo "$ac_ct_DUMPBIN" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5589 $as_echo "no
" >&6; }
5593 test -n "$ac_ct_DUMPBIN" && break
5596 if test "x
$ac_ct_DUMPBIN" = x; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5603 ac_tool_warned=yes ;;
5605 DUMPBIN=$ac_ct_DUMPBIN
5609 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5611 DUMPBIN="$DUMPBIN -symbols"
5619 if test "$DUMPBIN" != ":"; then
5623 test -z "$NM" && NM=nm
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5631 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5632 if test "${lt_cv_nm_interface+set}" = set; then :
5633 $as_echo_n "(cached
) " >&6
5635 lt_cv_nm_interface="BSD nm
"
5636 echo "int some_variable
= 0;" > conftest.$ac_ext
5637 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5638 (eval "$ac_compile" 2>conftest.err)
5639 cat conftest.err >&5
5640 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5641 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5642 cat conftest.err >&5
5643 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5644 cat conftest.out >&5
5645 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5646 lt_cv_nm_interface="MS dumpbin
"
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5651 $as_echo "$lt_cv_nm_interface" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5654 $as_echo_n "checking whether
ln -s works...
" >&6; }
5656 if test "$LN_S" = "ln -s"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5658 $as_echo "yes" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5661 $as_echo "no
, using
$LN_S" >&6; }
5664 # find the maximum length of command line arguments
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5666 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5667 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5668 $as_echo_n "(cached
) " >&6
5675 # On DJGPP, this test can blow up pretty badly due to problems in libc
5676 # (any single argument exceeding 2000 bytes causes a buffer overrun
5677 # during glob expansion). Even if it were fixed, the result of this
5678 # check would be larger than it should be.
5679 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5683 # Under GNU Hurd, this test is not required because there is
5684 # no limit to the length of command line arguments.
5685 # Libtool will interpret -1 as no limit whatsoever
5686 lt_cv_sys_max_cmd_len=-1;
5689 cygwin* | mingw* | cegcc*)
5690 # On Win9x/ME, this test blows up -- it succeeds, but takes
5691 # about 5 minutes as the teststring grows exponentially.
5692 # Worse, since 9x/ME are not pre-emptively multitasking,
5693 # you end up with a "frozen
" computer, even though with patience
5694 # the test eventually succeeds (with a max line length of 256k).
5695 # Instead, let's just punt: use the minimum linelength reported by
5696 # all of the supported platforms: 8192 (on NT/2K/XP).
5697 lt_cv_sys_max_cmd_len=8192;
5701 # On MiNT this can take a long time and run out of memory.
5702 lt_cv_sys_max_cmd_len=8192;
5706 # On AmigaOS with pdksh, this test takes hours, literally.
5707 # So we just punt and use a minimum line length of 8192.
5708 lt_cv_sys_max_cmd_len=8192;
5711 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5712 # This has been around since 386BSD, at least. Likely further.
5713 if test -x /sbin/sysctl; then
5714 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5715 elif test -x /usr/sbin/sysctl; then
5716 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5718 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5720 # And add a safety zone
5721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5722 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5726 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5727 lt_cv_sys_max_cmd_len=196608
5731 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5732 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5733 # nice to cause kernel panics so lets avoid the loop below.
5734 # First set a reasonable default.
5735 lt_cv_sys_max_cmd_len=16384
5737 if test -x /sbin/sysconfig; then
5738 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5739 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5744 lt_cv_sys_max_cmd_len=102400
5746 sysv5* | sco5v6* | sysv4.2uw2*)
5747 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5748 if test -n "$kargmax"; then
5749 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5751 lt_cv_sys_max_cmd_len=32768
5755 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5756 if test -n "$lt_cv_sys_max_cmd_len"; then
5757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5760 # Make teststring a little bigger before we do anything with it.
5761 # a 1K string should be a reasonable start.
5762 for i in 1 2 3 4 5 6 7 8 ; do
5763 teststring=$teststring$teststring
5765 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5766 # If test is not a shell built-in, we'll probably end up computing a
5767 # maximum length that is only half of the actual maximum length, but
5769 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5770 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5771 test $i != 17 # 1/2 MB should be enough
5774 teststring=$teststring$teststring
5776 # Only check the string length outside the loop.
5777 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5779 # Add a significant safety factor because C++ compilers can tack on
5780 # massive amounts of additional arguments before passing them to the
5781 # linker. It appears as though 1/2 is a usable value.
5782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5789 if test -n $lt_cv_sys_max_cmd_len ; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5791 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5794 $as_echo "none
" >&6; }
5796 max_cmd_len=$lt_cv_sys_max_cmd_len
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5808 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5809 # Try some XSI features
5812 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5814 && eval 'test $(( 1 + 1 )) -eq 2 \
5815 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5818 $as_echo "$xsi_shell" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5822 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5824 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5826 && lt_shell_append
=yes
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5828 $as_echo "$lt_shell_append" >&6; }
5831 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5841 # test EBCDIC or ASCII
5842 case `echo X|tr X '\101'` in
5843 A
) # ASCII based system
5844 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5845 lt_SP2NL
='tr \040 \012'
5846 lt_NL2SP
='tr \015\012 \040\040'
5848 *) # EBCDIC based system
5849 lt_SP2NL
='tr \100 \n'
5850 lt_NL2SP
='tr \r\n \100\100'
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5863 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5864 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 lt_cv_ld_reload_flag
='-r'
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5870 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5871 reload_flag
=$lt_cv_ld_reload_flag
5872 case $reload_flag in
5874 *) reload_flag
=" $reload_flag" ;;
5876 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5879 if test "$GCC" = yes; then
5880 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5882 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5895 if test -n "$ac_tool_prefix"; then
5896 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5897 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$OBJDUMP"; then
5904 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir
=.
5911 for ac_exec_ext
in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 OBJDUMP
=$ac_cv_prog_OBJDUMP
5924 if test -n "$OBJDUMP"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5926 $as_echo "$OBJDUMP" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5934 if test -z "$ac_cv_prog_OBJDUMP"; then
5935 ac_ct_OBJDUMP
=$OBJDUMP
5936 # Extract the first word of "objdump", so it can be a program name with args.
5937 set dummy objdump
; ac_word
=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5943 if test -n "$ac_ct_OBJDUMP"; then
5944 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir
=.
5951 for ac_exec_ext
in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5964 if test -n "$ac_ct_OBJDUMP"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5966 $as_echo "$ac_ct_OBJDUMP" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5972 if test "x$ac_ct_OBJDUMP" = x
; then
5975 case $cross_compiling:$ac_tool_warned in
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979 ac_tool_warned
=yes ;;
5981 OBJDUMP
=$ac_ct_OBJDUMP
5984 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5987 test -z "$OBJDUMP" && OBJDUMP
=objdump
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5998 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5999 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6000 $as_echo_n "(cached) " >&6
6002 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6003 lt_cv_file_magic_test_file
=
6004 lt_cv_deplibs_check_method
='unknown'
6005 # Need to set the preceding variable on all platforms that support
6006 # interlibrary dependencies.
6007 # 'none' -- dependencies not supported.
6008 # `unknown' -- same as none, but documents that we really don't know.
6009 # 'pass_all' -- all dependencies passed with no checks.
6010 # 'test_compile' -- check by making test program.
6011 # 'file_magic [[regex]]' -- check by looking for files in library path
6012 # which responds to the $file_magic_cmd with a given extended regex.
6013 # If you have `file' or equivalent on your system and you're not sure
6014 # whether `pass_all' will *always* work, you probably want this one.
6018 lt_cv_deplibs_check_method
=pass_all
6022 lt_cv_deplibs_check_method
=pass_all
6026 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6027 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6028 lt_cv_file_magic_test_file
=/shlib
/libc.so
6032 # func_win32_libid is a shell function defined in ltmain.sh
6033 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6034 lt_cv_file_magic_cmd
='func_win32_libid'
6038 # Base MSYS/MinGW do not provide the 'file' command needed by
6039 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6040 # unless we find 'file', for example because we are cross-compiling.
6041 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6042 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6043 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6044 lt_cv_file_magic_cmd
='func_win32_libid'
6046 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6047 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6052 # use the weaker test based on 'objdump'. See mingw*.
6053 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6054 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6057 darwin
* | rhapsody
*)
6058 lt_cv_deplibs_check_method
=pass_all
6061 freebsd
* | dragonfly
*)
6062 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6065 # Not sure whether the presence of OpenBSD here was a mistake.
6066 # Let's accept both of them until this is cleared up.
6067 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6068 lt_cv_file_magic_cmd
=/usr
/bin
/file
6069 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6073 lt_cv_deplibs_check_method
=pass_all
6078 lt_cv_deplibs_check_method
=pass_all
6082 lt_cv_deplibs_check_method
=pass_all
6085 hpux10.20
* | hpux11
*)
6086 lt_cv_file_magic_cmd
=/usr
/bin
/file
6089 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6090 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6093 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]'
6094 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6097 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6098 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6104 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6105 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6108 irix5
* | irix6
* | nonstopux
*)
6110 *-32|
*"-32 ") libmagic
=32-bit;;
6111 *-n32|
*"-n32 ") libmagic
=N32
;;
6112 *-64|
*"-64 ") libmagic
=64-bit;;
6113 *) libmagic
=never-match
;;
6115 lt_cv_deplibs_check_method
=pass_all
6118 # This must be Linux ELF.
6119 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6120 lt_cv_deplibs_check_method
=pass_all
6124 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6125 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6127 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6132 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6133 lt_cv_file_magic_cmd
=/usr
/bin
/file
6134 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6138 lt_cv_deplibs_check_method
=pass_all
6142 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6143 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6145 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6149 osf3
* | osf4
* | osf5
*)
6150 lt_cv_deplibs_check_method
=pass_all
6154 lt_cv_deplibs_check_method
=pass_all
6158 lt_cv_deplibs_check_method
=pass_all
6161 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6162 lt_cv_deplibs_check_method
=pass_all
6166 case $host_vendor in
6168 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]'
6169 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6172 lt_cv_deplibs_check_method
=pass_all
6175 lt_cv_file_magic_cmd
='/bin/file'
6176 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6179 lt_cv_file_magic_cmd
='/bin/file'
6180 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6181 lt_cv_file_magic_test_file
=/lib
/libc.so
6184 lt_cv_deplibs_check_method
=pass_all
6187 lt_cv_deplibs_check_method
=pass_all
6193 lt_cv_deplibs_check_method
=pass_all
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6199 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6200 file_magic_cmd
=$lt_cv_file_magic_cmd
6201 deplibs_check_method
=$lt_cv_deplibs_check_method
6202 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6215 if test -n "$ac_tool_prefix"; then
6216 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6217 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 $as_echo_n "checking for $ac_word... " >&6; }
6220 if test "${ac_cv_prog_AR+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -n "$AR"; then
6224 ac_cv_prog_AR
="$AR" # Let the user override the test.
6226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6230 test -z "$as_dir" && as_dir
=.
6231 for ac_exec_ext
in '' $ac_executable_extensions; do
6232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6233 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 if test -n "$AR"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6246 $as_echo "$AR" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6249 $as_echo "no" >&6; }
6254 if test -z "$ac_cv_prog_AR"; then
6256 # Extract the first word of "ar", so it can be a program name with args.
6257 set dummy
ar; ac_word
=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$ac_ct_AR"; then
6264 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir
=.
6271 for ac_exec_ext
in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273 ac_cv_prog_ac_ct_AR
="ar"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6284 if test -n "$ac_ct_AR"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6286 $as_echo "$ac_ct_AR" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6292 if test "x$ac_ct_AR" = x
; then
6295 case $cross_compiling:$ac_tool_warned in
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6299 ac_tool_warned
=yes ;;
6307 test -z "$AR" && AR
=ar
6308 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6320 if test -n "$ac_tool_prefix"; then
6321 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6322 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if test "${ac_cv_prog_STRIP+set}" = set; then :
6326 $as_echo_n "(cached) " >&6
6328 if test -n "$STRIP"; then
6329 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6335 test -z "$as_dir" && as_dir
=.
6336 for ac_exec_ext
in '' $ac_executable_extensions; do
6337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 STRIP
=$ac_cv_prog_STRIP
6349 if test -n "$STRIP"; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6351 $as_echo "$STRIP" >&6; }
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 $as_echo "no" >&6; }
6359 if test -z "$ac_cv_prog_STRIP"; then
6361 # Extract the first word of "strip", so it can be a program name with args.
6362 set dummy strip
; ac_word
=$2
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6364 $as_echo_n "checking for $ac_word... " >&6; }
6365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6366 $as_echo_n "(cached) " >&6
6368 if test -n "$ac_ct_STRIP"; then
6369 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6375 test -z "$as_dir" && as_dir
=.
6376 for ac_exec_ext
in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378 ac_cv_prog_ac_ct_STRIP
="strip"
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6389 if test -n "$ac_ct_STRIP"; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6391 $as_echo "$ac_ct_STRIP" >&6; }
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6397 if test "x$ac_ct_STRIP" = x
; then
6400 case $cross_compiling:$ac_tool_warned in
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6404 ac_tool_warned
=yes ;;
6409 STRIP
="$ac_cv_prog_STRIP"
6412 test -z "$STRIP" && STRIP
=:
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6421 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6427 if test -n "$RANLIB"; then
6428 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir
=.
6435 for ac_exec_ext
in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 RANLIB
=$ac_cv_prog_RANLIB
6448 if test -n "$RANLIB"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6450 $as_echo "$RANLIB" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6458 if test -z "$ac_cv_prog_RANLIB"; then
6459 ac_ct_RANLIB
=$RANLIB
6460 # Extract the first word of "ranlib", so it can be a program name with args.
6461 set dummy ranlib
; ac_word
=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6465 $as_echo_n "(cached) " >&6
6467 if test -n "$ac_ct_RANLIB"; then
6468 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir
=.
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6488 if test -n "$ac_ct_RANLIB"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6490 $as_echo "$ac_ct_RANLIB" >&6; }
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6496 if test "x$ac_ct_RANLIB" = x
; then
6499 case $cross_compiling:$ac_tool_warned in
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned
=yes ;;
6505 RANLIB
=$ac_ct_RANLIB
6508 RANLIB
="$ac_cv_prog_RANLIB"
6511 test -z "$RANLIB" && RANLIB
=:
6518 # Determine commands to create old-style static archives.
6519 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6520 old_postinstall_cmds
='chmod 644 $oldlib'
6521 old_postuninstall_cmds
=
6523 if test -n "$RANLIB"; then
6526 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6529 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6532 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6537 lock_old_archive_extraction
=yes ;;
6539 lock_old_archive_extraction
=no
;;
6580 # If no C compiler was specified, use CC.
6583 # If no C compiler flags were specified, use CFLAGS.
6584 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6586 # Allow CC to be a program name with arguments.
6590 # Check for command to grab the raw symbol name followed by C symbol from nm.
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6592 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6593 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6594 $as_echo_n "(cached) " >&6
6597 # These are sane defaults that work on at least a few old systems.
6598 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6600 # Character class describing NM global symbol codes.
6601 symcode
='[BCDEGRST]'
6603 # Regexp to match symbols that can be accessed directly from C.
6604 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6606 # Define system-specific variables.
6611 cygwin
* | mingw
* | pw32
* | cegcc
*)
6612 symcode
='[ABCDGISTW]'
6615 if test "$host_cpu" = ia64
; then
6616 symcode
='[ABCDEGRST]'
6620 symcode
='[BCDEGRST]'
6623 symcode
='[BCDEGQRST]'
6634 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6642 # If we're using GNU nm, then use its standard symbol codes.
6643 case `$NM -V 2>&1` in
6644 *GNU
* |
*'with BFD'*)
6645 symcode
='[ABCDGIRSTW]' ;;
6648 # Transform an extracted symbol line into a proper C declaration.
6649 # Some systems (esp. on ia64) link data and code symbols differently,
6650 # so use this general approach.
6651 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6653 # Transform an extracted symbol line into symbol name and symbol address
6654 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6655 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'"
6657 # Handle CRLF in mingw tool chain
6661 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6665 # Try without a prefix underscore, then with it.
6666 for ac_symprfx
in "" "_"; do
6668 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6669 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6671 # Write the raw and C identifiers.
6672 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6673 # Fake it for dumpbin and say T for any non-static function
6674 # and D for any global variable.
6675 # Also find C++ and __fastcall symbols from MSVC++,
6676 # which start with @ or ?.
6677 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6678 " {last_section=section; section=\$ 3};"\
6679 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6680 " \$ 0!~/External *\|/{next};"\
6681 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6682 " {if(hide[section]) next};"\
6683 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6684 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6685 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6686 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6687 " ' prfx=^$ac_symprfx"
6689 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6692 # Check to see that the pipe works correctly.
6696 cat > conftest.
$ac_ext <<_LT_EOF
6701 void nm_test_func(void);
6702 void nm_test_func(void){}
6706 int main(){nm_test_var='a';nm_test_func();return(0);}
6709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710 (eval $ac_compile) 2>&5
6712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713 test $ac_status = 0; }; then
6714 # Now try to grab the symbols.
6716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6717 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6720 test $ac_status = 0; } && test -s "$nlist"; then
6721 # Try sorting and uniquifying the output.
6722 if sort "$nlist" |
uniq > "$nlist"T
; then
6723 mv -f "$nlist"T
"$nlist"
6728 # Make sure that we snagged all the symbols we need.
6729 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6730 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6731 cat <<_LT_EOF > conftest.$ac_ext
6737 # Now generate the symbol file.
6738 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6740 cat <<_LT_EOF >> conftest.$ac_ext
6742 /* The mapping between symbol names and symbols. */
6747 lt__PROGRAM__LTX_preloaded_symbols[] =
6749 { "@PROGRAM@", (void *) 0 },
6751 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6752 cat <<\_LT_EOF
>> conftest.
$ac_ext
6756 /* This works around a problem
in FreeBSD linker
*/
6757 #ifdef FREEBSD_WORKAROUND
6758 static const void
*lt_preloaded_setup
() {
6759 return lt__PROGRAM__LTX_preloaded_symbols
;
6767 # Now try linking the two files.
6768 mv conftest.
$ac_objext conftstm.
$ac_objext
6769 lt_save_LIBS
="$LIBS"
6770 lt_save_CFLAGS
="$CFLAGS"
6771 LIBS
="conftstm.$ac_objext"
6772 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6774 (eval $ac_link) 2>&5
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6777 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6780 LIBS
="$lt_save_LIBS"
6781 CFLAGS
="$lt_save_CFLAGS"
6783 echo "cannot find nm_test_func in $nlist" >&5
6786 echo "cannot find nm_test_var in $nlist" >&5
6789 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6792 echo "$progname: failed program was:" >&5
6793 cat conftest.
$ac_ext >&5
6795 rm -rf conftest
* conftst
*
6797 # Do not use the global_symbol_pipe unless it works.
6798 if test "$pipe_works" = yes; then
6801 lt_cv_sys_global_symbol_pipe
=
6807 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6808 lt_cv_sys_global_symbol_to_cdecl
=
6810 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6812 $as_echo "failed" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6815 $as_echo "ok" >&6; }
6839 # Check whether --enable-libtool-lock was given.
6840 if test "${enable_libtool_lock+set}" = set; then :
6841 enableval
=$enable_libtool_lock;
6844 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6846 # Some flags need to be propagated to the compiler or linker for good
6850 # Find out which ABI we are using.
6851 echo 'int i;' > conftest.
$ac_ext
6852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6853 (eval $ac_compile) 2>&5
6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6856 test $ac_status = 0; }; then
6857 case `/usr/bin/file conftest.$ac_objext` in
6869 # Find out which ABI we are using.
6870 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6872 (eval $ac_compile) 2>&5
6874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6875 test $ac_status = 0; }; then
6876 if test "$lt_cv_prog_gnu_ld" = yes; then
6877 case `/usr/bin/file conftest.$ac_objext` in
6879 LD
="${LD-ld} -melf32bsmip"
6882 LD
="${LD-ld} -melf32bmipn32"
6885 LD
="${LD-ld} -melf64bmip"
6889 case `/usr/bin/file conftest.$ac_objext` in
6905 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6906 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6907 # Find out which ABI we are using.
6908 echo 'int i;' > conftest.
$ac_ext
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6910 (eval $ac_compile) 2>&5
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; }; then
6914 case `/usr/bin/file conftest.o` in
6917 x86_64-
*kfreebsd
*-gnu)
6918 LD
="${LD-ld} -m elf_i386_fbsd"
6921 case `/usr/bin/file conftest.o` in
6923 LD
="${LD-ld} -m elf32_x86_64"
6926 LD
="${LD-ld} -m elf_i386"
6930 powerpc64le-
*linux
*)
6931 LD
="${LD-ld} -m elf32lppclinux"
6934 LD
="${LD-ld} -m elf32ppclinux"
6937 LD
="${LD-ld} -m elf_s390"
6940 LD
="${LD-ld} -m elf32_sparc"
6946 x86_64-
*kfreebsd
*-gnu)
6947 LD
="${LD-ld} -m elf_x86_64_fbsd"
6950 LD
="${LD-ld} -m elf_x86_64"
6953 LD
="${LD-ld} -m elf64lppc"
6956 LD
="${LD-ld} -m elf64ppc"
6958 s390
*-*linux
*|s390
*-*tpf
*)
6959 LD
="${LD-ld} -m elf64_s390"
6962 LD
="${LD-ld} -m elf64_sparc"
6972 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6973 SAVE_CFLAGS
="$CFLAGS"
6974 CFLAGS
="$CFLAGS -belf"
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6976 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6977 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6978 $as_echo_n "(cached) " >&6
6981 ac_cpp
='$CPP $CPPFLAGS'
6982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6997 if ac_fn_c_try_link
"$LINENO"; then :
6998 lt_cv_cc_needs_belf
=yes
7000 lt_cv_cc_needs_belf
=no
7002 rm -f core conftest.err conftest.
$ac_objext \
7003 conftest
$ac_exeext conftest.
$ac_ext
7005 ac_cpp
='$CPP $CPPFLAGS'
7006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7012 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7013 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7014 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7015 CFLAGS
="$SAVE_CFLAGS"
7019 # Find out which ABI we are using.
7020 echo 'int i;' > conftest.
$ac_ext
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7022 (eval $ac_compile) 2>&5
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; }; then
7026 case `/usr/bin/file conftest.o` in
7028 case $lt_cv_prog_gnu_ld in
7029 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7031 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7043 need_locks
="$enable_libtool_lock"
7047 rhapsody
* | darwin
*)
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7050 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7054 $as_echo_n "(cached) " >&6
7056 if test -n "$DSYMUTIL"; then
7057 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir
=.
7064 for ac_exec_ext
in '' $ac_executable_extensions; do
7065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7066 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7077 if test -n "$DSYMUTIL"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7079 $as_echo "$DSYMUTIL" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7087 if test -z "$ac_cv_prog_DSYMUTIL"; then
7088 ac_ct_DSYMUTIL
=$DSYMUTIL
7089 # Extract the first word of "dsymutil", so it can be a program name with args.
7090 set dummy dsymutil
; ac_word
=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 $as_echo_n "checking for $ac_word... " >&6; }
7093 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7094 $as_echo_n "(cached) " >&6
7096 if test -n "$ac_ct_DSYMUTIL"; then
7097 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir
=.
7104 for ac_exec_ext
in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7117 if test -n "$ac_ct_DSYMUTIL"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7119 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7125 if test "x$ac_ct_DSYMUTIL" = x
; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132 ac_tool_warned
=yes ;;
7134 DSYMUTIL
=$ac_ct_DSYMUTIL
7137 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7140 if test -n "$ac_tool_prefix"; then
7141 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7142 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7146 $as_echo_n "(cached) " >&6
7148 if test -n "$NMEDIT"; then
7149 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir
=.
7156 for ac_exec_ext
in '' $ac_executable_extensions; do
7157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7158 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 NMEDIT
=$ac_cv_prog_NMEDIT
7169 if test -n "$NMEDIT"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7171 $as_echo "$NMEDIT" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7179 if test -z "$ac_cv_prog_NMEDIT"; then
7180 ac_ct_NMEDIT
=$NMEDIT
7181 # Extract the first word of "nmedit", so it can be a program name with args.
7182 set dummy nmedit
; ac_word
=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7186 $as_echo_n "(cached) " >&6
7188 if test -n "$ac_ct_NMEDIT"; then
7189 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir
=.
7196 for ac_exec_ext
in '' $ac_executable_extensions; do
7197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7198 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7209 if test -n "$ac_ct_NMEDIT"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7211 $as_echo "$ac_ct_NMEDIT" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7217 if test "x$ac_ct_NMEDIT" = x
; then
7220 case $cross_compiling:$ac_tool_warned in
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7224 ac_tool_warned
=yes ;;
7226 NMEDIT
=$ac_ct_NMEDIT
7229 NMEDIT
="$ac_cv_prog_NMEDIT"
7232 if test -n "$ac_tool_prefix"; then
7233 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7234 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 $as_echo_n "checking for $ac_word... " >&6; }
7237 if test "${ac_cv_prog_LIPO+set}" = set; then :
7238 $as_echo_n "(cached) " >&6
7240 if test -n "$LIPO"; then
7241 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir
=.
7248 for ac_exec_ext
in '' $ac_executable_extensions; do
7249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260 LIPO
=$ac_cv_prog_LIPO
7261 if test -n "$LIPO"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7263 $as_echo "$LIPO" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7271 if test -z "$ac_cv_prog_LIPO"; then
7273 # Extract the first word of "lipo", so it can be a program name with args.
7274 set dummy lipo
; ac_word
=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7280 if test -n "$ac_ct_LIPO"; then
7281 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir
=.
7288 for ac_exec_ext
in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_ac_ct_LIPO
="lipo"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7301 if test -n "$ac_ct_LIPO"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7303 $as_echo "$ac_ct_LIPO" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7309 if test "x$ac_ct_LIPO" = x
; then
7312 case $cross_compiling:$ac_tool_warned in
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7316 ac_tool_warned
=yes ;;
7321 LIPO
="$ac_cv_prog_LIPO"
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7326 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7330 $as_echo_n "(cached) " >&6
7332 if test -n "$OTOOL"; then
7333 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir
=.
7340 for ac_exec_ext
in '' $ac_executable_extensions; do
7341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7342 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 OTOOL
=$ac_cv_prog_OTOOL
7353 if test -n "$OTOOL"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7355 $as_echo "$OTOOL" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7363 if test -z "$ac_cv_prog_OTOOL"; then
7365 # Extract the first word of "otool", so it can be a program name with args.
7366 set dummy otool
; ac_word
=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7370 $as_echo_n "(cached) " >&6
7372 if test -n "$ac_ct_OTOOL"; then
7373 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7379 test -z "$as_dir" && as_dir
=.
7380 for ac_exec_ext
in '' $ac_executable_extensions; do
7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382 ac_cv_prog_ac_ct_OTOOL
="otool"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7393 if test -n "$ac_ct_OTOOL"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7395 $as_echo "$ac_ct_OTOOL" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7401 if test "x$ac_ct_OTOOL" = x
; then
7404 case $cross_compiling:$ac_tool_warned in
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned
=yes ;;
7413 OTOOL
="$ac_cv_prog_OTOOL"
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7418 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$OTOOL64"; then
7425 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7434 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 OTOOL64
=$ac_cv_prog_OTOOL64
7445 if test -n "$OTOOL64"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7447 $as_echo "$OTOOL64" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_OTOOL64"; then
7456 ac_ct_OTOOL64
=$OTOOL64
7457 # Extract the first word of "otool64", so it can be a program name with args.
7458 set dummy otool64
; ac_word
=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$ac_ct_OTOOL64"; then
7465 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir
=.
7472 for ac_exec_ext
in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7485 if test -n "$ac_ct_OTOOL64"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7487 $as_echo "$ac_ct_OTOOL64" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_OTOOL64" = x
; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned
=yes ;;
7502 OTOOL64
=$ac_ct_OTOOL64
7505 OTOOL64
="$ac_cv_prog_OTOOL64"
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7535 $as_echo_n "checking for -single_module linker flag... " >&6; }
7536 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7539 lt_cv_apple_cc_single_mod
=no
7540 if test -z "${LT_MULTI_MODULE}"; then
7541 # By default we will add the -single_module flag. You can override
7542 # by either setting the environment variable LT_MULTI_MODULE
7543 # non-empty at configure time, or by adding -multi_module to the
7545 rm -rf libconftest.dylib
*
7546 echo "int foo(void){return 1;}" > conftest.c
7547 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7548 -dynamiclib -Wl,-single_module conftest.c" >&5
7549 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7550 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7552 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7553 lt_cv_apple_cc_single_mod
=yes
7555 cat conftest.err
>&5
7557 rm -rf libconftest.dylib
*
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7562 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7564 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7565 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7566 $as_echo_n "(cached) " >&6
7568 lt_cv_ld_exported_symbols_list
=no
7569 save_LDFLAGS
=$LDFLAGS
7570 echo "_main" > conftest.sym
7571 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7583 if ac_fn_c_try_link
"$LINENO"; then :
7584 lt_cv_ld_exported_symbols_list
=yes
7586 lt_cv_ld_exported_symbols_list
=no
7588 rm -f core conftest.err conftest.
$ac_objext \
7589 conftest
$ac_exeext conftest.
$ac_ext
7590 LDFLAGS
="$save_LDFLAGS"
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7594 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7596 $as_echo_n "checking for -force_load linker flag... " >&6; }
7597 if test "${lt_cv_ld_force_load+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7600 lt_cv_ld_force_load
=no
7601 cat > conftest.c
<< _LT_EOF
7602 int forced_loaded() { return 2;}
7604 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7605 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7606 echo "$AR cru libconftest.a conftest.o" >&5
7607 $AR cru libconftest.a conftest.o
2>&5
7608 cat > conftest.c
<< _LT_EOF
7609 int main() { return 0;}
7611 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7612 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7614 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7615 lt_cv_ld_force_load
=yes
7617 cat conftest.err
>&5
7619 rm -f conftest.err libconftest.a conftest conftest.c
7620 rm -rf conftest.dSYM
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7624 $as_echo "$lt_cv_ld_force_load" >&6; }
7626 rhapsody
* | darwin1.
[012])
7627 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7629 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7630 darwin
*) # darwin 5.x on
7631 # if running on 10.5 or later, the deployment target defaults
7632 # to the OS version, if on x86, and 10.4, the deployment
7633 # target defaults to 10.4. Don't you love it?
7634 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7635 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7636 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7638 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7640 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7644 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7645 _lt_dar_single_mod
='$single_module'
7647 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7648 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7650 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7652 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7653 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7660 for ac_header
in dlfcn.h
7662 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7664 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7665 cat >>confdefs.h
<<_ACEOF
7666 #define HAVE_DLFCN_H 1
7687 # Check whether --enable-shared was given.
7688 if test "${enable_shared+set}" = set; then :
7689 enableval
=$enable_shared; p
=${PACKAGE-default}
7691 yes) enable_shared
=yes ;;
7692 no
) enable_shared
=no
;;
7695 # Look at the argument we got. We use all the common list separators.
7696 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7697 for pkg
in $enableval; do
7699 if test "X$pkg" = "X$p"; then
7718 # Check whether --enable-static was given.
7719 if test "${enable_static+set}" = set; then :
7720 enableval
=$enable_static; p
=${PACKAGE-default}
7722 yes) enable_static
=yes ;;
7723 no
) enable_static
=no
;;
7726 # Look at the argument we got. We use all the common list separators.
7727 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7728 for pkg
in $enableval; do
7730 if test "X$pkg" = "X$p"; then
7750 # Check whether --with-pic was given.
7751 if test "${with_pic+set}" = set; then :
7752 withval
=$with_pic; pic_mode
="$withval"
7758 test -z "$pic_mode" && pic_mode
=default
7766 # Check whether --enable-fast-install was given.
7767 if test "${enable_fast_install+set}" = set; then :
7768 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7770 yes) enable_fast_install
=yes ;;
7771 no
) enable_fast_install
=no
;;
7773 enable_fast_install
=no
7774 # Look at the argument we got. We use all the common list separators.
7775 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7776 for pkg
in $enableval; do
7778 if test "X$pkg" = "X$p"; then
7779 enable_fast_install
=yes
7786 enable_fast_install
=yes
7799 # This can be used to rebuild libtool when needed
7800 LIBTOOL_DEPS
="$ltmain"
7802 # Always use our own libtool.
7803 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7830 test -z "$LN_S" && LN_S
="ln -s"
7845 if test -n "${ZSH_VERSION+set}" ; then
7846 setopt NO_GLOB_SUBST
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7850 $as_echo_n "checking for objdir... " >&6; }
7851 if test "${lt_cv_objdir+set}" = set; then :
7852 $as_echo_n "(cached) " >&6
7854 rm -f .libs
2>/dev
/null
7855 mkdir .libs
2>/dev
/null
7856 if test -d .libs
; then
7859 # MS-DOS does not allow filenames that begin with a dot.
7862 rmdir .libs
2>/dev
/null
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7865 $as_echo "$lt_cv_objdir" >&6; }
7866 objdir
=$lt_cv_objdir
7872 cat >>confdefs.h
<<_ACEOF
7873 #define LT_OBJDIR "$lt_cv_objdir/"
7881 # AIX sometimes has problems with the GCC collect2 program. For some
7882 # reason, if we set the COLLECT_NAMES environment variable, the problems
7883 # vanish in a puff of smoke.
7884 if test "X${COLLECT_NAMES+set}" != Xset
; then
7886 export COLLECT_NAMES
7893 can_build_shared
=yes
7895 # All known linkers require a `.a' archive for static linking (except MSVC,
7896 # which needs '.lib').
7899 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7902 old_CFLAGS
="$CFLAGS"
7904 # Set sane defaults for various variables
7905 test -z "$CC" && CC
=cc
7906 test -z "$LTCC" && LTCC
=$CC
7907 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7908 test -z "$LD" && LD
=ld
7909 test -z "$ac_objext" && ac_objext
=o
7911 for cc_temp
in $compiler""; do
7913 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7914 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7919 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7922 # Only perform the check for file, if the check method requires it
7923 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7924 case $deplibs_check_method in
7926 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7928 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7930 $as_echo_n "(cached) " >&6
7934 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7937 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7938 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7939 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7940 for ac_dir
in $ac_dummy; do
7942 test -z "$ac_dir" && ac_dir
=.
7943 if test -f $ac_dir/${ac_tool_prefix}file; then
7944 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7945 if test -n "$file_magic_test_file"; then
7946 case $deplibs_check_method in
7948 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7949 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7950 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7951 $EGREP "$file_magic_regex" > /dev
/null
; then
7956 *** Warning: the command libtool uses to detect shared libraries,
7957 *** $file_magic_cmd, produces output that libtool cannot recognize.
7958 *** The result is that libtool may fail to recognize shared libraries
7959 *** as such. This will affect the creation of libtool libraries that
7960 *** depend on shared libraries, but programs linked with such libtool
7961 *** libraries will work regardless of this problem. Nevertheless, you
7962 *** may want to report the problem to your system manager and/or to
7963 *** bug-libtool@gnu.org
7973 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7978 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7979 if test -n "$MAGIC_CMD"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7981 $as_echo "$MAGIC_CMD" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7991 if test -z "$lt_cv_path_MAGIC_CMD"; then
7992 if test -n "$ac_tool_prefix"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7994 $as_echo_n "checking for file... " >&6; }
7995 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7996 $as_echo_n "(cached) " >&6
8000 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8003 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8004 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8005 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8006 for ac_dir
in $ac_dummy; do
8008 test -z "$ac_dir" && ac_dir
=.
8009 if test -f $ac_dir/file; then
8010 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8011 if test -n "$file_magic_test_file"; then
8012 case $deplibs_check_method in
8014 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8015 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8016 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8017 $EGREP "$file_magic_regex" > /dev
/null
; then
8022 *** Warning: the command libtool uses to detect shared libraries,
8023 *** $file_magic_cmd, produces output that libtool cannot recognize.
8024 *** The result is that libtool may fail to recognize shared libraries
8025 *** as such. This will affect the creation of libtool libraries that
8026 *** depend on shared libraries, but programs linked with such libtool
8027 *** libraries will work regardless of this problem. Nevertheless, you
8028 *** may want to report the problem to your system manager and/or to
8029 *** bug-libtool@gnu.org
8039 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8044 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8045 if test -n "$MAGIC_CMD"; then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8047 $as_echo "$MAGIC_CMD" >&6; }
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8050 $as_echo "no" >&6; }
8063 # Use C for the default configuration in the libtool script
8067 ac_cpp
='$CPP $CPPFLAGS'
8068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8073 # Source file extension for C test sources.
8076 # Object file extension for compiled C test sources.
8080 # Code to be used in simple compile tests
8081 lt_simple_compile_test_code
="int some_variable = 0;"
8083 # Code to be used in simple link tests
8084 lt_simple_link_test_code
='int main(){return(0);}'
8092 # If no C compiler was specified, use CC.
8095 # If no C compiler flags were specified, use CFLAGS.
8096 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8098 # Allow CC to be a program name with arguments.
8101 # Save the default compiler, since it gets overwritten when the other
8102 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8103 compiler_DEFAULT
=$CC
8105 # save warnings/boilerplate of simple test code
8106 ac_outfile
=conftest.
$ac_objext
8107 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8108 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8109 _lt_compiler_boilerplate
=`cat conftest.err`
8112 ac_outfile
=conftest.
$ac_objext
8113 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8114 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8115 _lt_linker_boilerplate
=`cat conftest.err`
8120 ## There is no encapsulation within the following macros, do not change
8121 ## the running order or otherwise move them around unless you know exactly
8122 ## what you are doing...
8123 if test -n "$compiler"; then
8125 lt_prog_compiler_no_builtin_flag
=
8127 if test "$GCC" = yes; then
8128 case $cc_basename in
8130 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8132 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8136 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8137 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8140 lt_cv_prog_compiler_rtti_exceptions
=no
8141 ac_outfile
=conftest.
$ac_objext
8142 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8143 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8144 # Insert the option either (1) after the last *FLAGS variable, or
8145 # (2) before a word containing "conftest.", or (3) at the end.
8146 # Note that $ac_compile itself does not contain backslashes and begins
8147 # with a dollar sign (not a hyphen), so the echo should work correctly.
8148 # The option is referenced via a variable to avoid confusing sed.
8149 lt_compile
=`echo "$ac_compile" | $SED \
8150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8152 -e 's:$: $lt_compiler_flag:'`
8153 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8154 (eval "$lt_compile" 2>conftest.err
)
8156 cat conftest.err
>&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 if (exit $ac_status) && test -s "$ac_outfile"; then
8159 # The compiler can only warn and ignore the option if not recognized
8160 # So say no if there are warnings other than the usual output.
8161 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8162 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8163 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8164 lt_cv_prog_compiler_rtti_exceptions
=yes
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8171 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8173 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8174 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8186 lt_prog_compiler_wl
=
8187 lt_prog_compiler_pic
=
8188 lt_prog_compiler_static
=
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8191 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8193 if test "$GCC" = yes; then
8194 lt_prog_compiler_wl
='-Wl,'
8195 lt_prog_compiler_static
='-static'
8199 # All AIX code is PIC.
8200 if test "$host_cpu" = ia64
; then
8201 # AIX 5 now supports IA64 processor
8202 lt_prog_compiler_static
='-Bstatic'
8204 lt_prog_compiler_pic
='-fPIC'
8210 # see comment about AmigaOS4 .so support
8211 lt_prog_compiler_pic
='-fPIC'
8214 # FIXME: we need at least 68020 code to build shared libraries, but
8215 # adding the `-m68020' flag to GCC prevents building anything better,
8217 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8222 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8223 # PIC is the default for these OSes.
8226 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8227 # This hack is so that the source file can tell whether it is being
8228 # built for inclusion in a dll (and should export symbols for example).
8229 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8230 # (--disable-auto-import) libraries
8231 lt_prog_compiler_pic
='-DDLL_EXPORT'
8234 darwin
* | rhapsody
*)
8235 # PIC is the default on this platform
8236 # Common symbols not allowed in MH_DYLIB files
8237 lt_prog_compiler_pic
='-fno-common'
8241 # PIC is the default for Haiku.
8242 # The "-static" flag exists, but is broken.
8243 lt_prog_compiler_static
=
8247 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8248 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8249 # sets the default TLS model and affects inlining.
8255 lt_prog_compiler_pic
='-fPIC'
8261 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8262 # Instead, we relocate shared libraries at runtime.
8266 # Just because we use GCC doesn't mean we suddenly get shared libraries
8267 # on systems that don't support them.
8268 lt_prog_compiler_can_build_shared
=no
8273 # QNX uses GNU C++, but need to define -shared option too, otherwise
8275 lt_prog_compiler_pic
='-fPIC -shared'
8279 if test -d /usr
/nec
; then
8280 lt_prog_compiler_pic
=-Kconform_pic
8285 lt_prog_compiler_pic
='-fPIC'
8289 case $cc_basename in
8290 nvcc
*) # Cuda Compiler Driver 2.2
8291 lt_prog_compiler_wl
='-Xlinker '
8292 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8296 # PORTME Check for flag to pass linker flags through the system compiler.
8299 lt_prog_compiler_wl
='-Wl,'
8300 if test "$host_cpu" = ia64
; then
8301 # AIX 5 now supports IA64 processor
8302 lt_prog_compiler_static
='-Bstatic'
8304 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8308 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8309 # This hack is so that the source file can tell whether it is being
8310 # built for inclusion in a dll (and should export symbols for example).
8311 lt_prog_compiler_pic
='-DDLL_EXPORT'
8314 hpux9
* | hpux10
* | hpux11
*)
8315 lt_prog_compiler_wl
='-Wl,'
8316 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8323 lt_prog_compiler_pic
='+Z'
8326 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8327 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8330 irix5
* | irix6
* | nonstopux
*)
8331 lt_prog_compiler_wl
='-Wl,'
8332 # PIC (with -KPIC) is the default.
8333 lt_prog_compiler_static
='-non_shared'
8336 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8337 case $cc_basename in
8338 # old Intel for x86_64 which still supported -KPIC.
8340 lt_prog_compiler_wl
='-Wl,'
8341 lt_prog_compiler_pic
='-KPIC'
8342 lt_prog_compiler_static
='-static'
8344 # icc used to be incompatible with GCC.
8345 # ICC 10 doesn't accept -KPIC any more.
8347 lt_prog_compiler_wl
='-Wl,'
8348 lt_prog_compiler_pic
='-fPIC'
8349 lt_prog_compiler_static
='-static'
8351 # Lahey Fortran 8.1.
8353 lt_prog_compiler_wl
='-Wl,'
8354 lt_prog_compiler_pic
='--shared'
8355 lt_prog_compiler_static
='--static'
8357 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8358 # Portland Group compilers (*not* the Pentium gcc compiler,
8359 # which looks to be a dead project)
8360 lt_prog_compiler_wl
='-Wl,'
8361 lt_prog_compiler_pic
='-fpic'
8362 lt_prog_compiler_static
='-Bstatic'
8365 lt_prog_compiler_wl
='-Wl,'
8366 # All Alpha code is PIC.
8367 lt_prog_compiler_static
='-non_shared'
8369 xl
* | bgxl
* | bgf
* | mpixl
*)
8370 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8371 lt_prog_compiler_wl
='-Wl,'
8372 lt_prog_compiler_pic
='-qpic'
8373 lt_prog_compiler_static
='-qstaticlink'
8376 case `$CC -V 2>&1 | sed 5q` in
8377 *Sun\ F
* |
*Sun
*Fortran
*)
8378 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8379 lt_prog_compiler_pic
='-KPIC'
8380 lt_prog_compiler_static
='-Bstatic'
8381 lt_prog_compiler_wl
=''
8385 lt_prog_compiler_pic
='-KPIC'
8386 lt_prog_compiler_static
='-Bstatic'
8387 lt_prog_compiler_wl
='-Wl,'
8395 lt_prog_compiler_pic
='-KPIC'
8396 lt_prog_compiler_static
='-Bstatic'
8400 # QNX uses GNU C++, but need to define -shared option too, otherwise
8402 lt_prog_compiler_pic
='-fPIC -shared'
8405 osf3
* | osf4
* | osf5
*)
8406 lt_prog_compiler_wl
='-Wl,'
8407 # All OSF/1 code is PIC.
8408 lt_prog_compiler_static
='-non_shared'
8412 lt_prog_compiler_static
='-non_shared'
8416 lt_prog_compiler_pic
='-KPIC'
8417 lt_prog_compiler_static
='-Bstatic'
8418 case $cc_basename in
8420 lt_prog_compiler_wl
='-Qoption ld ';;
8422 lt_prog_compiler_wl
='-Wl,';;
8427 lt_prog_compiler_wl
='-Qoption ld '
8428 lt_prog_compiler_pic
='-PIC'
8429 lt_prog_compiler_static
='-Bstatic'
8432 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8433 lt_prog_compiler_wl
='-Wl,'
8434 lt_prog_compiler_pic
='-KPIC'
8435 lt_prog_compiler_static
='-Bstatic'
8439 if test -d /usr
/nec
;then
8440 lt_prog_compiler_pic
='-Kconform_pic'
8441 lt_prog_compiler_static
='-Bstatic'
8445 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8446 lt_prog_compiler_wl
='-Wl,'
8447 lt_prog_compiler_pic
='-KPIC'
8448 lt_prog_compiler_static
='-Bstatic'
8452 lt_prog_compiler_wl
='-Wl,'
8453 lt_prog_compiler_can_build_shared
=no
8457 lt_prog_compiler_pic
='-pic'
8458 lt_prog_compiler_static
='-Bstatic'
8462 lt_prog_compiler_can_build_shared
=no
8468 # For platforms which do not support PIC, -DPIC is meaningless:
8470 lt_prog_compiler_pic
=
8473 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8477 $as_echo "$lt_prog_compiler_pic" >&6; }
8485 # Check to make sure the PIC flag actually works.
8487 if test -n "$lt_prog_compiler_pic"; then
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8489 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8490 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8491 $as_echo_n "(cached) " >&6
8493 lt_cv_prog_compiler_pic_works
=no
8494 ac_outfile
=conftest.
$ac_objext
8495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8496 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8497 # Insert the option either (1) after the last *FLAGS variable, or
8498 # (2) before a word containing "conftest.", or (3) at the end.
8499 # Note that $ac_compile itself does not contain backslashes and begins
8500 # with a dollar sign (not a hyphen), so the echo should work correctly.
8501 # The option is referenced via a variable to avoid confusing sed.
8502 lt_compile
=`echo "$ac_compile" | $SED \
8503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8505 -e 's:$: $lt_compiler_flag:'`
8506 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8507 (eval "$lt_compile" 2>conftest.err
)
8509 cat conftest.err
>&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 if (exit $ac_status) && test -s "$ac_outfile"; then
8512 # The compiler can only warn and ignore the option if not recognized
8513 # So say no if there are warnings other than the usual output.
8514 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8516 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8517 lt_cv_prog_compiler_pic_works
=yes
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8524 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8526 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8527 case $lt_prog_compiler_pic in
8529 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8532 lt_prog_compiler_pic
=
8533 lt_prog_compiler_can_build_shared
=no
8544 # Check to make sure the static flag actually works.
8546 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8548 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8549 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8550 $as_echo_n "(cached) " >&6
8552 lt_cv_prog_compiler_static_works
=no
8553 save_LDFLAGS
="$LDFLAGS"
8554 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8555 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8556 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8557 # The linker can only warn and ignore the option if not recognized
8558 # So say no if there are warnings
8559 if test -s conftest.err
; then
8560 # Append any errors to the config.log.
8561 cat conftest.err
1>&5
8562 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8563 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8564 if diff conftest.exp conftest.er2
>/dev
/null
; then
8565 lt_cv_prog_compiler_static_works
=yes
8568 lt_cv_prog_compiler_static_works
=yes
8572 LDFLAGS
="$save_LDFLAGS"
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8576 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8578 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8581 lt_prog_compiler_static
=
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8591 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8592 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8593 $as_echo_n "(cached) " >&6
8595 lt_cv_prog_compiler_c_o
=no
8596 $RM -r conftest
2>/dev
/null
8600 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8602 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8603 # Insert the option either (1) after the last *FLAGS variable, or
8604 # (2) before a word containing "conftest.", or (3) at the end.
8605 # Note that $ac_compile itself does not contain backslashes and begins
8606 # with a dollar sign (not a hyphen), so the echo should work correctly.
8607 lt_compile
=`echo "$ac_compile" | $SED \
8608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8610 -e 's:$: $lt_compiler_flag:'`
8611 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8612 (eval "$lt_compile" 2>out
/conftest.err
)
8614 cat out
/conftest.err
>&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8618 # The compiler can only warn and ignore the option if not recognized
8619 # So say no if there are warnings
8620 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8621 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8622 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8623 lt_cv_prog_compiler_c_o
=yes
8628 # SGI C++ compiler will create directory out/ii_files/ for
8629 # template instantiation
8630 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8631 $RM out
/* && rmdir out
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8638 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8647 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8648 $as_echo_n "(cached) " >&6
8650 lt_cv_prog_compiler_c_o
=no
8651 $RM -r conftest
2>/dev
/null
8655 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8657 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8658 # Insert the option either (1) after the last *FLAGS variable, or
8659 # (2) before a word containing "conftest.", or (3) at the end.
8660 # Note that $ac_compile itself does not contain backslashes and begins
8661 # with a dollar sign (not a hyphen), so the echo should work correctly.
8662 lt_compile
=`echo "$ac_compile" | $SED \
8663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8665 -e 's:$: $lt_compiler_flag:'`
8666 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8667 (eval "$lt_compile" 2>out
/conftest.err
)
8669 cat out
/conftest.err
>&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8673 # The compiler can only warn and ignore the option if not recognized
8674 # So say no if there are warnings
8675 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8676 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8677 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8678 lt_cv_prog_compiler_c_o
=yes
8683 # SGI C++ compiler will create directory out/ii_files/ for
8684 # template instantiation
8685 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8686 $RM out
/* && rmdir out
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8693 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8698 hard_links
="nottested"
8699 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8700 # do not overwrite the value of need_locks provided by the user
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8702 $as_echo_n "checking if we can lock with hard links... " >&6; }
8705 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8707 ln conftest.a conftest.b
2>&5 || hard_links
=no
8708 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8710 $as_echo "$hard_links" >&6; }
8711 if test "$hard_links" = no
; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8713 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8726 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8729 allow_undefined_flag
=
8730 always_export_symbols
=no
8732 archive_expsym_cmds
=
8733 compiler_needs_object
=no
8734 enable_shared_with_static_runtimes
=no
8735 export_dynamic_flag_spec
=
8736 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8737 hardcode_automatic
=no
8739 hardcode_direct_absolute
=no
8740 hardcode_libdir_flag_spec
=
8741 hardcode_libdir_flag_spec_ld
=
8742 hardcode_libdir_separator
=
8744 hardcode_shlibpath_var
=unsupported
8746 link_all_deplibs
=unknown
8749 old_archive_from_new_cmds
=
8750 old_archive_from_expsyms_cmds
=
8751 thread_safe_flag_spec
=
8752 whole_archive_flag_spec
=
8753 # include_expsyms should be a list of space-separated symbols to be *always*
8754 # included in the symbol list
8756 # exclude_expsyms can be an extended regexp of symbols to exclude
8757 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8758 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8759 # as well as any symbol that contains `d'.
8760 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8761 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8762 # platforms (ab)use it in PIC code, but their linkers get confused if
8763 # the symbol is explicitly referenced. Since portable code cannot
8764 # rely on this symbol name, it's probably fine to never include it in
8765 # preloaded symbol tables.
8766 # Exclude shared library initialization/finalization symbols.
8767 extract_expsyms_cmds
=
8770 cygwin
* | mingw
* | pw32
* | cegcc
*)
8771 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8772 # When not using gcc, we currently assume that we are using
8773 # Microsoft Visual C++.
8774 if test "$GCC" != yes; then
8779 # we just hope/assume this is gcc and not c89 (= MSVC++)
8789 # On some targets, GNU ld is compatible enough with the native linker
8790 # that we're better off using the native interface for both.
8791 lt_use_gnu_ld_interface
=no
8792 if test "$with_gnu_ld" = yes; then
8795 # The AIX port of GNU ld has always aspired to compatibility
8796 # with the native linker. However, as the warning in the GNU ld
8797 # block says, versions before 2.19.5* couldn't really create working
8798 # shared libraries, regardless of the interface used.
8799 case `$LD -v 2>&1` in
8800 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8801 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8802 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8804 lt_use_gnu_ld_interface
=yes
8809 lt_use_gnu_ld_interface
=yes
8814 if test "$lt_use_gnu_ld_interface" = yes; then
8815 # If archive_cmds runs LD, not CC, wlarc should be empty
8818 # Set some defaults for GNU ld with shared library support. These
8819 # are reset later if shared libraries are not supported. Putting them
8820 # here allows them to be overridden if necessary.
8821 runpath_var
=LD_RUN_PATH
8822 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8823 export_dynamic_flag_spec
='${wl}--export-dynamic'
8824 # ancient GNU ld didn't support --whole-archive et. al.
8825 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8826 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8828 whole_archive_flag_spec
=
8830 supports_anon_versioning
=no
8831 case `$LD -v 2>&1` in
8832 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8833 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8834 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8835 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8836 *\
2.11.
*) ;; # other 2.11 versions
8837 *) supports_anon_versioning
=yes ;;
8840 # See if GNU ld supports shared libraries.
8843 # On AIX/PPC, the GNU linker is very broken
8844 if test "$host_cpu" != ia64
; then
8848 *** Warning: the GNU linker, at least up to release 2.19, is reported
8849 *** to be unable to reliably create shared libraries on AIX.
8850 *** Therefore, libtool is disabling shared libraries support. If you
8851 *** really care for shared libraries, you may want to install binutils
8852 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8853 *** You will then need to restart the configuration process.
8862 # see comment about AmigaOS4 .so support
8863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864 archive_expsym_cmds
=''
8867 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)'
8868 hardcode_libdir_flag_spec
='-L$libdir'
8869 hardcode_minus_L
=yes
8875 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8876 allow_undefined_flag
=unsupported
8877 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8878 # support --undefined. This deserves some investigation. FIXME
8879 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8885 cygwin
* | mingw
* | pw32
* | cegcc
*)
8886 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8887 # as there is no search path for DLLs.
8888 hardcode_libdir_flag_spec
='-L$libdir'
8889 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8890 allow_undefined_flag
=unsupported
8891 always_export_symbols
=no
8892 enable_shared_with_static_runtimes
=yes
8893 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8895 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8896 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8897 # If the export-symbols file already is a .def file (1st line
8898 # is EXPORTS), use it as is; otherwise, prepend...
8899 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8900 cp $export_symbols $output_objdir/$soname.def;
8902 echo EXPORTS > $output_objdir/$soname.def;
8903 cat $export_symbols >> $output_objdir/$soname.def;
8905 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8912 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8913 link_all_deplibs
=yes
8918 hardcode_shlibpath_var
=no
8919 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8920 export_dynamic_flag_spec
='${wl}-E'
8921 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8922 # Instead, shared libraries are loaded at an image base (0x10000000 by
8923 # default) and relocated if they conflict, which is a slow very memory
8924 # consuming and fragmenting process. To avoid this, we pick a random,
8925 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8926 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8927 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8928 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'
8931 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8933 if test "$host_os" = linux-dietlibc
; then
8934 case $cc_basename in
8935 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8938 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8939 && test "$tmp_diet" = no
8941 tmp_addflag
=' $pic_flag'
8942 tmp_sharedflag
='-shared'
8943 case $cc_basename,$host_cpu in
8944 pgcc
*) # Portland Group C compiler
8945 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'
8946 tmp_addflag
=' $pic_flag'
8948 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8949 # Portland Group f77 and f90 compilers
8950 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'
8951 tmp_addflag
=' $pic_flag -Mnomain' ;;
8952 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8953 tmp_addflag
=' -i_dynamic' ;;
8954 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8955 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8956 ifc
* | ifort
*) # Intel Fortran compiler
8957 tmp_addflag
=' -nofor_main' ;;
8958 lf95
*) # Lahey Fortran 8.1
8959 whole_archive_flag_spec
=
8960 tmp_sharedflag
='--shared' ;;
8961 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8962 tmp_sharedflag
='-qmkshrobj'
8964 nvcc
*) # Cuda Compiler Driver 2.2
8965 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'
8966 compiler_needs_object
=yes
8969 case `$CC -V 2>&1 | sed 5q` in
8970 *Sun\ C
*) # Sun C 5.9
8971 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'
8972 compiler_needs_object
=yes
8973 tmp_sharedflag
='-G' ;;
8974 *Sun\ F
*) # Sun Fortran 8.3
8975 tmp_sharedflag
='-G' ;;
8977 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979 if test "x$supports_anon_versioning" = xyes
; then
8980 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8981 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8982 echo "local: *; };" >> $output_objdir/$libname.ver~
8983 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8986 case $cc_basename in
8987 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8988 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8989 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8990 hardcode_libdir_flag_spec
=
8991 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8992 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8993 if test "x$supports_anon_versioning" = xyes
; then
8994 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8996 echo "local: *; };" >> $output_objdir/$libname.ver~
8997 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9007 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9008 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9017 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9022 *** create shared libraries on Solaris systems. Therefore, libtool
9023 *** is disabling shared libraries support. We urge you to upgrade GNU
9024 *** binutils to release 2.9.1 or newer. Another option is to modify
9025 *** your PATH or compiler configuration so that the native linker is
9026 *** used, and then restart.
9029 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9030 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9031 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9037 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9038 case `$LD -v 2>&1` in
9039 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9044 *** reliably create shared libraries on SCO systems. Therefore, libtool
9045 *** is disabling shared libraries support. We urge you to upgrade GNU
9046 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9047 *** your PATH or compiler configuration so that the native linker is
9048 *** used, and then restart.
9053 # For security reasons, it is highly recommended that you always
9054 # use absolute paths for naming shared libraries, and exclude the
9055 # DT_RUNPATH tag from executables and libraries. But doing so
9056 # requires that you compile everything twice, which is a pain.
9057 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9058 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9069 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9072 hardcode_shlibpath_var
=no
9076 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9077 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9078 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9085 if test "$ld_shlibs" = no
; then
9087 hardcode_libdir_flag_spec
=
9088 export_dynamic_flag_spec
=
9089 whole_archive_flag_spec
=
9092 # PORTME fill in a description of your system's linker (not GNU ld)
9095 allow_undefined_flag
=unsupported
9096 always_export_symbols
=yes
9097 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'
9098 # Note: this linker hardcodes the directories in LIBPATH if there
9099 # are no directories specified by -L.
9100 hardcode_minus_L
=yes
9101 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9102 # Neither direct hardcoding nor static linking is supported with a
9104 hardcode_direct
=unsupported
9109 if test "$host_cpu" = ia64
; then
9110 # On IA64, the linker does run time linking by default, so we don't
9111 # have to do anything special.
9112 aix_use_runtimelinking
=no
9113 exp_sym_flag
='-Bexport'
9116 # If we're using GNU nm, then we don't want the "-C" option.
9117 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9118 # Also, AIX nm treats weak defined symbols like other global
9119 # defined symbols, whereas GNU nm marks them as "W".
9120 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9121 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'
9123 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'
9125 aix_use_runtimelinking
=no
9127 # Test if we are trying to use run time linking or normal
9128 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9129 # need to do runtime linking.
9130 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9131 for ld_flag
in $LDFLAGS; do
9132 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9133 aix_use_runtimelinking
=yes
9140 exp_sym_flag
='-bexport'
9141 no_entry_flag
='-bnoentry'
9144 # When large executables or shared objects are built, AIX ld can
9145 # have problems creating the table of contents. If linking a library
9146 # or program results in "error TOC overflow" add -mminimal-toc to
9147 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9148 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9152 hardcode_direct_absolute
=yes
9153 hardcode_libdir_separator
=':'
9154 link_all_deplibs
=yes
9155 file_list_spec
='${wl}-f,'
9157 if test "$GCC" = yes; then
9158 case $host_os in aix4.
[012]|aix4.
[012].
*)
9159 # We only want to do this on AIX 4.2 and lower, the check
9160 # below for broken collect2 doesn't work under 4.3+
9161 collect2name
=`${CC} -print-prog-name=collect2`
9162 if test -f "$collect2name" &&
9163 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9165 # We have reworked collect2
9168 # We have old collect2
9169 hardcode_direct
=unsupported
9170 # It fails to find uninstalled libraries when the uninstalled
9171 # path is not listed in the libpath. Setting hardcode_minus_L
9172 # to unsupported forces relinking
9173 hardcode_minus_L
=yes
9174 hardcode_libdir_flag_spec
='-L$libdir'
9175 hardcode_libdir_separator
=
9179 shared_flag
='-shared'
9180 if test "$aix_use_runtimelinking" = yes; then
9181 shared_flag
="$shared_flag "'${wl}-G'
9185 if test "$host_cpu" = ia64
; then
9186 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9187 # chokes on -Wl,-G. The following line is correct:
9190 if test "$aix_use_runtimelinking" = yes; then
9191 shared_flag
='${wl}-G'
9193 shared_flag
='${wl}-bM:SRE'
9198 export_dynamic_flag_spec
='${wl}-bexpall'
9199 # It seems that -bexpall does not export symbols beginning with
9200 # underscore (_), so it is better to generate a list of symbols to export.
9201 always_export_symbols
=yes
9202 if test "$aix_use_runtimelinking" = yes; then
9203 # Warning - without using the other runtime loading flags (-brtl),
9204 # -berok will link without error, but may produce a broken library.
9205 allow_undefined_flag
='-berok'
9206 # Determine the default libpath from the value encoded in an
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9219 if ac_fn_c_try_link
"$LINENO"; then :
9221 lt_aix_libpath_sed
='
9222 /Import File Strings/,/^$/ {
9228 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9229 # Check for a 64-bit object if we didn't find anything.
9230 if test -z "$aix_libpath"; then
9231 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9234 rm -f core conftest.err conftest.
$ac_objext \
9235 conftest
$ac_exeext conftest.
$ac_ext
9236 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9238 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9239 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"
9241 if test "$host_cpu" = ia64
; then
9242 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9243 allow_undefined_flag
="-z nodefs"
9244 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"
9246 # Determine the default libpath from the value encoded in an
9248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9259 if ac_fn_c_try_link
"$LINENO"; then :
9261 lt_aix_libpath_sed
='
9262 /Import File Strings/,/^$/ {
9268 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9269 # Check for a 64-bit object if we didn't find anything.
9270 if test -z "$aix_libpath"; then
9271 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9274 rm -f core conftest.err conftest.
$ac_objext \
9275 conftest
$ac_exeext conftest.
$ac_ext
9276 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9278 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9279 # Warning - without using the other run time loading flags,
9280 # -berok will link without error, but may produce a broken library.
9281 no_undefined_flag
=' ${wl}-bernotok'
9282 allow_undefined_flag
=' ${wl}-berok'
9283 if test "$with_gnu_ld" = yes; then
9284 # We only use this code for GNU lds that support --whole-archive.
9285 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9287 # Exported symbols can be pulled into shared objects from archives
9288 whole_archive_flag_spec
='$convenience'
9290 archive_cmds_need_lc
=yes
9291 # This is similar to how AIX traditionally builds its shared libraries.
9292 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'
9300 # see comment about AmigaOS4 .so support
9301 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds
=''
9305 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)'
9306 hardcode_libdir_flag_spec
='-L$libdir'
9307 hardcode_minus_L
=yes
9313 export_dynamic_flag_spec
=-rdynamic
9316 cygwin
* | mingw
* | pw32
* | cegcc
*)
9317 # When not using gcc, we currently assume that we are using
9318 # Microsoft Visual C++.
9319 # hardcode_libdir_flag_spec is actually meaningless, as there is
9320 # no search path for DLLs.
9321 hardcode_libdir_flag_spec
=' '
9322 allow_undefined_flag
=unsupported
9323 # Tell ltmain to make .lib files, not .a files.
9325 # Tell ltmain to make .dll files, not .so files.
9327 # FIXME: Setting linknames here is a bad hack.
9328 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9329 # The linker will automatically build a .lib file if we build a DLL.
9330 old_archive_from_new_cmds
='true'
9331 # FIXME: Should let the user specify the lib program.
9332 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9333 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9334 enable_shared_with_static_runtimes
=yes
9337 darwin
* | rhapsody
*)
9340 archive_cmds_need_lc
=no
9342 hardcode_automatic
=yes
9343 hardcode_shlibpath_var
=unsupported
9344 if test "$lt_cv_ld_force_load" = "yes"; then
9345 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\"`'
9347 whole_archive_flag_spec
=''
9349 link_all_deplibs
=yes
9350 allow_undefined_flag
="$_lt_dar_allow_undefined"
9351 case $cc_basename in
9352 ifort
*) _lt_dar_can_shared
=yes ;;
9353 *) _lt_dar_can_shared
=$GCC ;;
9355 if test "$_lt_dar_can_shared" = "yes"; then
9356 output_verbose_link_cmd
=func_echo_all
9357 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9358 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9359 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}"
9360 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}"
9369 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9370 hardcode_libdir_flag_spec
='-L$libdir'
9371 hardcode_shlibpath_var
=no
9374 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9375 # support. Future versions do this automatically, but an explicit c++rt0.o
9376 # does not break anything, and helps significantly (at the cost of a little
9379 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9380 hardcode_libdir_flag_spec
='-R$libdir'
9382 hardcode_shlibpath_var
=no
9385 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9387 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9389 hardcode_minus_L
=yes
9390 hardcode_shlibpath_var
=no
9393 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9394 freebsd
* | dragonfly
*)
9395 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9396 hardcode_libdir_flag_spec
='-R$libdir'
9398 hardcode_shlibpath_var
=no
9402 if test "$GCC" = yes; then
9403 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'
9405 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'
9407 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9408 hardcode_libdir_separator
=:
9411 # hardcode_minus_L: Not really in the search PATH,
9412 # but as the default location of the library.
9413 hardcode_minus_L
=yes
9414 export_dynamic_flag_spec
='${wl}-E'
9418 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9419 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9423 if test "$with_gnu_ld" = no
; then
9424 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9425 hardcode_libdir_flag_spec_ld
='+b $libdir'
9426 hardcode_libdir_separator
=:
9428 hardcode_direct_absolute
=yes
9429 export_dynamic_flag_spec
='${wl}-E'
9430 # hardcode_minus_L: Not really in the search PATH,
9431 # but as the default location of the library.
9432 hardcode_minus_L
=yes
9437 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9440 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9446 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9455 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9459 # Older versions of the 11.00 compiler do not understand -b yet
9460 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9462 $as_echo_n "checking if $CC understands -b... " >&6; }
9463 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9464 $as_echo_n "(cached) " >&6
9466 lt_cv_prog_compiler__b
=no
9467 save_LDFLAGS
="$LDFLAGS"
9468 LDFLAGS
="$LDFLAGS -b"
9469 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9470 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9471 # The linker can only warn and ignore the option if not recognized
9472 # So say no if there are warnings
9473 if test -s conftest.err
; then
9474 # Append any errors to the config.log.
9475 cat conftest.err
1>&5
9476 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9478 if diff conftest.exp conftest.er2
>/dev
/null
; then
9479 lt_cv_prog_compiler__b
=yes
9482 lt_cv_prog_compiler__b
=yes
9486 LDFLAGS
="$save_LDFLAGS"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9490 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9492 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9493 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9501 if test "$with_gnu_ld" = no
; then
9502 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9503 hardcode_libdir_separator
=:
9508 hardcode_shlibpath_var
=no
9512 hardcode_direct_absolute
=yes
9513 export_dynamic_flag_spec
='${wl}-E'
9515 # hardcode_minus_L: Not really in the search PATH,
9516 # but as the default location of the library.
9517 hardcode_minus_L
=yes
9523 irix5
* | irix6
* | nonstopux
*)
9524 if test "$GCC" = yes; then
9525 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'
9526 # Try to use the -exported_symbol ld option, if it does not
9527 # work, assume that -exports_file does not work either and
9528 # implicitly export all symbols.
9529 save_LDFLAGS
="$LDFLAGS"
9530 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9535 if ac_fn_c_try_link
"$LINENO"; then :
9536 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'
9539 rm -f core conftest.err conftest.
$ac_objext \
9540 conftest
$ac_exeext conftest.
$ac_ext
9541 LDFLAGS
="$save_LDFLAGS"
9543 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'
9544 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'
9546 archive_cmds_need_lc
='no'
9547 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9548 hardcode_libdir_separator
=:
9550 link_all_deplibs
=yes
9554 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9557 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9559 hardcode_libdir_flag_spec
='-R$libdir'
9561 hardcode_shlibpath_var
=no
9565 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9568 hardcode_libdir_separator
=:
9569 hardcode_shlibpath_var
=no
9576 if test -f /usr
/libexec
/ld.so
; then
9578 hardcode_shlibpath_var
=no
9579 hardcode_direct_absolute
=yes
9580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9581 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9583 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9584 export_dynamic_flag_spec
='${wl}-E'
9587 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9588 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_libdir_flag_spec
='-R$libdir'
9592 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9593 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9603 hardcode_libdir_flag_spec
='-L$libdir'
9604 hardcode_minus_L
=yes
9605 allow_undefined_flag
=unsupported
9606 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'
9607 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9611 if test "$GCC" = yes; then
9612 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9613 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'
9615 allow_undefined_flag
=' -expect_unresolved \*'
9616 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'
9618 archive_cmds_need_lc
='no'
9619 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9620 hardcode_libdir_separator
=:
9623 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9624 if test "$GCC" = yes; then
9625 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9626 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'
9627 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9629 allow_undefined_flag
=' -expect_unresolved \*'
9630 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'
9631 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~
9632 $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'
9634 # Both c and cxx compiler support -rpath directly
9635 hardcode_libdir_flag_spec
='-rpath $libdir'
9637 archive_cmds_need_lc
='no'
9638 hardcode_libdir_separator
=:
9642 no_undefined_flag
=' -z defs'
9643 if test "$GCC" = yes; then
9645 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9647 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9649 case `$CC -V 2>&1` in
9652 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9654 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9658 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9660 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9664 hardcode_libdir_flag_spec
='-R$libdir'
9665 hardcode_shlibpath_var
=no
9667 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9669 # The compiler driver will combine and reorder linker options,
9670 # but understands `-z linker_flag'. GCC discards it without `$wl',
9671 # but is careful enough not to reorder.
9672 # Supported since Solaris 2.6 (maybe 2.5.1?)
9673 if test "$GCC" = yes; then
9674 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9676 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9680 link_all_deplibs
=yes
9684 if test "x$host_vendor" = xsequent
; then
9685 # Use $CC to link under sequent, because it throws in some extra .o
9686 # files that make .init and .fini sections work.
9687 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9689 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9691 hardcode_libdir_flag_spec
='-L$libdir'
9693 hardcode_minus_L
=yes
9694 hardcode_shlibpath_var
=no
9698 case $host_vendor in
9700 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_direct
=yes # is this really true???
9704 ## LD is ld it makes a PLAMLIB
9705 ## CC just makes a GrossModule.
9706 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9707 reload_cmds
='$CC -r -o $output$reload_objs'
9711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9715 runpath_var
='LD_RUN_PATH'
9716 hardcode_shlibpath_var
=no
9720 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9721 hardcode_shlibpath_var
=no
9722 export_dynamic_flag_spec
='-Bexport'
9726 if test -d /usr
/nec
; then
9727 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9728 hardcode_shlibpath_var
=no
9729 runpath_var
=LD_RUN_PATH
9730 hardcode_runpath_var
=yes
9735 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9736 no_undefined_flag
='${wl}-z,text'
9737 archive_cmds_need_lc
=no
9738 hardcode_shlibpath_var
=no
9739 runpath_var
='LD_RUN_PATH'
9741 if test "$GCC" = yes; then
9742 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 sysv5
* | sco3.2v5
* | sco5v6
*)
9751 # Note: We can NOT use -z defs as we might desire, because we do not
9752 # link with -lc, and that would cause any symbols used from libc to
9753 # always be unresolved, which means just about no library would
9754 # ever link correctly. If we're not using GNU ld we use -z text
9755 # though, which does catch some bad symbols but isn't as heavy-handed
9757 no_undefined_flag
='${wl}-z,text'
9758 allow_undefined_flag
='${wl}-z,nodefs'
9759 archive_cmds_need_lc
=no
9760 hardcode_shlibpath_var
=no
9761 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9762 hardcode_libdir_separator
=':'
9763 link_all_deplibs
=yes
9764 export_dynamic_flag_spec
='${wl}-Bexport'
9765 runpath_var
='LD_RUN_PATH'
9767 if test "$GCC" = yes; then
9768 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9778 hardcode_libdir_flag_spec
='-L$libdir'
9779 hardcode_shlibpath_var
=no
9787 if test x
$host_vendor = xsni
; then
9789 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9790 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9797 $as_echo "$ld_shlibs" >&6; }
9798 test "$ld_shlibs" = no
&& can_build_shared
=no
9800 with_gnu_ld
=$with_gnu_ld
9817 # Do we need to explicitly link libc?
9819 case "x$archive_cmds_need_lc" in
9821 # Assume -lc should be added
9822 archive_cmds_need_lc
=yes
9824 if test "$enable_shared" = yes && test "$GCC" = yes; then
9825 case $archive_cmds in
9827 # FIXME: we may have to deal with multi-command sequences.
9830 # Test whether the compiler implicitly links with -lc since on some
9831 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9832 # to ld, don't add -lc before -lgcc.
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9834 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9835 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9836 $as_echo_n "(cached) " >&6
9839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9842 (eval $ac_compile) 2>&5
9844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9845 test $ac_status = 0; } 2>conftest.err
; then
9848 libobjs
=conftest.
$ac_objext
9850 wl
=$lt_prog_compiler_wl
9851 pic_flag
=$lt_prog_compiler_pic
9857 lt_save_allow_undefined_flag
=$allow_undefined_flag
9858 allow_undefined_flag
=
9859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9860 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9863 test $ac_status = 0; }
9865 lt_cv_archive_cmds_need_lc
=no
9867 lt_cv_archive_cmds_need_lc
=yes
9869 allow_undefined_flag
=$lt_save_allow_undefined_flag
9871 cat conftest.err
1>&5
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9877 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9878 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10042 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10044 if test "$GCC" = yes; then
10046 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10047 *) lt_awk_arg
="/^libraries:/" ;;
10050 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10051 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10053 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10054 case $lt_search_path_spec in
10056 # if the path contains ";" then we assume it to be the separator
10057 # otherwise default to the standard path separator (i.e. ":") - it is
10058 # assumed that no part of a normal pathname contains ";" but that should
10059 # okay in the real world where ";" in dirpaths is itself problematic.
10060 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10063 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10066 # Ok, now we have the path, separated by spaces, we can step through it
10067 # and add multilib dir if necessary.
10068 lt_tmp_lt_search_path_spec
=
10069 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10070 for lt_sys_path
in $lt_search_path_spec; do
10071 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10072 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10074 test -d "$lt_sys_path" && \
10075 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10078 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10079 BEGIN {RS=" "; FS="/|\n";} {
10082 for (lt_i = NF; lt_i > 0; lt_i--) {
10083 if ($lt_i != "" && $lt_i != ".") {
10084 if ($lt_i == "..") {
10087 if (lt_count == 0) {
10088 lt_foo="/" $lt_i lt_foo;
10095 if (lt_foo != "") { lt_freq[lt_foo]++; }
10096 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10098 # AWK program above erroneously prepends '/' to C:/dos/paths
10101 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10102 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10104 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10106 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10108 library_names_spec
=
10109 libname_spec
='lib$name'
10113 postuninstall_cmds
=
10117 shlibpath_overrides_runpath
=unknown
10119 dynamic_linker
="$host_os ld.so"
10120 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10121 need_lib_prefix
=unknown
10122 hardcode_into_libs
=no
10124 # when you set need_version to no, make sure it does not cause -set_version
10125 # flags to be left without arguments
10126 need_version
=unknown
10131 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10132 shlibpath_var
=LIBPATH
10134 # AIX 3 has no versioning support, so we append a major version to the name.
10135 soname_spec
='${libname}${release}${shared_ext}$major'
10142 hardcode_into_libs
=yes
10143 if test "$host_cpu" = ia64
; then
10144 # AIX 5 supports IA64
10145 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10146 shlibpath_var
=LD_LIBRARY_PATH
10148 # With GCC up to 2.95.x, collect2 would create an import file
10149 # for dependence libraries. The import file would start with
10150 # the line `#! .'. This would cause the generated library to
10151 # depend on `.', always an invalid library. This was fixed in
10152 # development snapshots of GCC prior to 3.0.
10154 aix4 | aix4.
[01] | aix4.
[01].
*)
10155 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10157 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10160 can_build_shared
=no
10164 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10165 # soname into executable. Probably we can add versioning support to
10166 # collect2, so additional links can be useful in future.
10167 if test "$aix_use_runtimelinking" = yes; then
10168 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10169 # instead of lib<name>.a to let people know that these are not
10170 # typical AIX shared libraries.
10171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10173 # We preserve .a as extension for shared libraries through AIX4.2
10174 # and later when we are not doing run time linking.
10175 library_names_spec
='${libname}${release}.a $libname.a'
10176 soname_spec
='${libname}${release}${shared_ext}$major'
10178 shlibpath_var
=LIBPATH
10185 # Since July 2007 AmigaOS4 officially supports .so libraries.
10186 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190 library_names_spec
='$libname.ixlibrary $libname.a'
10191 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10192 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'
10198 library_names_spec
='${libname}${shared_ext}'
10199 dynamic_linker
="$host_os ld.so"
10200 shlibpath_var
=LIBRARY_PATH
10206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10207 soname_spec
='${libname}${release}${shared_ext}$major'
10208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10209 shlibpath_var
=LD_LIBRARY_PATH
10210 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10211 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10212 # the default ld.so.conf also contains /usr/contrib/lib and
10213 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10214 # libtool to hard-code these into programs
10217 cygwin
* | mingw
* | pw32
* | cegcc
*)
10218 version_type
=windows
10223 case $GCC,$host_os in
10224 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10225 library_names_spec
='$libname.dll.a'
10226 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10227 postinstall_cmds
='base_file=`basename \${file}`~
10228 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10229 dldir=$destdir/`dirname \$dlpath`~
10230 test -d \$dldir || mkdir -p \$dldir~
10231 $install_prog $dir/$dlname \$dldir/$dlname~
10232 chmod a+x \$dldir/$dlname~
10233 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10234 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10236 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10237 dlpath=$dir/\$dldll~
10239 shlibpath_overrides_runpath
=yes
10243 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10244 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10246 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10249 # MinGW DLLs use traditional 'lib' prefix
10250 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10253 # pw32 DLLs use 'pw' prefix rather than 'lib'
10254 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10260 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10263 dynamic_linker
='Win32 ld.exe'
10264 # FIXME: first we should search . and the directory the executable is in
10268 darwin
* | rhapsody
*)
10269 dynamic_linker
="$host_os dyld"
10270 version_type
=darwin
10273 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10274 soname_spec
='${libname}${release}${major}$shared_ext'
10275 shlibpath_overrides_runpath
=yes
10276 shlibpath_var
=DYLD_LIBRARY_PATH
10277 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10279 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10280 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10288 soname_spec
='${libname}${release}${shared_ext}$major'
10289 shlibpath_var
=LD_LIBRARY_PATH
10292 freebsd
* | dragonfly
*)
10293 # DragonFly does not have aout. When/if they implement a new
10294 # versioning mechanism, adjust this.
10295 if test -x /usr
/bin
/objformat
; then
10296 objformat
=`/usr/bin/objformat`
10299 freebsd
[23].
*) objformat
=aout
;;
10300 *) objformat
=elf
;;
10303 version_type
=freebsd-
$objformat
10304 case $version_type in
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10311 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10315 shlibpath_var
=LD_LIBRARY_PATH
10318 shlibpath_overrides_runpath
=yes
10320 freebsd3.
[01]* | freebsdelf3.
[01]*)
10321 shlibpath_overrides_runpath
=yes
10322 hardcode_into_libs
=yes
10324 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10325 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10326 shlibpath_overrides_runpath
=no
10327 hardcode_into_libs
=yes
10329 *) # from 4.6 on, and DragonFly
10330 shlibpath_overrides_runpath
=yes
10331 hardcode_into_libs
=yes
10340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10341 soname_spec
='${libname}${release}${shared_ext}$major'
10342 shlibpath_var
=LD_LIBRARY_PATH
10343 hardcode_into_libs
=yes
10350 dynamic_linker
="$host_os runtime_loader"
10351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10352 soname_spec
='${libname}${release}${shared_ext}$major'
10353 shlibpath_var
=LIBRARY_PATH
10354 shlibpath_overrides_runpath
=yes
10355 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10356 hardcode_into_libs
=yes
10359 hpux9
* | hpux10
* | hpux11
*)
10360 # Give a soname corresponding to the major version so that dld.sl refuses to
10361 # link against other versions.
10368 hardcode_into_libs
=yes
10369 dynamic_linker
="$host_os dld.so"
10370 shlibpath_var
=LD_LIBRARY_PATH
10371 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10373 soname_spec
='${libname}${release}${shared_ext}$major'
10374 if test "X$HPUX_IA64_MODE" = X32
; then
10375 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10377 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10379 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10383 hardcode_into_libs
=yes
10384 dynamic_linker
="$host_os dld.sl"
10385 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10386 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388 soname_spec
='${libname}${release}${shared_ext}$major'
10389 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10390 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10394 dynamic_linker
="$host_os dld.sl"
10395 shlibpath_var
=SHLIB_PATH
10396 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398 soname_spec
='${libname}${release}${shared_ext}$major'
10401 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10402 postinstall_cmds
='chmod 555 $lib'
10403 # or fails outright, so override atomically:
10404 install_override_mode
=555
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10412 soname_spec
='${libname}${release}${shared_ext}$major'
10413 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10414 shlibpath_var
=LD_LIBRARY_PATH
10415 shlibpath_overrides_runpath
=no
10416 hardcode_into_libs
=yes
10419 irix5
* | irix6
* | nonstopux
*)
10421 nonstopux
*) version_type
=nonstopux
;;
10423 if test "$lt_cv_prog_gnu_ld" = yes; then
10431 soname_spec
='${libname}${release}${shared_ext}$major'
10432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10434 irix5
* | nonstopux
*)
10435 libsuff
= shlibsuff
=
10438 case $LD in # libtool.m4 will add one of these switches to LD
10439 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10440 libsuff
= shlibsuff
= libmagic
=32-bit;;
10441 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10442 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10443 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10444 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10445 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10449 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10450 shlibpath_overrides_runpath
=no
10451 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10452 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10453 hardcode_into_libs
=yes
10456 # No shared lib support for Linux oldld, aout, or coff.
10457 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10461 # This must be Linux ELF.
10462 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 soname_spec
='${libname}${release}${shared_ext}$major'
10468 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10469 shlibpath_var
=LD_LIBRARY_PATH
10470 shlibpath_overrides_runpath
=no
10472 # Some binutils ld are patched to set DT_RUNPATH
10473 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10474 $as_echo_n "(cached) " >&6
10476 lt_cv_shlibpath_overrides_runpath
=no
10477 save_LDFLAGS
=$LDFLAGS
10478 save_libdir
=$libdir
10479 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10480 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10492 if ac_fn_c_try_link
"$LINENO"; then :
10493 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10494 lt_cv_shlibpath_overrides_runpath
=yes
10497 rm -f core conftest.err conftest.
$ac_objext \
10498 conftest
$ac_exeext conftest.
$ac_ext
10499 LDFLAGS
=$save_LDFLAGS
10500 libdir
=$save_libdir
10504 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10506 # This implies no fast_install, which is unacceptable.
10507 # Some rework will be needed to allow for fast_install
10508 # before this can be enabled.
10509 hardcode_into_libs
=yes
10511 # Append ld.so.conf contents to the search path
10512 if test -f /etc
/ld.so.conf
; then
10513 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' ' '`
10514 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10517 # We used to test for /lib/ld.so.1 and disable shared libraries on
10518 # powerpc, because MkLinux only supported shared libraries with the
10519 # GNU dynamic linker. Since this was broken with cross compilers,
10520 # most powerpc-linux boxes support dynamic linking these days and
10521 # people can always --disable-shared, the test was removed, and we
10522 # assume the GNU/Linux dynamic linker is in use.
10523 dynamic_linker
='GNU/Linux ld.so'
10530 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10533 dynamic_linker
='NetBSD (a.out) ld.so'
10535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10537 dynamic_linker
='NetBSD ld.elf_so'
10539 shlibpath_var
=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath
=yes
10541 hardcode_into_libs
=yes
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath
=yes
10555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556 soname_spec
='${libname}${release}${shared_ext}$major'
10557 shlibpath_var
=LD_LIBRARY_PATH
10558 shlibpath_overrides_runpath
=no
10559 hardcode_into_libs
=yes
10560 dynamic_linker
='ldqnx.so'
10565 sys_lib_dlsearch_path_spec
="/usr/lib"
10567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10569 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10570 *) need_version
=no
;;
10572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10573 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10577 openbsd2.
[89] | openbsd2.
[89].
*)
10578 shlibpath_overrides_runpath
=no
10581 shlibpath_overrides_runpath
=yes
10585 shlibpath_overrides_runpath
=yes
10590 libname_spec
='$name'
10593 library_names_spec
='$libname${shared_ext} $libname.a'
10594 dynamic_linker
='OS/2 ld.exe'
10595 shlibpath_var
=LIBPATH
10598 osf3
* | osf4
* | osf5
*)
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604 shlibpath_var
=LD_LIBRARY_PATH
10605 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10606 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618 soname_spec
='${libname}${release}${shared_ext}$major'
10619 shlibpath_var
=LD_LIBRARY_PATH
10620 shlibpath_overrides_runpath
=yes
10621 hardcode_into_libs
=yes
10622 # ldd complains unless libraries are executable
10623 postinstall_cmds
='chmod +x $lib'
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10629 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10630 shlibpath_var
=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath
=yes
10632 if test "$with_gnu_ld" = yes; then
10640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641 soname_spec
='${libname}${release}${shared_ext}$major'
10642 shlibpath_var
=LD_LIBRARY_PATH
10643 case $host_vendor in
10645 shlibpath_overrides_runpath
=no
10647 runpath_var
=LD_RUN_PATH
10655 shlibpath_overrides_runpath
=no
10656 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10662 if test -d /usr
/nec
;then
10664 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10665 soname_spec
='$libname${shared_ext}.$major'
10666 shlibpath_var
=LD_LIBRARY_PATH
10670 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10671 version_type
=freebsd-elf
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10675 soname_spec
='${libname}${release}${shared_ext}$major'
10676 shlibpath_var
=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath
=yes
10678 hardcode_into_libs
=yes
10679 if test "$with_gnu_ld" = yes; then
10680 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10682 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10685 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10689 sys_lib_dlsearch_path_spec
='/usr/lib'
10693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698 shlibpath_var
=LD_LIBRARY_PATH
10699 shlibpath_overrides_runpath
=no
10700 hardcode_into_libs
=yes
10705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 soname_spec
='${libname}${release}${shared_ext}$major'
10707 shlibpath_var
=LD_LIBRARY_PATH
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10715 $as_echo "$dynamic_linker" >&6; }
10716 test "$dynamic_linker" = no
&& can_build_shared
=no
10718 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10719 if test "$GCC" = yes; then
10720 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10723 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10724 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10726 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10727 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10822 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10824 if test -n "$hardcode_libdir_flag_spec" ||
10825 test -n "$runpath_var" ||
10826 test "X$hardcode_automatic" = "Xyes" ; then
10828 # We can hardcode non-existent directories.
10829 if test "$hardcode_direct" != no
&&
10830 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10831 # have to relink, otherwise we might link with an installed library
10832 # when we should be linking with a yet-to-be-installed one
10833 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10834 test "$hardcode_minus_L" != no
; then
10835 # Linking always hardcodes the temporary library directory.
10836 hardcode_action
=relink
10838 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10839 hardcode_action
=immediate
10842 # We cannot hardcode anything, or else we can only hardcode existing
10844 hardcode_action
=unsupported
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10847 $as_echo "$hardcode_action" >&6; }
10849 if test "$hardcode_action" = relink ||
10850 test "$inherit_rpath" = yes; then
10851 # Fast installation is not supported
10852 enable_fast_install
=no
10853 elif test "$shlibpath_overrides_runpath" = yes ||
10854 test "$enable_shared" = no
; then
10855 # Fast installation is not necessary
10856 enable_fast_install
=needless
10864 if test "x$enable_dlopen" != xyes
; then
10865 enable_dlopen
=unknown
10866 enable_dlopen_self
=unknown
10867 enable_dlopen_self_static
=unknown
10874 lt_cv_dlopen
="load_add_on"
10876 lt_cv_dlopen_self
=yes
10879 mingw
* | pw32
* | cegcc
*)
10880 lt_cv_dlopen
="LoadLibrary"
10885 lt_cv_dlopen
="dlopen"
10890 # if libdl is installed we need to link against it
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10892 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10893 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10894 $as_echo_n "(cached) " >&6
10896 ac_check_lib_save_LIBS
=$LIBS
10898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10916 if ac_fn_c_try_link
"$LINENO"; then :
10917 ac_cv_lib_dl_dlopen
=yes
10919 ac_cv_lib_dl_dlopen
=no
10921 rm -f core conftest.err conftest.
$ac_objext \
10922 conftest
$ac_exeext conftest.
$ac_ext
10923 LIBS
=$ac_check_lib_save_LIBS
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10926 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10927 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10928 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10931 lt_cv_dlopen
="dyld"
10933 lt_cv_dlopen_self
=yes
10940 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10941 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10942 lt_cv_dlopen
="shl_load"
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10945 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10946 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10947 $as_echo_n "(cached) " >&6
10949 ac_check_lib_save_LIBS
=$LIBS
10951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10964 return shl_load ();
10969 if ac_fn_c_try_link
"$LINENO"; then :
10970 ac_cv_lib_dld_shl_load
=yes
10972 ac_cv_lib_dld_shl_load
=no
10974 rm -f core conftest.err conftest.
$ac_objext \
10975 conftest
$ac_exeext conftest.
$ac_ext
10976 LIBS
=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10979 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10980 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10981 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10983 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10984 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10985 lt_cv_dlopen
="dlopen"
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10988 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10989 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10990 $as_echo_n "(cached) " >&6
10992 ac_check_lib_save_LIBS
=$LIBS
10994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11012 if ac_fn_c_try_link
"$LINENO"; then :
11013 ac_cv_lib_dl_dlopen
=yes
11015 ac_cv_lib_dl_dlopen
=no
11017 rm -f core conftest.err conftest.
$ac_objext \
11018 conftest
$ac_exeext conftest.
$ac_ext
11019 LIBS
=$ac_check_lib_save_LIBS
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11023 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11024 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11027 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11028 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11029 $as_echo_n "(cached) " >&6
11031 ac_check_lib_save_LIBS
=$LIBS
11032 LIBS
="-lsvld $LIBS"
11033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11051 if ac_fn_c_try_link
"$LINENO"; then :
11052 ac_cv_lib_svld_dlopen
=yes
11054 ac_cv_lib_svld_dlopen
=no
11056 rm -f core conftest.err conftest.
$ac_objext \
11057 conftest
$ac_exeext conftest.
$ac_ext
11058 LIBS
=$ac_check_lib_save_LIBS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11061 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11062 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11063 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11066 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11067 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_lib_save_LIBS
=$LIBS
11072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11085 return dld_link ();
11090 if ac_fn_c_try_link
"$LINENO"; then :
11091 ac_cv_lib_dld_dld_link
=yes
11093 ac_cv_lib_dld_dld_link
=no
11095 rm -f core conftest.err conftest.
$ac_objext \
11096 conftest
$ac_exeext conftest.
$ac_ext
11097 LIBS
=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11100 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11101 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11102 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11123 if test "x$lt_cv_dlopen" != xno
; then
11129 case $lt_cv_dlopen in
11131 save_CPPFLAGS
="$CPPFLAGS"
11132 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11134 save_LDFLAGS
="$LDFLAGS"
11135 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11138 LIBS
="$lt_cv_dlopen_libs $LIBS"
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11141 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11142 if test "${lt_cv_dlopen_self+set}" = set; then :
11143 $as_echo_n "(cached) " >&6
11145 if test "$cross_compiling" = yes; then :
11146 lt_cv_dlopen_self
=cross
11148 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11149 lt_status
=$lt_dlunknown
11150 cat > conftest.
$ac_ext <<_LT_EOF
11151 #line 11151 "configure"
11152 #include "confdefs.h"
11161 # define LT_DLGLOBAL RTLD_GLOBAL
11164 # define LT_DLGLOBAL DL_GLOBAL
11166 # define LT_DLGLOBAL 0
11170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11171 find out it does not work in some platform. */
11172 #ifndef LT_DLLAZY_OR_NOW
11174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11177 # define LT_DLLAZY_OR_NOW DL_LAZY
11180 # define LT_DLLAZY_OR_NOW RTLD_NOW
11183 # define LT_DLLAZY_OR_NOW DL_NOW
11185 # define LT_DLLAZY_OR_NOW 0
11192 /* When -fvisbility=hidden is used, assume the code has been annotated
11193 correspondingly for the symbols needed. */
11194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11195 void fnord () __attribute__((visibility("default")));
11198 void fnord () { int i=42; }
11201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11202 int status = $lt_dlunknown;
11206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11209 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11210 else puts (dlerror ());
11212 /* dlclose (self); */
11220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11221 (eval $ac_link) 2>&5
11223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11224 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11225 (.
/conftest
; exit; ) >&5 2>/dev
/null
11227 case x
$lt_status in
11228 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11229 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11230 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11233 # compilation failed
11234 lt_cv_dlopen_self
=no
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11242 $as_echo "$lt_cv_dlopen_self" >&6; }
11244 if test "x$lt_cv_dlopen_self" = xyes
; then
11245 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11247 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11248 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11249 $as_echo_n "(cached) " >&6
11251 if test "$cross_compiling" = yes; then :
11252 lt_cv_dlopen_self_static
=cross
11254 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11255 lt_status
=$lt_dlunknown
11256 cat > conftest.
$ac_ext <<_LT_EOF
11257 #line 11257 "configure"
11258 #include "confdefs.h"
11267 # define LT_DLGLOBAL RTLD_GLOBAL
11270 # define LT_DLGLOBAL DL_GLOBAL
11272 # define LT_DLGLOBAL 0
11276 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11277 find out it does not work in some platform. */
11278 #ifndef LT_DLLAZY_OR_NOW
11280 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11283 # define LT_DLLAZY_OR_NOW DL_LAZY
11286 # define LT_DLLAZY_OR_NOW RTLD_NOW
11289 # define LT_DLLAZY_OR_NOW DL_NOW
11291 # define LT_DLLAZY_OR_NOW 0
11298 /* When -fvisbility=hidden is used, assume the code has been annotated
11299 correspondingly for the symbols needed. */
11300 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11301 void fnord () __attribute__((visibility("default")));
11304 void fnord () { int i=42; }
11307 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11308 int status = $lt_dlunknown;
11312 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11315 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11316 else puts (dlerror ());
11318 /* dlclose (self); */
11326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11327 (eval $ac_link) 2>&5
11329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11330 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11331 (.
/conftest
; exit; ) >&5 2>/dev
/null
11333 case x
$lt_status in
11334 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11335 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11336 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11339 # compilation failed
11340 lt_cv_dlopen_self_static
=no
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11348 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11351 CPPFLAGS
="$save_CPPFLAGS"
11352 LDFLAGS
="$save_LDFLAGS"
11357 case $lt_cv_dlopen_self in
11358 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11359 *) enable_dlopen_self
=unknown
;;
11362 case $lt_cv_dlopen_self_static in
11363 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11364 *) enable_dlopen_self_static
=unknown
;;
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11387 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11388 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11389 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11390 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11392 $as_echo "yes" >&6; }
11394 # FIXME - insert some real tests, host_os isn't really good enough
11397 if test -n "$STRIP" ; then
11398 striplib
="$STRIP -x"
11399 old_striplib
="$STRIP -S"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11401 $as_echo "yes" >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11404 $as_echo "no" >&6; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11409 $as_echo "no" >&6; }
11425 # Report which library types will actually be built
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11427 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11429 $as_echo "$can_build_shared" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11432 $as_echo_n "checking whether to build shared libraries... " >&6; }
11433 test "$can_build_shared" = "no" && enable_shared
=no
11435 # On AIX, shared libraries and static libraries use the same namespace, and
11436 # are all built from PIC.
11439 test "$enable_shared" = yes && enable_static
=no
11440 if test -n "$RANLIB"; then
11441 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11442 postinstall_cmds
='$RANLIB $lib'
11447 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11448 test "$enable_shared" = yes && enable_static
=no
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11453 $as_echo "$enable_shared" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11456 $as_echo_n "checking whether to build static libraries... " >&6; }
11457 # Make sure either enable_shared or enable_static is yes.
11458 test "$enable_shared" = yes || enable_static
=yes
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11460 $as_echo "$enable_static" >&6; }
11467 ac_cpp
='$CPP $CPPFLAGS'
11468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11486 ac_config_commands
="$ac_config_commands libtool"
11491 # Only expand once:
11496 # Check whether --enable-largefile was given.
11497 if test "${enable_largefile+set}" = set; then :
11498 enableval
=$enable_largefile;
11501 if test "$enable_largefile" != no
; then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11504 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11505 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11506 $as_echo_n "(cached) " >&6
11508 ac_cv_sys_largefile_CC
=no
11509 if test "$GCC" != yes; then
11512 # IRIX 6.2 and later do not support large files by default,
11513 # so use the C compiler's -n32 option if that helps.
11514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 #include <sys/types.h>
11517 /* Check that off_t can represent 2**63 - 1 correctly.
11518 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11519 since some C++ compilers masquerading as C compilers
11520 incorrectly reject 9223372036854775807. */
11521 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11522 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11523 && LARGE_OFF_T % 2147483647 == 1)
11533 if ac_fn_c_try_compile
"$LINENO"; then :
11536 rm -f core conftest.err conftest.
$ac_objext
11538 if ac_fn_c_try_compile
"$LINENO"; then :
11539 ac_cv_sys_largefile_CC
=' -n32'; break
11541 rm -f core conftest.err conftest.
$ac_objext
11545 rm -f conftest.
$ac_ext
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11549 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11550 if test "$ac_cv_sys_largefile_CC" != no
; then
11551 CC
=$CC$ac_cv_sys_largefile_CC
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11555 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11556 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11557 $as_echo_n "(cached) " >&6
11560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11562 #include <sys/types.h>
11563 /* Check that off_t can represent 2**63 - 1 correctly.
11564 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11565 since some C++ compilers masquerading as C compilers
11566 incorrectly reject 9223372036854775807. */
11567 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11568 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11569 && LARGE_OFF_T % 2147483647 == 1)
11579 if ac_fn_c_try_compile
"$LINENO"; then :
11580 ac_cv_sys_file_offset_bits
=no
; break
11582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585 #define _FILE_OFFSET_BITS 64
11586 #include <sys/types.h>
11587 /* Check that off_t can represent 2**63 - 1 correctly.
11588 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11589 since some C++ compilers masquerading as C compilers
11590 incorrectly reject 9223372036854775807. */
11591 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11592 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11593 && LARGE_OFF_T % 2147483647 == 1)
11603 if ac_fn_c_try_compile
"$LINENO"; then :
11604 ac_cv_sys_file_offset_bits
=64; break
11606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11607 ac_cv_sys_file_offset_bits
=unknown
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11612 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11613 case $ac_cv_sys_file_offset_bits in #(
11616 cat >>confdefs.h
<<_ACEOF
11617 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11622 if test $ac_cv_sys_file_offset_bits = unknown
; then
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11624 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11625 if test "${ac_cv_sys_large_files+set}" = set; then :
11626 $as_echo_n "(cached) " >&6
11629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11631 #include <sys/types.h>
11632 /* Check that off_t can represent 2**63 - 1 correctly.
11633 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11634 since some C++ compilers masquerading as C compilers
11635 incorrectly reject 9223372036854775807. */
11636 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11637 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11638 && LARGE_OFF_T % 2147483647 == 1)
11648 if ac_fn_c_try_compile
"$LINENO"; then :
11649 ac_cv_sys_large_files
=no
; break
11651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 #define _LARGE_FILES 1
11655 #include <sys/types.h>
11656 /* Check that off_t can represent 2**63 - 1 correctly.
11657 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11658 since some C++ compilers masquerading as C compilers
11659 incorrectly reject 9223372036854775807. */
11660 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11661 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11662 && LARGE_OFF_T % 2147483647 == 1)
11672 if ac_fn_c_try_compile
"$LINENO"; then :
11673 ac_cv_sys_large_files
=1; break
11675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11676 ac_cv_sys_large_files
=unknown
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11681 $as_echo "$ac_cv_sys_large_files" >&6; }
11682 case $ac_cv_sys_large_files in #(
11685 cat >>confdefs.h
<<_ACEOF
11686 #define _LARGE_FILES $ac_cv_sys_large_files
11695 backtrace_supported
=yes
11697 if test -n "${with_target_subdir}"; then
11698 # We are compiling a GCC library. We can assume that the unwind
11700 BACKTRACE_FILE
="backtrace.lo simple.lo"
11702 ac_fn_c_check_header_mongrel
"$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11703 if test "x$ac_cv_header_unwind_h" = x
""yes; then :
11704 ac_fn_c_check_func
"$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11705 if test "x$ac_cv_func__Unwind_Backtrace" = x
""yes; then :
11706 BACKTRACE_FILE
="backtrace.lo simple.lo"
11708 BACKTRACE_FILE
="nounwind.lo"
11709 backtrace_supported
=no
11713 BACKTRACE_FILE
="nounwind.lo"
11714 backtrace_supported
=no
11722 if test -n "${with_target_subdir}"; then
11723 EXTRA_FLAGS
="-funwind-tables -frandom-seed=\$@"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
11726 $as_echo_n "checking for -funwind-tables option... " >&6; }
11727 if test "${libbacktrace_cv_c_unwind_tables+set}" = set; then :
11728 $as_echo_n "(cached) " >&6
11730 CFLAGS_hold
="$CFLAGS"
11731 CFLAGS
="$CFLAGS -funwind-tables"
11732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11734 static int f() { return 0; }
11743 if ac_fn_c_try_compile
"$LINENO"; then :
11744 libbacktrace_cv_c_unwind_tables
=yes
11746 libbacktrace_cv_c_unwind_tables
=no
11748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11749 CFLAGS
="$CFLAGS_hold"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
11752 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
11753 if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
11754 EXTRA_FLAGS
=-funwind-tables
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
11757 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
11758 if test "${libbacktrace_cv_c_random_seed_string+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11761 CFLAGS_hold
="$CFLAGS"
11762 CFLAGS
="$CFLAGS -frandom-seed=conftest.lo"
11763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11774 if ac_fn_c_try_compile
"$LINENO"; then :
11775 libbacktrace_cv_c_random_seed_string
=yes
11777 libbacktrace_cv_c_random_seed_string
=no
11779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 CFLAGS
="$CFLAGS_hold"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
11783 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
11784 if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
11785 EXTRA_FLAGS
="$EXTRA_FLAGS -frandom-seed=\$@"
11789 if test -n "${with_target_subdir}"; then
11790 # Add CET specific flags is Intel CET is enabled.
11791 # Check whether --enable-cet was given.
11792 if test "${enable_cet+set}" = set; then :
11793 enableval
=$enable_cet;
11794 case "$enableval" in
11796 *) as_fn_error
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
11805 $as_echo_n "checking for CET support... " >&6; }
11808 i
[34567]86-*-linux* | x86_64-
*-linux*)
11809 case "$enable_cet" in
11811 # Check if target supports multi-byte NOPs
11812 # and if assembler supports CET insn.
11813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11820 #if !defined(__SSE2__)
11821 #error target does not support multi-byte NOPs
11830 if ac_fn_c_try_compile
"$LINENO"; then :
11835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11838 # Check if assembler supports CET.
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11850 if ac_fn_c_try_compile
"$LINENO"; then :
11853 as_fn_error
"assembler with CET support is required for --enable-cet" "$LINENO" 5
11855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11863 if test x
$enable_cet = xyes
; then
11864 CET_FLAGS
="-fcf-protection -mcet"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11866 $as_echo "yes" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 $as_echo "no" >&6; }
11872 EXTRA_FLAGS
="$EXTRA_FLAGS $CET_FLAGS"
11877 ac_cpp
='$CPP $CPPFLAGS'
11878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11883 save_CFLAGS
="$CFLAGS"
11884 for real_option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11885 -Wmissing-prototypes -Wold-style-definition \
11886 -Wmissing-format-attribute -Wcast-qual; do
11887 # Do the check with the no- prefix removed since gcc silently
11888 # accepts any -Wno-* option on purpose
11889 case $real_option in
11890 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11891 *) option
=$real_option ;;
11893 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11896 $as_echo_n "checking whether $CC supports $option... " >&6; }
11897 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
11898 $as_echo_n "(cached) " >&6
11901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11912 if ac_fn_c_try_compile
"$LINENO"; then :
11913 eval "$as_acx_Woption=yes"
11915 eval "$as_acx_Woption=no"
11917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11920 eval ac_res
=\$
$as_acx_Woption
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11922 $as_echo "$ac_res" >&6; }
11923 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11924 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11927 CFLAGS
="$save_CFLAGS"
11929 ac_cpp
='$CPP $CPPFLAGS'
11930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11936 if test -n "${with_target_subdir}"; then
11937 WARN_FLAGS
="$WARN_FLAGS -Werror"
11942 if test -n "${with_target_subdir}"; then
11945 # Check whether --with-system-libunwind was given.
11946 if test "${with_system_libunwind+set}" = set; then :
11947 withval
=$with_system_libunwind;
11950 # If system-libunwind was not specifically set, pick a default setting.
11951 if test x
$with_system_libunwind = x
; then
11953 ia64-
*-hpux*) with_system_libunwind
=yes ;;
11954 *) with_system_libunwind
=no
;;
11957 # Based on system-libunwind and target, do we have ipinfo?
11958 if test x
$with_system_libunwind = xyes
; then
11960 ia64-
*-*) have_unwind_getipinfo
=no
;;
11961 *) have_unwind_getipinfo
=yes ;;
11964 # Darwin before version 9 does not have _Unwind_GetIPInfo.
11967 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
11968 *) have_unwind_getipinfo
=yes ;;
11973 if test x
$have_unwind_getipinfo = xyes
; then
11975 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
11980 ac_save_CFFLAGS
="$CFLAGS"
11981 CFLAGS
="$CFLAGS -Werror-implicit-function-declaration"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
11983 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 #include "unwind.h"
11987 struct _Unwind_Context *context;
11988 int ip_before_insn = 0;
11992 return _Unwind_GetIPInfo (context, &ip_before_insn);
11997 if ac_fn_c_try_link
"$LINENO"; then :
11998 have_unwind_getipinfo
=yes
12000 have_unwind_getipinfo
=no
12002 rm -f core conftest.err conftest.
$ac_objext \
12003 conftest
$ac_exeext conftest.
$ac_ext
12004 CFLAGS
="$ac_save_CFLAGS"
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12006 $as_echo "$have_unwind_getipinfo" >&6; }
12007 if test "$have_unwind_getipinfo" = "yes"; then
12009 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12014 # Enable --enable-host-shared.
12015 # Check whether --enable-host-shared was given.
12016 if test "${enable_host_shared+set}" = set; then :
12017 enableval
=$enable_host_shared; PIC_FLAG
=-fPIC
12024 # Test for __sync support.
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12026 $as_echo_n "checking __sync extensions... " >&6; }
12027 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
12028 $as_echo_n "(cached) " >&6
12030 if test -n "${with_target_subdir}"; then
12032 hppa
*-*-hpux*) libbacktrace_cv_sys_sync
=no
;;
12033 *) libbacktrace_cv_sys_sync
=yes ;;
12036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12042 __sync_bool_compare_and_swap (&i, i, i);
12043 __sync_lock_test_and_set (&i, 1);
12044 __sync_lock_release (&i);
12049 if ac_fn_c_try_link
"$LINENO"; then :
12050 libbacktrace_cv_sys_sync
=yes
12052 libbacktrace_cv_sys_sync
=no
12054 rm -f core conftest.err conftest.
$ac_objext \
12055 conftest
$ac_exeext conftest.
$ac_ext
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12059 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
12060 BACKTRACE_SUPPORTS_THREADS
=0
12061 if test "$libbacktrace_cv_sys_sync" = "yes"; then
12062 BACKTRACE_SUPPORTS_THREADS
=1
12064 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12069 # Test for __atomic support.
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12071 $as_echo_n "checking __atomic extensions... " >&6; }
12072 if test "${libbacktrace_cv_sys_atomic+set}" = set; then :
12073 $as_echo_n "(cached) " >&6
12075 if test -n "${with_target_subdir}"; then
12076 libbacktrace_cv_sys_atomic
=yes
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12084 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
12085 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12090 if ac_fn_c_try_link
"$LINENO"; then :
12091 libbacktrace_cv_sys_atomic
=yes
12093 libbacktrace_cv_sys_atomic
=no
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12100 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12101 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12103 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12107 # The library needs to be able to read the executable itself. Compile
12108 # a file to determine the executable format. The awk script
12109 # filetype.awk prints out the file type.
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12111 $as_echo_n "checking output filetype... " >&6; }
12112 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
12113 $as_echo_n "(cached) " >&6
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12127 if ac_fn_c_try_compile
"$LINENO"; then :
12128 filetype
=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12132 as_fn_error
"compiler failed
12133 See \`config.log' for more details." "$LINENO" 5; }
12135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12136 libbacktrace_cv_sys_filetype
=$filetype
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12139 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12141 # Match the file type to decide what files to compile.
12143 backtrace_supports_data
=yes
12144 case "$libbacktrace_cv_sys_filetype" in
12145 elf
*) FORMAT_FILE
="elf.lo" ;;
12146 pecoff
) FORMAT_FILE
="pecoff.lo"
12147 backtrace_supports_data
=no
12149 xcoff
*) FORMAT_FILE
="xcoff.lo"
12150 backtrace_supports_data
=no
12152 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12153 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12154 FORMAT_FILE
="unknown.lo"
12155 backtrace_supported
=no
12162 case "$libbacktrace_cv_sys_filetype" in
12163 elf32
) elfsize
=32 ;;
12164 elf64
) elfsize
=64 ;;
12168 cat >>confdefs.h
<<_ACEOF
12169 #define BACKTRACE_ELF_SIZE $elfsize
12175 case "$libbacktrace_cv_sys_filetype" in
12176 xcoff32
) xcoffsize
=32 ;;
12177 xcoff64
) xcoffsize
=64 ;;
12178 *) xcoffsize
=unused
12181 cat >>confdefs.h
<<_ACEOF
12182 #define BACKTRACE_XCOFF_SIZE $xcoffsize
12186 BACKTRACE_SUPPORTED
=0
12187 if test "$backtrace_supported" = "yes"; then
12188 BACKTRACE_SUPPORTED
=1
12192 BACKTRACE_SUPPORTS_DATA
=0
12193 if test "$backtrace_supports_data" = "yes"; then
12194 BACKTRACE_SUPPORTS_DATA
=1
12200 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12202 acx_cv_header_stdint
=stddef.h
12203 acx_cv_header_stdint_kind
="(already complete)"
12204 for i
in stdint.h
$inttype_headers; do
12205 unset ac_cv_type_uintptr_t
12206 unset ac_cv_type_uintmax_t
12207 unset ac_cv_type_int_least32_t
12208 unset ac_cv_type_int_fast32_t
12209 unset ac_cv_type_uint64_t
12210 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12211 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12214 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
12215 acx_cv_header_stdint
=$i
12220 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12223 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12226 acx_cv_header_stdint_kind
="(mostly complete)"
12229 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12232 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
12235 acx_cv_header_stdint_kind
="(mostly complete)"
12238 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12241 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
12244 acx_cv_header_stdint_kind
="(mostly complete)"
12247 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12250 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12253 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12258 if test "$acx_cv_header_stdint" = stddef.h
; then
12259 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12260 for i
in stdint.h
$inttype_headers; do
12261 unset ac_cv_type_uintptr_t
12262 unset ac_cv_type_uint32_t
12263 unset ac_cv_type_uint64_t
12264 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12265 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12268 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
12269 acx_cv_header_stdint
=$i
12274 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12277 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12281 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12284 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12291 if test "$acx_cv_header_stdint" = stddef.h
; then
12292 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12293 for i
in sys
/types.h
$inttype_headers; do
12294 unset ac_cv_type_u_int32_t
12295 unset ac_cv_type_u_int64_t
12296 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12297 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12300 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
12301 acx_cv_header_stdint
=$i
12306 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12309 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
12316 if test "$acx_cv_header_stdint" = stddef.h
; then
12317 acx_cv_header_stdint_kind
="(using manual detection)"
12320 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12321 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12322 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12323 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12324 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12326 # ----------------- Summarize what we found so far
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12329 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12331 case `$as_basename -- gstdint.h ||
12332 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12333 Xgstdint.h : 'X\(//\)$' \| \
12334 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12335 $as_echo X/gstdint.h |
12336 sed '/^.*\/\([^/][^/]*\)\/*$/{
12349 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12350 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12351 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12352 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12357 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
12359 # ----------------- done included file, check C basic types --------
12361 # Lacking an uintptr_t? Test size of void *
12362 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12363 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
12364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12366 # This bug is HP SR number 8606223364.
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12368 $as_echo_n "checking size of void *... " >&6; }
12369 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12370 $as_echo_n "(cached) " >&6
12372 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12375 if test "$ac_cv_type_void_p" = yes; then
12376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12378 { as_fn_set_status
77
12379 as_fn_error
"cannot compute sizeof (void *)
12380 See \`config.log' for more details." "$LINENO" 5; }; }
12382 ac_cv_sizeof_void_p
=0
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12388 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12392 cat >>confdefs.h
<<_ACEOF
12393 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12399 # Lacking an uint64_t? Test size of long
12400 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12401 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
12402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12404 # This bug is HP SR number 8606223364.
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12406 $as_echo_n "checking size of long... " >&6; }
12407 if test "${ac_cv_sizeof_long+set}" = set; then :
12408 $as_echo_n "(cached) " >&6
12410 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12413 if test "$ac_cv_type_long" = yes; then
12414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12416 { as_fn_set_status
77
12417 as_fn_error
"cannot compute sizeof (long)
12418 See \`config.log' for more details." "$LINENO" 5; }; }
12420 ac_cv_sizeof_long
=0
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12426 $as_echo "$ac_cv_sizeof_long" >&6; }
12430 cat >>confdefs.h
<<_ACEOF
12431 #define SIZEOF_LONG $ac_cv_sizeof_long
12437 if test $acx_cv_header_stdint = stddef.h
; then
12438 # Lacking a good header? Test size of everything and deduce all types.
12439 # The cast to long int works around a bug in the HP C Compiler
12440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12442 # This bug is HP SR number 8606223364.
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12444 $as_echo_n "checking size of int... " >&6; }
12445 if test "${ac_cv_sizeof_int+set}" = set; then :
12446 $as_echo_n "(cached) " >&6
12448 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12451 if test "$ac_cv_type_int" = yes; then
12452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12454 { as_fn_set_status
77
12455 as_fn_error
"cannot compute sizeof (int)
12456 See \`config.log' for more details." "$LINENO" 5; }; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12464 $as_echo "$ac_cv_sizeof_int" >&6; }
12468 cat >>confdefs.h
<<_ACEOF
12469 #define SIZEOF_INT $ac_cv_sizeof_int
12473 # The cast to long int works around a bug in the HP C Compiler
12474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12476 # This bug is HP SR number 8606223364.
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12478 $as_echo_n "checking size of short... " >&6; }
12479 if test "${ac_cv_sizeof_short+set}" = set; then :
12480 $as_echo_n "(cached) " >&6
12482 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12485 if test "$ac_cv_type_short" = yes; then
12486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12488 { as_fn_set_status
77
12489 as_fn_error
"cannot compute sizeof (short)
12490 See \`config.log' for more details." "$LINENO" 5; }; }
12492 ac_cv_sizeof_short
=0
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12498 $as_echo "$ac_cv_sizeof_short" >&6; }
12502 cat >>confdefs.h
<<_ACEOF
12503 #define SIZEOF_SHORT $ac_cv_sizeof_short
12507 # The cast to long int works around a bug in the HP C Compiler
12508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12510 # This bug is HP SR number 8606223364.
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12512 $as_echo_n "checking size of char... " >&6; }
12513 if test "${ac_cv_sizeof_char+set}" = set; then :
12514 $as_echo_n "(cached) " >&6
12516 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12519 if test "$ac_cv_type_char" = yes; then
12520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12522 { as_fn_set_status
77
12523 as_fn_error
"cannot compute sizeof (char)
12524 See \`config.log' for more details." "$LINENO" 5; }; }
12526 ac_cv_sizeof_char
=0
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12532 $as_echo "$ac_cv_sizeof_char" >&6; }
12536 cat >>confdefs.h
<<_ACEOF
12537 #define SIZEOF_CHAR $ac_cv_sizeof_char
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
12543 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
12544 case "$ac_cv_sizeof_char" in
12545 1) acx_cv_type_int8_t
=char
;;
12546 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
12549 $as_echo "$acx_cv_type_int8_t" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
12552 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
12553 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
12554 2:*) acx_cv_type_int16_t
=int
;;
12555 *:2) acx_cv_type_int16_t
=short
;;
12556 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
12559 $as_echo "$acx_cv_type_int16_t" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
12562 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
12563 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
12564 4:*) acx_cv_type_int32_t
=int
;;
12565 *:4) acx_cv_type_int32_t
=long
;;
12566 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
12569 $as_echo "$acx_cv_type_int32_t" >&6; }
12572 # These tests are here to make the output prettier
12574 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
12575 case "$ac_cv_sizeof_long" in
12576 8) acx_cv_type_int64_t
=long
;;
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
12579 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
12581 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
12584 # Now we can use the above types
12586 if test "$ac_cv_type_uintptr_t" != yes; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
12588 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
12589 case $ac_cv_sizeof_void_p in
12590 2) acx_cv_type_intptr_t
=int16_t
;;
12591 4) acx_cv_type_intptr_t
=int32_t
;;
12592 8) acx_cv_type_intptr_t
=int64_t
;;
12593 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
12596 $as_echo "$acx_cv_type_intptr_t" >&6; }
12599 # ----------------- done all checks, emit header -------------
12600 ac_config_commands
="$ac_config_commands gstdint.h"
12605 for ac_header
in sys
/mman.h
12607 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12608 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
12609 cat >>confdefs.h
<<_ACEOF
12610 #define HAVE_SYS_MMAN_H 1
12617 if test "$ac_cv_header_sys_mman_h" = "no"; then
12620 if test -n "${with_target_subdir}"; then
12621 # When built as a GCC target library, we can't do a link test. We
12622 # simply assume that if we have mman.h, we have mmap.
12625 spu-
*-*|
*-*-msdosdjgpp)
12626 # The SPU does not have mmap, but it has a sys/mman.h header file
12627 # containing "mmap_eaddr" and the mmap flags, confusing the test.
12628 # DJGPP also has sys/man.h, but no mmap
12632 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
12633 if test "x$ac_cv_func_mmap" = x
""yes; then :
12641 if test "$have_mmap" = "no"; then
12643 ALLOC_FILE
=alloc.lo
12645 VIEW_FILE
=mmapio.lo
12646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 #include <sys/mman.h>
12650 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
12651 #error no MAP_ANONYMOUS
12655 if ac_fn_c_try_cpp
"$LINENO"; then :
12658 ALLOC_FILE
=alloc.lo
12660 rm -f conftest.err conftest.
$ac_ext
12665 BACKTRACE_USES_MALLOC
=0
12666 if test "$ALLOC_FILE" = "alloc.lo"; then
12667 BACKTRACE_USES_MALLOC
=1
12671 # Check for dl_iterate_phdr.
12672 for ac_header
in link.h
12674 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
12675 if test "x$ac_cv_header_link_h" = x
""yes; then :
12676 cat >>confdefs.h
<<_ACEOF
12677 #define HAVE_LINK_H 1
12684 if test "$ac_cv_header_link_h" = "no"; then
12685 have_dl_iterate_phdr
=no
12687 if test -n "${with_target_subdir}"; then
12688 # When built as a GCC target library, we can't do a link test.
12689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12695 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
12696 have_dl_iterate_phdr
=yes
12698 have_dl_iterate_phdr
=no
12704 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
12705 # header file but is only in -ldl.
12706 have_dl_iterate_phdr
=no
;;
12709 ac_fn_c_check_func
"$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
12710 if test "x$ac_cv_func_dl_iterate_phdr" = x
""yes; then :
12711 have_dl_iterate_phdr
=yes
12713 have_dl_iterate_phdr
=no
12718 if test "$have_dl_iterate_phdr" = "yes"; then
12720 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
12724 # Check for loadquery.
12725 for ac_header
in sys
/ldr.h
12727 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
12728 if test "x$ac_cv_header_sys_ldr_h" = x
""yes; then :
12729 cat >>confdefs.h
<<_ACEOF
12730 #define HAVE_SYS_LDR_H 1
12737 if test "$ac_cv_header_sys_ldr_h" = "no"; then
12740 if test -n "${with_target_subdir}"; then
12741 # When built as a GCC target library, we can't do a link test.
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12744 #include <sys/ldr.h>
12747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12748 $EGREP "loadquery" >/dev
/null
2>&1; then :
12756 ac_fn_c_check_func
"$LINENO" "loadquery" "ac_cv_func_loadquery"
12757 if test "x$ac_cv_func_loadquery" = x
""yes; then :
12765 if test "$have_loadquery" = "yes"; then
12767 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
12771 # Check for the fcntl function.
12772 if test -n "${with_target_subdir}"; then
12774 *-*-mingw*) have_fcntl
=no
;;
12775 spu-
*-*) have_fcntl
=no
;;
12776 *) have_fcntl
=yes ;;
12779 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
12780 if test "x$ac_cv_func_fcntl" = x
""yes; then :
12787 if test "$have_fcntl" = "yes"; then
12789 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
12793 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
12794 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
12800 cat >>confdefs.h
<<_ACEOF
12801 #define HAVE_DECL_STRNLEN $ac_have_decl
12804 for ac_func
in lstat readlink
12806 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12807 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12808 eval as_val
=\$
$as_ac_var
12809 if test "x$as_val" = x
""yes; then :
12810 cat >>confdefs.h
<<_ACEOF
12811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12818 # Check for getexecname function.
12819 if test -n "${with_target_subdir}"; then
12821 *-*-solaris2*) have_getexecname
=yes ;;
12822 *) have_getexecname
=no
;;
12825 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
12826 if test "x$ac_cv_func_getexecname" = x
""yes; then :
12827 have_getexecname
=yes
12829 have_getexecname
=no
12833 if test "$have_getexecname" = "yes"; then
12835 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
12839 # Check for the clock_gettime function.
12840 for ac_func
in clock_gettime
12842 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
12843 if test "x$ac_cv_func_clock_gettime" = x
""yes; then :
12844 cat >>confdefs.h
<<_ACEOF
12845 #define HAVE_CLOCK_GETTIME 1
12851 clock_gettime_link
=
12852 # At least for glibc, clock_gettime is in librt. But don't
12853 # pull that in if it still doesn't give us the function we want. This
12854 # test is copied from libgomp, and modified to not link in -lrt as
12855 # we're using this for test timing only.
12856 if test "$ac_cv_func_clock_gettime" = no
; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12858 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12859 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
12860 $as_echo_n "(cached) " >&6
12862 ac_check_lib_save_LIBS
=$LIBS
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12873 char clock_gettime ();
12877 return clock_gettime ();
12882 if ac_fn_c_try_link
"$LINENO"; then :
12883 ac_cv_lib_rt_clock_gettime
=yes
12885 ac_cv_lib_rt_clock_gettime
=no
12887 rm -f core conftest.err conftest.
$ac_objext \
12888 conftest
$ac_exeext conftest.
$ac_ext
12889 LIBS
=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12892 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12893 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
12894 CLOCK_GETTIME_LINK
=-lrt
12896 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
12904 $as_echo_n "checking whether -pthread is supported... " >&6; }
12905 if test "${libgo_cv_lib_pthread+set}" = set; then :
12906 $as_echo_n "(cached) " >&6
12908 CFLAGS_hold
=$CFLAGS
12909 CFLAGS
="$CFLAGS -pthread"
12910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12914 if ac_fn_c_try_compile
"$LINENO"; then :
12915 libgo_cv_lib_pthread
=yes
12917 libgo_cv_lib_pthread
=no
12919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12920 CFLAGS
=$CFLAGS_hold
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
12923 $as_echo "$libgo_cv_lib_pthread" >&6; }
12925 if test "$libgo_cv_lib_pthread" = yes; then
12926 PTHREAD_CFLAGS
=-pthread
12930 if test "$libgo_cv_lib_pthread" = yes; then
12932 HAVE_PTHREAD_FALSE
='#'
12934 HAVE_PTHREAD_TRUE
='#'
12935 HAVE_PTHREAD_FALSE
=
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
12940 $as_echo_n "checking for compress in -lz... " >&6; }
12941 if test "${ac_cv_lib_z_compress+set}" = set; then :
12942 $as_echo_n "(cached) " >&6
12944 ac_check_lib_save_LIBS
=$LIBS
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12959 return compress ();
12964 if ac_fn_c_try_link
"$LINENO"; then :
12965 ac_cv_lib_z_compress
=yes
12967 ac_cv_lib_z_compress
=no
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12971 LIBS
=$ac_check_lib_save_LIBS
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
12974 $as_echo "$ac_cv_lib_z_compress" >&6; }
12975 if test "x$ac_cv_lib_z_compress" = x
""yes; then :
12976 cat >>confdefs.h
<<_ACEOF
12977 #define HAVE_LIBZ 1
12984 if test $ac_cv_lib_z_compress = "yes"; then
12986 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12989 if test "$ac_cv_lib_z_compress" = yes; then
12991 HAVE_ZLIB_FALSE
='#'
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
12999 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
13000 if test "${libgo_cv_ld_compress+set}" = set; then :
13001 $as_echo_n "(cached) " >&6
13003 LDFLAGS_hold
=$LDFLAGS
13004 LDFLAGS
="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
13005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13016 if ac_fn_c_try_link
"$LINENO"; then :
13017 libgo_cv_ld_compress
=yes
13019 libgo_cv_ld_compress
=no
13021 rm -f core conftest.err conftest.
$ac_objext \
13022 conftest
$ac_exeext conftest.
$ac_ext
13023 LDFLAGS
=$LDFLAGS_hold
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
13026 $as_echo "$libgo_cv_ld_compress" >&6; }
13027 if test "$libgo_cv_ld_compress" = yes; then
13028 HAVE_COMPRESSED_DEBUG_TRUE
=
13029 HAVE_COMPRESSED_DEBUG_FALSE
='#'
13031 HAVE_COMPRESSED_DEBUG_TRUE
='#'
13032 HAVE_COMPRESSED_DEBUG_FALSE
=
13037 # Extract the first word of "objcopy", so it can be a program name with args.
13038 set dummy objcopy
; ac_word
=$2
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13040 $as_echo_n "checking for $ac_word... " >&6; }
13041 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
13042 $as_echo_n "(cached) " >&6
13044 if test -n "$OBJCOPY"; then
13045 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
13047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13048 for as_dir
in $PATH
13051 test -z "$as_dir" && as_dir
=.
13052 for ac_exec_ext
in '' $ac_executable_extensions; do
13053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13054 ac_cv_prog_OBJCOPY
="objcopy"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13064 OBJCOPY
=$ac_cv_prog_OBJCOPY
13065 if test -n "$OBJCOPY"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
13067 $as_echo "$OBJCOPY" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
13075 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
13076 if test "${libbacktrace_cv_objcopy_debuglink+set}" = set; then :
13077 $as_echo_n "(cached) " >&6
13079 if test -n "${with_target_subdir}"; then
13080 libbacktrace_cv_objcopy_debuglink
=no
13081 elif ${OBJCOPY} --add-gnu-debuglink=x
/bin
/ls /tmp
/ls$$
; then
13083 libbacktrace_cv_objcopy_debuglink
=yes
13085 libbacktrace_cv_objcopy_debuglink
=no
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
13089 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
13090 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
13091 HAVE_OBJCOPY_DEBUGLINK_TRUE
=
13092 HAVE_OBJCOPY_DEBUGLINK_FALSE
='#'
13094 HAVE_OBJCOPY_DEBUGLINK_TRUE
='#'
13095 HAVE_OBJCOPY_DEBUGLINK_FALSE
=
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
13100 $as_echo_n "checking whether tests can run... " >&6; }
13101 if test "${libbacktrace_cv_sys_native+set}" = set; then :
13102 $as_echo_n "(cached) " >&6
13104 if test "$cross_compiling" = yes; then :
13105 libbacktrace_cv_sys_native
=no
13107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13118 if ac_fn_c_try_run
"$LINENO"; then :
13119 libbacktrace_cv_sys_native
=yes
13121 libbacktrace_cv_sys_native
=no
13123 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13124 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
13129 $as_echo "$libbacktrace_cv_sys_native" >&6; }
13130 if test "$libbacktrace_cv_sys_native" = "yes"; then
13139 if test "${multilib}" = "yes"; then
13140 multilib_arg
="--enable-multilib"
13145 ac_config_files
="$ac_config_files Makefile backtrace-supported.h"
13148 # We need multilib support, but only if configuring for the target.
13149 ac_config_commands
="$ac_config_commands default"
13152 cat >confcache
<<\_ACEOF
13153 # This file is a shell script that caches the results of configure
13154 # tests run on this system so they can be shared between configure
13155 # scripts and configure runs, see configure's option --config-cache.
13156 # It is not useful on other systems. If it contains results you don't
13157 # want to keep, you may remove or edit it.
13159 # config.status only pays attention to the cache file if you give it
13160 # the --recheck option to rerun configure.
13162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13164 # following values.
13168 # The following way of writing the cache mishandles newlines in values,
13169 # but we know of no workaround that is simple, portable, and efficient.
13170 # So, we kill variables containing newlines.
13171 # Ultrix sh set writes to stderr and can't be redirected directly,
13172 # and sets the high bit in the cache file unless we assign to the vars.
13174 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13175 eval ac_val
=\$
$ac_var
13179 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13183 _ | IFS | as_nl
) ;; #(
13184 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13185 *) { eval $ac_var=; unset $ac_var;} ;;
13191 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13192 *${as_nl}ac_space
=\
*)
13193 # `set' does not quote correctly, so add quotes: double-quote
13194 # substitution turns \\\\ into \\, and sed turns \\ into \.
13197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13200 # `set' quotes correctly as required by POSIX, so do not add quotes.
13201 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13210 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13212 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13214 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13215 if test -w "$cache_file"; then
13216 test "x$cache_file" != "x/dev/null" &&
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13218 $as_echo "$as_me: updating cache $cache_file" >&6;}
13219 cat confcache
>$cache_file
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13227 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13228 # Let make expand exec_prefix.
13229 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13231 DEFS
=-DHAVE_CONFIG_H
13235 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13236 # 1. Remove the extension, and $U if already installed.
13237 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13238 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13239 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13240 # will be set to the directory where LIBOBJS objects are built.
13241 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13242 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13244 LIBOBJS
=$ac_libobjs
13246 LTLIBOBJS
=$ac_ltlibobjs
13249 if test -n "$EXEEXT"; then
13251 am__EXEEXT_FALSE
='#'
13253 am__EXEEXT_TRUE
='#'
13257 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13258 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13261 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
13262 as_fn_error
"conditional \"HAVE_PTHREAD\" was never defined.
13263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13265 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
13266 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
13267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13269 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
13270 as_fn_error
"conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
13271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13273 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
13274 as_fn_error
"conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
13275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13277 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
13278 as_fn_error
"conditional \"NATIVE\" was never defined.
13279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13282 : ${CONFIG_STATUS=./config.status}
13284 ac_clean_files_save
=$ac_clean_files
13285 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13287 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13289 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13291 # Generated by $as_me.
13292 # Run this file to recreate the current configuration.
13293 # Compiler output produced by configure, useful for debugging
13294 # configure, is in config.log if it exists.
13297 ac_cs_recheck=false
13300 SHELL=\${CONFIG_SHELL-$SHELL}
13303 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13304 ## -------------------- ##
13305 ## M4sh Initialization. ##
13306 ## -------------------- ##
13308 # Be more Bourne compatible
13309 DUALCASE
=1; export DUALCASE
# for MKS sh
13310 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13313 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13314 # is contrary to our usage. Disable this feature.
13315 alias -g '${1+"$@"}'='"$@"'
13316 setopt NO_GLOB_SUBST
13318 case `(set -o) 2>/dev/null` in #(
13330 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13331 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13334 # Prefer a ksh shell builtin over an external printf program on Solaris,
13335 # but without wasting forks for bash or zsh.
13336 if test -z "$BASH_VERSION$ZSH_VERSION" \
13337 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13338 as_echo='print
-r --'
13339 as_echo_n='print
-rn --'
13340 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13341 as_echo='printf %s
\n'
13342 as_echo_n='printf %s
'
13344 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13345 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13346 as_echo_n='/usr
/ucb
/echo -n'
13348 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13349 as_echo_n_body='eval
13353 expr "X$arg" : "X\\(.*\\)$as_nl";
13354 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13356 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13358 export as_echo_n_body
13359 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13361 export as_echo_body
13362 as_echo='sh
-c $as_echo_body as_echo
'
13365 # The user is always right.
13366 if test "${PATH_SEPARATOR+set}" != set; then
13368 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13369 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13376 # We need space, tab and new line, in precisely that order. Quoting is
13377 # there to prevent editors from complaining about space-tab.
13378 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13379 # splitting by setting IFS to empty value.)
13382 # Find who we are. Look in the path if we contain no directory separator.
13384 *[\\/]* ) as_myself=$0 ;;
13385 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13386 for as_dir in $PATH
13389 test -z "$as_dir" && as_dir=.
13390 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13396 # We did not find ourselves, most probably we were run as `sh COMMAND'
13397 # in which case we are not to be found in the path.
13398 if test "x$as_myself" = x
; then
13401 if test ! -f "$as_myself"; then
13402 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13406 # Unset variables that we do not need and which cause bugs (e.g. in
13407 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13408 # suppresses any "Segmentation fault" message there. '((' could
13409 # trigger a bug in pdksh 5.2.14.
13410 for as_var
in BASH_ENV ENV MAIL MAILPATH
13411 do eval test x\
${$as_var+set} = xset \
13412 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13425 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13428 # as_fn_error ERROR [LINENO LOG_FD]
13429 # ---------------------------------
13430 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13431 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13432 # script with status $?, using 1 if that was 0.
13435 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13437 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13438 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13440 $as_echo "$as_me: error: $1" >&2
13441 as_fn_exit
$as_status
13445 # as_fn_set_status STATUS
13446 # -----------------------
13447 # Set $? to STATUS, without forking.
13448 as_fn_set_status
()
13451 } # as_fn_set_status
13453 # as_fn_exit STATUS
13454 # -----------------
13455 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13459 as_fn_set_status
$1
13465 # Portably unset VAR.
13468 { eval $1=; unset $1;}
13470 as_unset
=as_fn_unset
13471 # as_fn_append VAR VALUE
13472 # ----------------------
13473 # Append the text in VALUE to the end of the definition contained in VAR. Take
13474 # advantage of any shell optimizations that allow amortized linear growth over
13475 # repeated appends, instead of the typical quadratic growth present in naive
13477 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13478 eval 'as_fn_append ()
13489 # as_fn_arith ARG...
13490 # ------------------
13491 # Perform arithmetic evaluation on the ARGs, and store the result in the
13492 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13493 # must be portable across $(()) and expr.
13494 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13495 eval 'as_fn_arith ()
13502 as_val
=`expr "$@" || test $? -eq 1`
13507 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13508 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13514 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13515 as_basename
=basename
13520 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13526 as_me
=`$as_basename -- "$0" ||
13527 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13528 X"$0" : 'X\(//\)$' \| \
13529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13531 sed '/^.*\/\([^/][^/]*\)\/*$/{
13545 # Avoid depending upon Character Ranges.
13546 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13547 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13548 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13549 as_cr_digits
='0123456789'
13550 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13552 ECHO_C
= ECHO_N
= ECHO_T
=
13553 case `echo -n x` in #(((((
13555 case `echo 'xy\c'` in
13556 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13558 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13565 rm -f conf$$ conf$$.exe conf$$.
file
13566 if test -d conf$$.dir
; then
13567 rm -f conf$$.dir
/conf$$.
file
13570 mkdir conf$$.dir
2>/dev
/null
13572 if (echo >conf$$.
file) 2>/dev
/null
; then
13573 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13575 # ... but there are two gotchas:
13576 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13577 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13578 # In both cases, we have to default to `cp -p'.
13579 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13581 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13589 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13590 rmdir conf$$.dir
2>/dev
/null
13595 # Create "$as_dir" as a directory, including parents if necessary.
13600 -*) as_dir
=.
/$as_dir;;
13602 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13606 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13607 *) as_qdir
=$as_dir;;
13609 as_dirs
="'$as_qdir' $as_dirs"
13610 as_dir
=`$as_dirname -- "$as_dir" ||
13611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13612 X"$as_dir" : 'X\(//\)[^/]' \| \
13613 X"$as_dir" : 'X\(//\)$' \| \
13614 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13615 $as_echo X"$as_dir" |
13616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13620 /^X\(\/\/\)[^/].*/{
13633 test -d "$as_dir" && break
13635 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13636 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13640 if mkdir
-p .
2>/dev
/null
; then
13641 as_mkdir_p
='mkdir -p "$as_dir"'
13643 test -d .
/-p && rmdir .
/-p
13647 if test -x / >/dev
/null
2>&1; then
13648 as_test_x
='test -x'
13650 if ls -dL / >/dev
/null
2>&1; then
13657 if test -d "$1"; then
13663 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13664 ???[sx]*):;;*)false;;esac;fi
13668 as_executable_p
=$as_test_x
13670 # Sed expression to map a string onto a valid CPP name.
13671 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13673 # Sed expression to map a string onto a valid variable name.
13674 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13678 ## ----------------------------------- ##
13679 ## Main body of $CONFIG_STATUS script. ##
13680 ## ----------------------------------- ##
13682 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13685 # Save the log message, to keep $0 and so on meaningful, and to
13686 # report actual input values of CONFIG_FILES etc. instead of their
13687 # values after options handling.
13689 This file was extended by package-unused $as_me version-unused, which was
13690 generated by GNU Autoconf 2.64. Invocation command line was
13692 CONFIG_FILES = $CONFIG_FILES
13693 CONFIG_HEADERS = $CONFIG_HEADERS
13694 CONFIG_LINKS = $CONFIG_LINKS
13695 CONFIG_COMMANDS = $CONFIG_COMMANDS
13698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13703 case $ac_config_files in *"
13704 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13707 case $ac_config_headers in *"
13708 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13713 # Files that config.status was made for.
13714 config_files="$ac_config_files"
13715 config_headers="$ac_config_headers"
13716 config_commands="$ac_config_commands"
13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13722 \`$as_me' instantiates files and other configuration actions
13723 from templates according to the current configuration. Unless the files
13724 and actions are specified as TAGs, all are instantiated by default.
13726 Usage: $0 [OPTION]... [TAG]...
13728 -h, --help print this help, then exit
13729 -V, --version print version number and configuration settings, then exit
13730 -q, --quiet, --silent
13731 do not print progress messages
13732 -d, --debug don't remove temporary files
13733 --recheck update $as_me by reconfiguring in the same conditions
13734 --file=FILE[:TEMPLATE]
13735 instantiate the configuration file FILE
13736 --header=FILE[:TEMPLATE]
13737 instantiate the configuration header FILE
13739 Configuration files:
13742 Configuration headers:
13745 Configuration commands:
13748 Report bugs to the package provider."
13751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13753 package-unused config.status version-unused
13754 configured by $0, generated by GNU Autoconf 2.64,
13755 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13757 Copyright (C) 2009 Free Software Foundation, Inc.
13758 This config.status script is free software; the Free Software Foundation
13759 gives unlimited permission to copy, distribute and modify it."
13766 test -n "\$AWK" || AWK=awk
13769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13770 # The default lists apply if the user does not specify any file.
13776 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13777 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13788 # Handling of the options.
13789 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13791 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13792 $as_echo "$ac_cs_version"; exit ;;
13793 --debug |
--debu |
--deb |
--de |
--d |
-d )
13795 --file |
--fil |
--fi |
--f )
13798 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13800 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13801 ac_need_defaults
=false
;;
13802 --header |
--heade |
--head |
--hea )
13805 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13807 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13808 ac_need_defaults
=false
;;
13810 # Conflict between --help and --header
13811 as_fn_error
"ambiguous option: \`$1'
13812 Try \`$0 --help' for more information.";;
13813 --help |
--hel |
-h )
13814 $as_echo "$ac_cs_usage"; exit ;;
13815 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13816 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13819 # This is an error.
13820 -*) as_fn_error
"unrecognized option: \`$1'
13821 Try \`$0 --help' for more information." ;;
13823 *) as_fn_append ac_config_targets
" $1"
13824 ac_need_defaults
=false
;;
13830 ac_configure_extra_args
=
13832 if $ac_cs_silent; then
13834 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13839 if \$ac_cs_recheck; then
13840 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13842 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13843 CONFIG_SHELL='$SHELL'
13844 export CONFIG_SHELL
13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13854 ## Running $as_me. ##
13860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13868 with_multisubdir="$with_multisubdir"
13869 with_multisrctop="$with_multisrctop"
13870 with_target_subdir="$with_target_subdir"
13871 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13872 multi_basedir="$multi_basedir"
13873 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13876 GFORTRAN="$GFORTRAN"
13879 # The HP-UX ksh and POSIX shell print the target directory to stdout
13880 # if CDPATH is set.
13881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13883 sed_quote_subst='$sed_quote_subst'
13884 double_quote_subst='$double_quote_subst'
13885 delay_variable_subst='$delay_variable_subst'
13886 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13887 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13888 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13889 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13890 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13891 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13892 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13893 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13894 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13895 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13896 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13897 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13898 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13899 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13900 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13901 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13902 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13903 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13904 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13905 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13906 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13907 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13908 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13909 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13910 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13911 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13912 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13913 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13916 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13917 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13918 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13919 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13920 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13921 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13922 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13923 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13924 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13925 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13926 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13927 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13928 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13929 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13930 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13931 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13932 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13933 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13934 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"`'
13935 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13936 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13937 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13939 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13940 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13941 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13942 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13966 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13967 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13968 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13969 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13970 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13971 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13972 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13973 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13974 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13975 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13976 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13977 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13978 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13979 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13980 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13981 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13982 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13983 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13984 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13985 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13986 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13987 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13988 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13989 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13990 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13991 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13992 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13993 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13994 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13995 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13996 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13997 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13998 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13999 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14000 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14001 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14002 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14003 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14004 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14005 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14008 LTCFLAGS='$LTCFLAGS'
14009 compiler='$compiler_DEFAULT'
14011 # A function that is used when there is no print builtin or printf.
14012 func_fallback_echo ()
14014 eval 'cat <<_LTECHO_EOF
14019 # Quote evaled strings.
14033 deplibs_check_method \
14042 lt_cv_sys_global_symbol_pipe \
14043 lt_cv_sys_global_symbol_to_cdecl \
14044 lt_cv_sys_global_symbol_to_c_name_address \
14045 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14046 lt_prog_compiler_no_builtin_flag \
14047 lt_prog_compiler_wl \
14048 lt_prog_compiler_pic \
14049 lt_prog_compiler_static \
14050 lt_cv_prog_compiler_c_o \
14058 export_dynamic_flag_spec \
14059 whole_archive_flag_spec \
14060 compiler_needs_object \
14062 allow_undefined_flag \
14063 no_undefined_flag \
14064 hardcode_libdir_flag_spec \
14065 hardcode_libdir_flag_spec_ld \
14066 hardcode_libdir_separator \
14071 variables_saved_for_relink \
14073 library_names_spec \
14075 install_override_mode \
14079 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14080 *[\\\\\\\`\\"\\\$]*)
14081 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14084 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14089 # Double-quote double-evaled strings.
14090 for var in reload_cmds \
14091 old_postinstall_cmds \
14092 old_postuninstall_cmds \
14094 extract_expsyms_cmds \
14095 old_archive_from_new_cmds \
14096 old_archive_from_expsyms_cmds \
14098 archive_expsym_cmds \
14100 module_expsym_cmds \
14101 export_symbols_cmds \
14104 postuninstall_cmds \
14106 sys_lib_search_path_spec \
14107 sys_lib_dlsearch_path_spec; do
14108 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14109 *[\\\\\\\`\\"\\\$]*)
14110 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14113 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14118 ac_aux_dir='$ac_aux_dir'
14119 xsi_shell='$xsi_shell'
14120 lt_shell_append='$lt_shell_append'
14122 # See if we are running on zsh, and set the options which allow our
14123 # commands through without removal of \ escapes INIT.
14124 if test -n "\${ZSH_VERSION+set}" ; then
14125 setopt NO_GLOB_SUBST
14131 TIMESTAMP='$TIMESTAMP'
14140 acx_cv_header_stdint="$acx_cv_header_stdint"
14141 acx_cv_type_int8_t="$acx_cv_type_int8_t"
14142 acx_cv_type_int16_t="$acx_cv_type_int16_t"
14143 acx_cv_type_int32_t="$acx_cv_type_int32_t"
14144 acx_cv_type_int64_t="$acx_cv_type_int64_t"
14145 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
14146 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
14147 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
14148 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
14149 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
14150 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
14151 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
14152 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
14153 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
14156 # Variables needed in config.status (file generation) which aren't already
14157 # passed by autoconf.
14163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14165 # Handling of arguments.
14166 for ac_config_target
in $ac_config_targets
14168 case $ac_config_target in
14169 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14170 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14171 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14172 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
14173 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14174 "backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES backtrace-supported.h" ;;
14175 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14177 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14182 # If the user did not use the arguments to specify the items to instantiate,
14183 # then the envvar interface is used. Set only those that are not.
14184 # We use the long form for the default assignment because of an extremely
14185 # bizarre bug on SunOS 4.1.3.
14186 if $ac_need_defaults; then
14187 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14188 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14192 # Have a temporary directory for convenience. Make it in the build tree
14193 # simply because there is no reason against having it here, and in addition,
14194 # creating and moving files from /tmp can sometimes cause problems.
14195 # Hook for its removal unless debugging.
14196 # Note that there is a small window in which the directory will not be cleaned:
14197 # after its creation but before its name has been assigned to `$tmp'.
14201 trap 'exit_status=$?
14202 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14204 trap 'as_fn_exit 1' 1 2 13 15
14206 # Create a (secure) tmp directory for tmp files.
14209 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14210 test -n "$tmp" && test -d "$tmp"
14213 tmp
=.
/conf$$
-$RANDOM
14214 (umask 077 && mkdir
"$tmp")
14215 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14217 # Set up the scripts for CONFIG_FILES section.
14218 # No need to generate them if there are no CONFIG_FILES.
14219 # This happens for instance with `./config.status config.h'.
14220 if test -n "$CONFIG_FILES"; then
14223 ac_cr
=`echo X | tr X '\015'`
14224 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14225 # But we know of no other shell where ac_cr would be empty at this
14226 # point, so we can use a bashism as a fallback.
14227 if test "x$ac_cr" = x
; then
14228 eval ac_cr
=\$
\'\\r
\'
14230 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14234 ac_cs_awk_cr
=$ac_cr
14237 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14242 echo "cat >conf$$subs.awk <<_ACEOF" &&
14243 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14245 } >conf$$subs.sh ||
14246 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14249 for ac_last_try in false false false false false :; do
14250 . ./conf$$subs.sh ||
14251 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14253 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14254 if test $ac_delim_n = $ac_delim_num; then
14256 elif $ac_last_try; then
14257 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14259 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14262 rm -f conf$$subs.sh
14264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14265 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14269 s/^/S["/; s
/!.
*/"]=/
14279 s/\(.\{148\}\).*/\1/
14281 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14286 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14293 s/\(.\{148\}\).*/\1/
14295 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14299 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14304 ' <conf$$subs.awk | sed '
14309 ' >>$CONFIG_STATUS || ac_write_fail=1
14310 rm -f conf$$subs.awk
14311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14313 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14314 for (key in S) S_is_set[key] = 1
14320 nfields = split(line, field, "@
")
14322 len = length(field[1])
14323 for (i = 2; i < nfields; i++) {
14325 keylen = length(key)
14326 if (S_is_set[key]) {
14328 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14329 len += length(value) + length(field[++i])
14340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14341 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14342 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14345 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14346 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14349 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14350 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14351 # trailing colons and then remove the whole line if VPATH becomes empty
14352 # (actually we leave an empty line to preserve line numbers).
14353 if test "x
$srcdir" = x.; then
14354 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14355 s/:*\$(srcdir):*/:/
14356 s/:*\${srcdir}:*/:/
14358 s/^\([^=]*=[ ]*\):*/\1/
14364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14365 fi # test -n "$CONFIG_FILES"
14367 # Set up the scripts for CONFIG_HEADERS section.
14368 # No need to generate them if there are no CONFIG_HEADERS.
14369 # This happens for instance with `./config.status Makefile'.
14370 if test -n "$CONFIG_HEADERS"; then
14371 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14375 # Transform confdefs.h into an awk script `defines.awk', embedded as
14376 # here-document in config.status, that substitutes the proper values into
14377 # config.h.in to produce config.h.
14379 # Create a delimiter string that does not exist in confdefs.h, to ease
14380 # handling of long lines.
14382 for ac_last_try in false false :; do
14383 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14384 if test -z "$ac_t"; then
14386 elif $ac_last_try; then
14387 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14389 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14393 # For the awk script, D is an array of macro values keyed by name,
14394 # likewise P contains macro parameters if any. Preserve backslash
14395 # newline sequences.
14397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14399 s/.\{148\}/&'"$ac_delim"'/g
14402 s/^[ ]*#[ ]*define[ ][ ]*/ /
14409 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14411 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14416 D["\
1"]=" \
3\\\\\\n
"\\/p
14418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14423 s/.\{148\}/&'"$ac_delim"'/g
14428 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14431 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14433 ' <confdefs.h | sed '
14434 s/'"$ac_delim"'/"\\\
14435 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14438 for (key in D) D_is_set[key] = 1
14441 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14443 split(line, arg, " ")
14444 if (arg[1] == "#") {
14448 defundef
= substr
(arg
[1], 2)
14451 split(mac1
, mac2
, "(") #)
14453 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14454 if (D_is_set
[macro
]) {
14455 # Preserve the white space surrounding the "#".
14456 print prefix
"define", macro P
[macro
] D
[macro
]
14459 # Replace #undef with comments. This is necessary, for example,
14460 # in the case of _POSIX_SOURCE, which is predefined and required
14461 # on some systems where configure will not decide to define it.
14462 if (defundef
== "undef") {
14463 print
"/*", prefix defundef
, macro
, "*/"
14471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14472 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14473 fi # test -n "$CONFIG_HEADERS"
14476 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14481 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14483 case $ac_mode$ac_tag in
14485 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14486 :[FH
]-) ac_tag
=-:-;;
14487 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14504 -) ac_f
="$tmp/stdin";;
14505 *) # Look for the file first in the build tree, then in the source tree
14506 # (if the path is not absolute). The absolute path cannot be DOS-style,
14507 # because $ac_f cannot contain `:'.
14511 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14513 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14515 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14516 as_fn_append ac_file_inputs
" '$ac_f'"
14519 # Let's still pretend it is `configure' which instantiates (i.e., don't
14520 # use $as_me), people would be surprised to read:
14521 # /* config.h. Generated by config.status. */
14522 configure_input
='Generated from '`
14523 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14525 if test x
"$ac_file" != x-
; then
14526 configure_input
="$ac_file. $configure_input"
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14528 $as_echo "$as_me: creating $ac_file" >&6;}
14530 # Neutralize special characters interpreted by sed in replacement strings.
14531 case $configure_input in #(
14532 *\
&* |
*\|
* |
*\\* )
14533 ac_sed_conf_input
=`$as_echo "$configure_input" |
14534 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14535 *) ac_sed_conf_input
=$configure_input;;
14539 *:-:* |
*:-) cat >"$tmp/stdin" \
14540 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14545 ac_dir
=`$as_dirname -- "$ac_file" ||
14546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14547 X"$ac_file" : 'X\(//\)[^/]' \| \
14548 X"$ac_file" : 'X\(//\)$' \| \
14549 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14550 $as_echo X"$ac_file" |
14551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14555 /^X\(\/\/\)[^/].*/{
14568 as_dir
="$ac_dir"; as_fn_mkdir_p
14572 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14574 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14575 # A ".." for each directory in $ac_dir_suffix.
14576 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14577 case $ac_top_builddir_sub in
14578 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14579 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14582 ac_abs_top_builddir
=$ac_pwd
14583 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14584 # for backward compatibility:
14585 ac_top_builddir
=$ac_top_build_prefix
14588 .
) # We are building in place.
14590 ac_top_srcdir
=$ac_top_builddir_sub
14591 ac_abs_top_srcdir
=$ac_pwd ;;
14592 [\\/]* | ?
:[\\/]* ) # Absolute name.
14593 ac_srcdir
=$srcdir$ac_dir_suffix;
14594 ac_top_srcdir
=$srcdir
14595 ac_abs_top_srcdir
=$srcdir ;;
14596 *) # Relative name.
14597 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14598 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14599 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14601 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14611 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14612 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14614 ac_MKDIR_P
=$MKDIR_P
14616 [\\/$
]* | ?
:[\\/]* ) ;;
14617 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14622 # If the template does not know about datarootdir, expand it.
14623 # FIXME: This hack should be removed a few years after 2.60.
14624 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14635 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14636 *datarootdir
*) ac_datarootdir_seen
=yes;;
14637 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14639 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14642 ac_datarootdir_hack='
14643 s&@datadir@&$datadir&g
14644 s&@docdir@&$docdir&g
14645 s&@infodir@&$infodir&g
14646 s&@localedir@&$localedir&g
14647 s&@mandir@&$mandir&g
14648 s&\\\${datarootdir}&$datarootdir&g' ;;
14652 # Neutralize VPATH when `$srcdir' = `.'.
14653 # Shell code in configure.ac might set extrasub.
14654 # FIXME: do we really want to maintain this feature?
14655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14656 ac_sed_extra="$ac_vpsub
14659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14661 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14662 s|@configure_input@|
$ac_sed_conf_input|
;t t
14663 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14664 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14665 s
&@srcdir@
&$ac_srcdir&;t t
14666 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14667 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14668 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14669 s
&@builddir@
&$ac_builddir&;t t
14670 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14671 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14672 s
&@INSTALL@
&$ac_INSTALL&;t t
14673 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14674 $ac_datarootdir_hack
14676 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14677 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14679 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14680 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14681 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14683 which seems to be undefined. Please make sure it is defined." >&5
14684 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14685 which seems to be undefined. Please make sure it is defined." >&2;}
14689 -) cat "$tmp/out" && rm -f "$tmp/out";;
14690 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14692 || as_fn_error "could not create $ac_file" "$LINENO" 5
14698 if test x"$ac_file" != x-; then
14700 $as_echo "/* $configure_input */" \
14701 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14702 } >"$tmp/config.h" \
14703 || as_fn_error "could not create $ac_file" "$LINENO" 5
14704 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14706 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14709 mv "$tmp/config.h" "$ac_file" \
14710 || as_fn_error "could not create $ac_file" "$LINENO" 5
14713 $as_echo "/* $configure_input */" \
14714 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14715 || as_fn_error "could not create -" "$LINENO" 5
14717 # Compute "$ac_file"'s index
in $config_headers.
14720 for _am_header
in $config_headers :; do
14721 case $_am_header in
14722 $_am_arg |
$_am_arg:* )
14725 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14728 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14729 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14730 X"$_am_arg" : 'X\(//\)[^/]' \| \
14731 X"$_am_arg" : 'X\(//\)$' \| \
14732 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14733 $as_echo X"$_am_arg" |
14734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14738 /^X\(\/\/\)[^/].*/{
14750 s/.*/./; q'`/stamp-h
$_am_stamp_count
14753 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14754 $as_echo "$as_me: executing $ac_file commands" >&6;}
14759 case $ac_file$ac_mode in
14761 # Only add multilib support code if we just rebuilt the top-level
14763 case " $CONFIG_FILES " in
14765 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14770 # See if we are running on zsh, and set the options which allow our
14771 # commands through without removal of \ escapes.
14772 if test -n "${ZSH_VERSION+set}" ; then
14773 setopt NO_GLOB_SUBST
14776 cfgfile
="${ofile}T"
14777 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14780 cat <<_LT_EOF >> "$cfgfile"
14783 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14784 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14785 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14788 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14789 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14790 # Written by Gordon Matzigkeit, 1996
14792 # This file is part of GNU Libtool.
14794 # GNU Libtool is free software; you can redistribute it and/or
14795 # modify it under the terms of the GNU General Public License as
14796 # published by the Free Software Foundation; either version 2 of
14797 # the License, or (at your option) any later version.
14799 # As a special exception to the GNU General Public License,
14800 # if you distribute this file as part of a program or library that
14801 # is built using GNU Libtool, you may include this file under the
14802 # same distribution terms that you use for the rest of that program.
14804 # GNU Libtool is distributed in the hope that it will be useful,
14805 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14806 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14807 # GNU General Public License for more details.
14809 # You should have received a copy of the GNU General Public License
14810 # along with GNU Libtool; see the file COPYING. If not, a copy
14811 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14812 # obtained by writing to the Free Software Foundation, Inc.,
14813 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14816 # The names of the tagged configurations supported by this script.
14819 # ### BEGIN LIBTOOL CONFIG
14821 # Which release of libtool.m4 was used?
14822 macro_version=$macro_version
14823 macro_revision=$macro_revision
14825 # Whether or not to build shared libraries.
14826 build_libtool_libs=$enable_shared
14828 # Whether or not to build static libraries.
14829 build_old_libs=$enable_static
14831 # What type of objects to build.
14834 # Whether or not to optimize for fast installation.
14835 fast_install=$enable_fast_install
14837 # Shell to use when invoking shell scripts.
14840 # An echo program that protects backslashes.
14844 host_alias=$host_alias
14848 # The build system.
14849 build_alias=$build_alias
14853 # A sed program that does not truncate output.
14856 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14857 Xsed="\$SED -e 1s/^X//"
14859 # A grep program that handles long lines.
14865 # A literal string matcher.
14868 # A BSD- or MS-compatible name lister.
14871 # Whether we need soft or hard links.
14874 # What is the maximum length of a command?
14875 max_cmd_len=$max_cmd_len
14877 # Object file suffix (normally "o").
14880 # Executable file suffix (normally "").
14883 # whether the shell understands "unset".
14886 # turn spaces into newlines.
14889 # turn newlines into spaces.
14892 # An object symbol dumper.
14893 OBJDUMP=$lt_OBJDUMP
14895 # Method to check whether dependent libraries are shared objects.
14896 deplibs_check_method=$lt_deplibs_check_method
14898 # Command to use when deplibs_check_method == "file_magic".
14899 file_magic_cmd=$lt_file_magic_cmd
14903 AR_FLAGS=$lt_AR_FLAGS
14905 # A symbol stripping program.
14908 # Commands used to install an old-style archive.
14910 old_postinstall_cmds=$lt_old_postinstall_cmds
14911 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14913 # Whether to use a lock for old archive extraction.
14914 lock_old_archive_extraction=$lock_old_archive_extraction
14919 # LTCC compiler flags.
14920 LTCFLAGS=$lt_CFLAGS
14922 # Take the output of nm and produce a listing of raw symbols and C names.
14923 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14925 # Transform the output of nm in a proper C declaration.
14926 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14928 # Transform the output of nm in a C name address pair.
14929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14931 # Transform the output of nm in a C name address pair when lib prefix is needed.
14932 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14934 # The name of the directory that contains temporary libtool files.
14937 # Used to examine libraries when file_magic_cmd begins with "file".
14938 MAGIC_CMD=$MAGIC_CMD
14940 # Must we lock files when doing compilation?
14941 need_locks=$lt_need_locks
14943 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14944 DSYMUTIL=$lt_DSYMUTIL
14946 # Tool to change global to local symbols on Mac OS X.
14949 # Tool to manipulate fat objects and archives on Mac OS X.
14952 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14955 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14956 OTOOL64=$lt_OTOOL64
14958 # Old archive suffix (normally "a").
14961 # Shared library suffix (normally ".so").
14962 shrext_cmds=$lt_shrext_cmds
14964 # The commands to extract the exported symbol list from a shared archive.
14965 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14967 # Variables whose values should be saved in libtool wrapper scripts and
14968 # restored at link time.
14969 variables_saved_for_relink=$lt_variables_saved_for_relink
14971 # Do we need the "lib" prefix for modules?
14972 need_lib_prefix=$need_lib_prefix
14974 # Do we need a version for libraries?
14975 need_version=$need_version
14977 # Library versioning type.
14978 version_type=$version_type
14980 # Shared library runtime path variable.
14981 runpath_var=$runpath_var
14983 # Shared library path variable.
14984 shlibpath_var=$shlibpath_var
14986 # Is shlibpath searched before the hard-coded library search path?
14987 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14989 # Format of library name prefix.
14990 libname_spec=$lt_libname_spec
14992 # List of archive names. First name is the real one, the rest are links.
14993 # The last name is the one that the linker finds with -lNAME
14994 library_names_spec=$lt_library_names_spec
14996 # The coded name of the library, if different from the real name.
14997 soname_spec=$lt_soname_spec
14999 # Permission mode override for installation of shared libraries.
15000 install_override_mode=$lt_install_override_mode
15002 # Command to use after installation of a shared archive.
15003 postinstall_cmds=$lt_postinstall_cmds
15005 # Command to use after uninstallation of a shared archive.
15006 postuninstall_cmds=$lt_postuninstall_cmds
15008 # Commands used to finish a libtool library installation in a directory.
15009 finish_cmds=$lt_finish_cmds
15011 # As "finish_cmds", except a single script fragment to be evaled but
15013 finish_eval=$lt_finish_eval
15015 # Whether we should hardcode library paths into libraries.
15016 hardcode_into_libs=$hardcode_into_libs
15018 # Compile-time system search path for libraries.
15019 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15021 # Run-time system search path for libraries.
15022 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15024 # Whether dlopen is supported.
15025 dlopen_support=$enable_dlopen
15027 # Whether dlopen of programs is supported.
15028 dlopen_self=$enable_dlopen_self
15030 # Whether dlopen of statically linked programs is supported.
15031 dlopen_self_static=$enable_dlopen_self_static
15033 # Commands to strip libraries.
15034 old_striplib=$lt_old_striplib
15035 striplib=$lt_striplib
15038 # The linker used to build libraries.
15041 # How to create reloadable object files.
15042 reload_flag=$lt_reload_flag
15043 reload_cmds=$lt_reload_cmds
15045 # Commands used to build an old-style archive.
15046 old_archive_cmds=$lt_old_archive_cmds
15048 # A language specific compiler.
15051 # Is the compiler the GNU compiler?
15054 # Compiler flag to turn off builtin functions.
15055 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15057 # How to pass a linker flag through the compiler.
15058 wl=$lt_lt_prog_compiler_wl
15060 # Additional compiler flags for building library objects.
15061 pic_flag=$lt_lt_prog_compiler_pic
15063 # Compiler flag to prevent dynamic linking.
15064 link_static_flag=$lt_lt_prog_compiler_static
15066 # Does compiler simultaneously support -c and -o options?
15067 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15069 # Whether or not to add -lc for building shared libraries.
15070 build_libtool_need_lc=$archive_cmds_need_lc
15072 # Whether or not to disallow shared libs when runtime libs are static.
15073 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15075 # Compiler flag to allow reflexive dlopens.
15076 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15078 # Compiler flag to generate shared objects directly from archives.
15079 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15081 # Whether the compiler copes with passing no objects directly.
15082 compiler_needs_object=$lt_compiler_needs_object
15084 # Create an old-style archive from a shared archive.
15085 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15087 # Create a temporary old-style archive to link instead of a shared archive.
15088 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15090 # Commands used to build a shared archive.
15091 archive_cmds=$lt_archive_cmds
15092 archive_expsym_cmds=$lt_archive_expsym_cmds
15094 # Commands used to build a loadable module if different from building
15095 # a shared archive.
15096 module_cmds=$lt_module_cmds
15097 module_expsym_cmds=$lt_module_expsym_cmds
15099 # Whether we are building with GNU ld or not.
15100 with_gnu_ld=$lt_with_gnu_ld
15102 # Flag that allows shared libraries with undefined symbols to be built.
15103 allow_undefined_flag=$lt_allow_undefined_flag
15105 # Flag that enforces no undefined symbols.
15106 no_undefined_flag=$lt_no_undefined_flag
15108 # Flag to hardcode \$libdir into a binary during linking.
15109 # This must work even if \$libdir does not exist
15110 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15112 # If ld is used when linking, flag to hardcode \$libdir into a binary
15113 # during linking. This must work even if \$libdir does not exist.
15114 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15116 # Whether we need a single "-rpath" flag with a separated argument.
15117 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15119 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15120 # DIR into the resulting binary.
15121 hardcode_direct=$hardcode_direct
15123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15124 # DIR into the resulting binary and the resulting library dependency is
15125 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15126 # library is relocated.
15127 hardcode_direct_absolute=$hardcode_direct_absolute
15129 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15130 # into the resulting binary.
15131 hardcode_minus_L=$hardcode_minus_L
15133 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15134 # into the resulting binary.
15135 hardcode_shlibpath_var=$hardcode_shlibpath_var
15137 # Set to "yes" if building a shared library automatically hardcodes DIR
15138 # into the library and all subsequent libraries and executables linked
15140 hardcode_automatic=$hardcode_automatic
15142 # Set to yes if linker adds runtime paths of dependent libraries
15143 # to runtime path list.
15144 inherit_rpath=$inherit_rpath
15146 # Whether libtool must link a program against all its dependency libraries.
15147 link_all_deplibs=$link_all_deplibs
15149 # Fix the shell variable \$srcfile for the compiler.
15150 fix_srcfile_path=$lt_fix_srcfile_path
15152 # Set to "yes" if exported symbols are required.
15153 always_export_symbols=$always_export_symbols
15155 # The commands to list exported symbols.
15156 export_symbols_cmds=$lt_export_symbols_cmds
15158 # Symbols that should not be listed in the preloaded symbols.
15159 exclude_expsyms=$lt_exclude_expsyms
15161 # Symbols that must always be exported.
15162 include_expsyms=$lt_include_expsyms
15164 # Commands necessary for linking programs (against libraries) with templates.
15165 prelink_cmds=$lt_prelink_cmds
15167 # Specify filename containing input files.
15168 file_list_spec=$lt_file_list_spec
15170 # How to hardcode a shared library path into an executable.
15171 hardcode_action=$hardcode_action
15173 # ### END LIBTOOL CONFIG
15179 cat <<\_LT_EOF
>> "$cfgfile"
15180 # AIX sometimes has problems with the GCC collect2 program. For some
15181 # reason, if we set the COLLECT_NAMES environment variable, the problems
15182 # vanish in a puff of smoke.
15183 if test "X${COLLECT_NAMES+set}" != Xset
; then
15185 export COLLECT_NAMES
15192 ltmain
="$ac_aux_dir/ltmain.sh"
15195 # We use sed instead of cat because bash on DJGPP gets confused if
15196 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15197 # text mode, it properly converts lines to CR/LF. This bash problem
15198 # is reportedly fixed, but why not run on old versions too?
15199 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15200 ||
(rm -f "$cfgfile"; exit 1)
15204 cat << \_LT_EOF
>> "$cfgfile"
15206 # func_dirname file append nondir_replacement
15207 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15208 # otherwise set result to NONDIR_REPLACEMENT.
15212 */*) func_dirname_result
="${1%/*}${2}" ;;
15213 * ) func_dirname_result
="${3}" ;;
15217 # func_basename file
15220 func_basename_result
="${1##*/}"
15223 # func_dirname_and_basename file append nondir_replacement
15224 # perform func_basename and func_dirname in a single function
15226 # dirname: Compute the dirname of FILE. If nonempty,
15227 # add APPEND to the result, otherwise set result
15228 # to NONDIR_REPLACEMENT.
15229 # value returned in "$func_dirname_result"
15230 # basename: Compute filename of FILE.
15231 # value retuned in "$func_basename_result"
15232 # Implementation must be kept synchronized with func_dirname
15233 # and func_basename. For efficiency, we do not delegate to
15234 # those functions but instead duplicate the functionality here.
15235 func_dirname_and_basename
()
15238 */*) func_dirname_result
="${1%/*}${2}" ;;
15239 * ) func_dirname_result
="${3}" ;;
15241 func_basename_result
="${1##*/}"
15244 # func_stripname prefix suffix name
15245 # strip PREFIX and SUFFIX off of NAME.
15246 # PREFIX and SUFFIX must not contain globbing or regex special
15247 # characters, hashes, percent signs, but SUFFIX may contain a leading
15248 # dot (in which case that matches only a dot).
15251 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15252 # positional parameters, so assign one to ordinary parameter first.
15253 func_stripname_result
=${3}
15254 func_stripname_result
=${func_stripname_result#"${1}"}
15255 func_stripname_result
=${func_stripname_result%"${2}"}
15261 func_opt_split_opt
=${1%%=*}
15262 func_opt_split_arg
=${1#*=}
15269 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15270 *) func_lo2o_result
=${1} ;;
15274 # func_xform libobj-or-source
15277 func_xform_result
=${1%.*}.lo
15280 # func_arith arithmetic-term...
15283 func_arith_result
=$
(( $
* ))
15287 # STRING may not start with a hyphen.
15290 func_len_result
=${#1}
15295 *) # Bourne compatible functions.
15296 cat << \_LT_EOF
>> "$cfgfile"
15298 # func_dirname file append nondir_replacement
15299 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15300 # otherwise set result to NONDIR_REPLACEMENT.
15303 # Extract subdirectory from the argument.
15304 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15305 if test "X$func_dirname_result" = "X${1}"; then
15306 func_dirname_result
="${3}"
15308 func_dirname_result
="$func_dirname_result${2}"
15312 # func_basename file
15315 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15319 # func_stripname prefix suffix name
15320 # strip PREFIX and SUFFIX off of NAME.
15321 # PREFIX and SUFFIX must not contain globbing or regex special
15322 # characters, hashes, percent signs, but SUFFIX may contain a leading
15323 # dot (in which case that matches only a dot).
15324 # func_strip_suffix prefix name
15328 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15329 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15334 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15335 my_sed_long_arg
='1s/^-[^=]*=//'
15340 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15341 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15347 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15350 # func_xform libobj-or-source
15353 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15356 # func_arith arithmetic-term...
15359 func_arith_result
=`expr "$@"`
15363 # STRING may not start with a hyphen.
15366 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15372 case $lt_shell_append in
15374 cat << \_LT_EOF
>> "$cfgfile"
15376 # func_append var value
15377 # Append VALUE to the end of shell variable VAR.
15385 cat << \_LT_EOF
>> "$cfgfile"
15387 # func_append var value
15388 # Append VALUE to the end of shell variable VAR.
15399 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15400 ||
(rm -f "$cfgfile"; exit 1)
15402 mv -f "$cfgfile" "$ofile" ||
15403 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15408 if test "$GCC" = yes; then
15409 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
15411 echo "/* generated for $CC */" > tmp-stdint.h
15414 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15416 #ifndef GCC_GENERATED_STDINT_H
15417 #define GCC_GENERATED_STDINT_H 1
15419 #include <sys/types.h>
15422 if test "$acx_cv_header_stdint" != stdint.h
; then
15423 echo "#include <stddef.h>" >> tmp-stdint.h
15425 if test "$acx_cv_header_stdint" != stddef.h
; then
15426 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
15429 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15430 /* glibc uses these symbols as guards to prevent redefinitions. */
15431 #ifdef __int8_t_defined
15436 #ifdef __uint32_t_defined
15442 # ----------------- done header, emit basic int types -------------
15443 if test "$acx_cv_header_stdint" = stddef.h
; then
15444 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15448 #ifndef __uint8_t_defined
15449 #define __uint8_t_defined
15451 typedef unsigned $acx_cv_type_int8_t uint8_t;
15458 #ifndef __uint16_t_defined
15459 #define __uint16_t_defined
15461 typedef unsigned $acx_cv_type_int16_t uint16_t;
15468 #ifndef __uint32_t_defined
15469 #define __uint32_t_defined
15471 typedef unsigned $acx_cv_type_int32_t uint32_t;
15478 #ifndef __int8_t_defined
15479 #define __int8_t_defined
15481 typedef $acx_cv_type_int8_t int8_t;
15488 #ifndef __int16_t_defined
15489 #define __int16_t_defined
15491 typedef $acx_cv_type_int16_t int16_t;
15498 #ifndef __int32_t_defined
15499 #define __int32_t_defined
15501 typedef $acx_cv_type_int32_t int32_t;
15506 elif test "$ac_cv_type_u_int32_t" = yes; then
15507 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15509 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
15522 #ifndef __uint8_t_defined
15523 #define __uint8_t_defined
15525 typedef u_int8_t uint8_t;
15532 #ifndef __uint16_t_defined
15533 #define __uint16_t_defined
15535 typedef u_int16_t uint16_t;
15542 #ifndef __uint32_t_defined
15543 #define __uint32_t_defined
15545 typedef u_int32_t uint32_t;
15551 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15553 /* Some systems have guard macros to prevent redefinitions, define them. */
15575 # ------------- done basic int types, emit int64_t types ------------
15576 if test "$ac_cv_type_uint64_t" = yes; then
15577 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15579 /* system headers have good uint64_t and int64_t */
15587 elif test "$ac_cv_type_u_int64_t" = yes; then
15588 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15590 /* system headers have an u_int64_t (and int64_t) */
15596 #ifndef __uint64_t_defined
15597 #define __uint64_t_defined
15599 typedef u_int64_t uint64_t;
15604 elif test -n "$acx_cv_type_int64_t"; then
15605 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15607 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
15611 typedef $acx_cv_type_int64_t int64_t;
15616 #ifndef __uint64_t_defined
15617 #define __uint64_t_defined
15619 typedef unsigned $acx_cv_type_int64_t uint64_t;
15625 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15627 /* some common heuristics for int64_t, using compiler-specific tests */
15628 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
15631 #ifndef __int64_t_defined
15633 typedef long long int64_t;
15640 typedef unsigned long long uint64_t;
15644 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
15645 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
15646 does not implement __extension__. But that compiler doesn't define
15648 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
15649 # define __extension__
15655 __extension__ typedef long long int64_t;
15661 __extension__ typedef unsigned long long uint64_t;
15665 #elif !defined __STRICT_ANSI__
15666 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
15671 typedef __int64 int64_t;
15677 typedef unsigned __int64 uint64_t;
15680 # endif /* compiler */
15682 #endif /* ANSI version */
15686 # ------------- done int64_t types, emit intptr types ------------
15687 if test "$ac_cv_type_uintptr_t" != yes; then
15688 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15690 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
15691 #ifndef __uintptr_t_defined
15693 typedef u$acx_cv_type_intptr_t uintptr_t;
15696 #ifndef __intptr_t_defined
15698 typedef $acx_cv_type_intptr_t intptr_t;
15704 # ------------- done intptr types, emit int_least types ------------
15705 if test "$ac_cv_type_int_least32_t" != yes; then
15706 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15708 /* Define int_least types */
15709 typedef int8_t int_least8_t;
15710 typedef int16_t int_least16_t;
15711 typedef int32_t int_least32_t;
15713 typedef int64_t int_least64_t;
15716 typedef uint8_t uint_least8_t;
15717 typedef uint16_t uint_least16_t;
15718 typedef uint32_t uint_least32_t;
15720 typedef uint64_t uint_least64_t;
15725 # ------------- done intptr types, emit int_fast types ------------
15726 if test "$ac_cv_type_int_fast32_t" != yes; then
15727 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15729 /* Define int_fast types. short is often slow */
15730 typedef int8_t int_fast8_t;
15731 typedef int int_fast16_t;
15732 typedef int32_t int_fast32_t;
15734 typedef int64_t int_fast64_t;
15737 typedef uint8_t uint_fast8_t;
15738 typedef unsigned int uint_fast16_t;
15739 typedef uint32_t uint_fast32_t;
15741 typedef uint64_t uint_fast64_t;
15746 if test "$ac_cv_type_uintmax_t" != yes; then
15747 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15749 /* Define intmax based on what we found */
15752 typedef int64_t intmax_t;
15754 typedef long intmax_t;
15759 typedef uint64_t uintmax_t;
15761 typedef unsigned long uintmax_t;
15767 sed 's/^ *//' >> tmp-stdint.h
<<EOF
15769 #endif /* GCC_GENERATED_STDINT_H */
15772 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
15775 mv -f tmp-stdint.h gstdint.h
15779 "default":C
) if test -n "$CONFIG_FILES"; then
15780 if test -n "${with_target_subdir}"; then
15781 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15782 # that multilib installs will end up installed in the correct place.
15783 # The testsuite needs it for multilib-aware ABI baseline files.
15784 # To work around this not being passed down from config-ml.in ->
15785 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
15786 # append it here. Only modify Makefiles that have just been created.
15788 # Also, get rid of this simulated-VPATH thing that automake does.
15789 cat > vpsed
<< \_EOF
15790 s
!`test -f '$<' || echo '$(srcdir)/'`!!
15792 for i
in $SUBDIRS; do
15793 case $CONFIG_FILES in
15795 #echo "Adding MULTISUBDIR to $i/Makefile"
15796 sed -f vpsed
$i/Makefile
> tmp
15797 grep '^MULTISUBDIR =' Makefile
>> tmp
15813 ac_clean_files
=$ac_clean_files_save
15815 test $ac_write_fail = 0 ||
15816 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15819 # configure is writing to config.log, and then calls config.status.
15820 # config.status does its own redirection, appending to config.log.
15821 # Unfortunately, on DOS this fails, as config.log is still kept open
15822 # by configure, so config.status won't be able to write to it; its
15823 # output is simply discarded. So we exec the FD to /dev/null,
15824 # effectively closing config.log, so it can be properly (re)opened and
15825 # appended to by config.status. When coming back to configure, we
15826 # need to make the FD available again.
15827 if test "$no_create" != yes; then
15829 ac_config_status_args
=
15830 test "$silent" = yes &&
15831 ac_config_status_args
="$ac_config_status_args --quiet"
15833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15836 # would make configure fail if this is the last instruction.
15837 $ac_cs_success || as_fn_exit $?
15839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}