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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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
='libobjc'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="objc/objc.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
='LTLIBOBJS
604 OBJC_BOEHM_GC_INCLUDES
629 MAINTAINER_MODE_FALSE
637 extra_ldflags_libobjc
697 program_transform_name
710 enable_option_checking
714 enable_version_specific_runtime_libs
716 enable_maintainer_mode
726 with_target_bdw_gc_include
727 with_target_bdw_gc_lib
729 ac_precious_vars
='build_alias
736 # Initialize some variables set by options.
738 ac_init_version
=false
739 ac_unrecognized_opts
=
741 # The variables have the same names as the options, with
742 # dashes changed to underlines.
750 program_transform_name
=s
,x
,x
,
758 # Installation directory options.
759 # These are left unexpanded so users can "make install exec_prefix=/foo"
760 # and all the variables that are supposed to be based on exec_prefix
761 # by default will actually change.
762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
764 bindir
='${exec_prefix}/bin'
765 sbindir
='${exec_prefix}/sbin'
766 libexecdir
='${exec_prefix}/libexec'
767 datarootdir
='${prefix}/share'
768 datadir
='${datarootdir}'
769 sysconfdir
='${prefix}/etc'
770 sharedstatedir
='${prefix}/com'
771 localstatedir
='${prefix}/var'
772 includedir
='${prefix}/include'
773 oldincludedir
='/usr/include'
774 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
775 infodir
='${datarootdir}/info'
780 libdir
='${exec_prefix}/lib'
781 localedir
='${datarootdir}/locale'
782 mandir
='${datarootdir}/man'
788 # If the previous option needs an argument, assign it.
789 if test -n "$ac_prev"; then
790 eval $ac_prev=\
$ac_option
796 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
800 # Accept the important Cygnus configure options, so we can diagnose typos.
802 case $ac_dashdash$ac_option in
806 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
808 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
811 -build |
--build |
--buil |
--bui |
--bu)
812 ac_prev
=build_alias
;;
813 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
814 build_alias
=$ac_optarg ;;
816 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
817 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
818 ac_prev
=cache_file
;;
819 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
820 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
821 cache_file
=$ac_optarg ;;
824 cache_file
=config.cache
;;
826 -datadir |
--datadir |
--datadi |
--datad)
828 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
829 datadir
=$ac_optarg ;;
831 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
832 |
--dataroo |
--dataro |
--datar)
833 ac_prev
=datarootdir
;;
834 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
835 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
836 datarootdir
=$ac_optarg ;;
838 -disable-* |
--disable-*)
839 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
842 as_fn_error
"invalid feature name: $ac_useropt"
843 ac_useropt_orig
=$ac_useropt
844 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
849 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
850 ac_unrecognized_sep
=', ';;
852 eval enable_
$ac_useropt=no
;;
854 -docdir |
--docdir |
--docdi |
--doc |
--do)
856 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
859 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
861 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
864 -enable-* |
--enable-*)
865 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
876 ac_unrecognized_sep
=', ';;
878 eval enable_
$ac_useropt=\
$ac_optarg ;;
880 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
881 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
882 |
--exec |
--exe |
--ex)
883 ac_prev
=exec_prefix
;;
884 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
885 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
886 |
--exec=* |
--exe=* |
--ex=*)
887 exec_prefix
=$ac_optarg ;;
889 -gas |
--gas |
--ga |
--g)
890 # Obsolete; use --with-gas.
893 -help |
--help |
--hel |
--he |
-h)
895 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
896 ac_init_help
=recursive
;;
897 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
898 ac_init_help
=short
;;
900 -host |
--host |
--hos |
--ho)
901 ac_prev
=host_alias
;;
902 -host=* |
--host=* |
--hos=* |
--ho=*)
903 host_alias
=$ac_optarg ;;
905 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
907 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
909 htmldir
=$ac_optarg ;;
911 -includedir |
--includedir |
--includedi |
--included |
--include \
912 |
--includ |
--inclu |
--incl |
--inc)
913 ac_prev
=includedir
;;
914 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
915 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
916 includedir
=$ac_optarg ;;
918 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
920 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
921 infodir
=$ac_optarg ;;
923 -libdir |
--libdir |
--libdi |
--libd)
925 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
928 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
929 |
--libexe |
--libex |
--libe)
930 ac_prev
=libexecdir
;;
931 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
932 |
--libexe=* |
--libex=* |
--libe=*)
933 libexecdir
=$ac_optarg ;;
935 -localedir |
--localedir |
--localedi |
--localed |
--locale)
937 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
938 localedir
=$ac_optarg ;;
940 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
941 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
942 ac_prev
=localstatedir
;;
943 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
944 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
945 localstatedir
=$ac_optarg ;;
947 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
949 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
953 # Obsolete; use --without-fp.
956 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
957 |
--no-cr |
--no-c |
-n)
960 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
961 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
964 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
965 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
966 |
--oldin |
--oldi |
--old |
--ol |
--o)
967 ac_prev
=oldincludedir
;;
968 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
969 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
970 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
971 oldincludedir
=$ac_optarg ;;
973 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
975 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
978 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
979 |
--program-pre |
--program-pr |
--program-p)
980 ac_prev
=program_prefix
;;
981 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
982 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
983 program_prefix
=$ac_optarg ;;
985 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
986 |
--program-suf |
--program-su |
--program-s)
987 ac_prev
=program_suffix
;;
988 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
989 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
990 program_suffix
=$ac_optarg ;;
992 -program-transform-name |
--program-transform-name \
993 |
--program-transform-nam |
--program-transform-na \
994 |
--program-transform-n |
--program-transform- \
995 |
--program-transform |
--program-transfor \
996 |
--program-transfo |
--program-transf \
997 |
--program-trans |
--program-tran \
998 |
--progr-tra |
--program-tr |
--program-t)
999 ac_prev
=program_transform_name
;;
1000 -program-transform-name=* |
--program-transform-name=* \
1001 |
--program-transform-nam=* |
--program-transform-na=* \
1002 |
--program-transform-n=* |
--program-transform-=* \
1003 |
--program-transform=* |
--program-transfor=* \
1004 |
--program-transfo=* |
--program-transf=* \
1005 |
--program-trans=* |
--program-tran=* \
1006 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1007 program_transform_name
=$ac_optarg ;;
1009 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1011 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1012 pdfdir
=$ac_optarg ;;
1014 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1016 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1019 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1020 |
-silent |
--silent |
--silen |
--sile |
--sil)
1023 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1025 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1027 sbindir
=$ac_optarg ;;
1029 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1030 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1031 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1033 ac_prev
=sharedstatedir
;;
1034 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1035 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1036 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1038 sharedstatedir
=$ac_optarg ;;
1040 -site |
--site |
--sit)
1042 -site=* |
--site=* |
--sit=*)
1045 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1047 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1048 srcdir
=$ac_optarg ;;
1050 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1051 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1052 ac_prev
=sysconfdir
;;
1053 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1054 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1055 sysconfdir
=$ac_optarg ;;
1057 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1058 ac_prev
=target_alias
;;
1059 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1060 target_alias
=$ac_optarg ;;
1062 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1065 -version |
--version |
--versio |
--versi |
--vers |
-V)
1066 ac_init_version
=: ;;
1069 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error
"invalid package name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval with_
$ac_useropt=\
$ac_optarg ;;
1084 -without-* |
--without-*)
1085 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error
"invalid package name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval with_
$ac_useropt=no
;;
1101 # Obsolete; use --with-x.
1104 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1105 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1106 ac_prev
=x_includes
;;
1107 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1108 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1109 x_includes
=$ac_optarg ;;
1111 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1112 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1113 ac_prev
=x_libraries
;;
1114 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1115 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1116 x_libraries
=$ac_optarg ;;
1118 -*) as_fn_error
"unrecognized option: \`$ac_option'
1119 Try \`$0 --help' for more information."
1123 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1124 # Reject names that are not valid shell variable names.
1125 case $ac_envvar in #(
1126 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1127 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1129 eval $ac_envvar=\
$ac_optarg
1130 export $ac_envvar ;;
1133 # FIXME: should be removed in autoconf 3.0.
1134 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1135 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1136 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1137 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1143 if test -n "$ac_prev"; then
1144 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1145 as_fn_error
"missing argument to $ac_option"
1148 if test -n "$ac_unrecognized_opts"; then
1149 case $enable_option_checking in
1151 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1152 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1156 # Check all directory arguments for consistency.
1157 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1158 datadir sysconfdir sharedstatedir localstatedir includedir \
1159 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1160 libdir localedir mandir
1162 eval ac_val
=\$
$ac_var
1163 # Remove trailing slashes.
1166 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1167 eval $ac_var=\
$ac_val;;
1169 # Be sure to have absolute directory names.
1171 [\\/$
]* | ?
:[\\/]* ) continue;;
1172 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1174 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1177 # There might be people who depend on the old broken behavior: `$host'
1178 # used to hold the argument of --host etc.
1179 # FIXME: To remove some day.
1182 target
=$target_alias
1184 # FIXME: To remove some day.
1185 if test "x$host_alias" != x
; then
1186 if test "x$build_alias" = x
; then
1187 cross_compiling
=maybe
1188 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1189 If a cross compiler is detected then cross compile mode will be used." >&2
1190 elif test "x$build_alias" != "x$host_alias"; then
1196 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1198 test "$silent" = yes && exec 6>/dev
/null
1201 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1202 ac_ls_di
=`ls -di .` &&
1203 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1204 as_fn_error
"working directory cannot be determined"
1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1206 as_fn_error
"pwd does not report name of working directory"
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted
=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir
=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 $as_echo X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1241 ac_srcdir_defaulted
=no
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1245 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1247 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1251 # When building in place, set srcdir=.
1252 if test "$ac_abs_confdir" = "$ac_pwd"; then
1255 # Remove unnecessary trailing slashes from srcdir.
1256 # Double slashes in file names in object file debugging info
1257 # mess up M-x gdb in Emacs.
1259 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1261 for ac_var
in $ac_precious_vars; do
1262 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1263 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1264 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1265 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1269 # Report the --help message.
1271 if test "$ac_init_help" = "long"; then
1272 # Omit some internal or obsolete options to make the list less imposing.
1273 # This message is too long to be a string in the A/UX 3.1 sh.
1275 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1277 Usage: $0 [OPTION]... [VAR=VALUE]...
1279 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1280 VAR=VALUE. See below for descriptions of some of the useful variables.
1282 Defaults for the options are specified in brackets.
1285 -h, --help display this help and exit
1286 --help=short display options specific to this package
1287 --help=recursive display the short help of all the included packages
1288 -V, --version display version information and exit
1289 -q, --quiet, --silent do not print \`checking...' messages
1290 --cache-file=FILE cache test results in FILE [disabled]
1291 -C, --config-cache alias for \`--cache-file=config.cache'
1292 -n, --no-create do not create output files
1293 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1295 Installation directories:
1296 --prefix=PREFIX install architecture-independent files in PREFIX
1297 [$ac_default_prefix]
1298 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1301 By default, \`make install' will install all the files in
1302 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1303 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1304 for instance \`--prefix=\$HOME'.
1306 For better control, use the options below.
1308 Fine tuning of the installation directories:
1309 --bindir=DIR user executables [EPREFIX/bin]
1310 --sbindir=DIR system admin executables [EPREFIX/sbin]
1311 --libexecdir=DIR program executables [EPREFIX/libexec]
1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1315 --libdir=DIR object code libraries [EPREFIX/lib]
1316 --includedir=DIR C header files [PREFIX/include]
1317 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1320 --infodir=DIR info documentation [DATAROOTDIR/info]
1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1322 --mandir=DIR man documentation [DATAROOTDIR/man]
1323 --docdir=DIR documentation root [DATAROOTDIR/doc/libobjc]
1324 --htmldir=DIR html documentation [DOCDIR]
1325 --dvidir=DIR dvi documentation [DOCDIR]
1326 --pdfdir=DIR pdf documentation [DOCDIR]
1327 --psdir=DIR ps documentation [DOCDIR]
1333 --build=BUILD configure
for building on BUILD
[guessed
]
1334 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1335 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1339 if test -n "$ac_init_help"; then
1340 case $ac_init_help in
1341 short | recursive
) echo "Configuration of package-unused version-unused:";;
1346 --disable-option-checking ignore unrecognized
--enable/--with options
1347 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1348 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1349 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1350 --enable-multilib build many library versions
(default
)
1351 --enable-maintainer-mode enable make rules and dependencies not useful
1352 (and sometimes confusing
) to the casual installer
1353 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1354 --enable-static[=PKGS
] build static libraries
[default
=yes]
1355 --enable-fast-install[=PKGS
]
1356 optimize
for fast installation
[default
=yes]
1357 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1358 --enable-tls Use thread-local storage
[default
=yes]
1359 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1363 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1364 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1365 --with-build-libsubdir=DIR Directory where to find libraries for build system
1366 --with-target-subdir=SUBDIR
1367 configuring in a subdirectory
1368 --with-cross-host=HOST configuring with a cross compiler
1369 --with-pic try to use only PIC/non-PIC objects [default=use
1371 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1372 --with-target-bdw-gc=PATHLIST
1373 specify prefix directory for installed bdw-gc
1374 package. Equivalent to
1375 --with-target-bdw-gc-include=PATH/include plus
1376 --with-target-bdw-gc-lib=PATH/lib
1377 --with-target-bdw-gc-include=PATHLIST
1378 specify directories for installed bdw-gc include
1380 --with-target-bdw-gc-lib=PATHLIST
1381 specify directories for installed bdw-gc library
1383 Some influential environment variables:
1384 CC C compiler command
1385 CFLAGS C compiler flags
1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1387 nonstandard directory <lib dir>
1388 LIBS libraries to pass to the linker, e.g. -l<library>
1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1390 you have headers in a nonstandard directory <include dir>
1393 Use these variables to override the choices made by `configure' or to
help
1394 it to
find libraries and programs with nonstandard names
/locations.
1396 Report bugs to the package provider.
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir
=$ac_pwd
1421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir
=$ac_top_build_prefix
1426 .
) # We are building in place.
1428 ac_top_srcdir
=$ac_top_builddir_sub
1429 ac_abs_top_srcdir
=$ac_pwd ;;
1430 [\\/]* | ?
:[\\/]* ) # Absolute name.
1431 ac_srcdir
=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir
=$srcdir
1433 ac_abs_top_srcdir
=$srcdir ;;
1435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1459 package-unused configure version-unused
1460 generated by GNU Autoconf
2.64
1462 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1469 ## ------------------------ ##
1470 ## Autoconf initialization. ##
1471 ## ------------------------ ##
1473 # ac_fn_c_try_compile LINENO
1474 # --------------------------
1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1476 ac_fn_c_try_compile
()
1478 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1479 rm -f conftest.
$ac_objext
1480 if { { ac_try
="$ac_compile"
1482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_compile") 2>conftest.err
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } && {
1496 test -z "$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 } && test -s conftest.$ac_objext; then :
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1506 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509 } # ac_fn_c_try_compile
1511 # ac_fn_c_try_link LINENO
1512 # -----------------------
1513 # Try to link conftest.$ac_ext, and return whether this succeeded.
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 rm -f conftest.$ac_objext conftest$ac_exeext
1518 if { { ac_try="$ac_link"
1520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1521 *) ac_try_echo
=$ac_try;;
1523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525 (eval "$ac_link") 2>conftest.err
1527 if test -s conftest.err
; then
1528 grep -v '^ *+' conftest.err
>conftest.er1
1529 cat conftest.er1
>&5
1530 mv -f conftest.er1 conftest.err
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && {
1534 test -z "$ac_c_werror_flag" ||
1535 test ! -s conftest.err
1536 } && test -s conftest
$ac_exeext && {
1537 test "$cross_compiling" = yes ||
1538 $as_test_x conftest
$ac_exeext
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.
$ac_ext >&5
1547 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1548 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1549 # interfere with the next link command; also delete a directory that is
1550 # left behind by Apple's compiler. We do this before executing the actions.
1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1555 } # ac_fn_c_try_link
1557 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1558 # -------------------------------------------------------
1559 # Tests whether HEADER exists and can be compiled using the include files in
1560 # INCLUDES, setting the cache variable VAR accordingly.
1561 ac_fn_c_check_header_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567 $as_echo_n "(cached) " >&6
1569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1570 /* end confdefs.h. */
1574 if ac_fn_c_try_compile
"$LINENO"; then :
1579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583 $as_echo "$ac_res" >&6; }
1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1586 } # ac_fn_c_check_header_compile
1588 # ac_fn_c_try_cpp LINENO
1589 # ----------------------
1590 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1594 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } >/dev/null && {
1610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625 # ac_fn_c_try_run LINENO
1626 # ----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1628 # that executables *can* be run.
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 if { { ac_try="$ac_link"
1634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1635 *) ac_try_echo
=$ac_try;;
1637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>&5
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1643 { { case "(($ac_try" in
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_try") 2>&5
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; }; }; then :
1655 $as_echo "$as_me: program exited with status $ac_status" >&5
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1659 ac_retval=$ac_status
1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 # ac_fn_c_check_func LINENO FUNC VAR
1668 # ----------------------------------
1669 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1670 ac_fn_c_check_func ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 $as_echo_n "(cached) " >&6
1678 if test x$gcc_no_link = xyes; then
1679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1683 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1685 #define $2 innocuous_$2
1687 /* System header to define __stub macros and hopefully few prototypes,
1688 which can conflict with char $2 (); below.
1689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1690 <limits.h> exists even on freestanding compilers. */
1693 # include <limits.h>
1695 # include <assert.h>
1700 /* Override any GCC internal prototype to avoid an error.
1701 Use char because int might match the return type of a GCC
1702 builtin and then its argument prototype would still apply. */
1707 /* The GNU C library defines this for functions which it implements
1708 to always fail with ENOSYS. Some functions are actually named
1709 something starting with __ and the normal name is an alias. */
1710 #if defined __stub_$2 || defined __stub___$2
1722 if ac_fn_c_try_link "$LINENO"; then :
1727 rm -f core conftest.err conftest.$ac_objext \
1728 conftest$ac_exeext conftest.$ac_ext
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 } # ac_fn_c_check_func
1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1740 # the include files in INCLUDES and setting the cache variable VAR
1742 ac_fn_c_check_header_mongrel ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1749 $as_echo_n "(cached) " >&6
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753 $as_echo "$ac_res" >&6; }
1755 # Is the header compilable?
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1757 $as_echo_n "checking $2 usability... " >&6; }
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764 ac_header_compiler=yes
1766 ac_header_compiler=no
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1770 $as_echo "$ac_header_compiler" >&6; }
1772 # Is the header present?
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1774 $as_echo_n "checking $2 presence... " >&6; }
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1779 if ac_fn_c_try_cpp "$LINENO"; then :
1780 ac_header_preproc=yes
1782 ac_header_preproc=no
1784 rm -f conftest.err conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1786 $as_echo "$ac_header_preproc" >&6; }
1788 # So? What about this header?
1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1812 $as_echo_n "(cached) " >&6
1814 eval "$3=\$ac_header_compiler"
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 } # ac_fn_c_check_header_mongrel
1823 cat >config.log <<_ACEOF
1824 This file contains any messages produced by compilers while
1825 running configure, to aid debugging if configure makes a mistake.
1827 It was created by package-unused $as_me version-unused, which was
1828 generated by GNU Autoconf 2.64. Invocation command line was
1840 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1841 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1842 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1843 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1844 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1846 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1847 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1849 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1850 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1851 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1852 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1853 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1854 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1855 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir=.
1864 $as_echo "PATH: $as_dir"
1880 # Keep a trace of the command line.
1881 # Strip out --no-create and --no-recursion so they do not pile up.
1882 # Strip out --silent because we don't want to record it for future runs.
1883 # Also quote any args containing shell meta-characters.
1884 # Make two passes to allow for proper duplicate-argument suppression.
1888 ac_must_keep_next=false
1894 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1896 | -silent | --silent | --silen | --sile | --sil)
1899 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1902 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1904 as_fn_append ac_configure_args1 " '$ac_arg'"
1905 if test $ac_must_keep_next = true; then
1906 ac_must_keep_next=false # Got value, back to normal.
1909 *=* | --config-cache | -C | -disable-* | --disable-* \
1910 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1911 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1912 | -with-* | --with-* | -without-* | --without-* | --x)
1913 case "$ac_configure_args0 " in
1914 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1917 -* ) ac_must_keep_next=true ;;
1920 as_fn_append ac_configure_args " '$ac_arg'"
1925 { ac_configure_args0=; unset ac_configure_args0;}
1926 { ac_configure_args1=; unset ac_configure_args1;}
1928 # When interrupted or exit'd, cleanup temporary files, and complete
1929 # config.log. We remove comments because anyway the quotes in there
1930 # would cause problems or look ugly.
1931 # WARNING: Use '\'' to represent an apostrophe within the trap.
1932 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1933 trap 'exit_status=$?
1934 # Save into config.log some information that might help in debugging.
1939 ## ---------------- ##
1940 ## Cache variables. ##
1941 ## ---------------- ##
1944 # The following way of writing the cache mishandles newlines in values,
1946 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1947 eval ac_val=\$$ac_var
1951 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1952 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1955 _ | IFS | as_nl) ;; #(
1956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1957 *) { eval $ac_var=; unset $ac_var;} ;;
1962 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1963 *${as_nl}ac_space=\ *)
1965 "s/'\''/'\''\\\\'\'''\''/g;
1966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1969 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1977 ## ----------------- ##
1978 ## Output variables. ##
1979 ## ----------------- ##
1982 for ac_var in $ac_subst_vars
1984 eval ac_val=\$$ac_var
1986 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1988 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -n "$ac_subst_files"; then
1994 ## ------------------- ##
1995 ## File substitutions. ##
1996 ## ------------------- ##
1999 for ac_var in $ac_subst_files
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2010 if test -s confdefs.h; then
2020 test "$ac_signal" != 0 &&
2021 $as_echo "$as_me: caught signal $ac_signal"
2022 $as_echo "$as_me: exit $exit_status"
2024 rm -f core *.core core.conftest.* &&
2025 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2028 for ac_signal in 1 2 13 15; do
2029 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2033 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2034 rm -f -r conftest* confdefs.h
2036 $as_echo "/* confdefs.h */" > confdefs.h
2038 # Predefined preprocessor variables.
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_NAME "$PACKAGE_NAME"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_STRING "$PACKAGE_STRING"
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_URL "$PACKAGE_URL"
2065 # Let the site file select an alternate cache file if it wants to.
2066 # Prefer an explicitly selected file to automatically selected ones.
2069 if test -n "$CONFIG_SITE"; then
2070 ac_site_file1=$CONFIG_SITE
2071 elif test "x$prefix" != xNONE; then
2072 ac_site_file1=$prefix/share/config.site
2073 ac_site_file2=$prefix/etc/config.site
2075 ac_site_file1=$ac_default_prefix/share/config.site
2076 ac_site_file2=$ac_default_prefix/etc/config.site
2078 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2080 test "x$ac_site_file" = xNONE && continue
2081 if test -r "$ac_site_file"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2083 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2084 sed 's/^/| /' "$ac_site_file" >&5
2089 if test -r "$cache_file"; then
2090 # Some versions of bash will fail to source /dev/null (special
2091 # files actually), so we avoid doing that.
2092 if test -f "$cache_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
2096 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2097 *) . "./$cache_file";;
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
2106 # Check that the precious variables saved in the cache have kept the same
2108 ac_cache_corrupted=false
2109 for ac_var in $ac_precious_vars; do
2110 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2111 eval ac_new_set=\$ac_env_${ac_var}_set
2112 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2113 eval ac_new_val=\$ac_env_${ac_var}_value
2114 case $ac_old_set,$ac_new_set in
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2117 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2118 ac_cache_corrupted=: ;;
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2121 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2122 ac_cache_corrupted=: ;;
2125 if test "x$ac_old_val" != "x$ac_new_val"; then
2126 # differences in whitespace do not lead to failure.
2127 ac_old_val_w=`echo x
$ac_old_val`
2128 ac_new_val_w=`echo x
$ac_new_val`
2129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2132 ac_cache_corrupted=:
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136 eval $ac_var=\$ac_old_val
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2139 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2144 # Pass precious variables to config.status.
2145 if test "$ac_new_set" = set; then
2147 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2148 *) ac_arg=$ac_var=$ac_new_val ;;
2150 case " $ac_configure_args " in
2151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2152 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2156 if $ac_cache_corrupted; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2180 for ac_t in install-sh install.sh shtool; do
2181 if test -f "$ac_dir/$ac_t"; then
2183 ac_install_sh="$ac_aux_dir/$ac_t -c"
2188 if test -z "$ac_aux_dir"; then
2189 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2192 # These three variables are undocumented and unsupported,
2193 # and are intended to be withdrawn in a future Autoconf release.
2194 # They can cause serious problems if a builder's source tree is in a directory
2195 # whose full name contains unusual characters.
2196 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2197 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2198 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2201 # Make sure we can run config.sub.
2202 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2203 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2206 $as_echo_n "checking build system type... " >&6; }
2207 if test "${ac_cv_build+set}" = set; then :
2208 $as_echo_n "(cached) " >&6
2210 ac_build_alias=$build_alias
2211 test "x$ac_build_alias" = x &&
2212 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2213 test "x$ac_build_alias" = x &&
2214 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2215 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2216 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2220 $as_echo "$ac_cv_build" >&6; }
2221 case $ac_cv_build in
2223 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2226 ac_save_IFS=$IFS; IFS='-'
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2236 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2239 case ${build_alias} in
2240 "") build_noncanonical=${build} ;;
2241 *) build_noncanonical=${build_alias} ;;
2244 case ${host_alias} in
2245 "") host_noncanonical=${build_noncanonical} ;;
2246 *) host_noncanonical=${host_alias} ;;
2249 case ${target_alias} in
2250 "") target_noncanonical=${host_noncanonical} ;;
2251 *) target_noncanonical=${target_alias} ;;
2255 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2256 # have matching libraries, they should use host libraries: Makefile.tpl
2257 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2258 # However, they still use the build modules, because the corresponding
2259 # host modules (e.g. bison) are only built for the host when bootstrap
2261 # - build_subdir is where we find build modules, and never changes.
2262 # - build_libsubdir is where we find build libraries, and can be overridden.
2264 # Prefix 'build-' so this never conflicts with target_subdir.
2265 build_subdir="build-${build_noncanonical}"
2267 # Check whether --with-build-libsubdir was given.
2268 if test "${with_build_libsubdir+set}" = set; then :
2269 withval=$with_build_libsubdir; build_libsubdir="$withval"
2271 build_libsubdir="$build_subdir"
2274 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2275 if ( test $srcdir = . && test -d gcc ) \
2276 || test -d $srcdir/../host-${host_noncanonical}; then
2277 host_subdir="host-${host_noncanonical}"
2282 target_subdir=${target_noncanonical}
2285 # We need the following definitions because AC_PROG_LIBTOOL relies on them
2287 # Version is pulled out to make it a bit easier to change using sed.
2291 # This works around the fact that libtool configuration may change LD
2292 # for this particular configuration, but some shells, instead of
2293 # keeping the changes in LD private, export them just because LD is
2295 ORIGINAL_LD_FOR_MULTILIBS=$LD
2301 # We use these options to decide which functions to include.
2303 # Check whether --with-target-subdir was given.
2304 if test "${with_target_subdir+set}" = set; then :
2305 withval=$with_target_subdir;
2309 # Check whether --with-cross-host was given.
2310 if test "${with_cross_host+set}" = set; then :
2311 withval=$with_cross_host;
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2316 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2317 # Check whether --enable-version-specific-runtime-libs was given.
2318 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2319 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2320 yes) version_specific_libs=yes ;;
2321 no) version_specific_libs=no ;;
2322 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2325 version_specific_libs=no
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2329 $as_echo "$version_specific_libs" >&6; }
2335 # Find the rest of the source tree framework.
2336 # Default to --enable-multilib
2337 # Check whether --enable-multilib was given.
2338 if test "${enable_multilib+set}" = set; then :
2339 enableval=$enable_multilib; case "$enableval" in
2340 yes) multilib=yes ;;
2342 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2349 # We may get other options which we leave undocumented:
2350 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2351 # See config-ml.in if you want the gory details.
2353 if test "$srcdir" = "."; then
2354 if test "$with_target_subdir" != "."; then
2355 multi_basedir="$srcdir/$with_multisrctop../.."
2357 multi_basedir="$srcdir/$with_multisrctop.."
2360 multi_basedir="$srcdir/.."
2364 # Even if the default multilib is not a cross compilation,
2365 # it may be that some of the other multilibs are.
2366 if test $cross_compiling = no && test $multilib = yes \
2367 && test "x${with_multisubdir}" != x ; then
2368 cross_compiling=maybe
2371 ac_config_commands="$ac_config_commands default-1"
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2375 $as_echo_n "checking host system type... " >&6; }
2376 if test "${ac_cv_host+set}" = set; then :
2377 $as_echo_n "(cached) " >&6
2379 if test "x$host_alias" = x; then
2380 ac_cv_host=$ac_cv_build
2382 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2383 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2388 $as_echo "$ac_cv_host" >&6; }
2391 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2394 ac_save_IFS=$IFS; IFS='-'
2400 # Remember, the first character of IFS is used to create $*,
2401 # except with old shells:
2404 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2408 $as_echo_n "checking target system type... " >&6; }
2409 if test "${ac_cv_target+set}" = set; then :
2410 $as_echo_n "(cached) " >&6
2412 if test "x$target_alias" = x; then
2413 ac_cv_target=$ac_cv_host
2415 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2416 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2421 $as_echo "$ac_cv_target" >&6; }
2422 case $ac_cv_target in
2424 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2426 target=$ac_cv_target
2427 ac_save_IFS=$IFS; IFS='-'
2433 # Remember, the first character of IFS is used to create $*,
2434 # except with old shells:
2437 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2440 # The aliases save the names the user supplied, while $host etc.
2441 # will get canonicalized.
2442 test -n "$target_alias" &&
2443 test "$program_prefix$program_suffix$program_transform_name" = \
2445 program_prefix=${target_alias}-
2450 # Export source directory.
2451 # These need to be absolute paths, yet at the same time need to
2452 # canonicalize only relative paths, because then amd will not unmount
2453 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2455 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
2456 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} ||
echo "$srcdir"` ;;
2460 # Calculate toolexeclibdir
2461 # Also toolexecdir, though it's only used in toolexeclibdir
2462 case ${version_specific_libs} in
2464 # Need the gcc compiler version to know where to install libraries
2465 # and header files if --enable-version-specific-runtime-libs option
2467 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2468 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2471 if test -n "$with_cross_host" &&
2472 test x"$with_cross_host" != x"no"; then
2473 # Install a library built with a cross compiler in tooldir, not libdir.
2474 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2475 toolexeclibdir='$(toolexecdir)/lib'
2477 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2478 toolexeclibdir='$(libdir)'
2480 multi_os_directory=`$CC -print-multi-os-directory`
2481 case $multi_os_directory in
2482 .) ;; # Avoid trailing /.
2483 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2490 # Figure out if we want to name the include directory and the
2491 # library name changes differently.
2492 includedirname=include
2496 # Darwin is the only target so far that needs a different include directory.
2497 includedirname=include-gnu-runtime
2504 ac_config_headers="$ac_config_headers config.h"
2513 # We must force CC to /not/ be a precious variable; otherwise
2514 # the wrong, non-multilib-adjusted value will be used in multilibs.
2515 # As a side effect, we have to subst CFLAGS ourselves.
2519 ac_cpp='$CPP $CPPFLAGS'
2520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2525 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC="$CC" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2562 if test -z "$ac_cv_prog_CC"; then
2564 # Extract the first word of "gcc", so it can be a program name with args.
2565 set dummy gcc; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_CC"; then
2572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_ac_ct_CC="gcc"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2592 if test -n "$ac_ct_CC"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2594 $as_echo "$ac_ct_CC" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2600 if test "x$ac_ct_CC" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2607 ac_tool_warned=yes ;;
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2618 set dummy ${ac_tool_prefix}cc; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if test "${ac_cv_prog_CC+set}" = set; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$CC"; then
2625 ac_cv_prog_CC="$CC" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_CC="${ac_tool_prefix}cc"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test -n "$CC"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2647 $as_echo "$CC" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2656 if test -z "$CC"; then
2657 # Extract the first word of "cc", so it can be a program name with args.
2658 set dummy cc; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_CC+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2676 ac_prog_rejected=yes
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test $ac_prog_rejected = yes; then
2688 # We found a bogon in the path, so make sure we never use it.
2689 set dummy $ac_cv_prog_CC
2691 if test $# != 0; then
2692 # We chose a different compiler from the bogus one.
2693 # However, it has the same basename, so the bogon will be chosen
2694 # first if we set CC to just the basename; use the full file name.
2696 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2702 if test -n "$CC"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 $as_echo "$CC" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2712 if test -z "$CC"; then
2713 if test -n "$ac_tool_prefix"; then
2714 for ac_prog in cl.exe
2716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if test "${ac_cv_prog_CC+set}" = set; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC="$CC" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2746 $as_echo "$CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2753 test -n "$CC" && break
2756 if test -z "$CC"; then
2758 for ac_prog in cl.exe
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy $ac_prog; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$ac_ct_CC"; then
2768 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_ac_ct_CC="$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2790 $as_echo "$ac_ct_CC" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$ac_ct_CC" && break
2800 if test "x$ac_ct_CC" = x; then
2803 case $cross_compiling:$ac_tool_warned in
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2807 ac_tool_warned=yes ;;
2816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 as_fn_error "no acceptable C compiler found
in \
$PATH
2819 See \
`config.log' for more details." "$LINENO" 5; }
2821 # Provide some information about the compiler.
2822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2825 for ac_option in --version -v -V -qversion; do
2826 { { ac_try="$ac_compiler $ac_option >&5"
2828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2829 *) ac_try_echo
=$ac_try;;
2831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2835 if test -s conftest.err
; then
2837 ... rest of stderr output deleted ...
2838 10q' conftest.err
>conftest.er1
2839 cat conftest.er1
>&5
2840 rm -f conftest.er1 conftest.err
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; }
2846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2858 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2859 (eval $ac_link) 2>&5
2861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862 test $ac_status = 0; }; then :
2867 if test x
$gcc_no_link = xyes
; then
2868 # Setting cross_compile will disable run tests; it will
2869 # also disable AC_CHECK_FILE but that's generally
2870 # correct if we can't link.
2874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2885 ac_clean_files_save
=$ac_clean_files
2886 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2887 # Try to create an executable without -o first, disregard a.out.
2888 # It will help us diagnose broken compilers, and finding out an intuition
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2891 $as_echo_n "checking for C compiler default output file name... " >&6; }
2892 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2894 # The possible output files:
2895 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2898 for ac_file
in $ac_files
2901 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2902 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2907 if { { ac_try
="$ac_link_default"
2909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_link_default") 2>&5
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; }; then :
2918 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2919 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2920 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2921 # so that the user can short-circuit this test for compilers unknown to
2923 for ac_file in $ac_files ''
2925 test -f "$ac_file" || continue
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2930 # We found the default executable, but exeext='' is most
2934 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2938 # We set ac_cv_exeext here because the later test for it is not
2939 # safe: cross compilers may not add the suffix if given an `-o'
2940 # argument, so we may need to know it at that point already.
2941 # Even if this section looks crufty: it has the advantage of
2948 test "$ac_cv_exeext" = no && ac_cv_exeext=
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2954 $as_echo "$ac_file" >&6; }
2955 if test -z "$ac_file"; then :
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's
/^
/|
/' conftest.$ac_ext >&5
2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2960 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2961 { as_fn_set_status 77
2962 as_fn_error "C compiler cannot create executables
2963 See \`config.log
' for more details." "$LINENO" 5; }; }
2965 ac_exeext=$ac_cv_exeext
2967 # Check that the compiler produces executables we can run. If not, either
2968 # the compiler is broken, or we cross compile.
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2970 $as_echo_n "checking whether the C compiler works... " >&6; }
2971 # If not cross compiling, check that we can run a simple program.
2972 if test "$cross_compiling" != yes; then
2973 if { ac_try='.
/$ac_file'
2974 { { case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
2980 (eval "$ac_try") 2>&5
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }; }; then
2986 if test "$cross_compiling" = maybe; then
2989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2991 as_fn_error "cannot run C compiled programs.
2992 If you meant to cross compile, use \`--host'.
2993 See \`config.log' for more details.
" "$LINENO" 5; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2998 $as_echo "yes" >&6; }
3000 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3001 ac_clean_files=$ac_clean_files_save
3002 # Check that the compiler produces executables we can run. If not, either
3003 # the compiler is broken, or we cross compile.
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3005 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3007 $as_echo "$cross_compiling" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3010 $as_echo_n "checking
for suffix of executables...
" >&6; }
3011 if { { ac_try="$ac_link"
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") 2>&5
3020 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3021 test $ac_status = 0; }; then :
3022 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3023 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3024 # work properly (i.e., refer to `conftest.exe'), while it won't with
3026 for ac_file in conftest.exe conftest conftest.*; do
3027 test -f "$ac_file" || continue
3029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3030 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 as_fn_error "cannot compute suffix of executables: cannot compile and link
3039 See \`config.log' for more details.
" "$LINENO" 5; }
3041 rm -f conftest$ac_cv_exeext
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3043 $as_echo "$ac_cv_exeext" >&6; }
3045 rm -f conftest.$ac_ext
3046 EXEEXT=$ac_cv_exeext
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3050 $as_echo_n "checking
for suffix of object files...
" >&6; }
3051 if test "${ac_cv_objext+set}" = set; then :
3052 $as_echo_n "(cached
) " >&6
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 rm -f conftest.o conftest.obj
3066 if { { ac_try="$ac_compile"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compile") 2>&5
3075 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3076 test $ac_status = 0; }; then :
3077 for ac_file in conftest.o conftest.obj conftest.*; do
3078 test -f "$ac_file" || continue;
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3081 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3086 $as_echo "$as_me: failed program was
:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 as_fn_error "cannot compute suffix of object files: cannot compile
3092 See \`config.log' for more details.
" "$LINENO" 5; }
3094 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3097 $as_echo "$ac_cv_objext" >&6; }
3098 OBJEXT=$ac_cv_objext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3101 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3102 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3103 $as_echo_n "(cached
) " >&6
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"; then :
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3129 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3130 if test $ac_compiler_gnu = yes; then
3135 ac_test_CFLAGS=${CFLAGS+set}
3136 ac_save_CFLAGS=$CFLAGS
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3138 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3139 if test "${ac_cv_prog_cc_g+set}" = set; then :
3140 $as_echo_n "(cached
) " >&6
3142 ac_save_c_werror_flag=$ac_c_werror_flag
3143 ac_c_werror_flag=yes
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 if ac_fn_c_try_compile "$LINENO"; then :
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 if ac_fn_c_try_compile "$LINENO"; then :
3175 ac_c_werror_flag=$ac_save_c_werror_flag
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 if ac_fn_c_try_compile "$LINENO"; then :
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3199 $as_echo "$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3216 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3218 $as_echo_n "(cached
) " >&6
3220 ac_cv_prog_cc_c89=no
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3226 #include <sys/types.h>
3227 #include <sys/stat.h>
3228 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3229 struct buf { int x; };
3230 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3231 static char *e (p, i)
3237 static char *f (char * (*g) (char **, int), char **p, ...)
3242 s = g (p, va_arg (v,int));
3247 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3248 function prototypes and stuff, but not '\xHH' hex character constants.
3249 These don't provoke an error unfortunately, instead are silently treated
3250 as 'x'. The following induces an error, until -std is added to get
3251 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3252 array size at least. It's necessary to write '\x00'==0 to get something
3253 that's true only with -std. */
3254 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3256 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3257 inside strings and character constants. */
3259 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3261 int test (int i, double x);
3262 struct s1 {int (*f) (int a);};
3263 struct s2 {int (*f) (double a);};
3264 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3270 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3275 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3276 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3278 CC="$ac_save_CC $ac_arg"
3279 if ac_fn_c_try_compile "$LINENO"; then :
3280 ac_cv_prog_cc_c89=$ac_arg
3282 rm -f core conftest.err conftest.$ac_objext
3283 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3285 rm -f conftest.$ac_ext
3290 case "x
$ac_cv_prog_cc_c89" in
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3293 $as_echo "none needed
" >&6; } ;;
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3296 $as_echo "unsupported
" >&6; } ;;
3298 CC="$CC $ac_cv_prog_cc_c89"
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3300 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3302 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3314 # extra LD Flags which are required for targets
3319 *-cygwin* | *-mingw*)
3320 # 'host' will be top-level target in the case of a target lib,
3321 # we must compare to with_cross_host to decide if this is a native
3322 # or cross-compiler and select where to install dlls appropriately.
3323 if test -n "$with_cross_host" &&
3324 test x"$with_cross_host" != x"no
"; then
3325 lt_host_flags='-no-undefined -bindir "$
(toolexeclibdir
)"';
3327 lt_host_flags='-no-undefined -bindir "$
(bindir
)"';
3339 # Darwin needs -single_module when linking libobjc
3340 extra_ldflags_libobjc='$(lt_host_flags) -Wl,-single_module'
3343 # Tell libtool to build DLLs on Windows
3344 extra_ldflags_libobjc='$(lt_host_flags)'
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}as; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3355 $as_echo_n "checking
for $ac_word...
" >&6; }
3356 if test "${ac_cv_prog_AS+set}" = set; then :
3357 $as_echo_n "(cached
) " >&6
3359 if test -n "$AS"; then
3360 ac_cv_prog_AS="$AS" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_AS="${ac_tool_prefix}as
"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$AS"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
3382 $as_echo "$AS" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3385 $as_echo "no
" >&6; }
3390 if test -z "$ac_cv_prog_AS"; then
3392 # Extract the first word of "as
", so it can be a program name with args.
3393 set dummy as; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3395 $as_echo_n "checking
for $ac_word...
" >&6; }
3396 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3397 $as_echo_n "(cached
) " >&6
3399 if test -n "$ac_ct_AS"; then
3400 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_ac_ct_AS="as
"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3420 if test -n "$ac_ct_AS"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AS" >&5
3422 $as_echo "$ac_ct_AS" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3425 $as_echo "no
" >&6; }
3428 if test "x
$ac_ct_AS" = x; then
3431 case $cross_compiling:$ac_tool_warned in
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3435 ac_tool_warned=yes ;;
3443 if test -n "$ac_tool_prefix"; then
3444 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3445 set dummy ${ac_tool_prefix}ar; ac_word=$2
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3447 $as_echo_n "checking
for $ac_word...
" >&6; }
3448 if test "${ac_cv_prog_AR+set}" = set; then :
3449 $as_echo_n "(cached
) " >&6
3451 if test -n "$AR"; then
3452 ac_cv_prog_AR="$AR" # Let the user override the test.
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3461 ac_cv_prog_AR="${ac_tool_prefix}ar"
3462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3472 if test -n "$AR"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
3474 $as_echo "$AR" >&6; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3477 $as_echo "no
" >&6; }
3482 if test -z "$ac_cv_prog_AR"; then
3484 # Extract the first word of "ar", so it can be a program name with args.
3485 set dummy ar; ac_word=$2
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3487 $as_echo_n "checking
for $ac_word...
" >&6; }
3488 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3489 $as_echo_n "(cached
) " >&6
3491 if test -n "$ac_ct_AR"; then
3492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 test -z "$as_dir" && as_dir=.
3499 for ac_exec_ext in '' $ac_executable_extensions; do
3500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3501 ac_cv_prog_ac_ct_AR="ar"
3502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3512 if test -n "$ac_ct_AR"; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
3514 $as_echo "$ac_ct_AR" >&6; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3517 $as_echo "no
" >&6; }
3520 if test "x
$ac_ct_AR" = x; then
3523 case $cross_compiling:$ac_tool_warned in
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3527 ac_tool_warned=yes ;;
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3539 $as_echo_n "checking
for $ac_word...
" >&6; }
3540 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3541 $as_echo_n "(cached
) " >&6
3543 if test -n "$RANLIB"; then
3544 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3566 $as_echo "$RANLIB" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3569 $as_echo "no
" >&6; }
3574 if test -z "$ac_cv_prog_RANLIB"; then
3575 ac_ct_RANLIB=$RANLIB
3576 # Extract the first word of "ranlib
", so it can be a program name with args.
3577 set dummy ranlib; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3579 $as_echo_n "checking
for $ac_word...
" >&6; }
3580 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3581 $as_echo_n "(cached
) " >&6
3583 if test -n "$ac_ct_RANLIB"; then
3584 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3604 if test -n "$ac_ct_RANLIB"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3606 $as_echo "$ac_ct_RANLIB" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3609 $as_echo "no
" >&6; }
3612 if test "x
$ac_ct_RANLIB" = x; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3619 ac_tool_warned=yes ;;
3621 RANLIB=$ac_ct_RANLIB
3624 RANLIB="$ac_cv_prog_RANLIB"
3627 # Find a good install program. We prefer a C program (faster),
3628 # so one script is as good as another. But avoid the broken or
3629 # incompatible versions:
3630 # SysV /etc/install, /usr/sbin/install
3631 # SunOS /usr/etc/install
3632 # IRIX /sbin/install
3634 # AmigaOS /C/install, which installs bootblocks on floppy discs
3635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
3638 # OS/2's system install, which has a completely different semantic
3639 # ./install, which can be erroneously created by make from ./install.sh.
3640 # Reject install programs that cannot install multiple files.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a BSD-compatible
install" >&5
3642 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
3643 if test -z "$INSTALL"; then
3644 if test "${ac_cv_path_install+set}" = set; then :
3645 $as_echo_n "(cached
) " >&6
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir=.
3652 # Account for people who put trailing slashes in PATH elements.
3653 case $as_dir/ in #((
3654 ./ | .// | /[cC]/* | \
3655 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3656 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3659 # OSF1 and SCO ODT 3.0 have their own names for install.
3660 # Don't use installbsd from OSF since it installs stuff as root
3662 for ac_prog in ginstall scoinst install; do
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3665 if test $ac_prog = install &&
3666 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3667 # AIX install. It has an incompatible calling convention.
3669 elif test $ac_prog = install &&
3670 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3671 # program-specific install script used by HP pwplus--don't use.
3674 rm -rf conftest.one conftest.two conftest.dir
3675 echo one > conftest.one
3676 echo two > conftest.two
3678 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
3679 test -s conftest.one && test -s conftest.two &&
3680 test -s conftest.dir/conftest.one &&
3681 test -s conftest.dir/conftest.two
3683 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3696 rm -rf conftest.one conftest.two conftest.dir
3699 if test "${ac_cv_path_install+set}" = set; then
3700 INSTALL=$ac_cv_path_install
3702 # As a last resort, use the slow shell script. Don't cache a
3703 # value for INSTALL within a source directory, because that will
3704 # break other packages using the cache if that directory is
3705 # removed, or if the value is a relative name.
3706 INSTALL=$ac_install_sh
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $INSTALL" >&5
3710 $as_echo "$INSTALL" >&6; }
3712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3713 # It thinks the first close brace ends the variable substitution.
3714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
3723 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
3724 # Check whether --enable-maintainer-mode was given.
3725 if test "${enable_maintainer_mode+set}" = set; then :
3726 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3728 USE_MAINTAINER_MODE=no
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
3732 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3733 if test $USE_MAINTAINER_MODE = yes; then
3734 MAINTAINER_MODE_TRUE=
3735 MAINTAINER_MODE_FALSE='#'
3737 MAINTAINER_MODE_TRUE='#'
3738 MAINTAINER_MODE_FALSE=
3741 MAINT=$MAINTAINER_MODE_TRUE
3745 # Enable Win32 DLL on MS Windows - FIXME
3746 enable_win32_dll=yes
3749 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3750 if test -n "$ac_tool_prefix"; then
3751 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
3752 set dummy ${ac_tool_prefix}as; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3754 $as_echo_n "checking
for $ac_word...
" >&6; }
3755 if test "${ac_cv_prog_AS+set}" = set; then :
3756 $as_echo_n "(cached
) " >&6
3758 if test -n "$AS"; then
3759 ac_cv_prog_AS="$AS" # Let the user override the test.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768 ac_cv_prog_AS="${ac_tool_prefix}as
"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3779 if test -n "$AS"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
3781 $as_echo "$AS" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3784 $as_echo "no
" >&6; }
3789 if test -z "$ac_cv_prog_AS"; then
3791 # Extract the first word of "as
", so it can be a program name with args.
3792 set dummy as; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3794 $as_echo_n "checking
for $ac_word...
" >&6; }
3795 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3796 $as_echo_n "(cached
) " >&6
3798 if test -n "$ac_ct_AS"; then
3799 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808 ac_cv_prog_ac_ct_AS="as
"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3818 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3819 if test -n "$ac_ct_AS"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AS" >&5
3821 $as_echo "$ac_ct_AS" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3824 $as_echo "no
" >&6; }
3827 if test "x
$ac_ct_AS" = x; then
3830 case $cross_compiling:$ac_tool_warned in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3833 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3834 ac_tool_warned=yes ;;
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
3844 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3846 $as_echo_n "checking
for $ac_word...
" >&6; }
3847 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3848 $as_echo_n "(cached
) " >&6
3850 if test -n "$DLLTOOL"; then
3851 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3860 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3870 DLLTOOL=$ac_cv_prog_DLLTOOL
3871 if test -n "$DLLTOOL"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
3873 $as_echo "$DLLTOOL" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3876 $as_echo "no
" >&6; }
3881 if test -z "$ac_cv_prog_DLLTOOL"; then
3882 ac_ct_DLLTOOL=$DLLTOOL
3883 # Extract the first word of "dlltool
", so it can be a program name with args.
3884 set dummy dlltool; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3886 $as_echo_n "checking
for $ac_word...
" >&6; }
3887 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3888 $as_echo_n "(cached
) " >&6
3890 if test -n "$ac_ct_DLLTOOL"; then
3891 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3900 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3910 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3911 if test -n "$ac_ct_DLLTOOL"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
3913 $as_echo "$ac_ct_DLLTOOL" >&6; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3916 $as_echo "no
" >&6; }
3919 if test "x
$ac_ct_DLLTOOL" = x; then
3922 case $cross_compiling:$ac_tool_warned in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3925 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3926 ac_tool_warned=yes ;;
3928 DLLTOOL=$ac_ct_DLLTOOL
3931 DLLTOOL="$ac_cv_prog_DLLTOOL"
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
3936 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3938 $as_echo_n "checking
for $ac_word...
" >&6; }
3939 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3940 $as_echo_n "(cached
) " >&6
3942 if test -n "$OBJDUMP"; then
3943 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3962 OBJDUMP=$ac_cv_prog_OBJDUMP
3963 if test -n "$OBJDUMP"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
3965 $as_echo "$OBJDUMP" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3968 $as_echo "no
" >&6; }
3973 if test -z "$ac_cv_prog_OBJDUMP"; then
3974 ac_ct_OBJDUMP=$OBJDUMP
3975 # Extract the first word of "objdump
", so it can be a program name with args.
3976 set dummy objdump; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3978 $as_echo_n "checking
for $ac_word...
" >&6; }
3979 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3980 $as_echo_n "(cached
) " >&6
3982 if test -n "$ac_ct_OBJDUMP"; then
3983 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4002 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4003 if test -n "$ac_ct_OBJDUMP"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4005 $as_echo "$ac_ct_OBJDUMP" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4008 $as_echo "no
" >&6; }
4011 if test "x
$ac_ct_OBJDUMP" = x; then
4014 case $cross_compiling:$ac_tool_warned in
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4017 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4018 ac_tool_warned=yes ;;
4020 OBJDUMP=$ac_ct_OBJDUMP
4023 OBJDUMP="$ac_cv_prog_OBJDUMP"
4029 test -z "$AS" && AS=as
4035 test -z "$DLLTOOL" && DLLTOOL=dlltool
4041 test -z "$OBJDUMP" && OBJDUMP=objdump
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Libtool does not cope well with whitespace
in \
`pwd\`" >&5
4053 $as_echo "$as_me: WARNING
: Libtool does not cope well with whitespace
in \
`pwd\`" >&2;} ;;
4058 macro_version='2.2.7a'
4059 macro_revision='1.3134'
4073 ltmain="$ac_aux_dir/ltmain.sh
"
4075 # Backslashify metacharacters that are still active within
4076 # double-quoted strings.
4077 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4079 # Same as above, but do not quote variable references.
4080 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
4082 # Sed substitution to delay expansion of an escaped shell variable in a
4083 # double_quote_subst'ed string.
4084 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4086 # Sed substitution to delay expansion of an escaped single quote.
4087 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4089 # Sed substitution to avoid accidental globbing in evaled expressions
4090 no_glob_subst
='s/\*/\\\*/g'
4092 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4093 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4094 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4097 $as_echo_n "checking how to print strings... " >&6; }
4098 # Test print first, because it will be a builtin if present.
4099 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4100 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4102 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4105 # Use this function as a fallback that always works.
4106 func_fallback_echo ()
4108 eval 'cat <<_LTECHO_EOF
4112 ECHO='func_fallback_echo
'
4115 # func_echo_all arg...
4116 # Invoke $ECHO with all args, space-separated.
4123 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4124 $as_echo "printf" >&6; } ;;
4125 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4126 $as_echo "print -r" >&6; } ;;
4127 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4128 $as_echo "cat" >&6; } ;;
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4145 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4146 if test "${ac_cv_path_SED+set}" = set; then :
4147 $as_echo_n "(cached) " >&6
4149 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4150 for ac_i in 1 2 3 4 5 6 7; do
4151 ac_script="$ac_script$as_nl$ac_script"
4153 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4154 { ac_script=; unset ac_script;}
4155 if test -z "$SED"; then
4156 ac_path_SED_found=false
4157 # Loop through the user's path and
test for each of PROGNAME-LIST
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_prog
in sed gsed
; do
4164 for ac_exec_ext
in '' $ac_executable_extensions; do
4165 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4166 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4167 # Check for GNU ac_path_SED and select it if it is found.
4168 # Check for GNU $ac_path_SED
4169 case `"$ac_path_SED" --version 2>&1` in
4171 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4174 $as_echo_n 0123456789 >"conftest.in"
4177 cat "conftest.in" "conftest.in" >"conftest.tmp"
4178 mv "conftest.tmp" "conftest.in"
4179 cp "conftest.in" "conftest.nl"
4180 $as_echo '' >> "conftest.nl"
4181 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4183 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4184 if test $ac_count -gt ${ac_path_SED_max-0}; then
4185 # Best one so far, save it but keep looking for a better one
4186 ac_cv_path_SED
="$ac_path_SED"
4187 ac_path_SED_max
=$ac_count
4189 # 10*(2^10) chars as input seems more than enough
4190 test $ac_count -gt 10 && break
4192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4195 $ac_path_SED_found && break 3
4200 if test -z "$ac_cv_path_SED"; then
4201 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4209 $as_echo "$ac_cv_path_SED" >&6; }
4210 SED
="$ac_cv_path_SED"
4213 test -z "$SED" && SED
=sed
4214 Xsed
="$SED -e 1s/^X//"
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4227 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4228 if test "${ac_cv_path_GREP+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -z "$GREP"; then
4232 ac_path_GREP_found
=false
4233 # Loop through the user's path and test for each of PROGNAME-LIST
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_prog
in grep ggrep
; do
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4242 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4243 # Check for GNU ac_path_GREP and select it if it is found.
4244 # Check for GNU $ac_path_GREP
4245 case `"$ac_path_GREP" --version 2>&1` in
4247 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4250 $as_echo_n 0123456789 >"conftest.in"
4253 cat "conftest.in" "conftest.in" >"conftest.tmp"
4254 mv "conftest.tmp" "conftest.in"
4255 cp "conftest.in" "conftest.nl"
4256 $as_echo 'GREP' >> "conftest.nl"
4257 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4258 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4259 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4260 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4261 # Best one so far, save it but keep looking for a better one
4262 ac_cv_path_GREP
="$ac_path_GREP"
4263 ac_path_GREP_max
=$ac_count
4265 # 10*(2^10) chars as input seems more than enough
4266 test $ac_count -gt 10 && break
4268 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4271 $ac_path_GREP_found && break 3
4276 if test -z "$ac_cv_path_GREP"; then
4277 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4280 ac_cv_path_GREP
=$GREP
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4285 $as_echo "$ac_cv_path_GREP" >&6; }
4286 GREP
="$ac_cv_path_GREP"
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4290 $as_echo_n "checking for egrep... " >&6; }
4291 if test "${ac_cv_path_EGREP+set}" = set; then :
4292 $as_echo_n "(cached) " >&6
4294 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4295 then ac_cv_path_EGREP
="$GREP -E"
4297 if test -z "$EGREP"; then
4298 ac_path_EGREP_found
=false
4299 # Loop through the user's path and test for each of PROGNAME-LIST
4300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4301 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4304 test -z "$as_dir" && as_dir
=.
4305 for ac_prog
in egrep; do
4306 for ac_exec_ext
in '' $ac_executable_extensions; do
4307 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4308 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4309 # Check for GNU ac_path_EGREP and select it if it is found.
4310 # Check for GNU $ac_path_EGREP
4311 case `"$ac_path_EGREP" --version 2>&1` in
4313 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4316 $as_echo_n 0123456789 >"conftest.in"
4319 cat "conftest.in" "conftest.in" >"conftest.tmp"
4320 mv "conftest.tmp" "conftest.in"
4321 cp "conftest.in" "conftest.nl"
4322 $as_echo 'EGREP' >> "conftest.nl"
4323 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4324 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4325 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4326 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4327 # Best one so far, save it but keep looking for a better one
4328 ac_cv_path_EGREP
="$ac_path_EGREP"
4329 ac_path_EGREP_max
=$ac_count
4331 # 10*(2^10) chars as input seems more than enough
4332 test $ac_count -gt 10 && break
4334 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4337 $ac_path_EGREP_found && break 3
4342 if test -z "$ac_cv_path_EGREP"; then
4343 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4346 ac_cv_path_EGREP
=$EGREP
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4352 $as_echo "$ac_cv_path_EGREP" >&6; }
4353 EGREP
="$ac_cv_path_EGREP"
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4357 $as_echo_n "checking for fgrep... " >&6; }
4358 if test "${ac_cv_path_FGREP+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4361 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4362 then ac_cv_path_FGREP
="$GREP -F"
4364 if test -z "$FGREP"; then
4365 ac_path_FGREP_found
=false
4366 # Loop through the user's path and test for each of PROGNAME-LIST
4367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4368 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4371 test -z "$as_dir" && as_dir
=.
4372 for ac_prog
in fgrep
; do
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4375 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4376 # Check for GNU ac_path_FGREP and select it if it is found.
4377 # Check for GNU $ac_path_FGREP
4378 case `"$ac_path_FGREP" --version 2>&1` in
4380 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4383 $as_echo_n 0123456789 >"conftest.in"
4386 cat "conftest.in" "conftest.in" >"conftest.tmp"
4387 mv "conftest.tmp" "conftest.in"
4388 cp "conftest.in" "conftest.nl"
4389 $as_echo 'FGREP' >> "conftest.nl"
4390 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4391 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4392 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4393 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4394 # Best one so far, save it but keep looking for a better one
4395 ac_cv_path_FGREP
="$ac_path_FGREP"
4396 ac_path_FGREP_max
=$ac_count
4398 # 10*(2^10) chars as input seems more than enough
4399 test $ac_count -gt 10 && break
4401 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4404 $ac_path_FGREP_found && break 3
4409 if test -z "$ac_cv_path_FGREP"; then
4410 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4413 ac_cv_path_FGREP
=$FGREP
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4419 $as_echo "$ac_cv_path_FGREP" >&6; }
4420 FGREP
="$ac_cv_path_FGREP"
4423 test -z "$GREP" && GREP
=grep
4443 # Check whether --with-gnu-ld was given.
4444 if test "${with_gnu_ld+set}" = set; then :
4445 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4451 if test "$GCC" = yes; then
4452 # Check if gcc -print-prog-name=ld gives a path.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4454 $as_echo_n "checking for ld used by $CC... " >&6; }
4457 # gcc leaves a trailing carriage return which upsets mingw
4458 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4460 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4463 # Accept absolute paths.
4465 re_direlt
='/[^/][^/]*/\.\./'
4466 # Canonicalize the pathname of ld
4467 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4468 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4469 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4471 test -z "$LD" && LD
="$ac_prog"
4474 # If it fails, then pretend we aren't using GCC.
4478 # If it is relative, then search for the first ld in PATH.
4482 elif test "$with_gnu_ld" = yes; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4484 $as_echo_n "checking for GNU ld... " >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4487 $as_echo_n "checking for non-GNU ld... " >&6; }
4489 if test "${lt_cv_path_LD+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -z "$LD"; then
4493 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4494 for ac_dir
in $PATH; do
4496 test -z "$ac_dir" && ac_dir
=.
4497 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4498 lt_cv_path_LD
="$ac_dir/$ac_prog"
4499 # Check to see if the program is GNU ld. I'd rather use --version,
4500 # but apparently some variants of GNU ld only accept -v.
4501 # Break only if it was the GNU/non-GNU ld that we prefer.
4502 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4503 *GNU
* |
*'with BFD'*)
4504 test "$with_gnu_ld" != no
&& break
4507 test "$with_gnu_ld" != yes && break
4514 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4519 if test -n "$LD"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4521 $as_echo "$LD" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4526 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4528 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4529 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
4532 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4533 case `$LD -v 2>&1 </dev/null` in
4534 *GNU
* |
*'with BFD'*)
4535 lt_cv_prog_gnu_ld
=yes
4538 lt_cv_prog_gnu_ld
=no
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4543 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4544 with_gnu_ld
=$lt_cv_prog_gnu_ld
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4555 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4556 if test "${lt_cv_path_NM+set}" = set; then :
4557 $as_echo_n "(cached) " >&6
4559 if test -n "$NM"; then
4560 # Let the user override the test.
4563 lt_nm_to_check
="${ac_tool_prefix}nm"
4564 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4565 lt_nm_to_check
="$lt_nm_to_check nm"
4567 for lt_tmp_nm
in $lt_nm_to_check; do
4568 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4569 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4571 test -z "$ac_dir" && ac_dir
=.
4572 tmp_nm
="$ac_dir/$lt_tmp_nm"
4573 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4574 # Check to see if the nm accepts a BSD-compat flag.
4575 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4576 # nm: unknown option "B" ignored
4577 # Tru64's nm complains that /dev/null is an invalid object file
4578 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4579 */dev
/null
* |
*'Invalid file or object type'*)
4580 lt_cv_path_NM
="$tmp_nm -B"
4584 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4586 lt_cv_path_NM
="$tmp_nm -p"
4590 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4591 continue # so that we can try to find one that supports BSD flags
4600 : ${lt_cv_path_NM=no}
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4604 $as_echo "$lt_cv_path_NM" >&6; }
4605 if test "$lt_cv_path_NM" != "no"; then
4608 # Didn't find any BSD compatible name lister, look for dumpbin.
4609 if test -n "$DUMPBIN"; then :
4610 # Let the user override the test.
4612 if test -n "$ac_tool_prefix"; then
4613 for ac_prog
in dumpbin
"link -dump"
4615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$DUMPBIN"; then
4623 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 DUMPBIN
=$ac_cv_prog_DUMPBIN
4643 if test -n "$DUMPBIN"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4645 $as_echo "$DUMPBIN" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$DUMPBIN" && break
4655 if test -z "$DUMPBIN"; then
4656 ac_ct_DUMPBIN
=$DUMPBIN
4657 for ac_prog
in dumpbin
"link -dump"
4659 # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy
$ac_prog; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_DUMPBIN"; then
4667 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4687 if test -n "$ac_ct_DUMPBIN"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4689 $as_echo "$ac_ct_DUMPBIN" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4696 test -n "$ac_ct_DUMPBIN" && break
4699 if test "x$ac_ct_DUMPBIN" = x
; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned
=yes ;;
4708 DUMPBIN
=$ac_ct_DUMPBIN
4712 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4714 DUMPBIN
="$DUMPBIN -symbols"
4722 if test "$DUMPBIN" != ":"; then
4726 test -z "$NM" && NM
=nm
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4734 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4735 if test "${lt_cv_nm_interface+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 lt_cv_nm_interface
="BSD nm"
4739 echo "int some_variable = 0;" > conftest.
$ac_ext
4740 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4741 (eval "$ac_compile" 2>conftest.err
)
4742 cat conftest.err
>&5
4743 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4744 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4745 cat conftest.err
>&5
4746 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4747 cat conftest.out
>&5
4748 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4749 lt_cv_nm_interface
="MS dumpbin"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4754 $as_echo "$lt_cv_nm_interface" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4757 $as_echo_n "checking whether ln -s works... " >&6; }
4759 if test "$LN_S" = "ln -s"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4761 $as_echo "yes" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4764 $as_echo "no, using $LN_S" >&6; }
4767 # find the maximum length of command line arguments
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4769 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4770 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4778 # On DJGPP, this test can blow up pretty badly due to problems in libc
4779 # (any single argument exceeding 2000 bytes causes a buffer overrun
4780 # during glob expansion). Even if it were fixed, the result of this
4781 # check would be larger than it should be.
4782 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4786 # Under GNU Hurd, this test is not required because there is
4787 # no limit to the length of command line arguments.
4788 # Libtool will interpret -1 as no limit whatsoever
4789 lt_cv_sys_max_cmd_len
=-1;
4792 cygwin
* | mingw
* | cegcc
*)
4793 # On Win9x/ME, this test blows up -- it succeeds, but takes
4794 # about 5 minutes as the teststring grows exponentially.
4795 # Worse, since 9x/ME are not pre-emptively multitasking,
4796 # you end up with a "frozen" computer, even though with patience
4797 # the test eventually succeeds (with a max line length of 256k).
4798 # Instead, let's just punt: use the minimum linelength reported by
4799 # all of the supported platforms: 8192 (on NT/2K/XP).
4800 lt_cv_sys_max_cmd_len
=8192;
4804 # On MiNT this can take a long time and run out of memory.
4805 lt_cv_sys_max_cmd_len
=8192;
4809 # On AmigaOS with pdksh, this test takes hours, literally.
4810 # So we just punt and use a minimum line length of 8192.
4811 lt_cv_sys_max_cmd_len
=8192;
4814 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4815 # This has been around since 386BSD, at least. Likely further.
4816 if test -x /sbin
/sysctl
; then
4817 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4818 elif test -x /usr
/sbin
/sysctl
; then
4819 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4821 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4823 # And add a safety zone
4824 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4829 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4830 lt_cv_sys_max_cmd_len
=196608
4834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4836 # nice to cause kernel panics so lets avoid the loop below.
4837 # First set a reasonable default.
4838 lt_cv_sys_max_cmd_len
=16384
4840 if test -x /sbin
/sysconfig
; then
4841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4842 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4847 lt_cv_sys_max_cmd_len
=102400
4849 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4850 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4851 if test -n "$kargmax"; then
4852 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4854 lt_cv_sys_max_cmd_len
=32768
4858 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4859 if test -n "$lt_cv_sys_max_cmd_len"; then
4860 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4861 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4863 # Make teststring a little bigger before we do anything with it.
4864 # a 1K string should be a reasonable start.
4865 for i
in 1 2 3 4 5 6 7 8 ; do
4866 teststring
=$teststring$teststring
4868 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4869 # If test is not a shell built-in, we'll probably end up computing a
4870 # maximum length that is only half of the actual maximum length, but
4872 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4873 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4874 test $i != 17 # 1/2 MB should be enough
4877 teststring
=$teststring$teststring
4879 # Only check the string length outside the loop.
4880 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4882 # Add a significant safety factor because C++ compilers can tack on
4883 # massive amounts of additional arguments before passing them to the
4884 # linker. It appears as though 1/2 is a usable value.
4885 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4892 if test -n $lt_cv_sys_max_cmd_len ; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4894 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4897 $as_echo "none" >&6; }
4899 max_cmd_len
=$lt_cv_sys_max_cmd_len
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4911 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4912 # Try some XSI features
4915 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4917 && eval 'test $(( 1 + 1 )) -eq 2 \
4918 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4921 $as_echo "$xsi_shell" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4925 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4927 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4929 && lt_shell_append=yes
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4931 $as_echo "$lt_shell_append" >&6; }
4934 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4944 # test EBCDIC or ASCII
4945 case `echo X|tr X '\101'` in
4946 A) # ASCII based system
4947 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4948 lt_SP2NL='tr \040 \012'
4949 lt_NL2SP='tr \015\012 \040\040'
4951 *) # EBCDIC based system
4952 lt_SP2NL='tr \100 \n'
4953 lt_NL2SP='tr \r\n \100\100'
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4966 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4967 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4968 $as_echo_n "(cached
) " >&6
4970 lt_cv_ld_reload_flag='-r'
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4973 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4974 reload_flag=$lt_cv_ld_reload_flag
4975 case $reload_flag in
4977 *) reload_flag=" $reload_flag" ;;
4979 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4982 if test "$GCC" = yes; then
4983 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4985 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4998 if test -n "$ac_tool_prefix"; then
4999 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5000 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5002 $as_echo_n "checking
for $ac_word...
" >&6; }
5003 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5004 $as_echo_n "(cached
) " >&6
5006 if test -n "$OBJDUMP"; then
5007 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5026 OBJDUMP=$ac_cv_prog_OBJDUMP
5027 if test -n "$OBJDUMP"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5029 $as_echo "$OBJDUMP" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5032 $as_echo "no
" >&6; }
5037 if test -z "$ac_cv_prog_OBJDUMP"; then
5038 ac_ct_OBJDUMP=$OBJDUMP
5039 # Extract the first word of "objdump
", so it can be a program name with args.
5040 set dummy objdump; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5042 $as_echo_n "checking
for $ac_word...
" >&6; }
5043 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5044 $as_echo_n "(cached
) " >&6
5046 if test -n "$ac_ct_OBJDUMP"; then
5047 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5066 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5067 if test -n "$ac_ct_OBJDUMP"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5069 $as_echo "$ac_ct_OBJDUMP" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5072 $as_echo "no
" >&6; }
5075 if test "x
$ac_ct_OBJDUMP" = x; then
5078 case $cross_compiling:$ac_tool_warned in
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5082 ac_tool_warned=yes ;;
5084 OBJDUMP=$ac_ct_OBJDUMP
5087 OBJDUMP="$ac_cv_prog_OBJDUMP"
5090 test -z "$OBJDUMP" && OBJDUMP=objdump
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5098 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5099 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5100 $as_echo_n "(cached
) " >&6
5102 lt_cv_file_magic_cmd='$MAGIC_CMD'
5103 lt_cv_file_magic_test_file=
5104 lt_cv_deplibs_check_method='unknown'
5105 # Need to set the preceding variable on all platforms that support
5106 # interlibrary dependencies.
5107 # 'none' -- dependencies not supported.
5108 # `unknown' -- same as none, but documents that we really don't know.
5109 # 'pass_all' -- all dependencies passed with no checks.
5110 # 'test_compile' -- check by making test program.
5111 # 'file_magic [[regex]]' -- check by looking for files in library path
5112 # which responds to the $file_magic_cmd with a given extended regex.
5113 # If you have `file' or equivalent on your system and you're not sure
5114 # whether `pass_all' will *always* work, you probably want this one.
5118 lt_cv_deplibs_check_method=pass_all
5122 lt_cv_deplibs_check_method=pass_all
5126 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5127 lt_cv_file_magic_cmd='/usr/bin/file -L'
5128 lt_cv_file_magic_test_file=/shlib/libc.so
5132 # func_win32_libid is a shell function defined in ltmain.sh
5133 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5134 lt_cv_file_magic_cmd='func_win32_libid'
5138 # Base MSYS/MinGW do not provide the 'file' command needed by
5139 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5140 # unless we find 'file', for example because we are cross-compiling.
5141 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5142 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5143 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5144 lt_cv_file_magic_cmd='func_win32_libid'
5146 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5147 lt_cv_file_magic_cmd='$OBJDUMP -f'
5152 # use the weaker test based on 'objdump'. See mingw*.
5153 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5154 lt_cv_file_magic_cmd='$OBJDUMP -f'
5157 darwin* | rhapsody*)
5158 lt_cv_deplibs_check_method=pass_all
5161 freebsd* | dragonfly*)
5162 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5165 # Not sure whether the presence of OpenBSD here was a mistake.
5166 # Let's accept both of them until this is cleared up.
5167 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5168 lt_cv_file_magic_cmd=/usr/bin/file
5169 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5173 lt_cv_deplibs_check_method=pass_all
5178 lt_cv_deplibs_check_method=pass_all
5182 lt_cv_deplibs_check_method=pass_all
5185 hpux10.20* | hpux11*)
5186 lt_cv_file_magic_cmd=/usr/bin/file
5189 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5190 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5193 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]'
5194 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5197 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5198 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5204 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5205 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5208 irix5* | irix6* | nonstopux*)
5210 *-32|*"-32 ") libmagic=32-bit;;
5211 *-n32|*"-n32 ") libmagic=N32;;
5212 *-64|*"-64 ") libmagic=64-bit;;
5213 *) libmagic=never-match;;
5215 lt_cv_deplibs_check_method=pass_all
5218 # This must be Linux ELF.
5219 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5220 lt_cv_deplibs_check_method=pass_all
5224 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5225 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5232 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5233 lt_cv_file_magic_cmd=/usr/bin/file
5234 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5238 lt_cv_deplibs_check_method=pass_all
5242 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5243 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5245 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5249 osf3* | osf4* | osf5*)
5250 lt_cv_deplibs_check_method=pass_all
5254 lt_cv_deplibs_check_method=pass_all
5258 lt_cv_deplibs_check_method=pass_all
5261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5262 lt_cv_deplibs_check_method=pass_all
5266 case $host_vendor in
5268 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]'
5269 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5272 lt_cv_deplibs_check_method=pass_all
5275 lt_cv_file_magic_cmd='/bin/file'
5276 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5279 lt_cv_file_magic_cmd='/bin/file'
5280 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5281 lt_cv_file_magic_test_file=/lib/libc.so
5284 lt_cv_deplibs_check_method=pass_all
5287 lt_cv_deplibs_check_method=pass_all
5293 lt_cv_deplibs_check_method=pass_all
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5299 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5300 file_magic_cmd=$lt_cv_file_magic_cmd
5301 deplibs_check_method=$lt_cv_deplibs_check_method
5302 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy ${ac_tool_prefix}ar; ac_word=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5319 $as_echo_n "checking
for $ac_word...
" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then :
5321 $as_echo_n "(cached
) " >&6
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR="$AR" # Let the user override the test.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR="${ac_tool_prefix}ar"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$AR"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5346 $as_echo "$AR" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5349 $as_echo "no
" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy ar; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5359 $as_echo_n "checking
for $ac_word...
" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5361 $as_echo_n "(cached
) " >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR="ar"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5386 $as_echo "$ac_ct_AR" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5389 $as_echo "no
" >&6; }
5392 if test "x
$ac_ct_AR" = x; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5398 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5399 ac_tool_warned=yes ;;
5407 test -z "$AR" && AR=ar
5408 test -z "$AR_FLAGS" && AR_FLAGS=cru
5420 if test -n "$ac_tool_prefix"; then
5421 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5422 set dummy ${ac_tool_prefix}strip; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5424 $as_echo_n "checking
for $ac_word...
" >&6; }
5425 if test "${ac_cv_prog_STRIP+set}" = set; then :
5426 $as_echo_n "(cached
) " >&6
5428 if test -n "$STRIP"; then
5429 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir=.
5436 for ac_exec_ext in '' $ac_executable_extensions; do
5437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5448 STRIP=$ac_cv_prog_STRIP
5449 if test -n "$STRIP"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5451 $as_echo "$STRIP" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5454 $as_echo "no
" >&6; }
5459 if test -z "$ac_cv_prog_STRIP"; then
5461 # Extract the first word of "strip
", so it can be a program name with args.
5462 set dummy strip; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5464 $as_echo_n "checking
for $ac_word...
" >&6; }
5465 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5466 $as_echo_n "(cached
) " >&6
5468 if test -n "$ac_ct_STRIP"; then
5469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_ac_ct_STRIP="strip
"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5489 if test -n "$ac_ct_STRIP"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5491 $as_echo "$ac_ct_STRIP" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5494 $as_echo "no
" >&6; }
5497 if test "x
$ac_ct_STRIP" = x; then
5500 case $cross_compiling:$ac_tool_warned in
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5503 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5504 ac_tool_warned=yes ;;
5509 STRIP="$ac_cv_prog_STRIP"
5512 test -z "$STRIP" && STRIP=:
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5523 $as_echo_n "checking
for $ac_word...
" >&6; }
5524 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5525 $as_echo_n "(cached
) " >&6
5527 if test -n "$RANLIB"; then
5528 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5547 RANLIB=$ac_cv_prog_RANLIB
5548 if test -n "$RANLIB"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5550 $as_echo "$RANLIB" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5553 $as_echo "no
" >&6; }
5558 if test -z "$ac_cv_prog_RANLIB"; then
5559 ac_ct_RANLIB=$RANLIB
5560 # Extract the first word of "ranlib
", so it can be a program name with args.
5561 set dummy ranlib; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5563 $as_echo_n "checking
for $ac_word...
" >&6; }
5564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5565 $as_echo_n "(cached
) " >&6
5567 if test -n "$ac_ct_RANLIB"; then
5568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5588 if test -n "$ac_ct_RANLIB"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5590 $as_echo "$ac_ct_RANLIB" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5593 $as_echo "no
" >&6; }
5596 if test "x
$ac_ct_RANLIB" = 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 RANLIB=$ac_ct_RANLIB
5608 RANLIB="$ac_cv_prog_RANLIB"
5611 test -z "$RANLIB" && RANLIB=:
5618 # Determine commands to create old-style static archives.
5619 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5620 old_postinstall_cmds='chmod 644 $oldlib'
5621 old_postuninstall_cmds=
5623 if test -n "$RANLIB"; then
5626 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5629 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5632 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5637 lock_old_archive_extraction=yes ;;
5639 lock_old_archive_extraction=no ;;
5662 for ac_prog in gawk mawk nawk awk
5664 # Extract the first word of "$ac_prog", so it can be a program name with args.
5665 set dummy $ac_prog; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5667 $as_echo_n "checking
for $ac_word...
" >&6; }
5668 if test "${ac_cv_prog_AWK+set}" = set; then :
5669 $as_echo_n "(cached
) " >&6
5671 if test -n "$AWK"; then
5672 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_prog_AWK="$ac_prog"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5692 if test -n "$AWK"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5694 $as_echo "$AWK" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5697 $as_echo "no
" >&6; }
5701 test -n "$AWK" && break
5722 # If no C compiler was specified, use CC.
5725 # If no C compiler flags were specified, use CFLAGS.
5726 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5728 # Allow CC to be a program name with arguments.
5732 # Check for command to grab the raw symbol name followed by C symbol from nm.
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5734 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5735 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5736 $as_echo_n "(cached
) " >&6
5739 # These are sane defaults that work on at least a few old systems.
5740 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5742 # Character class describing NM global symbol codes.
5743 symcode='[BCDEGRST]'
5745 # Regexp to match symbols that can be accessed directly from C.
5746 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5748 # Define system-specific variables.
5753 cygwin* | mingw* | pw32* | cegcc*)
5754 symcode='[ABCDGISTW]'
5757 if test "$host_cpu" = ia64; then
5758 symcode='[ABCDEGRST]'
5762 symcode='[BCDEGRST]'
5765 symcode='[BCDEGQRST]'
5776 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5784 # If we're using GNU nm, then use its standard symbol codes.
5785 case `$NM -V 2>&1` in
5786 *GNU* | *'with BFD'*)
5787 symcode='[ABCDGIRSTW]' ;;
5790 # Transform an extracted symbol line into a proper C declaration.
5791 # Some systems (esp. on ia64) link data and code symbols differently,
5792 # so use this general approach.
5793 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5795 # Transform an extracted symbol line into symbol name and symbol address
5796 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5797 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'"
5799 # Handle CRLF in mingw tool chain
5803 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5807 # Try without a prefix underscore, then with it.
5808 for ac_symprfx in "" "_
"; do
5810 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5811 symxfrm="\\1 $ac_symprfx\\2 \\2"
5813 # Write the raw and C identifiers.
5814 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5815 # Fake it for dumpbin and say T for any non-static function
5816 # and D for any global variable.
5817 # Also find C++ and __fastcall symbols from MSVC++,
5818 # which start with @ or ?.
5819 lt_cv_sys_global_symbol_pipe="$AWK '"\
5820 " {last_section=section; section=\$ 3};"\
5821 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5822 " \$ 0!~/External *\|/{next};"\
5823 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5824 " {if(hide[section]) next};"\
5825 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5826 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5827 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5828 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5829 " ' prfx
=^
$ac_symprfx"
5831 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5834 # Check to see that the pipe works correctly.
5838 cat > conftest.$ac_ext <<_LT_EOF
5843 void nm_test_func(void);
5844 void nm_test_func(void){}
5848 int main(){nm_test_var='a';nm_test_func();return(0);}
5851 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5852 (eval $ac_compile) 2>&5
5854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5855 test $ac_status = 0; }; then
5856 # Now try to grab the symbols.
5858 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5859 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5861 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5862 test $ac_status = 0; } && test -s "$nlist"; then
5863 # Try sorting and uniquifying the output.
5864 if sort "$nlist" | uniq > "$nlist"T; then
5865 mv -f "$nlist"T "$nlist"
5870 # Make sure that we snagged all the symbols we need.
5871 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5872 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5873 cat <<_LT_EOF > conftest.$ac_ext
5879 # Now generate the symbol file.
5880 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5882 cat <<_LT_EOF >> conftest.$ac_ext
5884 /* The mapping between symbol names and symbols. */
5889 lt__PROGRAM__LTX_preloaded_symbols[] =
5891 { "@PROGRAM@
", (void *) 0 },
5893 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5894 cat <<\_LT_EOF >> conftest.$ac_ext
5898 /* This works around a problem in FreeBSD linker */
5899 #ifdef FREEBSD_WORKAROUND
5900 static const void *lt_preloaded_setup() {
5901 return lt__PROGRAM__LTX_preloaded_symbols;
5909 # Now try linking the two files.
5910 mv conftest.$ac_objext conftstm.$ac_objext
5911 lt_save_LIBS="$LIBS"
5912 lt_save_CFLAGS="$CFLAGS"
5913 LIBS="conftstm.
$ac_objext"
5914 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5915 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5916 (eval $ac_link) 2>&5
5918 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5919 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5922 LIBS="$lt_save_LIBS"
5923 CFLAGS="$lt_save_CFLAGS"
5925 echo "cannot
find nm_test_func
in $nlist" >&5
5928 echo "cannot
find nm_test_var
in $nlist" >&5
5931 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5934 echo "$progname: failed program was
:" >&5
5935 cat conftest.$ac_ext >&5
5937 rm -rf conftest* conftst*
5939 # Do not use the global_symbol_pipe unless it works.
5940 if test "$pipe_works" = yes; then
5943 lt_cv_sys_global_symbol_pipe=
5949 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5950 lt_cv_sys_global_symbol_to_cdecl=
5952 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5954 $as_echo "failed
" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5957 $as_echo "ok
" >&6; }
5982 # Check whether --enable-libtool-lock was given.
5983 if test "${enable_libtool_lock+set}" = set; then :
5984 enableval=$enable_libtool_lock;
5987 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5989 # Some flags need to be propagated to the compiler or linker for good
5993 # Find out which ABI we are using.
5994 echo 'int i;' > conftest.$ac_ext
5995 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5996 (eval $ac_compile) 2>&5
5998 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5999 test $ac_status = 0; }; then
6000 case `/usr/bin/file conftest.$ac_objext` in
6012 # Find out which ABI we are using.
6013 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6014 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6015 (eval $ac_compile) 2>&5
6017 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6018 test $ac_status = 0; }; then
6019 if test "$lt_cv_prog_gnu_ld" = yes; then
6020 case `/usr/bin/file conftest.$ac_objext` in
6022 LD="${LD-ld} -melf32bsmip"
6025 LD="${LD-ld} -melf32bmipn32"
6028 LD="${LD-ld} -melf64bmip"
6032 case `/usr/bin/file conftest.$ac_objext` in
6048 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6049 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6050 # Find out which ABI we are using.
6051 echo 'int i;' > conftest.$ac_ext
6052 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6053 (eval $ac_compile) 2>&5
6055 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6056 test $ac_status = 0; }; then
6057 case `/usr/bin/file conftest.o` in
6060 x86_64-*kfreebsd*-gnu)
6061 LD="${LD-ld} -m elf_i386_fbsd
"
6064 case `/usr/bin/file conftest.o` in
6066 LD="${LD-ld} -m elf32_x86_64
"
6069 LD="${LD-ld} -m elf_i386
"
6073 powerpc64le-*linux*)
6074 LD="${LD-ld} -m elf32lppclinux
"
6077 LD="${LD-ld} -m elf32ppclinux
"
6080 LD="${LD-ld} -m elf_s390
"
6083 LD="${LD-ld} -m elf32_sparc
"
6089 x86_64-*kfreebsd*-gnu)
6090 LD="${LD-ld} -m elf_x86_64_fbsd
"
6093 LD="${LD-ld} -m elf_x86_64
"
6096 LD="${LD-ld} -m elf64lppc
"
6099 LD="${LD-ld} -m elf64ppc
"
6101 s390*-*linux*|s390*-*tpf*)
6102 LD="${LD-ld} -m elf64_s390
"
6105 LD="${LD-ld} -m elf64_sparc
"
6115 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6116 SAVE_CFLAGS="$CFLAGS"
6117 CFLAGS="$CFLAGS -belf"
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6119 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6120 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6121 $as_echo_n "(cached
) " >&6
6124 ac_cpp='$CPP $CPPFLAGS'
6125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6129 if test x$gcc_no_link = xyes; then
6130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6143 if ac_fn_c_try_link "$LINENO"; then :
6144 lt_cv_cc_needs_belf=yes
6146 lt_cv_cc_needs_belf=no
6148 rm -f core conftest.err conftest.$ac_objext \
6149 conftest$ac_exeext conftest.$ac_ext
6151 ac_cpp='$CPP $CPPFLAGS'
6152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6158 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6159 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6160 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6161 CFLAGS="$SAVE_CFLAGS"
6165 # Find out which ABI we are using.
6166 echo 'int i;' > conftest.$ac_ext
6167 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6168 (eval $ac_compile) 2>&5
6170 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6171 test $ac_status = 0; }; then
6172 case `/usr/bin/file conftest.o` in
6174 case $lt_cv_prog_gnu_ld in
6175 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6177 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6189 need_locks="$enable_libtool_lock"
6193 rhapsody* | darwin*)
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6198 $as_echo_n "checking
for $ac_word...
" >&6; }
6199 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6200 $as_echo_n "(cached
) " >&6
6202 if test -n "$DSYMUTIL"; then
6203 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6223 if test -n "$DSYMUTIL"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6225 $as_echo "$DSYMUTIL" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6228 $as_echo "no
" >&6; }
6233 if test -z "$ac_cv_prog_DSYMUTIL"; then
6234 ac_ct_DSYMUTIL=$DSYMUTIL
6235 # Extract the first word of "dsymutil
", so it can be a program name with args.
6236 set dummy dsymutil; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$ac_ct_DSYMUTIL"; then
6243 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6263 if test -n "$ac_ct_DSYMUTIL"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6265 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6271 if test "x
$ac_ct_DSYMUTIL" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6278 ac_tool_warned=yes ;;
6280 DSYMUTIL=$ac_ct_DSYMUTIL
6283 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6290 $as_echo_n "checking
for $ac_word...
" >&6; }
6291 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6292 $as_echo_n "(cached
) " >&6
6294 if test -n "$NMEDIT"; then
6295 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6314 NMEDIT=$ac_cv_prog_NMEDIT
6315 if test -n "$NMEDIT"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6317 $as_echo "$NMEDIT" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6320 $as_echo "no
" >&6; }
6325 if test -z "$ac_cv_prog_NMEDIT"; then
6326 ac_ct_NMEDIT=$NMEDIT
6327 # Extract the first word of "nmedit
", so it can be a program name with args.
6328 set dummy nmedit; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6330 $as_echo_n "checking
for $ac_word...
" >&6; }
6331 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6332 $as_echo_n "(cached
) " >&6
6334 if test -n "$ac_ct_NMEDIT"; then
6335 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6355 if test -n "$ac_ct_NMEDIT"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6357 $as_echo "$ac_ct_NMEDIT" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6360 $as_echo "no
" >&6; }
6363 if test "x
$ac_ct_NMEDIT" = x; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6370 ac_tool_warned=yes ;;
6372 NMEDIT=$ac_ct_NMEDIT
6375 NMEDIT="$ac_cv_prog_NMEDIT"
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6382 $as_echo_n "checking
for $ac_word...
" >&6; }
6383 if test "${ac_cv_prog_LIPO+set}" = set; then :
6384 $as_echo_n "(cached
) " >&6
6386 if test -n "$LIPO"; then
6387 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6406 LIPO=$ac_cv_prog_LIPO
6407 if test -n "$LIPO"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6409 $as_echo "$LIPO" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6412 $as_echo "no
" >&6; }
6417 if test -z "$ac_cv_prog_LIPO"; then
6419 # Extract the first word of "lipo
", so it can be a program name with args.
6420 set dummy lipo; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6422 $as_echo_n "checking
for $ac_word...
" >&6; }
6423 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6424 $as_echo_n "(cached
) " >&6
6426 if test -n "$ac_ct_LIPO"; then
6427 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_ac_ct_LIPO="lipo
"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6447 if test -n "$ac_ct_LIPO"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6449 $as_echo "$ac_ct_LIPO" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6452 $as_echo "no
" >&6; }
6455 if test "x
$ac_ct_LIPO" = x; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6461 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6462 ac_tool_warned=yes ;;
6467 LIPO="$ac_cv_prog_LIPO"
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}otool; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6474 $as_echo_n "checking
for $ac_word...
" >&6; }
6475 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6476 $as_echo_n "(cached
) " >&6
6478 if test -n "$OTOOL"; then
6479 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6498 OTOOL=$ac_cv_prog_OTOOL
6499 if test -n "$OTOOL"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6501 $as_echo "$OTOOL" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6504 $as_echo "no
" >&6; }
6509 if test -z "$ac_cv_prog_OTOOL"; then
6511 # Extract the first word of "otool
", so it can be a program name with args.
6512 set dummy otool; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6514 $as_echo_n "checking
for $ac_word...
" >&6; }
6515 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6516 $as_echo_n "(cached
) " >&6
6518 if test -n "$ac_ct_OTOOL"; then
6519 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_OTOOL="otool
"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6539 if test -n "$ac_ct_OTOOL"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6541 $as_echo "$ac_ct_OTOOL" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6544 $as_echo "no
" >&6; }
6547 if test "x
$ac_ct_OTOOL" = x; then
6550 case $cross_compiling:$ac_tool_warned in
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6553 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6554 ac_tool_warned=yes ;;
6559 OTOOL="$ac_cv_prog_OTOOL"
6562 if test -n "$ac_tool_prefix"; then
6563 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6564 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6566 $as_echo_n "checking
for $ac_word...
" >&6; }
6567 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6568 $as_echo_n "(cached
) " >&6
6570 if test -n "$OTOOL64"; then
6571 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 test -z "$as_dir" && as_dir=.
6578 for ac_exec_ext in '' $ac_executable_extensions; do
6579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6580 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6590 OTOOL64=$ac_cv_prog_OTOOL64
6591 if test -n "$OTOOL64"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6593 $as_echo "$OTOOL64" >&6; }
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6596 $as_echo "no
" >&6; }
6601 if test -z "$ac_cv_prog_OTOOL64"; then
6602 ac_ct_OTOOL64=$OTOOL64
6603 # Extract the first word of "otool64
", so it can be a program name with args.
6604 set dummy otool64; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6606 $as_echo_n "checking
for $ac_word...
" >&6; }
6607 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6608 $as_echo_n "(cached
) " >&6
6610 if test -n "$ac_ct_OTOOL64"; then
6611 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6631 if test -n "$ac_ct_OTOOL64"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6633 $as_echo "$ac_ct_OTOOL64" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6636 $as_echo "no
" >&6; }
6639 if test "x
$ac_ct_OTOOL64" = x; then
6642 case $cross_compiling:$ac_tool_warned in
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6645 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6646 ac_tool_warned=yes ;;
6648 OTOOL64=$ac_ct_OTOOL64
6651 OTOOL64="$ac_cv_prog_OTOOL64"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6681 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6682 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6683 $as_echo_n "(cached
) " >&6
6685 lt_cv_apple_cc_single_mod=no
6686 if test -z "${LT_MULTI_MODULE}"; then
6687 # By default we will add the -single_module flag. You can override
6688 # by either setting the environment variable LT_MULTI_MODULE
6689 # non-empty at configure time, or by adding -multi_module to the
6691 rm -rf libconftest.dylib*
6692 echo "int foo
(void
){return 1;}" > conftest.c
6693 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6694 -dynamiclib -Wl,-single_module conftest.c
" >&5
6695 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6696 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6698 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6699 lt_cv_apple_cc_single_mod=yes
6701 cat conftest.err >&5
6703 rm -rf libconftest.dylib*
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6708 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6710 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6711 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6712 $as_echo_n "(cached
) " >&6
6714 lt_cv_ld_exported_symbols_list=no
6715 save_LDFLAGS=$LDFLAGS
6716 echo "_main
" > conftest.sym
6717 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6718 if test x$gcc_no_link = xyes; then
6719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6732 if ac_fn_c_try_link "$LINENO"; then :
6733 lt_cv_ld_exported_symbols_list=yes
6735 lt_cv_ld_exported_symbols_list=no
6737 rm -f core conftest.err conftest.$ac_objext \
6738 conftest$ac_exeext conftest.$ac_ext
6739 LDFLAGS="$save_LDFLAGS"
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6743 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6745 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6746 if test "${lt_cv_ld_force_load+set}" = set; then :
6747 $as_echo_n "(cached
) " >&6
6749 lt_cv_ld_force_load=no
6750 cat > conftest.c << _LT_EOF
6751 int forced_loaded() { return 2;}
6753 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6754 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6755 echo "$AR cru libconftest.a conftest.o
" >&5
6756 $AR cru libconftest.a conftest.o 2>&5
6757 cat > conftest.c << _LT_EOF
6758 int main() { return 0;}
6760 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6761 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6763 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6764 lt_cv_ld_force_load=yes
6766 cat conftest.err >&5
6768 rm -f conftest.err libconftest.a conftest conftest.c
6769 rm -rf conftest.dSYM
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6773 $as_echo "$lt_cv_ld_force_load" >&6; }
6775 rhapsody* | darwin1.[012])
6776 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6778 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6779 darwin*) # darwin 5.x on
6780 # if running on 10.5 or later, the deployment target defaults
6781 # to the OS version, if on x86, and 10.4, the deployment
6782 # target defaults to 10.4. Don't you love it?
6783 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6784 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6793 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6794 _lt_dar_single_mod='$single_module'
6796 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6797 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6799 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6801 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6802 _lt_dsymutil='~$DSYMUTIL $lib || :'
6810 ac_cpp='$CPP $CPPFLAGS'
6811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6815 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6816 # On Suns, sometimes $CPP names a directory.
6817 if test -n "$CPP" && test -d "$CPP"; then
6820 if test -z "$CPP"; then
6821 if test "${ac_cv_prog_CPP+set}" = set; then :
6822 $as_echo_n "(cached
) " >&6
6824 # Double quotes because CPP needs to be expanded
6825 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6828 for ac_c_preproc_warn_flag in '' yes
6830 # Use a header file that comes with gcc, so configuring glibc
6831 # with a fresh cross-compiler works.
6832 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833 # <limits.h> exists even on freestanding compilers.
6834 # On the NeXT, cc -E runs the code through the compiler's parser,
6835 # not just through cpp. "Syntax error
" is here to catch this case.
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6839 # include <limits.h>
6841 # include <assert.h>
6845 if ac_fn_c_try_cpp "$LINENO"; then :
6848 # Broken: fails on valid input.
6851 rm -f conftest.err conftest.$ac_ext
6853 # OK, works on sane cases. Now check whether nonexistent headers
6854 # can be detected and how.
6855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6856 /* end confdefs.h. */
6857 #include <ac_nonexistent.h>
6859 if ac_fn_c_try_cpp "$LINENO"; then :
6860 # Broken: success on invalid input.
6863 # Passes both tests.
6867 rm -f conftest.err conftest.$ac_ext
6870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6871 rm -f conftest.err conftest.$ac_ext
6872 if $ac_preproc_ok; then :
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6885 $as_echo "$CPP" >&6; }
6887 for ac_c_preproc_warn_flag in '' yes
6889 # Use a header file that comes with gcc, so configuring glibc
6890 # with a fresh cross-compiler works.
6891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6892 # <limits.h> exists even on freestanding compilers.
6893 # On the NeXT, cc -E runs the code through the compiler's parser,
6894 # not just through cpp. "Syntax error
" is here to catch this case.
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6898 # include <limits.h>
6900 # include <assert.h>
6904 if ac_fn_c_try_cpp "$LINENO"; then :
6907 # Broken: fails on valid input.
6910 rm -f conftest.err conftest.$ac_ext
6912 # OK, works on sane cases. Now check whether nonexistent headers
6913 # can be detected and how.
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <ac_nonexistent.h>
6918 if ac_fn_c_try_cpp "$LINENO"; then :
6919 # Broken: success on invalid input.
6922 # Passes both tests.
6926 rm -f conftest.err conftest.$ac_ext
6929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6930 rm -f conftest.err conftest.$ac_ext
6931 if $ac_preproc_ok; then :
6934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6936 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6937 See \`config.log' for more details.
" "$LINENO" 5; }
6941 ac_cpp='$CPP $CPPFLAGS'
6942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6948 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6949 if test "${ac_cv_header_stdc+set}" = set; then :
6950 $as_echo_n "(cached
) " >&6
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_header_stdc=yes
6970 ac_cv_header_stdc=no
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 if test $ac_cv_header_stdc = yes; then
6975 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6981 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6982 $EGREP "memchr
" >/dev/null 2>&1; then :
6985 ac_cv_header_stdc=no
6991 if test $ac_cv_header_stdc = yes; then
6992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
6998 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6999 $EGREP "free
" >/dev/null 2>&1; then :
7002 ac_cv_header_stdc=no
7008 if test $ac_cv_header_stdc = yes; then
7009 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7010 if test "$cross_compiling" = yes; then :
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 /* end confdefs.h. */
7017 #if ((' ' & 0x0FF) == 0x020)
7018 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7019 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7021 # define ISLOWER(c) \
7022 (('a' <= (c) && (c) <= 'i') \
7023 || ('j' <= (c) && (c) <= 'r') \
7024 || ('s' <= (c) && (c) <= 'z'))
7025 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7028 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7033 for (i = 0; i < 256; i++)
7034 if (XOR (islower (i), ISLOWER (i))
7035 || toupper (i) != TOUPPER (i))
7040 if ac_fn_c_try_run "$LINENO"; then :
7043 ac_cv_header_stdc=no
7045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7046 conftest.$ac_objext conftest.beam conftest.$ac_ext
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7052 $as_echo "$ac_cv_header_stdc" >&6; }
7053 if test $ac_cv_header_stdc = yes; then
7055 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7059 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7060 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7061 inttypes.h stdint.h unistd.h
7063 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7066 eval as_val
=\$
$as_ac_Header
7067 if test "x$as_val" = x
""yes; then :
7068 cat >>confdefs.h
<<_ACEOF
7069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7077 for ac_header
in dlfcn.h
7079 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7081 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7082 cat >>confdefs.h
<<_ACEOF
7083 #define HAVE_DLFCN_H 1
7102 # Check whether --enable-shared was given.
7103 if test "${enable_shared+set}" = set; then :
7104 enableval
=$enable_shared; p
=${PACKAGE-default}
7106 yes) enable_shared
=yes ;;
7107 no
) enable_shared
=no
;;
7110 # Look at the argument we got. We use all the common list separators.
7111 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7112 for pkg
in $enableval; do
7114 if test "X$pkg" = "X$p"; then
7133 # Check whether --enable-static was given.
7134 if test "${enable_static+set}" = set; then :
7135 enableval
=$enable_static; p
=${PACKAGE-default}
7137 yes) enable_static
=yes ;;
7138 no
) enable_static
=no
;;
7141 # Look at the argument we got. We use all the common list separators.
7142 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7143 for pkg
in $enableval; do
7145 if test "X$pkg" = "X$p"; then
7165 # Check whether --with-pic was given.
7166 if test "${with_pic+set}" = set; then :
7167 withval
=$with_pic; pic_mode
="$withval"
7173 test -z "$pic_mode" && pic_mode
=default
7181 # Check whether --enable-fast-install was given.
7182 if test "${enable_fast_install+set}" = set; then :
7183 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7185 yes) enable_fast_install
=yes ;;
7186 no
) enable_fast_install
=no
;;
7188 enable_fast_install
=no
7189 # Look at the argument we got. We use all the common list separators.
7190 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7191 for pkg
in $enableval; do
7193 if test "X$pkg" = "X$p"; then
7194 enable_fast_install
=yes
7201 enable_fast_install
=yes
7214 # This can be used to rebuild libtool when needed
7215 LIBTOOL_DEPS
="$ltmain"
7217 # Always use our own libtool.
7218 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7245 test -z "$LN_S" && LN_S
="ln -s"
7260 if test -n "${ZSH_VERSION+set}" ; then
7261 setopt NO_GLOB_SUBST
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7265 $as_echo_n "checking for objdir... " >&6; }
7266 if test "${lt_cv_objdir+set}" = set; then :
7267 $as_echo_n "(cached) " >&6
7269 rm -f .libs
2>/dev
/null
7270 mkdir .libs
2>/dev
/null
7271 if test -d .libs
; then
7274 # MS-DOS does not allow filenames that begin with a dot.
7277 rmdir .libs
2>/dev
/null
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7280 $as_echo "$lt_cv_objdir" >&6; }
7281 objdir
=$lt_cv_objdir
7287 cat >>confdefs.h
<<_ACEOF
7288 #define LT_OBJDIR "$lt_cv_objdir/"
7296 # AIX sometimes has problems with the GCC collect2 program. For some
7297 # reason, if we set the COLLECT_NAMES environment variable, the problems
7298 # vanish in a puff of smoke.
7299 if test "X${COLLECT_NAMES+set}" != Xset
; then
7301 export COLLECT_NAMES
7308 can_build_shared
=yes
7310 # All known linkers require a `.a' archive for static linking (except MSVC,
7311 # which needs '.lib').
7314 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7317 old_CFLAGS
="$CFLAGS"
7319 # Set sane defaults for various variables
7320 test -z "$CC" && CC
=cc
7321 test -z "$LTCC" && LTCC
=$CC
7322 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7323 test -z "$LD" && LD
=ld
7324 test -z "$ac_objext" && ac_objext
=o
7326 for cc_temp
in $compiler""; do
7328 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7329 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7334 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7337 # Only perform the check for file, if the check method requires it
7338 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7339 case $deplibs_check_method in
7341 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7343 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7344 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7345 $as_echo_n "(cached) " >&6
7349 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7352 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7353 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7354 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7355 for ac_dir
in $ac_dummy; do
7357 test -z "$ac_dir" && ac_dir
=.
7358 if test -f $ac_dir/${ac_tool_prefix}file; then
7359 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7360 if test -n "$file_magic_test_file"; then
7361 case $deplibs_check_method in
7363 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7364 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7365 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7366 $EGREP "$file_magic_regex" > /dev
/null
; then
7371 *** Warning: the command libtool uses to detect shared libraries,
7372 *** $file_magic_cmd, produces output that libtool cannot recognize.
7373 *** The result is that libtool may fail to recognize shared libraries
7374 *** as such. This will affect the creation of libtool libraries that
7375 *** depend on shared libraries, but programs linked with such libtool
7376 *** libraries will work regardless of this problem. Nevertheless, you
7377 *** may want to report the problem to your system manager and/or to
7378 *** bug-libtool@gnu.org
7388 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7393 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7394 if test -n "$MAGIC_CMD"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7396 $as_echo "$MAGIC_CMD" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }
7406 if test -z "$lt_cv_path_MAGIC_CMD"; then
7407 if test -n "$ac_tool_prefix"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7409 $as_echo_n "checking for file... " >&6; }
7410 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7411 $as_echo_n "(cached) " >&6
7415 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7418 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7420 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7421 for ac_dir
in $ac_dummy; do
7423 test -z "$ac_dir" && ac_dir
=.
7424 if test -f $ac_dir/file; then
7425 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7426 if test -n "$file_magic_test_file"; then
7427 case $deplibs_check_method in
7429 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7430 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7431 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7432 $EGREP "$file_magic_regex" > /dev
/null
; then
7437 *** Warning: the command libtool uses to detect shared libraries,
7438 *** $file_magic_cmd, produces output that libtool cannot recognize.
7439 *** The result is that libtool may fail to recognize shared libraries
7440 *** as such. This will affect the creation of libtool libraries that
7441 *** depend on shared libraries, but programs linked with such libtool
7442 *** libraries will work regardless of this problem. Nevertheless, you
7443 *** may want to report the problem to your system manager and/or to
7444 *** bug-libtool@gnu.org
7454 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7459 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7460 if test -n "$MAGIC_CMD"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7462 $as_echo "$MAGIC_CMD" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7478 # Use C for the default configuration in the libtool script
7482 ac_cpp
='$CPP $CPPFLAGS'
7483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7488 # Source file extension for C test sources.
7491 # Object file extension for compiled C test sources.
7495 # Code to be used in simple compile tests
7496 lt_simple_compile_test_code
="int some_variable = 0;"
7498 # Code to be used in simple link tests
7499 lt_simple_link_test_code
='int main(){return(0);}'
7507 # If no C compiler was specified, use CC.
7510 # If no C compiler flags were specified, use CFLAGS.
7511 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7513 # Allow CC to be a program name with arguments.
7516 # Save the default compiler, since it gets overwritten when the other
7517 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7518 compiler_DEFAULT
=$CC
7520 # save warnings/boilerplate of simple test code
7521 ac_outfile
=conftest.
$ac_objext
7522 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7523 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7524 _lt_compiler_boilerplate
=`cat conftest.err`
7527 ac_outfile
=conftest.
$ac_objext
7528 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7529 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7530 _lt_linker_boilerplate
=`cat conftest.err`
7535 ## There is no encapsulation within the following macros, do not change
7536 ## the running order or otherwise move them around unless you know exactly
7537 ## what you are doing...
7538 if test -n "$compiler"; then
7540 lt_prog_compiler_no_builtin_flag
=
7542 if test "$GCC" = yes; then
7543 case $cc_basename in
7545 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7547 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7551 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7552 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7553 $as_echo_n "(cached) " >&6
7555 lt_cv_prog_compiler_rtti_exceptions
=no
7556 ac_outfile
=conftest.
$ac_objext
7557 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7558 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7559 # Insert the option either (1) after the last *FLAGS variable, or
7560 # (2) before a word containing "conftest.", or (3) at the end.
7561 # Note that $ac_compile itself does not contain backslashes and begins
7562 # with a dollar sign (not a hyphen), so the echo should work correctly.
7563 # The option is referenced via a variable to avoid confusing sed.
7564 lt_compile
=`echo "$ac_compile" | $SED \
7565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7567 -e 's:$: $lt_compiler_flag:'`
7568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7569 (eval "$lt_compile" 2>conftest.err
)
7571 cat conftest.err
>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 if (exit $ac_status) && test -s "$ac_outfile"; then
7574 # The compiler can only warn and ignore the option if not recognized
7575 # So say no if there are warnings other than the usual output.
7576 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7577 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7578 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7579 lt_cv_prog_compiler_rtti_exceptions
=yes
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7586 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7588 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7589 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7601 lt_prog_compiler_wl
=
7602 lt_prog_compiler_pic
=
7603 lt_prog_compiler_static
=
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7606 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7608 if test "$GCC" = yes; then
7609 lt_prog_compiler_wl
='-Wl,'
7610 lt_prog_compiler_static
='-static'
7614 # All AIX code is PIC.
7615 if test "$host_cpu" = ia64
; then
7616 # AIX 5 now supports IA64 processor
7617 lt_prog_compiler_static
='-Bstatic'
7619 lt_prog_compiler_pic
='-fPIC'
7625 # see comment about AmigaOS4 .so support
7626 lt_prog_compiler_pic
='-fPIC'
7629 # FIXME: we need at least 68020 code to build shared libraries, but
7630 # adding the `-m68020' flag to GCC prevents building anything better,
7632 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7637 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7638 # PIC is the default for these OSes.
7641 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7642 # This hack is so that the source file can tell whether it is being
7643 # built for inclusion in a dll (and should export symbols for example).
7644 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7645 # (--disable-auto-import) libraries
7646 lt_prog_compiler_pic
='-DDLL_EXPORT'
7649 darwin
* | rhapsody
*)
7650 # PIC is the default on this platform
7651 # Common symbols not allowed in MH_DYLIB files
7652 lt_prog_compiler_pic
='-fno-common'
7656 # PIC is the default for Haiku.
7657 # The "-static" flag exists, but is broken.
7658 lt_prog_compiler_static
=
7662 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7663 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7664 # sets the default TLS model and affects inlining.
7670 lt_prog_compiler_pic
='-fPIC'
7676 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7677 # Instead, we relocate shared libraries at runtime.
7681 # Just because we use GCC doesn't mean we suddenly get shared libraries
7682 # on systems that don't support them.
7683 lt_prog_compiler_can_build_shared
=no
7688 # QNX uses GNU C++, but need to define -shared option too, otherwise
7690 lt_prog_compiler_pic
='-fPIC -shared'
7694 if test -d /usr
/nec
; then
7695 lt_prog_compiler_pic
=-Kconform_pic
7700 lt_prog_compiler_pic
='-fPIC'
7704 case $cc_basename in
7705 nvcc
*) # Cuda Compiler Driver 2.2
7706 lt_prog_compiler_wl
='-Xlinker '
7707 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7711 # PORTME Check for flag to pass linker flags through the system compiler.
7714 lt_prog_compiler_wl
='-Wl,'
7715 if test "$host_cpu" = ia64
; then
7716 # AIX 5 now supports IA64 processor
7717 lt_prog_compiler_static
='-Bstatic'
7719 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7723 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7724 # This hack is so that the source file can tell whether it is being
7725 # built for inclusion in a dll (and should export symbols for example).
7726 lt_prog_compiler_pic
='-DDLL_EXPORT'
7729 hpux9
* | hpux10
* | hpux11
*)
7730 lt_prog_compiler_wl
='-Wl,'
7731 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7738 lt_prog_compiler_pic
='+Z'
7741 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7742 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7745 irix5
* | irix6
* | nonstopux
*)
7746 lt_prog_compiler_wl
='-Wl,'
7747 # PIC (with -KPIC) is the default.
7748 lt_prog_compiler_static
='-non_shared'
7751 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7752 case $cc_basename in
7753 # old Intel for x86_64 which still supported -KPIC.
7755 lt_prog_compiler_wl
='-Wl,'
7756 lt_prog_compiler_pic
='-KPIC'
7757 lt_prog_compiler_static
='-static'
7759 # icc used to be incompatible with GCC.
7760 # ICC 10 doesn't accept -KPIC any more.
7762 lt_prog_compiler_wl
='-Wl,'
7763 lt_prog_compiler_pic
='-fPIC'
7764 lt_prog_compiler_static
='-static'
7766 # Lahey Fortran 8.1.
7768 lt_prog_compiler_wl
='-Wl,'
7769 lt_prog_compiler_pic
='--shared'
7770 lt_prog_compiler_static
='--static'
7772 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7773 # Portland Group compilers (*not* the Pentium gcc compiler,
7774 # which looks to be a dead project)
7775 lt_prog_compiler_wl
='-Wl,'
7776 lt_prog_compiler_pic
='-fpic'
7777 lt_prog_compiler_static
='-Bstatic'
7780 lt_prog_compiler_wl
='-Wl,'
7781 # All Alpha code is PIC.
7782 lt_prog_compiler_static
='-non_shared'
7784 xl
* | bgxl
* | bgf
* | mpixl
*)
7785 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7786 lt_prog_compiler_wl
='-Wl,'
7787 lt_prog_compiler_pic
='-qpic'
7788 lt_prog_compiler_static
='-qstaticlink'
7791 case `$CC -V 2>&1 | sed 5q` in
7792 *Sun\ F
* |
*Sun
*Fortran
*)
7793 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7794 lt_prog_compiler_pic
='-KPIC'
7795 lt_prog_compiler_static
='-Bstatic'
7796 lt_prog_compiler_wl
=''
7800 lt_prog_compiler_pic
='-KPIC'
7801 lt_prog_compiler_static
='-Bstatic'
7802 lt_prog_compiler_wl
='-Wl,'
7810 lt_prog_compiler_pic
='-KPIC'
7811 lt_prog_compiler_static
='-Bstatic'
7815 # QNX uses GNU C++, but need to define -shared option too, otherwise
7817 lt_prog_compiler_pic
='-fPIC -shared'
7820 osf3
* | osf4
* | osf5
*)
7821 lt_prog_compiler_wl
='-Wl,'
7822 # All OSF/1 code is PIC.
7823 lt_prog_compiler_static
='-non_shared'
7827 lt_prog_compiler_static
='-non_shared'
7831 lt_prog_compiler_pic
='-KPIC'
7832 lt_prog_compiler_static
='-Bstatic'
7833 case $cc_basename in
7835 lt_prog_compiler_wl
='-Qoption ld ';;
7837 lt_prog_compiler_wl
='-Wl,';;
7842 lt_prog_compiler_wl
='-Qoption ld '
7843 lt_prog_compiler_pic
='-PIC'
7844 lt_prog_compiler_static
='-Bstatic'
7847 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7848 lt_prog_compiler_wl
='-Wl,'
7849 lt_prog_compiler_pic
='-KPIC'
7850 lt_prog_compiler_static
='-Bstatic'
7854 if test -d /usr
/nec
;then
7855 lt_prog_compiler_pic
='-Kconform_pic'
7856 lt_prog_compiler_static
='-Bstatic'
7860 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7861 lt_prog_compiler_wl
='-Wl,'
7862 lt_prog_compiler_pic
='-KPIC'
7863 lt_prog_compiler_static
='-Bstatic'
7867 lt_prog_compiler_wl
='-Wl,'
7868 lt_prog_compiler_can_build_shared
=no
7872 lt_prog_compiler_pic
='-pic'
7873 lt_prog_compiler_static
='-Bstatic'
7877 lt_prog_compiler_can_build_shared
=no
7883 # For platforms which do not support PIC, -DPIC is meaningless:
7885 lt_prog_compiler_pic
=
7888 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7892 $as_echo "$lt_prog_compiler_pic" >&6; }
7900 # Check to make sure the PIC flag actually works.
7902 if test -n "$lt_prog_compiler_pic"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7904 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7905 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7906 $as_echo_n "(cached) " >&6
7908 lt_cv_prog_compiler_pic_works
=no
7909 ac_outfile
=conftest.
$ac_objext
7910 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7911 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7912 # Insert the option either (1) after the last *FLAGS variable, or
7913 # (2) before a word containing "conftest.", or (3) at the end.
7914 # Note that $ac_compile itself does not contain backslashes and begins
7915 # with a dollar sign (not a hyphen), so the echo should work correctly.
7916 # The option is referenced via a variable to avoid confusing sed.
7917 lt_compile
=`echo "$ac_compile" | $SED \
7918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7920 -e 's:$: $lt_compiler_flag:'`
7921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7922 (eval "$lt_compile" 2>conftest.err
)
7924 cat conftest.err
>&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 if (exit $ac_status) && test -s "$ac_outfile"; then
7927 # The compiler can only warn and ignore the option if not recognized
7928 # So say no if there are warnings other than the usual output.
7929 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7930 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7931 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7932 lt_cv_prog_compiler_pic_works
=yes
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7939 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7941 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7942 case $lt_prog_compiler_pic in
7944 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7947 lt_prog_compiler_pic
=
7948 lt_prog_compiler_can_build_shared
=no
7959 # Check to make sure the static flag actually works.
7961 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7963 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7964 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7965 $as_echo_n "(cached) " >&6
7967 lt_cv_prog_compiler_static_works
=no
7968 save_LDFLAGS
="$LDFLAGS"
7969 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7970 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7971 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7972 # The linker can only warn and ignore the option if not recognized
7973 # So say no if there are warnings
7974 if test -s conftest.err
; then
7975 # Append any errors to the config.log.
7976 cat conftest.err
1>&5
7977 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7978 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7979 if diff conftest.exp conftest.er2
>/dev
/null
; then
7980 lt_cv_prog_compiler_static_works
=yes
7983 lt_cv_prog_compiler_static_works
=yes
7987 LDFLAGS
="$save_LDFLAGS"
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7991 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7993 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7996 lt_prog_compiler_static
=
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8006 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8007 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8008 $as_echo_n "(cached) " >&6
8010 lt_cv_prog_compiler_c_o
=no
8011 $RM -r conftest
2>/dev
/null
8015 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8017 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8018 # Insert the option either (1) after the last *FLAGS variable, or
8019 # (2) before a word containing "conftest.", or (3) at the end.
8020 # Note that $ac_compile itself does not contain backslashes and begins
8021 # with a dollar sign (not a hyphen), so the echo should work correctly.
8022 lt_compile
=`echo "$ac_compile" | $SED \
8023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8025 -e 's:$: $lt_compiler_flag:'`
8026 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8027 (eval "$lt_compile" 2>out
/conftest.err
)
8029 cat out
/conftest.err
>&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8033 # The compiler can only warn and ignore the option if not recognized
8034 # So say no if there are warnings
8035 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8036 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8037 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8038 lt_cv_prog_compiler_c_o
=yes
8043 # SGI C++ compiler will create directory out/ii_files/ for
8044 # template instantiation
8045 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8046 $RM out
/* && rmdir out
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8053 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8061 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8062 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8063 $as_echo_n "(cached) " >&6
8065 lt_cv_prog_compiler_c_o
=no
8066 $RM -r conftest
2>/dev
/null
8070 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8072 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8073 # Insert the option either (1) after the last *FLAGS variable, or
8074 # (2) before a word containing "conftest.", or (3) at the end.
8075 # Note that $ac_compile itself does not contain backslashes and begins
8076 # with a dollar sign (not a hyphen), so the echo should work correctly.
8077 lt_compile
=`echo "$ac_compile" | $SED \
8078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8080 -e 's:$: $lt_compiler_flag:'`
8081 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8082 (eval "$lt_compile" 2>out
/conftest.err
)
8084 cat out
/conftest.err
>&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8088 # The compiler can only warn and ignore the option if not recognized
8089 # So say no if there are warnings
8090 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8091 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8092 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8093 lt_cv_prog_compiler_c_o
=yes
8098 # SGI C++ compiler will create directory out/ii_files/ for
8099 # template instantiation
8100 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8101 $RM out
/* && rmdir out
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8108 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8113 hard_links
="nottested"
8114 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8115 # do not overwrite the value of need_locks provided by the user
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8117 $as_echo_n "checking if we can lock with hard links... " >&6; }
8120 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8122 ln conftest.a conftest.b
2>&5 || hard_links
=no
8123 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8125 $as_echo "$hard_links" >&6; }
8126 if test "$hard_links" = no
; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8128 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8141 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8144 allow_undefined_flag
=
8145 always_export_symbols
=no
8147 archive_expsym_cmds
=
8148 compiler_needs_object
=no
8149 enable_shared_with_static_runtimes
=no
8150 export_dynamic_flag_spec
=
8151 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8152 hardcode_automatic
=no
8154 hardcode_direct_absolute
=no
8155 hardcode_libdir_flag_spec
=
8156 hardcode_libdir_flag_spec_ld
=
8157 hardcode_libdir_separator
=
8159 hardcode_shlibpath_var
=unsupported
8161 link_all_deplibs
=unknown
8164 old_archive_from_new_cmds
=
8165 old_archive_from_expsyms_cmds
=
8166 thread_safe_flag_spec
=
8167 whole_archive_flag_spec
=
8168 # include_expsyms should be a list of space-separated symbols to be *always*
8169 # included in the symbol list
8171 # exclude_expsyms can be an extended regexp of symbols to exclude
8172 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8173 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8174 # as well as any symbol that contains `d'.
8175 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8176 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8177 # platforms (ab)use it in PIC code, but their linkers get confused if
8178 # the symbol is explicitly referenced. Since portable code cannot
8179 # rely on this symbol name, it's probably fine to never include it in
8180 # preloaded symbol tables.
8181 # Exclude shared library initialization/finalization symbols.
8182 extract_expsyms_cmds
=
8185 cygwin
* | mingw
* | pw32
* | cegcc
*)
8186 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8187 # When not using gcc, we currently assume that we are using
8188 # Microsoft Visual C++.
8189 if test "$GCC" != yes; then
8194 # we just hope/assume this is gcc and not c89 (= MSVC++)
8204 # On some targets, GNU ld is compatible enough with the native linker
8205 # that we're better off using the native interface for both.
8206 lt_use_gnu_ld_interface
=no
8207 if test "$with_gnu_ld" = yes; then
8210 # The AIX port of GNU ld has always aspired to compatibility
8211 # with the native linker. However, as the warning in the GNU ld
8212 # block says, versions before 2.19.5* couldn't really create working
8213 # shared libraries, regardless of the interface used.
8214 case `$LD -v 2>&1` in
8215 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8216 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8217 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8219 lt_use_gnu_ld_interface
=yes
8224 lt_use_gnu_ld_interface
=yes
8229 if test "$lt_use_gnu_ld_interface" = yes; then
8230 # If archive_cmds runs LD, not CC, wlarc should be empty
8233 # Set some defaults for GNU ld with shared library support. These
8234 # are reset later if shared libraries are not supported. Putting them
8235 # here allows them to be overridden if necessary.
8236 runpath_var
=LD_RUN_PATH
8237 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8238 export_dynamic_flag_spec
='${wl}--export-dynamic'
8239 # ancient GNU ld didn't support --whole-archive et. al.
8240 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8241 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8243 whole_archive_flag_spec
=
8245 supports_anon_versioning
=no
8246 case `$LD -v 2>&1` in
8247 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8248 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8249 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8250 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8251 *\
2.11.
*) ;; # other 2.11 versions
8252 *) supports_anon_versioning
=yes ;;
8255 # See if GNU ld supports shared libraries.
8258 # On AIX/PPC, the GNU linker is very broken
8259 if test "$host_cpu" != ia64
; then
8263 *** Warning: the GNU linker, at least up to release 2.19, is reported
8264 *** to be unable to reliably create shared libraries on AIX.
8265 *** Therefore, libtool is disabling shared libraries support. If you
8266 *** really care for shared libraries, you may want to install binutils
8267 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8268 *** You will then need to restart the configuration process.
8277 # see comment about AmigaOS4 .so support
8278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8279 archive_expsym_cmds
=''
8282 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)'
8283 hardcode_libdir_flag_spec
='-L$libdir'
8284 hardcode_minus_L
=yes
8290 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8291 allow_undefined_flag
=unsupported
8292 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8293 # support --undefined. This deserves some investigation. FIXME
8294 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 cygwin
* | mingw
* | pw32
* | cegcc
*)
8301 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8302 # as there is no search path for DLLs.
8303 hardcode_libdir_flag_spec
='-L$libdir'
8304 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8305 allow_undefined_flag
=unsupported
8306 always_export_symbols
=no
8307 enable_shared_with_static_runtimes
=yes
8308 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8310 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8311 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8312 # If the export-symbols file already is a .def file (1st line
8313 # is EXPORTS), use it as is; otherwise, prepend...
8314 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8315 cp $export_symbols $output_objdir/$soname.def;
8317 echo EXPORTS > $output_objdir/$soname.def;
8318 cat $export_symbols >> $output_objdir/$soname.def;
8320 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 link_all_deplibs
=yes
8333 hardcode_shlibpath_var
=no
8334 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8335 export_dynamic_flag_spec
='${wl}-E'
8336 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8337 # Instead, shared libraries are loaded at an image base (0x10000000 by
8338 # default) and relocated if they conflict, which is a slow very memory
8339 # consuming and fragmenting process. To avoid this, we pick a random,
8340 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8341 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8342 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8343 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'
8346 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8348 if test "$host_os" = linux-dietlibc
; then
8349 case $cc_basename in
8350 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8353 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8354 && test "$tmp_diet" = no
8356 tmp_addflag
=' $pic_flag'
8357 tmp_sharedflag
='-shared'
8358 case $cc_basename,$host_cpu in
8359 pgcc
*) # Portland Group C compiler
8360 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'
8361 tmp_addflag
=' $pic_flag'
8363 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8364 # Portland Group f77 and f90 compilers
8365 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'
8366 tmp_addflag
=' $pic_flag -Mnomain' ;;
8367 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8368 tmp_addflag
=' -i_dynamic' ;;
8369 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8370 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8371 ifc
* | ifort
*) # Intel Fortran compiler
8372 tmp_addflag
=' -nofor_main' ;;
8373 lf95
*) # Lahey Fortran 8.1
8374 whole_archive_flag_spec
=
8375 tmp_sharedflag
='--shared' ;;
8376 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8377 tmp_sharedflag
='-qmkshrobj'
8379 nvcc
*) # Cuda Compiler Driver 2.2
8380 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'
8381 compiler_needs_object
=yes
8384 case `$CC -V 2>&1 | sed 5q` in
8385 *Sun\ C
*) # Sun C 5.9
8386 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'
8387 compiler_needs_object
=yes
8388 tmp_sharedflag
='-G' ;;
8389 *Sun\ F
*) # Sun Fortran 8.3
8390 tmp_sharedflag
='-G' ;;
8392 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8394 if test "x$supports_anon_versioning" = xyes
; then
8395 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8396 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8397 echo "local: *; };" >> $output_objdir/$libname.ver~
8398 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8401 case $cc_basename in
8402 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8403 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8404 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8405 hardcode_libdir_flag_spec
=
8406 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8407 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8408 if test "x$supports_anon_versioning" = xyes
; then
8409 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8410 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8411 echo "local: *; };" >> $output_objdir/$libname.ver~
8412 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8422 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8423 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8426 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8427 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8432 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8436 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8437 *** create shared libraries on Solaris systems. Therefore, libtool
8438 *** is disabling shared libraries support. We urge you to upgrade GNU
8439 *** binutils to release 2.9.1 or newer. Another option is to modify
8440 *** your PATH or compiler configuration so that the native linker is
8441 *** used, and then restart.
8444 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8446 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8452 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8453 case `$LD -v 2>&1` in
8454 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8458 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8459 *** reliably create shared libraries on SCO systems. Therefore, libtool
8460 *** is disabling shared libraries support. We urge you to upgrade GNU
8461 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8462 *** your PATH or compiler configuration so that the native linker is
8463 *** used, and then restart.
8468 # For security reasons, it is highly recommended that you always
8469 # use absolute paths for naming shared libraries, and exclude the
8470 # DT_RUNPATH tag from executables and libraries. But doing so
8471 # requires that you compile everything twice, which is a pain.
8472 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8473 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8475 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8484 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8487 hardcode_shlibpath_var
=no
8491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8492 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8493 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8500 if test "$ld_shlibs" = no
; then
8502 hardcode_libdir_flag_spec
=
8503 export_dynamic_flag_spec
=
8504 whole_archive_flag_spec
=
8507 # PORTME fill in a description of your system's linker (not GNU ld)
8510 allow_undefined_flag
=unsupported
8511 always_export_symbols
=yes
8512 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'
8513 # Note: this linker hardcodes the directories in LIBPATH if there
8514 # are no directories specified by -L.
8515 hardcode_minus_L
=yes
8516 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8517 # Neither direct hardcoding nor static linking is supported with a
8519 hardcode_direct
=unsupported
8524 if test "$host_cpu" = ia64
; then
8525 # On IA64, the linker does run time linking by default, so we don't
8526 # have to do anything special.
8527 aix_use_runtimelinking
=no
8528 exp_sym_flag
='-Bexport'
8531 # If we're using GNU nm, then we don't want the "-C" option.
8532 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8533 # Also, AIX nm treats weak defined symbols like other global
8534 # defined symbols, whereas GNU nm marks them as "W".
8535 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8536 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'
8538 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'
8540 aix_use_runtimelinking
=no
8542 # Test if we are trying to use run time linking or normal
8543 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8544 # need to do runtime linking.
8545 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8546 for ld_flag
in $LDFLAGS; do
8547 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8548 aix_use_runtimelinking
=yes
8555 exp_sym_flag
='-bexport'
8556 no_entry_flag
='-bnoentry'
8559 # When large executables or shared objects are built, AIX ld can
8560 # have problems creating the table of contents. If linking a library
8561 # or program results in "error TOC overflow" add -mminimal-toc to
8562 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8563 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8567 hardcode_direct_absolute
=yes
8568 hardcode_libdir_separator
=':'
8569 link_all_deplibs
=yes
8570 file_list_spec
='${wl}-f,'
8572 if test "$GCC" = yes; then
8573 case $host_os in aix4.
[012]|aix4.
[012].
*)
8574 # We only want to do this on AIX 4.2 and lower, the check
8575 # below for broken collect2 doesn't work under 4.3+
8576 collect2name
=`${CC} -print-prog-name=collect2`
8577 if test -f "$collect2name" &&
8578 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8580 # We have reworked collect2
8583 # We have old collect2
8584 hardcode_direct
=unsupported
8585 # It fails to find uninstalled libraries when the uninstalled
8586 # path is not listed in the libpath. Setting hardcode_minus_L
8587 # to unsupported forces relinking
8588 hardcode_minus_L
=yes
8589 hardcode_libdir_flag_spec
='-L$libdir'
8590 hardcode_libdir_separator
=
8594 shared_flag
='-shared'
8595 if test "$aix_use_runtimelinking" = yes; then
8596 shared_flag
="$shared_flag "'${wl}-G'
8600 if test "$host_cpu" = ia64
; then
8601 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8602 # chokes on -Wl,-G. The following line is correct:
8605 if test "$aix_use_runtimelinking" = yes; then
8606 shared_flag
='${wl}-G'
8608 shared_flag
='${wl}-bM:SRE'
8613 export_dynamic_flag_spec
='${wl}-bexpall'
8614 # It seems that -bexpall does not export symbols beginning with
8615 # underscore (_), so it is better to generate a list of symbols to export.
8616 always_export_symbols
=yes
8617 if test "$aix_use_runtimelinking" = yes; then
8618 # Warning - without using the other runtime loading flags (-brtl),
8619 # -berok will link without error, but may produce a broken library.
8620 allow_undefined_flag
='-berok'
8621 # Determine the default libpath from the value encoded in an
8623 if test x
$gcc_no_link = xyes
; then
8624 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8637 if ac_fn_c_try_link
"$LINENO"; then :
8639 lt_aix_libpath_sed
='
8640 /Import File Strings/,/^$/ {
8646 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8647 # Check for a 64-bit object if we didn't find anything.
8648 if test -z "$aix_libpath"; then
8649 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8652 rm -f core conftest.err conftest.
$ac_objext \
8653 conftest
$ac_exeext conftest.
$ac_ext
8654 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8656 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8657 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"
8659 if test "$host_cpu" = ia64
; then
8660 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8661 allow_undefined_flag
="-z nodefs"
8662 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"
8664 # Determine the default libpath from the value encoded in an
8666 if test x
$gcc_no_link = xyes
; then
8667 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8680 if ac_fn_c_try_link
"$LINENO"; then :
8682 lt_aix_libpath_sed
='
8683 /Import File Strings/,/^$/ {
8689 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8690 # Check for a 64-bit object if we didn't find anything.
8691 if test -z "$aix_libpath"; then
8692 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8695 rm -f core conftest.err conftest.
$ac_objext \
8696 conftest
$ac_exeext conftest.
$ac_ext
8697 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8699 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8700 # Warning - without using the other run time loading flags,
8701 # -berok will link without error, but may produce a broken library.
8702 no_undefined_flag
=' ${wl}-bernotok'
8703 allow_undefined_flag
=' ${wl}-berok'
8704 if test "$with_gnu_ld" = yes; then
8705 # We only use this code for GNU lds that support --whole-archive.
8706 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8708 # Exported symbols can be pulled into shared objects from archives
8709 whole_archive_flag_spec
='$convenience'
8711 archive_cmds_need_lc
=yes
8712 # This is similar to how AIX traditionally builds its shared libraries.
8713 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'
8721 # see comment about AmigaOS4 .so support
8722 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8723 archive_expsym_cmds
=''
8726 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)'
8727 hardcode_libdir_flag_spec
='-L$libdir'
8728 hardcode_minus_L
=yes
8734 export_dynamic_flag_spec
=-rdynamic
8737 cygwin
* | mingw
* | pw32
* | cegcc
*)
8738 # When not using gcc, we currently assume that we are using
8739 # Microsoft Visual C++.
8740 # hardcode_libdir_flag_spec is actually meaningless, as there is
8741 # no search path for DLLs.
8742 hardcode_libdir_flag_spec
=' '
8743 allow_undefined_flag
=unsupported
8744 # Tell ltmain to make .lib files, not .a files.
8746 # Tell ltmain to make .dll files, not .so files.
8748 # FIXME: Setting linknames here is a bad hack.
8749 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8750 # The linker will automatically build a .lib file if we build a DLL.
8751 old_archive_from_new_cmds
='true'
8752 # FIXME: Should let the user specify the lib program.
8753 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8754 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8755 enable_shared_with_static_runtimes
=yes
8758 darwin
* | rhapsody
*)
8761 archive_cmds_need_lc
=no
8763 hardcode_automatic
=yes
8764 hardcode_shlibpath_var
=unsupported
8765 if test "$lt_cv_ld_force_load" = "yes"; then
8766 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\"`'
8768 whole_archive_flag_spec
=''
8770 link_all_deplibs
=yes
8771 allow_undefined_flag
="$_lt_dar_allow_undefined"
8772 case $cc_basename in
8773 ifort
*) _lt_dar_can_shared
=yes ;;
8774 *) _lt_dar_can_shared
=$GCC ;;
8776 if test "$_lt_dar_can_shared" = "yes"; then
8777 output_verbose_link_cmd
=func_echo_all
8778 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8779 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8780 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}"
8781 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}"
8790 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8791 hardcode_libdir_flag_spec
='-L$libdir'
8792 hardcode_shlibpath_var
=no
8795 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8796 # support. Future versions do this automatically, but an explicit c++rt0.o
8797 # does not break anything, and helps significantly (at the cost of a little
8800 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8801 hardcode_libdir_flag_spec
='-R$libdir'
8803 hardcode_shlibpath_var
=no
8806 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8808 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8810 hardcode_minus_L
=yes
8811 hardcode_shlibpath_var
=no
8814 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8815 freebsd
* | dragonfly
*)
8816 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8817 hardcode_libdir_flag_spec
='-R$libdir'
8819 hardcode_shlibpath_var
=no
8823 if test "$GCC" = yes; then
8824 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'
8826 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'
8828 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8829 hardcode_libdir_separator
=:
8832 # hardcode_minus_L: Not really in the search PATH,
8833 # but as the default location of the library.
8834 hardcode_minus_L
=yes
8835 export_dynamic_flag_spec
='${wl}-E'
8839 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8840 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8842 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8844 if test "$with_gnu_ld" = no
; then
8845 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8846 hardcode_libdir_flag_spec_ld
='+b $libdir'
8847 hardcode_libdir_separator
=:
8849 hardcode_direct_absolute
=yes
8850 export_dynamic_flag_spec
='${wl}-E'
8851 # hardcode_minus_L: Not really in the search PATH,
8852 # but as the default location of the library.
8853 hardcode_minus_L
=yes
8858 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8861 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8867 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8873 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8876 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8880 # Older versions of the 11.00 compiler do not understand -b yet
8881 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8883 $as_echo_n "checking if $CC understands -b... " >&6; }
8884 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8885 $as_echo_n "(cached) " >&6
8887 lt_cv_prog_compiler__b
=no
8888 save_LDFLAGS
="$LDFLAGS"
8889 LDFLAGS
="$LDFLAGS -b"
8890 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8891 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8892 # The linker can only warn and ignore the option if not recognized
8893 # So say no if there are warnings
8894 if test -s conftest.err
; then
8895 # Append any errors to the config.log.
8896 cat conftest.err
1>&5
8897 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8898 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8899 if diff conftest.exp conftest.er2
>/dev
/null
; then
8900 lt_cv_prog_compiler__b
=yes
8903 lt_cv_prog_compiler__b
=yes
8907 LDFLAGS
="$save_LDFLAGS"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8911 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8913 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8914 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8916 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8922 if test "$with_gnu_ld" = no
; then
8923 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8924 hardcode_libdir_separator
=:
8929 hardcode_shlibpath_var
=no
8933 hardcode_direct_absolute
=yes
8934 export_dynamic_flag_spec
='${wl}-E'
8936 # hardcode_minus_L: Not really in the search PATH,
8937 # but as the default location of the library.
8938 hardcode_minus_L
=yes
8944 irix5
* | irix6
* | nonstopux
*)
8945 if test "$GCC" = yes; then
8946 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'
8947 # Try to use the -exported_symbol ld option, if it does not
8948 # work, assume that -exports_file does not work either and
8949 # implicitly export all symbols.
8950 save_LDFLAGS
="$LDFLAGS"
8951 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8952 if test x
$gcc_no_link = xyes
; then
8953 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8959 if ac_fn_c_try_link
"$LINENO"; then :
8960 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'
8963 rm -f core conftest.err conftest.
$ac_objext \
8964 conftest
$ac_exeext conftest.
$ac_ext
8965 LDFLAGS
="$save_LDFLAGS"
8967 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'
8968 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'
8970 archive_cmds_need_lc
='no'
8971 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8972 hardcode_libdir_separator
=:
8974 link_all_deplibs
=yes
8978 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8979 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8981 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8983 hardcode_libdir_flag_spec
='-R$libdir'
8985 hardcode_shlibpath_var
=no
8989 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8992 hardcode_libdir_separator
=:
8993 hardcode_shlibpath_var
=no
9000 if test -f /usr
/libexec
/ld.so
; then
9002 hardcode_shlibpath_var
=no
9003 hardcode_direct_absolute
=yes
9004 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9005 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9006 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9007 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9008 export_dynamic_flag_spec
='${wl}-E'
9011 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9012 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9013 hardcode_libdir_flag_spec
='-R$libdir'
9016 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9017 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9027 hardcode_libdir_flag_spec
='-L$libdir'
9028 hardcode_minus_L
=yes
9029 allow_undefined_flag
=unsupported
9030 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'
9031 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9035 if test "$GCC" = yes; then
9036 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9037 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'
9039 allow_undefined_flag
=' -expect_unresolved \*'
9040 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'
9042 archive_cmds_need_lc
='no'
9043 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9044 hardcode_libdir_separator
=:
9047 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9048 if test "$GCC" = yes; then
9049 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9050 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'
9051 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9053 allow_undefined_flag
=' -expect_unresolved \*'
9054 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'
9055 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~
9056 $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'
9058 # Both c and cxx compiler support -rpath directly
9059 hardcode_libdir_flag_spec
='-rpath $libdir'
9061 archive_cmds_need_lc
='no'
9062 hardcode_libdir_separator
=:
9066 no_undefined_flag
=' -z defs'
9067 if test "$GCC" = yes; then
9069 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9070 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9071 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9073 case `$CC -V 2>&1` in
9076 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9077 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9078 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9082 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9083 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9084 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9088 hardcode_libdir_flag_spec
='-R$libdir'
9089 hardcode_shlibpath_var
=no
9091 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9093 # The compiler driver will combine and reorder linker options,
9094 # but understands `-z linker_flag'. GCC discards it without `$wl',
9095 # but is careful enough not to reorder.
9096 # Supported since Solaris 2.6 (maybe 2.5.1?)
9097 if test "$GCC" = yes; then
9098 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9100 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9104 link_all_deplibs
=yes
9108 if test "x$host_vendor" = xsequent
; then
9109 # Use $CC to link under sequent, because it throws in some extra .o
9110 # files that make .init and .fini sections work.
9111 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9113 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9115 hardcode_libdir_flag_spec
='-L$libdir'
9117 hardcode_minus_L
=yes
9118 hardcode_shlibpath_var
=no
9122 case $host_vendor in
9124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9125 hardcode_direct
=yes # is this really true???
9128 ## LD is ld it makes a PLAMLIB
9129 ## CC just makes a GrossModule.
9130 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9131 reload_cmds
='$CC -r -o $output$reload_objs'
9135 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9136 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9139 runpath_var
='LD_RUN_PATH'
9140 hardcode_shlibpath_var
=no
9144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9145 hardcode_shlibpath_var
=no
9146 export_dynamic_flag_spec
='-Bexport'
9150 if test -d /usr
/nec
; then
9151 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9152 hardcode_shlibpath_var
=no
9153 runpath_var
=LD_RUN_PATH
9154 hardcode_runpath_var
=yes
9159 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9160 no_undefined_flag
='${wl}-z,text'
9161 archive_cmds_need_lc
=no
9162 hardcode_shlibpath_var
=no
9163 runpath_var
='LD_RUN_PATH'
9165 if test "$GCC" = yes; then
9166 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9167 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9170 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9174 sysv5
* | sco3.2v5
* | sco5v6
*)
9175 # Note: We can NOT use -z defs as we might desire, because we do not
9176 # link with -lc, and that would cause any symbols used from libc to
9177 # always be unresolved, which means just about no library would
9178 # ever link correctly. If we're not using GNU ld we use -z text
9179 # though, which does catch some bad symbols but isn't as heavy-handed
9181 no_undefined_flag
='${wl}-z,text'
9182 allow_undefined_flag
='${wl}-z,nodefs'
9183 archive_cmds_need_lc
=no
9184 hardcode_shlibpath_var
=no
9185 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9186 hardcode_libdir_separator
=':'
9187 link_all_deplibs
=yes
9188 export_dynamic_flag_spec
='${wl}-Bexport'
9189 runpath_var
='LD_RUN_PATH'
9191 if test "$GCC" = yes; then
9192 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9193 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9196 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9201 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9202 hardcode_libdir_flag_spec
='-L$libdir'
9203 hardcode_shlibpath_var
=no
9211 if test x
$host_vendor = xsni
; then
9213 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9214 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9221 $as_echo "$ld_shlibs" >&6; }
9222 test "$ld_shlibs" = no
&& can_build_shared
=no
9224 with_gnu_ld
=$with_gnu_ld
9241 # Do we need to explicitly link libc?
9243 case "x$archive_cmds_need_lc" in
9245 # Assume -lc should be added
9246 archive_cmds_need_lc
=yes
9248 if test "$enable_shared" = yes && test "$GCC" = yes; then
9249 case $archive_cmds in
9251 # FIXME: we may have to deal with multi-command sequences.
9254 # Test whether the compiler implicitly links with -lc since on some
9255 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9256 # to ld, don't add -lc before -lgcc.
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9258 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9259 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9260 $as_echo_n "(cached) " >&6
9263 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9266 (eval $ac_compile) 2>&5
9268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9269 test $ac_status = 0; } 2>conftest.err
; then
9272 libobjs
=conftest.
$ac_objext
9274 wl
=$lt_prog_compiler_wl
9275 pic_flag
=$lt_prog_compiler_pic
9281 lt_save_allow_undefined_flag
=$allow_undefined_flag
9282 allow_undefined_flag
=
9283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9284 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9287 test $ac_status = 0; }
9289 lt_cv_archive_cmds_need_lc
=no
9291 lt_cv_archive_cmds_need_lc
=yes
9293 allow_undefined_flag
=$lt_save_allow_undefined_flag
9295 cat conftest.err
1>&5
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9301 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9302 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9468 if test "$GCC" = yes; then
9470 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9471 *) lt_awk_arg
="/^libraries:/" ;;
9474 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9475 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9477 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9478 case $lt_search_path_spec in
9480 # if the path contains ";" then we assume it to be the separator
9481 # otherwise default to the standard path separator (i.e. ":") - it is
9482 # assumed that no part of a normal pathname contains ";" but that should
9483 # okay in the real world where ";" in dirpaths is itself problematic.
9484 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9487 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9490 # Ok, now we have the path, separated by spaces, we can step through it
9491 # and add multilib dir if necessary.
9492 lt_tmp_lt_search_path_spec
=
9493 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9494 for lt_sys_path
in $lt_search_path_spec; do
9495 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9496 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9498 test -d "$lt_sys_path" && \
9499 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9502 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9503 BEGIN {RS=" "; FS="/|\n";} {
9506 for (lt_i = NF; lt_i > 0; lt_i--) {
9507 if ($lt_i != "" && $lt_i != ".") {
9508 if ($lt_i == "..") {
9511 if (lt_count == 0) {
9512 lt_foo="/" $lt_i lt_foo;
9519 if (lt_foo != "") { lt_freq[lt_foo]++; }
9520 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9522 # AWK program above erroneously prepends '/' to C:/dos/paths
9525 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9526 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9528 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9530 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9533 libname_spec
='lib$name'
9541 shlibpath_overrides_runpath
=unknown
9543 dynamic_linker
="$host_os ld.so"
9544 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9545 need_lib_prefix
=unknown
9546 hardcode_into_libs
=no
9548 # when you set need_version to no, make sure it does not cause -set_version
9549 # flags to be left without arguments
9550 need_version
=unknown
9555 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9556 shlibpath_var
=LIBPATH
9558 # AIX 3 has no versioning support, so we append a major version to the name.
9559 soname_spec
='${libname}${release}${shared_ext}$major'
9566 hardcode_into_libs
=yes
9567 if test "$host_cpu" = ia64
; then
9568 # AIX 5 supports IA64
9569 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9570 shlibpath_var
=LD_LIBRARY_PATH
9572 # With GCC up to 2.95.x, collect2 would create an import file
9573 # for dependence libraries. The import file would start with
9574 # the line `#! .'. This would cause the generated library to
9575 # depend on `.', always an invalid library. This was fixed in
9576 # development snapshots of GCC prior to 3.0.
9578 aix4 | aix4.
[01] | aix4.
[01].
*)
9579 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9581 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9588 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9589 # soname into executable. Probably we can add versioning support to
9590 # collect2, so additional links can be useful in future.
9591 if test "$aix_use_runtimelinking" = yes; then
9592 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9593 # instead of lib<name>.a to let people know that these are not
9594 # typical AIX shared libraries.
9595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 # We preserve .a as extension for shared libraries through AIX4.2
9598 # and later when we are not doing run time linking.
9599 library_names_spec
='${libname}${release}.a $libname.a'
9600 soname_spec
='${libname}${release}${shared_ext}$major'
9602 shlibpath_var
=LIBPATH
9609 # Since July 2007 AmigaOS4 officially supports .so libraries.
9610 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9614 library_names_spec
='$libname.ixlibrary $libname.a'
9615 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9616 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'
9622 library_names_spec
='${libname}${shared_ext}'
9623 dynamic_linker
="$host_os ld.so"
9624 shlibpath_var
=LIBRARY_PATH
9630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9631 soname_spec
='${libname}${release}${shared_ext}$major'
9632 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9633 shlibpath_var
=LD_LIBRARY_PATH
9634 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9635 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9636 # the default ld.so.conf also contains /usr/contrib/lib and
9637 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9638 # libtool to hard-code these into programs
9641 cygwin
* | mingw
* | pw32
* | cegcc
*)
9642 version_type
=windows
9647 case $GCC,$host_os in
9648 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9649 library_names_spec
='$libname.dll.a'
9650 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9651 postinstall_cmds
='base_file=`basename \${file}`~
9652 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9653 dldir=$destdir/`dirname \$dlpath`~
9654 test -d \$dldir || mkdir -p \$dldir~
9655 $install_prog $dir/$dlname \$dldir/$dlname~
9656 chmod a+x \$dldir/$dlname~
9657 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9658 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9660 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9661 dlpath=$dir/\$dldll~
9663 shlibpath_overrides_runpath
=yes
9667 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9668 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9670 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9673 # MinGW DLLs use traditional 'lib' prefix
9674 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9677 # pw32 DLLs use 'pw' prefix rather than 'lib'
9678 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9684 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9687 dynamic_linker
='Win32 ld.exe'
9688 # FIXME: first we should search . and the directory the executable is in
9692 darwin
* | rhapsody
*)
9693 dynamic_linker
="$host_os dyld"
9697 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9698 soname_spec
='${libname}${release}${major}$shared_ext'
9699 shlibpath_overrides_runpath
=yes
9700 shlibpath_var
=DYLD_LIBRARY_PATH
9701 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9703 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9704 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9712 soname_spec
='${libname}${release}${shared_ext}$major'
9713 shlibpath_var
=LD_LIBRARY_PATH
9716 freebsd
* | dragonfly
*)
9717 # DragonFly does not have aout. When/if they implement a new
9718 # versioning mechanism, adjust this.
9719 if test -x /usr
/bin
/objformat
; then
9720 objformat
=`/usr/bin/objformat`
9723 freebsd
[23].
*) objformat
=aout
;;
9727 version_type
=freebsd-
$objformat
9728 case $version_type in
9730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9739 shlibpath_var
=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath
=yes
9744 freebsd3.
[01]* | freebsdelf3.
[01]*)
9745 shlibpath_overrides_runpath
=yes
9746 hardcode_into_libs
=yes
9748 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9749 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9750 shlibpath_overrides_runpath
=no
9751 hardcode_into_libs
=yes
9753 *) # from 4.6 on, and DragonFly
9754 shlibpath_overrides_runpath
=yes
9755 hardcode_into_libs
=yes
9764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9766 shlibpath_var
=LD_LIBRARY_PATH
9767 hardcode_into_libs
=yes
9774 dynamic_linker
="$host_os runtime_loader"
9775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9776 soname_spec
='${libname}${release}${shared_ext}$major'
9777 shlibpath_var
=LIBRARY_PATH
9778 shlibpath_overrides_runpath
=yes
9779 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9780 hardcode_into_libs
=yes
9783 hpux9
* | hpux10
* | hpux11
*)
9784 # Give a soname corresponding to the major version so that dld.sl refuses to
9785 # link against other versions.
9792 hardcode_into_libs
=yes
9793 dynamic_linker
="$host_os dld.so"
9794 shlibpath_var
=LD_LIBRARY_PATH
9795 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9797 soname_spec
='${libname}${release}${shared_ext}$major'
9798 if test "X$HPUX_IA64_MODE" = X32
; then
9799 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9801 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9803 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9807 hardcode_into_libs
=yes
9808 dynamic_linker
="$host_os dld.sl"
9809 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9810 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9813 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9814 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9818 dynamic_linker
="$host_os dld.sl"
9819 shlibpath_var
=SHLIB_PATH
9820 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 soname_spec
='${libname}${release}${shared_ext}$major'
9825 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9826 postinstall_cmds
='chmod 555 $lib'
9827 # or fails outright, so override atomically:
9828 install_override_mode
=555
9835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9836 soname_spec
='${libname}${release}${shared_ext}$major'
9837 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9838 shlibpath_var
=LD_LIBRARY_PATH
9839 shlibpath_overrides_runpath
=no
9840 hardcode_into_libs
=yes
9843 irix5
* | irix6
* | nonstopux
*)
9845 nonstopux
*) version_type
=nonstopux
;;
9847 if test "$lt_cv_prog_gnu_ld" = yes; then
9855 soname_spec
='${libname}${release}${shared_ext}$major'
9856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9858 irix5
* | nonstopux
*)
9862 case $LD in # libtool.m4 will add one of these switches to LD
9863 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9864 libsuff
= shlibsuff
= libmagic
=32-bit;;
9865 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9866 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9867 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9868 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9869 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9873 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9874 shlibpath_overrides_runpath
=no
9875 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9876 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9877 hardcode_into_libs
=yes
9880 # No shared lib support for Linux oldld, aout, or coff.
9881 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9885 # This must be Linux ELF.
9886 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9891 soname_spec
='${libname}${release}${shared_ext}$major'
9892 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9893 shlibpath_var
=LD_LIBRARY_PATH
9894 shlibpath_overrides_runpath
=no
9896 # Some binutils ld are patched to set DT_RUNPATH
9897 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9898 $as_echo_n "(cached) " >&6
9900 lt_cv_shlibpath_overrides_runpath
=no
9901 save_LDFLAGS
=$LDFLAGS
9903 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9904 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9905 if test x
$gcc_no_link = xyes
; then
9906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9919 if ac_fn_c_try_link
"$LINENO"; then :
9920 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9921 lt_cv_shlibpath_overrides_runpath
=yes
9924 rm -f core conftest.err conftest.
$ac_objext \
9925 conftest
$ac_exeext conftest.
$ac_ext
9926 LDFLAGS
=$save_LDFLAGS
9931 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9933 # This implies no fast_install, which is unacceptable.
9934 # Some rework will be needed to allow for fast_install
9935 # before this can be enabled.
9936 hardcode_into_libs
=yes
9938 # Append ld.so.conf contents to the search path
9939 if test -f /etc
/ld.so.conf
; then
9940 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' ' '`
9941 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9944 # We used to test for /lib/ld.so.1 and disable shared libraries on
9945 # powerpc, because MkLinux only supported shared libraries with the
9946 # GNU dynamic linker. Since this was broken with cross compilers,
9947 # most powerpc-linux boxes support dynamic linking these days and
9948 # people can always --disable-shared, the test was removed, and we
9949 # assume the GNU/Linux dynamic linker is in use.
9950 dynamic_linker
='GNU/Linux ld.so'
9957 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9959 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9960 dynamic_linker
='NetBSD (a.out) ld.so'
9962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9963 soname_spec
='${libname}${release}${shared_ext}$major'
9964 dynamic_linker
='NetBSD ld.elf_so'
9966 shlibpath_var
=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath
=yes
9968 hardcode_into_libs
=yes
9973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 shlibpath_var
=LD_LIBRARY_PATH
9975 shlibpath_overrides_runpath
=yes
9982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983 soname_spec
='${libname}${release}${shared_ext}$major'
9984 shlibpath_var
=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath
=no
9986 hardcode_into_libs
=yes
9987 dynamic_linker
='ldqnx.so'
9992 sys_lib_dlsearch_path_spec
="/usr/lib"
9994 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9996 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9997 *) need_version
=no
;;
9999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10001 shlibpath_var
=LD_LIBRARY_PATH
10002 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10004 openbsd2.
[89] | openbsd2.
[89].
*)
10005 shlibpath_overrides_runpath
=no
10008 shlibpath_overrides_runpath
=yes
10012 shlibpath_overrides_runpath
=yes
10017 libname_spec
='$name'
10020 library_names_spec
='$libname${shared_ext} $libname.a'
10021 dynamic_linker
='OS/2 ld.exe'
10022 shlibpath_var
=LIBPATH
10025 osf3
* | osf4
* | osf5
*)
10029 soname_spec
='${libname}${release}${shared_ext}$major'
10030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10031 shlibpath_var
=LD_LIBRARY_PATH
10032 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10033 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10045 soname_spec
='${libname}${release}${shared_ext}$major'
10046 shlibpath_var
=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath
=yes
10048 hardcode_into_libs
=yes
10049 # ldd complains unless libraries are executable
10050 postinstall_cmds
='chmod +x $lib'
10055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10056 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10057 shlibpath_var
=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath
=yes
10059 if test "$with_gnu_ld" = yes; then
10067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10068 soname_spec
='${libname}${release}${shared_ext}$major'
10069 shlibpath_var
=LD_LIBRARY_PATH
10070 case $host_vendor in
10072 shlibpath_overrides_runpath
=no
10074 runpath_var
=LD_RUN_PATH
10082 shlibpath_overrides_runpath
=no
10083 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10089 if test -d /usr
/nec
;then
10091 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10092 soname_spec
='$libname${shared_ext}.$major'
10093 shlibpath_var
=LD_LIBRARY_PATH
10097 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10098 version_type
=freebsd-elf
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10102 soname_spec
='${libname}${release}${shared_ext}$major'
10103 shlibpath_var
=LD_LIBRARY_PATH
10104 shlibpath_overrides_runpath
=yes
10105 hardcode_into_libs
=yes
10106 if test "$with_gnu_ld" = yes; then
10107 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10109 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10112 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10116 sys_lib_dlsearch_path_spec
='/usr/lib'
10120 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 shlibpath_var
=LD_LIBRARY_PATH
10126 shlibpath_overrides_runpath
=no
10127 hardcode_into_libs
=yes
10132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10133 soname_spec
='${libname}${release}${shared_ext}$major'
10134 shlibpath_var
=LD_LIBRARY_PATH
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10142 $as_echo "$dynamic_linker" >&6; }
10143 test "$dynamic_linker" = no
&& can_build_shared
=no
10145 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10146 if test "$GCC" = yes; then
10147 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10150 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10151 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10153 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10154 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10249 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10251 if test -n "$hardcode_libdir_flag_spec" ||
10252 test -n "$runpath_var" ||
10253 test "X$hardcode_automatic" = "Xyes" ; then
10255 # We can hardcode non-existent directories.
10256 if test "$hardcode_direct" != no
&&
10257 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10258 # have to relink, otherwise we might link with an installed library
10259 # when we should be linking with a yet-to-be-installed one
10260 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10261 test "$hardcode_minus_L" != no
; then
10262 # Linking always hardcodes the temporary library directory.
10263 hardcode_action
=relink
10265 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10266 hardcode_action
=immediate
10269 # We cannot hardcode anything, or else we can only hardcode existing
10271 hardcode_action
=unsupported
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10274 $as_echo "$hardcode_action" >&6; }
10276 if test "$hardcode_action" = relink ||
10277 test "$inherit_rpath" = yes; then
10278 # Fast installation is not supported
10279 enable_fast_install
=no
10280 elif test "$shlibpath_overrides_runpath" = yes ||
10281 test "$enable_shared" = no
; then
10282 # Fast installation is not necessary
10283 enable_fast_install
=needless
10291 if test "x$enable_dlopen" != xyes
; then
10292 enable_dlopen
=unknown
10293 enable_dlopen_self
=unknown
10294 enable_dlopen_self_static
=unknown
10301 lt_cv_dlopen
="load_add_on"
10303 lt_cv_dlopen_self
=yes
10306 mingw
* | pw32
* | cegcc
*)
10307 lt_cv_dlopen
="LoadLibrary"
10312 lt_cv_dlopen
="dlopen"
10317 # if libdl is installed we need to link against it
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10321 $as_echo_n "(cached) " >&6
10323 ac_check_lib_save_LIBS
=$LIBS
10325 if test x
$gcc_no_link = xyes
; then
10326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10346 if ac_fn_c_try_link
"$LINENO"; then :
10347 ac_cv_lib_dl_dlopen
=yes
10349 ac_cv_lib_dl_dlopen
=no
10351 rm -f core conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LIBS
=$ac_check_lib_save_LIBS
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10357 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10358 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10361 lt_cv_dlopen
="dyld"
10363 lt_cv_dlopen_self
=yes
10370 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10371 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10372 lt_cv_dlopen
="shl_load"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10375 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10376 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10377 $as_echo_n "(cached) " >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10381 if test x
$gcc_no_link = xyes
; then
10382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10397 return shl_load ();
10402 if ac_fn_c_try_link
"$LINENO"; then :
10403 ac_cv_lib_dld_shl_load
=yes
10405 ac_cv_lib_dld_shl_load
=no
10407 rm -f core conftest.err conftest.
$ac_objext \
10408 conftest
$ac_exeext conftest.
$ac_ext
10409 LIBS
=$ac_check_lib_save_LIBS
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10412 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10413 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10414 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10416 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10417 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10418 lt_cv_dlopen
="dlopen"
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10422 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10423 $as_echo_n "(cached) " >&6
10425 ac_check_lib_save_LIBS
=$LIBS
10427 if test x
$gcc_no_link = xyes
; then
10428 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10433 /* Override any GCC internal prototype to avoid an error.
10434 Use char because int might match the return type of a GCC
10435 builtin and then its argument prototype would still apply. */
10448 if ac_fn_c_try_link
"$LINENO"; then :
10449 ac_cv_lib_dl_dlopen
=yes
10451 ac_cv_lib_dl_dlopen
=no
10453 rm -f core conftest.err conftest.
$ac_objext \
10454 conftest
$ac_exeext conftest.
$ac_ext
10455 LIBS
=$ac_check_lib_save_LIBS
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10458 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10459 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10460 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10463 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10464 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10465 $as_echo_n "(cached) " >&6
10467 ac_check_lib_save_LIBS
=$LIBS
10468 LIBS
="-lsvld $LIBS"
10469 if test x
$gcc_no_link = xyes
; then
10470 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10490 if ac_fn_c_try_link
"$LINENO"; then :
10491 ac_cv_lib_svld_dlopen
=yes
10493 ac_cv_lib_svld_dlopen
=no
10495 rm -f core conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10497 LIBS
=$ac_check_lib_save_LIBS
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10500 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10501 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10502 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10505 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10506 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10507 $as_echo_n "(cached) " >&6
10509 ac_check_lib_save_LIBS
=$LIBS
10511 if test x
$gcc_no_link = xyes
; then
10512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10527 return dld_link ();
10532 if ac_fn_c_try_link
"$LINENO"; then :
10533 ac_cv_lib_dld_dld_link
=yes
10535 ac_cv_lib_dld_dld_link
=no
10537 rm -f core conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10542 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10543 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10544 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10565 if test "x$lt_cv_dlopen" != xno
; then
10571 case $lt_cv_dlopen in
10573 save_CPPFLAGS
="$CPPFLAGS"
10574 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10576 save_LDFLAGS
="$LDFLAGS"
10577 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10580 LIBS
="$lt_cv_dlopen_libs $LIBS"
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10583 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10584 if test "${lt_cv_dlopen_self+set}" = set; then :
10585 $as_echo_n "(cached) " >&6
10587 if test "$cross_compiling" = yes; then :
10588 lt_cv_dlopen_self
=cross
10590 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10591 lt_status
=$lt_dlunknown
10592 cat > conftest.
$ac_ext <<_LT_EOF
10593 #line 10593 "configure"
10594 #include "confdefs.h"
10603 # define LT_DLGLOBAL RTLD_GLOBAL
10606 # define LT_DLGLOBAL DL_GLOBAL
10608 # define LT_DLGLOBAL 0
10612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10613 find out it does not work in some platform. */
10614 #ifndef LT_DLLAZY_OR_NOW
10616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10619 # define LT_DLLAZY_OR_NOW DL_LAZY
10622 # define LT_DLLAZY_OR_NOW RTLD_NOW
10625 # define LT_DLLAZY_OR_NOW DL_NOW
10627 # define LT_DLLAZY_OR_NOW 0
10634 /* When -fvisbility=hidden is used, assume the code has been annotated
10635 correspondingly for the symbols needed. */
10636 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10637 void fnord () __attribute__((visibility("default")));
10640 void fnord () { int i=42; }
10643 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10644 int status = $lt_dlunknown;
10648 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10651 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10652 else puts (dlerror ());
10654 /* dlclose (self); */
10662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10663 (eval $ac_link) 2>&5
10665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10666 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10667 (.
/conftest
; exit; ) >&5 2>/dev
/null
10669 case x
$lt_status in
10670 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10671 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10672 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10675 # compilation failed
10676 lt_cv_dlopen_self
=no
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10684 $as_echo "$lt_cv_dlopen_self" >&6; }
10686 if test "x$lt_cv_dlopen_self" = xyes
; then
10687 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10689 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10690 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10691 $as_echo_n "(cached) " >&6
10693 if test "$cross_compiling" = yes; then :
10694 lt_cv_dlopen_self_static
=cross
10696 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10697 lt_status
=$lt_dlunknown
10698 cat > conftest.
$ac_ext <<_LT_EOF
10699 #line 10699 "configure"
10700 #include "confdefs.h"
10709 # define LT_DLGLOBAL RTLD_GLOBAL
10712 # define LT_DLGLOBAL DL_GLOBAL
10714 # define LT_DLGLOBAL 0
10718 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10719 find out it does not work in some platform. */
10720 #ifndef LT_DLLAZY_OR_NOW
10722 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10725 # define LT_DLLAZY_OR_NOW DL_LAZY
10728 # define LT_DLLAZY_OR_NOW RTLD_NOW
10731 # define LT_DLLAZY_OR_NOW DL_NOW
10733 # define LT_DLLAZY_OR_NOW 0
10740 /* When -fvisbility=hidden is used, assume the code has been annotated
10741 correspondingly for the symbols needed. */
10742 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10743 void fnord () __attribute__((visibility("default")));
10746 void fnord () { int i=42; }
10749 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10750 int status = $lt_dlunknown;
10754 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10757 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10758 else puts (dlerror ());
10760 /* dlclose (self); */
10768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10769 (eval $ac_link) 2>&5
10771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10772 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10773 (.
/conftest
; exit; ) >&5 2>/dev
/null
10775 case x
$lt_status in
10776 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10777 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10778 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10781 # compilation failed
10782 lt_cv_dlopen_self_static
=no
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10790 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10793 CPPFLAGS
="$save_CPPFLAGS"
10794 LDFLAGS
="$save_LDFLAGS"
10799 case $lt_cv_dlopen_self in
10800 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10801 *) enable_dlopen_self
=unknown
;;
10804 case $lt_cv_dlopen_self_static in
10805 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10806 *) enable_dlopen_self_static
=unknown
;;
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10829 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10830 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10831 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10832 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10834 $as_echo "yes" >&6; }
10836 # FIXME - insert some real tests, host_os isn't really good enough
10839 if test -n "$STRIP" ; then
10840 striplib
="$STRIP -x"
10841 old_striplib
="$STRIP -S"
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10843 $as_echo "yes" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10846 $as_echo "no" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10851 $as_echo "no" >&6; }
10867 # Report which library types will actually be built
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10869 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10871 $as_echo "$can_build_shared" >&6; }
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10874 $as_echo_n "checking whether to build shared libraries... " >&6; }
10875 test "$can_build_shared" = "no" && enable_shared
=no
10877 # On AIX, shared libraries and static libraries use the same namespace, and
10878 # are all built from PIC.
10881 test "$enable_shared" = yes && enable_static
=no
10882 if test -n "$RANLIB"; then
10883 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10884 postinstall_cmds
='$RANLIB $lib'
10889 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10890 test "$enable_shared" = yes && enable_static
=no
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10895 $as_echo "$enable_shared" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10898 $as_echo_n "checking whether to build static libraries... " >&6; }
10899 # Make sure either enable_shared or enable_static is yes.
10900 test "$enable_shared" = yes || enable_static
=yes
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10902 $as_echo "$enable_static" >&6; }
10909 ac_cpp
='$CPP $CPPFLAGS'
10910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10928 ac_config_commands
="$ac_config_commands libtool"
10933 # Only expand once:
10937 if test "x$CC" != xcc
; then
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
10939 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
10942 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
10944 set dummy
$CC; ac_cc
=`$as_echo "$2" |
10945 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10946 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
10947 $as_echo_n "(cached) " >&6
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10960 # Make sure it works both with $CC and with simple cc.
10961 # We do the test twice because some compilers refuse to overwrite an
10962 # existing .o file with -o, though they will create one.
10963 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10965 if { { case "(($ac_try" in
10966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10967 *) ac_try_echo=$ac_try;;
10969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10970 $as_echo "$ac_try_echo"; } >&5
10971 (eval "$ac_try") 2>&5
10973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10974 test $ac_status = 0; } &&
10975 test -f conftest2.$ac_objext && { { case "(($ac_try" in
10976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10977 *) ac_try_echo
=$ac_try;;
10979 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10980 $as_echo "$ac_try_echo"; } >&5
10981 (eval "$ac_try") 2>&5
10983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10984 test $ac_status = 0; };
10986 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
10987 if test "x$CC" != xcc
; then
10988 # Test first that cc exists at all.
10989 if { ac_try
='cc -c conftest.$ac_ext >&5'
10990 { { case "(($ac_try" in
10991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10992 *) ac_try_echo=$ac_try;;
10994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10995 $as_echo "$ac_try_echo"; } >&5
10996 (eval "$ac_try") 2>&5
10998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10999 test $ac_status = 0; }; }; then
11000 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11002 if { { case "(($ac_try" in
11003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11004 *) ac_try_echo
=$ac_try;;
11006 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11007 $as_echo "$ac_try_echo"; } >&5
11008 (eval "$ac_try") 2>&5
11010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11011 test $ac_status = 0; } &&
11012 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11014 *) ac_try_echo=$ac_try;;
11016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11017 $as_echo "$ac_try_echo"; } >&5
11018 (eval "$ac_try") 2>&5
11020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11021 test $ac_status = 0; };
11026 # cc exists but doesn't like -o.
11027 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11032 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11034 rm -f core conftest*
11037 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11039 $as_echo "yes" >&6; }
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11042 $as_echo "no" >&6; }
11044 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11048 # expand $ac_aux_dir to an absolute path
11049 am_aux_dir=`cd $ac_aux_dir && pwd`
11051 # FIXME: we rely on the cache variable name because
11052 # there is no other way.
11054 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11055 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11056 if test "$am_t" != yes; then
11057 # Losing compiler, so override with the script.
11058 # FIXME: It is wrong to rewrite CC.
11059 # But if we don't then we get into trouble of one sort or another.
11060 # A longer-term fix would be to have automake use am__CC in this case,
11061 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11062 CC="$am_aux_dir/compile $CC"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11070 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11071 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
11072 $as_echo_n "(cached) " >&6
11074 cat >conftest.make <<\_ACEOF
11077 @echo '@@@%%%=$(MAKE)=@@@%%%'
11079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11080 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
11081 *@@@%%%=?*=@@@%%%*)
11082 eval ac_cv_prog_make_${ac_make}_set=yes;;
11084 eval ac_cv_prog_make_${ac_make}_set=no;;
11086 rm -f conftest.make
11088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11090 $as_echo "yes" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11094 $as_echo "no" >&6; }
11095 SET_MAKE="MAKE=${MAKE-make}"
11103 # Sanity check for the cross-compilation case:
11104 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
11105 if test "x$ac_cv_header_stdio_h" = x""yes; then :
11108 as_fn_error "Can't find stdio.h.
11109 You must have a usable C system for the target already installed, at least
11110 including headers and, preferably, the library, before you can configure
11111 the Objective C runtime system. If necessary, install gcc now with
11112 \`LANGUAGES
=c
', then the target library, then build with \`LANGUAGES=objc'.
" "$LINENO" 5
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
11118 $as_echo_n "checking
for ANSI C header files...
" >&6; }
11119 if test "${ac_cv_header_stdc+set}" = set; then :
11120 $as_echo_n "(cached
) " >&6
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 #include <stdlib.h>
11125 #include <stdarg.h>
11126 #include <string.h>
11137 if ac_fn_c_try_compile "$LINENO"; then :
11138 ac_cv_header_stdc=yes
11140 ac_cv_header_stdc=no
11142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11144 if test $ac_cv_header_stdc = yes; then
11145 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 #include <string.h>
11151 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11152 $EGREP "memchr
" >/dev/null 2>&1; then :
11155 ac_cv_header_stdc=no
11161 if test $ac_cv_header_stdc = yes; then
11162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 #include <stdlib.h>
11168 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
11169 $EGREP "free
" >/dev/null 2>&1; then :
11172 ac_cv_header_stdc=no
11178 if test $ac_cv_header_stdc = yes; then
11179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11180 if test "$cross_compiling" = yes; then :
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 #include <stdlib.h>
11187 #if ((' ' & 0x0FF) == 0x020)
11188 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11189 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11191 # define ISLOWER(c) \
11192 (('a' <= (c) && (c) <= 'i') \
11193 || ('j' <= (c) && (c) <= 'r') \
11194 || ('s' <= (c) && (c) <= 'z'))
11195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11203 for (i = 0; i < 256; i++)
11204 if (XOR (islower (i), ISLOWER (i))
11205 || toupper (i) != TOUPPER (i))
11210 if ac_fn_c_try_run "$LINENO"; then :
11213 ac_cv_header_stdc=no
11215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11216 conftest.$ac_objext conftest.beam conftest.$ac_ext
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
11222 $as_echo "$ac_cv_header_stdc" >&6; }
11223 if test $ac_cv_header_stdc = yes; then
11225 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11230 for ac_header
in sched.h
11232 ac_fn_c_check_header_mongrel
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
11233 if test "x$ac_cv_header_sched_h" = x
""yes; then :
11234 cat >>confdefs.h
<<_ACEOF
11235 #define HAVE_SCHED_H 1
11247 # Check if we have thread-local storage
11250 # Check whether --enable-tls was given.
11251 if test "${enable_tls+set}" = set; then :
11252 enableval
=$enable_tls;
11253 case "$enableval" in
11255 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
11264 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
11265 if test "${gcc_cv_have_tls+set}" = set; then :
11266 $as_echo_n "(cached) " >&6
11269 if test "$cross_compiling" = yes; then :
11270 if test x
$gcc_no_link = xyes
; then
11271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 __thread int a; int b; int main() { return a = b; }
11277 if ac_fn_c_try_link
"$LINENO"; then :
11278 chktls_save_LDFLAGS
="$LDFLAGS"
11281 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
11284 chktls_save_CFLAGS
="$CFLAGS"
11285 CFLAGS
="-fPIC $CFLAGS"
11286 if test x
$gcc_no_link = xyes
; then
11287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11291 int f() { return 0; }
11293 if ac_fn_c_try_link
"$LINENO"; then :
11294 if test x
$gcc_no_link = xyes
; then
11295 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 __thread int a; int b; int f() { return a = b; }
11301 if ac_fn_c_try_link
"$LINENO"; then :
11302 gcc_cv_have_tls
=yes
11306 rm -f core conftest.err conftest.
$ac_objext \
11307 conftest
$ac_exeext conftest.
$ac_ext
11309 gcc_cv_have_tls
=yes
11311 rm -f core conftest.err conftest.
$ac_objext \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 CFLAGS
="$chktls_save_CFLAGS"
11314 LDFLAGS
="$chktls_save_LDFLAGS"
11318 rm -f core conftest.err conftest.
$ac_objext \
11319 conftest
$ac_exeext conftest.
$ac_ext
11323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11325 __thread int a; int b; int main() { return a = b; }
11327 if ac_fn_c_try_run
"$LINENO"; then :
11328 chktls_save_LDFLAGS
="$LDFLAGS"
11329 LDFLAGS
="-static $LDFLAGS"
11330 if test x
$gcc_no_link = xyes
; then
11331 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 int main() { return 0; }
11337 if ac_fn_c_try_link
"$LINENO"; then :
11338 if test "$cross_compiling" = yes; then :
11339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11341 as_fn_error
"cannot run test program while cross compiling
11342 See \`config.log' for more details." "$LINENO" 5; }
11344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 __thread int a; int b; int main() { return a = b; }
11348 if ac_fn_c_try_run
"$LINENO"; then :
11349 gcc_cv_have_tls
=yes
11353 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11354 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11358 gcc_cv_have_tls
=yes
11360 rm -f core conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 LDFLAGS
="$chktls_save_LDFLAGS"
11363 if test $gcc_cv_have_tls = yes; then
11364 chktls_save_CFLAGS
="$CFLAGS"
11365 thread_CFLAGS
=failed
11366 for flag
in '' '-pthread' '-lpthread'; do
11367 CFLAGS
="$flag $chktls_save_CFLAGS"
11368 if test x
$gcc_no_link = xyes
; then
11369 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 #include <pthread.h>
11374 void *g(void *d) { return NULL; }
11378 pthread_t t; pthread_create(&t,NULL,g,NULL);
11383 if ac_fn_c_try_link
"$LINENO"; then :
11384 thread_CFLAGS
="$flag"
11386 rm -f core conftest.err conftest.
$ac_objext \
11387 conftest
$ac_exeext conftest.
$ac_ext
11388 if test "X$thread_CFLAGS" != Xfailed
; then
11392 CFLAGS
="$chktls_save_CFLAGS"
11393 if test "X$thread_CFLAGS" != Xfailed
; then
11394 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
11395 if test "$cross_compiling" = yes; then :
11396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11398 as_fn_error
"cannot run test program while cross compiling
11399 See \`config.log' for more details." "$LINENO" 5; }
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 #include <pthread.h>
11405 static int *volatile a_in_other_thread;
11407 thread_func (void *arg)
11409 a_in_other_thread = &a;
11416 void *thread_retval;
11417 int *volatile a_in_main_thread;
11418 a_in_main_thread = &a;
11419 if (pthread_create (&thread, (pthread_attr_t *)0,
11420 thread_func, (void *)0))
11422 if (pthread_join (thread, &thread_retval))
11424 return (a_in_other_thread == a_in_main_thread);
11429 if ac_fn_c_try_run
"$LINENO"; then :
11430 gcc_cv_have_tls
=yes
11434 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11435 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11438 CFLAGS
="$chktls_save_CFLAGS"
11444 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11445 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
11450 $as_echo "$gcc_cv_have_tls" >&6; }
11451 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
11453 $as_echo "#define HAVE_TLS 1" >>confdefs.h
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the type of bitfields matters" >&5
11459 $as_echo_n "checking if the type of bitfields matters... " >&6; }
11460 if test "${gt_cv_bitfield_type_matters+set}" = set; then :
11461 $as_echo_n "(cached) " >&6
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 struct foo1 { char x; char y:1; char z; };
11467 struct foo2 { char x; long long int y:1; char z; };
11468 int foo1test[ sizeof (struct foo1) < sizeof (struct foo2) ? 1 : -1 ];
11477 if ac_fn_c_try_compile
"$LINENO"; then :
11478 gt_cv_bitfield_type_matters
=yes
11480 gt_cv_bitfield_type_matters
=no
11482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_bitfield_type_matters" >&5
11486 $as_echo "$gt_cv_bitfield_type_matters" >&6; }
11487 if test $gt_cv_bitfield_type_matters = yes; then
11489 $as_echo "#define HAVE_BITFIELD_TYPE_MATTERS 1" >>confdefs.h
11498 # Check whether --enable-objc-gc was given.
11499 if test "${enable_objc_gc+set}" = set; then :
11500 enableval
=$enable_objc_gc;
11506 # Check whether --with-target-bdw-gc was given.
11507 if test "${with_target_bdw_gc+set}" = set; then :
11508 withval
=$with_target_bdw_gc;
11512 # Check whether --with-target-bdw-gc-include was given.
11513 if test "${with_target_bdw_gc_include+set}" = set; then :
11514 withval
=$with_target_bdw_gc_include;
11518 # Check whether --with-target-bdw-gc-lib was given.
11519 if test "${with_target_bdw_gc_lib+set}" = set; then :
11520 withval
=$with_target_bdw_gc_lib;
11524 case "$enable_objc_gc" in
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
11530 $as_echo_n "checking for bdw garbage collector... " >&6; }
11531 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
11535 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
11536 as_fn_error
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
11537 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
11538 as_fn_error
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
11541 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
11543 mldir
=`${CC-gcc} --print-multi-directory 2>/dev/null`
11545 if test "x$with_target_bdw_gc" != x
; then
11546 for i
in `echo $with_target_bdw_gc | tr ',' ' '`; do
11548 *=*) sd
=${i%%=*}; d
=${i#*=} ;;
11551 if test "$mldir" = "$sd"; then
11555 if test "x$bdw_val" = x
; then
11556 as_fn_error
"no multilib path ($mldir) found in --with-target-bdw-gc" "$LINENO" 5
11558 bdw_inc_dir
="$bdw_val/include"
11559 bdw_lib_dir
="$bdw_val/lib"
11562 if test "x$with_target_bdw_gc_include" != x
; then
11563 for i
in `echo $with_target_bdw_gc_include | tr ',' ' '`; do
11565 *=*) sd
=${i%%=*}; d
=${i#*=} ;;
11568 if test "$mldir" = "$sd"; then
11572 if test "x$bdw_val" = x
; then
11573 as_fn_error
"no multilib path ($mldir) found in --with-target-bdw-gc-include" "$LINENO" 5
11575 bdw_inc_dir
="$bdw_val"
11578 if test "x$with_target_bdw_gc_lib" != x
; then
11579 for i
in `echo $with_target_bdw_gc_lib | tr ',' ' '`; do
11581 *=*) sd
=${i%%=*}; d
=${i#*=} ;;
11584 if test "$mldir" = "$sd"; then
11588 if test "x$bdw_val" = x
; then
11589 as_fn_error
"no multilib path ($mldir) found in --with-target-bdw-gc-lib" "$LINENO" 5
11591 bdw_lib_dir
="$bdw_val"
11593 if test "x$bdw_inc_dir" = x
; then
11594 as_fn_error
"no multilib path ($mldir) found in --with-target-bdw-gc-include" "$LINENO" 5
11596 if test "x$bdw_lib_dir" = x
; then
11597 as_fn_error
"no multilib path ($mldir) found in --with-target-bdw-gc-lib" "$LINENO" 5
11599 BDW_GC_CFLAGS
="-I$bdw_inc_dir"
11600 BDW_GC_LIBS
="-L$bdw_lib_dir -lgc"
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11602 $as_echo "found" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system boehm-gc" >&5
11606 $as_echo_n "checking for system boehm-gc... " >&6; }
11607 save_CFLAGS
=$CFLAGS
11609 CFLAGS
="$CFLAGS $BDW_GC_CFLAGS"
11610 LIBS
="$LIBS $BDW_GC_LIBS"
11611 if test x
$gcc_no_link = xyes
; then
11612 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11625 if ac_fn_c_try_link
"$LINENO"; then :
11627 if test "$cross_compiling" = yes; then :
11628 system_bdw_gc_found
=no
11631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11641 if ac_fn_c_try_run
"$LINENO"; then :
11642 system_bdw_gc_found
=yes
11644 system_bdw_gc_found
=no
11646 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11647 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11652 system_bdw_gc_found
=no
11654 rm -f core conftest.err conftest.
$ac_objext \
11655 conftest
$ac_exeext conftest.
$ac_ext
11656 CFLAGS
=$save_CFLAGS
11658 if test x
$enable_objc_gc = xauto
&& test x
$system_bdw_gc_found = xno
; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system bdw-gc not found, not building libobjc_gc" >&5
11660 $as_echo "$as_me: WARNING: system bdw-gc not found, not building libobjc_gc" >&2;}
11662 elif test x
$enable_objc_gc = xyes
&& test x
$system_bdw_gc_found = xno
; then
11663 as_fn_error
"system bdw-gc required but not found" "$LINENO" 5
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11667 $as_echo "found" >&6; }
11671 if test "$use_bdw_gc" = no
; then
11674 OBJC_BOEHM_GC_INCLUDES
=''
11675 OBJC_BOEHM_GC_LIBS
=''
11677 OBJC_GCFLAGS
='-DOBJC_WITH_GC=1'
11678 OBJC_BOEHM_GC
='libobjc_gc$(libsuffix).la'
11679 OBJC_BOEHM_GC_INCLUDES
=$BDW_GC_CFLAGS
11680 OBJC_BOEHM_GC_LIBS
=$BDW_GC_LIBS
11691 if test ${multilib} = yes; then
11692 multilib_arg
="--enable-multilib"
11697 ac_config_files
="$ac_config_files Makefile"
11699 cat >confcache
<<\_ACEOF
11700 # This file is a shell script that caches the results of configure
11701 # tests run on this system so they can be shared between configure
11702 # scripts and configure runs, see configure's option --config-cache.
11703 # It is not useful on other systems. If it contains results you don't
11704 # want to keep, you may remove or edit it.
11706 # config.status only pays attention to the cache file if you give it
11707 # the --recheck option to rerun configure.
11709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11711 # following values.
11715 # The following way of writing the cache mishandles newlines in values,
11716 # but we know of no workaround that is simple, portable, and efficient.
11717 # So, we kill variables containing newlines.
11718 # Ultrix sh set writes to stderr and can't be redirected directly,
11719 # and sets the high bit in the cache file unless we assign to the vars.
11721 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11722 eval ac_val
=\$
$ac_var
11726 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11727 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11730 _ | IFS | as_nl
) ;; #(
11731 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11732 *) { eval $ac_var=; unset $ac_var;} ;;
11738 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11739 *${as_nl}ac_space
=\
*)
11740 # `set' does not quote correctly, so add quotes: double-quote
11741 # substitution turns \\\\ into \\, and sed turns \\ into \.
11744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11747 # `set' quotes correctly as required by POSIX, so do not add quotes.
11748 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11757 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11759 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11761 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11762 if test -w "$cache_file"; then
11763 test "x$cache_file" != "x/dev/null" &&
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11765 $as_echo "$as_me: updating cache $cache_file" >&6;}
11766 cat confcache
>$cache_file
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11769 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11774 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11775 # Let make expand exec_prefix.
11776 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11778 DEFS
=-DHAVE_CONFIG_H
11782 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11783 # 1. Remove the extension, and $U if already installed.
11784 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11785 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11786 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11787 # will be set to the directory where LIBOBJS objects are built.
11788 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11789 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11791 LIBOBJS
=$ac_libobjs
11793 LTLIBOBJS
=$ac_ltlibobjs
11796 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11797 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11801 : ${CONFIG_STATUS=./config.status}
11803 ac_clean_files_save
=$ac_clean_files
11804 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11806 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11808 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11810 # Generated by $as_me.
11811 # Run this file to recreate the current configuration.
11812 # Compiler output produced by configure, useful for debugging
11813 # configure, is in config.log if it exists.
11816 ac_cs_recheck=false
11819 SHELL=\${CONFIG_SHELL-$SHELL}
11822 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11823 ## -------------------- ##
11824 ## M4sh Initialization. ##
11825 ## -------------------- ##
11827 # Be more Bourne compatible
11828 DUALCASE
=1; export DUALCASE
# for MKS sh
11829 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11832 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11833 # is contrary to our usage. Disable this feature.
11834 alias -g '${1+"$@"}'='"$@"'
11835 setopt NO_GLOB_SUBST
11837 case `(set -o) 2>/dev/null` in #(
11849 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11850 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11851 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11852 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11853 # Prefer a ksh shell builtin over an external printf program on Solaris,
11854 # but without wasting forks for bash or zsh.
11855 if test -z "$BASH_VERSION$ZSH_VERSION" \
11856 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11857 as_echo='print
-r --'
11858 as_echo_n='print
-rn --'
11859 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11860 as_echo='printf %s
\n'
11861 as_echo_n='printf %s
'
11863 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11864 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11865 as_echo_n='/usr
/ucb
/echo -n'
11867 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11868 as_echo_n_body='eval
11872 expr "X$arg" : "X\\(.*\\)$as_nl";
11873 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11875 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11877 export as_echo_n_body
11878 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11880 export as_echo_body
11881 as_echo='sh
-c $as_echo_body as_echo
'
11884 # The user is always right.
11885 if test "${PATH_SEPARATOR+set}" != set; then
11887 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11888 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11895 # We need space, tab and new line, in precisely that order. Quoting is
11896 # there to prevent editors from complaining about space-tab.
11897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11898 # splitting by setting IFS to empty value.)
11901 # Find who we are. Look in the path if we contain no directory separator.
11903 *[\\/]* ) as_myself=$0 ;;
11904 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11908 test -z "$as_dir" && as_dir=.
11909 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11915 # We did not find ourselves, most probably we were run as `sh COMMAND'
11916 # in which case we are not to be found in the path.
11917 if test "x$as_myself" = x
; then
11920 if test ! -f "$as_myself"; then
11921 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11925 # Unset variables that we do not need and which cause bugs (e.g. in
11926 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11927 # suppresses any "Segmentation fault" message there. '((' could
11928 # trigger a bug in pdksh 5.2.14.
11929 for as_var
in BASH_ENV ENV MAIL MAILPATH
11930 do eval test x\
${$as_var+set} = xset \
11931 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11944 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11947 # as_fn_error ERROR [LINENO LOG_FD]
11948 # ---------------------------------
11949 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11950 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11951 # script with status $?, using 1 if that was 0.
11954 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11956 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11957 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11959 $as_echo "$as_me: error: $1" >&2
11960 as_fn_exit
$as_status
11964 # as_fn_set_status STATUS
11965 # -----------------------
11966 # Set $? to STATUS, without forking.
11967 as_fn_set_status
()
11970 } # as_fn_set_status
11972 # as_fn_exit STATUS
11973 # -----------------
11974 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11978 as_fn_set_status
$1
11984 # Portably unset VAR.
11987 { eval $1=; unset $1;}
11989 as_unset
=as_fn_unset
11990 # as_fn_append VAR VALUE
11991 # ----------------------
11992 # Append the text in VALUE to the end of the definition contained in VAR. Take
11993 # advantage of any shell optimizations that allow amortized linear growth over
11994 # repeated appends, instead of the typical quadratic growth present in naive
11996 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11997 eval 'as_fn_append ()
12008 # as_fn_arith ARG...
12009 # ------------------
12010 # Perform arithmetic evaluation on the ARGs, and store the result in the
12011 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12012 # must be portable across $(()) and expr.
12013 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12014 eval 'as_fn_arith ()
12021 as_val
=`expr "$@" || test $? -eq 1`
12026 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12027 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12033 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12034 as_basename
=basename
12039 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12045 as_me
=`$as_basename -- "$0" ||
12046 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12047 X"$0" : 'X\(//\)$' \| \
12048 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12050 sed '/^.*\/\([^/][^/]*\)\/*$/{
12064 # Avoid depending upon Character Ranges.
12065 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12066 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12067 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12068 as_cr_digits
='0123456789'
12069 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12071 ECHO_C
= ECHO_N
= ECHO_T
=
12072 case `echo -n x` in #(((((
12074 case `echo 'xy\c'` in
12075 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12077 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12084 rm -f conf$$ conf$$.exe conf$$.
file
12085 if test -d conf$$.dir
; then
12086 rm -f conf$$.dir
/conf$$.
file
12089 mkdir conf$$.dir
2>/dev
/null
12091 if (echo >conf$$.
file) 2>/dev
/null
; then
12092 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12094 # ... but there are two gotchas:
12095 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12096 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12097 # In both cases, we have to default to `cp -p'.
12098 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12100 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12108 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12109 rmdir conf$$.dir
2>/dev
/null
12114 # Create "$as_dir" as a directory, including parents if necessary.
12119 -*) as_dir
=.
/$as_dir;;
12121 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12125 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12126 *) as_qdir
=$as_dir;;
12128 as_dirs
="'$as_qdir' $as_dirs"
12129 as_dir
=`$as_dirname -- "$as_dir" ||
12130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12131 X"$as_dir" : 'X\(//\)[^/]' \| \
12132 X"$as_dir" : 'X\(//\)$' \| \
12133 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12134 $as_echo X"$as_dir" |
12135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12139 /^X\(\/\/\)[^/].*/{
12152 test -d "$as_dir" && break
12154 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12155 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12159 if mkdir
-p .
2>/dev
/null
; then
12160 as_mkdir_p
='mkdir -p "$as_dir"'
12162 test -d .
/-p && rmdir .
/-p
12166 if test -x / >/dev
/null
2>&1; then
12167 as_test_x
='test -x'
12169 if ls -dL / >/dev
/null
2>&1; then
12176 if test -d "$1"; then
12182 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12183 ???[sx]*):;;*)false;;esac;fi
12187 as_executable_p
=$as_test_x
12189 # Sed expression to map a string onto a valid CPP name.
12190 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12192 # Sed expression to map a string onto a valid variable name.
12193 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12197 ## ----------------------------------- ##
12198 ## Main body of $CONFIG_STATUS script. ##
12199 ## ----------------------------------- ##
12201 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12204 # Save the log message, to keep $0 and so on meaningful, and to
12205 # report actual input values of CONFIG_FILES etc. instead of their
12206 # values after options handling.
12208 This file was extended by package-unused $as_me version-unused, which was
12209 generated by GNU Autoconf 2.64. Invocation command line was
12211 CONFIG_FILES = $CONFIG_FILES
12212 CONFIG_HEADERS = $CONFIG_HEADERS
12213 CONFIG_LINKS = $CONFIG_LINKS
12214 CONFIG_COMMANDS = $CONFIG_COMMANDS
12217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12222 case $ac_config_files in *"
12223 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12226 case $ac_config_headers in *"
12227 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12232 # Files that config.status was made for.
12233 config_files="$ac_config_files"
12234 config_headers="$ac_config_headers"
12235 config_commands="$ac_config_commands"
12239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12241 \`$as_me' instantiates files and other configuration actions
12242 from templates according to the current configuration. Unless the files
12243 and actions are specified as TAGs, all are instantiated by default.
12245 Usage: $0 [OPTION]... [TAG]...
12247 -h, --help print this help, then exit
12248 -V, --version print version number and configuration settings, then exit
12249 -q, --quiet, --silent
12250 do not print progress messages
12251 -d, --debug don't remove temporary files
12252 --recheck update $as_me by reconfiguring in the same conditions
12253 --file=FILE[:TEMPLATE]
12254 instantiate the configuration file FILE
12255 --header=FILE[:TEMPLATE]
12256 instantiate the configuration header FILE
12258 Configuration files:
12261 Configuration headers:
12264 Configuration commands:
12267 Report bugs to the package provider."
12270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12272 package-unused config.status version-unused
12273 configured by $0, generated by GNU Autoconf 2.64,
12274 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12276 Copyright (C) 2009 Free Software Foundation, Inc.
12277 This config.status script is free software; the Free Software Foundation
12278 gives unlimited permission to copy, distribute and modify it."
12284 test -n "\$AWK" || AWK=awk
12287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12288 # The default lists apply if the user does not specify any file.
12294 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12295 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12306 # Handling of the options.
12307 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12309 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12310 $as_echo "$ac_cs_version"; exit ;;
12311 --debug |
--debu |
--deb |
--de |
--d |
-d )
12313 --file |
--fil |
--fi |
--f )
12316 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12318 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12319 ac_need_defaults
=false
;;
12320 --header |
--heade |
--head |
--hea )
12323 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12325 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12326 ac_need_defaults
=false
;;
12328 # Conflict between --help and --header
12329 as_fn_error
"ambiguous option: \`$1'
12330 Try \`$0 --help' for more information.";;
12331 --help |
--hel |
-h )
12332 $as_echo "$ac_cs_usage"; exit ;;
12333 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12334 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12337 # This is an error.
12338 -*) as_fn_error
"unrecognized option: \`$1'
12339 Try \`$0 --help' for more information." ;;
12341 *) as_fn_append ac_config_targets
" $1"
12342 ac_need_defaults
=false
;;
12348 ac_configure_extra_args
=
12350 if $ac_cs_silent; then
12352 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12357 if \$ac_cs_recheck; then
12358 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12360 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12361 CONFIG_SHELL='$SHELL'
12362 export CONFIG_SHELL
12367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12371 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12372 ## Running $as_me. ##
12378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12386 with_multisubdir="$with_multisubdir"
12387 with_multisrctop="$with_multisrctop"
12388 with_target_subdir="$with_target_subdir"
12389 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12390 multi_basedir="$multi_basedir"
12391 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12394 GFORTRAN="$GFORTRAN"
12397 # The HP-UX ksh and POSIX shell print the target directory to stdout
12398 # if CDPATH is set.
12399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12401 sed_quote_subst='$sed_quote_subst'
12402 double_quote_subst='$double_quote_subst'
12403 delay_variable_subst='$delay_variable_subst'
12404 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12405 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12406 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12407 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12408 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12409 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12410 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12411 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12412 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12413 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12414 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12415 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12416 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12417 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12418 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12419 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12420 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12421 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12422 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12423 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12424 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12425 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12426 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12427 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12428 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12429 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12430 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12431 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12432 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12433 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12434 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12435 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12436 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12437 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12438 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12439 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12440 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12441 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12442 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12443 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12444 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12445 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12446 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12447 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12448 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12449 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12450 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12451 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12452 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12453 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12454 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"`'
12455 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12456 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12457 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12458 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12459 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12460 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12461 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12462 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12463 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12464 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12465 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12466 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12467 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12468 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12469 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12470 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12471 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12472 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12473 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12474 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12475 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12476 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12477 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12478 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12479 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12480 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12481 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12482 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12483 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12484 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12485 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12486 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12487 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12488 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12489 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12490 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12491 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12492 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12493 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12494 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12495 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12496 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12497 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12498 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12499 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12500 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12501 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12502 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12503 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12504 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12505 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12506 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12507 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12508 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12509 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12510 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12511 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12512 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12513 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12514 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12515 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12516 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12517 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12518 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12519 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12520 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12521 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12522 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12523 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12524 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12525 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12528 LTCFLAGS='$LTCFLAGS'
12529 compiler='$compiler_DEFAULT'
12531 # A function that is used when there is no print builtin or printf.
12532 func_fallback_echo ()
12534 eval 'cat <<_LTECHO_EOF
12539 # Quote evaled strings.
12555 deplibs_check_method \
12564 lt_cv_sys_global_symbol_pipe \
12565 lt_cv_sys_global_symbol_to_cdecl \
12566 lt_cv_sys_global_symbol_to_c_name_address \
12567 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12568 lt_prog_compiler_no_builtin_flag \
12569 lt_prog_compiler_wl \
12570 lt_prog_compiler_pic \
12571 lt_prog_compiler_static \
12572 lt_cv_prog_compiler_c_o \
12580 export_dynamic_flag_spec \
12581 whole_archive_flag_spec \
12582 compiler_needs_object \
12584 allow_undefined_flag \
12585 no_undefined_flag \
12586 hardcode_libdir_flag_spec \
12587 hardcode_libdir_flag_spec_ld \
12588 hardcode_libdir_separator \
12593 variables_saved_for_relink \
12595 library_names_spec \
12597 install_override_mode \
12601 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12602 *[\\\\\\\`\\"\\\$]*)
12603 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12606 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12611 # Double-quote double-evaled strings.
12612 for var in reload_cmds \
12613 old_postinstall_cmds \
12614 old_postuninstall_cmds \
12616 extract_expsyms_cmds \
12617 old_archive_from_new_cmds \
12618 old_archive_from_expsyms_cmds \
12620 archive_expsym_cmds \
12622 module_expsym_cmds \
12623 export_symbols_cmds \
12626 postuninstall_cmds \
12628 sys_lib_search_path_spec \
12629 sys_lib_dlsearch_path_spec; do
12630 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12631 *[\\\\\\\`\\"\\\$]*)
12632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12640 ac_aux_dir='$ac_aux_dir'
12641 xsi_shell='$xsi_shell'
12642 lt_shell_append='$lt_shell_append'
12644 # See if we are running on zsh, and set the options which allow our
12645 # commands through without removal of \ escapes INIT.
12646 if test -n "\${ZSH_VERSION+set}" ; then
12647 setopt NO_GLOB_SUBST
12653 TIMESTAMP='$TIMESTAMP'
12662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12664 # Handling of arguments.
12665 for ac_config_target
in $ac_config_targets
12667 case $ac_config_target in
12668 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12669 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12670 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12671 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12673 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12678 # If the user did not use the arguments to specify the items to instantiate,
12679 # then the envvar interface is used. Set only those that are not.
12680 # We use the long form for the default assignment because of an extremely
12681 # bizarre bug on SunOS 4.1.3.
12682 if $ac_need_defaults; then
12683 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12684 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12685 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12688 # Have a temporary directory for convenience. Make it in the build tree
12689 # simply because there is no reason against having it here, and in addition,
12690 # creating and moving files from /tmp can sometimes cause problems.
12691 # Hook for its removal unless debugging.
12692 # Note that there is a small window in which the directory will not be cleaned:
12693 # after its creation but before its name has been assigned to `$tmp'.
12697 trap 'exit_status=$?
12698 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12700 trap 'as_fn_exit 1' 1 2 13 15
12702 # Create a (secure) tmp directory for tmp files.
12705 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12706 test -n "$tmp" && test -d "$tmp"
12709 tmp
=.
/conf$$
-$RANDOM
12710 (umask 077 && mkdir
"$tmp")
12711 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12713 # Set up the scripts for CONFIG_FILES section.
12714 # No need to generate them if there are no CONFIG_FILES.
12715 # This happens for instance with `./config.status config.h'.
12716 if test -n "$CONFIG_FILES"; then
12719 ac_cr
=`echo X | tr X '\015'`
12720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12721 # But we know of no other shell where ac_cr would be empty at this
12722 # point, so we can use a bashism as a fallback.
12723 if test "x$ac_cr" = x
; then
12724 eval ac_cr
=\$
\'\\r
\'
12726 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12730 ac_cs_awk_cr
=$ac_cr
12733 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12738 echo "cat >conf$$subs.awk <<_ACEOF" &&
12739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12741 } >conf$$subs.sh ||
12742 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12745 for ac_last_try in false false false false false :; do
12746 . ./conf$$subs.sh ||
12747 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12749 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12750 if test $ac_delim_n = $ac_delim_num; then
12752 elif $ac_last_try; then
12753 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12755 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12758 rm -f conf$$subs.sh
12760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12761 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12765 s/^/S["/; s
/!.
*/"]=/
12775 s/\(.\{148\}\).*/\1/
12777 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12789 s/\(.\{148\}\).*/\1/
12791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12800 ' <conf$$subs.awk | sed '
12805 ' >>$CONFIG_STATUS || ac_write_fail=1
12806 rm -f conf$$subs.awk
12807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12809 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12810 for (key in S) S_is_set[key] = 1
12816 nfields = split(line, field, "@
")
12818 len = length(field[1])
12819 for (i = 2; i < nfields; i++) {
12821 keylen = length(key)
12822 if (S_is_set[key]) {
12824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12825 len += length(value) + length(field[++i])
12836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12837 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12838 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12841 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12842 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12845 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12846 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12847 # trailing colons and then remove the whole line if VPATH becomes empty
12848 # (actually we leave an empty line to preserve line numbers).
12849 if test "x
$srcdir" = x.; then
12850 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12851 s/:*\$(srcdir):*/:/
12852 s/:*\${srcdir}:*/:/
12854 s/^\([^=]*=[ ]*\):*/\1/
12860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12861 fi # test -n "$CONFIG_FILES"
12863 # Set up the scripts for CONFIG_HEADERS section.
12864 # No need to generate them if there are no CONFIG_HEADERS.
12865 # This happens for instance with `./config.status Makefile'.
12866 if test -n "$CONFIG_HEADERS"; then
12867 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12871 # Transform confdefs.h into an awk script `defines.awk', embedded as
12872 # here-document in config.status, that substitutes the proper values into
12873 # config.h.in to produce config.h.
12875 # Create a delimiter string that does not exist in confdefs.h, to ease
12876 # handling of long lines.
12878 for ac_last_try in false false :; do
12879 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12880 if test -z "$ac_t"; then
12882 elif $ac_last_try; then
12883 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12885 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12889 # For the awk script, D is an array of macro values keyed by name,
12890 # likewise P contains macro parameters if any. Preserve backslash
12891 # newline sequences.
12893 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12895 s/.\{148\}/&'"$ac_delim"'/g
12898 s/^[ ]*#[ ]*define[ ][ ]*/ /
12905 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12907 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12911 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12912 D["\
1"]=" \
3\\\\\\n
"\\/p
12914 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12919 s/.\{148\}/&'"$ac_delim"'/g
12924 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12927 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12929 ' <confdefs.h | sed '
12930 s/'"$ac_delim"'/"\\\
12931 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12934 for (key in D) D_is_set[key] = 1
12937 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12939 split(line, arg, " ")
12940 if (arg[1] == "#") {
12944 defundef
= substr
(arg
[1], 2)
12947 split(mac1
, mac2
, "(") #)
12949 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12950 if (D_is_set
[macro
]) {
12951 # Preserve the white space surrounding the "#".
12952 print prefix
"define", macro P
[macro
] D
[macro
]
12955 # Replace #undef with comments. This is necessary, for example,
12956 # in the case of _POSIX_SOURCE, which is predefined and required
12957 # on some systems where configure will not decide to define it.
12958 if (defundef
== "undef") {
12959 print
"/*", prefix defundef
, macro
, "*/"
12967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12968 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12969 fi # test -n "$CONFIG_HEADERS"
12972 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12977 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12979 case $ac_mode$ac_tag in
12981 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12982 :[FH
]-) ac_tag
=-:-;;
12983 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13000 -) ac_f
="$tmp/stdin";;
13001 *) # Look for the file first in the build tree, then in the source tree
13002 # (if the path is not absolute). The absolute path cannot be DOS-style,
13003 # because $ac_f cannot contain `:'.
13007 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13009 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13011 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13012 as_fn_append ac_file_inputs
" '$ac_f'"
13015 # Let's still pretend it is `configure' which instantiates (i.e., don't
13016 # use $as_me), people would be surprised to read:
13017 # /* config.h. Generated by config.status. */
13018 configure_input
='Generated from '`
13019 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13021 if test x
"$ac_file" != x-
; then
13022 configure_input
="$ac_file. $configure_input"
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13024 $as_echo "$as_me: creating $ac_file" >&6;}
13026 # Neutralize special characters interpreted by sed in replacement strings.
13027 case $configure_input in #(
13028 *\
&* |
*\|
* |
*\\* )
13029 ac_sed_conf_input
=`$as_echo "$configure_input" |
13030 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13031 *) ac_sed_conf_input
=$configure_input;;
13035 *:-:* |
*:-) cat >"$tmp/stdin" \
13036 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13041 ac_dir
=`$as_dirname -- "$ac_file" ||
13042 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13043 X"$ac_file" : 'X\(//\)[^/]' \| \
13044 X"$ac_file" : 'X\(//\)$' \| \
13045 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13046 $as_echo X"$ac_file" |
13047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13051 /^X\(\/\/\)[^/].*/{
13064 as_dir
="$ac_dir"; as_fn_mkdir_p
13068 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13070 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13071 # A ".." for each directory in $ac_dir_suffix.
13072 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13073 case $ac_top_builddir_sub in
13074 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13075 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13078 ac_abs_top_builddir
=$ac_pwd
13079 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13080 # for backward compatibility:
13081 ac_top_builddir
=$ac_top_build_prefix
13084 .
) # We are building in place.
13086 ac_top_srcdir
=$ac_top_builddir_sub
13087 ac_abs_top_srcdir
=$ac_pwd ;;
13088 [\\/]* | ?
:[\\/]* ) # Absolute name.
13089 ac_srcdir
=$srcdir$ac_dir_suffix;
13090 ac_top_srcdir
=$srcdir
13091 ac_abs_top_srcdir
=$srcdir ;;
13092 *) # Relative name.
13093 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13094 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13095 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13097 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13107 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13108 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13113 # If the template does not know about datarootdir, expand it.
13114 # FIXME: This hack should be removed a few years after 2.60.
13115 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13127 *datarootdir
*) ac_datarootdir_seen
=yes;;
13128 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13130 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13133 ac_datarootdir_hack='
13134 s&@datadir@&$datadir&g
13135 s&@docdir@&$docdir&g
13136 s&@infodir@&$infodir&g
13137 s&@localedir@&$localedir&g
13138 s&@mandir@&$mandir&g
13139 s&\\\${datarootdir}&$datarootdir&g' ;;
13143 # Neutralize VPATH when `$srcdir' = `.'.
13144 # Shell code in configure.ac might set extrasub.
13145 # FIXME: do we really want to maintain this feature?
13146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13147 ac_sed_extra="$ac_vpsub
13150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13152 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13153 s|@configure_input@|
$ac_sed_conf_input|
;t t
13154 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13155 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13156 s
&@srcdir@
&$ac_srcdir&;t t
13157 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13158 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13159 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13160 s
&@builddir@
&$ac_builddir&;t t
13161 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13162 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13163 s
&@INSTALL@
&$ac_INSTALL&;t t
13164 $ac_datarootdir_hack
13166 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13167 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13170 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13171 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13173 which seems to be undefined. Please make sure it is defined." >&5
13174 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13175 which seems to be undefined. Please make sure it is defined." >&2;}
13179 -) cat "$tmp/out" && rm -f "$tmp/out";;
13180 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13182 || as_fn_error "could not create $ac_file" "$LINENO" 5
13188 if test x"$ac_file" != x-; then
13190 $as_echo "/* $configure_input */" \
13191 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13192 } >"$tmp/config.h" \
13193 || as_fn_error "could not create $ac_file" "$LINENO" 5
13194 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13196 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13199 mv "$tmp/config.h" "$ac_file" \
13200 || as_fn_error "could not create $ac_file" "$LINENO" 5
13203 $as_echo "/* $configure_input */" \
13204 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13205 || as_fn_error "could not create -" "$LINENO" 5
13209 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13210 $as_echo "$as_me: executing $ac_file commands" >&6;}
13215 case $ac_file$ac_mode in
13217 # Only add multilib support code if we just rebuilt the top-level
13219 case " $CONFIG_FILES " in
13221 ac_file=Makefile . ${multi_basedir}/config-ml.in
13226 # See if we are running on zsh, and set the options which allow our
13227 # commands through without removal of \ escapes.
13228 if test -n "${ZSH_VERSION+set}" ; then
13229 setopt NO_GLOB_SUBST
13232 cfgfile="${ofile}T"
13233 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13236 cat <<_LT_EOF >> "$cfgfile"
13239 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13240 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13241 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13242 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13244 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13245 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13246 # Written by Gordon Matzigkeit, 1996
13248 # This file is part of GNU Libtool.
13250 # GNU Libtool is free software; you can redistribute it and/or
13251 # modify it under the terms of the GNU General Public License as
13252 # published by the Free Software Foundation; either version 2 of
13253 # the License, or (at your option) any later version.
13255 # As a special exception to the GNU General Public License,
13256 # if you distribute this file as part of a program or library that
13257 # is built using GNU Libtool, you may include this file under the
13258 # same distribution terms that you use for the rest of that program.
13260 # GNU Libtool is distributed in the hope that it will be useful,
13261 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13262 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13263 # GNU General Public License for more details.
13265 # You should have received a copy of the GNU General Public License
13266 # along with GNU Libtool; see the file COPYING. If not, a copy
13267 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13268 # obtained by writing to the Free Software Foundation, Inc.,
13269 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13272 # The names of the tagged configurations supported by this script.
13275 # ### BEGIN LIBTOOL CONFIG
13277 # Assembler program.
13280 # DLL creation program.
13281 DLLTOOL=$lt_DLLTOOL
13283 # Object dumper program.
13284 OBJDUMP=$lt_OBJDUMP
13286 # Which release of libtool.m4 was used?
13287 macro_version=$macro_version
13288 macro_revision=$macro_revision
13290 # Whether or not to build shared libraries.
13291 build_libtool_libs=$enable_shared
13293 # Whether or not to build static libraries.
13294 build_old_libs=$enable_static
13296 # What type of objects to build.
13299 # Whether or not to optimize for fast installation.
13300 fast_install=$enable_fast_install
13302 # Shell to use when invoking shell scripts.
13305 # An echo program that protects backslashes.
13309 host_alias=$host_alias
13313 # The build system.
13314 build_alias=$build_alias
13318 # A sed program that does not truncate output.
13321 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13322 Xsed="\$SED -e 1s/^X//"
13324 # A grep program that handles long lines.
13330 # A literal string matcher.
13333 # A BSD- or MS-compatible name lister.
13336 # Whether we need soft or hard links.
13339 # What is the maximum length of a command?
13340 max_cmd_len=$max_cmd_len
13342 # Object file suffix (normally "o").
13345 # Executable file suffix (normally "").
13348 # whether the shell understands "unset".
13351 # turn spaces into newlines.
13354 # turn newlines into spaces.
13357 # Method to check whether dependent libraries are shared objects.
13358 deplibs_check_method=$lt_deplibs_check_method
13360 # Command to use when deplibs_check_method == "file_magic".
13361 file_magic_cmd=$lt_file_magic_cmd
13365 AR_FLAGS=$lt_AR_FLAGS
13367 # A symbol stripping program.
13370 # Commands used to install an old-style archive.
13372 old_postinstall_cmds=$lt_old_postinstall_cmds
13373 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13375 # Whether to use a lock for old archive extraction.
13376 lock_old_archive_extraction=$lock_old_archive_extraction
13381 # LTCC compiler flags.
13382 LTCFLAGS=$lt_CFLAGS
13384 # Take the output of nm and produce a listing of raw symbols and C names.
13385 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13387 # Transform the output of nm in a proper C declaration.
13388 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13390 # Transform the output of nm in a C name address pair.
13391 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13393 # Transform the output of nm in a C name address pair when lib prefix is needed.
13394 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13396 # The name of the directory that contains temporary libtool files.
13399 # Used to examine libraries when file_magic_cmd begins with "file".
13400 MAGIC_CMD=$MAGIC_CMD
13402 # Must we lock files when doing compilation?
13403 need_locks=$lt_need_locks
13405 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13406 DSYMUTIL=$lt_DSYMUTIL
13408 # Tool to change global to local symbols on Mac OS X.
13411 # Tool to manipulate fat objects and archives on Mac OS X.
13414 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13417 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13418 OTOOL64=$lt_OTOOL64
13420 # Old archive suffix (normally "a").
13423 # Shared library suffix (normally ".so").
13424 shrext_cmds=$lt_shrext_cmds
13426 # The commands to extract the exported symbol list from a shared archive.
13427 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13429 # Variables whose values should be saved in libtool wrapper scripts and
13430 # restored at link time.
13431 variables_saved_for_relink=$lt_variables_saved_for_relink
13433 # Do we need the "lib" prefix for modules?
13434 need_lib_prefix=$need_lib_prefix
13436 # Do we need a version for libraries?
13437 need_version=$need_version
13439 # Library versioning type.
13440 version_type=$version_type
13442 # Shared library runtime path variable.
13443 runpath_var=$runpath_var
13445 # Shared library path variable.
13446 shlibpath_var=$shlibpath_var
13448 # Is shlibpath searched before the hard-coded library search path?
13449 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13451 # Format of library name prefix.
13452 libname_spec=$lt_libname_spec
13454 # List of archive names. First name is the real one, the rest are links.
13455 # The last name is the one that the linker finds with -lNAME
13456 library_names_spec=$lt_library_names_spec
13458 # The coded name of the library, if different from the real name.
13459 soname_spec=$lt_soname_spec
13461 # Permission mode override for installation of shared libraries.
13462 install_override_mode=$lt_install_override_mode
13464 # Command to use after installation of a shared archive.
13465 postinstall_cmds=$lt_postinstall_cmds
13467 # Command to use after uninstallation of a shared archive.
13468 postuninstall_cmds=$lt_postuninstall_cmds
13470 # Commands used to finish a libtool library installation in a directory.
13471 finish_cmds=$lt_finish_cmds
13473 # As "finish_cmds", except a single script fragment to be evaled but
13475 finish_eval=$lt_finish_eval
13477 # Whether we should hardcode library paths into libraries.
13478 hardcode_into_libs=$hardcode_into_libs
13480 # Compile-time system search path for libraries.
13481 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13483 # Run-time system search path for libraries.
13484 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13486 # Whether dlopen is supported.
13487 dlopen_support=$enable_dlopen
13489 # Whether dlopen of programs is supported.
13490 dlopen_self=$enable_dlopen_self
13492 # Whether dlopen of statically linked programs is supported.
13493 dlopen_self_static=$enable_dlopen_self_static
13495 # Commands to strip libraries.
13496 old_striplib=$lt_old_striplib
13497 striplib=$lt_striplib
13500 # The linker used to build libraries.
13503 # How to create reloadable object files.
13504 reload_flag=$lt_reload_flag
13505 reload_cmds=$lt_reload_cmds
13507 # Commands used to build an old-style archive.
13508 old_archive_cmds=$lt_old_archive_cmds
13510 # A language specific compiler.
13513 # Is the compiler the GNU compiler?
13516 # Compiler flag to turn off builtin functions.
13517 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13519 # How to pass a linker flag through the compiler.
13520 wl=$lt_lt_prog_compiler_wl
13522 # Additional compiler flags for building library objects.
13523 pic_flag=$lt_lt_prog_compiler_pic
13525 # Compiler flag to prevent dynamic linking.
13526 link_static_flag=$lt_lt_prog_compiler_static
13528 # Does compiler simultaneously support -c and -o options?
13529 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13531 # Whether or not to add -lc for building shared libraries.
13532 build_libtool_need_lc=$archive_cmds_need_lc
13534 # Whether or not to disallow shared libs when runtime libs are static.
13535 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13537 # Compiler flag to allow reflexive dlopens.
13538 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13540 # Compiler flag to generate shared objects directly from archives.
13541 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13543 # Whether the compiler copes with passing no objects directly.
13544 compiler_needs_object=$lt_compiler_needs_object
13546 # Create an old-style archive from a shared archive.
13547 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13549 # Create a temporary old-style archive to link instead of a shared archive.
13550 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13552 # Commands used to build a shared archive.
13553 archive_cmds=$lt_archive_cmds
13554 archive_expsym_cmds=$lt_archive_expsym_cmds
13556 # Commands used to build a loadable module if different from building
13557 # a shared archive.
13558 module_cmds=$lt_module_cmds
13559 module_expsym_cmds=$lt_module_expsym_cmds
13561 # Whether we are building with GNU ld or not.
13562 with_gnu_ld=$lt_with_gnu_ld
13564 # Flag that allows shared libraries with undefined symbols to be built.
13565 allow_undefined_flag=$lt_allow_undefined_flag
13567 # Flag that enforces no undefined symbols.
13568 no_undefined_flag=$lt_no_undefined_flag
13570 # Flag to hardcode \$libdir into a binary during linking.
13571 # This must work even if \$libdir does not exist
13572 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13574 # If ld is used when linking, flag to hardcode \$libdir into a binary
13575 # during linking. This must work even if \$libdir does not exist.
13576 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13578 # Whether we need a single "-rpath" flag with a separated argument.
13579 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13581 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13582 # DIR into the resulting binary.
13583 hardcode_direct=$hardcode_direct
13585 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13586 # DIR into the resulting binary and the resulting library dependency is
13587 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13588 # library is relocated.
13589 hardcode_direct_absolute=$hardcode_direct_absolute
13591 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13592 # into the resulting binary.
13593 hardcode_minus_L=$hardcode_minus_L
13595 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13596 # into the resulting binary.
13597 hardcode_shlibpath_var=$hardcode_shlibpath_var
13599 # Set to "yes" if building a shared library automatically hardcodes DIR
13600 # into the library and all subsequent libraries and executables linked
13602 hardcode_automatic=$hardcode_automatic
13604 # Set to yes if linker adds runtime paths of dependent libraries
13605 # to runtime path list.
13606 inherit_rpath=$inherit_rpath
13608 # Whether libtool must link a program against all its dependency libraries.
13609 link_all_deplibs=$link_all_deplibs
13611 # Fix the shell variable \$srcfile for the compiler.
13612 fix_srcfile_path=$lt_fix_srcfile_path
13614 # Set to "yes" if exported symbols are required.
13615 always_export_symbols=$always_export_symbols
13617 # The commands to list exported symbols.
13618 export_symbols_cmds=$lt_export_symbols_cmds
13620 # Symbols that should not be listed in the preloaded symbols.
13621 exclude_expsyms=$lt_exclude_expsyms
13623 # Symbols that must always be exported.
13624 include_expsyms=$lt_include_expsyms
13626 # Commands necessary for linking programs (against libraries) with templates.
13627 prelink_cmds=$lt_prelink_cmds
13629 # Specify filename containing input files.
13630 file_list_spec=$lt_file_list_spec
13632 # How to hardcode a shared library path into an executable.
13633 hardcode_action=$hardcode_action
13635 # ### END LIBTOOL CONFIG
13641 cat <<\_LT_EOF >> "$cfgfile"
13642 # AIX sometimes has problems with the GCC collect2 program. For some
13643 # reason, if we set the COLLECT_NAMES environment variable, the problems
13644 # vanish in a puff of smoke.
13645 if test "X${COLLECT_NAMES+set}" != Xset; then
13647 export COLLECT_NAMES
13654 ltmain="$ac_aux_dir/ltmain.sh"
13657 # We use sed instead of cat because bash on DJGPP gets confused if
13658 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13659 # text mode, it properly converts lines to CR/LF. This bash problem
13660 # is reportedly fixed, but why not run on old versions too?
13661 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13662 ||
(rm -f "$cfgfile"; exit 1)
13666 cat << \_LT_EOF
>> "$cfgfile"
13668 # func_dirname file append nondir_replacement
13669 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13670 # otherwise set result to NONDIR_REPLACEMENT.
13674 */*) func_dirname_result
="${1%/*}${2}" ;;
13675 * ) func_dirname_result
="${3}" ;;
13679 # func_basename file
13682 func_basename_result
="${1##*/}"
13685 # func_dirname_and_basename file append nondir_replacement
13686 # perform func_basename and func_dirname in a single function
13688 # dirname: Compute the dirname of FILE. If nonempty,
13689 # add APPEND to the result, otherwise set result
13690 # to NONDIR_REPLACEMENT.
13691 # value returned in "$func_dirname_result"
13692 # basename: Compute filename of FILE.
13693 # value retuned in "$func_basename_result"
13694 # Implementation must be kept synchronized with func_dirname
13695 # and func_basename. For efficiency, we do not delegate to
13696 # those functions but instead duplicate the functionality here.
13697 func_dirname_and_basename
()
13700 */*) func_dirname_result
="${1%/*}${2}" ;;
13701 * ) func_dirname_result
="${3}" ;;
13703 func_basename_result
="${1##*/}"
13706 # func_stripname prefix suffix name
13707 # strip PREFIX and SUFFIX off of NAME.
13708 # PREFIX and SUFFIX must not contain globbing or regex special
13709 # characters, hashes, percent signs, but SUFFIX may contain a leading
13710 # dot (in which case that matches only a dot).
13713 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13714 # positional parameters, so assign one to ordinary parameter first.
13715 func_stripname_result
=${3}
13716 func_stripname_result
=${func_stripname_result#"${1}"}
13717 func_stripname_result
=${func_stripname_result%"${2}"}
13723 func_opt_split_opt
=${1%%=*}
13724 func_opt_split_arg
=${1#*=}
13731 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13732 *) func_lo2o_result
=${1} ;;
13736 # func_xform libobj-or-source
13739 func_xform_result
=${1%.*}.lo
13742 # func_arith arithmetic-term...
13745 func_arith_result
=$
(( $
* ))
13749 # STRING may not start with a hyphen.
13752 func_len_result
=${#1}
13757 *) # Bourne compatible functions.
13758 cat << \_LT_EOF
>> "$cfgfile"
13760 # func_dirname file append nondir_replacement
13761 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13762 # otherwise set result to NONDIR_REPLACEMENT.
13765 # Extract subdirectory from the argument.
13766 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
13767 if test "X$func_dirname_result" = "X${1}"; then
13768 func_dirname_result
="${3}"
13770 func_dirname_result
="$func_dirname_result${2}"
13774 # func_basename file
13777 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
13781 # func_stripname prefix suffix name
13782 # strip PREFIX and SUFFIX off of NAME.
13783 # PREFIX and SUFFIX must not contain globbing or regex special
13784 # characters, hashes, percent signs, but SUFFIX may contain a leading
13785 # dot (in which case that matches only a dot).
13786 # func_strip_suffix prefix name
13790 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13791 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13796 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13797 my_sed_long_arg
='1s/^-[^=]*=//'
13802 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
13803 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13809 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
13812 # func_xform libobj-or-source
13815 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13818 # func_arith arithmetic-term...
13821 func_arith_result
=`expr "$@"`
13825 # STRING may not start with a hyphen.
13828 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13834 case $lt_shell_append in
13836 cat << \_LT_EOF
>> "$cfgfile"
13838 # func_append var value
13839 # Append VALUE to the end of shell variable VAR.
13847 cat << \_LT_EOF
>> "$cfgfile"
13849 # func_append var value
13850 # Append VALUE to the end of shell variable VAR.
13861 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13862 ||
(rm -f "$cfgfile"; exit 1)
13864 mv -f "$cfgfile" "$ofile" ||
13865 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13876 ac_clean_files
=$ac_clean_files_save
13878 test $ac_write_fail = 0 ||
13879 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13882 # configure is writing to config.log, and then calls config.status.
13883 # config.status does its own redirection, appending to config.log.
13884 # Unfortunately, on DOS this fails, as config.log is still kept open
13885 # by configure, so config.status won't be able to write to it; its
13886 # output is simply discarded. So we exec the FD to /dev/null,
13887 # effectively closing config.log, so it can be properly (re)opened and
13888 # appended to by config.status. When coming back to configure, we
13889 # need to make the FD available again.
13890 if test "$no_create" != yes; then
13892 ac_config_status_args
=
13893 test "$silent" = yes &&
13894 ac_config_status_args
="$ac_config_status_args --quiet"
13896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13899 # would make configure fail if this is the last instruction.
13900 $ac_cs_success || as_fn_exit $?
13902 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13904 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}