2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libltdl 2.4.2.
5 # Report bugs to <bug-libtool@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: bug-libtool@gnu.org about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
571 PACKAGE_NAME
='libltdl'
572 PACKAGE_TARNAME
='libltdl'
573 PACKAGE_VERSION
='2.4.2'
574 PACKAGE_STRING
='libltdl 2.4.2'
575 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
578 ac_unique_file
="ltdl.c"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
620 CONVENIENCE_LTDL_FALSE
621 CONVENIENCE_LTDL_TRUE
626 sys_symbol_underscore
688 INSTALL_STRIP_PROGRAM
730 program_transform_name
743 enable_option_checking
748 enable_dependency_tracking
754 ac_precious_vars
='build_alias
765 # Initialize some variables set by options.
767 ac_init_version
=false
768 ac_unrecognized_opts
=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name
=s
,x
,x
,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir
='${exec_prefix}/bin'
794 sbindir
='${exec_prefix}/sbin'
795 libexecdir
='${exec_prefix}/libexec'
796 datarootdir
='${prefix}/share'
797 datadir
='${datarootdir}'
798 sysconfdir
='${prefix}/etc'
799 sharedstatedir
='${prefix}/com'
800 localstatedir
='${prefix}/var'
801 includedir
='${prefix}/include'
802 oldincludedir
='/usr/include'
803 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir
='${datarootdir}/info'
809 libdir
='${exec_prefix}/lib'
810 localedir
='${datarootdir}/locale'
811 mandir
='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\
$ac_option
825 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
838 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
841 -build |
--build |
--buil |
--bui |
--bu)
842 ac_prev
=build_alias
;;
843 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
844 build_alias
=$ac_optarg ;;
846 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
847 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
848 ac_prev
=cache_file
;;
849 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
850 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
851 cache_file
=$ac_optarg ;;
854 cache_file
=config.cache
;;
856 -datadir |
--datadir |
--datadi |
--datad)
858 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
859 datadir
=$ac_optarg ;;
861 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
862 |
--dataroo |
--dataro |
--datar)
863 ac_prev
=datarootdir
;;
864 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
865 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
866 datarootdir
=$ac_optarg ;;
868 -disable-* |
--disable-*)
869 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
872 as_fn_error $?
"invalid feature name: $ac_useropt"
873 ac_useropt_orig
=$ac_useropt
874 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep
=', ';;
882 eval enable_
$ac_useropt=no
;;
884 -docdir |
--docdir |
--docdi |
--doc |
--do)
886 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
889 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
891 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
894 -enable-* |
--enable-*)
895 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
898 as_fn_error $?
"invalid feature name: $ac_useropt"
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=\
$ac_optarg ;;
910 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
911 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
912 |
--exec |
--exe |
--ex)
913 ac_prev
=exec_prefix
;;
914 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
915 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
916 |
--exec=* |
--exe=* |
--ex=*)
917 exec_prefix
=$ac_optarg ;;
919 -gas |
--gas |
--ga |
--g)
920 # Obsolete; use --with-gas.
923 -help |
--help |
--hel |
--he |
-h)
925 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
926 ac_init_help
=recursive
;;
927 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
928 ac_init_help
=short
;;
930 -host |
--host |
--hos |
--ho)
931 ac_prev
=host_alias
;;
932 -host=* |
--host=* |
--hos=* |
--ho=*)
933 host_alias
=$ac_optarg ;;
935 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
937 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
939 htmldir
=$ac_optarg ;;
941 -includedir |
--includedir |
--includedi |
--included |
--include \
942 |
--includ |
--inclu |
--incl |
--inc)
943 ac_prev
=includedir
;;
944 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
945 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
946 includedir
=$ac_optarg ;;
948 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
950 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
951 infodir
=$ac_optarg ;;
953 -libdir |
--libdir |
--libdi |
--libd)
955 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
958 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
959 |
--libexe |
--libex |
--libe)
960 ac_prev
=libexecdir
;;
961 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
962 |
--libexe=* |
--libex=* |
--libe=*)
963 libexecdir
=$ac_optarg ;;
965 -localedir |
--localedir |
--localedi |
--localed |
--locale)
967 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
968 localedir
=$ac_optarg ;;
970 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
971 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
972 ac_prev
=localstatedir
;;
973 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
974 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
975 localstatedir
=$ac_optarg ;;
977 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
979 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
983 # Obsolete; use --without-fp.
986 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
987 |
--no-cr |
--no-c |
-n)
990 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
991 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
994 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
995 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
996 |
--oldin |
--oldi |
--old |
--ol |
--o)
997 ac_prev
=oldincludedir
;;
998 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
999 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1000 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1001 oldincludedir
=$ac_optarg ;;
1003 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1005 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1006 prefix
=$ac_optarg ;;
1008 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1009 |
--program-pre |
--program-pr |
--program-p)
1010 ac_prev
=program_prefix
;;
1011 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1012 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1013 program_prefix
=$ac_optarg ;;
1015 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1016 |
--program-suf |
--program-su |
--program-s)
1017 ac_prev
=program_suffix
;;
1018 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1019 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1020 program_suffix
=$ac_optarg ;;
1022 -program-transform-name |
--program-transform-name \
1023 |
--program-transform-nam |
--program-transform-na \
1024 |
--program-transform-n |
--program-transform- \
1025 |
--program-transform |
--program-transfor \
1026 |
--program-transfo |
--program-transf \
1027 |
--program-trans |
--program-tran \
1028 |
--progr-tra |
--program-tr |
--program-t)
1029 ac_prev
=program_transform_name
;;
1030 -program-transform-name=* |
--program-transform-name=* \
1031 |
--program-transform-nam=* |
--program-transform-na=* \
1032 |
--program-transform-n=* |
--program-transform-=* \
1033 |
--program-transform=* |
--program-transfor=* \
1034 |
--program-transfo=* |
--program-transf=* \
1035 |
--program-trans=* |
--program-tran=* \
1036 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1037 program_transform_name
=$ac_optarg ;;
1039 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1041 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1042 pdfdir
=$ac_optarg ;;
1044 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1046 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1053 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1055 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1057 sbindir
=$ac_optarg ;;
1059 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1060 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1061 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1063 ac_prev
=sharedstatedir
;;
1064 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1065 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1066 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1068 sharedstatedir
=$ac_optarg ;;
1070 -site |
--site |
--sit)
1072 -site=* |
--site=* |
--sit=*)
1075 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1077 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1078 srcdir
=$ac_optarg ;;
1080 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1081 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1082 ac_prev
=sysconfdir
;;
1083 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1084 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1085 sysconfdir
=$ac_optarg ;;
1087 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1088 ac_prev
=target_alias
;;
1089 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1090 target_alias
=$ac_optarg ;;
1092 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1095 -version |
--version |
--versio |
--versi |
--vers |
-V)
1096 ac_init_version
=: ;;
1099 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error $?
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=\
$ac_optarg ;;
1114 -without-* |
--without-*)
1115 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 as_fn_error $?
"invalid package name: $ac_useropt"
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval with_
$ac_useropt=no
;;
1131 # Obsolete; use --with-x.
1134 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1135 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1136 ac_prev
=x_includes
;;
1137 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1138 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1139 x_includes
=$ac_optarg ;;
1141 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1142 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1143 ac_prev
=x_libraries
;;
1144 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1145 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1146 x_libraries
=$ac_optarg ;;
1148 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1153 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1157 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\
$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173 if test -n "$ac_prev"; then
1174 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $?
"missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val
=\$
$ac_var
1193 # Remove trailing slashes.
1196 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\
$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$
]* | ?
:[\\/]* ) continue;;
1202 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1204 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target
=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x
; then
1216 if test "x$build_alias" = x
; then
1217 cross_compiling
=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1228 test "$silent" = yes && exec 6>/dev
/null
1231 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di
=`ls -di .` &&
1233 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $?
"working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $?
"pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted
=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir
=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted
=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1275 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var
in $ac_precious_vars; do
1292 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1294 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures libltdl 2.4.2 to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1368 --build=BUILD configure
for building on BUILD
[guessed
]
1369 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive
) echo "Configuration of libltdl 2.4.2:";;
1380 --disable-option-checking ignore unrecognized
--enable/--with options
1381 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1382 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1383 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1384 --enable-static[=PKGS
] build static libraries
[default
=yes]
1385 --enable-fast-install[=PKGS
]
1386 optimize
for fast installation
[default
=yes]
1387 --disable-dependency-tracking speeds up one-time build
1388 --enable-dependency-tracking do not reject slow dependency extractors
1389 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1390 --enable-ltdl-install install libltdl
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1397 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1398 --with-sysroot=DIR Search
for dependent libraries within DIR
1399 (or the compiler
's sysroot if not specified).
1401 Some influential environment variables:
1402 CC C compiler command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405 nonstandard directory <lib dir>
1406 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408 you have headers in a nonstandard directory <include dir>
1411 Use these variables to override the choices made by `configure' or to
help
1412 it to
find libraries and programs with nonstandard names
/locations.
1414 Report bugs to
<bug-libtool@gnu.org
>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1428 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1430 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1435 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir
=$ac_pwd
1439 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir
=$ac_top_build_prefix
1444 .
) # We are building in place.
1446 ac_top_srcdir
=$ac_top_builddir_sub
1447 ac_abs_top_srcdir
=$ac_pwd ;;
1448 [\\/]* | ?
:[\\/]* ) # Absolute name.
1449 ac_srcdir
=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir
=$srcdir
1451 ac_abs_top_srcdir
=$srcdir ;;
1453 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 libltdl configure
2.4.2
1478 generated by GNU Autoconf
2.68
1480 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1481 This configure
script is free software
; the Free Software Foundation
1482 gives unlimited permission to copy
, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile
()
1496 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1497 rm -f conftest.
$ac_objext
1498 if { { ac_try
="$ac_compile"
1500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1527 } # ac_fn_c_try_compile
1529 # ac_fn_c_try_link LINENO
1530 # -----------------------
1531 # Try to link conftest.$ac_ext, and return whether this succeeded.
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext conftest$ac_exeext
1536 if { { ac_try="$ac_link"
1538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1539 *) ac_try_echo
=$ac_try;;
1541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_link") 2>conftest.err
1545 if test -s conftest.err
; then
1546 grep -v '^ *+' conftest.err
>conftest.er1
1547 cat conftest.er1
>&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest
$ac_exeext && {
1555 test "$cross_compiling" = yes ||
1556 $as_test_x conftest
$ac_exeext
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.
$ac_ext >&5
1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1567 # interfere with the next link command; also delete a directory that is
1568 # left behind by Apple's compiler. We do this before executing the actions.
1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status
$ac_retval
1573 } # ac_fn_c_try_link
1575 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1576 # -------------------------------------------------------
1577 # Tests whether HEADER exists and can be compiled using the include files in
1578 # INCLUDES, setting the cache variable VAR accordingly.
1579 ac_fn_c_check_header_compile
()
1581 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583 $as_echo_n "checking for $2... " >&6; }
1584 if eval \
${$3+:} false
; then :
1585 $as_echo_n "(cached) " >&6
1587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1588 /* end confdefs.h. */
1592 if ac_fn_c_try_compile
"$LINENO"; then :
1597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 } # ac_fn_c_check_header_compile
1606 # ac_fn_c_try_cpp LINENO
1607 # ----------------------
1608 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1612 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } > conftest.i && {
1628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1643 # ac_fn_c_try_run LINENO
1644 # ----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1646 # that executables *can* be run.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_link"
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>&5
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1661 { { case "(($ac_try" in
1662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_try") 2>&5
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; }; }; then :
1673 $as_echo "$as_me: program exited with status $ac_status" >&5
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1677 ac_retval=$ac_status
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1685 # ac_fn_c_check_func LINENO FUNC VAR
1686 # ----------------------------------
1687 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1688 ac_fn_c_check_func ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1698 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1700 #define $2 innocuous_$2
1702 /* System header to define __stub macros and hopefully few prototypes,
1703 which can conflict with char $2 (); below.
1704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1705 <limits.h> exists even on freestanding compilers. */
1708 # include <limits.h>
1710 # include <assert.h>
1715 /* Override any GCC internal prototype to avoid an error.
1716 Use char because int might match the return type of a GCC
1717 builtin and then its argument prototype would still apply. */
1722 /* The GNU C library defines this for functions which it implements
1723 to always fail with ENOSYS. Some functions are actually named
1724 something starting with __ and the normal name is an alias. */
1725 #if defined __stub_$2 || defined __stub___$2
1737 if ac_fn_c_try_link "$LINENO"; then :
1742 rm -f core conftest.err conftest.$ac_objext \
1743 conftest$ac_exeext conftest.$ac_ext
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_func
1752 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1753 # ---------------------------------------------
1754 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1756 ac_fn_c_check_decl ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1760 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1762 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1772 #ifndef $as_decl_name
1774 (void) $as_decl_use;
1776 (void) $as_decl_name;
1784 if ac_fn_c_try_compile "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_decl
1798 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1799 # -------------------------------------------
1800 # Tests whether TYPE exists after having included INCLUDES, setting cache
1801 # variable VAR accordingly.
1802 ac_fn_c_check_type ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806 $as_echo_n "checking for $2... " >&6; }
1807 if eval \${$3+:} false; then :
1808 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1836 if ac_fn_c_try_compile "$LINENO"; then :
1841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_type
1851 cat >config.log <<_ACEOF
1852 This file contains any messages produced by compilers while
1853 running configure, to aid debugging if configure makes a mistake.
1855 It was created by libltdl $as_me 2.4.2, which was
1856 generated by GNU Autoconf 2.68. Invocation command line was
1868 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1869 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1870 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1871 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1872 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1874 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1875 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1877 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1878 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1879 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1880 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1881 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1882 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1883 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir=.
1892 $as_echo "PATH: $as_dir"
1908 # Keep a trace of the command line.
1909 # Strip out --no-create and --no-recursion so they do not pile up.
1910 # Strip out --silent because we don't want to record it for future runs.
1911 # Also quote any args containing shell meta-characters.
1912 # Make two passes to allow for proper duplicate-argument suppression.
1916 ac_must_keep_next=false
1922 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1924 | -silent | --silent | --silen | --sile | --sil)
1927 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1930 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1932 as_fn_append ac_configure_args1 " '$ac_arg'"
1933 if test $ac_must_keep_next = true; then
1934 ac_must_keep_next=false # Got value, back to normal.
1937 *=* | --config-cache | -C | -disable-* | --disable-* \
1938 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1939 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1940 | -with-* | --with-* | -without-* | --without-* | --x)
1941 case "$ac_configure_args0 " in
1942 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1945 -* ) ac_must_keep_next=true ;;
1948 as_fn_append ac_configure_args " '$ac_arg'"
1953 { ac_configure_args0=; unset ac_configure_args0;}
1954 { ac_configure_args1=; unset ac_configure_args1;}
1956 # When interrupted or exit'd, cleanup temporary files, and complete
1957 # config.log. We remove comments because anyway the quotes in there
1958 # would cause problems or look ugly.
1959 # WARNING: Use '\'' to represent an apostrophe within the trap.
1960 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1961 trap 'exit_status=$?
1962 # Save into config.log some information that might help in debugging.
1966 $as_echo "## ---------------- ##
1967 ## Cache variables. ##
1968 ## ---------------- ##"
1970 # The following way of writing the cache mishandles newlines in values,
1972 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1973 eval ac_val=\$$ac_var
1977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1981 _ | IFS | as_nl) ;; #(
1982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1983 *) { eval $ac_var=; unset $ac_var;} ;;
1988 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1989 *${as_nl}ac_space=\ *)
1991 "s/'\''/'\''\\\\'\'''\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002 $as_echo "## ----------------- ##
2003 ## Output variables. ##
2004 ## ----------------- ##"
2006 for ac_var in $ac_subst_vars
2008 eval ac_val=\$$ac_var
2010 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2012 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -n "$ac_subst_files"; then
2017 $as_echo "## ------------------- ##
2018 ## File substitutions. ##
2019 ## ------------------- ##"
2021 for ac_var in $ac_subst_files
2023 eval ac_val=\$$ac_var
2025 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -s confdefs.h; then
2033 $as_echo "## ----------- ##
2040 test "$ac_signal" != 0 &&
2041 $as_echo "$as_me: caught signal $ac_signal"
2042 $as_echo "$as_me: exit $exit_status"
2044 rm -f core *.core core.conftest.* &&
2045 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2048 for ac_signal in 1 2 13 15; do
2049 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2054 rm -f -r conftest* confdefs.h
2056 $as_echo "/* confdefs.h */" > confdefs.h
2058 # Predefined preprocessor variables.
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_STRING "$PACKAGE_STRING"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_URL "$PACKAGE_URL"
2085 # Let the site file select an alternate cache file if it wants to.
2086 # Prefer an explicitly selected file to automatically selected ones.
2089 if test -n "$CONFIG_SITE"; then
2090 # We do not want a PATH search for config.site.
2091 case $CONFIG_SITE in #((
2092 -*) ac_site_file1=./$CONFIG_SITE;;
2093 */*) ac_site_file1=$CONFIG_SITE;;
2094 *) ac_site_file1=./$CONFIG_SITE;;
2096 elif test "x$prefix" != xNONE; then
2097 ac_site_file1=$prefix/share/config.site
2098 ac_site_file2=$prefix/etc/config.site
2100 ac_site_file1=$ac_default_prefix/share/config.site
2101 ac_site_file2=$ac_default_prefix/etc/config.site
2103 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2105 test "x$ac_site_file" = xNONE && continue
2106 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2108 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2109 sed 's/^/| /' "$ac_site_file" >&5
2111 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113 as_fn_error $? "failed to load site
script $ac_site_file
2114 See \
`config.log' for more details" "$LINENO" 5; }
2118 if test -r "$cache_file"; then
2119 # Some versions of bash will fail to source /dev/null (special files
2120 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2121 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2123 $as_echo "$as_me: loading cache $cache_file" >&6;}
2125 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2126 *) . "./$cache_file";;
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2131 $as_echo "$as_me: creating cache $cache_file" >&6;}
2135 # Check that the precious variables saved in the cache have kept the same
2137 ac_cache_corrupted=false
2138 for ac_var in $ac_precious_vars; do
2139 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2140 eval ac_new_set=\$ac_env_${ac_var}_set
2141 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2142 eval ac_new_val=\$ac_env_${ac_var}_value
2143 case $ac_old_set,$ac_new_set in
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2146 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2147 ac_cache_corrupted=: ;;
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2150 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2151 ac_cache_corrupted=: ;;
2154 if test "x$ac_old_val" != "x$ac_new_val"; then
2155 # differences in whitespace do not lead to failure.
2156 ac_old_val_w=`echo x
$ac_old_val`
2157 ac_new_val_w=`echo x
$ac_new_val`
2158 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2160 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2161 ac_cache_corrupted=:
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2164 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2165 eval $ac_var=\$ac_old_val
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2168 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2170 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2173 # Pass precious variables to config.status.
2174 if test "$ac_new_set" = set; then
2176 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2177 *) ac_arg=$ac_var=$ac_new_val ;;
2179 case " $ac_configure_args " in
2180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2181 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2185 if $ac_cache_corrupted; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2189 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2190 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2192 ## -------------------- ##
2193 ## Main body of script. ##
2194 ## -------------------- ##
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203 ac_config_headers="$ac_config_headers config.h:config-h.in"
2207 for ac_dir in config "$srcdir"/config; do
2208 if test -f "$ac_dir/install-sh"; then
2210 ac_install_sh="$ac_aux_dir/install-sh -c"
2212 elif test -f "$ac_dir/install.sh"; then
2214 ac_install_sh="$ac_aux_dir/install.sh -c"
2216 elif test -f "$ac_dir/shtool"; then
2218 ac_install_sh="$ac_aux_dir/shtool install -c"
2222 if test -z "$ac_aux_dir"; then
2223 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2226 # These three variables are undocumented and unsupported,
2227 # and are intended to be withdrawn in a future Autoconf release.
2228 # They can cause serious problems if a builder's source tree is in a directory
2229 # whose full name contains unusual characters.
2230 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2231 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2232 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2244 ## ------------------------ ##
2245 ## Automake Initialisation. ##
2246 ## ------------------------ ##
2248 am__api_version='1.11'
2250 # Find a good install program. We prefer a C program (faster),
2251 # so one script is as good as another. But avoid the broken or
2252 # incompatible versions:
2253 # SysV /etc/install, /usr/sbin/install
2254 # SunOS /usr/etc/install
2255 # IRIX /sbin/install
2257 # AmigaOS /C/install, which installs bootblocks on floppy discs
2258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2261 # OS/2's system install, which has a completely different semantic
2262 # ./install, which can be erroneously created by make from ./install.sh.
2263 # Reject install programs that cannot install multiple files.
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2265 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2266 if test -z "$INSTALL"; then
2267 if ${ac_cv_path_install+:} false; then :
2268 $as_echo_n "(cached) " >&6
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 # Account for people who put trailing slashes in PATH elements.
2276 case $as_dir/ in #((
2277 ./ | .// | /[cC]/* | \
2278 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2279 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2282 # OSF1 and SCO ODT 3.0 have their own names for install.
2283 # Don't use installbsd from OSF since it installs stuff as root
2285 for ac_prog in ginstall scoinst install; do
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2288 if test $ac_prog = install &&
2289 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290 # AIX install. It has an incompatible calling convention.
2292 elif test $ac_prog = install &&
2293 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2294 # program-specific install script used by HP pwplus--don't use.
2297 rm -rf conftest.one conftest.two conftest.dir
2298 echo one > conftest.one
2299 echo two > conftest.two
2301 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2302 test -s conftest.one && test -s conftest.two &&
2303 test -s conftest.dir/conftest.one &&
2304 test -s conftest.dir/conftest.two
2306 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2319 rm -rf conftest.one conftest.two conftest.dir
2322 if test "${ac_cv_path_install+set}" = set; then
2323 INSTALL=$ac_cv_path_install
2325 # As a last resort, use the slow shell script. Don't cache a
2326 # value for INSTALL within a source directory, because that will
2327 # break other packages using the cache if that directory is
2328 # removed, or if the value is a relative name.
2329 INSTALL=$ac_install_sh
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2333 $as_echo "$INSTALL" >&6; }
2335 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2336 # It thinks the first close brace ends the variable substitution.
2337 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2339 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2341 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2344 $as_echo_n "checking whether build environment is sane... " >&6; }
2347 echo timestamp > conftest.file
2348 # Reject unsafe characters in $srcdir or the absolute working directory
2349 # name. Accept space and tab only in the latter.
2353 *[\\\"\#\$\&\'\`$am_lf]*)
2354 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2357 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2358 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2361 # Do `set' in a subshell so we don't clobber the current shell's
2362 # arguments. Must try -L first in case configure is actually a
2363 # symlink; some systems play weird games with the mod time of symlinks
2364 # (eg FreeBSD returns the mod time of the symlink's containing
2367 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2368 if test "$*" = "X"; then
2370 set X
`ls -t "$srcdir/configure" conftest.file`
2373 if test "$*" != "X $srcdir/configure conftest.file" \
2374 && test "$*" != "X conftest.file $srcdir/configure"; then
2376 # If neither matched, then we have a broken ls. This can happen
2377 # if, for instance, CONFIG_SHELL is bash and it inherits a
2378 # broken ls alias from the environment. This has actually
2379 # happened. Such a system could not be considered "sane".
2380 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2381 alias in your environment" "$LINENO" 5
2384 test "$2" = conftest.
file
2390 as_fn_error $?
"newly created file is older than distributed files!
2391 Check your system clock" "$LINENO" 5
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2394 $as_echo "yes" >&6; }
2395 test "$program_prefix" != NONE
&&
2396 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2397 # Use a double $ so make ignores it.
2398 test "$program_suffix" != NONE
&&
2399 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2400 # Double any \ or $.
2401 # By default was `s,x,x', remove it if useless.
2402 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2403 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2405 # expand $ac_aux_dir to an absolute path
2406 am_aux_dir
=`cd $ac_aux_dir && pwd`
2408 if test x
"${MISSING+set}" != xset
; then
2411 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2413 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2416 # Use eval to expand $SHELL
2417 if eval "$MISSING --run true"; then
2418 am_missing_run
="$MISSING --run "
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2422 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2425 if test x
"${install_sh}" != xset
; then
2428 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2430 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2434 # Installed binaries are usually stripped using `strip' when the user
2435 # run `make install-strip'. However `strip' might not be the right
2436 # tool to use in cross-compilation environments, therefore Automake
2437 # will honor the `STRIP' environment variable to overrule this program.
2438 if test "$cross_compiling" != no
; then
2439 if test -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2441 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443 $as_echo_n "checking for $ac_word... " >&6; }
2444 if ${ac_cv_prog_STRIP+:} false
; then :
2445 $as_echo_n "(cached) " >&6
2447 if test -n "$STRIP"; then
2448 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir
=.
2455 for ac_exec_ext
in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 STRIP
=$ac_cv_prog_STRIP
2468 if test -n "$STRIP"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2470 $as_echo "$STRIP" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473 $as_echo "no" >&6; }
2478 if test -z "$ac_cv_prog_STRIP"; then
2480 # Extract the first word of "strip", so it can be a program name with args.
2481 set dummy strip
; ac_word
=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$ac_ct_STRIP"; then
2488 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_ac_ct_STRIP
="strip"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2508 if test -n "$ac_ct_STRIP"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2510 $as_echo "$ac_ct_STRIP" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2516 if test "x$ac_ct_STRIP" = x
; then
2519 case $cross_compiling:$ac_tool_warned in
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2523 ac_tool_warned
=yes ;;
2528 STRIP
="$ac_cv_prog_STRIP"
2532 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2535 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2536 if test -z "$MKDIR_P"; then
2537 if ${ac_cv_path_mkdir+:} false
; then :
2538 $as_echo_n "(cached) " >&6
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2541 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_prog
in mkdir gmkdir
; do
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2548 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2549 'mkdir (GNU coreutils) '* | \
2550 'mkdir (coreutils) '* | \
2551 'mkdir (fileutils) '4.1*)
2552 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2562 test -d .
/--version && rmdir .
/--version
2563 if test "${ac_cv_path_mkdir+set}" = set; then
2564 MKDIR_P
="$ac_cv_path_mkdir -p"
2566 # As a last resort, use the slow shell script. Don't cache a
2567 # value for MKDIR_P within a source directory, because that will
2568 # break other packages using the cache if that directory is
2569 # removed, or if the value is a relative name.
2570 MKDIR_P
="$ac_install_sh -d"
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2574 $as_echo "$MKDIR_P" >&6; }
2578 [\\/$
]* | ?
:[\\/]*) ;;
2579 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2582 for ac_prog
in gawk mawk nawk
awk
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy
$ac_prog; ac_word
=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_AWK+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$AWK"; then
2592 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_AWK
="$ac_prog"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test -n "$AWK"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2614 $as_echo "$AWK" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2621 test -n "$AWK" && break
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2627 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2628 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 cat >conftest.
make <<\_ACEOF
2634 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2639 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2641 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2645 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 $as_echo "yes" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2652 SET_MAKE
="MAKE=${MAKE-make}"
2655 rm -rf .tst
2>/dev
/null
2656 mkdir .tst
2>/dev
/null
2657 if test -d .tst
; then
2662 rmdir .tst
2>/dev
/null
2664 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2665 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2666 # is not polluted with repeated "-I."
2667 am__isrc
=' -I$(srcdir)'
2668 # test to see if srcdir already configured
2669 if test -f $srcdir/config.status
; then
2670 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2674 # test whether we have cygpath
2675 if test -z "$CYGPATH_W"; then
2676 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2677 CYGPATH_W
='cygpath -w'
2684 # Define the identity of the package.
2689 cat >>confdefs.h
<<_ACEOF
2690 #define PACKAGE "$PACKAGE"
2694 cat >>confdefs.h
<<_ACEOF
2695 #define VERSION "$VERSION"
2698 # Some tools Automake needs.
2700 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2703 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2706 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2709 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2712 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2714 # We need awk for the "check" target. The system "awk" is bad on
2716 # Always define AMTAR for backward compatibility.
2718 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2720 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2728 ## ------------------------------- ##
2729 ## Libtool specific configuration. ##
2730 ## ------------------------------- ##
2731 pkgdatadir
='${datadir}'"/${PACKAGE}"
2734 ## ----------------------- ##
2735 ## Libtool initialisation. ##
2736 ## ----------------------- ##
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2740 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2745 macro_version
='2.4.2'
2746 macro_revision
='1.3337'
2760 ltmain
="$ac_aux_dir/ltmain.sh"
2762 # Make sure we can run config.sub.
2763 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2764 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2767 $as_echo_n "checking build system type... " >&6; }
2768 if ${ac_cv_build+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 ac_build_alias
=$build_alias
2772 test "x$ac_build_alias" = x
&&
2773 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2774 test "x$ac_build_alias" = x
&&
2775 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2776 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2777 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2781 $as_echo "$ac_cv_build" >&6; }
2782 case $ac_cv_build in
2784 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2787 ac_save_IFS
=$IFS; IFS
='-'
2793 # Remember, the first character of IFS is used to create $*,
2794 # except with old shells:
2797 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2801 $as_echo_n "checking host system type... " >&6; }
2802 if ${ac_cv_host+:} false
; then :
2803 $as_echo_n "(cached) " >&6
2805 if test "x$host_alias" = x
; then
2806 ac_cv_host
=$ac_cv_build
2808 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2809 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2814 $as_echo "$ac_cv_host" >&6; }
2817 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2820 ac_save_IFS
=$IFS; IFS
='-'
2826 # Remember, the first character of IFS is used to create $*,
2827 # except with old shells:
2830 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2833 # Backslashify metacharacters that are still active within
2834 # double-quoted strings.
2835 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
2837 # Same as above, but do not quote variable references.
2838 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
2840 # Sed substitution to delay expansion of an escaped shell variable in a
2841 # double_quote_subst'ed string.
2842 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
2844 # Sed substitution to delay expansion of an escaped single quote.
2845 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
2847 # Sed substitution to avoid accidental globbing in evaled expressions
2848 no_glob_subst
='s/\*/\\\*/g'
2850 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2851 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2852 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2855 $as_echo_n "checking how to print strings... " >&6; }
2856 # Test print first, because it will be a builtin if present.
2857 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2858 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2860 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2863 # Use this function as a fallback that always works.
2864 func_fallback_echo ()
2866 eval 'cat <<_LTECHO_EOF
2870 ECHO='func_fallback_echo
'
2873 # func_echo_all arg...
2874 # Invoke $ECHO with all args, space-separated.
2881 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2882 $as_echo "printf" >&6; } ;;
2883 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2884 $as_echo "print -r" >&6; } ;;
2885 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2886 $as_echo "cat" >&6; } ;;
2902 DEPDIR="${am__leading_dot}deps"
2904 ac_config_commands="$ac_config_commands depfiles"
2907 am_make=${MAKE-make}
2908 cat > confinc << 'END
'
2910 @echo this is the am__doit target
2913 # If we don't
find an include directive
, just comment out the code.
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2915 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2919 # First try GNU make style include.
2920 echo "include confinc" > confmf
2921 # Ignore all kinds of additional output from `make'.
2922 case `$am_make -s -f confmf 2> /dev/null` in #(
2923 *the\ am__doit\ target
*)
2929 # Now try BSD make style include.
2930 if test "$am__include" = "#"; then
2931 echo '.include "confinc"' > confmf
2932 case `$am_make -s -f confmf 2> /dev/null` in #(
2933 *the\ am__doit\ target
*)
2934 am__include
=.include
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2943 $as_echo "$_am_result" >&6; }
2944 rm -f confinc confmf
2946 # Check whether --enable-dependency-tracking was given.
2947 if test "${enable_dependency_tracking+set}" = set; then :
2948 enableval
=$enable_dependency_tracking;
2951 if test "x$enable_dependency_tracking" != xno
; then
2952 am_depcomp
="$ac_aux_dir/depcomp"
2955 if test "x$enable_dependency_tracking" != xno; then
2965 ac_cpp
='$CPP $CPPFLAGS'
2966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2969 if test -n "$ac_tool_prefix"; then
2970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_CC+:} false
; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC
="$CC" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CC"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000 $as_echo "$CC" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3008 if test -z "$ac_cv_prog_CC"; then
3010 # Extract the first word of "gcc", so it can be a program name with args.
3011 set dummy gcc
; ac_word
=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$ac_ct_CC"; then
3018 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027 ac_cv_prog_ac_ct_CC
="gcc"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3038 if test -n "$ac_ct_CC"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040 $as_echo "$ac_ct_CC" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3046 if test "x$ac_ct_CC" = x
; then
3049 case $cross_compiling:$ac_tool_warned in
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053 ac_tool_warned
=yes ;;
3061 if test -z "$CC"; then
3062 if test -n "$ac_tool_prefix"; then
3063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false
; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC
="$CC" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3102 if test -z "$CC"; then
3103 # Extract the first word of "cc", so it can be a program name with args.
3104 set dummy cc
; ac_word
=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CC+:} false
; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$CC"; then
3111 ac_cv_prog_CC
="$CC" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3122 ac_prog_rejected
=yes
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test $ac_prog_rejected = yes; then
3134 # We found a bogon in the path, so make sure we never use it.
3135 set dummy
$ac_cv_prog_CC
3137 if test $# != 0; then
3138 # We chose a different compiler from the bogus one.
3139 # However, it has the same basename, so the bogon will be chosen
3140 # first if we set CC to just the basename; use the full file name.
3142 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3158 if test -z "$CC"; then
3159 if test -n "$ac_tool_prefix"; then
3160 for ac_prog
in cl.exe
3162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3163 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if ${ac_cv_prog_CC+:} false
; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -n "$CC"; then
3170 ac_cv_prog_CC
="$CC" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 if test -n "$CC"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192 $as_echo "$CC" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3199 test -n "$CC" && break
3202 if test -z "$CC"; then
3204 for ac_prog
in cl.exe
3206 # Extract the first word of "$ac_prog", so it can be a program name with args.
3207 set dummy
$ac_prog; ac_word
=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3211 $as_echo_n "(cached) " >&6
3213 if test -n "$ac_ct_CC"; then
3214 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir
=.
3221 for ac_exec_ext
in '' $ac_executable_extensions; do
3222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223 ac_cv_prog_ac_ct_CC
="$ac_prog"
3224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3234 if test -n "$ac_ct_CC"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3236 $as_echo "$ac_ct_CC" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3243 test -n "$ac_ct_CC" && break
3246 if test "x$ac_ct_CC" = x
; then
3249 case $cross_compiling:$ac_tool_warned in
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253 ac_tool_warned
=yes ;;
3262 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error $?
"no acceptable C compiler found in \$PATH
3265 See \`config.log' for more details" "$LINENO" 5; }
3267 # Provide some information about the compiler.
3268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3271 for ac_option
in --version -v -V -qversion; do
3272 { { ac_try
="$ac_compiler $ac_option >&5"
3274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3281 if test -s conftest.err; then
3283 ... rest of stderr output deleted ...
3284 10q' conftest.err >conftest.er1
3285 cat conftest.er1 >&5
3287 rm -f conftest.er1 conftest.err
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 ac_clean_files_save=$ac_clean_files
3304 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3305 # Try to create an executable without -o first, disregard a.out.
3306 # It will help us diagnose broken compilers, and finding out an intuition
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3309 $as_echo_n "checking whether the C compiler works... " >&6; }
3310 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3312 # The possible output files:
3313 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3316 for ac_file in $ac_files
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3325 if { { ac_try="$ac_link_default"
3327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3328 *) ac_try_echo
=$ac_try;;
3330 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link_default") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3337 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3338 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3339 # so that the user can short-circuit this test for compilers unknown to
3341 for ac_file
in $ac_files ''
3343 test -f "$ac_file" ||
continue
3345 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3348 # We found the default executable, but exeext='' is most
3352 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3354 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3356 # We set ac_cv_exeext here because the later test for it is not
3357 # safe: cross compilers may not add the suffix if given an `-o'
3358 # argument, so we may need to know it at that point already.
3359 # Even if this section looks crufty: it has the advantage of
3366 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3371 if test -z "$ac_file"; then :
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3374 $as_echo "$as_me: failed program was:" >&5
3375 sed 's/^/| /' conftest.
$ac_ext >&5
3377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error
77 "C compiler cannot create executables
3380 See \`config.log' for more details" "$LINENO" 5; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3383 $as_echo "yes" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3386 $as_echo_n "checking for C compiler default output file name... " >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3388 $as_echo "$ac_file" >&6; }
3389 ac_exeext
=$ac_cv_exeext
3391 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3392 ac_clean_files
=$ac_clean_files_save
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3394 $as_echo_n "checking for suffix of executables... " >&6; }
3395 if { { ac_try
="$ac_link"
3397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_link") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; then :
3406 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3407 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3408 # work properly (i.e., refer to `conftest.exe'), while it won't with
3410 for ac_file
in conftest.exe conftest conftest.
*; do
3411 test -f "$ac_file" ||
continue
3413 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3414 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3422 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3423 See \`config.log' for more details" "$LINENO" 5; }
3425 rm -f conftest conftest
$ac_cv_exeext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3427 $as_echo "$ac_cv_exeext" >&6; }
3429 rm -f conftest.
$ac_ext
3430 EXEEXT
=$ac_cv_exeext
3432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3438 FILE *f = fopen ("conftest.out", "w");
3439 return ferror (f) || fclose (f) != 0;
3445 ac_clean_files
="$ac_clean_files conftest.out"
3446 # Check that the compiler produces executables we can run. If not, either
3447 # the compiler is broken, or we cross compile.
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3449 $as_echo_n "checking whether we are cross compiling... " >&6; }
3450 if test "$cross_compiling" != yes; then
3451 { { ac_try
="$ac_link"
3453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_link") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }
3462 if { ac_try='./conftest$ac_cv_exeext'
3463 { { case "(($ac_try" in
3464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3465 *) ac_try_echo
=$ac_try;;
3467 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_try") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }; }; then
3475 if test "$cross_compiling" = maybe
; then
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $?
"cannot run C compiled programs.
3481 If you meant to cross compile, use \`--host'.
3482 See \`config.log' for more details" "$LINENO" 5; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3487 $as_echo "$cross_compiling" >&6; }
3489 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3490 ac_clean_files
=$ac_clean_files_save
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3492 $as_echo_n "checking for suffix of object files... " >&6; }
3493 if ${ac_cv_objext+:} false
; then :
3494 $as_echo_n "(cached) " >&6
3496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 rm -f conftest.o conftest.obj
3508 if { { ac_try
="$ac_compile"
3510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_compile") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }; then :
3519 for ac_file in conftest.o conftest.obj conftest.*; do
3520 test -f "$ac_file" || continue;
3522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3523 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3528 $as_echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3534 See \
`config.log' for more details" "$LINENO" 5; }
3536 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3539 $as_echo "$ac_cv_objext" >&6; }
3540 OBJEXT=$ac_cv_objext
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3544 if ${ac_cv_c_compiler_gnu+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3572 if test $ac_compiler_gnu = yes; then
3577 ac_test_CFLAGS=${CFLAGS+set}
3578 ac_save_CFLAGS=$CFLAGS
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3581 if ${ac_cv_prog_cc_g+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 ac_save_c_werror_flag=$ac_c_werror_flag
3585 ac_c_werror_flag=yes
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile "$LINENO"; then :
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3617 ac_c_werror_flag=$ac_save_c_werror_flag
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3641 $as_echo "$ac_cv_prog_cc_g" >&6; }
3642 if test "$ac_test_CFLAGS" = set; then
3643 CFLAGS=$ac_save_CFLAGS
3644 elif test $ac_cv_prog_cc_g = yes; then
3645 if test "$GCC" = yes; then
3651 if test "$GCC" = yes; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3659 if ${ac_cv_prog_cc_c89+:} false; then :
3660 $as_echo_n "(cached) " >&6
3662 ac_cv_prog_cc_c89=no
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3668 #include <sys/types.h>
3669 #include <sys/stat.h>
3670 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3671 struct buf { int x; };
3672 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3673 static char *e (p, i)
3679 static char *f (char * (*g) (char **, int), char **p, ...)
3684 s = g (p, va_arg (v,int));
3689 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3690 function prototypes and stuff, but not '\xHH' hex character constants.
3691 These don't provoke an error unfortunately, instead are silently treated
3692 as 'x'. The following induces an error, until -std is added to get
3693 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3694 array size at least. It's necessary to write '\x00'==0 to get something
3695 that's true only with -std. */
3696 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3698 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3699 inside strings and character constants. */
3701 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3703 int test (int i, double x);
3704 struct s1 {int (*f) (int a);};
3705 struct s2 {int (*f) (double a);};
3706 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3712 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3717 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3718 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3720 CC="$ac_save_CC $ac_arg"
3721 if ac_fn_c_try_compile "$LINENO"; then :
3722 ac_cv_prog_cc_c89=$ac_arg
3724 rm -f core conftest.err conftest.$ac_objext
3725 test "x$ac_cv_prog_cc_c89" != "xno" && break
3727 rm -f conftest.$ac_ext
3732 case "x$ac_cv_prog_cc_c89" in
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3735 $as_echo "none needed" >&6; } ;;
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3738 $as_echo "unsupported" >&6; } ;;
3740 CC="$CC $ac_cv_prog_cc_c89"
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3742 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3744 if test "x$ac_cv_prog_cc_c89" != xno; then :
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754 depcc="$CC" am_compiler_list=
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3757 $as_echo_n "checking dependency style of $depcc... " >&6; }
3758 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3759 $as_echo_n "(cached) " >&6
3761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3762 # We make a subdir and do the tests there. Otherwise we can end up
3763 # making bogus files that we don't know about and never remove. For
3764 # instance it was reported that on HP-UX the gcc test will end up
3765 # making a dummy file named `D
' -- because `-MD' means
`put the output
3768 # Copy depcomp to subdir because otherwise we won't find it if we're
3769 # using a relative directory.
3770 cp "$am_depcomp" conftest.dir
3772 # We will build objects and dependencies in a subdirectory because
3773 # it helps to detect inapplicable dependency modes. For instance
3774 # both Tru64's cc and ICC support -MD to output dependencies as a
3775 # side effect of compilation, but ICC will put the dependencies in
3776 # the current directory while Tru64 will put them in the object
3780 am_cv_CC_dependencies_compiler_type=none
3781 if test "$am_compiler_list" = ""; then
3782 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3785 case " $depcc " in #(
3786 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3789 for depmode in $am_compiler_list; do
3790 # Setup a source with many dependencies, because some compilers
3791 # like to wrap large dependency lists on column 80 (with \), and
3792 # we should not choose a depcomp mode which is confused by this.
3794 # We need to recreate these files for each test, as the compiler may
3795 # overwrite some of them when testing with obscure command lines.
3796 # This happens at least with the AIX C compiler.
3798 for i in 1 2 3 4 5 6; do
3799 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3800 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3801 # Solaris 8's
{/usr
,}/bin
/sh.
3802 touch sub
/conftst
$i.h
3804 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3806 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3807 # mode. It turns out that the SunPro C++ compiler does not properly
3808 # handle `-M -o', and we need to detect this. Also, some Intel
3809 # versions had trouble with output in subdirs
3810 am__obj
=sub
/conftest.
${OBJEXT-o}
3811 am__minus_obj
="-o $am__obj"
3814 # This depmode causes a compiler race in universal mode.
3815 test "$am__universal" = false ||
continue
3818 # after this tag, mechanisms are not by side-effect, so they'll
3819 # only be used when explicitly requested
3820 if test "x$enable_dependency_tracking" = xyes
; then
3826 msvisualcpp | msvcmsys
)
3827 # This compiler won't grok `-c -o', but also, the minuso test has
3828 # not run yet. These depmodes are late enough in the game, and
3829 # so weak that their functioning should not be impacted.
3830 am__obj
=conftest.
${OBJEXT-o}
3835 if depmode
=$depmode \
3836 source=sub
/conftest.c object
=$am__obj \
3837 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3838 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3839 >/dev
/null
2>conftest.err
&&
3840 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3841 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3842 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3843 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3844 # icc doesn't choke on unknown options, it will just issue warnings
3845 # or remarks (even with -Werror). So we grep stderr for any message
3846 # that says an option was ignored or not supported.
3847 # When given -MP, icc 7.0 and 7.1 complain thusly:
3848 # icc: Command line warning: ignoring option '-M'; no argument required
3849 # The diagnosis changed in icc 8.0:
3850 # icc: Command line remark: option '-MP' not supported
3851 if (grep 'ignoring option' conftest.err ||
3852 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3853 am_cv_CC_dependencies_compiler_type
=$depmode
3862 am_cv_CC_dependencies_compiler_type
=none
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3868 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3871 test "x$enable_dependency_tracking" != xno \
3872 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3874 am__fastdepCC_FALSE
='#'
3876 am__fastdepCC_TRUE
='#'
3877 am__fastdepCC_FALSE
=
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3882 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3883 if ${ac_cv_path_SED+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3887 for ac_i
in 1 2 3 4 5 6 7; do
3888 ac_script
="$ac_script$as_nl$ac_script"
3890 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3891 { ac_script
=; unset ac_script
;}
3892 if test -z "$SED"; then
3893 ac_path_SED_found
=false
3894 # Loop through the user's path and test for each of PROGNAME-LIST
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 for ac_prog
in sed gsed
; do
3901 for ac_exec_ext
in '' $ac_executable_extensions; do
3902 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3903 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3904 # Check for GNU ac_path_SED and select it if it is found.
3905 # Check for GNU $ac_path_SED
3906 case `"$ac_path_SED" --version 2>&1` in
3908 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3911 $as_echo_n 0123456789 >"conftest.in"
3914 cat "conftest.in" "conftest.in" >"conftest.tmp"
3915 mv "conftest.tmp" "conftest.in"
3916 cp "conftest.in" "conftest.nl"
3917 $as_echo '' >> "conftest.nl"
3918 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3919 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3920 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3921 if test $ac_count -gt ${ac_path_SED_max-0}; then
3922 # Best one so far, save it but keep looking for a better one
3923 ac_cv_path_SED
="$ac_path_SED"
3924 ac_path_SED_max
=$ac_count
3926 # 10*(2^10) chars as input seems more than enough
3927 test $ac_count -gt 10 && break
3929 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3932 $ac_path_SED_found && break 3
3937 if test -z "$ac_cv_path_SED"; then
3938 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3946 $as_echo "$ac_cv_path_SED" >&6; }
3947 SED
="$ac_cv_path_SED"
3950 test -z "$SED" && SED
=sed
3951 Xsed
="$SED -e 1s/^X//"
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3964 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3965 if ${ac_cv_path_GREP+:} false
; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -z "$GREP"; then
3969 ac_path_GREP_found
=false
3970 # Loop through the user's path and test for each of PROGNAME-LIST
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3972 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_prog
in grep ggrep
; do
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3979 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3980 # Check for GNU ac_path_GREP and select it if it is found.
3981 # Check for GNU $ac_path_GREP
3982 case `"$ac_path_GREP" --version 2>&1` in
3984 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3987 $as_echo_n 0123456789 >"conftest.in"
3990 cat "conftest.in" "conftest.in" >"conftest.tmp"
3991 mv "conftest.tmp" "conftest.in"
3992 cp "conftest.in" "conftest.nl"
3993 $as_echo 'GREP' >> "conftest.nl"
3994 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3995 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3996 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3997 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3998 # Best one so far, save it but keep looking for a better one
3999 ac_cv_path_GREP
="$ac_path_GREP"
4000 ac_path_GREP_max
=$ac_count
4002 # 10*(2^10) chars as input seems more than enough
4003 test $ac_count -gt 10 && break
4005 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4008 $ac_path_GREP_found && break 3
4013 if test -z "$ac_cv_path_GREP"; then
4014 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4017 ac_cv_path_GREP
=$GREP
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4022 $as_echo "$ac_cv_path_GREP" >&6; }
4023 GREP
="$ac_cv_path_GREP"
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4027 $as_echo_n "checking for egrep... " >&6; }
4028 if ${ac_cv_path_EGREP+:} false
; then :
4029 $as_echo_n "(cached) " >&6
4031 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4032 then ac_cv_path_EGREP
="$GREP -E"
4034 if test -z "$EGREP"; then
4035 ac_path_EGREP_found
=false
4036 # Loop through the user's path and test for each of PROGNAME-LIST
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_prog
in egrep; do
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4045 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4046 # Check for GNU ac_path_EGREP and select it if it is found.
4047 # Check for GNU $ac_path_EGREP
4048 case `"$ac_path_EGREP" --version 2>&1` in
4050 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4053 $as_echo_n 0123456789 >"conftest.in"
4056 cat "conftest.in" "conftest.in" >"conftest.tmp"
4057 mv "conftest.tmp" "conftest.in"
4058 cp "conftest.in" "conftest.nl"
4059 $as_echo 'EGREP' >> "conftest.nl"
4060 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4061 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4062 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4063 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4064 # Best one so far, save it but keep looking for a better one
4065 ac_cv_path_EGREP
="$ac_path_EGREP"
4066 ac_path_EGREP_max
=$ac_count
4068 # 10*(2^10) chars as input seems more than enough
4069 test $ac_count -gt 10 && break
4071 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4074 $ac_path_EGREP_found && break 3
4079 if test -z "$ac_cv_path_EGREP"; then
4080 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4083 ac_cv_path_EGREP
=$EGREP
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4089 $as_echo "$ac_cv_path_EGREP" >&6; }
4090 EGREP
="$ac_cv_path_EGREP"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4094 $as_echo_n "checking for fgrep... " >&6; }
4095 if ${ac_cv_path_FGREP+:} false
; then :
4096 $as_echo_n "(cached) " >&6
4098 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4099 then ac_cv_path_FGREP
="$GREP -F"
4101 if test -z "$FGREP"; then
4102 ac_path_FGREP_found
=false
4103 # Loop through the user's path and test for each of PROGNAME-LIST
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_prog
in fgrep
; do
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4112 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4113 # Check for GNU ac_path_FGREP and select it if it is found.
4114 # Check for GNU $ac_path_FGREP
4115 case `"$ac_path_FGREP" --version 2>&1` in
4117 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4120 $as_echo_n 0123456789 >"conftest.in"
4123 cat "conftest.in" "conftest.in" >"conftest.tmp"
4124 mv "conftest.tmp" "conftest.in"
4125 cp "conftest.in" "conftest.nl"
4126 $as_echo 'FGREP' >> "conftest.nl"
4127 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4129 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4130 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4131 # Best one so far, save it but keep looking for a better one
4132 ac_cv_path_FGREP
="$ac_path_FGREP"
4133 ac_path_FGREP_max
=$ac_count
4135 # 10*(2^10) chars as input seems more than enough
4136 test $ac_count -gt 10 && break
4138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4141 $ac_path_FGREP_found && break 3
4146 if test -z "$ac_cv_path_FGREP"; then
4147 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4150 ac_cv_path_FGREP
=$FGREP
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4156 $as_echo "$ac_cv_path_FGREP" >&6; }
4157 FGREP
="$ac_cv_path_FGREP"
4160 test -z "$GREP" && GREP
=grep
4180 # Check whether --with-gnu-ld was given.
4181 if test "${with_gnu_ld+set}" = set; then :
4182 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4188 if test "$GCC" = yes; then
4189 # Check if gcc -print-prog-name=ld gives a path.
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4191 $as_echo_n "checking for ld used by $CC... " >&6; }
4194 # gcc leaves a trailing carriage return which upsets mingw
4195 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4197 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4200 # Accept absolute paths.
4202 re_direlt
='/[^/][^/]*/\.\./'
4203 # Canonicalize the pathname of ld
4204 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4205 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4206 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4208 test -z "$LD" && LD
="$ac_prog"
4211 # If it fails, then pretend we aren't using GCC.
4215 # If it is relative, then search for the first ld in PATH.
4219 elif test "$with_gnu_ld" = yes; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4221 $as_echo_n "checking for GNU ld... " >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4224 $as_echo_n "checking for non-GNU ld... " >&6; }
4226 if ${lt_cv_path_LD+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -z "$LD"; then
4230 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4231 for ac_dir
in $PATH; do
4233 test -z "$ac_dir" && ac_dir
=.
4234 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4235 lt_cv_path_LD
="$ac_dir/$ac_prog"
4236 # Check to see if the program is GNU ld. I'd rather use --version,
4237 # but apparently some variants of GNU ld only accept -v.
4238 # Break only if it was the GNU/non-GNU ld that we prefer.
4239 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4240 *GNU
* |
*'with BFD'*)
4241 test "$with_gnu_ld" != no
&& break
4244 test "$with_gnu_ld" != yes && break
4251 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4256 if test -n "$LD"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4258 $as_echo "$LD" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4263 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4265 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4266 if ${lt_cv_prog_gnu_ld+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4270 case `$LD -v 2>&1 </dev/null` in
4271 *GNU
* |
*'with BFD'*)
4272 lt_cv_prog_gnu_ld
=yes
4275 lt_cv_prog_gnu_ld
=no
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4280 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4281 with_gnu_ld
=$lt_cv_prog_gnu_ld
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4292 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4293 if ${lt_cv_path_NM+:} false
; then :
4294 $as_echo_n "(cached) " >&6
4296 if test -n "$NM"; then
4297 # Let the user override the test.
4300 lt_nm_to_check
="${ac_tool_prefix}nm"
4301 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4302 lt_nm_to_check
="$lt_nm_to_check nm"
4304 for lt_tmp_nm
in $lt_nm_to_check; do
4305 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4306 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4308 test -z "$ac_dir" && ac_dir
=.
4309 tmp_nm
="$ac_dir/$lt_tmp_nm"
4310 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4311 # Check to see if the nm accepts a BSD-compat flag.
4312 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4313 # nm: unknown option "B" ignored
4314 # Tru64's nm complains that /dev/null is an invalid object file
4315 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4316 */dev
/null
* |
*'Invalid file or object type'*)
4317 lt_cv_path_NM
="$tmp_nm -B"
4321 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4323 lt_cv_path_NM
="$tmp_nm -p"
4327 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4328 continue # so that we can try to find one that supports BSD flags
4337 : ${lt_cv_path_NM=no}
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4341 $as_echo "$lt_cv_path_NM" >&6; }
4342 if test "$lt_cv_path_NM" != "no"; then
4345 # Didn't find any BSD compatible name lister, look for dumpbin.
4346 if test -n "$DUMPBIN"; then :
4347 # Let the user override the test.
4349 if test -n "$ac_tool_prefix"; then
4350 for ac_prog
in dumpbin
"link -dump"
4352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4353 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$DUMPBIN"; then
4360 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir
=.
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 DUMPBIN
=$ac_cv_prog_DUMPBIN
4380 if test -n "$DUMPBIN"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4382 $as_echo "$DUMPBIN" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$DUMPBIN" && break
4392 if test -z "$DUMPBIN"; then
4393 ac_ct_DUMPBIN
=$DUMPBIN
4394 for ac_prog
in dumpbin
"link -dump"
4396 # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy
$ac_prog; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$ac_ct_DUMPBIN"; then
4404 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4424 if test -n "$ac_ct_DUMPBIN"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4426 $as_echo "$ac_ct_DUMPBIN" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$ac_ct_DUMPBIN" && break
4436 if test "x$ac_ct_DUMPBIN" = x
; then
4439 case $cross_compiling:$ac_tool_warned in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned
=yes ;;
4445 DUMPBIN
=$ac_ct_DUMPBIN
4449 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4451 DUMPBIN
="$DUMPBIN -symbols"
4459 if test "$DUMPBIN" != ":"; then
4463 test -z "$NM" && NM
=nm
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4471 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4472 if ${lt_cv_nm_interface+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 lt_cv_nm_interface
="BSD nm"
4476 echo "int some_variable = 0;" > conftest.
$ac_ext
4477 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4478 (eval "$ac_compile" 2>conftest.err
)
4479 cat conftest.err
>&5
4480 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4481 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4482 cat conftest.err
>&5
4483 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4484 cat conftest.out
>&5
4485 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4486 lt_cv_nm_interface
="MS dumpbin"
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4491 $as_echo "$lt_cv_nm_interface" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4494 $as_echo_n "checking whether ln -s works... " >&6; }
4496 if test "$LN_S" = "ln -s"; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4498 $as_echo "yes" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4501 $as_echo "no, using $LN_S" >&6; }
4504 # find the maximum length of command line arguments
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4506 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4507 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4508 $as_echo_n "(cached) " >&6
4515 # On DJGPP, this test can blow up pretty badly due to problems in libc
4516 # (any single argument exceeding 2000 bytes causes a buffer overrun
4517 # during glob expansion). Even if it were fixed, the result of this
4518 # check would be larger than it should be.
4519 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4523 # Under GNU Hurd, this test is not required because there is
4524 # no limit to the length of command line arguments.
4525 # Libtool will interpret -1 as no limit whatsoever
4526 lt_cv_sys_max_cmd_len
=-1;
4529 cygwin
* | mingw
* | cegcc
*)
4530 # On Win9x/ME, this test blows up -- it succeeds, but takes
4531 # about 5 minutes as the teststring grows exponentially.
4532 # Worse, since 9x/ME are not pre-emptively multitasking,
4533 # you end up with a "frozen" computer, even though with patience
4534 # the test eventually succeeds (with a max line length of 256k).
4535 # Instead, let's just punt: use the minimum linelength reported by
4536 # all of the supported platforms: 8192 (on NT/2K/XP).
4537 lt_cv_sys_max_cmd_len
=8192;
4541 # On MiNT this can take a long time and run out of memory.
4542 lt_cv_sys_max_cmd_len
=8192;
4546 # On AmigaOS with pdksh, this test takes hours, literally.
4547 # So we just punt and use a minimum line length of 8192.
4548 lt_cv_sys_max_cmd_len
=8192;
4551 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4552 # This has been around since 386BSD, at least. Likely further.
4553 if test -x /sbin
/sysctl
; then
4554 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4555 elif test -x /usr
/sbin
/sysctl
; then
4556 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4558 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4560 # And add a safety zone
4561 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4562 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4566 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4567 lt_cv_sys_max_cmd_len
=196608
4571 # The test takes a long time on OS/2.
4572 lt_cv_sys_max_cmd_len
=8192
4576 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4577 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4578 # nice to cause kernel panics so lets avoid the loop below.
4579 # First set a reasonable default.
4580 lt_cv_sys_max_cmd_len
=16384
4582 if test -x /sbin
/sysconfig
; then
4583 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4584 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4589 lt_cv_sys_max_cmd_len
=102400
4591 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4592 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4593 if test -n "$kargmax"; then
4594 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4596 lt_cv_sys_max_cmd_len
=32768
4600 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4601 if test -n "$lt_cv_sys_max_cmd_len"; then
4602 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4603 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4605 # Make teststring a little bigger before we do anything with it.
4606 # a 1K string should be a reasonable start.
4607 for i
in 1 2 3 4 5 6 7 8 ; do
4608 teststring
=$teststring$teststring
4610 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4611 # If test is not a shell built-in, we'll probably end up computing a
4612 # maximum length that is only half of the actual maximum length, but
4614 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4615 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4616 test $i != 17 # 1/2 MB should be enough
4619 teststring
=$teststring$teststring
4621 # Only check the string length outside the loop.
4622 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4624 # Add a significant safety factor because C++ compilers can tack on
4625 # massive amounts of additional arguments before passing them to the
4626 # linker. It appears as though 1/2 is a usable value.
4627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4634 if test -n $lt_cv_sys_max_cmd_len ; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4636 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4639 $as_echo "none" >&6; }
4641 max_cmd_len
=$lt_cv_sys_max_cmd_len
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4653 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4654 # Try some XSI features
4657 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4659 && eval 'test $(( 1 + 1 )) -eq 2 \
4660 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4663 $as_echo "$xsi_shell" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4667 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4669 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4671 && lt_shell_append=yes
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4673 $as_echo "$lt_shell_append" >&6; }
4676 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4686 # test EBCDIC or ASCII
4687 case `echo X|tr X '\101'` in
4688 A) # ASCII based system
4689 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4690 lt_SP2NL='tr \040 \012'
4691 lt_NL2SP='tr \015\012 \040\040'
4693 *) # EBCDIC based system
4694 lt_SP2NL='tr \100 \n'
4695 lt_NL2SP='tr \r\n \100\100'
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4708 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4709 if ${lt_cv_to_host_file_cmd+:} false; then :
4710 $as_echo_n "(cached
) " >&6
4715 *-*-mingw* ) # actually msys
4716 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4719 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4721 * ) # otherwise, assume *nix
4722 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4728 *-*-mingw* ) # actually msys
4729 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4732 lt_cv_to_host_file_cmd=func_convert_file_noop
4734 * ) # otherwise, assume *nix
4735 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4739 * ) # unhandled hosts (and "normal
" native builds)
4740 lt_cv_to_host_file_cmd=func_convert_file_noop
4746 to_host_file_cmd=$lt_cv_to_host_file_cmd
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4748 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4755 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4756 if ${lt_cv_to_tool_file_cmd+:} false; then :
4757 $as_echo_n "(cached
) " >&6
4759 #assume ordinary cross tools, or native build.
4760 lt_cv_to_tool_file_cmd=func_convert_file_noop
4764 *-*-mingw* ) # actually msys
4765 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4773 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4775 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4782 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4783 if ${lt_cv_ld_reload_flag+:} false; then :
4784 $as_echo_n "(cached
) " >&6
4786 lt_cv_ld_reload_flag='-r'
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4789 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4790 reload_flag=$lt_cv_ld_reload_flag
4791 case $reload_flag in
4793 *) reload_flag=" $reload_flag" ;;
4795 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4797 cygwin* | mingw* | pw32* | cegcc*)
4798 if test "$GCC" != yes; then
4803 if test "$GCC" = yes; then
4804 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4806 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4821 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4823 $as_echo_n "checking
for $ac_word...
" >&6; }
4824 if ${ac_cv_prog_OBJDUMP+:} false; then :
4825 $as_echo_n "(cached
) " >&6
4827 if test -n "$OBJDUMP"; then
4828 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4847 OBJDUMP=$ac_cv_prog_OBJDUMP
4848 if test -n "$OBJDUMP"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4850 $as_echo "$OBJDUMP" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4853 $as_echo "no
" >&6; }
4858 if test -z "$ac_cv_prog_OBJDUMP"; then
4859 ac_ct_OBJDUMP=$OBJDUMP
4860 # Extract the first word of "objdump
", so it can be a program name with args.
4861 set dummy objdump; ac_word=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4863 $as_echo_n "checking
for $ac_word...
" >&6; }
4864 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4865 $as_echo_n "(cached
) " >&6
4867 if test -n "$ac_ct_OBJDUMP"; then
4868 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4887 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4888 if test -n "$ac_ct_OBJDUMP"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4890 $as_echo "$ac_ct_OBJDUMP" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4893 $as_echo "no
" >&6; }
4896 if test "x
$ac_ct_OBJDUMP" = x; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4902 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4903 ac_tool_warned=yes ;;
4905 OBJDUMP=$ac_ct_OBJDUMP
4908 OBJDUMP="$ac_cv_prog_OBJDUMP"
4911 test -z "$OBJDUMP" && OBJDUMP=objdump
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4919 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4920 if ${lt_cv_deplibs_check_method+:} false; then :
4921 $as_echo_n "(cached
) " >&6
4923 lt_cv_file_magic_cmd='$MAGIC_CMD'
4924 lt_cv_file_magic_test_file=
4925 lt_cv_deplibs_check_method='unknown'
4926 # Need to set the preceding variable on all platforms that support
4927 # interlibrary dependencies.
4928 # 'none' -- dependencies not supported.
4929 # `unknown' -- same as none, but documents that we really don't know.
4930 # 'pass_all' -- all dependencies passed with no checks.
4931 # 'test_compile' -- check by making test program.
4932 # 'file_magic [[regex]]' -- check by looking for files in library path
4933 # which responds to the $file_magic_cmd with a given extended regex.
4934 # If you have `file' or equivalent on your system and you're not sure
4935 # whether `pass_all' will *always* work, you probably want this one.
4939 lt_cv_deplibs_check_method=pass_all
4943 lt_cv_deplibs_check_method=pass_all
4947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4948 lt_cv_file_magic_cmd='/usr/bin/file -L'
4949 lt_cv_file_magic_test_file=/shlib/libc.so
4953 # func_win32_libid is a shell function defined in ltmain.sh
4954 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4955 lt_cv_file_magic_cmd='func_win32_libid'
4959 # Base MSYS/MinGW do not provide the 'file' command needed by
4960 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4961 # unless we find 'file', for example because we are cross-compiling.
4962 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4963 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4965 lt_cv_file_magic_cmd='func_win32_libid'
4967 # Keep this pattern in sync with the one in func_win32_libid.
4968 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4974 # use the weaker test based on 'objdump'. See mingw*.
4975 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4976 lt_cv_file_magic_cmd='$OBJDUMP -f'
4979 darwin* | rhapsody*)
4980 lt_cv_deplibs_check_method=pass_all
4983 freebsd* | dragonfly*)
4984 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4987 # Not sure whether the presence of OpenBSD here was a mistake.
4988 # Let's accept both of them until this is cleared up.
4989 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4990 lt_cv_file_magic_cmd=/usr/bin/file
4991 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4995 lt_cv_deplibs_check_method=pass_all
5000 lt_cv_deplibs_check_method=pass_all
5004 lt_cv_deplibs_check_method=pass_all
5007 hpux10.20* | hpux11*)
5008 lt_cv_file_magic_cmd=/usr/bin/file
5011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5012 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5015 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]'
5016 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5019 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5020 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5026 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5027 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5030 irix5* | irix6* | nonstopux*)
5032 *-32|*"-32 ") libmagic=32-bit;;
5033 *-n32|*"-n32 ") libmagic=N32;;
5034 *-64|*"-64 ") libmagic=64-bit;;
5035 *) libmagic=never-match;;
5037 lt_cv_deplibs_check_method=pass_all
5040 # This must be glibc/ELF.
5041 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5042 lt_cv_deplibs_check_method=pass_all
5046 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5049 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5054 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5055 lt_cv_file_magic_cmd=/usr/bin/file
5056 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5060 lt_cv_deplibs_check_method=pass_all
5064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5065 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5067 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5071 osf3* | osf4* | osf5*)
5072 lt_cv_deplibs_check_method=pass_all
5076 lt_cv_deplibs_check_method=pass_all
5080 lt_cv_deplibs_check_method=pass_all
5083 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5084 lt_cv_deplibs_check_method=pass_all
5088 case $host_vendor in
5090 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]'
5091 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5094 lt_cv_deplibs_check_method=pass_all
5097 lt_cv_file_magic_cmd='/bin/file'
5098 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5101 lt_cv_file_magic_cmd='/bin/file'
5102 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5103 lt_cv_file_magic_test_file=/lib/libc.so
5106 lt_cv_deplibs_check_method=pass_all
5109 lt_cv_deplibs_check_method=pass_all
5115 lt_cv_deplibs_check_method=pass_all
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5121 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5125 if test "$build" = "$host"; then
5128 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5131 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5137 file_magic_cmd=$lt_cv_file_magic_cmd
5138 deplibs_check_method=$lt_cv_deplibs_check_method
5139 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5162 if test -n "$ac_tool_prefix"; then
5163 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5164 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5166 $as_echo_n "checking
for $ac_word...
" >&6; }
5167 if ${ac_cv_prog_DLLTOOL+:} false; then :
5168 $as_echo_n "(cached
) " >&6
5170 if test -n "$DLLTOOL"; then
5171 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5190 DLLTOOL=$ac_cv_prog_DLLTOOL
5191 if test -n "$DLLTOOL"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5193 $as_echo "$DLLTOOL" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5196 $as_echo "no
" >&6; }
5201 if test -z "$ac_cv_prog_DLLTOOL"; then
5202 ac_ct_DLLTOOL=$DLLTOOL
5203 # Extract the first word of "dlltool
", so it can be a program name with args.
5204 set dummy dlltool; ac_word=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5206 $as_echo_n "checking
for $ac_word...
" >&6; }
5207 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5208 $as_echo_n "(cached
) " >&6
5210 if test -n "$ac_ct_DLLTOOL"; then
5211 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5230 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5231 if test -n "$ac_ct_DLLTOOL"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5233 $as_echo "$ac_ct_DLLTOOL" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5236 $as_echo "no
" >&6; }
5239 if test "x
$ac_ct_DLLTOOL" = x; then
5242 case $cross_compiling:$ac_tool_warned in
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5245 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5246 ac_tool_warned=yes ;;
5248 DLLTOOL=$ac_ct_DLLTOOL
5251 DLLTOOL="$ac_cv_prog_DLLTOOL"
5254 test -z "$DLLTOOL" && DLLTOOL=dlltool
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5263 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5264 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5265 $as_echo_n "(cached
) " >&6
5267 lt_cv_sharedlib_from_linklib_cmd='unknown'
5270 cygwin* | mingw* | pw32* | cegcc*)
5271 # two different shell functions defined in ltmain.sh
5272 # decide which to use based on capabilities of $DLLTOOL
5273 case `$DLLTOOL --help 2>&1` in
5274 *--identify-strict*)
5275 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5278 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5283 # fallback: assume linklib IS sharedlib
5284 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5290 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5291 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5292 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5301 if test -n "$ac_tool_prefix"; then
5304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5307 $as_echo_n "checking
for $ac_word...
" >&6; }
5308 if ${ac_cv_prog_AR+:} false; then :
5309 $as_echo_n "(cached
) " >&6
5311 if test -n "$AR"; then
5312 ac_cv_prog_AR="$AR" # Let the user override the test.
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5321 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5332 if test -n "$AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5334 $as_echo "$AR" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5337 $as_echo "no
" >&6; }
5341 test -n "$AR" && break
5344 if test -z "$AR"; then
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy $ac_prog; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5351 $as_echo_n "checking
for $ac_word...
" >&6; }
5352 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5353 $as_echo_n "(cached
) " >&6
5355 if test -n "$ac_ct_AR"; then
5356 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5365 ac_cv_prog_ac_ct_AR="$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5375 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5376 if test -n "$ac_ct_AR"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5378 $as_echo "$ac_ct_AR" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5381 $as_echo "no
" >&6; }
5385 test -n "$ac_ct_AR" && break
5388 if test "x
$ac_ct_AR" = x; then
5391 case $cross_compiling:$ac_tool_warned in
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5394 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5395 ac_tool_warned=yes ;;
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5415 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5416 if ${lt_cv_ar_at_file+:} false; then :
5417 $as_echo_n "(cached
) " >&6
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5431 if ac_fn_c_try_compile "$LINENO"; then :
5432 echo conftest.$ac_objext > conftest.lst
5433 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5434 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5435 (eval $lt_ar_try) 2>&5
5437 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5438 test $ac_status = 0; }
5439 if test "$ac_status" -eq 0; then
5440 # Ensure the archiver fails upon bogus file names.
5441 rm -f conftest.$ac_objext libconftest.a
5442 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5443 (eval $lt_ar_try) 2>&5
5445 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5446 test $ac_status = 0; }
5447 if test "$ac_status" -ne 0; then
5451 rm -f conftest.* libconftest.a
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5458 $as_echo "$lt_cv_ar_at_file" >&6; }
5460 if test "x
$lt_cv_ar_at_file" = xno; then
5463 archiver_list_spec=$lt_cv_ar_at_file
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}strip; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5476 $as_echo_n "checking
for $ac_word...
" >&6; }
5477 if ${ac_cv_prog_STRIP+:} false; then :
5478 $as_echo_n "(cached
) " >&6
5480 if test -n "$STRIP"; then
5481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5500 STRIP=$ac_cv_prog_STRIP
5501 if test -n "$STRIP"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5503 $as_echo "$STRIP" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5506 $as_echo "no
" >&6; }
5511 if test -z "$ac_cv_prog_STRIP"; then
5513 # Extract the first word of "strip
", so it can be a program name with args.
5514 set dummy strip; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5516 $as_echo_n "checking
for $ac_word...
" >&6; }
5517 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5518 $as_echo_n "(cached
) " >&6
5520 if test -n "$ac_ct_STRIP"; then
5521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530 ac_cv_prog_ac_ct_STRIP="strip
"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5541 if test -n "$ac_ct_STRIP"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5543 $as_echo "$ac_ct_STRIP" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5546 $as_echo "no
" >&6; }
5549 if test "x
$ac_ct_STRIP" = x; then
5552 case $cross_compiling:$ac_tool_warned in
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5555 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5556 ac_tool_warned=yes ;;
5561 STRIP="$ac_cv_prog_STRIP"
5564 test -z "$STRIP" && STRIP=:
5571 if test -n "$ac_tool_prefix"; then
5572 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5575 $as_echo_n "checking
for $ac_word...
" >&6; }
5576 if ${ac_cv_prog_RANLIB+:} false; then :
5577 $as_echo_n "(cached
) " >&6
5579 if test -n "$RANLIB"; then
5580 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5599 RANLIB=$ac_cv_prog_RANLIB
5600 if test -n "$RANLIB"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5602 $as_echo "$RANLIB" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5605 $as_echo "no
" >&6; }
5610 if test -z "$ac_cv_prog_RANLIB"; then
5611 ac_ct_RANLIB=$RANLIB
5612 # Extract the first word of "ranlib
", so it can be a program name with args.
5613 set dummy ranlib; ac_word=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5615 $as_echo_n "checking
for $ac_word...
" >&6; }
5616 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5617 $as_echo_n "(cached
) " >&6
5619 if test -n "$ac_ct_RANLIB"; then
5620 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir=.
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5629 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5640 if test -n "$ac_ct_RANLIB"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5642 $as_echo "$ac_ct_RANLIB" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5645 $as_echo "no
" >&6; }
5648 if test "x
$ac_ct_RANLIB" = x; then
5651 case $cross_compiling:$ac_tool_warned in
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5654 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5655 ac_tool_warned=yes ;;
5657 RANLIB=$ac_ct_RANLIB
5660 RANLIB="$ac_cv_prog_RANLIB"
5663 test -z "$RANLIB" && RANLIB=:
5670 # Determine commands to create old-style static archives.
5671 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5672 old_postinstall_cmds='chmod 644 $oldlib'
5673 old_postuninstall_cmds=
5675 if test -n "$RANLIB"; then
5678 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5681 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5684 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5689 lock_old_archive_extraction=yes ;;
5691 lock_old_archive_extraction=no ;;
5732 # If no C compiler was specified, use CC.
5735 # If no C compiler flags were specified, use CFLAGS.
5736 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5738 # Allow CC to be a program name with arguments.
5742 # Check for command to grab the raw symbol name followed by C symbol from nm.
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5744 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5745 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5746 $as_echo_n "(cached
) " >&6
5749 # These are sane defaults that work on at least a few old systems.
5750 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5752 # Character class describing NM global symbol codes.
5753 symcode='[BCDEGRST]'
5755 # Regexp to match symbols that can be accessed directly from C.
5756 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5758 # Define system-specific variables.
5763 cygwin* | mingw* | pw32* | cegcc*)
5764 symcode='[ABCDGISTW]'
5767 if test "$host_cpu" = ia64; then
5768 symcode='[ABCDEGRST]'
5772 symcode='[BCDEGRST]'
5775 symcode='[BCDEGQRST]'
5786 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5794 # If we're using GNU nm, then use its standard symbol codes.
5795 case `$NM -V 2>&1` in
5796 *GNU* | *'with BFD'*)
5797 symcode='[ABCDGIRSTW]' ;;
5800 # Transform an extracted symbol line into a proper C declaration.
5801 # Some systems (esp. on ia64) link data and code symbols differently,
5802 # so use this general approach.
5803 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5805 # Transform an extracted symbol line into symbol name and symbol address
5806 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5807 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'"
5809 # Handle CRLF in mingw tool chain
5813 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5817 # Try without a prefix underscore, then with it.
5818 for ac_symprfx in "" "_
"; do
5820 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5821 symxfrm="\\1 $ac_symprfx\\2 \\2"
5823 # Write the raw and C identifiers.
5824 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5825 # Fake it for dumpbin and say T for any non-static function
5826 # and D for any global variable.
5827 # Also find C++ and __fastcall symbols from MSVC++,
5828 # which start with @ or ?.
5829 lt_cv_sys_global_symbol_pipe="$AWK '"\
5830 " {last_section=section; section=\$ 3};"\
5831 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5832 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5833 " \$ 0!~/External *\|/{next};"\
5834 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5835 " {if(hide[section]) next};"\
5836 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5837 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5838 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5839 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5840 " ' prfx
=^
$ac_symprfx"
5842 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5844 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5846 # Check to see that the pipe works correctly.
5850 cat > conftest.$ac_ext <<_LT_EOF
5855 void nm_test_func(void);
5856 void nm_test_func(void){}
5860 int main(){nm_test_var='a';nm_test_func();return(0);}
5863 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5864 (eval $ac_compile) 2>&5
5866 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5867 test $ac_status = 0; }; then
5868 # Now try to grab the symbols.
5870 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5871 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5873 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5874 test $ac_status = 0; } && test -s "$nlist"; then
5875 # Try sorting and uniquifying the output.
5876 if sort "$nlist" | uniq > "$nlist"T; then
5877 mv -f "$nlist"T "$nlist"
5882 # Make sure that we snagged all the symbols we need.
5883 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5884 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5885 cat <<_LT_EOF > conftest.$ac_ext
5886 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5887 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5888 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5889 relocations are performed -- see ld's documentation on pseudo-relocs. */
5890 # define LT_DLSYM_CONST
5891 #elif defined(__osf__)
5892 /* This system does not cope well with relocations in const data. */
5893 # define LT_DLSYM_CONST
5895 # define LT_DLSYM_CONST const
5903 # Now generate the symbol file.
5904 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5906 cat <<_LT_EOF >> conftest.$ac_ext
5908 /* The mapping between symbol names and symbols. */
5909 LT_DLSYM_CONST struct {
5913 lt__PROGRAM__LTX_preloaded_symbols[] =
5915 { "@PROGRAM@
", (void *) 0 },
5917 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5918 cat <<\_LT_EOF >> conftest.$ac_ext
5922 /* This works around a problem in FreeBSD linker */
5923 #ifdef FREEBSD_WORKAROUND
5924 static const void *lt_preloaded_setup() {
5925 return lt__PROGRAM__LTX_preloaded_symbols;
5933 # Now try linking the two files.
5934 mv conftest.$ac_objext conftstm.$ac_objext
5935 lt_globsym_save_LIBS=$LIBS
5936 lt_globsym_save_CFLAGS=$CFLAGS
5937 LIBS="conftstm.
$ac_objext"
5938 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5939 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5940 (eval $ac_link) 2>&5
5942 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5943 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5946 LIBS=$lt_globsym_save_LIBS
5947 CFLAGS=$lt_globsym_save_CFLAGS
5949 echo "cannot
find nm_test_func
in $nlist" >&5
5952 echo "cannot
find nm_test_var
in $nlist" >&5
5955 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5958 echo "$progname: failed program was
:" >&5
5959 cat conftest.$ac_ext >&5
5961 rm -rf conftest* conftst*
5963 # Do not use the global_symbol_pipe unless it works.
5964 if test "$pipe_works" = yes; then
5967 lt_cv_sys_global_symbol_pipe=
5973 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5974 lt_cv_sys_global_symbol_to_cdecl=
5976 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5978 $as_echo "failed
" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5981 $as_echo "ok
" >&6; }
5984 # Response file support.
5985 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5986 nm_file_list_spec='@'
5987 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5988 nm_file_list_spec='@'
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6018 $as_echo_n "checking
for sysroot...
" >&6; }
6020 # Check whether --with-sysroot was given.
6021 if test "${with_sysroot+set}" = set; then :
6022 withval=$with_sysroot;
6029 case ${with_sysroot} in #(
6031 if test "$GCC" = yes; then
6032 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6036 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6042 $as_echo "${with_sysroot}" >&6; }
6043 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6048 $as_echo "${lt_sysroot:-no}" >&6; }
6054 # Check whether --enable-libtool-lock was given.
6055 if test "${enable_libtool_lock+set}" = set; then :
6056 enableval=$enable_libtool_lock;
6059 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6061 # Some flags need to be propagated to the compiler or linker for good
6065 # Find out which ABI we are using.
6066 echo 'int i;' > conftest.$ac_ext
6067 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6068 (eval $ac_compile) 2>&5
6070 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6071 test $ac_status = 0; }; then
6072 case `/usr/bin/file conftest.$ac_objext` in
6084 # Find out which ABI we are using.
6085 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6086 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6087 (eval $ac_compile) 2>&5
6089 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6090 test $ac_status = 0; }; then
6091 if test "$lt_cv_prog_gnu_ld" = yes; then
6092 case `/usr/bin/file conftest.$ac_objext` in
6094 LD="${LD-ld} -melf32bsmip"
6097 LD="${LD-ld} -melf32bmipn32"
6100 LD="${LD-ld} -melf64bmip"
6104 case `/usr/bin/file conftest.$ac_objext` in
6120 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6121 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6122 # Find out which ABI we are using.
6123 echo 'int i;' > conftest.$ac_ext
6124 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6125 (eval $ac_compile) 2>&5
6127 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6128 test $ac_status = 0; }; then
6129 case `/usr/bin/file conftest.o` in
6132 x86_64-*kfreebsd*-gnu)
6133 LD="${LD-ld} -m elf_i386_fbsd
"
6136 LD="${LD-ld} -m elf_i386
"
6138 ppc64-*linux*|powerpc64-*linux*)
6139 LD="${LD-ld} -m elf32ppclinux
"
6142 LD="${LD-ld} -m elf_s390
"
6145 LD="${LD-ld} -m elf32_sparc
"
6151 x86_64-*kfreebsd*-gnu)
6152 LD="${LD-ld} -m elf_x86_64_fbsd
"
6155 LD="${LD-ld} -m elf_x86_64
"
6157 ppc*-*linux*|powerpc*-*linux*)
6158 LD="${LD-ld} -m elf64ppc
"
6160 s390*-*linux*|s390*-*tpf*)
6161 LD="${LD-ld} -m elf64_s390
"
6164 LD="${LD-ld} -m elf64_sparc
"
6174 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6175 SAVE_CFLAGS="$CFLAGS"
6176 CFLAGS="$CFLAGS -belf"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6178 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6179 if ${lt_cv_cc_needs_belf+:} false; then :
6180 $as_echo_n "(cached
) " >&6
6183 ac_cpp='$CPP $CPPFLAGS'
6184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 lt_cv_cc_needs_belf=yes
6202 lt_cv_cc_needs_belf=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6207 ac_cpp='$CPP $CPPFLAGS'
6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6214 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6215 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6216 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6217 CFLAGS="$SAVE_CFLAGS"
6221 # Find out which ABI we are using.
6222 echo 'int i;' > conftest.$ac_ext
6223 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6224 (eval $ac_compile) 2>&5
6226 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6227 test $ac_status = 0; }; then
6228 case `/usr/bin/file conftest.o` in
6230 case $lt_cv_prog_gnu_ld in
6234 LD="${LD-ld} -m elf_x86_64
"
6237 LD="${LD-ld} -m elf64_sparc
"
6240 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6241 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6246 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6258 need_locks="$enable_libtool_lock"
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}mt; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6264 $as_echo_n "checking
for $ac_word...
" >&6; }
6265 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6266 $as_echo_n "(cached
) " >&6
6268 if test -n "$MANIFEST_TOOL"; then
6269 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6289 if test -n "$MANIFEST_TOOL"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6291 $as_echo "$MANIFEST_TOOL" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6294 $as_echo "no
" >&6; }
6299 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6300 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6301 # Extract the first word of "mt
", so it can be a program name with args.
6302 set dummy mt; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$ac_ct_MANIFEST_TOOL"; then
6309 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6329 if test -n "$ac_ct_MANIFEST_TOOL"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6331 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6337 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6340 case $cross_compiling:$ac_tool_warned in
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6343 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6344 ac_tool_warned=yes ;;
6346 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6349 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6352 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6354 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6355 if ${lt_cv_path_mainfest_tool+:} false; then :
6356 $as_echo_n "(cached
) " >&6
6358 lt_cv_path_mainfest_tool=no
6359 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6360 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6361 cat conftest.err >&5
6362 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6363 lt_cv_path_mainfest_tool=yes
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6368 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6369 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6379 rhapsody* | darwin*)
6380 if test -n "$ac_tool_prefix"; then
6381 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6382 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6384 $as_echo_n "checking
for $ac_word...
" >&6; }
6385 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6386 $as_echo_n "(cached
) " >&6
6388 if test -n "$DSYMUTIL"; then
6389 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6408 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6409 if test -n "$DSYMUTIL"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6411 $as_echo "$DSYMUTIL" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6414 $as_echo "no
" >&6; }
6419 if test -z "$ac_cv_prog_DSYMUTIL"; then
6420 ac_ct_DSYMUTIL=$DSYMUTIL
6421 # Extract the first word of "dsymutil
", so it can be a program name with args.
6422 set dummy dsymutil; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6424 $as_echo_n "checking
for $ac_word...
" >&6; }
6425 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6426 $as_echo_n "(cached
) " >&6
6428 if test -n "$ac_ct_DSYMUTIL"; then
6429 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6448 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6449 if test -n "$ac_ct_DSYMUTIL"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6451 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6454 $as_echo "no
" >&6; }
6457 if test "x
$ac_ct_DSYMUTIL" = x; then
6460 case $cross_compiling:$ac_tool_warned in
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6463 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6464 ac_tool_warned=yes ;;
6466 DSYMUTIL=$ac_ct_DSYMUTIL
6469 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6472 if test -n "$ac_tool_prefix"; then
6473 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6474 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6476 $as_echo_n "checking
for $ac_word...
" >&6; }
6477 if ${ac_cv_prog_NMEDIT+:} false; then :
6478 $as_echo_n "(cached
) " >&6
6480 if test -n "$NMEDIT"; then
6481 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6500 NMEDIT=$ac_cv_prog_NMEDIT
6501 if test -n "$NMEDIT"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6503 $as_echo "$NMEDIT" >&6; }
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6506 $as_echo "no
" >&6; }
6511 if test -z "$ac_cv_prog_NMEDIT"; then
6512 ac_ct_NMEDIT=$NMEDIT
6513 # Extract the first word of "nmedit
", so it can be a program name with args.
6514 set dummy nmedit; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6516 $as_echo_n "checking
for $ac_word...
" >&6; }
6517 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6518 $as_echo_n "(cached
) " >&6
6520 if test -n "$ac_ct_NMEDIT"; then
6521 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6540 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6541 if test -n "$ac_ct_NMEDIT"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6543 $as_echo "$ac_ct_NMEDIT" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6546 $as_echo "no
" >&6; }
6549 if test "x
$ac_ct_NMEDIT" = x; then
6552 case $cross_compiling:$ac_tool_warned in
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6555 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6556 ac_tool_warned=yes ;;
6558 NMEDIT=$ac_ct_NMEDIT
6561 NMEDIT="$ac_cv_prog_NMEDIT"
6564 if test -n "$ac_tool_prefix"; then
6565 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6566 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6568 $as_echo_n "checking
for $ac_word...
" >&6; }
6569 if ${ac_cv_prog_LIPO+:} false; then :
6570 $as_echo_n "(cached
) " >&6
6572 if test -n "$LIPO"; then
6573 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6592 LIPO=$ac_cv_prog_LIPO
6593 if test -n "$LIPO"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6595 $as_echo "$LIPO" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6598 $as_echo "no
" >&6; }
6603 if test -z "$ac_cv_prog_LIPO"; then
6605 # Extract the first word of "lipo
", so it can be a program name with args.
6606 set dummy lipo; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6608 $as_echo_n "checking
for $ac_word...
" >&6; }
6609 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6610 $as_echo_n "(cached
) " >&6
6612 if test -n "$ac_ct_LIPO"; then
6613 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_ac_ct_LIPO="lipo
"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6632 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6633 if test -n "$ac_ct_LIPO"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6635 $as_echo "$ac_ct_LIPO" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6638 $as_echo "no
" >&6; }
6641 if test "x
$ac_ct_LIPO" = x; then
6644 case $cross_compiling:$ac_tool_warned in
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6648 ac_tool_warned=yes ;;
6653 LIPO="$ac_cv_prog_LIPO"
6656 if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}otool; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6660 $as_echo_n "checking
for $ac_word...
" >&6; }
6661 if ${ac_cv_prog_OTOOL+:} false; then :
6662 $as_echo_n "(cached
) " >&6
6664 if test -n "$OTOOL"; then
6665 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6684 OTOOL=$ac_cv_prog_OTOOL
6685 if test -n "$OTOOL"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6687 $as_echo "$OTOOL" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6690 $as_echo "no
" >&6; }
6695 if test -z "$ac_cv_prog_OTOOL"; then
6697 # Extract the first word of "otool
", so it can be a program name with args.
6698 set dummy otool; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6700 $as_echo_n "checking
for $ac_word...
" >&6; }
6701 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6702 $as_echo_n "(cached
) " >&6
6704 if test -n "$ac_ct_OTOOL"; then
6705 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_ac_ct_OTOOL="otool
"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6724 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6725 if test -n "$ac_ct_OTOOL"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6727 $as_echo "$ac_ct_OTOOL" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6730 $as_echo "no
" >&6; }
6733 if test "x
$ac_ct_OTOOL" = x; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6739 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6740 ac_tool_warned=yes ;;
6745 OTOOL="$ac_cv_prog_OTOOL"
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6752 $as_echo_n "checking
for $ac_word...
" >&6; }
6753 if ${ac_cv_prog_OTOOL64+:} false; then :
6754 $as_echo_n "(cached
) " >&6
6756 if test -n "$OTOOL64"; then
6757 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6776 OTOOL64=$ac_cv_prog_OTOOL64
6777 if test -n "$OTOOL64"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6779 $as_echo "$OTOOL64" >&6; }
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6782 $as_echo "no
" >&6; }
6787 if test -z "$ac_cv_prog_OTOOL64"; then
6788 ac_ct_OTOOL64=$OTOOL64
6789 # Extract the first word of "otool64
", so it can be a program name with args.
6790 set dummy otool64; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6792 $as_echo_n "checking
for $ac_word...
" >&6; }
6793 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6794 $as_echo_n "(cached
) " >&6
6796 if test -n "$ac_ct_OTOOL64"; then
6797 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6816 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6817 if test -n "$ac_ct_OTOOL64"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6819 $as_echo "$ac_ct_OTOOL64" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6822 $as_echo "no
" >&6; }
6825 if test "x
$ac_ct_OTOOL64" = x; then
6828 case $cross_compiling:$ac_tool_warned in
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6831 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6832 ac_tool_warned=yes ;;
6834 OTOOL64=$ac_ct_OTOOL64
6837 OTOOL64="$ac_cv_prog_OTOOL64"
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6867 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6868 if ${lt_cv_apple_cc_single_mod+:} false; then :
6869 $as_echo_n "(cached
) " >&6
6871 lt_cv_apple_cc_single_mod=no
6872 if test -z "${LT_MULTI_MODULE}"; then
6873 # By default we will add the -single_module flag. You can override
6874 # by either setting the environment variable LT_MULTI_MODULE
6875 # non-empty at configure time, or by adding -multi_module to the
6877 rm -rf libconftest.dylib*
6878 echo "int foo
(void
){return 1;}" > conftest.c
6879 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6880 -dynamiclib -Wl,-single_module conftest.c
" >&5
6881 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6882 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6884 # If there is a non-empty error log, and "single_module
"
6885 # appears in it, assume the flag caused a linker warning
6886 if test -s conftest.err && $GREP single_module conftest.err; then
6887 cat conftest.err >&5
6888 # Otherwise, if the output was created with a 0 exit code from
6889 # the compiler, it worked.
6890 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6891 lt_cv_apple_cc_single_mod=yes
6893 cat conftest.err >&5
6895 rm -rf libconftest.dylib*
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6900 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6903 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6904 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6905 $as_echo_n "(cached
) " >&6
6907 lt_cv_ld_exported_symbols_list=no
6908 save_LDFLAGS=$LDFLAGS
6909 echo "_main
" > conftest.sym
6910 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 lt_cv_ld_exported_symbols_list=yes
6925 lt_cv_ld_exported_symbols_list=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6929 LDFLAGS="$save_LDFLAGS"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6933 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6936 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6937 if ${lt_cv_ld_force_load+:} false; then :
6938 $as_echo_n "(cached
) " >&6
6940 lt_cv_ld_force_load=no
6941 cat > conftest.c << _LT_EOF
6942 int forced_loaded() { return 2;}
6944 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6945 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6946 echo "$AR cru libconftest.a conftest.o
" >&5
6947 $AR cru libconftest.a conftest.o 2>&5
6948 echo "$RANLIB libconftest.a
" >&5
6949 $RANLIB libconftest.a 2>&5
6950 cat > conftest.c << _LT_EOF
6951 int main() { return 0;}
6953 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6954 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6956 if test -s conftest.err && $GREP force_load conftest.err; then
6957 cat conftest.err >&5
6958 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6959 lt_cv_ld_force_load=yes
6961 cat conftest.err >&5
6963 rm -f conftest.err libconftest.a conftest conftest.c
6964 rm -rf conftest.dSYM
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6968 $as_echo "$lt_cv_ld_force_load" >&6; }
6970 rhapsody* | darwin1.[012])
6971 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6973 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6974 darwin*) # darwin 5.x on
6975 # if running on 10.5 or later, the deployment target defaults
6976 # to the OS version, if on x86, and 10.4, the deployment
6977 # target defaults to 10.4. Don't you love it?
6978 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6979 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6980 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6982 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6984 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6988 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6989 _lt_dar_single_mod='$single_module'
6991 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6992 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6994 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6996 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6997 _lt_dsymutil='~$DSYMUTIL $lib || :'
7005 ac_cpp='$CPP $CPPFLAGS'
7006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7010 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7011 # On Suns, sometimes $CPP names a directory.
7012 if test -n "$CPP" && test -d "$CPP"; then
7015 if test -z "$CPP"; then
7016 if ${ac_cv_prog_CPP+:} false; then :
7017 $as_echo_n "(cached
) " >&6
7019 # Double quotes because CPP needs to be expanded
7020 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7023 for ac_c_preproc_warn_flag in '' yes
7025 # Use a header file that comes with gcc, so configuring glibc
7026 # with a fresh cross-compiler works.
7027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7028 # <limits.h> exists even on freestanding compilers.
7029 # On the NeXT, cc -E runs the code through the compiler's parser,
7030 # not just through cpp. "Syntax error
" is here to catch this case.
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7034 # include <limits.h>
7036 # include <assert.h>
7040 if ac_fn_c_try_cpp "$LINENO"; then :
7043 # Broken: fails on valid input.
7046 rm -f conftest.err conftest.i conftest.$ac_ext
7048 # OK, works on sane cases. Now check whether nonexistent headers
7049 # can be detected and how.
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #include <ac_nonexistent.h>
7054 if ac_fn_c_try_cpp "$LINENO"; then :
7055 # Broken: success on invalid input.
7058 # Passes both tests.
7062 rm -f conftest.err conftest.i conftest.$ac_ext
7065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7066 rm -f conftest.i conftest.err conftest.$ac_ext
7067 if $ac_preproc_ok; then :
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7080 $as_echo "$CPP" >&6; }
7082 for ac_c_preproc_warn_flag in '' yes
7084 # Use a header file that comes with gcc, so configuring glibc
7085 # with a fresh cross-compiler works.
7086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7087 # <limits.h> exists even on freestanding compilers.
7088 # On the NeXT, cc -E runs the code through the compiler's parser,
7089 # not just through cpp. "Syntax error
" is here to catch this case.
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7093 # include <limits.h>
7095 # include <assert.h>
7099 if ac_fn_c_try_cpp "$LINENO"; then :
7102 # Broken: fails on valid input.
7105 rm -f conftest.err conftest.i conftest.$ac_ext
7107 # OK, works on sane cases. Now check whether nonexistent headers
7108 # can be detected and how.
7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110 /* end confdefs.h. */
7111 #include <ac_nonexistent.h>
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7114 # Broken: success on invalid input.
7117 # Passes both tests.
7121 rm -f conftest.err conftest.i conftest.$ac_ext
7124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7125 rm -f conftest.i conftest.err conftest.$ac_ext
7126 if $ac_preproc_ok; then :
7129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7131 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7132 See \`config.log' for more details
" "$LINENO" 5; }
7136 ac_cpp='$CPP $CPPFLAGS'
7137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7143 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7144 if ${ac_cv_header_stdc+:} false; then :
7145 $as_echo_n "(cached
) " >&6
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7162 if ac_fn_c_try_compile "$LINENO"; then :
7163 ac_cv_header_stdc=yes
7165 ac_cv_header_stdc=no
7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7169 if test $ac_cv_header_stdc = yes; then
7170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7176 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7177 $EGREP "memchr
" >/dev/null 2>&1; then :
7180 ac_cv_header_stdc=no
7186 if test $ac_cv_header_stdc = yes; then
7187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7193 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7194 $EGREP "free
" >/dev/null 2>&1; then :
7197 ac_cv_header_stdc=no
7203 if test $ac_cv_header_stdc = yes; then
7204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7205 if test "$cross_compiling" = yes; then :
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7212 #if ((' ' & 0x0FF) == 0x020)
7213 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7214 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7216 # define ISLOWER(c) \
7217 (('a' <= (c) && (c) <= 'i') \
7218 || ('j' <= (c) && (c) <= 'r') \
7219 || ('s' <= (c) && (c) <= 'z'))
7220 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7228 for (i = 0; i < 256; i++)
7229 if (XOR (islower (i), ISLOWER (i))
7230 || toupper (i) != TOUPPER (i))
7235 if ac_fn_c_try_run "$LINENO"; then :
7238 ac_cv_header_stdc=no
7240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7241 conftest.$ac_objext conftest.beam conftest.$ac_ext
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7247 $as_echo "$ac_cv_header_stdc" >&6; }
7248 if test $ac_cv_header_stdc = yes; then
7250 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7254 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7255 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7256 inttypes.h stdint.h unistd.h
7258 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7259 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7261 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7262 cat >>confdefs.h
<<_ACEOF
7263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 for ac_header
in dlfcn.h
7273 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7275 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7276 cat >>confdefs.h
<<_ACEOF
7277 #define HAVE_DLFCN_H 1
7290 enable_win32_dll
=yes
7293 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
7294 if test -n "$ac_tool_prefix"; then
7295 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7296 set dummy
${ac_tool_prefix}as
; ac_word
=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_AS+:} false
; then :
7300 $as_echo_n "(cached) " >&6
7302 if test -n "$AS"; then
7303 ac_cv_prog_AS
="$AS" # Let the user override the test.
7305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir
=.
7310 for ac_exec_ext
in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_AS
="${ac_tool_prefix}as"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323 if test -n "$AS"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7325 $as_echo "$AS" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7333 if test -z "$ac_cv_prog_AS"; then
7335 # Extract the first word of "as", so it can be a program name with args.
7336 set dummy as
; ac_word
=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
7340 $as_echo_n "(cached) " >&6
7342 if test -n "$ac_ct_AS"; then
7343 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
7345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir
=.
7350 for ac_exec_ext
in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_ac_ct_AS
="as"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
7363 if test -n "$ac_ct_AS"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7365 $as_echo "$ac_ct_AS" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7371 if test "x$ac_ct_AS" = x
; then
7374 case $cross_compiling:$ac_tool_warned in
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7378 ac_tool_warned
=yes ;;
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7388 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$DLLTOOL"; then
7395 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 DLLTOOL
=$ac_cv_prog_DLLTOOL
7415 if test -n "$DLLTOOL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7417 $as_echo "$DLLTOOL" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7425 if test -z "$ac_cv_prog_DLLTOOL"; then
7426 ac_ct_DLLTOOL
=$DLLTOOL
7427 # Extract the first word of "dlltool", so it can be a program name with args.
7428 set dummy dlltool
; ac_word
=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7432 $as_echo_n "(cached) " >&6
7434 if test -n "$ac_ct_DLLTOOL"; then
7435 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir
=.
7442 for ac_exec_ext
in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7455 if test -n "$ac_ct_DLLTOOL"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7457 $as_echo "$ac_ct_DLLTOOL" >&6; }
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7463 if test "x$ac_ct_DLLTOOL" = x
; then
7466 case $cross_compiling:$ac_tool_warned in
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned
=yes ;;
7472 DLLTOOL
=$ac_ct_DLLTOOL
7475 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7478 if test -n "$ac_tool_prefix"; then
7479 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7480 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7484 $as_echo_n "(cached) " >&6
7486 if test -n "$OBJDUMP"; then
7487 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir
=.
7494 for ac_exec_ext
in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 OBJDUMP
=$ac_cv_prog_OBJDUMP
7507 if test -n "$OBJDUMP"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7509 $as_echo "$OBJDUMP" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7517 if test -z "$ac_cv_prog_OBJDUMP"; then
7518 ac_ct_OBJDUMP
=$OBJDUMP
7519 # Extract the first word of "objdump", so it can be a program name with args.
7520 set dummy objdump
; ac_word
=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7524 $as_echo_n "(cached) " >&6
7526 if test -n "$ac_ct_OBJDUMP"; then
7527 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir
=.
7534 for ac_exec_ext
in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7547 if test -n "$ac_ct_OBJDUMP"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7549 $as_echo "$ac_ct_OBJDUMP" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7555 if test "x$ac_ct_OBJDUMP" = x
; then
7558 case $cross_compiling:$ac_tool_warned in
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7562 ac_tool_warned
=yes ;;
7564 OBJDUMP
=$ac_ct_OBJDUMP
7567 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7573 test -z "$AS" && AS
=as
7579 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7585 test -z "$OBJDUMP" && OBJDUMP
=objdump
7595 # Check whether --enable-shared was given.
7596 if test "${enable_shared+set}" = set; then :
7597 enableval
=$enable_shared; p
=${PACKAGE-default}
7599 yes) enable_shared
=yes ;;
7600 no
) enable_shared
=no
;;
7603 # Look at the argument we got. We use all the common list separators.
7604 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7605 for pkg
in $enableval; do
7607 if test "X$pkg" = "X$p"; then
7626 # Check whether --enable-static was given.
7627 if test "${enable_static+set}" = set; then :
7628 enableval
=$enable_static; p
=${PACKAGE-default}
7630 yes) enable_static
=yes ;;
7631 no
) enable_static
=no
;;
7634 # Look at the argument we got. We use all the common list separators.
7635 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7636 for pkg
in $enableval; do
7638 if test "X$pkg" = "X$p"; then
7658 # Check whether --with-pic was given.
7659 if test "${with_pic+set}" = set; then :
7660 withval
=$with_pic; lt_p
=${PACKAGE-default}
7662 yes|no
) pic_mode
=$withval ;;
7665 # Look at the argument we got. We use all the common list separators.
7666 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7667 for lt_pkg
in $withval; do
7669 if test "X$lt_pkg" = "X$lt_p"; then
7681 test -z "$pic_mode" && pic_mode
=default
7689 # Check whether --enable-fast-install was given.
7690 if test "${enable_fast_install+set}" = set; then :
7691 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7693 yes) enable_fast_install
=yes ;;
7694 no
) enable_fast_install
=no
;;
7696 enable_fast_install
=no
7697 # Look at the argument we got. We use all the common list separators.
7698 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7699 for pkg
in $enableval; do
7701 if test "X$pkg" = "X$p"; then
7702 enable_fast_install
=yes
7709 enable_fast_install
=yes
7722 # This can be used to rebuild libtool when needed
7723 LIBTOOL_DEPS
="$ltmain"
7725 # Always use our own libtool.
7726 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7757 test -z "$LN_S" && LN_S
="ln -s"
7772 if test -n "${ZSH_VERSION+set}" ; then
7773 setopt NO_GLOB_SUBST
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7777 $as_echo_n "checking for objdir... " >&6; }
7778 if ${lt_cv_objdir+:} false
; then :
7779 $as_echo_n "(cached) " >&6
7781 rm -f .libs
2>/dev
/null
7782 mkdir .libs
2>/dev
/null
7783 if test -d .libs
; then
7786 # MS-DOS does not allow filenames that begin with a dot.
7789 rmdir .libs
2>/dev
/null
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7792 $as_echo "$lt_cv_objdir" >&6; }
7793 objdir
=$lt_cv_objdir
7799 cat >>confdefs.h
<<_ACEOF
7800 #define LT_OBJDIR "$lt_cv_objdir/"
7808 # AIX sometimes has problems with the GCC collect2 program. For some
7809 # reason, if we set the COLLECT_NAMES environment variable, the problems
7810 # vanish in a puff of smoke.
7811 if test "X${COLLECT_NAMES+set}" != Xset
; then
7813 export COLLECT_NAMES
7820 can_build_shared
=yes
7822 # All known linkers require a `.a' archive for static linking (except MSVC,
7823 # which needs '.lib').
7826 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7829 old_CFLAGS
="$CFLAGS"
7831 # Set sane defaults for various variables
7832 test -z "$CC" && CC
=cc
7833 test -z "$LTCC" && LTCC
=$CC
7834 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7835 test -z "$LD" && LD
=ld
7836 test -z "$ac_objext" && ac_objext
=o
7838 for cc_temp
in $compiler""; do
7840 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7841 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7846 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7849 # Only perform the check for file, if the check method requires it
7850 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7851 case $deplibs_check_method in
7853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7856 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7857 $as_echo_n "(cached) " >&6
7861 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7864 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7865 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7866 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7867 for ac_dir
in $ac_dummy; do
7869 test -z "$ac_dir" && ac_dir
=.
7870 if test -f $ac_dir/${ac_tool_prefix}file; then
7871 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7872 if test -n "$file_magic_test_file"; then
7873 case $deplibs_check_method in
7875 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7876 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7877 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7878 $EGREP "$file_magic_regex" > /dev
/null
; then
7883 *** Warning: the command libtool uses to detect shared libraries,
7884 *** $file_magic_cmd, produces output that libtool cannot recognize.
7885 *** The result is that libtool may fail to recognize shared libraries
7886 *** as such. This will affect the creation of libtool libraries that
7887 *** depend on shared libraries, but programs linked with such libtool
7888 *** libraries will work regardless of this problem. Nevertheless, you
7889 *** may want to report the problem to your system manager and/or to
7890 *** bug-libtool@gnu.org
7900 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7905 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7906 if test -n "$MAGIC_CMD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7908 $as_echo "$MAGIC_CMD" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7918 if test -z "$lt_cv_path_MAGIC_CMD"; then
7919 if test -n "$ac_tool_prefix"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7921 $as_echo_n "checking for file... " >&6; }
7922 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7923 $as_echo_n "(cached) " >&6
7927 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7930 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7931 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7932 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7933 for ac_dir
in $ac_dummy; do
7935 test -z "$ac_dir" && ac_dir
=.
7936 if test -f $ac_dir/file; then
7937 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7938 if test -n "$file_magic_test_file"; then
7939 case $deplibs_check_method in
7941 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7943 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7944 $EGREP "$file_magic_regex" > /dev
/null
; then
7949 *** Warning: the command libtool uses to detect shared libraries,
7950 *** $file_magic_cmd, produces output that libtool cannot recognize.
7951 *** The result is that libtool may fail to recognize shared libraries
7952 *** as such. This will affect the creation of libtool libraries that
7953 *** depend on shared libraries, but programs linked with such libtool
7954 *** libraries will work regardless of this problem. Nevertheless, you
7955 *** may want to report the problem to your system manager and/or to
7956 *** bug-libtool@gnu.org
7966 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7971 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7972 if test -n "$MAGIC_CMD"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7974 $as_echo "$MAGIC_CMD" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7990 # Use C for the default configuration in the libtool script
7994 ac_cpp
='$CPP $CPPFLAGS'
7995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8000 # Source file extension for C test sources.
8003 # Object file extension for compiled C test sources.
8007 # Code to be used in simple compile tests
8008 lt_simple_compile_test_code
="int some_variable = 0;"
8010 # Code to be used in simple link tests
8011 lt_simple_link_test_code
='int main(){return(0);}'
8019 # If no C compiler was specified, use CC.
8022 # If no C compiler flags were specified, use CFLAGS.
8023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8025 # Allow CC to be a program name with arguments.
8028 # Save the default compiler, since it gets overwritten when the other
8029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8030 compiler_DEFAULT
=$CC
8032 # save warnings/boilerplate of simple test code
8033 ac_outfile
=conftest.
$ac_objext
8034 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8035 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8036 _lt_compiler_boilerplate
=`cat conftest.err`
8039 ac_outfile
=conftest.
$ac_objext
8040 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8041 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8042 _lt_linker_boilerplate
=`cat conftest.err`
8047 ## There is no encapsulation within the following macros, do not change
8048 ## the running order or otherwise move them around unless you know exactly
8049 ## what you are doing...
8050 if test -n "$compiler"; then
8052 lt_prog_compiler_no_builtin_flag
=
8054 if test "$GCC" = yes; then
8055 case $cc_basename in
8057 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8059 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8064 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8067 lt_cv_prog_compiler_rtti_exceptions
=no
8068 ac_outfile
=conftest.
$ac_objext
8069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8070 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8071 # Insert the option either (1) after the last *FLAGS variable, or
8072 # (2) before a word containing "conftest.", or (3) at the end.
8073 # Note that $ac_compile itself does not contain backslashes and begins
8074 # with a dollar sign (not a hyphen), so the echo should work correctly.
8075 # The option is referenced via a variable to avoid confusing sed.
8076 lt_compile
=`echo "$ac_compile" | $SED \
8077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8079 -e 's:$: $lt_compiler_flag:'`
8080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8081 (eval "$lt_compile" 2>conftest.err
)
8083 cat conftest.err
>&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 if (exit $ac_status) && test -s "$ac_outfile"; then
8086 # The compiler can only warn and ignore the option if not recognized
8087 # So say no if there are warnings other than the usual output.
8088 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8090 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8091 lt_cv_prog_compiler_rtti_exceptions
=yes
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8100 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8101 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8113 lt_prog_compiler_wl
=
8114 lt_prog_compiler_pic
=
8115 lt_prog_compiler_static
=
8118 if test "$GCC" = yes; then
8119 lt_prog_compiler_wl
='-Wl,'
8120 lt_prog_compiler_static
='-static'
8124 # All AIX code is PIC.
8125 if test "$host_cpu" = ia64
; then
8126 # AIX 5 now supports IA64 processor
8127 lt_prog_compiler_static
='-Bstatic'
8134 # see comment about AmigaOS4 .so support
8135 lt_prog_compiler_pic
='-fPIC'
8138 # FIXME: we need at least 68020 code to build shared libraries, but
8139 # adding the `-m68020' flag to GCC prevents building anything better,
8141 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8146 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8147 # PIC is the default for these OSes.
8150 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8151 # This hack is so that the source file can tell whether it is being
8152 # built for inclusion in a dll (and should export symbols for example).
8153 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8154 # (--disable-auto-import) libraries
8155 lt_prog_compiler_pic
='-DDLL_EXPORT'
8158 darwin
* | rhapsody
*)
8159 # PIC is the default on this platform
8160 # Common symbols not allowed in MH_DYLIB files
8161 lt_prog_compiler_pic
='-fno-common'
8165 # PIC is the default for Haiku.
8166 # The "-static" flag exists, but is broken.
8167 lt_prog_compiler_static
=
8171 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8172 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8173 # sets the default TLS model and affects inlining.
8179 lt_prog_compiler_pic
='-fPIC'
8185 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8186 # Instead, we relocate shared libraries at runtime.
8190 # Just because we use GCC doesn't mean we suddenly get shared libraries
8191 # on systems that don't support them.
8192 lt_prog_compiler_can_build_shared
=no
8197 # QNX uses GNU C++, but need to define -shared option too, otherwise
8199 lt_prog_compiler_pic
='-fPIC -shared'
8203 if test -d /usr
/nec
; then
8204 lt_prog_compiler_pic
=-Kconform_pic
8209 lt_prog_compiler_pic
='-fPIC'
8213 case $cc_basename in
8214 nvcc
*) # Cuda Compiler Driver 2.2
8215 lt_prog_compiler_wl
='-Xlinker '
8216 if test -n "$lt_prog_compiler_pic"; then
8217 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8222 # PORTME Check for flag to pass linker flags through the system compiler.
8225 lt_prog_compiler_wl
='-Wl,'
8226 if test "$host_cpu" = ia64
; then
8227 # AIX 5 now supports IA64 processor
8228 lt_prog_compiler_static
='-Bstatic'
8230 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8234 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8235 # This hack is so that the source file can tell whether it is being
8236 # built for inclusion in a dll (and should export symbols for example).
8237 lt_prog_compiler_pic
='-DDLL_EXPORT'
8240 hpux9
* | hpux10
* | hpux11
*)
8241 lt_prog_compiler_wl
='-Wl,'
8242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8249 lt_prog_compiler_pic
='+Z'
8252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8253 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8256 irix5
* | irix6
* | nonstopux
*)
8257 lt_prog_compiler_wl
='-Wl,'
8258 # PIC (with -KPIC) is the default.
8259 lt_prog_compiler_static
='-non_shared'
8262 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8263 case $cc_basename in
8264 # old Intel for x86_64 which still supported -KPIC.
8266 lt_prog_compiler_wl
='-Wl,'
8267 lt_prog_compiler_pic
='-KPIC'
8268 lt_prog_compiler_static
='-static'
8270 # icc used to be incompatible with GCC.
8271 # ICC 10 doesn't accept -KPIC any more.
8273 lt_prog_compiler_wl
='-Wl,'
8274 lt_prog_compiler_pic
='-fPIC'
8275 lt_prog_compiler_static
='-static'
8277 # Lahey Fortran 8.1.
8279 lt_prog_compiler_wl
='-Wl,'
8280 lt_prog_compiler_pic
='--shared'
8281 lt_prog_compiler_static
='--static'
8284 # NAG Fortran compiler
8285 lt_prog_compiler_wl
='-Wl,-Wl,,'
8286 lt_prog_compiler_pic
='-PIC'
8287 lt_prog_compiler_static
='-Bstatic'
8289 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8290 # Portland Group compilers (*not* the Pentium gcc compiler,
8291 # which looks to be a dead project)
8292 lt_prog_compiler_wl
='-Wl,'
8293 lt_prog_compiler_pic
='-fpic'
8294 lt_prog_compiler_static
='-Bstatic'
8297 lt_prog_compiler_wl
='-Wl,'
8298 # All Alpha code is PIC.
8299 lt_prog_compiler_static
='-non_shared'
8301 xl
* | bgxl
* | bgf
* | mpixl
*)
8302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8303 lt_prog_compiler_wl
='-Wl,'
8304 lt_prog_compiler_pic
='-qpic'
8305 lt_prog_compiler_static
='-qstaticlink'
8308 case `$CC -V 2>&1 | sed 5q` in
8309 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8310 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8311 lt_prog_compiler_pic
='-KPIC'
8312 lt_prog_compiler_static
='-Bstatic'
8313 lt_prog_compiler_wl
=''
8315 *Sun\ F
* |
*Sun
*Fortran
*)
8316 lt_prog_compiler_pic
='-KPIC'
8317 lt_prog_compiler_static
='-Bstatic'
8318 lt_prog_compiler_wl
='-Qoption ld '
8322 lt_prog_compiler_pic
='-KPIC'
8323 lt_prog_compiler_static
='-Bstatic'
8324 lt_prog_compiler_wl
='-Wl,'
8326 *Intel
*\
[CF
]*Compiler
*)
8327 lt_prog_compiler_wl
='-Wl,'
8328 lt_prog_compiler_pic
='-fPIC'
8329 lt_prog_compiler_static
='-static'
8332 lt_prog_compiler_wl
='-Wl,'
8333 lt_prog_compiler_pic
='-fpic'
8334 lt_prog_compiler_static
='-Bstatic'
8342 lt_prog_compiler_pic
='-KPIC'
8343 lt_prog_compiler_static
='-Bstatic'
8347 # QNX uses GNU C++, but need to define -shared option too, otherwise
8349 lt_prog_compiler_pic
='-fPIC -shared'
8352 osf3
* | osf4
* | osf5
*)
8353 lt_prog_compiler_wl
='-Wl,'
8354 # All OSF/1 code is PIC.
8355 lt_prog_compiler_static
='-non_shared'
8359 lt_prog_compiler_static
='-non_shared'
8363 lt_prog_compiler_pic
='-KPIC'
8364 lt_prog_compiler_static
='-Bstatic'
8365 case $cc_basename in
8366 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8367 lt_prog_compiler_wl
='-Qoption ld ';;
8369 lt_prog_compiler_wl
='-Wl,';;
8374 lt_prog_compiler_wl
='-Qoption ld '
8375 lt_prog_compiler_pic
='-PIC'
8376 lt_prog_compiler_static
='-Bstatic'
8379 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8380 lt_prog_compiler_wl
='-Wl,'
8381 lt_prog_compiler_pic
='-KPIC'
8382 lt_prog_compiler_static
='-Bstatic'
8386 if test -d /usr
/nec
;then
8387 lt_prog_compiler_pic
='-Kconform_pic'
8388 lt_prog_compiler_static
='-Bstatic'
8392 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8393 lt_prog_compiler_wl
='-Wl,'
8394 lt_prog_compiler_pic
='-KPIC'
8395 lt_prog_compiler_static
='-Bstatic'
8399 lt_prog_compiler_wl
='-Wl,'
8400 lt_prog_compiler_can_build_shared
=no
8404 lt_prog_compiler_pic
='-pic'
8405 lt_prog_compiler_static
='-Bstatic'
8409 lt_prog_compiler_can_build_shared
=no
8415 # For platforms which do not support PIC, -DPIC is meaningless:
8417 lt_prog_compiler_pic
=
8420 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8425 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8426 if ${lt_cv_prog_compiler_pic+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8432 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8433 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8436 # Check to make sure the PIC flag actually works.
8438 if test -n "$lt_prog_compiler_pic"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8440 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8441 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 lt_cv_prog_compiler_pic_works
=no
8445 ac_outfile
=conftest.
$ac_objext
8446 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8447 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8448 # Insert the option either (1) after the last *FLAGS variable, or
8449 # (2) before a word containing "conftest.", or (3) at the end.
8450 # Note that $ac_compile itself does not contain backslashes and begins
8451 # with a dollar sign (not a hyphen), so the echo should work correctly.
8452 # The option is referenced via a variable to avoid confusing sed.
8453 lt_compile
=`echo "$ac_compile" | $SED \
8454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456 -e 's:$: $lt_compiler_flag:'`
8457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8458 (eval "$lt_compile" 2>conftest.err
)
8460 cat conftest.err
>&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 if (exit $ac_status) && test -s "$ac_outfile"; then
8463 # The compiler can only warn and ignore the option if not recognized
8464 # So say no if there are warnings other than the usual output.
8465 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8466 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8467 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8468 lt_cv_prog_compiler_pic_works
=yes
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8475 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8477 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8478 case $lt_prog_compiler_pic in
8480 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8483 lt_prog_compiler_pic
=
8484 lt_prog_compiler_can_build_shared
=no
8500 # Check to make sure the static flag actually works.
8502 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8504 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8505 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8506 $as_echo_n "(cached) " >&6
8508 lt_cv_prog_compiler_static_works
=no
8509 save_LDFLAGS
="$LDFLAGS"
8510 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8511 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8512 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8513 # The linker can only warn and ignore the option if not recognized
8514 # So say no if there are warnings
8515 if test -s conftest.err
; then
8516 # Append any errors to the config.log.
8517 cat conftest.err
1>&5
8518 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8519 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8520 if diff conftest.exp conftest.er2
>/dev
/null
; then
8521 lt_cv_prog_compiler_static_works
=yes
8524 lt_cv_prog_compiler_static_works
=yes
8528 LDFLAGS
="$save_LDFLAGS"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8532 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8534 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8537 lt_prog_compiler_static
=
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8547 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8548 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8549 $as_echo_n "(cached) " >&6
8551 lt_cv_prog_compiler_c_o
=no
8552 $RM -r conftest
2>/dev
/null
8556 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8558 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8559 # Insert the option either (1) after the last *FLAGS variable, or
8560 # (2) before a word containing "conftest.", or (3) at the end.
8561 # Note that $ac_compile itself does not contain backslashes and begins
8562 # with a dollar sign (not a hyphen), so the echo should work correctly.
8563 lt_compile
=`echo "$ac_compile" | $SED \
8564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8566 -e 's:$: $lt_compiler_flag:'`
8567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8568 (eval "$lt_compile" 2>out
/conftest.err
)
8570 cat out
/conftest.err
>&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8574 # The compiler can only warn and ignore the option if not recognized
8575 # So say no if there are warnings
8576 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8577 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8578 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8579 lt_cv_prog_compiler_c_o
=yes
8584 # SGI C++ compiler will create directory out/ii_files/ for
8585 # template instantiation
8586 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8587 $RM out
/* && rmdir out
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8594 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8603 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8604 $as_echo_n "(cached) " >&6
8606 lt_cv_prog_compiler_c_o
=no
8607 $RM -r conftest
2>/dev
/null
8611 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8613 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8614 # Insert the option either (1) after the last *FLAGS variable, or
8615 # (2) before a word containing "conftest.", or (3) at the end.
8616 # Note that $ac_compile itself does not contain backslashes and begins
8617 # with a dollar sign (not a hyphen), so the echo should work correctly.
8618 lt_compile
=`echo "$ac_compile" | $SED \
8619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8621 -e 's:$: $lt_compiler_flag:'`
8622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8623 (eval "$lt_compile" 2>out
/conftest.err
)
8625 cat out
/conftest.err
>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8629 # The compiler can only warn and ignore the option if not recognized
8630 # So say no if there are warnings
8631 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8632 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8633 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8634 lt_cv_prog_compiler_c_o
=yes
8639 # SGI C++ compiler will create directory out/ii_files/ for
8640 # template instantiation
8641 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8642 $RM out
/* && rmdir out
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8654 hard_links
="nottested"
8655 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8656 # do not overwrite the value of need_locks provided by the user
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8658 $as_echo_n "checking if we can lock with hard links... " >&6; }
8661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8663 ln conftest.a conftest.b
2>&5 || hard_links
=no
8664 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8666 $as_echo "$hard_links" >&6; }
8667 if test "$hard_links" = no
; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8669 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8682 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8685 allow_undefined_flag
=
8686 always_export_symbols
=no
8688 archive_expsym_cmds
=
8689 compiler_needs_object
=no
8690 enable_shared_with_static_runtimes
=no
8691 export_dynamic_flag_spec
=
8692 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8693 hardcode_automatic
=no
8695 hardcode_direct_absolute
=no
8696 hardcode_libdir_flag_spec
=
8697 hardcode_libdir_separator
=
8699 hardcode_shlibpath_var
=unsupported
8701 link_all_deplibs
=unknown
8704 old_archive_from_new_cmds
=
8705 old_archive_from_expsyms_cmds
=
8706 thread_safe_flag_spec
=
8707 whole_archive_flag_spec
=
8708 # include_expsyms should be a list of space-separated symbols to be *always*
8709 # included in the symbol list
8711 # exclude_expsyms can be an extended regexp of symbols to exclude
8712 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8713 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8714 # as well as any symbol that contains `d'.
8715 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8716 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8717 # platforms (ab)use it in PIC code, but their linkers get confused if
8718 # the symbol is explicitly referenced. Since portable code cannot
8719 # rely on this symbol name, it's probably fine to never include it in
8720 # preloaded symbol tables.
8721 # Exclude shared library initialization/finalization symbols.
8722 extract_expsyms_cmds
=
8725 cygwin
* | mingw
* | pw32
* | cegcc
*)
8726 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8727 # When not using gcc, we currently assume that we are using
8728 # Microsoft Visual C++.
8729 if test "$GCC" != yes; then
8734 # we just hope/assume this is gcc and not c89 (= MSVC++)
8744 # On some targets, GNU ld is compatible enough with the native linker
8745 # that we're better off using the native interface for both.
8746 lt_use_gnu_ld_interface
=no
8747 if test "$with_gnu_ld" = yes; then
8750 # The AIX port of GNU ld has always aspired to compatibility
8751 # with the native linker. However, as the warning in the GNU ld
8752 # block says, versions before 2.19.5* couldn't really create working
8753 # shared libraries, regardless of the interface used.
8754 case `$LD -v 2>&1` in
8755 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8756 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8757 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8759 lt_use_gnu_ld_interface
=yes
8764 lt_use_gnu_ld_interface
=yes
8769 if test "$lt_use_gnu_ld_interface" = yes; then
8770 # If archive_cmds runs LD, not CC, wlarc should be empty
8773 # Set some defaults for GNU ld with shared library support. These
8774 # are reset later if shared libraries are not supported. Putting them
8775 # here allows them to be overridden if necessary.
8776 runpath_var
=LD_RUN_PATH
8777 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8778 export_dynamic_flag_spec
='${wl}--export-dynamic'
8779 # ancient GNU ld didn't support --whole-archive et. al.
8780 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8781 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8783 whole_archive_flag_spec
=
8785 supports_anon_versioning
=no
8786 case `$LD -v 2>&1` in
8787 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8788 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8789 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8790 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8791 *\
2.11.
*) ;; # other 2.11 versions
8792 *) supports_anon_versioning
=yes ;;
8795 # See if GNU ld supports shared libraries.
8798 # On AIX/PPC, the GNU linker is very broken
8799 if test "$host_cpu" != ia64
; then
8803 *** Warning: the GNU linker, at least up to release 2.19, is reported
8804 *** to be unable to reliably create shared libraries on AIX.
8805 *** Therefore, libtool is disabling shared libraries support. If you
8806 *** really care for shared libraries, you may want to install binutils
8807 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8808 *** You will then need to restart the configuration process.
8817 # see comment about AmigaOS4 .so support
8818 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8819 archive_expsym_cmds
=''
8822 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)'
8823 hardcode_libdir_flag_spec
='-L$libdir'
8824 hardcode_minus_L
=yes
8830 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8831 allow_undefined_flag
=unsupported
8832 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8833 # support --undefined. This deserves some investigation. FIXME
8834 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8840 cygwin
* | mingw
* | pw32
* | cegcc
*)
8841 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8842 # as there is no search path for DLLs.
8843 hardcode_libdir_flag_spec
='-L$libdir'
8844 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8845 allow_undefined_flag
=unsupported
8846 always_export_symbols
=no
8847 enable_shared_with_static_runtimes
=yes
8848 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8849 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8851 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8852 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8853 # If the export-symbols file already is a .def file (1st line
8854 # is EXPORTS), use it as is; otherwise, prepend...
8855 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8856 cp $export_symbols $output_objdir/$soname.def;
8858 echo EXPORTS > $output_objdir/$soname.def;
8859 cat $export_symbols >> $output_objdir/$soname.def;
8861 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8869 link_all_deplibs
=yes
8874 hardcode_shlibpath_var
=no
8875 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8876 export_dynamic_flag_spec
='${wl}-E'
8877 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8878 # Instead, shared libraries are loaded at an image base (0x10000000 by
8879 # default) and relocated if they conflict, which is a slow very memory
8880 # consuming and fragmenting process. To avoid this, we pick a random,
8881 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8882 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8883 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8884 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'
8887 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8889 if test "$host_os" = linux-dietlibc
; then
8890 case $cc_basename in
8891 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8894 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8895 && test "$tmp_diet" = no
8897 tmp_addflag
=' $pic_flag'
8898 tmp_sharedflag
='-shared'
8899 case $cc_basename,$host_cpu in
8900 pgcc
*) # Portland Group C compiler
8901 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'
8902 tmp_addflag
=' $pic_flag'
8904 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8905 # Portland Group f77 and f90 compilers
8906 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'
8907 tmp_addflag
=' $pic_flag -Mnomain' ;;
8908 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8909 tmp_addflag
=' -i_dynamic' ;;
8910 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8911 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8912 ifc
* | ifort
*) # Intel Fortran compiler
8913 tmp_addflag
=' -nofor_main' ;;
8914 lf95
*) # Lahey Fortran 8.1
8915 whole_archive_flag_spec
=
8916 tmp_sharedflag
='--shared' ;;
8917 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8918 tmp_sharedflag
='-qmkshrobj'
8920 nvcc
*) # Cuda Compiler Driver 2.2
8921 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'
8922 compiler_needs_object
=yes
8925 case `$CC -V 2>&1 | sed 5q` in
8926 *Sun\ C
*) # Sun C 5.9
8927 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'
8928 compiler_needs_object
=yes
8929 tmp_sharedflag
='-G' ;;
8930 *Sun\ F
*) # Sun Fortran 8.3
8931 tmp_sharedflag
='-G' ;;
8933 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935 if test "x$supports_anon_versioning" = xyes
; then
8936 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8937 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8938 echo "local: *; };" >> $output_objdir/$libname.ver~
8939 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8942 case $cc_basename in
8943 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8944 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8945 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8946 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8947 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8948 if test "x$supports_anon_versioning" = xyes
; then
8949 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8950 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8951 echo "local: *; };" >> $output_objdir/$libname.ver~
8952 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8962 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8963 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8966 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8972 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8976 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8977 *** create shared libraries on Solaris systems. Therefore, libtool
8978 *** is disabling shared libraries support. We urge you to upgrade GNU
8979 *** binutils to release 2.9.1 or newer. Another option is to modify
8980 *** your PATH or compiler configuration so that the native linker is
8981 *** used, and then restart.
8984 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8985 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8993 case `$LD -v 2>&1` in
8994 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8998 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8999 *** reliably create shared libraries on SCO systems. Therefore, libtool
9000 *** is disabling shared libraries support. We urge you to upgrade GNU
9001 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9002 *** your PATH or compiler configuration so that the native linker is
9003 *** used, and then restart.
9008 # For security reasons, it is highly recommended that you always
9009 # use absolute paths for naming shared libraries, and exclude the
9010 # DT_RUNPATH tag from executables and libraries. But doing so
9011 # requires that you compile everything twice, which is a pain.
9012 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9013 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9014 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9015 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9024 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9027 hardcode_shlibpath_var
=no
9031 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9032 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9040 if test "$ld_shlibs" = no
; then
9042 hardcode_libdir_flag_spec
=
9043 export_dynamic_flag_spec
=
9044 whole_archive_flag_spec
=
9047 # PORTME fill in a description of your system's linker (not GNU ld)
9050 allow_undefined_flag
=unsupported
9051 always_export_symbols
=yes
9052 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'
9053 # Note: this linker hardcodes the directories in LIBPATH if there
9054 # are no directories specified by -L.
9055 hardcode_minus_L
=yes
9056 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9057 # Neither direct hardcoding nor static linking is supported with a
9059 hardcode_direct
=unsupported
9064 if test "$host_cpu" = ia64
; then
9065 # On IA64, the linker does run time linking by default, so we don't
9066 # have to do anything special.
9067 aix_use_runtimelinking
=no
9068 exp_sym_flag
='-Bexport'
9071 # If we're using GNU nm, then we don't want the "-C" option.
9072 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9073 # Also, AIX nm treats weak defined symbols like other global
9074 # defined symbols, whereas GNU nm marks them as "W".
9075 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9076 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'
9078 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9080 aix_use_runtimelinking
=no
9082 # Test if we are trying to use run time linking or normal
9083 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9084 # need to do runtime linking.
9085 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9086 for ld_flag
in $LDFLAGS; do
9087 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9088 aix_use_runtimelinking
=yes
9095 exp_sym_flag
='-bexport'
9096 no_entry_flag
='-bnoentry'
9099 # When large executables or shared objects are built, AIX ld can
9100 # have problems creating the table of contents. If linking a library
9101 # or program results in "error TOC overflow" add -mminimal-toc to
9102 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9103 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9107 hardcode_direct_absolute
=yes
9108 hardcode_libdir_separator
=':'
9109 link_all_deplibs
=yes
9110 file_list_spec
='${wl}-f,'
9112 if test "$GCC" = yes; then
9113 case $host_os in aix4.
[012]|aix4.
[012].
*)
9114 # We only want to do this on AIX 4.2 and lower, the check
9115 # below for broken collect2 doesn't work under 4.3+
9116 collect2name
=`${CC} -print-prog-name=collect2`
9117 if test -f "$collect2name" &&
9118 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9120 # We have reworked collect2
9123 # We have old collect2
9124 hardcode_direct
=unsupported
9125 # It fails to find uninstalled libraries when the uninstalled
9126 # path is not listed in the libpath. Setting hardcode_minus_L
9127 # to unsupported forces relinking
9128 hardcode_minus_L
=yes
9129 hardcode_libdir_flag_spec
='-L$libdir'
9130 hardcode_libdir_separator
=
9134 shared_flag
='-shared'
9135 if test "$aix_use_runtimelinking" = yes; then
9136 shared_flag
="$shared_flag "'${wl}-G'
9140 if test "$host_cpu" = ia64
; then
9141 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9142 # chokes on -Wl,-G. The following line is correct:
9145 if test "$aix_use_runtimelinking" = yes; then
9146 shared_flag
='${wl}-G'
9148 shared_flag
='${wl}-bM:SRE'
9153 export_dynamic_flag_spec
='${wl}-bexpall'
9154 # It seems that -bexpall does not export symbols beginning with
9155 # underscore (_), so it is better to generate a list of symbols to export.
9156 always_export_symbols
=yes
9157 if test "$aix_use_runtimelinking" = yes; then
9158 # Warning - without using the other runtime loading flags (-brtl),
9159 # -berok will link without error, but may produce a broken library.
9160 allow_undefined_flag
='-berok'
9161 # Determine the default libpath from the value encoded in an
9163 if test "${lt_cv_aix_libpath+set}" = set; then
9164 aix_libpath
=$lt_cv_aix_libpath
9166 if ${lt_cv_aix_libpath_+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9180 if ac_fn_c_try_link
"$LINENO"; then :
9182 lt_aix_libpath_sed
='
9183 /Import File Strings/,/^$/ {
9185 s/^0 *\([^ ]*\) *$/\1/
9189 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9190 # Check for a 64-bit object if we didn't find anything.
9191 if test -z "$lt_cv_aix_libpath_"; then
9192 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9195 rm -f core conftest.err conftest.
$ac_objext \
9196 conftest
$ac_exeext conftest.
$ac_ext
9197 if test -z "$lt_cv_aix_libpath_"; then
9198 lt_cv_aix_libpath_
="/usr/lib:/lib"
9203 aix_libpath
=$lt_cv_aix_libpath_
9206 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9207 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"
9209 if test "$host_cpu" = ia64
; then
9210 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9211 allow_undefined_flag
="-z nodefs"
9212 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"
9214 # Determine the default libpath from the value encoded in an
9216 if test "${lt_cv_aix_libpath+set}" = set; then
9217 aix_libpath
=$lt_cv_aix_libpath
9219 if ${lt_cv_aix_libpath_+:} false
; then :
9220 $as_echo_n "(cached) " >&6
9222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9233 if ac_fn_c_try_link
"$LINENO"; then :
9235 lt_aix_libpath_sed
='
9236 /Import File Strings/,/^$/ {
9238 s/^0 *\([^ ]*\) *$/\1/
9242 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9243 # Check for a 64-bit object if we didn't find anything.
9244 if test -z "$lt_cv_aix_libpath_"; then
9245 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9248 rm -f core conftest.err conftest.
$ac_objext \
9249 conftest
$ac_exeext conftest.
$ac_ext
9250 if test -z "$lt_cv_aix_libpath_"; then
9251 lt_cv_aix_libpath_
="/usr/lib:/lib"
9256 aix_libpath
=$lt_cv_aix_libpath_
9259 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9260 # Warning - without using the other run time loading flags,
9261 # -berok will link without error, but may produce a broken library.
9262 no_undefined_flag
=' ${wl}-bernotok'
9263 allow_undefined_flag
=' ${wl}-berok'
9264 if test "$with_gnu_ld" = yes; then
9265 # We only use this code for GNU lds that support --whole-archive.
9266 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9268 # Exported symbols can be pulled into shared objects from archives
9269 whole_archive_flag_spec
='$convenience'
9271 archive_cmds_need_lc
=yes
9272 # This is similar to how AIX traditionally builds its shared libraries.
9273 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'
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds
=''
9286 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)'
9287 hardcode_libdir_flag_spec
='-L$libdir'
9288 hardcode_minus_L
=yes
9294 export_dynamic_flag_spec
=-rdynamic
9297 cygwin
* | mingw
* | pw32
* | cegcc
*)
9298 # When not using gcc, we currently assume that we are using
9299 # Microsoft Visual C++.
9300 # hardcode_libdir_flag_spec is actually meaningless, as there is
9301 # no search path for DLLs.
9302 case $cc_basename in
9305 hardcode_libdir_flag_spec
=' '
9306 allow_undefined_flag
=unsupported
9307 always_export_symbols
=yes
9309 # Tell ltmain to make .lib files, not .a files.
9311 # Tell ltmain to make .dll files, not .so files.
9313 # FIXME: Setting linknames here is a bad hack.
9314 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9315 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9316 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9318 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9320 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9322 # The linker will not automatically build a static lib if we build a DLL.
9323 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9324 enable_shared_with_static_runtimes
=yes
9325 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9326 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9328 old_postinstall_cmds
='chmod 644 $oldlib'
9329 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9330 lt_tool_outputfile="@TOOL_OUTPUT@"~
9331 case $lt_outputfile in
9334 lt_outputfile="$lt_outputfile.exe"
9335 lt_tool_outputfile="$lt_tool_outputfile.exe"
9338 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9339 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9340 $RM "$lt_outputfile.manifest";
9344 # Assume MSVC wrapper
9345 hardcode_libdir_flag_spec
=' '
9346 allow_undefined_flag
=unsupported
9347 # Tell ltmain to make .lib files, not .a files.
9349 # Tell ltmain to make .dll files, not .so files.
9351 # FIXME: Setting linknames here is a bad hack.
9352 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9353 # The linker will automatically build a .lib file if we build a DLL.
9354 old_archive_from_new_cmds
='true'
9355 # FIXME: Should let the user specify the lib program.
9356 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9357 enable_shared_with_static_runtimes
=yes
9362 darwin
* | rhapsody
*)
9365 archive_cmds_need_lc
=no
9367 hardcode_automatic
=yes
9368 hardcode_shlibpath_var
=unsupported
9369 if test "$lt_cv_ld_force_load" = "yes"; then
9370 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\"`'
9373 whole_archive_flag_spec
=''
9375 link_all_deplibs
=yes
9376 allow_undefined_flag
="$_lt_dar_allow_undefined"
9377 case $cc_basename in
9378 ifort
*) _lt_dar_can_shared
=yes ;;
9379 *) _lt_dar_can_shared
=$GCC ;;
9381 if test "$_lt_dar_can_shared" = "yes"; then
9382 output_verbose_link_cmd
=func_echo_all
9383 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9384 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9385 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}"
9386 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}"
9395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9396 hardcode_libdir_flag_spec
='-L$libdir'
9397 hardcode_shlibpath_var
=no
9400 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9401 # support. Future versions do this automatically, but an explicit c++rt0.o
9402 # does not break anything, and helps significantly (at the cost of a little
9405 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9406 hardcode_libdir_flag_spec
='-R$libdir'
9408 hardcode_shlibpath_var
=no
9411 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9413 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_minus_L
=yes
9416 hardcode_shlibpath_var
=no
9419 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9420 freebsd
* | dragonfly
*)
9421 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9422 hardcode_libdir_flag_spec
='-R$libdir'
9424 hardcode_shlibpath_var
=no
9428 if test "$GCC" = yes; then
9429 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9431 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'
9433 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9434 hardcode_libdir_separator
=:
9437 # hardcode_minus_L: Not really in the search PATH,
9438 # but as the default location of the library.
9439 hardcode_minus_L
=yes
9440 export_dynamic_flag_spec
='${wl}-E'
9444 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9445 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9449 if test "$with_gnu_ld" = no
; then
9450 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9451 hardcode_libdir_separator
=:
9453 hardcode_direct_absolute
=yes
9454 export_dynamic_flag_spec
='${wl}-E'
9455 # hardcode_minus_L: Not really in the search PATH,
9456 # but as the default location of the library.
9457 hardcode_minus_L
=yes
9462 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9465 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9471 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9477 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9480 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9484 # Older versions of the 11.00 compiler do not understand -b yet
9485 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9487 $as_echo_n "checking if $CC understands -b... " >&6; }
9488 if ${lt_cv_prog_compiler__b+:} false
; then :
9489 $as_echo_n "(cached) " >&6
9491 lt_cv_prog_compiler__b
=no
9492 save_LDFLAGS
="$LDFLAGS"
9493 LDFLAGS
="$LDFLAGS -b"
9494 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9495 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9496 # The linker can only warn and ignore the option if not recognized
9497 # So say no if there are warnings
9498 if test -s conftest.err
; then
9499 # Append any errors to the config.log.
9500 cat conftest.err
1>&5
9501 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9502 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9503 if diff conftest.exp conftest.er2
>/dev
/null
; then
9504 lt_cv_prog_compiler__b
=yes
9507 lt_cv_prog_compiler__b
=yes
9511 LDFLAGS
="$save_LDFLAGS"
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9515 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9517 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9518 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9526 if test "$with_gnu_ld" = no
; then
9527 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9528 hardcode_libdir_separator
=:
9533 hardcode_shlibpath_var
=no
9537 hardcode_direct_absolute
=yes
9538 export_dynamic_flag_spec
='${wl}-E'
9540 # hardcode_minus_L: Not really in the search PATH,
9541 # but as the default location of the library.
9542 hardcode_minus_L
=yes
9548 irix5
* | irix6
* | nonstopux
*)
9549 if test "$GCC" = yes; then
9550 archive_cmds
='$CC -shared $pic_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'
9551 # Try to use the -exported_symbol ld option, if it does not
9552 # work, assume that -exports_file does not work either and
9553 # implicitly export all symbols.
9554 # This should be the same for all languages, so no per-tag cache variable.
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9556 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9557 if ${lt_cv_irix_exported_symbol+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 save_LDFLAGS
="$LDFLAGS"
9561 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9564 int foo (void) { return 0; }
9566 if ac_fn_c_try_link
"$LINENO"; then :
9567 lt_cv_irix_exported_symbol
=yes
9569 lt_cv_irix_exported_symbol
=no
9571 rm -f core conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9573 LDFLAGS
="$save_LDFLAGS"
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9576 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9577 if test "$lt_cv_irix_exported_symbol" = yes; then
9578 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9581 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'
9582 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'
9584 archive_cmds_need_lc
='no'
9585 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9586 hardcode_libdir_separator
=:
9588 link_all_deplibs
=yes
9592 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9593 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9595 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9597 hardcode_libdir_flag_spec
='-R$libdir'
9599 hardcode_shlibpath_var
=no
9603 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9606 hardcode_libdir_separator
=:
9607 hardcode_shlibpath_var
=no
9614 if test -f /usr
/libexec
/ld.so
; then
9616 hardcode_shlibpath_var
=no
9617 hardcode_direct_absolute
=yes
9618 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9619 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9621 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9622 export_dynamic_flag_spec
='${wl}-E'
9625 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9626 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9627 hardcode_libdir_flag_spec
='-R$libdir'
9630 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9631 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9641 hardcode_libdir_flag_spec
='-L$libdir'
9642 hardcode_minus_L
=yes
9643 allow_undefined_flag
=unsupported
9644 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'
9645 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9649 if test "$GCC" = yes; then
9650 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9651 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'
9653 allow_undefined_flag
=' -expect_unresolved \*'
9654 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'
9656 archive_cmds_need_lc
='no'
9657 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9658 hardcode_libdir_separator
=:
9661 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9662 if test "$GCC" = yes; then
9663 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9664 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
9665 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9667 allow_undefined_flag
=' -expect_unresolved \*'
9668 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'
9669 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~
9670 $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'
9672 # Both c and cxx compiler support -rpath directly
9673 hardcode_libdir_flag_spec
='-rpath $libdir'
9675 archive_cmds_need_lc
='no'
9676 hardcode_libdir_separator
=:
9680 no_undefined_flag
=' -z defs'
9681 if test "$GCC" = yes; then
9683 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9685 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9687 case `$CC -V 2>&1` in
9690 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9691 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9692 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9696 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9698 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9702 hardcode_libdir_flag_spec
='-R$libdir'
9703 hardcode_shlibpath_var
=no
9705 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9707 # The compiler driver will combine and reorder linker options,
9708 # but understands `-z linker_flag'. GCC discards it without `$wl',
9709 # but is careful enough not to reorder.
9710 # Supported since Solaris 2.6 (maybe 2.5.1?)
9711 if test "$GCC" = yes; then
9712 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9714 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9718 link_all_deplibs
=yes
9722 if test "x$host_vendor" = xsequent
; then
9723 # Use $CC to link under sequent, because it throws in some extra .o
9724 # files that make .init and .fini sections work.
9725 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9729 hardcode_libdir_flag_spec
='-L$libdir'
9731 hardcode_minus_L
=yes
9732 hardcode_shlibpath_var
=no
9736 case $host_vendor in
9738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_direct
=yes # is this really true???
9742 ## LD is ld it makes a PLAMLIB
9743 ## CC just makes a GrossModule.
9744 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9745 reload_cmds
='$CC -r -o $output$reload_objs'
9749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9753 runpath_var
='LD_RUN_PATH'
9754 hardcode_shlibpath_var
=no
9758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9759 hardcode_shlibpath_var
=no
9760 export_dynamic_flag_spec
='-Bexport'
9764 if test -d /usr
/nec
; then
9765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766 hardcode_shlibpath_var
=no
9767 runpath_var
=LD_RUN_PATH
9768 hardcode_runpath_var
=yes
9773 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9774 no_undefined_flag
='${wl}-z,text'
9775 archive_cmds_need_lc
=no
9776 hardcode_shlibpath_var
=no
9777 runpath_var
='LD_RUN_PATH'
9779 if test "$GCC" = yes; then
9780 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9788 sysv5
* | sco3.2v5
* | sco5v6
*)
9789 # Note: We can NOT use -z defs as we might desire, because we do not
9790 # link with -lc, and that would cause any symbols used from libc to
9791 # always be unresolved, which means just about no library would
9792 # ever link correctly. If we're not using GNU ld we use -z text
9793 # though, which does catch some bad symbols but isn't as heavy-handed
9795 no_undefined_flag
='${wl}-z,text'
9796 allow_undefined_flag
='${wl}-z,nodefs'
9797 archive_cmds_need_lc
=no
9798 hardcode_shlibpath_var
=no
9799 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9800 hardcode_libdir_separator
=':'
9801 link_all_deplibs
=yes
9802 export_dynamic_flag_spec
='${wl}-Bexport'
9803 runpath_var
='LD_RUN_PATH'
9805 if test "$GCC" = yes; then
9806 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_libdir_flag_spec
='-L$libdir'
9817 hardcode_shlibpath_var
=no
9825 if test x
$host_vendor = xsni
; then
9827 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9828 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9835 $as_echo "$ld_shlibs" >&6; }
9836 test "$ld_shlibs" = no
&& can_build_shared
=no
9838 with_gnu_ld
=$with_gnu_ld
9855 # Do we need to explicitly link libc?
9857 case "x$archive_cmds_need_lc" in
9859 # Assume -lc should be added
9860 archive_cmds_need_lc
=yes
9862 if test "$enable_shared" = yes && test "$GCC" = yes; then
9863 case $archive_cmds in
9865 # FIXME: we may have to deal with multi-command sequences.
9868 # Test whether the compiler implicitly links with -lc since on some
9869 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9870 # to ld, don't add -lc before -lgcc.
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9872 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9873 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9874 $as_echo_n "(cached) " >&6
9877 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9880 (eval $ac_compile) 2>&5
9882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9883 test $ac_status = 0; } 2>conftest.err
; then
9886 libobjs
=conftest.
$ac_objext
9888 wl
=$lt_prog_compiler_wl
9889 pic_flag
=$lt_prog_compiler_pic
9895 lt_save_allow_undefined_flag
=$allow_undefined_flag
9896 allow_undefined_flag
=
9897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9898 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9901 test $ac_status = 0; }
9903 lt_cv_archive_cmds_need_lc
=no
9905 lt_cv_archive_cmds_need_lc
=yes
9907 allow_undefined_flag
=$lt_save_allow_undefined_flag
9909 cat conftest.err
1>&5
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9915 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9916 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10075 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10077 if test "$GCC" = yes; then
10079 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10080 *) lt_awk_arg
="/^libraries:/" ;;
10083 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10084 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10086 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10087 case $lt_search_path_spec in
10089 # if the path contains ";" then we assume it to be the separator
10090 # otherwise default to the standard path separator (i.e. ":") - it is
10091 # assumed that no part of a normal pathname contains ";" but that should
10092 # okay in the real world where ";" in dirpaths is itself problematic.
10093 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10096 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10099 # Ok, now we have the path, separated by spaces, we can step through it
10100 # and add multilib dir if necessary.
10101 lt_tmp_lt_search_path_spec
=
10102 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10103 for lt_sys_path
in $lt_search_path_spec; do
10104 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10105 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10107 test -d "$lt_sys_path" && \
10108 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10111 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10112 BEGIN {RS=" "; FS="/|\n";} {
10115 for (lt_i = NF; lt_i > 0; lt_i--) {
10116 if ($lt_i != "" && $lt_i != ".") {
10117 if ($lt_i == "..") {
10120 if (lt_count == 0) {
10121 lt_foo="/" $lt_i lt_foo;
10128 if (lt_foo != "") { lt_freq[lt_foo]++; }
10129 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10131 # AWK program above erroneously prepends '/' to C:/dos/paths
10134 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10135 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10137 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10139 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10141 library_names_spec
=
10142 libname_spec
='lib$name'
10146 postuninstall_cmds
=
10150 shlibpath_overrides_runpath
=unknown
10152 dynamic_linker
="$host_os ld.so"
10153 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10154 need_lib_prefix
=unknown
10155 hardcode_into_libs
=no
10157 # when you set need_version to no, make sure it does not cause -set_version
10158 # flags to be left without arguments
10159 need_version
=unknown
10163 version_type
=linux
# correct to gnu/linux during the next big refactor
10164 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10165 shlibpath_var
=LIBPATH
10167 # AIX 3 has no versioning support, so we append a major version to the name.
10168 soname_spec
='${libname}${release}${shared_ext}$major'
10172 version_type
=linux
# correct to gnu/linux during the next big refactor
10175 hardcode_into_libs
=yes
10176 if test "$host_cpu" = ia64
; then
10177 # AIX 5 supports IA64
10178 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10179 shlibpath_var
=LD_LIBRARY_PATH
10181 # With GCC up to 2.95.x, collect2 would create an import file
10182 # for dependence libraries. The import file would start with
10183 # the line `#! .'. This would cause the generated library to
10184 # depend on `.', always an invalid library. This was fixed in
10185 # development snapshots of GCC prior to 3.0.
10187 aix4 | aix4.
[01] | aix4.
[01].
*)
10188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10190 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10193 can_build_shared
=no
10197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10198 # soname into executable. Probably we can add versioning support to
10199 # collect2, so additional links can be useful in future.
10200 if test "$aix_use_runtimelinking" = yes; then
10201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10202 # instead of lib<name>.a to let people know that these are not
10203 # typical AIX shared libraries.
10204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10206 # We preserve .a as extension for shared libraries through AIX4.2
10207 # and later when we are not doing run time linking.
10208 library_names_spec
='${libname}${release}.a $libname.a'
10209 soname_spec
='${libname}${release}${shared_ext}$major'
10211 shlibpath_var
=LIBPATH
10218 # Since July 2007 AmigaOS4 officially supports .so libraries.
10219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 library_names_spec
='$libname.ixlibrary $libname.a'
10224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10225 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'
10231 library_names_spec
='${libname}${shared_ext}'
10232 dynamic_linker
="$host_os ld.so"
10233 shlibpath_var
=LIBRARY_PATH
10237 version_type
=linux
# correct to gnu/linux during the next big refactor
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240 soname_spec
='${libname}${release}${shared_ext}$major'
10241 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10242 shlibpath_var
=LD_LIBRARY_PATH
10243 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10244 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10245 # the default ld.so.conf also contains /usr/contrib/lib and
10246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10247 # libtool to hard-code these into programs
10250 cygwin
* | mingw
* | pw32
* | cegcc
*)
10251 version_type
=windows
10256 case $GCC,$cc_basename in
10259 library_names_spec
='$libname.dll.a'
10260 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10261 postinstall_cmds
='base_file=`basename \${file}`~
10262 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10263 dldir=$destdir/`dirname \$dlpath`~
10264 test -d \$dldir || mkdir -p \$dldir~
10265 $install_prog $dir/$dlname \$dldir/$dlname~
10266 chmod a+x \$dldir/$dlname~
10267 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10268 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10270 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10271 dlpath=$dir/\$dldll~
10273 shlibpath_overrides_runpath
=yes
10277 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10278 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10280 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10283 # MinGW DLLs use traditional 'lib' prefix
10284 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10287 # pw32 DLLs use 'pw' prefix rather than 'lib'
10288 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10291 dynamic_linker
='Win32 ld.exe'
10296 libname_spec
='$name'
10297 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10298 library_names_spec
='${libname}.dll.lib'
10302 sys_lib_search_path_spec
=
10305 for lt_path
in $LIB
10308 # Let DOS variable expansion print the short 8.3 style file name.
10309 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10310 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10313 # Convert to MSYS style.
10314 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10317 # Convert to unix form, then to dos form, then back to unix form
10318 # but this time dos style (no spaces!) so that the unix form looks
10319 # like /cygdrive/c/PROGRA~1:/cygdr...
10320 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10321 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10322 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10325 sys_lib_search_path_spec
="$LIB"
10326 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10327 # It is most probably a Windows format PATH.
10328 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10330 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10332 # FIXME: find the short name or the path components, as spaces are
10333 # common. (e.g. "Program Files" -> "PROGRA~1")
10337 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10338 postinstall_cmds
='base_file=`basename \${file}`~
10339 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10340 dldir=$destdir/`dirname \$dlpath`~
10341 test -d \$dldir || mkdir -p \$dldir~
10342 $install_prog $dir/$dlname \$dldir/$dlname'
10343 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10344 dlpath=$dir/\$dldll~
10346 shlibpath_overrides_runpath
=yes
10347 dynamic_linker
='Win32 link.exe'
10351 # Assume MSVC wrapper
10352 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10353 dynamic_linker
='Win32 ld.exe'
10356 # FIXME: first we should search . and the directory the executable is in
10360 darwin
* | rhapsody
*)
10361 dynamic_linker
="$host_os dyld"
10362 version_type
=darwin
10365 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10366 soname_spec
='${libname}${release}${major}$shared_ext'
10367 shlibpath_overrides_runpath
=yes
10368 shlibpath_var
=DYLD_LIBRARY_PATH
10369 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10371 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10372 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10376 version_type
=linux
# correct to gnu/linux during the next big refactor
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 shlibpath_var
=LD_LIBRARY_PATH
10384 freebsd
* | dragonfly
*)
10385 # DragonFly does not have aout. When/if they implement a new
10386 # versioning mechanism, adjust this.
10387 if test -x /usr
/bin
/objformat
; then
10388 objformat
=`/usr/bin/objformat`
10391 freebsd
[23].
*) objformat
=aout
;;
10392 *) objformat
=elf
;;
10395 version_type
=freebsd-
$objformat
10396 case $version_type in
10398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10403 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10407 shlibpath_var
=LD_LIBRARY_PATH
10410 shlibpath_overrides_runpath
=yes
10412 freebsd3.
[01]* | freebsdelf3.
[01]*)
10413 shlibpath_overrides_runpath
=yes
10414 hardcode_into_libs
=yes
10416 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10417 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10418 shlibpath_overrides_runpath
=no
10419 hardcode_into_libs
=yes
10421 *) # from 4.6 on, and DragonFly
10422 shlibpath_overrides_runpath
=yes
10423 hardcode_into_libs
=yes
10429 version_type
=linux
# correct to gnu/linux during the next big refactor
10432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10433 soname_spec
='${libname}${release}${shared_ext}$major'
10434 shlibpath_var
=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath
=no
10436 hardcode_into_libs
=yes
10440 version_type
=linux
# correct to gnu/linux during the next big refactor
10443 dynamic_linker
="$host_os runtime_loader"
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 shlibpath_var
=LIBRARY_PATH
10447 shlibpath_overrides_runpath
=yes
10448 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10449 hardcode_into_libs
=yes
10452 hpux9
* | hpux10
* | hpux11
*)
10453 # Give a soname corresponding to the major version so that dld.sl refuses to
10454 # link against other versions.
10461 hardcode_into_libs
=yes
10462 dynamic_linker
="$host_os dld.so"
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 if test "X$HPUX_IA64_MODE" = X32
; then
10468 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10470 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10472 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10476 hardcode_into_libs
=yes
10477 dynamic_linker
="$host_os dld.sl"
10478 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10479 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10483 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10487 dynamic_linker
="$host_os dld.sl"
10488 shlibpath_var
=SHLIB_PATH
10489 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 soname_spec
='${libname}${release}${shared_ext}$major'
10494 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10495 postinstall_cmds
='chmod 555 $lib'
10496 # or fails outright, so override atomically:
10497 install_override_mode
=555
10501 version_type
=linux
# correct to gnu/linux during the next big refactor
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10505 soname_spec
='${libname}${release}${shared_ext}$major'
10506 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10507 shlibpath_var
=LD_LIBRARY_PATH
10508 shlibpath_overrides_runpath
=no
10509 hardcode_into_libs
=yes
10512 irix5
* | irix6
* | nonstopux
*)
10514 nonstopux
*) version_type
=nonstopux
;;
10516 if test "$lt_cv_prog_gnu_ld" = yes; then
10517 version_type
=linux
# correct to gnu/linux during the next big refactor
10524 soname_spec
='${libname}${release}${shared_ext}$major'
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10527 irix5
* | nonstopux
*)
10528 libsuff
= shlibsuff
=
10531 case $LD in # libtool.m4 will add one of these switches to LD
10532 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10533 libsuff
= shlibsuff
= libmagic
=32-bit;;
10534 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10535 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10536 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10537 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10538 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10542 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10543 shlibpath_overrides_runpath
=no
10544 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10545 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10546 hardcode_into_libs
=yes
10549 # No shared lib support for Linux oldld, aout, or coff.
10550 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10554 # This must be glibc/ELF.
10555 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10556 version_type
=linux
# correct to gnu/linux during the next big refactor
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 soname_spec
='${libname}${release}${shared_ext}$major'
10561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10562 shlibpath_var
=LD_LIBRARY_PATH
10563 shlibpath_overrides_runpath
=no
10565 # Some binutils ld are patched to set DT_RUNPATH
10566 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10567 $as_echo_n "(cached) " >&6
10569 lt_cv_shlibpath_overrides_runpath
=no
10570 save_LDFLAGS
=$LDFLAGS
10571 save_libdir
=$libdir
10572 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10573 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10585 if ac_fn_c_try_link
"$LINENO"; then :
10586 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10587 lt_cv_shlibpath_overrides_runpath
=yes
10590 rm -f core conftest.err conftest.
$ac_objext \
10591 conftest
$ac_exeext conftest.
$ac_ext
10592 LDFLAGS
=$save_LDFLAGS
10593 libdir
=$save_libdir
10597 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10599 # This implies no fast_install, which is unacceptable.
10600 # Some rework will be needed to allow for fast_install
10601 # before this can be enabled.
10602 hardcode_into_libs
=yes
10604 # Append ld.so.conf contents to the search path
10605 if test -f /etc
/ld.so.conf
; then
10606 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' ' '`
10607 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10610 # We used to test for /lib/ld.so.1 and disable shared libraries on
10611 # powerpc, because MkLinux only supported shared libraries with the
10612 # GNU dynamic linker. Since this was broken with cross compilers,
10613 # most powerpc-linux boxes support dynamic linking these days and
10614 # people can always --disable-shared, the test was removed, and we
10615 # assume the GNU/Linux dynamic linker is in use.
10616 dynamic_linker
='GNU/Linux ld.so'
10623 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10625 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10626 dynamic_linker
='NetBSD (a.out) ld.so'
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 dynamic_linker
='NetBSD ld.elf_so'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=yes
10634 hardcode_into_libs
=yes
10638 version_type
=linux
# correct to gnu/linux during the next big refactor
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 shlibpath_var
=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath
=yes
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 shlibpath_var
=LD_LIBRARY_PATH
10651 shlibpath_overrides_runpath
=no
10652 hardcode_into_libs
=yes
10653 dynamic_linker
='ldqnx.so'
10658 sys_lib_dlsearch_path_spec
="/usr/lib"
10660 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10662 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10663 *) need_version
=no
;;
10665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10666 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10667 shlibpath_var
=LD_LIBRARY_PATH
10668 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10670 openbsd2.
[89] | openbsd2.
[89].
*)
10671 shlibpath_overrides_runpath
=no
10674 shlibpath_overrides_runpath
=yes
10678 shlibpath_overrides_runpath
=yes
10683 libname_spec
='$name'
10686 library_names_spec
='$libname${shared_ext} $libname.a'
10687 dynamic_linker
='OS/2 ld.exe'
10688 shlibpath_var
=LIBPATH
10691 osf3
* | osf4
* | osf5
*)
10695 soname_spec
='${libname}${release}${shared_ext}$major'
10696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10697 shlibpath_var
=LD_LIBRARY_PATH
10698 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10699 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10707 version_type
=linux
# correct to gnu/linux during the next big refactor
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec
='${libname}${release}${shared_ext}$major'
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=yes
10714 hardcode_into_libs
=yes
10715 # ldd complains unless libraries are executable
10716 postinstall_cmds
='chmod +x $lib'
10721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10722 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10723 shlibpath_var
=LD_LIBRARY_PATH
10724 shlibpath_overrides_runpath
=yes
10725 if test "$with_gnu_ld" = yes; then
10732 version_type
=linux
# correct to gnu/linux during the next big refactor
10733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec
='${libname}${release}${shared_ext}$major'
10735 shlibpath_var
=LD_LIBRARY_PATH
10736 case $host_vendor in
10738 shlibpath_overrides_runpath
=no
10740 runpath_var
=LD_RUN_PATH
10748 shlibpath_overrides_runpath
=no
10749 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10755 if test -d /usr
/nec
;then
10756 version_type
=linux
# correct to gnu/linux during the next big refactor
10757 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10758 soname_spec
='$libname${shared_ext}.$major'
10759 shlibpath_var
=LD_LIBRARY_PATH
10763 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10764 version_type
=freebsd-elf
10767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10768 soname_spec
='${libname}${release}${shared_ext}$major'
10769 shlibpath_var
=LD_LIBRARY_PATH
10770 shlibpath_overrides_runpath
=yes
10771 hardcode_into_libs
=yes
10772 if test "$with_gnu_ld" = yes; then
10773 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10775 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10778 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10782 sys_lib_dlsearch_path_spec
='/usr/lib'
10786 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10787 version_type
=linux
# correct to gnu/linux during the next big refactor
10790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=no
10793 hardcode_into_libs
=yes
10797 version_type
=linux
# correct to gnu/linux during the next big refactor
10798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799 soname_spec
='${libname}${release}${shared_ext}$major'
10800 shlibpath_var
=LD_LIBRARY_PATH
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10808 $as_echo "$dynamic_linker" >&6; }
10809 test "$dynamic_linker" = no
&& can_build_shared
=no
10811 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10812 if test "$GCC" = yes; then
10813 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10816 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10817 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10819 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10820 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10915 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10917 if test -n "$hardcode_libdir_flag_spec" ||
10918 test -n "$runpath_var" ||
10919 test "X$hardcode_automatic" = "Xyes" ; then
10921 # We can hardcode non-existent directories.
10922 if test "$hardcode_direct" != no
&&
10923 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10924 # have to relink, otherwise we might link with an installed library
10925 # when we should be linking with a yet-to-be-installed one
10926 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10927 test "$hardcode_minus_L" != no
; then
10928 # Linking always hardcodes the temporary library directory.
10929 hardcode_action
=relink
10931 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10932 hardcode_action
=immediate
10935 # We cannot hardcode anything, or else we can only hardcode existing
10937 hardcode_action
=unsupported
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10940 $as_echo "$hardcode_action" >&6; }
10942 if test "$hardcode_action" = relink ||
10943 test "$inherit_rpath" = yes; then
10944 # Fast installation is not supported
10945 enable_fast_install
=no
10946 elif test "$shlibpath_overrides_runpath" = yes ||
10947 test "$enable_shared" = no
; then
10948 # Fast installation is not necessary
10949 enable_fast_install
=needless
10957 if test "x$enable_dlopen" != xyes
; then
10958 enable_dlopen
=unknown
10959 enable_dlopen_self
=unknown
10960 enable_dlopen_self_static
=unknown
10967 lt_cv_dlopen
="load_add_on"
10969 lt_cv_dlopen_self
=yes
10972 mingw
* | pw32
* | cegcc
*)
10973 lt_cv_dlopen
="LoadLibrary"
10978 lt_cv_dlopen
="dlopen"
10983 # if libdl is installed we need to link against it
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10985 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10986 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10987 $as_echo_n "(cached) " >&6
10989 ac_check_lib_save_LIBS
=$LIBS
10991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11009 if ac_fn_c_try_link
"$LINENO"; then :
11010 ac_cv_lib_dl_dlopen
=yes
11012 ac_cv_lib_dl_dlopen
=no
11014 rm -f core conftest.err conftest.
$ac_objext \
11015 conftest
$ac_exeext conftest.
$ac_ext
11016 LIBS
=$ac_check_lib_save_LIBS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11019 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11020 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11021 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11024 lt_cv_dlopen
="dyld"
11026 lt_cv_dlopen_self
=yes
11033 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11034 if test "x$ac_cv_func_shl_load" = xyes
; then :
11035 lt_cv_dlopen
="shl_load"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11038 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11039 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11057 return shl_load ();
11062 if ac_fn_c_try_link
"$LINENO"; then :
11063 ac_cv_lib_dld_shl_load
=yes
11065 ac_cv_lib_dld_shl_load
=no
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11072 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11073 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11074 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11076 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11077 if test "x$ac_cv_func_dlopen" = xyes
; then :
11078 lt_cv_dlopen
="dlopen"
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11081 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11082 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11083 $as_echo_n "(cached) " >&6
11085 ac_check_lib_save_LIBS
=$LIBS
11087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11105 if ac_fn_c_try_link
"$LINENO"; then :
11106 ac_cv_lib_dl_dlopen
=yes
11108 ac_cv_lib_dl_dlopen
=no
11110 rm -f core conftest.err conftest.
$ac_objext \
11111 conftest
$ac_exeext conftest.
$ac_ext
11112 LIBS
=$ac_check_lib_save_LIBS
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11116 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11117 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11120 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11121 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11122 $as_echo_n "(cached) " >&6
11124 ac_check_lib_save_LIBS
=$LIBS
11125 LIBS
="-lsvld $LIBS"
11126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11144 if ac_fn_c_try_link
"$LINENO"; then :
11145 ac_cv_lib_svld_dlopen
=yes
11147 ac_cv_lib_svld_dlopen
=no
11149 rm -f core conftest.err conftest.
$ac_objext \
11150 conftest
$ac_exeext conftest.
$ac_ext
11151 LIBS
=$ac_check_lib_save_LIBS
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11154 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11155 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11156 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11159 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11160 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_check_lib_save_LIBS
=$LIBS
11165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11178 return dld_link ();
11183 if ac_fn_c_try_link
"$LINENO"; then :
11184 ac_cv_lib_dld_dld_link
=yes
11186 ac_cv_lib_dld_dld_link
=no
11188 rm -f core conftest.err conftest.
$ac_objext \
11189 conftest
$ac_exeext conftest.
$ac_ext
11190 LIBS
=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11193 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11194 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11195 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11216 if test "x$lt_cv_dlopen" != xno
; then
11222 case $lt_cv_dlopen in
11224 save_CPPFLAGS
="$CPPFLAGS"
11225 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11227 save_LDFLAGS
="$LDFLAGS"
11228 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11231 LIBS
="$lt_cv_dlopen_libs $LIBS"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11234 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11235 if ${lt_cv_dlopen_self+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 if test "$cross_compiling" = yes; then :
11239 lt_cv_dlopen_self
=cross
11241 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11242 lt_status
=$lt_dlunknown
11243 cat > conftest.
$ac_ext <<_LT_EOF
11244 #line $LINENO "configure"
11245 #include "confdefs.h"
11254 # define LT_DLGLOBAL RTLD_GLOBAL
11257 # define LT_DLGLOBAL DL_GLOBAL
11259 # define LT_DLGLOBAL 0
11263 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11264 find out it does not work in some platform. */
11265 #ifndef LT_DLLAZY_OR_NOW
11267 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11270 # define LT_DLLAZY_OR_NOW DL_LAZY
11273 # define LT_DLLAZY_OR_NOW RTLD_NOW
11276 # define LT_DLLAZY_OR_NOW DL_NOW
11278 # define LT_DLLAZY_OR_NOW 0
11285 /* When -fvisbility=hidden is used, assume the code has been annotated
11286 correspondingly for the symbols needed. */
11287 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11288 int fnord () __attribute__((visibility("default")));
11291 int fnord () { return 42; }
11294 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11295 int status = $lt_dlunknown;
11299 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11302 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11303 else puts (dlerror ());
11305 /* dlclose (self); */
11313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11314 (eval $ac_link) 2>&5
11316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11317 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11318 (.
/conftest
; exit; ) >&5 2>/dev
/null
11320 case x
$lt_status in
11321 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11322 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11323 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11326 # compilation failed
11327 lt_cv_dlopen_self
=no
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11335 $as_echo "$lt_cv_dlopen_self" >&6; }
11337 if test "x$lt_cv_dlopen_self" = xyes
; then
11338 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11340 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11341 if ${lt_cv_dlopen_self_static+:} false
; then :
11342 $as_echo_n "(cached) " >&6
11344 if test "$cross_compiling" = yes; then :
11345 lt_cv_dlopen_self_static
=cross
11347 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11348 lt_status
=$lt_dlunknown
11349 cat > conftest.
$ac_ext <<_LT_EOF
11350 #line $LINENO "configure"
11351 #include "confdefs.h"
11360 # define LT_DLGLOBAL RTLD_GLOBAL
11363 # define LT_DLGLOBAL DL_GLOBAL
11365 # define LT_DLGLOBAL 0
11369 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11370 find out it does not work in some platform. */
11371 #ifndef LT_DLLAZY_OR_NOW
11373 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11376 # define LT_DLLAZY_OR_NOW DL_LAZY
11379 # define LT_DLLAZY_OR_NOW RTLD_NOW
11382 # define LT_DLLAZY_OR_NOW DL_NOW
11384 # define LT_DLLAZY_OR_NOW 0
11391 /* When -fvisbility=hidden is used, assume the code has been annotated
11392 correspondingly for the symbols needed. */
11393 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11394 int fnord () __attribute__((visibility("default")));
11397 int fnord () { return 42; }
11400 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11401 int status = $lt_dlunknown;
11405 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11408 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11409 else puts (dlerror ());
11411 /* dlclose (self); */
11419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11420 (eval $ac_link) 2>&5
11422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11423 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11424 (.
/conftest
; exit; ) >&5 2>/dev
/null
11426 case x
$lt_status in
11427 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11428 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11429 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11432 # compilation failed
11433 lt_cv_dlopen_self_static
=no
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11441 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11444 CPPFLAGS
="$save_CPPFLAGS"
11445 LDFLAGS
="$save_LDFLAGS"
11450 case $lt_cv_dlopen_self in
11451 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11452 *) enable_dlopen_self
=unknown
;;
11455 case $lt_cv_dlopen_self_static in
11456 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11457 *) enable_dlopen_self_static
=unknown
;;
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11480 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11481 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11482 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11483 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11485 $as_echo "yes" >&6; }
11487 # FIXME - insert some real tests, host_os isn't really good enough
11490 if test -n "$STRIP" ; then
11491 striplib
="$STRIP -x"
11492 old_striplib
="$STRIP -S"
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11494 $as_echo "yes" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11518 # Report which library types will actually be built
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11520 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11522 $as_echo "$can_build_shared" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11525 $as_echo_n "checking whether to build shared libraries... " >&6; }
11526 test "$can_build_shared" = "no" && enable_shared
=no
11528 # On AIX, shared libraries and static libraries use the same namespace, and
11529 # are all built from PIC.
11532 test "$enable_shared" = yes && enable_static
=no
11533 if test -n "$RANLIB"; then
11534 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11535 postinstall_cmds
='$RANLIB $lib'
11540 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11541 test "$enable_shared" = yes && enable_static
=no
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11546 $as_echo "$enable_shared" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11549 $as_echo_n "checking whether to build static libraries... " >&6; }
11550 # Make sure either enable_shared or enable_static is yes.
11551 test "$enable_shared" = yes || enable_static
=yes
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11553 $as_echo "$enable_static" >&6; }
11560 ac_cpp
='$CPP $CPPFLAGS'
11561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11581 ac_config_commands
="$ac_config_commands libtool"
11586 # Only expand once:
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11590 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11591 if ${libltdl_cv_shlibext+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11596 eval libltdl_cv_shlibext
=$shrext_cmds
11598 eval libltdl_cv_shrext
=$shrext_cmds
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11602 $as_echo "$libltdl_cv_shlibext" >&6; }
11603 if test -n "$libltdl_cv_shlibext"; then
11605 cat >>confdefs.h
<<_ACEOF
11606 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11610 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11612 cat >>confdefs.h
<<_ACEOF
11613 #define LT_SHARED_EXT "$libltdl_cv_shrext"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11619 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11620 if ${lt_cv_module_path_var+:} false
; then :
11621 $as_echo_n "(cached) " >&6
11623 lt_cv_module_path_var
="$shlibpath_var"
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11626 $as_echo "$lt_cv_module_path_var" >&6; }
11627 if test -n "$lt_cv_module_path_var"; then
11629 cat >>confdefs.h
<<_ACEOF
11630 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11636 $as_echo_n "checking for the default library search path... " >&6; }
11637 if ${lt_cv_sys_dlsearch_path+:} false
; then :
11638 $as_echo_n "(cached) " >&6
11640 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11643 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11644 if test -n "$lt_cv_sys_dlsearch_path"; then
11646 for dir
in $lt_cv_sys_dlsearch_path; do
11647 if test -z "$sys_dlsearch_path"; then
11648 sys_dlsearch_path
="$dir"
11650 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11654 cat >>confdefs.h
<<_ACEOF
11655 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11665 ac_cpp
='$CPP $CPPFLAGS'
11666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11673 $as_echo_n "checking for library containing dlopen... " >&6; }
11674 if ${ac_cv_search_dlopen+:} false
; then :
11675 $as_echo_n "(cached) " >&6
11677 ac_func_search_save_LIBS
=$LIBS
11678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11696 for ac_lib
in '' dl
; do
11697 if test -z "$ac_lib"; then
11698 ac_res
="none required"
11701 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11703 if ac_fn_c_try_link
"$LINENO"; then :
11704 ac_cv_search_dlopen
=$ac_res
11706 rm -f core conftest.err conftest.
$ac_objext \
11708 if ${ac_cv_search_dlopen+:} false
; then :
11712 if ${ac_cv_search_dlopen+:} false
; then :
11715 ac_cv_search_dlopen
=no
11717 rm conftest.
$ac_ext
11718 LIBS
=$ac_func_search_save_LIBS
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11721 $as_echo "$ac_cv_search_dlopen" >&6; }
11722 ac_res
=$ac_cv_search_dlopen
11723 if test "$ac_res" != no
; then :
11724 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11726 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11728 if test "$ac_cv_search_dlopen" != "none required" ; then
11729 LIBADD_DLOPEN
="-ldl"
11731 libltdl_cv_lib_dl_dlopen
="yes"
11732 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 # include <dlfcn.h>
11748 if ac_fn_c_try_link
"$LINENO"; then :
11750 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11752 libltdl_cv_func_dlopen
="yes"
11753 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11756 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11757 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_check_lib_save_LIBS
=$LIBS
11761 LIBS
="-lsvld $LIBS"
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11780 if ac_fn_c_try_link
"$LINENO"; then :
11781 ac_cv_lib_svld_dlopen
=yes
11783 ac_cv_lib_svld_dlopen
=no
11785 rm -f core conftest.err conftest.
$ac_objext \
11786 conftest
$ac_exeext conftest.
$ac_ext
11787 LIBS
=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11790 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11791 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11793 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11795 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
11796 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11800 rm -f core conftest.err conftest.
$ac_objext \
11801 conftest
$ac_exeext conftest.
$ac_ext
11804 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
11806 lt_save_LIBS
="$LIBS"
11807 LIBS
="$LIBS $LIBADD_DLOPEN"
11808 for ac_func
in dlerror
11810 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
11811 if test "x$ac_cv_func_dlerror" = xyes
; then :
11812 cat >>confdefs.h
<<_ACEOF
11813 #define HAVE_DLERROR 1
11819 LIBS
="$lt_save_LIBS"
11824 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11825 if test "x$ac_cv_func_shl_load" = xyes
; then :
11827 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11829 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11832 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11833 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11834 $as_echo_n "(cached) " >&6
11836 ac_check_lib_save_LIBS
=$LIBS
11838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11851 return shl_load ();
11856 if ac_fn_c_try_link
"$LINENO"; then :
11857 ac_cv_lib_dld_shl_load
=yes
11859 ac_cv_lib_dld_shl_load
=no
11861 rm -f core conftest.err conftest.
$ac_objext \
11862 conftest
$ac_exeext conftest.
$ac_ext
11863 LIBS
=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11866 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11867 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11869 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11871 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11872 LIBADD_SHL_LOAD
="-ldld"
11881 # We only want this for pre-Mac OS X 10.4.
11882 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
11883 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
11885 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
11887 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
11892 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
11894 cygwin
* | mingw
* | os2
* | pw32
*)
11895 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
11897 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
11903 cat >>confdefs.h
<<_ACEOF
11904 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
11907 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11912 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11913 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11914 $as_echo_n "(cached) " >&6
11916 ac_check_lib_save_LIBS
=$LIBS
11918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11921 /* Override any GCC internal prototype to avoid an error.
11922 Use char because int might match the return type of a GCC
11923 builtin and then its argument prototype would still apply. */
11931 return dld_link ();
11936 if ac_fn_c_try_link
"$LINENO"; then :
11937 ac_cv_lib_dld_dld_link
=yes
11939 ac_cv_lib_dld_dld_link
=no
11941 rm -f core conftest.err conftest.
$ac_objext \
11942 conftest
$ac_exeext conftest.
$ac_ext
11943 LIBS
=$ac_check_lib_save_LIBS
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11946 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11947 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11949 $as_echo "#define HAVE_DLD 1" >>confdefs.h
11951 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
11958 if test -n "$LT_DLLOADERS"
11960 for lt_loader
in $LT_DLLOADERS; do
11961 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
11964 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
11969 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
11973 ac_cpp
='$CPP $CPPFLAGS'
11974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
11980 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
11981 if ${lt_cv_sys_symbol_underscore+:} false
; then :
11982 $as_echo_n "(cached) " >&6
11984 lt_cv_sys_symbol_underscore
=no
11985 cat > conftest.
$ac_ext <<_LT_EOF
11986 void nm_test_func(){}
11987 int main(){nm_test_func;return 0;}
11989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11990 (eval $ac_compile) 2>&5
11992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11993 test $ac_status = 0; }; then
11994 # Now try to grab the symbols.
11995 ac_nlist
=conftest.nm
11996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
11997 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
11999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12000 test $ac_status = 0; } && test -s "$ac_nlist"; then
12001 # See whether the symbols have a leading underscore.
12002 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12003 lt_cv_sys_symbol_underscore
=yes
12005 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12008 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12012 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12015 echo "configure: failed program was:" >&5
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12022 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12023 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12026 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
12027 if test x
"$libltdl_cv_func_dlopen" = xyes ||
12028 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12030 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12031 if ${libltdl_cv_need_uscore+:} false
; then :
12032 $as_echo_n "(cached) " >&6
12034 libltdl_cv_need_uscore
=unknown
12036 LIBS
="$LIBS $LIBADD_DLOPEN"
12037 if test "$cross_compiling" = yes; then :
12038 libltdl_cv_need_uscore
=cross
12040 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12041 lt_status
=$lt_dlunknown
12042 cat > conftest.
$ac_ext <<_LT_EOF
12043 #line $LINENO "configure"
12044 #include "confdefs.h"
12053 # define LT_DLGLOBAL RTLD_GLOBAL
12056 # define LT_DLGLOBAL DL_GLOBAL
12058 # define LT_DLGLOBAL 0
12062 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12063 find out it does not work in some platform. */
12064 #ifndef LT_DLLAZY_OR_NOW
12066 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12069 # define LT_DLLAZY_OR_NOW DL_LAZY
12072 # define LT_DLLAZY_OR_NOW RTLD_NOW
12075 # define LT_DLLAZY_OR_NOW DL_NOW
12077 # define LT_DLLAZY_OR_NOW 0
12084 /* When -fvisbility=hidden is used, assume the code has been annotated
12085 correspondingly for the symbols needed. */
12086 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12087 int fnord () __attribute__((visibility("default")));
12090 int fnord () { return 42; }
12093 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12094 int status = $lt_dlunknown;
12098 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12101 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12102 else puts (dlerror ());
12104 /* dlclose (self); */
12112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12113 (eval $ac_link) 2>&5
12115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12116 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12117 (.
/conftest
; exit; ) >&5 2>/dev
/null
12119 case x
$lt_status in
12120 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
12121 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
12122 x
$lt_dlunknown|x
*) ;;
12125 # compilation failed
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12135 $as_echo "$libltdl_cv_need_uscore" >&6; }
12139 if test x
"$libltdl_cv_need_uscore" = xyes
; then
12141 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12146 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12147 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12148 $as_echo_n "(cached) " >&6
12150 # PORTME does your system automatically load deplibs for dlopen?
12151 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12152 # For now, we just catch OSes we know something about -- in the
12153 # future, we'll try test this programmatically.
12154 lt_cv_sys_dlopen_deplibs
=unknown
12156 aix3
*|aix4.1.
*|aix4.2.
*)
12157 # Unknown whether this is true for these versions of AIX, but
12158 # we want this `case' here to explicitly catch those versions.
12159 lt_cv_sys_dlopen_deplibs
=unknown
12162 lt_cv_sys_dlopen_deplibs
=yes
12167 lt_cv_sys_dlopen_deplibs
=no
12172 # Assuming the user has installed a libdl from somewhere, this is true
12173 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12174 lt_cv_sys_dlopen_deplibs
=yes
12176 freebsd
* | dragonfly
*)
12177 lt_cv_sys_dlopen_deplibs
=yes
12179 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12180 # GNU and its variants, using gnu ld.so (Glibc)
12181 lt_cv_sys_dlopen_deplibs
=yes
12184 lt_cv_sys_dlopen_deplibs
=yes
12187 lt_cv_sys_dlopen_deplibs
=yes
12189 irix
[12345]*|irix6.
[01]*)
12190 # Catch all versions of IRIX before 6.2, and indicate that we don't
12191 # know how it worked for any of those versions.
12192 lt_cv_sys_dlopen_deplibs
=unknown
12195 # The case above catches anything before 6.2, and it's known that
12196 # at 6.2 and later dlopen does load deplibs.
12197 lt_cv_sys_dlopen_deplibs
=yes
12200 lt_cv_sys_dlopen_deplibs
=yes
12203 lt_cv_sys_dlopen_deplibs
=yes
12206 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12207 # it did *not* use an RPATH in a shared library to find objects the
12208 # library depends on, so we explicitly say `no'.
12209 lt_cv_sys_dlopen_deplibs
=no
12211 osf5.0|osf5.0a|osf5.1
)
12212 # dlopen *does* load deplibs and with the right loader patch applied
12213 # it even uses RPATH in a shared library to search for shared objects
12214 # that the library depends on, but there's no easy way to know if that
12215 # patch is installed. Since this is the case, all we can really
12216 # say is unknown -- it depends on the patch being installed. If
12217 # it is, this changes to `yes'. Without it, it would be `no'.
12218 lt_cv_sys_dlopen_deplibs
=unknown
12221 # the two cases above should catch all versions of osf <= 5.1. Read
12222 # the comments above for what we know about them.
12223 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12224 # is used to find them so we can finally say `yes'.
12225 lt_cv_sys_dlopen_deplibs
=yes
12228 lt_cv_sys_dlopen_deplibs
=yes
12231 lt_cv_sys_dlopen_deplibs
=yes
12233 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12234 libltdl_cv_sys_dlopen_deplibs
=yes
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12240 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12241 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12243 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12249 for ac_header
in argz.h
12251 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12253 if test "x$ac_cv_header_argz_h" = xyes
; then :
12254 cat >>confdefs.h
<<_ACEOF
12255 #define HAVE_ARGZ_H 1
12263 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12267 if test "x$ac_cv_type_error_t" = xyes
; then :
12269 cat >>confdefs.h
<<_ACEOF
12270 #define HAVE_ERROR_T 1
12276 $as_echo "#define error_t int" >>confdefs.h
12279 $as_echo "#define __error_t_defined 1" >>confdefs.h
12285 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
12286 argz_next argz_stringify
12288 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12290 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12291 cat >>confdefs.h
<<_ACEOF
12292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12296 ARGZ_H
=argz.h
; case " $LIBOBJS " in
12297 *" argz.$ac_objext "* ) ;;
12298 *) LIBOBJS
="$LIBOBJS argz.$ac_objext"
12306 if test -z "$ARGZ_H"; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12308 $as_echo_n "checking if argz actually works... " >&6; }
12309 if ${lt_cv_sys_argz_works+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 case $host_os in #(
12314 lt_cv_sys_argz_works
=no
12315 if test "$cross_compiling" != no
; then
12316 lt_cv_sys_argz_works
="guessing no"
12318 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12321 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12326 if test "$lt_os_major" -gt 1 \
12327 ||
{ test "$lt_os_major" -eq 1 \
12328 && { test "$lt_os_minor" -gt 5 \
12329 ||
{ test "$lt_os_minor" -eq 5 \
12330 && test "$lt_os_micro" -gt 24; }; }; }; then
12331 lt_cv_sys_argz_works
=yes
12335 *) lt_cv_sys_argz_works
=yes ;;
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12339 $as_echo "$lt_cv_sys_argz_works" >&6; }
12340 if test "$lt_cv_sys_argz_works" = yes; then :
12342 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12346 case " $LIBOBJS " in
12347 *" argz.$ac_objext "* ) ;;
12348 *) LIBOBJS
="$LIBOBJS argz.$ac_objext"
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12358 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12359 if ${libltdl_cv_preloaded_symbols+:} false
; then :
12360 $as_echo_n "(cached) " >&6
12362 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12363 libltdl_cv_preloaded_symbols
=yes
12365 libltdl_cv_preloaded_symbols
=no
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12370 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12371 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12373 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12379 # Check whether --enable-ltdl-install was given.
12380 if test "${enable_ltdl_install+set}" = set; then :
12381 enableval
=$enable_ltdl_install;
12385 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12387 *) enable_ltdl_convenience
=yes ;;
12390 if test x
"${enable_ltdl_install-no}" != xno
; then
12392 INSTALL_LTDL_FALSE
='#'
12394 INSTALL_LTDL_TRUE
='#'
12395 INSTALL_LTDL_FALSE
=
12398 if test x
"${enable_ltdl_convenience-no}" != xno
; then
12399 CONVENIENCE_LTDL_TRUE
=
12400 CONVENIENCE_LTDL_FALSE
='#'
12402 CONVENIENCE_LTDL_TRUE
='#'
12403 CONVENIENCE_LTDL_FALSE
=
12411 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12412 # the user used. This is so that ltdl.h can pick up the parent projects
12413 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
12414 # definitions required by ltdl.c.
12415 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12419 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach-o
/dyld.h dirent.h
12421 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12422 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12424 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12425 cat >>confdefs.h
<<_ACEOF
12426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12434 for ac_func
in closedir opendir readdir
12436 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12437 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12438 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12439 cat >>confdefs.h
<<_ACEOF
12440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12444 case " $LIBOBJS " in
12445 *" lt__dirent.$ac_objext "* ) ;;
12446 *) LIBOBJS
="$LIBOBJS lt__dirent.$ac_objext"
12453 for ac_func
in strlcat strlcpy
12455 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12456 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12457 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12458 cat >>confdefs.h
<<_ACEOF
12459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12463 case " $LIBOBJS " in
12464 *" lt__strl.$ac_objext "* ) ;;
12465 *) LIBOBJS
="$LIBOBJS lt__strl.$ac_objext"
12474 cat >>confdefs.h
<<_ACEOF
12475 #define LT_LIBEXT "$libext"
12480 eval "lt_libprefix=\"$libname_spec\""
12482 cat >>confdefs.h
<<_ACEOF
12483 #define LT_LIBPREFIX "$lt_libprefix"
12488 eval "LTDLOPEN=\"$libname_spec\""
12496 ac_config_files
="$ac_config_files Makefile"
12498 cat >confcache
<<\_ACEOF
12499 # This file is a shell script that caches the results of configure
12500 # tests run on this system so they can be shared between configure
12501 # scripts and configure runs, see configure's option --config-cache.
12502 # It is not useful on other systems. If it contains results you don't
12503 # want to keep, you may remove or edit it.
12505 # config.status only pays attention to the cache file if you give it
12506 # the --recheck option to rerun configure.
12508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12510 # following values.
12514 # The following way of writing the cache mishandles newlines in values,
12515 # but we know of no workaround that is simple, portable, and efficient.
12516 # So, we kill variables containing newlines.
12517 # Ultrix sh set writes to stderr and can't be redirected directly,
12518 # and sets the high bit in the cache file unless we assign to the vars.
12520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12521 eval ac_val
=\$
$ac_var
12525 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12529 _ | IFS | as_nl
) ;; #(
12530 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12531 *) { eval $ac_var=; unset $ac_var;} ;;
12537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12538 *${as_nl}ac_space
=\
*)
12539 # `set' does not quote correctly, so add quotes: double-quote
12540 # substitution turns \\\\ into \\, and sed turns \\ into \.
12543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12546 # `set' quotes correctly as required by POSIX, so do not add quotes.
12547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12560 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12561 if test -w "$cache_file"; then
12562 if test "x$cache_file" != "x/dev/null"; then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12564 $as_echo "$as_me: updating cache $cache_file" >&6;}
12565 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12566 cat confcache
>"$cache_file"
12568 case $cache_file in #(
12570 mv -f confcache
"$cache_file"$$
&&
12571 mv -f "$cache_file"$$
"$cache_file" ;; #(
12573 mv -f confcache
"$cache_file" ;;
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12584 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12585 # Let make expand exec_prefix.
12586 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12588 DEFS
=-DHAVE_CONFIG_H
12593 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12594 # 1. Remove the extension, and $U if already installed.
12595 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12596 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12597 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12598 # will be set to the directory where LIBOBJS objects are built.
12599 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12600 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12602 LIBOBJS
=$ac_libobjs
12604 LTLIBOBJS
=$ac_ltlibobjs
12607 if test -n "$EXEEXT"; then
12609 am__EXEEXT_FALSE
='#'
12611 am__EXEEXT_TRUE
='#'
12615 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12616 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12619 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12620 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12623 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
12624 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
12625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12627 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
12628 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
12629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12631 LT_CONFIG_H
=config.h
12633 : "${CONFIG_STATUS=./config.status}"
12635 ac_clean_files_save
=$ac_clean_files
12636 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12638 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12640 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12642 # Generated by $as_me.
12643 # Run this file to recreate the current configuration.
12644 # Compiler output produced by configure, useful for debugging
12645 # configure, is in config.log if it exists.
12648 ac_cs_recheck=false
12651 SHELL=\${CONFIG_SHELL-$SHELL}
12654 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12655 ## -------------------- ##
12656 ## M4sh Initialization. ##
12657 ## -------------------- ##
12659 # Be more Bourne compatible
12660 DUALCASE
=1; export DUALCASE
# for MKS sh
12661 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12664 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12665 # is contrary to our usage. Disable this feature.
12666 alias -g '${1+"$@"}'='"$@"'
12667 setopt NO_GLOB_SUBST
12669 case `(set -o) 2>/dev/null` in #(
12681 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12682 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12683 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12685 # Prefer a ksh shell builtin over an external printf program on Solaris,
12686 # but without wasting forks for bash or zsh.
12687 if test -z "$BASH_VERSION$ZSH_VERSION" \
12688 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12689 as_echo='print
-r --'
12690 as_echo_n='print
-rn --'
12691 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12692 as_echo='printf %s
\n'
12693 as_echo_n='printf %s
'
12695 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12696 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12697 as_echo_n='/usr
/ucb
/echo -n'
12699 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12700 as_echo_n_body='eval
12704 expr "X$arg" : "X\\(.*\\)$as_nl";
12705 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12707 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12709 export as_echo_n_body
12710 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12712 export as_echo_body
12713 as_echo='sh
-c $as_echo_body as_echo
'
12716 # The user is always right.
12717 if test "${PATH_SEPARATOR+set}" != set; then
12719 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12720 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12727 # We need space, tab and new line, in precisely that order. Quoting is
12728 # there to prevent editors from complaining about space-tab.
12729 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12730 # splitting by setting IFS to empty value.)
12733 # Find who we are. Look in the path if we contain no directory separator.
12736 *[\\/]* ) as_myself=$0 ;;
12737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12738 for as_dir in $PATH
12741 test -z "$as_dir" && as_dir=.
12742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12748 # We did not find ourselves, most probably we were run as `sh COMMAND'
12749 # in which case we are not to be found in the path.
12750 if test "x$as_myself" = x
; then
12753 if test ! -f "$as_myself"; then
12754 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12758 # Unset variables that we do not need and which cause bugs (e.g. in
12759 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12760 # suppresses any "Segmentation fault" message there. '((' could
12761 # trigger a bug in pdksh 5.2.14.
12762 for as_var
in BASH_ENV ENV MAIL MAILPATH
12763 do eval test x\
${$as_var+set} = xset \
12764 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12777 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12780 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12781 # ----------------------------------------
12782 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12783 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12784 # script with STATUS, using 1 if that was 0.
12787 as_status
=$1; test $as_status -eq 0 && as_status
=1
12789 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12790 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12792 $as_echo "$as_me: error: $2" >&2
12793 as_fn_exit
$as_status
12797 # as_fn_set_status STATUS
12798 # -----------------------
12799 # Set $? to STATUS, without forking.
12800 as_fn_set_status
()
12803 } # as_fn_set_status
12805 # as_fn_exit STATUS
12806 # -----------------
12807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12811 as_fn_set_status
$1
12817 # Portably unset VAR.
12820 { eval $1=; unset $1;}
12822 as_unset
=as_fn_unset
12823 # as_fn_append VAR VALUE
12824 # ----------------------
12825 # Append the text in VALUE to the end of the definition contained in VAR. Take
12826 # advantage of any shell optimizations that allow amortized linear growth over
12827 # repeated appends, instead of the typical quadratic growth present in naive
12829 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12830 eval 'as_fn_append ()
12841 # as_fn_arith ARG...
12842 # ------------------
12843 # Perform arithmetic evaluation on the ARGs, and store the result in the
12844 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12845 # must be portable across $(()) and expr.
12846 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12847 eval 'as_fn_arith ()
12854 as_val
=`expr "$@" || test $? -eq 1`
12859 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12860 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12866 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12867 as_basename
=basename
12872 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12878 as_me
=`$as_basename -- "$0" ||
12879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12880 X"$0" : 'X\(//\)$' \| \
12881 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12883 sed '/^.*\/\([^/][^/]*\)\/*$/{
12897 # Avoid depending upon Character Ranges.
12898 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12899 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12900 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12901 as_cr_digits
='0123456789'
12902 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12904 ECHO_C
= ECHO_N
= ECHO_T
=
12905 case `echo -n x` in #(((((
12907 case `echo 'xy\c'` in
12908 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12910 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12917 rm -f conf$$ conf$$.exe conf$$.
file
12918 if test -d conf$$.dir
; then
12919 rm -f conf$$.dir
/conf$$.
file
12922 mkdir conf$$.dir
2>/dev
/null
12924 if (echo >conf$$.
file) 2>/dev
/null
; then
12925 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12927 # ... but there are two gotchas:
12928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12930 # In both cases, we have to default to `cp -p'.
12931 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12933 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12941 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12942 rmdir conf$$.dir
2>/dev
/null
12947 # Create "$as_dir" as a directory, including parents if necessary.
12952 -*) as_dir
=.
/$as_dir;;
12954 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12958 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12959 *) as_qdir
=$as_dir;;
12961 as_dirs
="'$as_qdir' $as_dirs"
12962 as_dir
=`$as_dirname -- "$as_dir" ||
12963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12964 X"$as_dir" : 'X\(//\)[^/]' \| \
12965 X"$as_dir" : 'X\(//\)$' \| \
12966 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12967 $as_echo X"$as_dir" |
12968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12972 /^X\(\/\/\)[^/].*/{
12985 test -d "$as_dir" && break
12987 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12988 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12992 if mkdir
-p .
2>/dev
/null
; then
12993 as_mkdir_p
='mkdir -p "$as_dir"'
12995 test -d .
/-p && rmdir .
/-p
12999 if test -x / >/dev
/null
2>&1; then
13000 as_test_x
='test -x'
13002 if ls -dL / >/dev
/null
2>&1; then
13009 if test -d "$1"; then
13015 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13016 ???[sx]*):;;*)false;;esac;fi
13020 as_executable_p
=$as_test_x
13022 # Sed expression to map a string onto a valid CPP name.
13023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13025 # Sed expression to map a string onto a valid variable name.
13026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13030 ## ----------------------------------- ##
13031 ## Main body of $CONFIG_STATUS script. ##
13032 ## ----------------------------------- ##
13034 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13037 # Save the log message, to keep $0 and so on meaningful, and to
13038 # report actual input values of CONFIG_FILES etc. instead of their
13039 # values after options handling.
13041 This file was extended by libltdl $as_me 2.4.2, which was
13042 generated by GNU Autoconf 2.68. Invocation command line was
13044 CONFIG_FILES = $CONFIG_FILES
13045 CONFIG_HEADERS = $CONFIG_HEADERS
13046 CONFIG_LINKS = $CONFIG_LINKS
13047 CONFIG_COMMANDS = $CONFIG_COMMANDS
13050 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13055 case $ac_config_files in *"
13056 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13059 case $ac_config_headers in *"
13060 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13065 # Files that config.status was made for.
13066 config_files="$ac_config_files"
13067 config_headers="$ac_config_headers"
13068 config_commands="$ac_config_commands"
13072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13074 \`$as_me' instantiates files and other configuration actions
13075 from templates according to the current configuration. Unless the files
13076 and actions are specified as TAGs, all are instantiated by default.
13078 Usage: $0 [OPTION]... [TAG]...
13080 -h, --help print this help, then exit
13081 -V, --version print version number and configuration settings, then exit
13082 --config print configuration, then exit
13083 -q, --quiet, --silent
13084 do not print progress messages
13085 -d, --debug don't remove temporary files
13086 --recheck update $as_me by reconfiguring in the same conditions
13087 --file=FILE[:TEMPLATE]
13088 instantiate the configuration file FILE
13089 --header=FILE[:TEMPLATE]
13090 instantiate the configuration header FILE
13092 Configuration files:
13095 Configuration headers:
13098 Configuration commands:
13101 Report bugs to <bug-libtool@gnu.org>."
13104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13107 libltdl config.status 2.4.2
13108 configured by $0, generated by GNU Autoconf 2.68,
13109 with options \\"\$ac_cs_config\\"
13111 Copyright (C) 2010 Free Software Foundation, Inc.
13112 This config.status script is free software; the Free Software Foundation
13113 gives unlimited permission to copy, distribute and modify it."
13120 test -n "\$AWK" || AWK=awk
13123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13124 # The default lists apply if the user does not specify any file.
13130 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13131 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13135 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13147 # Handling of the options.
13148 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13150 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13151 $as_echo "$ac_cs_version"; exit ;;
13152 --config |
--confi |
--conf |
--con |
--co |
--c )
13153 $as_echo "$ac_cs_config"; exit ;;
13154 --debug |
--debu |
--deb |
--de |
--d |
-d )
13156 --file |
--fil |
--fi |
--f )
13159 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13160 '') as_fn_error $?
"missing file argument" ;;
13162 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13163 ac_need_defaults
=false
;;
13164 --header |
--heade |
--head |
--hea )
13167 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13169 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13170 ac_need_defaults
=false
;;
13172 # Conflict between --help and --header
13173 as_fn_error $?
"ambiguous option: \`$1'
13174 Try \`$0 --help' for more information.";;
13175 --help |
--hel |
-h )
13176 $as_echo "$ac_cs_usage"; exit ;;
13177 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13178 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13181 # This is an error.
13182 -*) as_fn_error $?
"unrecognized option: \`$1'
13183 Try \`$0 --help' for more information." ;;
13185 *) as_fn_append ac_config_targets
" $1"
13186 ac_need_defaults
=false
;;
13192 ac_configure_extra_args
=
13194 if $ac_cs_silent; then
13196 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13201 if \$ac_cs_recheck; then
13202 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13204 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13205 CONFIG_SHELL='$SHELL'
13206 export CONFIG_SHELL
13211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13216 ## Running $as_me. ##
13222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13226 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13229 # The HP-UX ksh and POSIX shell print the target directory to stdout
13230 # if CDPATH is set.
13231 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13233 sed_quote_subst='$sed_quote_subst'
13234 double_quote_subst='$double_quote_subst'
13235 delay_variable_subst='$delay_variable_subst'
13236 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13237 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13238 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13239 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13240 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13241 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13242 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13243 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13244 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13245 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13246 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13247 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13248 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13249 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13250 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13251 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13252 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13253 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13254 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13255 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13256 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13257 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13258 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13259 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13260 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13261 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13262 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13263 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13264 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13265 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13266 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13267 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13268 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13269 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13270 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13271 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13272 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13273 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13274 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13275 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13276 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13277 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13278 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13279 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13283 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13284 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13285 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13286 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13287 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13288 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13289 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13290 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13291 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13292 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13293 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"`'
13294 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13295 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13296 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13297 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13298 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13299 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13300 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13301 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13302 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13303 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13304 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13305 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13306 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13307 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13308 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13309 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13310 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13311 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13312 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13313 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13314 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13315 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13316 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13317 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13318 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13319 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13320 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13321 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13322 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13323 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13324 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13325 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13326 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13327 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13328 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13329 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13330 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13331 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13332 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13333 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13334 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13335 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13336 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13337 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13338 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13339 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13340 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13341 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13342 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13343 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13344 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13345 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13346 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13347 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13348 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13349 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13350 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13351 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13352 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13353 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13354 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13355 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13356 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13357 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13358 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13359 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13360 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13361 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13362 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13363 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13364 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13365 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13366 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13369 LTCFLAGS='$LTCFLAGS'
13370 compiler='$compiler_DEFAULT'
13372 # A function that is used when there is no print builtin or printf.
13373 func_fallback_echo ()
13375 eval 'cat <<_LTECHO_EOF
13380 # Quote evaled strings.
13397 deplibs_check_method \
13401 sharedlib_from_linklib_cmd \
13404 archiver_list_spec \
13410 lt_cv_sys_global_symbol_pipe \
13411 lt_cv_sys_global_symbol_to_cdecl \
13412 lt_cv_sys_global_symbol_to_c_name_address \
13413 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13414 nm_file_list_spec \
13415 lt_prog_compiler_no_builtin_flag \
13416 lt_prog_compiler_pic \
13417 lt_prog_compiler_wl \
13418 lt_prog_compiler_static \
13419 lt_cv_prog_compiler_c_o \
13428 export_dynamic_flag_spec \
13429 whole_archive_flag_spec \
13430 compiler_needs_object \
13432 allow_undefined_flag \
13433 no_undefined_flag \
13434 hardcode_libdir_flag_spec \
13435 hardcode_libdir_separator \
13439 variables_saved_for_relink \
13441 library_names_spec \
13443 install_override_mode \
13447 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13448 *[\\\\\\\`\\"\\\$]*)
13449 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13452 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13457 # Double-quote double-evaled strings.
13458 for var in reload_cmds \
13459 old_postinstall_cmds \
13460 old_postuninstall_cmds \
13462 extract_expsyms_cmds \
13463 old_archive_from_new_cmds \
13464 old_archive_from_expsyms_cmds \
13466 archive_expsym_cmds \
13468 module_expsym_cmds \
13469 export_symbols_cmds \
13473 postuninstall_cmds \
13475 sys_lib_search_path_spec \
13476 sys_lib_dlsearch_path_spec; do
13477 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13478 *[\\\\\\\`\\"\\\$]*)
13479 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13482 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13487 ac_aux_dir='$ac_aux_dir'
13488 xsi_shell='$xsi_shell'
13489 lt_shell_append='$lt_shell_append'
13491 # See if we are running on zsh, and set the options which allow our
13492 # commands through without removal of \ escapes INIT.
13493 if test -n "\${ZSH_VERSION+set}" ; then
13494 setopt NO_GLOB_SUBST
13500 TIMESTAMP='$TIMESTAMP'
13509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13511 # Handling of arguments.
13512 for ac_config_target
in $ac_config_targets
13514 case $ac_config_target in
13515 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
13516 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13517 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13518 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13520 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13525 # If the user did not use the arguments to specify the items to instantiate,
13526 # then the envvar interface is used. Set only those that are not.
13527 # We use the long form for the default assignment because of an extremely
13528 # bizarre bug on SunOS 4.1.3.
13529 if $ac_need_defaults; then
13530 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13531 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13532 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13535 # Have a temporary directory for convenience. Make it in the build tree
13536 # simply because there is no reason against having it here, and in addition,
13537 # creating and moving files from /tmp can sometimes cause problems.
13538 # Hook for its removal unless debugging.
13539 # Note that there is a small window in which the directory will not be cleaned:
13540 # after its creation but before its name has been assigned to `$tmp'.
13544 trap 'exit_status=$?
13545 : "${ac_tmp:=$tmp}"
13546 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13548 trap 'as_fn_exit 1' 1 2 13 15
13550 # Create a (secure) tmp directory for tmp files.
13553 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13557 tmp
=.
/conf$$
-$RANDOM
13558 (umask 077 && mkdir
"$tmp")
13559 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13562 # Set up the scripts for CONFIG_FILES section.
13563 # No need to generate them if there are no CONFIG_FILES.
13564 # This happens for instance with `./config.status config.h'.
13565 if test -n "$CONFIG_FILES"; then
13568 ac_cr
=`echo X | tr X '\015'`
13569 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13570 # But we know of no other shell where ac_cr would be empty at this
13571 # point, so we can use a bashism as a fallback.
13572 if test "x$ac_cr" = x
; then
13573 eval ac_cr
=\$
\'\\r
\'
13575 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13576 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13579 ac_cs_awk_cr
=$ac_cr
13582 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13587 echo "cat >conf$$subs.awk <<_ACEOF" &&
13588 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13590 } >conf$$subs.sh ||
13591 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13592 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13594 for ac_last_try in false false false false false :; do
13595 . ./conf$$subs.sh ||
13596 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13598 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13599 if test $ac_delim_n = $ac_delim_num; then
13601 elif $ac_last_try; then
13602 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13604 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13607 rm -f conf$$subs.sh
13609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13610 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13614 s/^/S["/; s
/!.
*/"]=/
13624 s/\(.\{148\}\)..*/\1/
13626 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13631 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13638 s/\(.\{148\}\)..*/\1/
13640 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13644 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13649 ' <conf$$subs.awk | sed '
13654 ' >>$CONFIG_STATUS || ac_write_fail=1
13655 rm -f conf$$subs.awk
13656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13658 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13659 for (key in S) S_is_set[key] = 1
13665 nfields = split(line, field, "@
")
13667 len = length(field[1])
13668 for (i = 2; i < nfields; i++) {
13670 keylen = length(key)
13671 if (S_is_set[key]) {
13673 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13674 len += length(value) + length(field[++i])
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13686 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13687 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13690 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13691 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13694 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13695 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13696 # trailing colons and then remove the whole line if VPATH becomes empty
13697 # (actually we leave an empty line to preserve line numbers).
13698 if test "x
$srcdir" = x.; then
13699 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13718 fi # test -n "$CONFIG_FILES"
13720 # Set up the scripts for CONFIG_HEADERS section.
13721 # No need to generate them if there are no CONFIG_HEADERS.
13722 # This happens for instance with `./config.status Makefile'.
13723 if test -n "$CONFIG_HEADERS"; then
13724 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13728 # Transform confdefs.h into an awk script `defines.awk', embedded as
13729 # here-document in config.status, that substitutes the proper values into
13730 # config.h.in to produce config.h.
13732 # Create a delimiter string that does not exist in confdefs.h, to ease
13733 # handling of long lines.
13735 for ac_last_try in false false :; do
13736 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13737 if test -z "$ac_tt"; then
13739 elif $ac_last_try; then
13740 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13742 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13746 # For the awk script, D is an array of macro values keyed by name,
13747 # likewise P contains macro parameters if any. Preserve backslash
13748 # newline sequences.
13750 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13752 s/.\{148\}/&'"$ac_delim"'/g
13755 s/^[ ]*#[ ]*define[ ][ ]*/ /
13762 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13764 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13768 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13769 D["\
1"]=" \
3\\\\\\n
"\\/p
13771 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13776 s/.\{148\}/&'"$ac_delim"'/g
13781 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13784 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13786 ' <confdefs.h | sed '
13787 s/'"$ac_delim"'/"\\\
13788 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13791 for (key in D) D_is_set[key] = 1
13794 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13796 split(line, arg, " ")
13797 if (arg[1] == "#") {
13801 defundef
= substr
(arg
[1], 2)
13804 split(mac1
, mac2
, "(") #)
13806 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13807 if (D_is_set
[macro
]) {
13808 # Preserve the white space surrounding the "#".
13809 print prefix
"define", macro P
[macro
] D
[macro
]
13812 # Replace #undef with comments. This is necessary, for example,
13813 # in the case of _POSIX_SOURCE, which is predefined and required
13814 # on some systems where configure will not decide to define it.
13815 if (defundef
== "undef") {
13816 print
"/*", prefix defundef
, macro
, "*/"
13824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13825 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13826 fi # test -n "$CONFIG_HEADERS"
13829 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13834 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13836 case $ac_mode$ac_tag in
13838 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13839 :[FH
]-) ac_tag
=-:-;;
13840 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13857 -) ac_f
="$ac_tmp/stdin";;
13858 *) # Look for the file first in the build tree, then in the source tree
13859 # (if the path is not absolute). The absolute path cannot be DOS-style,
13860 # because $ac_f cannot contain `:'.
13864 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13866 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13868 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13869 as_fn_append ac_file_inputs
" '$ac_f'"
13872 # Let's still pretend it is `configure' which instantiates (i.e., don't
13873 # use $as_me), people would be surprised to read:
13874 # /* config.h. Generated by config.status. */
13875 configure_input
='Generated from '`
13876 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13878 if test x
"$ac_file" != x-
; then
13879 configure_input
="$ac_file. $configure_input"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13881 $as_echo "$as_me: creating $ac_file" >&6;}
13883 # Neutralize special characters interpreted by sed in replacement strings.
13884 case $configure_input in #(
13885 *\
&* |
*\|
* |
*\\* )
13886 ac_sed_conf_input
=`$as_echo "$configure_input" |
13887 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13888 *) ac_sed_conf_input
=$configure_input;;
13892 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13893 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13898 ac_dir
=`$as_dirname -- "$ac_file" ||
13899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13900 X"$ac_file" : 'X\(//\)[^/]' \| \
13901 X"$ac_file" : 'X\(//\)$' \| \
13902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13903 $as_echo X"$ac_file" |
13904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13908 /^X\(\/\/\)[^/].*/{
13921 as_dir
="$ac_dir"; as_fn_mkdir_p
13925 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13927 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13928 # A ".." for each directory in $ac_dir_suffix.
13929 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13930 case $ac_top_builddir_sub in
13931 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13932 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13935 ac_abs_top_builddir
=$ac_pwd
13936 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13937 # for backward compatibility:
13938 ac_top_builddir
=$ac_top_build_prefix
13941 .
) # We are building in place.
13943 ac_top_srcdir
=$ac_top_builddir_sub
13944 ac_abs_top_srcdir
=$ac_pwd ;;
13945 [\\/]* | ?
:[\\/]* ) # Absolute name.
13946 ac_srcdir
=$srcdir$ac_dir_suffix;
13947 ac_top_srcdir
=$srcdir
13948 ac_abs_top_srcdir
=$srcdir ;;
13949 *) # Relative name.
13950 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13951 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13952 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13954 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13964 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13965 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13967 ac_MKDIR_P
=$MKDIR_P
13969 [\\/$
]* | ?
:[\\/]* ) ;;
13970 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13975 # If the template does not know about datarootdir, expand it.
13976 # FIXME: This hack should be removed a few years after 2.60.
13977 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13988 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13989 *datarootdir
*) ac_datarootdir_seen
=yes;;
13990 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13992 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13995 ac_datarootdir_hack='
13996 s&@datadir@&$datadir&g
13997 s&@docdir@&$docdir&g
13998 s&@infodir@&$infodir&g
13999 s&@localedir@&$localedir&g
14000 s&@mandir@&$mandir&g
14001 s&\\\${datarootdir}&$datarootdir&g' ;;
14005 # Neutralize VPATH when `$srcdir' = `.'.
14006 # Shell code in configure.ac might set extrasub.
14007 # FIXME: do we really want to maintain this feature?
14008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14009 ac_sed_extra="$ac_vpsub
14012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14014 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14015 s|@configure_input@|
$ac_sed_conf_input|
;t t
14016 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14017 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14018 s
&@srcdir@
&$ac_srcdir&;t t
14019 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14020 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14021 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14022 s
&@builddir@
&$ac_builddir&;t t
14023 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14024 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14025 s
&@INSTALL@
&$ac_INSTALL&;t t
14026 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14027 $ac_datarootdir_hack
14029 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14030 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14032 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14033 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14035 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14037 which seems to be undefined. Please make sure it is defined" >&5
14038 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14039 which seems to be undefined. Please make sure it is defined" >&2;}
14041 rm -f "$ac_tmp/stdin"
14043 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14044 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14052 if test x"$ac_file" != x-; then
14054 $as_echo "/* $configure_input */" \
14055 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14056 } >"$ac_tmp/config.h" \
14057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14058 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14060 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14063 mv "$ac_tmp/config.h" "$ac_file" \
14064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14067 $as_echo "/* $configure_input */" \
14068 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14069 || as_fn_error $? "could not create -" "$LINENO" 5
14071 # Compute "$ac_file"'s index
in $config_headers.
14074 for _am_header
in $config_headers :; do
14075 case $_am_header in
14076 $_am_arg |
$_am_arg:* )
14079 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14082 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14083 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14084 X"$_am_arg" : 'X\(//\)[^/]' \| \
14085 X"$_am_arg" : 'X\(//\)$' \| \
14086 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14087 $as_echo X"$_am_arg" |
14088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14092 /^X\(\/\/\)[^/].*/{
14104 s/.*/./; q'`/stamp-h
$_am_stamp_count
14107 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14108 $as_echo "$as_me: executing $ac_file commands" >&6;}
14113 case $ac_file$ac_mode in
14114 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14115 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14116 # are listed without --file. Let's play safe and only enable the eval
14117 # if we detect the quoting.
14118 case $CONFIG_FILES in
14119 *\'*) eval set x
"$CONFIG_FILES" ;;
14120 *) set x
$CONFIG_FILES ;;
14125 # Strip MF so we end up with the name of the file.
14126 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14127 # Check whether this is an Automake generated Makefile or not.
14128 # We used to match only the files named `Makefile.in', but
14129 # some people rename them; so instead we look at the file content.
14130 # Grep'ing the first line is not enough: some people post-process
14131 # each Makefile.in and add a new line on top of each file to say so.
14132 # Grep'ing the whole file is not good either: AIX grep has a line
14133 # limit of 2048, but all sed's we know have understand at least 4000.
14134 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14135 dirpart
=`$as_dirname -- "$mf" ||
14136 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14137 X"$mf" : 'X\(//\)[^/]' \| \
14138 X"$mf" : 'X\(//\)$' \| \
14139 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14145 /^X\(\/\/\)[^/].*/{
14161 # Extract the definition of DEPDIR, am__include, and am__quote
14162 # from the Makefile without running `make'.
14163 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14164 test -z "$DEPDIR" && continue
14165 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14166 test -z "am__include" && continue
14167 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14168 # When using ansi2knr, U may be empty or an underscore; expand it
14169 U
=`sed -n 's/^U = //p' < "$mf"`
14170 # Find all dependency output files, they are included files with
14171 # $(DEPDIR) in their names. We invoke sed twice because it is the
14172 # simplest approach to changing $(DEPDIR) to its actual value in the
14174 for file in `sed -n "
14175 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14176 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14177 # Make sure the directory exists.
14178 test -f "$dirpart/$file" && continue
14179 fdir
=`$as_dirname -- "$file" ||
14180 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14181 X"$file" : 'X\(//\)[^/]' \| \
14182 X"$file" : 'X\(//\)$' \| \
14183 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14184 $as_echo X"$file" |
14185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14189 /^X\(\/\/\)[^/].*/{
14202 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14203 # echo "creating $dirpart/$file"
14204 echo '# dummy' > "$dirpart/$file"
14211 # See if we are running on zsh, and set the options which allow our
14212 # commands through without removal of \ escapes.
14213 if test -n "${ZSH_VERSION+set}" ; then
14214 setopt NO_GLOB_SUBST
14217 cfgfile
="${ofile}T"
14218 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14221 cat <<_LT_EOF >> "$cfgfile"
14224 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14225 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14226 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14227 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14229 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14230 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14232 # Written by Gordon Matzigkeit, 1996
14234 # This file is part of GNU Libtool.
14236 # GNU Libtool is free software; you can redistribute it and/or
14237 # modify it under the terms of the GNU General Public License as
14238 # published by the Free Software Foundation; either version 2 of
14239 # the License, or (at your option) any later version.
14241 # As a special exception to the GNU General Public License,
14242 # if you distribute this file as part of a program or library that
14243 # is built using GNU Libtool, you may include this file under the
14244 # same distribution terms that you use for the rest of that program.
14246 # GNU Libtool is distributed in the hope that it will be useful,
14247 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14248 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14249 # GNU General Public License for more details.
14251 # You should have received a copy of the GNU General Public License
14252 # along with GNU Libtool; see the file COPYING. If not, a copy
14253 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14254 # obtained by writing to the Free Software Foundation, Inc.,
14255 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14258 # The names of the tagged configurations supported by this script.
14261 # ### BEGIN LIBTOOL CONFIG
14263 # Which release of libtool.m4 was used?
14264 macro_version=$macro_version
14265 macro_revision=$macro_revision
14267 # Assembler program.
14270 # DLL creation program.
14271 DLLTOOL=$lt_DLLTOOL
14273 # Object dumper program.
14274 OBJDUMP=$lt_OBJDUMP
14276 # Whether or not to build shared libraries.
14277 build_libtool_libs=$enable_shared
14279 # Whether or not to build static libraries.
14280 build_old_libs=$enable_static
14282 # What type of objects to build.
14285 # Whether or not to optimize for fast installation.
14286 fast_install=$enable_fast_install
14288 # Shell to use when invoking shell scripts.
14291 # An echo program that protects backslashes.
14294 # The PATH separator for the build system.
14295 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14298 host_alias=$host_alias
14302 # The build system.
14303 build_alias=$build_alias
14307 # A sed program that does not truncate output.
14310 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14311 Xsed="\$SED -e 1s/^X//"
14313 # A grep program that handles long lines.
14319 # A literal string matcher.
14322 # A BSD- or MS-compatible name lister.
14325 # Whether we need soft or hard links.
14328 # What is the maximum length of a command?
14329 max_cmd_len=$max_cmd_len
14331 # Object file suffix (normally "o").
14334 # Executable file suffix (normally "").
14337 # whether the shell understands "unset".
14340 # turn spaces into newlines.
14343 # turn newlines into spaces.
14346 # convert \$build file names to \$host format.
14347 to_host_file_cmd=$lt_cv_to_host_file_cmd
14349 # convert \$build files to toolchain format.
14350 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14352 # Method to check whether dependent libraries are shared objects.
14353 deplibs_check_method=$lt_deplibs_check_method
14355 # Command to use when deplibs_check_method = "file_magic".
14356 file_magic_cmd=$lt_file_magic_cmd
14358 # How to find potential files when deplibs_check_method = "file_magic".
14359 file_magic_glob=$lt_file_magic_glob
14361 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14362 want_nocaseglob=$lt_want_nocaseglob
14364 # Command to associate shared and link libraries.
14365 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14370 # Flags to create an archive.
14371 AR_FLAGS=$lt_AR_FLAGS
14373 # How to feed a file listing to the archiver.
14374 archiver_list_spec=$lt_archiver_list_spec
14376 # A symbol stripping program.
14379 # Commands used to install an old-style archive.
14381 old_postinstall_cmds=$lt_old_postinstall_cmds
14382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14384 # Whether to use a lock for old archive extraction.
14385 lock_old_archive_extraction=$lock_old_archive_extraction
14390 # LTCC compiler flags.
14391 LTCFLAGS=$lt_CFLAGS
14393 # Take the output of nm and produce a listing of raw symbols and C names.
14394 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14396 # Transform the output of nm in a proper C declaration.
14397 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14399 # Transform the output of nm in a C name address pair.
14400 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14402 # Transform the output of nm in a C name address pair when lib prefix is needed.
14403 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14405 # Specify filename containing input files for \$NM.
14406 nm_file_list_spec=$lt_nm_file_list_spec
14408 # The root where to search for dependent libraries,and in which our libraries should be installed.
14409 lt_sysroot=$lt_sysroot
14411 # The name of the directory that contains temporary libtool files.
14414 # Used to examine libraries when file_magic_cmd begins with "file".
14415 MAGIC_CMD=$MAGIC_CMD
14417 # Must we lock files when doing compilation?
14418 need_locks=$lt_need_locks
14421 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14423 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14424 DSYMUTIL=$lt_DSYMUTIL
14426 # Tool to change global to local symbols on Mac OS X.
14429 # Tool to manipulate fat objects and archives on Mac OS X.
14432 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14435 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14436 OTOOL64=$lt_OTOOL64
14438 # Old archive suffix (normally "a").
14441 # Shared library suffix (normally ".so").
14442 shrext_cmds=$lt_shrext_cmds
14444 # The commands to extract the exported symbol list from a shared archive.
14445 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14447 # Variables whose values should be saved in libtool wrapper scripts and
14448 # restored at link time.
14449 variables_saved_for_relink=$lt_variables_saved_for_relink
14451 # Do we need the "lib" prefix for modules?
14452 need_lib_prefix=$need_lib_prefix
14454 # Do we need a version for libraries?
14455 need_version=$need_version
14457 # Library versioning type.
14458 version_type=$version_type
14460 # Shared library runtime path variable.
14461 runpath_var=$runpath_var
14463 # Shared library path variable.
14464 shlibpath_var=$shlibpath_var
14466 # Is shlibpath searched before the hard-coded library search path?
14467 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14469 # Format of library name prefix.
14470 libname_spec=$lt_libname_spec
14472 # List of archive names. First name is the real one, the rest are links.
14473 # The last name is the one that the linker finds with -lNAME
14474 library_names_spec=$lt_library_names_spec
14476 # The coded name of the library, if different from the real name.
14477 soname_spec=$lt_soname_spec
14479 # Permission mode override for installation of shared libraries.
14480 install_override_mode=$lt_install_override_mode
14482 # Command to use after installation of a shared archive.
14483 postinstall_cmds=$lt_postinstall_cmds
14485 # Command to use after uninstallation of a shared archive.
14486 postuninstall_cmds=$lt_postuninstall_cmds
14488 # Commands used to finish a libtool library installation in a directory.
14489 finish_cmds=$lt_finish_cmds
14491 # As "finish_cmds", except a single script fragment to be evaled but
14493 finish_eval=$lt_finish_eval
14495 # Whether we should hardcode library paths into libraries.
14496 hardcode_into_libs=$hardcode_into_libs
14498 # Compile-time system search path for libraries.
14499 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14501 # Run-time system search path for libraries.
14502 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14504 # Whether dlopen is supported.
14505 dlopen_support=$enable_dlopen
14507 # Whether dlopen of programs is supported.
14508 dlopen_self=$enable_dlopen_self
14510 # Whether dlopen of statically linked programs is supported.
14511 dlopen_self_static=$enable_dlopen_self_static
14513 # Commands to strip libraries.
14514 old_striplib=$lt_old_striplib
14515 striplib=$lt_striplib
14518 # The linker used to build libraries.
14521 # How to create reloadable object files.
14522 reload_flag=$lt_reload_flag
14523 reload_cmds=$lt_reload_cmds
14525 # Commands used to build an old-style archive.
14526 old_archive_cmds=$lt_old_archive_cmds
14528 # A language specific compiler.
14531 # Is the compiler the GNU compiler?
14534 # Compiler flag to turn off builtin functions.
14535 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14537 # Additional compiler flags for building library objects.
14538 pic_flag=$lt_lt_prog_compiler_pic
14540 # How to pass a linker flag through the compiler.
14541 wl=$lt_lt_prog_compiler_wl
14543 # Compiler flag to prevent dynamic linking.
14544 link_static_flag=$lt_lt_prog_compiler_static
14546 # Does compiler simultaneously support -c and -o options?
14547 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14549 # Whether or not to add -lc for building shared libraries.
14550 build_libtool_need_lc=$archive_cmds_need_lc
14552 # Whether or not to disallow shared libs when runtime libs are static.
14553 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14555 # Compiler flag to allow reflexive dlopens.
14556 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14558 # Compiler flag to generate shared objects directly from archives.
14559 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14561 # Whether the compiler copes with passing no objects directly.
14562 compiler_needs_object=$lt_compiler_needs_object
14564 # Create an old-style archive from a shared archive.
14565 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14567 # Create a temporary old-style archive to link instead of a shared archive.
14568 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14570 # Commands used to build a shared archive.
14571 archive_cmds=$lt_archive_cmds
14572 archive_expsym_cmds=$lt_archive_expsym_cmds
14574 # Commands used to build a loadable module if different from building
14575 # a shared archive.
14576 module_cmds=$lt_module_cmds
14577 module_expsym_cmds=$lt_module_expsym_cmds
14579 # Whether we are building with GNU ld or not.
14580 with_gnu_ld=$lt_with_gnu_ld
14582 # Flag that allows shared libraries with undefined symbols to be built.
14583 allow_undefined_flag=$lt_allow_undefined_flag
14585 # Flag that enforces no undefined symbols.
14586 no_undefined_flag=$lt_no_undefined_flag
14588 # Flag to hardcode \$libdir into a binary during linking.
14589 # This must work even if \$libdir does not exist
14590 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14592 # Whether we need a single "-rpath" flag with a separated argument.
14593 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14595 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14596 # DIR into the resulting binary.
14597 hardcode_direct=$hardcode_direct
14599 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14600 # DIR into the resulting binary and the resulting library dependency is
14601 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14602 # library is relocated.
14603 hardcode_direct_absolute=$hardcode_direct_absolute
14605 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14606 # into the resulting binary.
14607 hardcode_minus_L=$hardcode_minus_L
14609 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14610 # into the resulting binary.
14611 hardcode_shlibpath_var=$hardcode_shlibpath_var
14613 # Set to "yes" if building a shared library automatically hardcodes DIR
14614 # into the library and all subsequent libraries and executables linked
14616 hardcode_automatic=$hardcode_automatic
14618 # Set to yes if linker adds runtime paths of dependent libraries
14619 # to runtime path list.
14620 inherit_rpath=$inherit_rpath
14622 # Whether libtool must link a program against all its dependency libraries.
14623 link_all_deplibs=$link_all_deplibs
14625 # Set to "yes" if exported symbols are required.
14626 always_export_symbols=$always_export_symbols
14628 # The commands to list exported symbols.
14629 export_symbols_cmds=$lt_export_symbols_cmds
14631 # Symbols that should not be listed in the preloaded symbols.
14632 exclude_expsyms=$lt_exclude_expsyms
14634 # Symbols that must always be exported.
14635 include_expsyms=$lt_include_expsyms
14637 # Commands necessary for linking programs (against libraries) with templates.
14638 prelink_cmds=$lt_prelink_cmds
14640 # Commands necessary for finishing linking programs.
14641 postlink_cmds=$lt_postlink_cmds
14643 # Specify filename containing input files.
14644 file_list_spec=$lt_file_list_spec
14646 # How to hardcode a shared library path into an executable.
14647 hardcode_action=$hardcode_action
14649 # ### END LIBTOOL CONFIG
14655 cat <<\_LT_EOF
>> "$cfgfile"
14656 # AIX sometimes has problems with the GCC collect2 program. For some
14657 # reason, if we set the COLLECT_NAMES environment variable, the problems
14658 # vanish in a puff of smoke.
14659 if test "X${COLLECT_NAMES+set}" != Xset
; then
14661 export COLLECT_NAMES
14668 ltmain
="$ac_aux_dir/ltmain.sh"
14671 # We use sed instead of cat because bash on DJGPP gets confused if
14672 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14673 # text mode, it properly converts lines to CR/LF. This bash problem
14674 # is reportedly fixed, but why not run on old versions too?
14675 sed '$q' "$ltmain" >> "$cfgfile" \
14676 ||
(rm -f "$cfgfile"; exit 1)
14678 if test x
"$xsi_shell" = xyes
; then
14679 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14683 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14684 \ * ) func_dirname_result="${3}" ;;\
14686 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14687 && mv -f "$cfgfile.tmp" "$cfgfile" \
14688 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14689 test 0 -eq $? || _lt_function_replace_fail
=:
14692 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14695 \ func_basename_result="${1##*/}"\
14696 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14697 && mv -f "$cfgfile.tmp" "$cfgfile" \
14698 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14699 test 0 -eq $? || _lt_function_replace_fail
=:
14702 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14703 func_dirname_and_basename ()\
14706 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14707 \ * ) func_dirname_result="${3}" ;;\
14709 \ func_basename_result="${1##*/}"\
14710 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14711 && mv -f "$cfgfile.tmp" "$cfgfile" \
14712 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14713 test 0 -eq $? || _lt_function_replace_fail
=:
14716 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14719 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14720 \ # positional parameters, so assign one to ordinary parameter first.\
14721 \ func_stripname_result=${3}\
14722 \ func_stripname_result=${func_stripname_result#"${1}"}\
14723 \ func_stripname_result=${func_stripname_result%"${2}"}\
14724 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14725 && mv -f "$cfgfile.tmp" "$cfgfile" \
14726 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14727 test 0 -eq $? || _lt_function_replace_fail
=:
14730 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14731 func_split_long_opt ()\
14733 \ func_split_long_opt_name=${1%%=*}\
14734 \ func_split_long_opt_arg=${1#*=}\
14735 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14736 && mv -f "$cfgfile.tmp" "$cfgfile" \
14737 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14738 test 0 -eq $? || _lt_function_replace_fail
=:
14741 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14742 func_split_short_opt ()\
14744 \ func_split_short_opt_arg=${1#??}\
14745 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14746 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14747 && mv -f "$cfgfile.tmp" "$cfgfile" \
14748 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14749 test 0 -eq $? || _lt_function_replace_fail
=:
14752 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14756 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14757 \ *) func_lo2o_result=${1} ;;\
14759 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14760 && mv -f "$cfgfile.tmp" "$cfgfile" \
14761 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14762 test 0 -eq $? || _lt_function_replace_fail
=:
14765 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14768 func_xform_result=${1%.*}.lo\
14769 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14770 && mv -f "$cfgfile.tmp" "$cfgfile" \
14771 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14772 test 0 -eq $? || _lt_function_replace_fail
=:
14775 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14778 func_arith_result=$(( $* ))\
14779 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14780 && mv -f "$cfgfile.tmp" "$cfgfile" \
14781 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14782 test 0 -eq $? || _lt_function_replace_fail
=:
14785 sed -e '/^func_len ()$/,/^} # func_len /c\
14788 func_len_result=${#1}\
14789 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14790 && mv -f "$cfgfile.tmp" "$cfgfile" \
14791 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14792 test 0 -eq $? || _lt_function_replace_fail
=:
14796 if test x
"$lt_shell_append" = xyes
; then
14797 sed -e '/^func_append ()$/,/^} # func_append /c\
14800 eval "${1}+=\\${2}"\
14801 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14802 && mv -f "$cfgfile.tmp" "$cfgfile" \
14803 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14804 test 0 -eq $? || _lt_function_replace_fail
=:
14807 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14808 func_append_quoted ()\
14810 \ func_quote_for_eval "${2}"\
14811 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14812 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14813 && mv -f "$cfgfile.tmp" "$cfgfile" \
14814 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14815 test 0 -eq $? || _lt_function_replace_fail
=:
14818 # Save a `func_append' function call where possible by direct use of '+='
14819 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14820 && mv -f "$cfgfile.tmp" "$cfgfile" \
14821 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14822 test 0 -eq $? || _lt_function_replace_fail
=:
14824 # Save a `func_append' function call even when '+=' is not available
14825 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14826 && mv -f "$cfgfile.tmp" "$cfgfile" \
14827 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14828 test 0 -eq $? || _lt_function_replace_fail
=:
14831 if test x
"$_lt_function_replace_fail" = x
":"; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14833 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14837 mv -f "$cfgfile" "$ofile" ||
14838 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14849 ac_clean_files
=$ac_clean_files_save
14851 test $ac_write_fail = 0 ||
14852 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14855 # configure is writing to config.log, and then calls config.status.
14856 # config.status does its own redirection, appending to config.log.
14857 # Unfortunately, on DOS this fails, as config.log is still kept open
14858 # by configure, so config.status won't be able to write to it; its
14859 # output is simply discarded. So we exec the FD to /dev/null,
14860 # effectively closing config.log, so it can be properly (re)opened and
14861 # appended to by config.status. When coming back to configure, we
14862 # need to make the FD available again.
14863 if test "$no_create" != yes; then
14865 ac_config_status_args
=
14866 test "$silent" = yes &&
14867 ac_config_status_args
="$ac_config_status_args --quiet"
14869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14872 # would make configure fail if this is the last instruction.
14873 $ac_cs_success || as_fn_exit
1
14875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14877 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}